Class: TencentCloud::Oceanus::V20190422::SlaveZone

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

Overview

多可用区支持备区域

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpcid = nil, subnetid = nil, zone = nil) ⇒ SlaveZone

Returns a new instance of SlaveZone.



5443
5444
5445
5446
5447
# File 'lib/v20190422/models.rb', line 5443

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

Instance Attribute Details

#SubnetIdObject

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

Parameters:

  • VpcId:

    vpc

  • SubnetId:

    子网

  • Zone:



5441
5442
5443
# File 'lib/v20190422/models.rb', line 5441

def SubnetId
  @SubnetId
end

#VpcIdObject

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

Parameters:

  • VpcId:

    vpc

  • SubnetId:

    子网

  • Zone:



5441
5442
5443
# File 'lib/v20190422/models.rb', line 5441

def VpcId
  @VpcId
end

#ZoneObject

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

Parameters:

  • VpcId:

    vpc

  • SubnetId:

    子网

  • Zone:



5441
5442
5443
# File 'lib/v20190422/models.rb', line 5441

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



5449
5450
5451
5452
5453
# File 'lib/v20190422/models.rb', line 5449

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