Class: TencentCloud::Cdb::V20170320::ProxyNodeCustom
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ProxyNodeCustom
- Defined in:
- lib/v20170320/models.rb
Overview
节点规格配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodecount = nil, cpu = nil, mem = nil, region = nil, zone = nil) ⇒ ProxyNodeCustom
constructor
A new instance of ProxyNodeCustom.
Constructor Details
#initialize(nodecount = nil, cpu = nil, mem = nil, region = nil, zone = nil) ⇒ ProxyNodeCustom
Returns a new instance of ProxyNodeCustom.
12547 12548 12549 12550 12551 12552 12553 |
# File 'lib/v20170320/models.rb', line 12547 def initialize(nodecount=nil, cpu=nil, mem=nil, region=nil, zone=nil) @NodeCount = nodecount @Cpu = cpu @Mem = mem @Region = region @Zone = zone end |
Instance Attribute Details
#Cpu ⇒ Object
12545 12546 12547 |
# File 'lib/v20170320/models.rb', line 12545 def Cpu @Cpu end |
#Mem ⇒ Object
12545 12546 12547 |
# File 'lib/v20170320/models.rb', line 12545 def Mem @Mem end |
#NodeCount ⇒ Object
12545 12546 12547 |
# File 'lib/v20170320/models.rb', line 12545 def NodeCount @NodeCount end |
#Region ⇒ Object
12545 12546 12547 |
# File 'lib/v20170320/models.rb', line 12545 def Region @Region end |
#Zone ⇒ Object
12545 12546 12547 |
# File 'lib/v20170320/models.rb', line 12545 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12555 12556 12557 12558 12559 12560 12561 |
# File 'lib/v20170320/models.rb', line 12555 def deserialize(params) @NodeCount = params['NodeCount'] @Cpu = params['Cpu'] @Mem = params['Mem'] @Region = params['Region'] @Zone = params['Zone'] end |