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.
6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 |
# File 'lib/v20180411/models.rb', line 6185 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
6183 6184 6185 |
# File 'lib/v20180411/models.rb', line 6183 def Cpu @Cpu end |
#MaxStorage ⇒ Object
6183 6184 6185 |
# File 'lib/v20180411/models.rb', line 6183 def MaxStorage @MaxStorage end |
#Memory ⇒ Object
6183 6184 6185 |
# File 'lib/v20180411/models.rb', line 6183 def Memory @Memory end |
#MinStorage ⇒ Object
6183 6184 6185 |
# File 'lib/v20180411/models.rb', line 6183 def MinStorage @MinStorage end |
#NodeCount ⇒ Object
6183 6184 6185 |
# File 'lib/v20180411/models.rb', line 6183 def NodeCount @NodeCount end |
#Pid ⇒ Object
6183 6184 6185 |
# File 'lib/v20180411/models.rb', line 6183 def Pid @Pid end |
#Qps ⇒ Object
6183 6184 6185 |
# File 'lib/v20180411/models.rb', line 6183 def Qps @Qps end |
#SuitInfo ⇒ Object
6183 6184 6185 |
# File 'lib/v20180411/models.rb', line 6183 def SuitInfo @SuitInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 |
# File 'lib/v20180411/models.rb', line 6196 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 |