tencentcloud-sdk-tke 3.0.1161 → 3.0.1162
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/models.rb +36 -14
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30c1c5bddacbc57b60b8f52d055deedd5eae2575
|
|
4
|
+
data.tar.gz: ea917ac122fca3a698d077143f094818f30737b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 425d200f5b2620f0194175b9a0c48919f3c517b30978fad3e3f20356429f98dc5e66444924fc48de3df78aff3c7389aed269a9be7f0b2258aba4eeeeaf95293b
|
|
7
|
+
data.tar.gz: e64f120f57f3f5a86119429a4fa136db15ba06ec8104ba624e6d46bfb3fbb293598b0ac10cd6c63954a8230aca1e220b6d97ca98aaa596f59b392f59e868c77f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1162
|
data/lib/v20180525/models.rb
CHANGED
|
@@ -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:
|
|
661
|
+
# @param Offset: 偏移量,默认为0。关于 Offset 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
662
662
|
# @type Offset: Integer
|
|
663
|
-
# @param 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
|
|
@@ -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: 需要获取的节点实例
|
|
5908
|
+
# @param InstanceIds: 需要获取的节点实例 ID 列表。如果为空,表示拉取集群下所有节点实例。普通节点用 CVM ID(如 ins-1cghhuuu ),原生节点用节点池内机器 ID (如 np-1ade4uid-0a2dc )。
|
|
5893
5909
|
# @type InstanceIds: Array
|
|
5894
|
-
# @param InstanceRole:
|
|
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
|
|
@@ -19341,7 +19362,7 @@ module TencentCloud
|
|
|
19341
19362
|
|
|
19342
19363
|
# UpgradeClusterInstances请求参数结构体
|
|
19343
19364
|
class UpgradeClusterInstancesRequest < TencentCloud::Common::AbstractModel
|
|
19344
|
-
# @param ClusterId: 集群ID
|
|
19365
|
+
# @param ClusterId: 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
|
|
19345
19366
|
# @type ClusterId: String
|
|
19346
19367
|
# @param Operation: create 表示开始一次升级任务
|
|
19347
19368
|
# pause 表示停止任务
|
|
@@ -19353,11 +19374,12 @@ module TencentCloud
|
|
|
19353
19374
|
# hot 小版本热升级
|
|
19354
19375
|
# major 大版本原地升级
|
|
19355
19376
|
# @type UpgradeType: String
|
|
19356
|
-
# @param InstanceIds:
|
|
19377
|
+
# @param InstanceIds: 需要升级的节点列表,可以通过控制台或 [查询待升级节点接口
|
|
19378
|
+
# ](https://cloud.tencent.com/document/api/457/50366) 获取
|
|
19357
19379
|
# @type InstanceIds: Array
|
|
19358
19380
|
# @param ResetParam: 当节点重新加入集群时候所使用的参数,参考添加已有节点接口
|
|
19359
19381
|
# @type ResetParam: :class:`Tencentcloud::Tke.v20180525.models.UpgradeNodeResetParam`
|
|
19360
|
-
# @param SkipPreCheck:
|
|
19382
|
+
# @param SkipPreCheck: 是否忽略节点升级前检查,默认值 false
|
|
19361
19383
|
# @type SkipPreCheck: Boolean
|
|
19362
19384
|
# @param MaxNotReadyPercent: 最大可容忍的不可用Pod比例
|
|
19363
19385
|
# @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.
|
|
4
|
+
version: 3.0.1162
|
|
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-
|
|
11
|
+
date: 2025-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|