Class: TencentCloud::Thpc::V20230321::VirtualPrivateCloud

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



3133
3134
3135
3136
# File 'lib/v20230321/models.rb', line 3133

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

Instance Attribute Details

#SubnetIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:



3131
3132
3133
# File 'lib/v20230321/models.rb', line 3131

def SubnetId
  @SubnetId
end

#VpcIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:



3131
3132
3133
# File 'lib/v20230321/models.rb', line 3131

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



3138
3139
3140
3141
# File 'lib/v20230321/models.rb', line 3138

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