Class: TencentCloud::Cdb::V20170320::ReadWriteNode
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ReadWriteNode
- Defined in:
- lib/v20170320/models.rb
Overview
集群版 RW 节点的配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, nodeid = nil) ⇒ ReadWriteNode
constructor
A new instance of ReadWriteNode.
Constructor Details
#initialize(zone = nil, nodeid = nil) ⇒ ReadWriteNode
Returns a new instance of ReadWriteNode.
12462 12463 12464 12465 |
# File 'lib/v20170320/models.rb', line 12462 def initialize(zone=nil, nodeid=nil) @Zone = zone @NodeId = nodeid end |
Instance Attribute Details
#NodeId ⇒ Object
12460 12461 12462 |
# File 'lib/v20170320/models.rb', line 12460 def NodeId @NodeId end |
#Zone ⇒ Object
12460 12461 12462 |
# File 'lib/v20170320/models.rb', line 12460 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12467 12468 12469 12470 |
# File 'lib/v20170320/models.rb', line 12467 def deserialize(params) @Zone = params['Zone'] @NodeId = params['NodeId'] end |