tencentcloud-sdk-tke 3.0.846 → 3.0.847

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6207b0d51c90bba2e85f14bac774694a6fb46552
4
- data.tar.gz: b5a72d83cb05f03ba22550a313acc1b0621b7b2c
3
+ metadata.gz: d158507752545bf95cdcd190386503ddb16a8396
4
+ data.tar.gz: e256c5ac8adc98f80cfae82e684b493cb13169c9
5
5
  SHA512:
6
- metadata.gz: 731ecb99566067e3705c405b13bd58e0f79018b9b8a48abf245235fff527add203242268e80ce38e305d41d9a235450ddf5daea0c2947286822786b31949f60f
7
- data.tar.gz: 96dfbf4e8ad40656b28ea8670b91e72aa17738abef39a7402819d3e490d7233b60c75f8fce709d023511a25851acfa59e737474e67dc47597deaae26f7576683
6
+ metadata.gz: 72ec475ca08df59a688200b119929de1418f0cab506eda83d84c29fa6420f8878c94510a4e0f8b770b9a0d9e7aa116f7b106debf2dafe46563d5c25a404877e6
7
+ data.tar.gz: 1ce4c965efc17891b0bed648d2d236421aa1be718b6dde9664d65df949671203ec63d5ac65c1f9c4593baa892381630eb95a01f3bb037863bf76d5d619ff6359
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.846
1
+ 3.0.847
@@ -2935,6 +2935,30 @@ module TencentCloud
2935
2935
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2936
2936
  end
2937
2937
 
2938
+ # 查询正在运行中Pod的计费信息。可以通过 Namespace 和 Name 来查询某个 Pod 的信息,也可以通过 Pod 的 Uid 批量查询。
2939
+
2940
+ # @param request: Request instance for DescribePodChargeInfo.
2941
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribePodChargeInfoRequest`
2942
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribePodChargeInfoResponse`
2943
+ def DescribePodChargeInfo(request)
2944
+ body = send_request('DescribePodChargeInfo', request.serialize)
2945
+ response = JSON.parse(body)
2946
+ if response['Response'].key?('Error') == false
2947
+ model = DescribePodChargeInfoResponse.new
2948
+ model.deserialize(response['Response'])
2949
+ model
2950
+ else
2951
+ code = response['Response']['Error']['Code']
2952
+ message = response['Response']['Error']['Message']
2953
+ reqid = response['Response']['RequestId']
2954
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2955
+ end
2956
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2957
+ raise e
2958
+ rescue StandardError => e
2959
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2960
+ end
2961
+
2938
2962
  # 查询各个规格的 Pod 的抵扣率
2939
2963
 
2940
2964
  # @param request: Request instance for DescribePodDeductionRate.
@@ -3134,13 +3134,13 @@ module TencentCloud
3134
3134
  class CreateImageCacheRequest < TencentCloud::Common::AbstractModel
3135
3135
  # @param Images: 用于制作镜像缓存的容器镜像列表
3136
3136
  # @type Images: Array
3137
- # @param SubnetId: 实例所属子网Id
3137
+ # @param SubnetId: 实例所属子网 ID
3138
3138
  # @type SubnetId: String
3139
- # @param VpcId: 实例所属VPC Id
3139
+ # @param VpcId: 实例所属 VPC ID
3140
3140
  # @type VpcId: String
3141
3141
  # @param ImageCacheName: 镜像缓存名称
3142
3142
  # @type ImageCacheName: String
3143
- # @param SecurityGroupIds: 安全组Id
3143
+ # @param SecurityGroupIds: 安全组 ID
3144
3144
  # @type SecurityGroupIds: Array
3145
3145
  # @param ImageRegistryCredentials: 镜像仓库凭证数组
3146
3146
  # @type ImageRegistryCredentials: Array
@@ -7844,12 +7844,15 @@ module TencentCloud
7844
7844
  # @param ClaimExpiredDuration: 固定ip回收时间,已安装eniipamd组件才会有值
7845
7845
  # 注意:此字段可能返回 null,表示取不到有效值。
7846
7846
  # @type ClaimExpiredDuration: String
