Class: TencentCloud::Cdb::V20170320::ZoneConf
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ZoneConf
- Defined in:
- lib/v20170320/models.rb
Overview
多可用区信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deploymode = nil, masterzone = nil, slavezone = nil, backupzone = nil) ⇒ ZoneConf
constructor
A new instance of ZoneConf.
Constructor Details
#initialize(deploymode = nil, masterzone = nil, slavezone = nil, backupzone = nil) ⇒ ZoneConf
Returns a new instance of ZoneConf.
14966 14967 14968 14969 14970 14971 |
# File 'lib/v20170320/models.rb', line 14966 def initialize(deploymode=nil, masterzone=nil, slavezone=nil, backupzone=nil) @DeployMode = deploymode @MasterZone = masterzone @SlaveZone = slavezone @BackupZone = backupzone end |
Instance Attribute Details
#BackupZone ⇒ Object
14964 14965 14966 |
# File 'lib/v20170320/models.rb', line 14964 def BackupZone @BackupZone end |
#DeployMode ⇒ Object
14964 14965 14966 |
# File 'lib/v20170320/models.rb', line 14964 def DeployMode @DeployMode end |
#MasterZone ⇒ Object
14964 14965 14966 |
# File 'lib/v20170320/models.rb', line 14964 def MasterZone @MasterZone end |
#SlaveZone ⇒ Object
14964 14965 14966 |
# File 'lib/v20170320/models.rb', line 14964 def SlaveZone @SlaveZone end |
Instance Method Details
#deserialize(params) ⇒ Object
14973 14974 14975 14976 14977 14978 |
# File 'lib/v20170320/models.rb', line 14973 def deserialize(params) @DeployMode = params['DeployMode'] @MasterZone = params['MasterZone'] @SlaveZone = params['SlaveZone'] @BackupZone = params['BackupZone'] end |