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.



17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
# File 'lib/v20180525/models.rb', line 17079

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

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:

    抵扣资源所属产品



17077
17078
17079
# File 'lib/v20180525/models.rb', line 17077

def Uid
  @Uid
end

Instance Method Details

#deserialize(params) ⇒ Object



17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
# File 'lib/v20180525/models.rb', line 17093

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