Class: TencentCloud::Dcdb::V20180411::SpecConfigInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::SpecConfigInfo
- Defined in:
- lib/v20180411/models.rb
Overview
实例可售卖规格详细信息,创建实例和扩容实例时 NodeCount、Memory 确定售卖规格,硬盘大小可用区间为
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #MaxStorage ⇒ Object
- #Memory ⇒ Object
- #MinStorage ⇒ Object
- #NodeCount ⇒ Object
- #Pid ⇒ Object
- #Qps ⇒ Object
- #SuitInfo ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodecount = nil, memory = nil, minstorage = nil, maxstorage = nil, suitinfo = nil, pid = nil, qps = nil, cpu = nil) ⇒ SpecConfigInfo
constructor
A new instance of SpecConfigInfo.
Constructor Details
#initialize(nodecount = nil, memory = nil, minstorage = nil, maxstorage = nil, suitinfo = nil, pid = nil, qps = nil, cpu = nil) ⇒ SpecConfigInfo
Returns a new instance of SpecConfigInfo.
6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 |
# File 'lib/v20180411/models.rb', line 6503 def initialize(nodecount=nil, memory=nil, minstorage=nil, maxstorage=nil, suitinfo=nil, pid=nil, qps=nil, cpu=nil) @NodeCount = nodecount @Memory = memory @MinStorage = minstorage @MaxStorage = maxstorage @SuitInfo = suitinfo @Pid = pid @Qps = qps @Cpu = cpu end |
Instance Attribute Details
#Cpu ⇒ Object
6501 6502 6503 |
# File 'lib/v20180411/models.rb', line 6501 def Cpu @Cpu end |
#MaxStorage ⇒ Object
6501 6502 6503 |
# File 'lib/v20180411/models.rb', line 6501 def MaxStorage @MaxStorage end |
#Memory ⇒ Object
6501 6502 6503 |
# File 'lib/v20180411/models.rb', line 6501 def Memory @Memory end |
#MinStorage ⇒ Object
6501 6502 6503 |
# File 'lib/v20180411/models.rb', line 6501 def MinStorage @MinStorage end |
#NodeCount ⇒ Object
6501 6502 6503 |
# File 'lib/v20180411/models.rb', line 6501 def NodeCount @NodeCount end |
#Pid ⇒ Object
6501 6502 6503 |
# File 'lib/v20180411/models.rb', line 6501 def Pid @Pid end |
#Qps ⇒ Object
6501 6502 6503 |
# File 'lib/v20180411/models.rb', line 6501 def Qps @Qps end |
#SuitInfo ⇒ Object
6501 6502 6503 |
# File 'lib/v20180411/models.rb', line 6501 def SuitInfo @SuitInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 |
# File 'lib/v20180411/models.rb', line 6514 def deserialize(params) @NodeCount = params['NodeCount'] @Memory = params['Memory'] @MinStorage = params['MinStorage'] @MaxStorage = params['MaxStorage'] @SuitInfo = params['SuitInfo'] @Pid = params['Pid'] @Qps = params['Qps'] @Cpu = params['Cpu'] end |