Class: TencentCloud::Tke::V20180525::PodChargeInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

Pod计费信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ChargeTypeObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



16797
16798
16799
# File 'lib/v20180525/models.rb', line 16797

def ChargeType
  @ChargeType
end

#CpuObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



16797
16798
16799
# File 'lib/v20180525/models.rb', line 16797

def Cpu
  @Cpu
end

#GpuObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



16797
16798
16799
# File 'lib/v20180525/models.rb', line 16797

def Gpu
  @Gpu
end

#MemoryObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



16797
16798
16799
# File 'lib/v20180525/models.rb', line 16797

def Memory
  @Memory
end

#NameObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



16797
16798
16799
# File 'lib/v20180525/models.rb', line 16797

def Name
  @Name
end

#NamespaceObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



16797
16798
16799
# File 'lib/v20180525/models.rb', line 16797

def Namespace
  @Namespace
end

#StartTimeObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



16797
16798
16799
# File 'lib/v20180525/models.rb', line 16797

def StartTime
  @StartTime
end

#TypeObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



16797
16798
16799
# File 'lib/v20180525/models.rb', line 16797

def Type
  @Type
end

#UidObject

PREPAID:Pod调度到包月超级节点POSTPAID_BY_HOUR:按量计费RESERVED_INSTANCE:上个周期被预留券抵扣SPOT:竞价实例TPOD:特惠实例

Parameters:

  • StartTime:

    Pod计费开始时间

  • Uid:

    Pod的Uid

  • Cpu:

    Pod的CPU

  • Memory:

    Pod的内存

  • Type:

    Pod类型:intel、amd、v100、t4、a10*gnv4、a10*gnv4v等。

  • Gpu:

    Pod是GPU时,表示GPU卡数

  • ChargeType:

    计费类型

  • Namespace:

    命名空间

  • Name:

    Pod名称



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