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.
1355 1356 1357 1358 |
# File 'lib/v20180317/models.rb', line 1355 def initialize(masterzone=nil, slavezone=nil) @MasterZone = masterzone @SlaveZone = slavezone end |
Instance Attribute Details
#MasterZone ⇒ Object
1353 1354 1355 |
# File 'lib/v20180317/models.rb', line 1353 def MasterZone @MasterZone end |
#SlaveZone ⇒ Object
1353 1354 1355 |
# File 'lib/v20180317/models.rb', line 1353 def SlaveZone @SlaveZone end |
Instance Method Details
#deserialize(params) ⇒ Object
1360 1361 1362 1363 |
# File 'lib/v20180317/models.rb', line 1360 def deserialize(params) @MasterZone = params['MasterZone'] @SlaveZone = params['SlaveZone'] end |