Class: TencentCloud::Tke::V20180525::SuperNodeResource
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::SuperNodeResource
- Defined in:
- lib/v20180525/models.rb
Overview
超级节点上的资源统计
Instance Attribute Summary collapse
- #ChargeType ⇒ Object
- #Cpu ⇒ Object
- #DisasterRecoverGroupId ⇒ Object
- #Gpu ⇒ Object
- #Memory ⇒ Object
- #NodeName ⇒ Object
- #Num ⇒ Object
- #PriceType ⇒ Object
- #QuotaType ⇒ Object
- #ResourceType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodename = nil, num = nil, cpu = nil, memory = nil, gpu = nil, quotatype = nil, chargetype = nil, resourcetype = nil, disasterrecovergroupid = nil, pricetype = nil) ⇒ SuperNodeResource
constructor
A new instance of SuperNodeResource.
Constructor Details
#initialize(nodename = nil, num = nil, cpu = nil, memory = nil, gpu = nil, quotatype = nil, chargetype = nil, resourcetype = nil, disasterrecovergroupid = nil, pricetype = nil) ⇒ SuperNodeResource
Returns a new instance of SuperNodeResource.
20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 |
# File 'lib/v20180525/models.rb', line 20145 def initialize(nodename=nil, num=nil, cpu=nil, memory=nil, gpu=nil, quotatype=nil, chargetype=nil, resourcetype=nil, disasterrecovergroupid=nil, pricetype=nil) @NodeName = nodename @Num = num @Cpu = cpu @Memory = memory @Gpu = gpu @QuotaType = quotatype @ChargeType = chargetype @ResourceType = resourcetype @DisasterRecoverGroupId = disasterrecovergroupid @PriceType = pricetype end |
Instance Attribute Details
#ChargeType ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def ChargeType @ChargeType end |
#Cpu ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def Cpu @Cpu end |
#DisasterRecoverGroupId ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def DisasterRecoverGroupId @DisasterRecoverGroupId end |
#Gpu ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def Gpu @Gpu end |
#Memory ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def Memory @Memory end |
#NodeName ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def NodeName @NodeName end |
#Num ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def Num @Num end |
#PriceType ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def PriceType @PriceType end |
#QuotaType ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def QuotaType @QuotaType end |
#ResourceType ⇒ Object
20143 20144 20145 |
# File 'lib/v20180525/models.rb', line 20143 def ResourceType @ResourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 |
# File 'lib/v20180525/models.rb', line 20158 def deserialize(params) @NodeName = params['NodeName'] @Num = params['Num'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Gpu = params['Gpu'] @QuotaType = params['QuotaType'] @ChargeType = params['ChargeType'] @ResourceType = params['ResourceType'] @DisasterRecoverGroupId = params['DisasterRecoverGroupId'] @PriceType = params['PriceType'] end |