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.
12436 12437 12438 12439 12440 12441 12442 |
# File 'lib/v20170320/models.rb', line 12436 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
12434 12435 12436 |
# File 'lib/v20170320/models.rb', line 12434 def Cpu @Cpu end |
#Mem ⇒ Object
12434 12435 12436 |
# File 'lib/v20170320/models.rb', line 12434 def Mem @Mem end |
#NodeCount ⇒ Object
12434 12435 12436 |
# File 'lib/v20170320/models.rb', line 12434 def NodeCount @NodeCount end |
#Region ⇒ Object
12434 12435 12436 |
# File 'lib/v20170320/models.rb', line 12434 def Region @Region end |
#Zone ⇒ Object
12434 12435 12436 |
# File 'lib/v20170320/models.rb', line 12434 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
12444 12445 12446 12447 12448 12449 12450 |
# File 'lib/v20170320/models.rb', line 12444 def deserialize(params) @NodeCount = params['NodeCount'] @Cpu = params['Cpu'] @Mem = params['Mem'] @Region = params['Region'] @Zone = params['Zone'] end |