@alicloud/cs20151215 7.0.3 → 7.0.4

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 (45) hide show
  1. package/dist/client.d.ts +30 -30
  2. package/dist/client.js +33 -30
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +139 -83
  5. package/dist/models/CreateClusterNodePoolRequest.js +29 -1
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +372 -345
  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/DescribeClusterDetailResponseBody.d.ts +147 -106
  12. package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
  13. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  14. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +163 -131
  15. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
  16. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  17. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +120 -92
  18. package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
  19. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  20. package/dist/models/ModifyClusterNodePoolRequest.d.ts +64 -49
  21. package/dist/models/ModifyClusterNodePoolRequest.js +4 -0
  22. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  23. package/dist/models/ModifyClusterRequest.d.ts +151 -112
  24. package/dist/models/ModifyClusterRequest.js +29 -1
  25. package/dist/models/ModifyClusterRequest.js.map +1 -1
  26. package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
  27. package/dist/models/Nodepool.d.ts +132 -88
  28. package/dist/models/Nodepool.js +29 -1
  29. package/dist/models/Nodepool.js.map +1 -1
  30. package/dist/models/model.d.ts +7 -0
  31. package/dist/models/model.js +80 -66
  32. package/dist/models/model.js.map +1 -1
  33. package/package.json +2 -2
  34. package/src/client.ts +34 -30
  35. package/src/models/CreateClusterNodePoolRequest.ts +158 -83
  36. package/src/models/CreateClusterRequest.ts +389 -345
  37. package/src/models/CreateClusterResponseBody.ts +3 -3
  38. package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
  39. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +182 -131
  40. package/src/models/DescribeClusterNodePoolsResponseBody.ts +139 -92
  41. package/src/models/ModifyClusterNodePoolRequest.ts +68 -49
  42. package/src/models/ModifyClusterRequest.ts +170 -112
  43. package/src/models/ModifyClusterResponseBody.ts +3 -3
  44. package/src/models/Nodepool.ts +151 -88
  45. package/src/models/model.ts +7 -0
package/src/client.ts CHANGED
@@ -774,16 +774,16 @@ export default class Client extends OpenApi {
774
774
  }
775
775
 
776
776
  /**
777
- * 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.
777
+ * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
778
778
  *
779
779
  * @remarks
780
- * ### Generate OpenAPI request parameters through the console
781
- * 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:
782
- * 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
783
- * 1. On the **Clusters** page, click **Cluster Template**.
784
- * 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
785
- * 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.
786
- * >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>
780
+ * ### Generate OpenAPI request parameters from the console
781
+ * When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations from the console. Perform the following steps:
782
+ * 1. Log on to the [Container Service console](https://csnew.console.aliyun.com) and choose **Cluster List** in the left-side navigation pane.
783
+ * 1. On the **Cluster List** page, click **Cluster Template**.
784
+ * 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
785
+ * 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required to create the cluster, which you can copy and use.
786
+ * >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For details about the changes and override parameter descriptions, see [Notice on changes to OpenAPI parameters and offline of OpenAPIs for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
787
787
  *
788
788
  * @param request - CreateClusterRequest
789
789
  * @param headers - map
@@ -1224,16 +1224,16 @@ export default class Client extends OpenApi {
1224
1224
  }
1225
1225
 
1226
1226
  /**
1227
- * 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.
1227
+ * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
1228
1228
  *
1229
1229
  * @remarks
1230
- * ### Generate OpenAPI request parameters through the console
1231
- * 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:
1232
- * 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
1233
- * 1. On the **Clusters** page, click **Cluster Template**.
1234
- * 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
1235
- * 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.
1236
- * >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>
1230
+ * ### Generate OpenAPI request parameters from the console
1231
+ * When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations from the console. Perform the following steps:
1232
+ * 1. Log on to the [Container Service console](https://csnew.console.aliyun.com) and choose **Cluster List** in the left-side navigation pane.
1233
+ * 1. On the **Cluster List** page, click **Cluster Template**.
1234
+ * 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
1235
+ * 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required to create the cluster, which you can copy and use.
1236
+ * >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For details about the changes and override parameter descriptions, see [Notice on changes to OpenAPI parameters and offline of OpenAPIs for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
1237
1237
  *
1238
1238
  * @param request - CreateClusterRequest
1239
1239
  * @returns CreateClusterResponse
@@ -1347,7 +1347,7 @@ export default class Client extends OpenApi {
1347
1347
  }
1348
1348
 
1349
1349
  /**
1350
- * 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.
1350
+ * 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 O&M operations such as node upgrades and elastic scaling. You can further leverage 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.
1351
1351
  *
1352
1352
  * @param request - CreateClusterNodePoolRequest
1353
1353
  * @param headers - map
@@ -1440,7 +1440,7 @@ export default class Client extends OpenApi {
1440
1440
  }
1441
1441
 
1442
1442
  /**
1443
- * 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.
1443
+ * 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 O&M operations such as node upgrades and elastic scaling. You can further leverage 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.
1444
1444
  *
1445
1445
  * @param request - CreateClusterNodePoolRequest
1446
1446
  * @returns CreateClusterNodePoolResponse
@@ -2696,7 +2696,7 @@ export default class Client extends OpenApi {
2696
2696
  }
2697
2697
 
2698
2698
  /**
2699
- * You can call the DescribeClusterDetail API to query the detailed information of a specified cluster by cluster ID.
2699
+ * Queries the details of a specified cluster by cluster ID.
2700
2700
  *
2701
2701
  * @param headers - map
2702
2702
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2721,7 +2721,7 @@ export default class Client extends OpenApi {
2721
2721
  }
2722
2722
 
2723
2723
  /**
2724
- * You can call the DescribeClusterDetail API to query the detailed information of a specified cluster by cluster ID.
2724
+ * Queries the details of a specified cluster by cluster ID.
2725
2725
  * @returns DescribeClusterDetailResponse
2726
2726
  */
