Class: TencentCloud::Tdmq::V20200217::VpcConfig

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

Overview

VPC配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpcid = nil, subnetid = nil) ⇒ VpcConfig

Returns a new instance of VpcConfig.



13508
13509
13510
13511
# File 'lib/v20200217/models.rb', line 13508

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

Instance Attribute Details

#SubnetIdObject

Parameters:

  • VpcId:

    vpc的id

  • SubnetId:

    子网id



13506
13507
13508
# File 'lib/v20200217/models.rb', line 13506

def SubnetId
  @SubnetId
end

#VpcIdObject

Parameters:

  • VpcId:

    vpc的id

  • SubnetId:

    子网id



13506
13507
13508
# File 'lib/v20200217/models.rb', line 13506

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



13513
13514
13515
13516
# File 'lib/v20200217/models.rb', line 13513

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