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.
15082 15083 15084 15085 15086 15087 |
# File 'lib/v20170320/models.rb', line 15082 def initialize(deploymode=nil, masterzone=nil, slavezone=nil, backupzone=nil) @DeployMode = deploymode @MasterZone = masterzone @SlaveZone = slavezone @BackupZone = backupzone end |
Instance Attribute Details
#BackupZone ⇒ Object
15080 15081 15082 |
# File 'lib/v20170320/models.rb', line 15080 def BackupZone @BackupZone end |
#DeployMode ⇒ Object
15080 15081 15082 |
# File 'lib/v20170320/models.rb', line 15080 def DeployMode @DeployMode end |
#MasterZone ⇒ Object
15080 15081 15082 |
# File 'lib/v20170320/models.rb', line 15080 def MasterZone @MasterZone end |
#SlaveZone ⇒ Object
15080 15081 15082 |
# File 'lib/v20170320/models.rb', line 15080 def SlaveZone @SlaveZone end |
Instance Method Details
#deserialize(params) ⇒ Object
15089 15090 15091 15092 15093 15094 |
# File 'lib/v20170320/models.rb', line 15089 def deserialize(params) @DeployMode = params['DeployMode'] @MasterZone = params['MasterZone'] @SlaveZone = params['SlaveZone'] @BackupZone = params['BackupZone'] end |