2727
2727
  async describeClusterDetail(ClusterId: string): Promise<$_model.DescribeClusterDetailResponse> {
@@ -2862,14 +2862,14 @@ export default class Client extends OpenApi {
2862
2862
  }
2863
2863
 
2864
2864
  /**
2865
- * Queries all node pools in a cluster.
2865
+ * Queries the list of all node pools in a cluster.
2866
2866
  *
2867
2867
  * @remarks
2868
2868
  * - 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`.
2869
- * - 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.
2869
+ * - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expires 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.
2870
2870
  * - 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.
2871
2871
  * - 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.
2872
- * - 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.
2872
+ * - 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 scheduling.
2873
2873
  * - 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.
2874
2874
  *
2875
2875
  * @param request - DescribeClusterNodePoolsRequest
@@ -2903,14 +2903,14 @@ export default class Client extends OpenApi {
2903
2903
  }
2904
2904
 
2905
2905
  /**
2906
- * Queries all node pools in a cluster.
2906
+ * Queries the list of all node pools in a cluster.
2907
2907
  *
2908
2908
  * @remarks
2909
2909
  * - 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`.
2910
- * - 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.
2910
+ * - Do not directly release nodes, remove instances, or allow nodes to be passively released due to subscription instance expires 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.
2911
2911
  * - 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.
2912
2912
  * - 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.
2913
- * - 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.
2913
+ * - 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 scheduling.
2914
2914
  * - 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.
2915
2915
  *
2916
2916
  * @param request - DescribeClusterNodePoolsRequest
@@ -5675,10 +5675,10 @@ export default class Client extends OpenApi {
5675
5675
  }
5676
5676
 
5677
5677
  /**
5678
- * You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
5678
+ * Modifies the configuration of an ACK cluster.
5679
5679
  *
5680
5680
  * @remarks
5681
- * <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>
5681
+ * <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>
5682
5682
  *
5683
5683
  * @param request - ModifyClusterRequest
5684
5684
  * @param headers - map
@@ -5704,6 +5704,10 @@ export default class Client extends OpenApi {
5704
5704
  body["api_server_eip_id"] = request.apiServerEipId;
5705
5705
  }
5706
5706
 
5707
+ if (!$dara.isNull(request.clientToken)) {
5708
+ body["client_token"] = request.clientToken;
5709
+ }
5710
+
5707
5711
  if (!$dara.isNull(request.clusterName)) {
5708
5712
  body["cluster_name"] = request.clusterName;
5709
5713
  }
@@ -5787,10 +5791,10 @@ export default class Client extends OpenApi {
5787
5791
  }
5788
5792
 
5789
5793
  /**
5790
- * You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
5794
+ * Modifies the configuration of an ACK cluster.
5791
5795
  *
5792
5796
  * @remarks
5793
- * <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>
5797
+ * <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>
5794
5798
  *
5795
5799
  * @param request - ModifyClusterRequest
5796
5800
  * @returns ModifyClusterResponse