Class: TencentCloud::Thpc::V20211109::VirtualPrivateCloud
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20211109::VirtualPrivateCloud
- Defined in:
- lib/v20211109/models.rb
Overview
描述了VPC相关信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, subnetid = nil) ⇒ VirtualPrivateCloud
constructor
A new instance of VirtualPrivateCloud.
Constructor Details
#initialize(vpcid = nil, subnetid = nil) ⇒ VirtualPrivateCloud
Returns a new instance of VirtualPrivateCloud.
887 888 889 890 |
# File 'lib/v20211109/models.rb', line 887 def initialize(vpcid=nil, subnetid=nil) @VpcId = vpcid @SubnetId = subnetid end |
Instance Attribute Details
#SubnetId ⇒ Object
885 886 887 |
# File 'lib/v20211109/models.rb', line 885 def SubnetId @SubnetId end |
#VpcId ⇒ Object
885 886 887 |
# File 'lib/v20211109/models.rb', line 885 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
892 893 894 895 |
# File 'lib/v20211109/models.rb', line 892 def deserialize(params) @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] end |