7847
+ # @param EnableTrunkingENI: 是否开启了中继网卡模式
7848
+ # 注意:此字段可能返回 null,表示取不到有效值。
7849
+ # @type EnableTrunkingENI: Boolean
7847
7850
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7848
7851
  # @type RequestId: String
7849
7852
 
7850
- attr_accessor :EnableIPAMD, :EnableCustomizedPodCidr, :DisableVpcCniMode, :Phase, :Reason, :SubnetIds, :ClaimExpiredDuration, :RequestId
7853
+ attr_accessor :EnableIPAMD, :EnableCustomizedPodCidr, :DisableVpcCniMode, :Phase, :Reason, :SubnetIds, :ClaimExpiredDuration, :EnableTrunkingENI, :RequestId
7851
7854
 
7852
- def initialize(enableipamd=nil, enablecustomizedpodcidr=nil, disablevpccnimode=nil, phase=nil, reason=nil, subnetids=nil, claimexpiredduration=nil, requestid=nil)
7855
+ def initialize(enableipamd=nil, enablecustomizedpodcidr=nil, disablevpccnimode=nil, phase=nil, reason=nil, subnetids=nil, claimexpiredduration=nil, enabletrunkingeni=nil, requestid=nil)
7853
7856
  @EnableIPAMD = enableipamd
7854
7857
  @EnableCustomizedPodCidr = enablecustomizedpodcidr
7855
7858
  @DisableVpcCniMode = disablevpccnimode
@@ -7857,6 +7860,7 @@ module TencentCloud
7857
7860
  @Reason = reason
7858
7861
  @SubnetIds = subnetids
7859
7862
  @ClaimExpiredDuration = claimexpiredduration
7863
+ @EnableTrunkingENI = enabletrunkingeni
7860
7864
  @RequestId = requestid
7861
7865
  end
7862
7866
 
@@ -7868,6 +7872,7 @@ module TencentCloud
7868
7872
  @Reason = params['Reason']
7869
7873
  @SubnetIds = params['SubnetIds']
7870
7874
  @ClaimExpiredDuration = params['ClaimExpiredDuration']
7875
+ @EnableTrunkingENI = params['EnableTrunkingENI']
7871
7876
  @RequestId = params['RequestId']
7872
7877
  end
7873
7878
  end
@@ -8037,6 +8042,61 @@ module TencentCloud
8037
8042
  end
8038
8043
  end
8039
8044
 
8045
+ # DescribePodChargeInfo请求参数结构体
8046
+ class DescribePodChargeInfoRequest < TencentCloud::Common::AbstractModel
8047
+ # @param ClusterId: 集群ID
8048
+ # @type ClusterId: String
8049
+ # @param Namespace: 命名空间
8050
+ # @type Namespace: String
8051
+ # @param Name: Pod名称
8052
+ # @type Name: String
8053
+ # @param Uids: Pod的Uid
8054
+ # @type Uids: Array
8055
+
8056
+ attr_accessor :ClusterId, :Namespace, :Name, :Uids
8057
+
8058
+ def initialize(clusterid=nil, namespace=nil, name=nil, uids=nil)
8059
+ @ClusterId = clusterid
8060
+ @Namespace = namespace
8061
+ @Name = name
8062
+ @Uids = uids
8063
+ end
8064
+
8065
+ def deserialize(params)
8066
+ @ClusterId = params['ClusterId']
8067
+ @Namespace = params['Namespace']
8068
+ @Name = params['Name']
8069
+ @Uids = params['Uids']
8070
+ end
8071
+ end
8072
+
8073
+ # DescribePodChargeInfo返回参数结构体
8074
+ class DescribePodChargeInfoResponse < TencentCloud::Common::AbstractModel
8075
+ # @param ChargeInfoSet: Pod计费信息
8076
+ # @type ChargeInfoSet: Array
8077
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8078
+ # @type RequestId: String
8079
+
8080
+ attr_accessor :ChargeInfoSet, :RequestId
8081
+
8082
+ def initialize(chargeinfoset=nil, requestid=nil)
8083
+ @ChargeInfoSet = chargeinfoset
8084
+ @RequestId = requestid
8085
+ end
8086
+
8087
+ def deserialize(params)
8088
+ unless params['ChargeInfoSet'].nil?
8089
+ @ChargeInfoSet = []
8090
+ params['ChargeInfoSet'].each do |i|
8091
+ podchargeinfo_tmp = PodChargeInfo.new
8092
+ podchargeinfo_tmp.deserialize(i)
8093
+ @ChargeInfoSet << podchargeinfo_tmp
8094
+ end
8095
+ end
8096
+ @RequestId = params['RequestId']
8097
+ end
8098
+ end
8099
+
8040
8100
  # DescribePodDeductionRate请求参数结构体
