Class: TencentCloud::Thpc::V20211109::VirtualPrivateCloud

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20211109/models.rb

Overview

描述了VPC相关信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#SubnetIdObject

Parameters:



885
886
887
# File 'lib/v20211109/models.rb', line 885

def SubnetId
  @SubnetId
end

#VpcIdObject

Parameters:



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