tencentcloud-sdk-nodejs-tke 4.1.137 → 4.1.139
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.
package/package.json
CHANGED
|
@@ -1198,7 +1198,7 @@ export interface DescribeClustersRequest {
|
|
|
1198
1198
|
*/
|
|
1199
1199
|
export interface UpgradeClusterInstancesRequest {
|
|
1200
1200
|
/**
|
|
1201
|
-
* 集群ID
|
|
1201
|
+
* 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
|
|
1202
1202
|
*/
|
|
1203
1203
|
ClusterId: string;
|
|
1204
1204
|
/**
|
|
@@ -1216,7 +1216,8 @@ export interface UpgradeClusterInstancesRequest {
|
|
|
1216
1216
|
*/
|
|
1217
1217
|
UpgradeType?: string;
|
|
1218
1218
|
/**
|
|
1219
|
-
*
|
|
1219
|
+
* 需要升级的节点列表,可以通过控制台或 [查询待升级节点接口
|
|
1220
|
+
](https://cloud.tencent.com/document/api/457/50366) 获取
|
|
1220
1221
|
*/
|
|
1221
1222
|
InstanceIds?: Array<string>;
|
|
1222
1223
|
/**
|
|
@@ -1224,7 +1225,7 @@ export interface UpgradeClusterInstancesRequest {
|
|
|
1224
1225
|
*/
|
|
1225
1226
|
ResetParam?: UpgradeNodeResetParam;
|
|
1226
1227
|
/**
|
|
1227
|
-
*
|
|
1228
|
+
* 是否忽略节点升级前检查,默认值 false
|
|
1228
1229
|
*/
|
|
1229
1230
|
SkipPreCheck?: boolean;
|
|
1230
1231
|
/**
|
|
@@ -1436,7 +1437,7 @@ export interface CancelClusterReleaseRequest {
|
|
|
1436
1437
|
*/
|
|
1437
1438
|
ClusterId?: string;
|
|
1438
1439
|
/**
|
|
1439
|
-
*
|
|
1440
|
+
* 集群类型,支持传入 tke(标准集群), eks(Serverless集群), external(注册集群)
|
|
1440
1441
|
*/
|
|
1441
1442
|
ClusterType?: string;
|
|
1442
1443
|
}
|
|
@@ -1577,7 +1578,7 @@ export interface DescribeEKSClusterCredentialResponse {
|
|
|
1577
1578
|
*/
|
|
1578
1579
|
export interface CheckInstancesUpgradeAbleRequest {
|
|
1579
1580
|
/**
|
|
1580
|
-
* 集群ID
|
|
1581
|
+
* 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
|
|
1581
1582
|
*/
|
|
1582
1583
|
ClusterId: string;
|
|
1583
1584
|
/**
|
|
@@ -1589,15 +1590,20 @@ export interface CheckInstancesUpgradeAbleRequest {
|
|
|
1589
1590
|
*/
|
|
1590
1591
|
UpgradeType?: string;
|
|
1591
1592
|
/**
|
|
1592
|
-
*
|
|
1593
|
+
* 偏移量,默认为0。关于 Offset 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
1593
1594
|
*/
|
|
1594
1595
|
Offset?: number;
|
|
1595
1596
|
/**
|
|
1596
|
-
*
|
|
1597
|
+
* 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
1597
1598
|
*/
|
|
1598
1599
|
Limit?: number;
|
|
1599
1600
|
/**
|
|
1600
|
-
*
|
|
1601
|
+
* 过滤条件列表,Name 可选值为ip、instanceId、hostname、label
|
|
1602
|
+
|
|
1603
|
+
- Name 为 ip 时,Value 为待查询节点 ip
|
|
1604
|
+
- Name 为 hostname 时,Value 为待查询节点名称
|
|
1605
|
+
- Name 为 label 时,Value 为待查询 K8S 节点 label
|
|
1606
|
+
- Name 为 instanceId 时,Value 为 待查询节点 id
|
|
1601
1607
|
*/
|
|
1602
1608
|
Filter?: Array<Filter>;
|
|
1603
1609
|
}
|
|
@@ -2325,7 +2331,7 @@ export interface DescribeClusterPendingReleasesRequest {
|
|
|
2325
2331
|
*/
|
|
2326
2332
|
Offset?: number;
|
|
2327
2333
|
/**
|
|
2328
|
-
*
|
|
2334
|
+
* 集群类型,支持传入tke(标准集群),eks(Serverless集群),external(注册集群)
|
|
2329
2335
|
*/
|
|
2330
2336
|
ClusterType?: string;
|
|
2331
2337
|
}
|
|
@@ -2385,7 +2391,7 @@ export interface CreatePrometheusRecordRuleYamlResponse {
|
|
|
2385
2391
|
*/
|
|
2386
2392
|
export interface DescribeClusterInstancesRequest {
|
|
2387
2393
|
/**
|
|
2388
|
-
* 集群ID
|
|
2394
|
+
* 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
|
|
2389
2395
|
*/
|
|
2390
2396
|
ClusterId: string;
|
|
2391
2397
|
/**
|
|
@@ -2397,11 +2403,17 @@ export interface DescribeClusterInstancesRequest {
|
|
|
2397
2403
|
*/
|
|
2398
2404
|
Limit?: number;
|
|
2399
2405
|
/**
|
|
2400
|
-
* 需要获取的节点实例
|
|
2406
|
+
* 需要获取的节点实例 ID 列表。如果为空,表示拉取集群下所有节点实例。普通节点用 CVM ID(如 ins-1cghhuuu ),原生节点用节点池内机器 ID (如 np-1ade4uid-0a2dc )。
|
|
2401
2407
|
*/
|
|
2402
2408
|
InstanceIds?: Array<string>;
|
|
2403
2409
|
/**
|
|
2404
|
-
*
|
|
2410
|
+
* 节点角色,默认为WORKER类型
|
|
2411
|
+
|
|
2412
|
+
- WOKRER 集群内常规计算节点
|
|
2413
|
+
- MASTER 独立集群控制面组件节点
|
|
2414
|
+
- ETCD 独立集群 etcd 存储节点
|
|
2415
|
+
- MASTER_ETCD 独立集群控制面、etcd 共同部署的 master 节点
|
|
2416
|
+
|
|
2405
2417
|
*/
|
|
2406
2418
|
InstanceRole?: string;
|
|
2407
2419
|
/**
|
|
@@ -4386,7 +4398,7 @@ export interface RollbackClusterReleaseRequest {
|
|
|
4386
4398
|
*/
|
|
4387
4399
|
Revision: number;
|
|
4388
4400
|
/**
|
|
4389
|
-
*
|
|
4401
|
+
* 集群类型,传入 tke(标准集群),eks(Serverless集群),external(注册集群)
|
|
4390
4402
|
*/
|
|
4391
4403
|
ClusterType?: string;
|
|
4392
4404
|
}
|
|
@@ -4408,11 +4420,11 @@ export interface DescribePodDeductionRateResponse {
|
|
|
4408
4420
|
*/
|
|
4409
4421
|
export interface DeleteClusterInstancesRequest {
|
|
4410
4422
|
/**
|
|
4411
|
-
* 集群ID
|
|
4423
|
+
* 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
|
|
4412
4424
|
*/
|
|
4413
4425
|
ClusterId: string;
|
|
4414
4426
|
/**
|
|
4415
|
-
* 主机InstanceId列表
|
|
4427
|
+
* 主机 InstanceId 列表
|
|
4416
4428
|
*/
|
|
4417
4429
|
InstanceIds: Array<string>;
|
|
4418
4430
|
/**
|
|
@@ -4423,6 +4435,10 @@ export interface DeleteClusterInstancesRequest {
|
|
|
4423
4435
|
* 是否强制删除(当节点在初始化时,可以指定参数为TRUE)
|
|
4424
4436
|
*/
|
|
4425
4437
|
ForceDelete?: boolean;
|
|
4438
|
+
/**
|
|
4439
|
+
* 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
|
|
4440
|
+
*/
|
|
4441
|
+
ResourceDeleteOptions?: Array<ResourceDeleteOption>;
|
|
4426
4442
|
}
|
|
4427
4443
|
/**
|
|
4428
4444
|
* 节点升级重装参数
|
|
@@ -4630,7 +4646,7 @@ export interface AddClusterCIDRRequest {
|
|
|
4630
4646
|
*/
|
|
4631
4647
|
ClusterCIDRs: Array<string>;
|
|
4632
4648
|
/**
|
|
4633
|
-
* 是否忽略ClusterCIDR与VPC
|
|
4649
|
+
* 是否忽略ClusterCIDR与VPC路由表的冲突,默认false,为true时忽略冲突
|
|
4634
4650
|
*/
|
|
4635
4651
|
IgnoreClusterCIDRConflict?: boolean;
|
|
4636
4652
|
}
|
|
@@ -4770,7 +4786,7 @@ export interface DescribeClusterReleaseHistoryRequest {
|
|
|
4770
4786
|
*/
|
|
4771
4787
|
Namespace: string;
|
|
4772
4788
|
/**
|
|
4773
|
-
*
|
|
4789
|
+
* 集群类型,传入 tke(标准集群), eks(Serverless集群), external(注册集群)
|
|
4774
4790
|
*/
|
|
4775
4791
|
ClusterType?: string;
|
|
4776
4792
|
}
|
|
@@ -7101,7 +7117,7 @@ export interface UninstallClusterReleaseRequest {
|
|
|
7101
7117
|
*/
|
|
7102
7118
|
Namespace: string;
|
|
7103
7119
|
/**
|
|
7104
|
-
*
|
|
7120
|
+
* 集群类型,传入 tke(标准集群), eks(Serverless集群),external(注册集群)
|
|
7105
7121
|
*/
|
|
7106
7122
|
ClusterType?: string;
|
|
7107
7123
|
}
|
|
@@ -7894,7 +7910,7 @@ export interface DescribeClusterReleaseDetailsRequest {
|
|
|
7894
7910
|
*/
|
|
7895
7911
|
Namespace: string;
|
|
7896
7912
|
/**
|
|
7897
|
-
*
|
|
7913
|
+
* 集群类型,传入 tke(标准集群), eks(Serverless集群), external(注册集群)
|
|
7898
7914
|
*/
|
|
7899
7915
|
ClusterType?: string;
|
|
7900
7916
|
}
|
|
@@ -7999,15 +8015,15 @@ export interface DescribeClusterReleasesRequest {
|
|
|
7999
8015
|
*/
|
|
8000
8016
|
ClusterId: string;
|
|
8001
8017
|
/**
|
|
8002
|
-
*
|
|
8018
|
+
* 每页数量限制,默认值为20
|
|
8003
8019
|
*/
|
|
8004
8020
|
Limit?: number;
|
|
8005
8021
|
/**
|
|
8006
|
-
*
|
|
8022
|
+
* 页偏移量,默认值为0
|
|
8007
8023
|
*/
|
|
8008
8024
|
Offset?: number;
|
|
8009
8025
|
/**
|
|
8010
|
-
*
|
|
8026
|
+
* 集群类型,传入 tke(标准集群),eks(Serverless集群),external(注册集群)
|
|
8011
8027
|
*/
|
|
8012
8028
|
ClusterType?: string;
|
|
8013
8029
|
/**
|
|
@@ -8480,15 +8496,15 @@ export interface CreateClusterReleaseRequest {
|
|
|
8480
8496
|
*/
|
|
8481
8497
|
ClusterId: string;
|
|
8482
8498
|
/**
|
|
8483
|
-
*
|
|
8499
|
+
* 应用名称,最长63个字符,只能包含小写字母、数字及分隔符“-”,且必须以小写字母开头,数字或小写字母结尾
|
|
8484
8500
|
*/
|
|
8485
8501
|
Name: string;
|
|
8486
8502
|
/**
|
|
8487
|
-
*
|
|
8503
|
+
* 应用命名空间,从集群详情命名空间获取
|
|
8488
8504
|
*/
|
|
8489
8505
|
Namespace: string;
|
|
8490
8506
|
/**
|
|
8491
|
-
*
|
|
8507
|
+
* 制品名称(从应用市场获取)或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
|
|
8492
8508
|
*/
|
|
8493
8509
|
Chart: string;
|
|
8494
8510
|
/**
|
|
@@ -8567,7 +8583,17 @@ export interface ReleaseDetails {
|
|
|
8567
8583
|
*/
|
|
8568
8584
|
Version?: number;
|
|
8569
8585
|
/**
|
|
8570
|
-
*
|
|
8586
|
+
* 应用状态,参考 Helm 发布状态。
|
|
8587
|
+
可选值及其释义如下:
|
|
8588
|
+
• unknown: 状态未知
|
|
8589
|
+
• deployed: 已成功部署
|
|
8590
|
+
• uninstalled: 已卸载
|
|
8591
|
+
• superseded: 已被新版本替代
|
|
8592
|
+
• failed: 部署失败
|
|
8593
|
+
• uninstalling: 正在卸载中
|
|
8594
|
+
• pending-install: 等待安装/安装进行中
|
|
8595
|
+
• pending-upgrade: 等待升级/升级进行中
|
|
8596
|
+
• pending-rollback: 等待回滚/回滚进行中
|
|
8571
8597
|
*/
|
|
8572
8598
|
Status?: string;
|
|
8573
8599
|
/**
|
|
@@ -9717,12 +9743,15 @@ export interface GetUpgradeInstanceProgressResponse {
|
|
|
9717
9743
|
Done?: number;
|
|
9718
9744
|
/**
|
|
9719
9745
|
* 升级任务生命周期
|
|
9746
|
+
|
|
9747
|
+
pending 还未开始
|
|
9720
9748
|
process 运行中
|
|
9721
9749
|
paused 已停止
|
|
9722
9750
|
pauing 正在停止
|
|
9723
9751
|
done 已完成
|
|
9724
9752
|
timeout 已超时
|
|
9725
9753
|
aborted 已取消
|
|
9754
|
+
|
|
9726
9755
|
*/
|
|
9727
9756
|
LifeState?: string;
|
|
9728
9757
|
/**
|
|
@@ -10290,7 +10319,17 @@ export interface Release {
|
|
|
10290
10319
|
*/
|
|
10291
10320
|
Revision?: string;
|
|
10292
10321
|
/**
|
|
10293
|
-
*
|
|
10322
|
+
* 应用状态,参考 Helm 发布状态。
|
|
10323
|
+
可选值及其释义如下:
|
|
10324
|
+
• unknown: 状态未知
|
|
10325
|
+
• deployed: 已成功部署
|
|
10326
|
+
• uninstalled: 已卸载
|
|
10327
|
+
• superseded: 已被新版本替代
|
|
10328
|
+
• failed: 部署失败
|
|
10329
|
+
• uninstalling: 正在卸载中
|
|
10330
|
+
• pending-install: 等待安装/安装进行中
|
|
10331
|
+
• pending-upgrade: 等待升级/升级进行中
|
|
10332
|
+
• pending-rollback: 等待回滚/回滚进行中
|
|
10294
10333
|
*/
|
|
10295
10334
|
Status?: string;
|
|
10296
10335
|
/**
|
|
@@ -11193,7 +11232,7 @@ export interface UnavailableReason {
|
|
|
11193
11232
|
*/
|
|
11194
11233
|
export interface GetUpgradeInstanceProgressRequest {
|
|
11195
11234
|
/**
|
|
11196
|
-
* 集群ID
|
|
11235
|
+
* 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
|
|
11197
11236
|
*/
|
|
11198
11237
|
ClusterId: string;
|
|
11199
11238
|
/**
|
|
@@ -11931,7 +11970,17 @@ export interface ReleaseHistory {
|
|
|
11931
11970
|
*/
|
|
11932
11971
|
Revision?: number;
|
|
11933
11972
|
/**
|
|
11934
|
-
*
|
|
11973
|
+
* 应用状态,参考 Helm 发布状态。
|
|
11974
|
+
可选值及其释义如下:
|
|
11975
|
+
• unknown: 状态未知
|
|
11976
|
+
• deployed: 已成功部署
|
|
11977
|
+
• uninstalled: 已卸载
|
|
11978
|
+
• superseded: 已被新版本替代
|
|
11979
|
+
• failed: 部署失败
|
|
11980
|
+
• uninstalling: 正在卸载中
|
|
11981
|
+
• pending-install: 等待安装/安装进行中
|
|
11982
|
+
• pending-upgrade: 等待升级/升级进行中
|
|
11983
|
+
• pending-rollback: 等待回滚/回滚进行中
|
|
11935
11984
|
*/
|
|
11936
11985
|
Status?: string;
|
|
11937
11986
|
/**
|
|
@@ -13093,7 +13142,17 @@ export interface PendingRelease {
|
|
|
13093
13142
|
*/
|
|
13094
13143
|
Namespace?: string;
|
|
13095
13144
|
/**
|
|
13096
|
-
*
|
|
13145
|
+
* 应用状态,参考 Helm 发布状态。
|
|
13146
|
+
可选值及其释义如下:
|
|
13147
|
+
• unknown: 状态未知
|
|
13148
|
+
• deployed: 已成功部署
|
|
13149
|
+
• uninstalled: 已卸载
|
|
13150
|
+
• superseded: 已被新版本替代
|
|
13151
|
+
• failed: 部署失败
|
|
13152
|
+
• uninstalling: 正在卸载中
|
|
13153
|
+
• pending-install: 等待安装/安装进行中
|
|
13154
|
+
• pending-upgrade: 等待升级/升级进行中
|
|
13155
|
+
• pending-rollback: 等待回滚/回滚进行中
|
|
13097
13156
|
*/
|
|
13098
13157
|
Status?: string;
|
|
13099
13158
|
/**
|