Class: TencentCloud::Cdb::V20170320::ReadonlyNode
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ReadonlyNode
- Defined in:
- lib/v20170320/models.rb
Overview
集群版的 RO 节点配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(israndomzone = nil, zone = nil, nodeid = nil) ⇒ ReadonlyNode
constructor
A new instance of ReadonlyNode.
Constructor Details
#initialize(israndomzone = nil, zone = nil, nodeid = nil) ⇒ ReadonlyNode
Returns a new instance of ReadonlyNode.
12484 12485 12486 12487 12488 |
# File 'lib/v20170320/models.rb', line 12484 def initialize(israndomzone=nil, zone=nil, nodeid=nil) @IsRandomZone = israndomzone @Zone = zone @NodeId = nodeid end |
Instance Attribute Details
#IsRandomZone ⇒ Object
12482 12483 12484 |
# File 'lib/v20170320/models.rb', line 12482 def IsRandomZone @IsRandomZone end |
#NodeId ⇒ Object
12482 12483 12484 |
# File 'lib/v20170320/models.rb', line 12482 def NodeId @NodeId end |
#Zone ⇒ Object
12482 12483 12484 |
# File 'lib/v20170320/models.rb', line 12482 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12490 12491 12492 12493 12494 |
# File 'lib/v20170320/models.rb', line 12490 def deserialize(params) @IsRandomZone = params['IsRandomZone'] @Zone = params['Zone'] @NodeId = params['NodeId'] end |