Class: TencentCloud::Tke::V20180525::PodChargeInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::PodChargeInfo
- Defined in:
- lib/v20180525/models.rb
Overview
Pod计费信息
Instance Attribute Summary collapse
-
#ChargeType ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
-
#Cpu ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
-
#Gpu ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
-
#Memory ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
-
#Name ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
-
#Namespace ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
-
#StartTime ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
-
#Type ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
-
#Uid ⇒ Object
PREPAID:Pod调度到包月超级节点 POSTPAID_BY_HOUR:按量计费 RESERVED_INSTANCE:上个周期被预留券抵扣 SPOT:竞价实例 TPOD:特惠实例.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(starttime = nil, uid = nil, cpu = nil, memory = nil, type = nil, gpu = nil, chargetype = nil, namespace = nil, name = nil) ⇒ PodChargeInfo
constructor
A new instance of PodChargeInfo.
Constructor Details
#initialize(starttime = nil, uid = nil, cpu = nil, memory = nil, type = nil, gpu = nil, chargetype = nil, namespace = nil, name = nil) ⇒ PodChargeInfo
Returns a new instance of PodChargeInfo.
16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 |
# File 'lib/v20180525/models.rb', line 16799 def initialize(starttime=nil, uid=nil, cpu=nil, memory=nil, type=nil, gpu=nil, chargetype=nil, namespace=nil, name=nil) @StartTime = starttime @Uid = uid @Cpu = cpu @Memory = memory @Type = type @Gpu = gpu @ChargeType = chargetype @Namespace = namespace @Name = name end |
Instance Attribute Details
#ChargeType ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def ChargeType @ChargeType end |
#Cpu ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def Cpu @Cpu end |
#Gpu ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def Gpu @Gpu end |
#Memory ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def Memory @Memory end |
#Name ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def Name @Name end |
#Namespace ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def Namespace @Namespace end |
#StartTime ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def StartTime @StartTime end |
#Type ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def Type @Type end |
#Uid ⇒ Object
PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例
16797 16798 16799 |
# File 'lib/v20180525/models.rb', line 16797 def Uid @Uid end |
Instance Method Details
#deserialize(params) ⇒ Object
16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 |
# File 'lib/v20180525/models.rb', line 16811 def deserialize(params) @StartTime = params['StartTime'] @Uid = params['Uid'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Type = params['Type'] @Gpu = params['Gpu'] @ChargeType = params['ChargeType'] @Namespace = params['Namespace'] @Name = params['Name'] end |