@alicloud/cs20151215 7.0.3 → 7.0.5

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 (70) hide show
  1. package/dist/client.d.ts +38 -50
  2. package/dist/client.js +72 -79
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
  5. package/dist/models/CreateClusterNodePoolRequest.js +31 -1
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +174 -649
  8. package/dist/models/CreateClusterRequest.js +27 -1
  9. package/dist/models/CreateClusterRequest.js.map +1 -1
  10. package/dist/models/CreateClusterResponseBody.d.ts +3 -3
  11. package/dist/models/DescribeAddonRequest.d.ts +7 -18
  12. package/dist/models/DescribeAddonRequest.js.map +1 -1
  13. package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
  14. package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
  15. package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
  16. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  17. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +195 -232
  18. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
  19. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  20. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
  21. package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
  22. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  23. package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
  24. package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
  25. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  26. package/dist/models/MaintenanceWindow.d.ts +1 -1
  27. package/dist/models/ModifyClusterNodePoolRequest.d.ts +107 -250
  28. package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
  29. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  30. package/dist/models/ModifyClusterRequest.d.ts +151 -112
  31. package/dist/models/ModifyClusterRequest.js +29 -1
  32. package/dist/models/ModifyClusterRequest.js.map +1 -1
  33. package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
  34. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
  35. package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
  36. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  37. package/dist/models/Nodepool.d.ts +128 -209
  38. package/dist/models/Nodepool.js +29 -1
  39. package/dist/models/Nodepool.js.map +1 -1
  40. package/dist/models/Runtime.d.ts +2 -2
  41. package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
  42. package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
  43. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  44. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
  45. package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
  46. package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
  47. package/dist/models/model.d.ts +7 -0
  48. package/dist/models/model.js +80 -66
  49. package/dist/models/model.js.map +1 -1
  50. package/package.json +2 -2
  51. package/src/client.ts +73 -79
  52. package/src/models/CreateClusterNodePoolRequest.ts +204 -370
  53. package/src/models/CreateClusterRequest.ts +191 -649
  54. package/src/models/CreateClusterResponseBody.ts +3 -3
  55. package/src/models/DescribeAddonRequest.ts +7 -18
  56. package/src/models/DescribeAddonResponseBody.ts +12 -12
  57. package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
  58. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
  59. package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
  60. package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
  61. package/src/models/MaintenanceWindow.ts +1 -1
  62. package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
  63. package/src/models/ModifyClusterRequest.ts +170 -112
  64. package/src/models/ModifyClusterResponseBody.ts +3 -3
  65. package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
  66. package/src/models/Nodepool.ts +147 -209
  67. package/src/models/Runtime.ts +2 -2
  68. package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
  69. package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
  70. package/src/models/model.ts +7 -0
