Class: TencentCloud::Clb::V20180317::ClustersZone

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

Overview

集群所在的可用区。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(masterzone = nil, slavezone = nil) ⇒ ClustersZone

Returns a new instance of ClustersZone.



1229
1230
1231
1232
# File 'lib/v20180317/models.rb', line 1229

def initialize(masterzone=nil, slavezone=nil)
  @MasterZone = masterzone
  @SlaveZone = slavezone
end

Instance Attribute Details

#MasterZoneObject

Parameters:

  • MasterZone:

    集群所在的主可用区。

  • SlaveZone:

    集群所在的备可用区。



1227
1228
1229
# File 'lib/v20180317/models.rb', line 1227

def MasterZone
  @MasterZone
end

#SlaveZoneObject

Parameters:

  • MasterZone:

    集群所在的主可用区。

  • SlaveZone:

    集群所在的备可用区。



1227
1228
1229
# File 'lib/v20180317/models.rb', line 1227

def SlaveZone
  @SlaveZone
end

Instance Method Details

#deserialize(params) ⇒ Object



1234
1235
1236
1237
# File 'lib/v20180317/models.rb', line 1234

def deserialize(params)
  @MasterZone = params['MasterZone']
  @SlaveZone = params['SlaveZone']
end