tencentcloud-sdk-nodejs-tke 4.1.137 → 4.1.138

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tke",
3
- "version": "4.1.137",
3
+ "version": "4.1.138",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -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
  /**
@@ -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
- * 分页Offset
1593
+ * 偏移量,默认为0。关于 Offset 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
1593
1594
  */
1594
1595
  Offset?: number;
1595
1596
  /**
1596
- * 分页Limit
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
  }
@@ -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
- * 需要获取的节点实例Id列表。如果为空,表示拉取集群下所有节点实例。
2406
+ * 需要获取的节点实例 ID 列表。如果为空,表示拉取集群下所有节点实例。普通节点用 CVM ID(如 ins-1cghhuuu ),原生节点用节点池内机器 ID (如 np-1ade4uid-0a2dc )。
2401
2407
  */
2402
2408
  InstanceIds?: Array<string>;
2403
2409
  /**
2404
- * 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER。默认为WORKER类型。
2410
+ * 节点角色,默认为WORKER类型
2411
+
2412
+ - WOKRER 集群内常规计算节点
2413
+ - MASTER 独立集群控制面组件节点
2414
+ - ETCD 独立集群 etcd 存储节点
2415
+ - MASTER_ETCD 独立集群控制面、etcd 共同部署的 master 节点
2416
+
2405
2417
  */
2406
2418
  InstanceRole?: string;
2407
2419
  /**
@@ -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
  * 节点升级重装参数