package/dist/client.js CHANGED
@@ -80,44 +80,46 @@ class Client extends openapi_core_1.default {
80
80
  'cn-zhengzhou-nebula-1': "cs.aliyuncs.com",
81
81
  'eu-west-1-oxs': "cs.aliyuncs.com",
82
82
  'rus-west-1-pop': "cs.aliyuncs.com",
83
- 'us-west-1': "cs.us-west-1.aliyuncs.com",
84
- 'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
85
- 'us-east-1': "cs.us-east-1.aliyuncs.com",
86
- 'na-south-1': "cs.na-south-1.aliyuncs.com",
87
- 'me-east-1': "cs.me-east-1.aliyuncs.com",
88
- 'me-central-1': "cs.me-central-1.aliyuncs.com",
89
- 'eu-west-1': "cs.eu-west-1.aliyuncs.com",
90
- 'eu-central-1': "cs.eu-central-1.aliyuncs.com",
83
+ 'cn-beijing': "cs.cn-beijing.aliyuncs.com",
91
84
  'cn-zhengzhou-jva': "cs.cn-zhengzhou-jva.aliyuncs.com",
85
+ 'cn-heyuan': "cs.cn-heyuan.aliyuncs.com",
92
86
  'cn-zhangjiakou': "cs.cn-zhangjiakou.aliyuncs.com",
93
- 'cn-wulanchabu-gic-1': "cs.cn-wulanchabu-gic-1.aliyuncs.com",
87
+ 'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
88
+ 'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
89
+ 'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
90
+ 'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
91
+ 'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
92
+ 'ap-southeast-7': "cs.ap-southeast-7.aliyuncs.com",
94
93
  'cn-wulanchabu': "cs.cn-wulanchabu.aliyuncs.com",
94
+ 'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
95
95
  'cn-wuhan-lr': "cs.cn-wuhan-lr.aliyuncs.com",
96
- 'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
97
- 'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
98
- 'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
99
96
  'cn-shanghai': "cs.cn-shanghai.aliyuncs.com",
100
- 'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
101
- 'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
102
- 'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
103
97
  'cn-hongkong': "cs.cn-hongkong.aliyuncs.com",
104
- 'cn-heyuan-acdr-1': "cs.cn-heyuan-acdr-1.aliyuncs.com",
105
- 'cn-heyuan': "cs.cn-heyuan.aliyuncs.com",
106
- 'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
107
- 'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
108
- 'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
98
+ 'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
99
+ 'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
109
100
  'cn-fuzhou': "cs.cn-fuzhou.aliyuncs.com",
110
101
  'cn-chengdu': "cs.cn-chengdu.aliyuncs.com",
102
+ 'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
103
+ 'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
104
+ 'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
105
+ 'ap-southeast-8': "cs.ap-southeast-8.aliyuncs.com",
106
+ 'cn-zhongwei': "cs.cn-zhongwei.aliyuncs.com",
107
+ 'eu-west-2': "cs.eu-west-2.aliyuncs.com",
108
+ 'na-south-1': "cs.na-south-1.aliyuncs.com",
109
+ 'us-west-1': "cs.us-west-1.aliyuncs.com",
110
+ 'us-east-1': "cs.us-east-1.aliyuncs.com",
111
+ 'eu-central-1': "cs.eu-central-1.aliyuncs.com",
112
+ 'eu-west-1': "cs.eu-west-1.aliyuncs.com",
113
+ 'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
114
+ 'me-central-1': "cs.me-central-1.aliyuncs.com",
115
+ 'me-east-1': "cs.me-east-1.aliyuncs.com",
116
+ 'cn-north-2-gov-1': "cs.cn-north-2-gov-1.aliyuncs.com",
117
+ 'cn-heyuan-acdr-1': "cs.cn-heyuan-acdr-1.aliyuncs.com",
118
+ 'cn-wulanchabu-gic-1': "cs.cn-wulanchabu-gic-1.aliyuncs.com",
119
+ 'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
111
120
  'cn-beijing-finance-1': "cs.cn-beijing-finance-1.aliyuncs.com",
112
- 'cn-beijing': "cs.cn-beijing.aliyuncs.com",
113
- 'ap-southeast-7': "cs.ap-southeast-7.aliyuncs.com",
114
- 'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
115
- 'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
116
- 'ap-southeast-2': "cs.ap-southeast-2.aliyuncs.com",
117
- 'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
118
- 'ap-south-1': "cs.ap-south-1.aliyuncs.com",
119
- 'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
120
- 'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
121
+ 'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
122
+ 'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
121
123
  };
122
124
  this.checkConfig(config);
