Class: TencentCloud::Thpc::V20220401::VirtualPrivateCloud

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220401/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.



2049
2050
2051
2052
# File 'lib/v20220401/models.rb', line 2049

def initialize(vpcid=nil, subnetid=nil)
  @VpcId = vpcid
  @SubnetId = subnetid
end

Instance Attribute Details

#SubnetIdObject

Parameters:



2047
2048
2049
# File 'lib/v20220401/models.rb', line 2047

def SubnetId
  @SubnetId
end

#VpcIdObject

Parameters:



2047
2048
2049
# File 'lib/v20220401/models.rb', line 2047

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



2054
2055
2056
2057
# File 'lib/v20220401/models.rb', line 2054

def deserialize(params)
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
end