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
- #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) ⇒ 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) ⇒ SuperNodeResource
Returns a new instance of SuperNodeResource.
18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 |
# File 'lib/v20180525/models.rb', line 18644 def initialize(nodename=nil, num=nil, cpu=nil, memory=nil, gpu=nil, quotatype=nil, chargetype=nil, resourcetype=nil, disasterrecovergroupid=nil) @NodeName = nodename @Num = num @Cpu = cpu @Memory = memory @Gpu = gpu @QuotaType = quotatype @ChargeType = chargetype @ResourceType = resourcetype @DisasterRecoverGroupId = disasterrecovergroupid end |
Instance Attribute Details
#ChargeType ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def ChargeType @ChargeType end |
#Cpu ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def Cpu @Cpu end |
#DisasterRecoverGroupId ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def DisasterRecoverGroupId @DisasterRecoverGroupId end |
#Gpu ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def Gpu @Gpu end |
#Memory ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def Memory @Memory end |
#NodeName ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def NodeName @NodeName end |
#Num ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def Num @Num end |
#QuotaType ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def QuotaType @QuotaType end |
#ResourceType ⇒ Object
18642 18643 18644 |
# File 'lib/v20180525/models.rb', line 18642 def ResourceType @ResourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 |
# File 'lib/v20180525/models.rb', line 18656 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'] end |