123
125
  this._endpoint = this.getEndpoint("cs", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -740,16 +742,10 @@ class Client extends openapi_core_1.default {
740
742
  return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
741
743
  }
742
744
  /**
743
- * You can create ACK clusters through OpenAPI, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you will configure the cluster information, cluster components, and ACK-related cloud resources.
745
+ * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
744
746
  *
745
747
  * @remarks
746
- * ### Generate OpenAPI request parameters through the console
747
- * When calling the CreateCluster API to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations through the console. Follow these steps:
748
- * 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
749
- * 1. On the **Clusters** page, click **Cluster Template**.
750
- * 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
751
- * 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box will display the parameter combinations required for creating the cluster, which you can copy and use.
752
- * >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For change details and alternative parameter descriptions, see [Announcement on OpenAPI parameter changes and API deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
748
+ * ### Generate OpenAPI request parameters by using the console.
753
749
  *
754
750
  * @param request - CreateClusterRequest
755
751
  * @param headers - map
@@ -1086,16 +1082,10 @@ class Client extends openapi_core_1.default {
1086
1082
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterResponse({}));
1087
1083
  }
1088
1084
  /**
1089
- * You can create ACK clusters through OpenAPI, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you will configure the cluster information, cluster components, and ACK-related cloud resources.
1085
+ * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
1090
1086
  *
1091
1087
  * @remarks
1092
- * ### Generate OpenAPI request parameters through the console
1093
- * When calling the CreateCluster API to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations through the console. Follow these steps:
1094
- * 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
1095
- * 1. On the **Clusters** page, click **Cluster Template**.
1096
- * 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
1097
- * 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box will display the parameter combinations required for creating the cluster, which you can copy and use.
1098
- * >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For change details and alternative parameter descriptions, see [Announcement on OpenAPI parameter changes and API deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
1088
+ * ### Generate OpenAPI request parameters by using the console.
1099
1089
  *
1100
1090
  * @param request - CreateClusterRequest
1101
1091
  * @returns CreateClusterResponse
@@ -1199,7 +1189,7 @@ class Client extends openapi_core_1.default {
1199
1189
  return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
1200
1190
  }
1201
1191
  /**
1202
- * Creates a node pool for a cluster. A node pool is a logical collection of nodes that share the same attributes, allowing unified management and operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs.
1192
+ * A node pool is a logical collection of nodes that share the same attributes, allowing unified management and O&M operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
1203
1193
  *
1204
1194
  * @param request - CreateClusterNodePoolRequest
1205
1195
  * @param headers - map
@@ -1275,7 +1265,7 @@ class Client extends openapi_core_1.default {
1275
1265
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
1276
1266
  }
1277
1267
  /**
1278
- * Creates a node pool for a cluster. A node pool is a logical collection of nodes that share the same attributes, allowing unified management and operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs.
1268
+ * A node pool is a logical collection of nodes that share the same attributes, allowing unified management and O&M operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
1279
1269
  *
1280
1270
  * @param request - CreateClusterNodePoolRequest
1281
1271
  * @returns CreateClusterNodePoolResponse
@@ -1994,7 +1984,7 @@ class Client extends openapi_core_1.default {
1994
1984
  return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
1995
1985
  }
1996
1986
  /**
1997
- * You can call the DescribeAddon operation to query information about a specified component based on parameters such as region, cluster type, cluster subtype (profile), cluster version, and component name. The returned information includes whether the component is managed, component category, supported custom parameter schema, compatible OS architectures, and the minimum cluster version required by the component version.
1987
+ * Invokes the DescribeAddon operation to perform a parameter query for information about a specified component based on parameters such as region, cluster type, cluster child class (profile), cluster version, and component name. The returned information includes whether the component is managed, the component categorization, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
1998
1988
  *
1999
1989
  * @param request - DescribeAddonRequest
2000
1990
  * @param headers - map
@@ -2043,7 +2033,7 @@ class Client extends openapi_core_1.default {
2043
2033
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAddonResponse({}));
2044
2034
  }
2045
2035
  /**
2046
- * You can call the DescribeAddon operation to query information about a specified component based on parameters such as region, cluster type, cluster subtype (profile), cluster version, and component name. The returned information includes whether the component is managed, component category, supported custom parameter schema, compatible OS architectures, and the minimum cluster version required by the component version.
2036
+ * Invokes the DescribeAddon operation to perform a parameter query for information about a specified component based on parameters such as region, cluster type, cluster child class (profile), cluster version, and component name. The returned information includes whether the component is managed, the component categorization, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
2047
2037
  *
2048
2038
  * @param request - DescribeAddonRequest
2049
2039
  * @returns DescribeAddonResponse
@@ -2428,7 +2418,7 @@ class Client extends openapi_core_1.default {
2428
2418
  return await this.describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime);
2429
2419
  }
2430
2420
  /**
2431
- * You can call the DescribeClusterDetail API to query the detailed information of a specified cluster by cluster ID.
2421
+ * Queries the details of a specified cluster by cluster ID.
2432
2422
  *
2433
2423
  * @param headers - map
2434
2424
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2452,7 +2442,7 @@ class Client extends openapi_core_1.default {
2452
2442
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterDetailResponse({}));
2453
2443
  }
2454
2444
  /**
2455
- * You can call the DescribeClusterDetail API to query the detailed information of a specified cluster by cluster ID.
2445
+ * Queries the details of a specified cluster by cluster ID.
2456
2446
  * @returns DescribeClusterDetailResponse
2457
2447
  */
2458
2448
  async describeClusterDetail(ClusterId) {
@@ -2581,15 +2571,15 @@ class Client extends openapi_core_1.default {
2581
2571
  return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
2582
2572
  }
2583
2573
  /**
2584
- * Queries all node pools in a cluster.
2574
+ * Queries the list of all node pools in a cluster.
2585
2575
  *
2586
2576
  * @remarks
2587
2577
  * - When removing nodes, perform standardized operations through this API or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by using `kubectl delete node`.
2588
- * - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expiration in the ECS or ESS console (or through related APIs). In these cases, nodes are directly stopped and automatically removed from the Container Service console.
2589
- * - If the node pool has a desired node count configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
2578
+ * - Do not directly release nodes, remove instances in the ECS or ESS console (or through related APIs), or allow nodes to be passively released due to subscription instance expires. In these cases, nodes are directly stopped and automatically removed from the Container Service console.
2579
+ * - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
2590
2580
  * - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up relevant data in advance.
2591
- * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application Pods that cannot be scheduled.
2592
- * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not left unschedulable after node removal.
2581
+ * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pods being unable to be scheduling.
2582
+ * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not unschedulable on other nodes after the node is removed.
2593
2583
  *
2594
2584
  * @param request - DescribeClusterNodePoolsRequest
2595
2585
  * @param headers - map
@@ -2620,15 +2610,15 @@ class Client extends openapi_core_1.default {
2620
2610
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodePoolsResponse({}));
2621
2611
  }
2622
2612
  /**
2623
- * Queries all node pools in a cluster.
2613
+ * Queries the list of all node pools in a cluster.
2624
2614
  *
2625
2615
  * @remarks
2626
2616
  * - When removing nodes, perform standardized operations through this API or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by using `kubectl delete node`.
2627
- * - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expiration in the ECS or ESS console (or through related APIs). In these cases, nodes are directly stopped and automatically removed from the Container Service console.
2628
- * - If the node pool has a desired node count configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
2617
+ * - Do not directly release nodes, remove instances in the ECS or ESS console (or through related APIs), or allow nodes to be passively released due to subscription instance expires. In these cases, nodes are directly stopped and automatically removed from the Container Service console.
2618
+ * - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
2629
2619
  * - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up relevant data in advance.
2630
- * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application Pods that cannot be scheduled.
2631
- * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not left unschedulable after node removal.
2620
+ * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pods being unable to be scheduling.
2621
+ * - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not unschedulable on other nodes after the node is removed.
2632
2622
  *
2633
2623
  * @param request - DescribeClusterNodePoolsRequest
2634
2624
  * @returns DescribeClusterNodePoolsResponse
@@ -4493,7 +4483,7 @@ class Client extends openapi_core_1.default {
4493
4483
  return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
4494
4484
  }
4495
4485
  /**
4496
- * Installs components on nodes. You can configure and specify nodes on which to install components.
4486
+ * Installs node components. You can configure and specify nodes on which to install components.
4497
4487
  *
4498
4488
  * @param request - InstallNodePoolComponentsRequest
4499
4489
  * @param headers - map
@@ -4530,7 +4520,7 @@ class Client extends openapi_core_1.default {
4530
4520
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallNodePoolComponentsResponse({}));
4531
4521
  }
4532
4522
  /**
4533
- * Installs components on nodes. You can configure and specify nodes on which to install components.
4523
+ * Installs node components. You can configure and specify nodes on which to install components.
4534
4524
  *
4535
4525
  * @param request - InstallNodePoolComponentsRequest
4536
4526
  * @returns InstallNodePoolComponentsResponse
@@ -5157,10 +5147,10 @@ class Client extends openapi_core_1.default {
5157
5147
  return await this.modifyAutoRepairPolicyWithOptions(clusterId, policyId, request, headers, runtime);
5158
5148
  }
5159
5149
  /**
5160
- * You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
5150
+ * Modifies the configuration of an ACK cluster.
5161
5151
  *
5162
5152
  * @remarks
5163
- * <notice>Starting from July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For details about the changes, see [Announcement on Changes to ACK Cluster Management OpenAPI Parameters and OpenAPI Deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
5153
+ * <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5164
5154
  *
5165
5155
  * @param request - ModifyClusterRequest
5166
5156
  * @param headers - map
@@ -5182,6 +5172,9 @@ class Client extends openapi_core_1.default {
5182
5172
  if (!$dara.isNull(request.apiServerEipId)) {
5183
5173
  body["api_server_eip_id"] = request.apiServerEipId;
5184
5174
  }
5175
+ if (!$dara.isNull(request.clientToken)) {
5176
+ body["client_token"] = request.clientToken;
5177
+ }
5185
5178
  if (!$dara.isNull(request.clusterName)) {
5186
5179
  body["cluster_name"] = request.clusterName;
5187
5180
  }
@@ -5248,10 +5241,10 @@ class Client extends openapi_core_1.default {
5248
5241
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterResponse({}));
5249
5242
  }
5250
5243
  /**
5251
- * You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
5244
+ * Modifies the configuration of an ACK cluster.
5252
5245
  *
5253
5246
  * @remarks
5254
- * <notice>Starting from July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For details about the changes, see [Announcement on Changes to ACK Cluster Management OpenAPI Parameters and OpenAPI Deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
5247
+ * <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5255
5248
  *
5256
5249
  * @param request - ModifyClusterRequest
5257
5250
  * @returns ModifyClusterResponse
@@ -5316,10 +5309,10 @@ class Client extends openapi_core_1.default {
5316
5309
  return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
5317
5310
  }
5318
5311
  /**
5319
- * Modifies the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5312
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5320
5313
  *
5321
5314
  * @remarks
5322
- * <notice>Starting from July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Notice on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5315
+ * <notice>Starting July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of OpenAPI operations related to ACK cluster management and the deprecation of specific OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
5323
5316
  *
5324
5317
  * @param request - ModifyClusterNodePoolRequest
5325
5318
  * @param headers - map
@@ -5374,10 +5367,10 @@ class Client extends openapi_core_1.default {
5374
5367
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterNodePoolResponse({}));
5375
5368
  }
5376
5369
  /**
5377
- * Modifies the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5370
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5378
5371
  *
5379
5372
  * @remarks
5380
- * <notice>Starting from July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Notice on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5373
+ * <notice>Starting July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of OpenAPI operations related to ACK cluster management and the deprecation of specific OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
5381
5374
  *
5382
5375
  * @param request - ModifyClusterNodePoolRequest
5383
5376
  * @returns ModifyClusterNodePoolResponse
@@ -5435,7 +5428,7 @@ class Client extends openapi_core_1.default {
5435
5428
  * Modifies the node configurations in a cluster node pool, such as kubelet configurations and rolling update configurations. Modifying node configurations applies changes in batches and restarts kubelet, which may affect node operations and workload execution. Perform this operation during off-peak hours.
5436
5429
  *
5437
5430
  * @remarks
5438
- * > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the new configurations automatically take effect on existing nodes in the node pool. New nodes added to the node pool also use the new configurations.
5431
+ * > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification is complete, the configurations automatically take effect on existing nodes in the node pool, and new nodes added to the node pool also use the new configurations.
5439
5432
  *
5440
5433
  * @param request - ModifyNodePoolNodeConfigRequest
5441
5434
  * @param headers - map
@@ -5481,7 +5474,7 @@ class Client extends openapi_core_1.default {
5481
5474
  * Modifies the node configurations in a cluster node pool, such as kubelet configurations and rolling update configurations. Modifying node configurations applies changes in batches and restarts kubelet, which may affect node operations and workload execution. Perform this operation during off-peak hours.
5482
5475
  *
5483
5476
  * @remarks
5484
- * > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the new configurations automatically take effect on existing nodes in the node pool. New nodes added to the node pool also use the new configurations.
5477
+ * > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification is complete, the configurations automatically take effect on existing nodes in the node pool, and new nodes added to the node pool also use the new configurations.
5485
5478
  *
5486
5479
  * @param request - ModifyNodePoolNodeConfigRequest
5487
5480
  * @returns ModifyNodePoolNodeConfigResponse
@@ -7253,14 +7246,14 @@ class Client extends openapi_core_1.default {
7253
7246
  return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
7254
7247
  }
7255
7248
  /**
7256
- * Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7249
+ * Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7257
7250
  *
7258
7251
  * @remarks
7259
- * Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
7252
+ * Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully call the UpgradeClusterNodepool operation, the API returns a `task_id` for the upgrade task. You can manage the task by calling the following task-related API operations:
7260
7253
  * - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
7261
7254
  * - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
7262
7255
  * - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
7263
- * - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
7256
+ * - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
7264
7257
  *
7265
7258
  * @param request - UpgradeClusterNodepoolRequest
7266
7259
  * @param headers - map
@@ -7312,14 +7305,14 @@ class Client extends openapi_core_1.default {
7312
7305
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterNodepoolResponse({}));
7313
7306
  }
7314
7307
  /**
7315
- * Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7308
+ * Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7316
7309
  *
7317
7310
  * @remarks
7318
- * Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
7311
+ * Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully call the UpgradeClusterNodepool operation, the API returns a `task_id` for the upgrade task. You can manage the task by calling the following task-related API operations:
7319
7312
  * - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
7320
7313
  * - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
7321
7314
  * - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
7322
- * - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
7315
+ * - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
7323
7316
  *
7324
7317
  * @param request - UpgradeClusterNodepoolRequest
7325
7318
  * @returns UpgradeClusterNodepoolResponse