Class: TencentCloud::Tke::V20180525::ReservedInstanceUtilizationRate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ReservedInstanceUtilizationRate
- Defined in:
- lib/v20180525/models.rb
Overview
预留券的使用率信息
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #CPU ⇒ Object
- #GpuNum ⇒ Object
- #Memory ⇒ Object
- #NodeName ⇒ Object
- #Num ⇒ Object
- #PodNum ⇒ Object
- #Rate ⇒ Object
- #Type ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rate = nil, num = nil, cpu = nil, memory = nil, type = nil, gpunum = nil, zone = nil, clusterid = nil, nodename = nil, podnum = nil) ⇒ ReservedInstanceUtilizationRate
constructor
A new instance of ReservedInstanceUtilizationRate.
Constructor Details
#initialize(rate = nil, num = nil, cpu = nil, memory = nil, type = nil, gpunum = nil, zone = nil, clusterid = nil, nodename = nil, podnum = nil) ⇒ ReservedInstanceUtilizationRate
Returns a new instance of ReservedInstanceUtilizationRate.
17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 |
# File 'lib/v20180525/models.rb', line 17580 def initialize(rate=nil, num=nil, cpu=nil, memory=nil, type=nil, gpunum=nil, zone=nil, clusterid=nil, nodename=nil, podnum=nil) @Rate = rate @Num = num @CPU = cpu @Memory = memory @Type = type @GpuNum = gpunum @Zone = zone @ClusterId = clusterid @NodeName = nodename @PodNum = podnum end |
Instance Attribute Details
#ClusterId ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def ClusterId @ClusterId end |
#CPU ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def CPU @CPU end |
#GpuNum ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def GpuNum @GpuNum end |
#Memory ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def Memory @Memory end |
#NodeName ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def NodeName @NodeName end |
#Num ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def Num @Num end |
#PodNum ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def PodNum @PodNum end |
#Rate ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def Rate @Rate end |
#Type ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def Type @Type end |
#Zone ⇒ Object
17578 17579 17580 |
# File 'lib/v20180525/models.rb', line 17578 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 |
# File 'lib/v20180525/models.rb', line 17593 def deserialize(params) @Rate = params['Rate'] @Num = params['Num'] @CPU = params['CPU'] @Memory = params['Memory'] @Type = params['Type'] @GpuNum = params['GpuNum'] @Zone = params['Zone'] @ClusterId = params['ClusterId'] @NodeName = params['NodeName'] @PodNum = params['PodNum'] end |