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.
1340 1341 1342 1343 |
# File 'lib/v20180317/models.rb', line 1340 def initialize(masterzone=nil, slavezone=nil) @MasterZone = masterzone @SlaveZone = slavezone end |
Instance Attribute Details
#MasterZone ⇒ Object
1338 1339 1340 |
# File 'lib/v20180317/models.rb', line 1338 def MasterZone @MasterZone end |
#SlaveZone ⇒ Object
1338 1339 1340 |
# File 'lib/v20180317/models.rb', line 1338 def SlaveZone @SlaveZone end |
Instance Method Details
#deserialize(params) ⇒ Object
1345 1346 1347 1348 |
# File 'lib/v20180317/models.rb', line 1345 def deserialize(params) @MasterZone = params['MasterZone'] @SlaveZone = params['SlaveZone'] end |