Class: TencentCloud::Clb::V20180317::ClustersZone
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ClustersZone
- Defined in:
- lib/v20180317/models.rb
Overview
集群所在的可用区。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(masterzone = nil, slavezone = nil) ⇒ ClustersZone
constructor
A new instance of ClustersZone.
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
#MasterZone ⇒ Object
1227 1228 1229 |
# File 'lib/v20180317/models.rb', line 1227 def MasterZone @MasterZone end |
#SlaveZone ⇒ Object
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 |