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.
12595 12596 12597 12598 12599 |
# File 'lib/v20170320/models.rb', line 12595 def initialize(israndomzone=nil, zone=nil, nodeid=nil) @IsRandomZone = israndomzone @Zone = zone @NodeId = nodeid end |
Instance Attribute Details
#IsRandomZone ⇒ Object
12593 12594 12595 |
# File 'lib/v20170320/models.rb', line 12593 def IsRandomZone @IsRandomZone end |
#NodeId ⇒ Object
12593 12594 12595 |
# File 'lib/v20170320/models.rb', line 12593 def NodeId @NodeId end |
#Zone ⇒ Object
12593 12594 12595 |
# File 'lib/v20170320/models.rb', line 12593 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12601 12602 12603 12604 12605 |
# File 'lib/v20170320/models.rb', line 12601 def deserialize(params) @IsRandomZone = params['IsRandomZone'] @Zone = params['Zone'] @NodeId = params['NodeId'] end |