Class: TencentCloud::Tke::V20180525::RIUtilizationDetail

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

Overview

预留券抵扣详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reservedinstanceid = nil, eksid = nil, clusterid = nil, name = nil, namespace = nil, kind = nil, kindname = nil, uid = nil, starttime = nil, endtime = nil, product = nil) ⇒ RIUtilizationDetail

Returns a new instance of RIUtilizationDetail.



18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
# File 'lib/v20180525/models.rb', line 18802

def initialize(reservedinstanceid=nil, eksid=nil, clusterid=nil, name=nil, namespace=nil, kind=nil, kindname=nil, uid=nil, starttime=nil, endtime=nil, product=nil)
  @ReservedInstanceId = reservedinstanceid
  @EksId = eksid
  @ClusterId = clusterid
  @Name = name
  @Namespace = namespace
  @Kind = kind
  @KindName = kindname
  @Uid = uid
  @StartTime = starttime
  @EndTime = endtime
  @Product = product
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def ClusterId
  @ClusterId
end

#EksIdObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def EksId
  @EksId
end

#EndTimeObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def EndTime
  @EndTime
end

#KindObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def Kind
  @Kind
end

#KindNameObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def KindName
  @KindName
end

#NameObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def Name
  @Name
end

#NamespaceObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def Namespace
  @Namespace
end

#ProductObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def Product
  @Product
end

#ReservedInstanceIdObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def ReservedInstanceId
  @ReservedInstanceId
end

#StartTimeObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def StartTime
  @StartTime
end

#UidObject

Parameters:

  • ReservedInstanceId:

    预留券ID

  • EksId:

    Pod唯一ID

  • ClusterId:

    集群ID

  • Name:

    Pod的名称

  • Namespace:

    Pod的命名空间

  • Kind:

    工作负载类型,如 deployment、statefulset和pod等。

  • KindName:

    工作负载名称

  • Uid:

    Pod的uid

  • StartTime:

    用量开始时间

  • EndTime:

    用量结束时间

  • Product:

    抵扣资源所属产品



18800
18801
18802
# File 'lib/v20180525/models.rb', line 18800

def Uid
  @Uid
end

Instance Method Details

#deserialize(params) ⇒ Object



18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
# File 'lib/v20180525/models.rb', line 18816

def deserialize(params)
  @ReservedInstanceId = params['ReservedInstanceId']
  @EksId = params['EksId']
  @ClusterId = params['ClusterId']
  @Name = params['Name']
  @Namespace = params['Namespace']
  @Kind = params['Kind']
  @KindName = params['KindName']
  @Uid = params['Uid']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Product = params['Product']
end