8041
8101
  class DescribePodDeductionRateRequest < TencentCloud::Common::AbstractModel
8042
8102
  # @param Zone: 可用区
@@ -14758,6 +14818,60 @@ module TencentCloud
14758
14818
  end
14759
14819
  end
14760
14820
 
14821
+ # Pod计费信息
14822
+ class PodChargeInfo < TencentCloud::Common::AbstractModel
14823
+ # @param StartTime: Pod计费开始时间
14824
+ # @type StartTime: String
14825
+ # @param Uid: Pod的Uid
14826
+ # @type Uid: String
14827
+ # @param Cpu: Pod的CPU
14828
+ # @type Cpu: Float
14829
+ # @param Memory: Pod的内存
14830
+ # @type Memory: Float
14831
+ # @param Type: Pod类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
14832
+ # @type Type: String
14833
+ # @param Gpu: Pod是GPU时,表示GPU卡数
14834
+ # 注意:此字段可能返回 null,表示取不到有效值。
14835
+ # @type Gpu: String
14836
+ # @param ChargeType: 计费类型
14837
+ # PREPAID:Pod调度到包月超级节点
14838
+ # POSTPAID_BY_HOUR:按量计费
14839
+ # RESERVED_INSTANCE:上个周期被预留券抵扣
14840
+ # SPOT:竞价实例
14841
+ # TPOD:特惠实例
14842
+ # @type ChargeType: String
14843
+ # @param Namespace: 命名空间
14844
+ # @type Namespace: String
14845
+ # @param Name: Pod名称
14846
+ # @type Name: String
14847
+
14848
+ attr_accessor :StartTime, :Uid, :Cpu, :Memory, :Type, :Gpu, :ChargeType, :Namespace, :Name
14849
+
14850
+ def initialize(starttime=nil, uid=nil, cpu=nil, memory=nil, type=nil, gpu=nil, chargetype=nil, namespace=nil, name=nil)
14851
+ @StartTime = starttime
14852
+ @Uid = uid
14853
+ @Cpu = cpu
14854
+ @Memory = memory
14855
+ @Type = type
14856
+ @Gpu = gpu
14857
+ @ChargeType = chargetype
14858
+ @Namespace = namespace
14859
+ @Name = name
14860
+ end
14861
+
14862
+ def deserialize(params)
14863
+ @StartTime = params['StartTime']
14864
+ @Uid = params['Uid']
14865
+ @Cpu = params['Cpu']
14866
+ @Memory = params['Memory']
14867
+ @Type = params['Type']
14868
+ @Gpu = params['Gpu']
14869
+ @ChargeType = params['ChargeType']
14870
+ @Namespace = params['Namespace']
14871
+ @Name = params['Name']
14872
+ end
14873
+ end
14874
+
14761
14875
  # 可被预留券抵扣的 Pod 某种规格的抵扣率
14762
14876
  class PodDeductionRate < TencentCloud::Common::AbstractModel
14763
14877
  # @param Cpu: Pod的 CPU
@@ -18376,7 +18490,7 @@ module TencentCloud
18376
18490
 
18377
18491
  # UpdateImageCache请求参数结构体
18378
18492
  class UpdateImageCacheRequest < TencentCloud::Common::AbstractModel
18379
- # @param ImageCacheId: 镜像缓存Id
18493
+ # @param ImageCacheId: 镜像缓存ID
18380
18494
  # @type ImageCacheId: String
18381
18495
  # @param ImageCacheName: 镜像缓存名称
18382
18496
  # @type ImageCacheName: String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.846
4
+ version: 3.0.847
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud