tencentcloud-sdk-tke 3.0.1161 → 3.0.1163

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180525/models.rb +96 -32
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 064e957200a92a1158976661001fd1e1045d0e36
4
- data.tar.gz: 1927aa77b4f4636ee45c63dde54bf6d6a2d558fb
3
+ metadata.gz: d9422d0bfd294e7ed9743818b0e8c075e089828e
4
+ data.tar.gz: f081b7de6018784ce794c5a283a3fb6cd65d3bf9
5
5
  SHA512:
6
- metadata.gz: 2b0b1b93783c314bdb46e76964f0bfb9d68b5e36ca16b55453be1c46581f6e98ad2f4050813b1fe80b08d43752f28e2a98c28e6a2806bfc885525121f2009ef6
7
- data.tar.gz: 08ae285be6418f816a802d846393dcb0b6e68d27cfb156dc79dce1d1ed9338da0a097369bb83412bf21fcf40aad2f4a8e7eb73e06e1796a02c2ee4522833ff5b
6
+ metadata.gz: 228faa9db9d83620b9306cc99676267918138b33aa90d7a4ab1eb295841dcb0107c05eff0440850a2963f5ce67c53d607cd098c569b4533bc487731c43cbd474
7
+ data.tar.gz: 5bb1b266bfbdfd2ce3dcf231ed403ff3f6a975b84bb0c925cc5b69b34e1a648ad552187f317fdc49b8aad7a26cf19eedf98d9fc6da6c8b04b7bd9f985e2c4c8d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1161
1
+ 3.0.1163
@@ -55,7 +55,7 @@ module TencentCloud
55
55
  # @type ClusterId: String
56
56
  # @param ClusterCIDRs: 增加的ClusterCIDR
57
57
  # @type ClusterCIDRs: Array
58
- # @param IgnoreClusterCIDRConflict: 是否忽略ClusterCIDR与VPC路由表的冲突
58
+ # @param IgnoreClusterCIDRConflict: 是否忽略ClusterCIDR与VPC路由表的冲突,默认false,为true时忽略冲突
59
59
  # @type IgnoreClusterCIDRConflict: Boolean
60
60
 
61
61
  attr_accessor :ClusterId, :ClusterCIDRs, :IgnoreClusterCIDRConflict
@@ -514,7 +514,7 @@ module TencentCloud
514
514
  # @type ID: String
515
515
  # @param ClusterId: 集群ID
516
516
  # @type ClusterId: String
517
- # @param ClusterType: 集群类型
517
+ # @param ClusterType: 集群类型,支持传入 tke(标准集群), eks(Serverless集群), external(注册集群)
518
518
  # @type ClusterType: String
519
519
 
520
520
  attr_accessor :ID, :ClusterId, :ClusterType
@@ -652,17 +652,22 @@ module TencentCloud
652
652
 
653
653
  # CheckInstancesUpgradeAble请求参数结构体
654
654
  class CheckInstancesUpgradeAbleRequest < TencentCloud::Common::AbstractModel
655
- # @param ClusterId: 集群ID
655
+ # @param ClusterId: 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
656
656
  # @type ClusterId: String
657
657
  # @param InstanceIds: 节点列表,空为全部节点
658
658
  # @type InstanceIds: Array
659
659
  # @param UpgradeType: 升级类型,枚举值:reset(重装升级,支持大版本和小版本),hot(原地滚动小版本升级),major(原地滚动大版本升级)
660
660
  # @type UpgradeType: String
661
- # @param Offset: 分页Offset
661
+ # @param Offset: 偏移量,默认为0。关于 Offset 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
662
662
  # @type Offset: Integer
663
- # @param Limit: 分页Limit
663
+ # @param Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
664
664
  # @type Limit: Integer
665
- # @param Filter: 过滤
665
+ # @param Filter: 过滤条件列表,Name 可选值为ip、instanceId、hostname、label
666
+
667
+ # - Name 为 ip 时,Value 为待查询节点 ip
668
+ # - Name 为 hostname 时,Value 为待查询节点名称
669
+ # - Name 为 label 时,Value 为待查询 K8S 节点 label
670
+ # - Name 为 instanceId 时,Value 为 待查询节点 id
666
671
  # @type Filter: Array
667
672
 
668
673
  attr_accessor :ClusterId, :InstanceIds, :UpgradeType, :Offset, :Limit, :Filter
@@ -2214,11 +2219,11 @@ module TencentCloud
2214
2219
  class CreateClusterReleaseRequest < TencentCloud::Common::AbstractModel
2215
2220
  # @param ClusterId: 集群ID
2216
2221
  # @type ClusterId: String
2217
- # @param Name: 应用名称
2222
+ # @param Name: 应用名称,最长63个字符,只能包含小写字母、数字及分隔符“-”,且必须以小写字母开头,数字或小写字母结尾
2218
2223
  # @type Name: String
2219
- # @param Namespace: 应用命名空间
2224
+ # @param Namespace: 应用命名空间,从集群详情命名空间获取
2220
2225
  # @type Namespace: String
2221
- # @param Chart: 制品名称或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
2226
+ # @param Chart: 制品名称(从应用市场获取)或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
2222
2227
  # @type Chart: String
2223
2228
  # @param Values: 自定义参数
2224
2229
  # @type Values: :class:`Tencentcloud::Tke.v20180525.models.ReleaseValues`
@@ -4100,22 +4105,25 @@ module TencentCloud
4100
4105
 
4101
4106
  # DeleteClusterInstances请求参数结构体
4102
4107
  class DeleteClusterInstancesRequest < TencentCloud::Common::AbstractModel
4103
- # @param ClusterId: 集群ID
4108
+ # @param ClusterId: 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
4104
4109
  # @type ClusterId: String
4105
- # @param InstanceIds: 主机InstanceId列表
4110
+ # @param InstanceIds: 主机 InstanceId 列表
4106
4111
  # @type InstanceIds: Array
4107
4112
  # @param InstanceDeleteMode: 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
4108
4113
  # @type InstanceDeleteMode: String
4109
4114
  # @param ForceDelete: 是否强制删除(当节点在初始化时,可以指定参数为TRUE)
4110
4115
  # @type ForceDelete: Boolean
4116
+ # @param ResourceDeleteOptions: 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
4117
+ # @type ResourceDeleteOptions: Array
4111
4118
 
4112
- attr_accessor :ClusterId, :InstanceIds, :InstanceDeleteMode, :ForceDelete
4119
+ attr_accessor :ClusterId, :InstanceIds, :InstanceDeleteMode, :ForceDelete, :ResourceDeleteOptions
4113
4120
 
4114
- def initialize(clusterid=nil, instanceids=nil, instancedeletemode=nil, forcedelete=nil)
4121
+ def initialize(clusterid=nil, instanceids=nil, instancedeletemode=nil, forcedelete=nil, resourcedeleteoptions=nil)
4115
4122
  @ClusterId = clusterid
4116
4123
  @InstanceIds = instanceids
4117
4124
  @InstanceDeleteMode = instancedeletemode
4118
4125
  @ForceDelete = forcedelete
4126
+ @ResourceDeleteOptions = resourcedeleteoptions
4119
4127
  end
4120
4128
 
4121
4129
  def deserialize(params)
@@ -4123,6 +4131,14 @@ module TencentCloud
4123
4131
  @InstanceIds = params['InstanceIds']
4124
4132
  @InstanceDeleteMode = params['InstanceDeleteMode']
4125
4133
  @ForceDelete = params['ForceDelete']
4134
+ unless params['ResourceDeleteOptions'].nil?
4135
+ @ResourceDeleteOptions = []
4136
+ params['ResourceDeleteOptions'].each do |i|
4137
+ resourcedeleteoption_tmp = ResourceDeleteOption.new
4138
+ resourcedeleteoption_tmp.deserialize(i)
4139
+ @ResourceDeleteOptions << resourcedeleteoption_tmp
4140
+ end
4141
+ end
4126
4142
  end
4127
4143
  end
4128
4144
 
@@ -5883,15 +5899,20 @@ module TencentCloud
5883
5899
 
5884
5900
  # DescribeClusterInstances请求参数结构体
5885
5901
  class DescribeClusterInstancesRequest < TencentCloud::Common::AbstractModel
5886
- # @param ClusterId: 集群ID
5902
+ # @param ClusterId: 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
5887
5903
  # @type ClusterId: String
5888
5904
  # @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
5889
5905
  # @type Offset: Integer
5890
5906
  # @param Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
5891
5907
  # @type Limit: Integer
5892
- # @param InstanceIds: 需要获取的节点实例Id列表。如果为空,表示拉取集群下所有节点实例。
5908
+ # @param InstanceIds: 需要获取的节点实例 ID 列表。如果为空,表示拉取集群下所有节点实例。普通节点用 CVM ID(如 ins-1cghhuuu ),原生节点用节点池内机器 ID (如 np-1ade4uid-0a2dc )。
5893
5909
  # @type InstanceIds: Array
5894
- # @param InstanceRole: 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER。默认为WORKER类型。
5910
+ # @param InstanceRole: 节点角色,默认为WORKER类型
5911
+
5912
+ # - WOKRER 集群内常规计算节点
5913
+ # - MASTER 独立集群控制面组件节点
5914
+ # - ETCD 独立集群 etcd 存储节点
5915
+ # - MASTER_ETCD 独立集群控制面、etcd 共同部署的 master 节点
5895
5916
  # @type InstanceRole: String
5896
5917
  # @param Filters: 过滤条件列表;Name的可选值为nodepool-id、nodepool-instance-type;Name为nodepool-id表示根据节点池id过滤机器,Value的值为具体的节点池id,Name为nodepool-instance-type表示节点加入节点池的方式,Value的值为MANUALLY_ADDED(手动加入节点池)、AUTOSCALING_ADDED(伸缩组扩容方式加入节点池)、ALL(手动加入节点池 和 伸缩组扩容方式加入节点池)
5897
5918
  # @type Filters: Array
@@ -6227,7 +6248,7 @@ module TencentCloud
6227
6248
  # @type Limit: Integer
6228
6249
  # @param Offset: 偏移量,默认0
6229
6250
  # @type Offset: Integer
6230
- # @param ClusterType: 集群类型
6251
+ # @param ClusterType: 集群类型,支持传入tke(标准集群),eks(Serverless集群),external(注册集群)
6231
6252
  # @type ClusterType: String
6232
6253
 
6233
6254
  attr_accessor :ClusterId, :Limit, :Offset, :ClusterType
@@ -6294,7 +6315,7 @@ module TencentCloud
6294
6315
  # @type Name: String
6295
6316
  # @param Namespace: 应用所在命名空间
6296
6317
  # @type Namespace: String
6297
- # @param ClusterType: 集群类型
6318
+ # @param ClusterType: 集群类型,传入 tke(标准集群), eks(Serverless集群), external(注册集群)
6298
6319
  # @type ClusterType: String
6299
6320
 
6300
6321
  attr_accessor :ClusterId, :Name, :Namespace, :ClusterType
@@ -6345,7 +6366,7 @@ module TencentCloud
6345
6366
  # @type Name: String
6346
6367
  # @param Namespace: 应用所在命名空间
6347
6368
  # @type Namespace: String
6348
- # @param ClusterType: 集群类型
6369
+ # @param ClusterType: 集群类型,传入 tke(标准集群), eks(Serverless集群), external(注册集群)
6349
6370
  # @type ClusterType: String
6350
6371
 
6351
6372
  attr_accessor :ClusterId, :Name, :Namespace, :ClusterType
@@ -6400,11 +6421,11 @@ module TencentCloud
6400
6421
  class DescribeClusterReleasesRequest < TencentCloud::Common::AbstractModel
6401
6422
  # @param ClusterId: 集群id
6402
6423
  # @type ClusterId: String
6403
- # @param Limit: 每页数量限制
6424
+ # @param Limit: 每页数量限制,默认值为20
6404
6425
  # @type Limit: Integer
6405
- # @param Offset: 页偏移量
6426
+ # @param Offset: 页偏移量,默认值为0
6406
6427
  # @type Offset: Integer
6407
- # @param ClusterType: 集群类型, 目前支持传入 tke, eks, tkeedge, external
6428
+ # @param ClusterType: 集群类型,传入 tke(标准集群),eks(Serverless集群),external(注册集群)
6408
6429
  # @type ClusterType: String
6409
6430
  # @param Namespace: helm Release 安装的namespace
6410
6431
  # @type Namespace: String
@@ -12245,7 +12266,7 @@ module TencentCloud
12245
12266
 
12246
12267
  # GetUpgradeInstanceProgress请求参数结构体
12247
12268
  class GetUpgradeInstanceProgressRequest < TencentCloud::Common::AbstractModel
12248
- # @param ClusterId: 集群ID
12269
+ # @param ClusterId: 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
12249
12270
  # @type ClusterId: String
12250
12271
  # @param Limit: 最多获取多少个节点的进度
12251
12272
  # @type Limit: Integer
@@ -12274,6 +12295,8 @@ module TencentCloud
12274
12295
  # @param Done: 已升级节点总数
12275
12296
  # @type Done: Integer
12276
12297
  # @param LifeState: 升级任务生命周期
12298
+
12299
+ # pending 还未开始
12277
12300
  # process 运行中
12278
12301
  # paused 已停止
12279
12302
  # pauing 正在停止
@@ -15437,7 +15460,17 @@ module TencentCloud
15437
15460
  # @type Name: String
15438
15461
  # @param Namespace: 应用命名空间
15439
15462
  # @type Namespace: String
15440
- # @param Status: 应用状态(参考helm的发布状态: unknown, deployed, uninstalled, superseded, failed, uninstalling, pending-install, pending-upgrade 或 pending-rollback)
15463
+ # @param Status: 应用状态,参考 Helm 发布状态。
15464
+ # 可选值及其释义如下:
15465
+ # • ​​unknown​​: 状态未知
15466
+ # • ​​deployed​​: 已成功部署
15467
+ # • ​​uninstalled​​: 已卸载
15468
+ # • ​​superseded​​: 已被新版本替代
15469
+ # • ​​failed​​: 部署失败
15470
+ # • ​​uninstalling​​: 正在卸载中
15471
+ # • ​​pending-install​​: 等待安装/安装进行中
15472
+ # • ​​pending-upgrade​​: 等待升级/升级进行中
15473
+ # • ​​pending-rollback​​: 等待回滚/回滚进行中
15441
15474
  # @type Status: String
15442
15475
  # @param UpdatedTime: 更新时间
15443
15476
  # @type UpdatedTime: String
@@ -17149,7 +17182,17 @@ module TencentCloud
17149
17182
  # @type Namespace: String
17150
17183
  # @param Revision: 应用当前版本
17151
17184
  # @type Revision: String
17152
- # @param Status: 应用状态
17185
+ # @param Status: 应用状态,参考 Helm 发布状态。
17186
+ # 可选值及其释义如下:
17187
+ # • ​​unknown​​: 状态未知
17188
+ # • ​​deployed​​: 已成功部署
17189
+ # • ​​uninstalled​​: 已卸载
17190
+ # • ​​superseded​​: 已被新版本替代
17191
+ # • ​​failed​​: 部署失败
17192
+ # • ​​uninstalling​​: 正在卸载中
17193
+ # • ​​pending-install​​: 等待安装/安装进行中
17194
+ # • ​​pending-upgrade​​: 等待升级/升级进行中
17195
+ # • ​​pending-rollback​​: 等待回滚/回滚进行中
17153
17196
  # @type Status: String
17154
17197
  # @param ChartName: 制品名称
17155
17198
  # @type ChartName: String
@@ -17197,7 +17240,17 @@ module TencentCloud
17197
17240
  # @type Namespace: String
17198
17241
  # @param Version: 应用当前版本
17199
17242
  # @type Version: Integer
17200
- # @param Status: 应用状态
17243
+ # @param Status: 应用状态,参考 Helm 发布状态。
17244
+ # 可选值及其释义如下:
17245
+ # • ​​unknown​​: 状态未知
17246
+ # • ​​deployed​​: 已成功部署
17247
+ # • ​​uninstalled​​: 已卸载
17248
+ # • ​​superseded​​: 已被新版本替代
17249
+ # • ​​failed​​: 部署失败
17250
+ # • ​​uninstalling​​: 正在卸载中
17251
+ # • ​​pending-install​​: 等待安装/安装进行中
17252
+ # • ​​pending-upgrade​​: 等待升级/升级进行中
17253
+ # • ​​pending-rollback​​: 等待回滚/回滚进行中
17201
17254
  # @type Status: String
17202
17255
  # @param Description: 应用描述
17203
17256
  # @type Description: String
@@ -17281,7 +17334,17 @@ module TencentCloud
17281
17334
  # @type Namespace: String
17282
17335
  # @param Revision: 应用版本
17283
17336
  # @type Revision: Integer
17284
- # @param Status: 应用状态
17337
+ # @param Status: 应用状态,参考 Helm 发布状态。
17338
+ # 可选值及其释义如下:
17339
+ # • ​​unknown​​: 状态未知
17340
+ # • ​​deployed​​: 已成功部署
17341
+ # • ​​uninstalled​​: 已卸载
17342
+ # • ​​superseded​​: 已被新版本替代
17343
+ # • ​​failed​​: 部署失败
17344
+ # • ​​uninstalling​​: 正在卸载中
17345
+ # • ​​pending-install​​: 等待安装/安装进行中
17346
+ # • ​​pending-upgrade​​: 等待升级/升级进行中
17347
+ # • ​​pending-rollback​​: 等待回滚/回滚进行中
17285
17348
  # @type Status: String
17286
17349
  # @param Chart: 应用制品名称
17287
17350
  # @type Chart: String
@@ -17721,7 +17784,7 @@ module TencentCloud
17721
17784
  # @type Namespace: String
17722
17785
  # @param Revision: 回滚版本号
17723
17786
  # @type Revision: Integer
17724
- # @param ClusterType: 集群类型
17787
+ # @param ClusterType: 集群类型,传入 tke(标准集群),eks(Serverless集群),external(注册集群)
17725
17788
  # @type ClusterType: String
17726
17789
 
17727
17790
  attr_accessor :ClusterId, :Name, :Namespace, :Revision, :ClusterType
@@ -18680,7 +18743,7 @@ module TencentCloud
18680
18743
  # @type Name: String
18681
18744
  # @param Namespace: 应用命名空间
18682
18745
  # @type Namespace: String
18683
- # @param ClusterType: 集群类型
18746
+ # @param ClusterType: 集群类型,传入 tke(标准集群), eks(Serverless集群),external(注册集群)
18684
18747
  # @type ClusterType: String
18685
18748
 
18686
18749
  attr_accessor :ClusterId, :Name, :Namespace, :ClusterType
@@ -19341,7 +19404,7 @@ module TencentCloud
19341
19404
 
19342
19405
  # UpgradeClusterInstances请求参数结构体
19343
19406
  class UpgradeClusterInstancesRequest < TencentCloud::Common::AbstractModel
19344
- # @param ClusterId: 集群ID
19407
+ # @param ClusterId: 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
19345
19408
  # @type ClusterId: String
19346
19409
  # @param Operation: create 表示开始一次升级任务
19347
19410
  # pause 表示停止任务
@@ -19353,11 +19416,12 @@ module TencentCloud
19353
19416
  # hot 小版本热升级
19354
19417
  # major 大版本原地升级
19355
19418
  # @type UpgradeType: String
19356
- # @param InstanceIds: 需要升级的节点列表
19419
+ # @param InstanceIds: 需要升级的节点列表,可以通过控制台或 [查询待升级节点接口
19420
+ # ](https://cloud.tencent.com/document/api/457/50366) 获取
19357
19421
  # @type InstanceIds: Array
19358
19422
  # @param ResetParam: 当节点重新加入集群时候所使用的参数,参考添加已有节点接口
19359
19423
  # @type ResetParam: :class:`Tencentcloud::Tke.v20180525.models.UpgradeNodeResetParam`
19360
- # @param SkipPreCheck: 是否忽略节点升级前检查
19424
+ # @param SkipPreCheck: 是否忽略节点升级前检查,默认值 false
19361
19425
  # @type SkipPreCheck: Boolean
19362
19426
  # @param MaxNotReadyPercent: 最大可容忍的不可用Pod比例
19363
19427
  # @type MaxNotReadyPercent: Float
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1161
4
+ version: 3.0.1163
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-04 00:00:00.000000000 Z
11
+ date: 2025-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common