@alicloud/cs20151215 7.2.5 → 7.3.0

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 (78) hide show
  1. package/dist/client.d.ts +110 -72
  2. package/dist/client.js +259 -72
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -13
  5. package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
  6. package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -1
  7. package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
  8. package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
  9. package/dist/models/CreateClusterRequest.d.ts +305 -392
  10. package/dist/models/CreateClusterRequest.js.map +1 -1
  11. package/dist/models/DeleteClusterNodesRequest.d.ts +15 -7
  12. package/dist/models/DeleteClusterNodesRequest.js +2 -0
  13. package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
  14. package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
  15. package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
  16. package/dist/models/DescribeClusterDetailResponseBody.d.ts +80 -77
  17. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  18. package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
  19. package/dist/models/DescribeClustersForRegionResponseBody.d.ts +18 -12
  20. package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
  21. package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +22 -15
  22. package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
  23. package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +23 -17
  24. package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
  25. package/dist/models/InvokeAgentRequest.d.ts +296 -0
  26. package/dist/models/InvokeAgentRequest.js +279 -0
  27. package/dist/models/InvokeAgentRequest.js.map +1 -0
  28. package/dist/models/InvokeAgentResponse.d.ts +21 -0
  29. package/dist/models/InvokeAgentResponse.js +73 -0
  30. package/dist/models/InvokeAgentResponse.js.map +1 -0
  31. package/dist/models/InvokeAgentResponseBody.d.ts +178 -0
  32. package/dist/models/InvokeAgentResponseBody.js +152 -0
  33. package/dist/models/InvokeAgentResponseBody.js.map +1 -0
  34. package/dist/models/ListUserKubeConfigStatesRequest.d.ts +3 -3
  35. package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
  36. package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
  37. package/dist/models/ModifyClusterRequest.d.ts +106 -99
  38. package/dist/models/ModifyClusterRequest.js.map +1 -1
  39. package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
  40. package/dist/models/RemoveNodePoolNodesRequest.d.ts +18 -11
  41. package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
  42. package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
  43. package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +18 -11
  44. package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
  45. package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
  46. package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
  47. package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
  48. package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
  49. package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
  50. package/dist/models/model.d.ts +12 -0
  51. package/dist/models/model.js +34 -10
  52. package/dist/models/model.js.map +1 -1
  53. package/package.json +2 -1
  54. package/src/client.ts +249 -72
  55. package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
  56. package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
  57. package/src/models/CleanUserPermissionsRequest.ts +2 -2
  58. package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
  59. package/src/models/CreateClusterRequest.ts +305 -392
  60. package/src/models/DeleteClusterNodesRequest.ts +17 -7
  61. package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
  62. package/src/models/DescribeClusterDetailResponseBody.ts +80 -77
  63. package/src/models/DescribeClustersForRegionRequest.ts +14 -14
  64. package/src/models/DescribeClustersForRegionResponseBody.ts +18 -12
  65. package/src/models/DescribeKubernetesVersionMetadataRequest.ts +22 -15
  66. package/src/models/DescribeKubernetesVersionMetadataResponse.ts +23 -17
  67. package/src/models/InvokeAgentRequest.ts +461 -0
  68. package/src/models/InvokeAgentResponse.ts +46 -0
  69. package/src/models/InvokeAgentResponseBody.ts +263 -0
  70. package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
  71. package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
  72. package/src/models/ModifyClusterRequest.ts +106 -99
  73. package/src/models/ModifyClusterResponseBody.ts +2 -2
  74. package/src/models/RemoveNodePoolNodesRequest.ts +20 -11
  75. package/src/models/RemoveNodePoolNodesShrinkRequest.ts +20 -11
  76. package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
  77. package/src/models/UpdateUserPermissionsRequest.ts +22 -22
  78. package/src/models/model.ts +12 -0
package/dist/client.d.ts CHANGED
@@ -33,7 +33,7 @@ export default class Client extends OpenApi {
33
33
  */
34
34
  attachInstances(ClusterId: string, request: $_model.AttachInstancesRequest): Promise<$_model.AttachInstancesResponse>;
35
35
  /**
36
- * Adds existing ECS instances to a node pool as worker nodes in an ACK cluster, or re-adds removed worker nodes to a node pool.
36
+ * Adds existing ECS instances to an ACK cluster as worker nodes, or re-adds removed node instances to a node pool. You can invoke AttachInstancesToNodePool to add existing nodes to a node pool.
37
37
  *
38
38
  * @param request - AttachInstancesToNodePoolRequest
39
39
  * @param headers - map
@@ -44,7 +44,7 @@ export default class Client extends OpenApi {
44
44
  [key: string]: string;
45
45
  }, runtime: $dara.RuntimeOptions): Promise<$_model.AttachInstancesToNodePoolResponse>;
46
46
  /**
47
- * Adds existing ECS instances to a node pool as worker nodes in an ACK cluster, or re-adds removed worker nodes to a node pool.
47
+ * Adds existing ECS instances to an ACK cluster as worker nodes, or re-adds removed node instances to a node pool. You can invoke AttachInstancesToNodePool to add existing nodes to a node pool.
48
48
  *
49
49
  * @param request - AttachInstancesToNodePoolRequest
50
50
  * @returns AttachInstancesToNodePoolResponse
@@ -152,12 +152,12 @@ export default class Client extends OpenApi {
152
152
  */
153
153
  checkServiceRole(request: $_model.CheckServiceRoleRequest): Promise<$_model.CheckServiceRoleResponse>;
154
154
  /**
155
- * Clears the issued KubeConfig credentials and Role-Based Access Control (RBAC) permissions of a specified user in a specified cluster. You can call this operation to clean up and revoke authorization for KubeConfig files that pose security risks.
155
+ * Clears the issued KubeConfig credentials and revokes the RBAC authorization of a specified user in a specified cluster. You can invoke CleanClusterUserPermissions to clean up and revoke authorization for KubeConfigs that pose a security risk.
156
156
  *
157
157
  * @remarks
158
- * > 1. You must have the permissions to manage Container Service for Kubernetes (CS). The required policy is AliyunCSFullAccess.
159
- * > 2. You cannot clear the permissions of an Alibaba Cloud account.
160
- * > 3. You cannot clear the permissions of the user who performs this operation.
158
+ * > 1. You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
159
+ * > 2. This operation does not support clearing the permissions of an Alibaba Cloud account.
160
+ * > 3. This operation does not support clearing the permissions of the current user.
161
161
  *
162
162
  * @param request - CleanClusterUserPermissionsRequest
163
163
  * @param headers - map
@@ -168,24 +168,24 @@ export default class Client extends OpenApi {
168
168
  [key: string]: string;
169
169
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CleanClusterUserPermissionsResponse>;
170
170
  /**
171
- * Clears the issued KubeConfig credentials and Role-Based Access Control (RBAC) permissions of a specified user in a specified cluster. You can call this operation to clean up and revoke authorization for KubeConfig files that pose security risks.
171
+ * Clears the issued KubeConfig credentials and revokes the RBAC authorization of a specified user in a specified cluster. You can invoke CleanClusterUserPermissions to clean up and revoke authorization for KubeConfigs that pose a security risk.
172
172
  *
173
173
  * @remarks
174
- * > 1. You must have the permissions to manage Container Service for Kubernetes (CS). The required policy is AliyunCSFullAccess.
175
- * > 2. You cannot clear the permissions of an Alibaba Cloud account.
176
- * > 3. You cannot clear the permissions of the user who performs this operation.
174
+ * > 1. You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
175
+ * > 2. This operation does not support clearing the permissions of an Alibaba Cloud account.
176
+ * > 3. This operation does not support clearing the permissions of the current user.
177
177
  *
178
178
  * @param request - CleanClusterUserPermissionsRequest
179
179
  * @returns CleanClusterUserPermissionsResponse
180
180
  */
181
181
  cleanClusterUserPermissions(ClusterId: string, Uid: string, request: $_model.CleanClusterUserPermissionsRequest): Promise<$_model.CleanClusterUserPermissionsResponse>;
182
182
  /**
183
- * Cleans up and revokes the KubeConfig credentials and RBAC permissions issued to a specified user, such as resigned employees or users with frozen accounts.
183
+ * Clears the issued KubeConfig credentials and RBAC permissions of a specified user to revoke authorizations for risky users, such as resigned employees or users with frozen accounts.
184
184
  *
185
185
  * @remarks
186
- * >- Requires the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
187
- * >- Clearing the permissions of Alibaba Cloud accounts is not supported.
188
- * >- Clearing the permissions of the calling user is not supported.
186
+ * >- You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
187
+ * >- You cannot clear the permissions of an Alibaba Cloud account.
188
+ * >- You cannot clear your own permissions.
189
189
  *
190
190
  * @param tmpReq - CleanUserPermissionsRequest
191
191
  * @param headers - map
@@ -196,12 +196,12 @@ export default class Client extends OpenApi {
196
196
  [key: string]: string;
197
197
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CleanUserPermissionsResponse>;
198
198
  /**
199
- * Cleans up and revokes the KubeConfig credentials and RBAC permissions issued to a specified user, such as resigned employees or users with frozen accounts.
199
+ * Clears the issued KubeConfig credentials and RBAC permissions of a specified user to revoke authorizations for risky users, such as resigned employees or users with frozen accounts.
200
200
  *
201
201
  * @remarks
202
- * >- Requires the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
203
- * >- Clearing the permissions of Alibaba Cloud accounts is not supported.
204
- * >- Clearing the permissions of the calling user is not supported.
202
+ * >- You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
203
+ * >- You cannot clear the permissions of an Alibaba Cloud account.
204
+ * >- You cannot clear your own permissions.
205
205
  *
206
206
  * @param request - CleanUserPermissionsRequest
207
207
  * @returns CleanUserPermissionsResponse
@@ -250,16 +250,16 @@ export default class Client extends OpenApi {
250
250
  */
251
251
  createAutoscalingConfig(ClusterId: string, request: $_model.CreateAutoscalingConfigRequest): Promise<$_model.CreateAutoscalingConfigResponse>;
252
252
  /**
253
- * 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.
253
+ * 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.
254
254
  *
255
255
  * @remarks
256
256
  * ### Generate OpenAPI request parameters by using the console
257
- * When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect combinations of request parameters, you can use the console to generate the required request parameter combinations. Perform the following steps:
258
- * 1. Log on to the [Container Service for Kubernetes (ACK) console](https://csnew.console.aliyun.com) and choose **Clusters** in the left-side navigation pane.
259
- * 1. On the **Clusters** page, click **Cluster Template**.
260
- * 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.
261
- * 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 for creating the cluster. You can copy and use them.
262
- * >Notice: Starting from July 04, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameter descriptions, see [Notice on changes to OpenAPI request and response parameters for ACK cluster management and OpenAPI offline](https://help.aliyun.com/document_detail/2932733.html).</notice>
257
+ * When you call the CreateCluster API operation to create a cluster, if the API call fails due to an incorrect combination of request parameters, you can generate the required combination of request parameters for cluster creation by using the console. Proceed as follows:
258
+ * 1. Log on to the [Container Service console](https://csnew.console.aliyun.com). In the left-side navigation pane, click **Clusters**.
259
+ * 1. On the **Clusters** page, click **Cluster Templates**.
260
+ * 1. In the dialog box, select the type of cluster that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
261
+ * 1. After the configuration is complete, on the **Confirm** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the combination of parameters required for cluster creation. You can copy and use the parameters.
262
+ * >Notice: Starting July 4, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameters, see [Announcement on changes to input and output parameters of ACK cluster management-related OpenAPIs and OpenAPI deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
263
263
  *
264
264
  * @param request - CreateClusterRequest
265
265
  * @param headers - map
@@ -270,16 +270,16 @@ export default class Client extends OpenApi {
270
270
  [key: string]: string;
271
271
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterResponse>;
272
272
  /**
273
- * 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.
273
+ * 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.
274
274
  *
275
275
  * @remarks
276
276
  * ### Generate OpenAPI request parameters by using the console
277
- * When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect combinations of request parameters, you can use the console to generate the required request parameter combinations. Perform the following steps:
278
- * 1. Log on to the [Container Service for Kubernetes (ACK) console](https://csnew.console.aliyun.com) and choose **Clusters** in the left-side navigation pane.
279
- * 1. On the **Clusters** page, click **Cluster Template**.
280
- * 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.
281
- * 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 for creating the cluster. You can copy and use them.
282
- * >Notice: Starting from July 04, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameter descriptions, see [Notice on changes to OpenAPI request and response parameters for ACK cluster management and OpenAPI offline](https://help.aliyun.com/document_detail/2932733.html).</notice>
277
+ * When you call the CreateCluster API operation to create a cluster, if the API call fails due to an incorrect combination of request parameters, you can generate the required combination of request parameters for cluster creation by using the console. Proceed as follows:
278
+ * 1. Log on to the [Container Service console](https://csnew.console.aliyun.com). In the left-side navigation pane, click **Clusters**.
279
+ * 1. On the **Clusters** page, click **Cluster Templates**.
280
+ * 1. In the dialog box, select the type of cluster that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
281
+ * 1. After the configuration is complete, on the **Confirm** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the combination of parameters required for cluster creation. You can copy and use the parameters.
282
+ * >Notice: Starting July 4, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameters, see [Announcement on changes to input and output parameters of ACK cluster management-related OpenAPIs and OpenAPI deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
283
283
  *
284
284
  * @param request - CreateClusterRequest
285
285
  * @returns CreateClusterResponse
@@ -546,14 +546,14 @@ export default class Client extends OpenApi {
546
546
  */
547
547
  deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: $_model.DeleteClusterNodepoolRequest): Promise<$_model.DeleteClusterNodepoolResponse>;
548
548
  /**
549
- * Removes nodes from a cluster. When you remove nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
549
+ * Removes nodes from a cluster. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
550
550
  *
551
551
  * @remarks
552
- * - When removing nodes, perform standard operations by calling this API operation or using the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
553
- * - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
554
- * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
555
- * - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
556
- * - When you remove nodes, ACK executes drain operations. Make sure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
552
+ * - When removing nodes, perform standard operations by using this API operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
553
+ * - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console (or by calling related API operations), or passively release nodes when a subscription instance expires. In these cases, the nodes are directly stopped and automatically removed from the Container Service console.
554
+ * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the configuration to maintain the expected number of nodes.
555
+ * - 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 your data in advance.
556
+ * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
557
557
  * - Check the node affinity rules and scheduling policies of the pods on the nodes to be removed to ensure that the pods can be scheduled to other nodes after the nodes are removed.
558
558
  *
559
559
  * @param request - DeleteClusterNodesRequest
@@ -565,14 +565,14 @@ export default class Client extends OpenApi {
565
565
  [key: string]: string;
566
566
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterNodesResponse>;
567
567
  /**
568
- * Removes nodes from a cluster. When you remove nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
568
+ * Removes nodes from a cluster. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
569
569
  *
570
570
  * @remarks
571
- * - When removing nodes, perform standard operations by calling this API operation or using the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
572
- * - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
573
- * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
574
- * - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
575
- * - When you remove nodes, ACK executes drain operations. Make sure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
571
+ * - When removing nodes, perform standard operations by using this API operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
572
+ * - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console (or by calling related API operations), or passively release nodes when a subscription instance expires. In these cases, the nodes are directly stopped and automatically removed from the Container Service console.
573
+ * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the configuration to maintain the expected number of nodes.
574
+ * - 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 your data in advance.
575
+ * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
576
576
  * - Check the node affinity rules and scheduling policies of the pods on the nodes to be removed to ensure that the pods can be scheduled to other nodes after the nodes are removed.
577
577
  *
578
578
  * @param request - DeleteClusterNodesRequest
@@ -845,7 +845,7 @@ export default class Client extends OpenApi {
845
845
  */
846
846
  describeClusterAddonsVersion(ClusterId: string): Promise<$_model.DescribeClusterAddonsVersionResponse>;
847
847
  /**
848
- * Retrieves the script used to add existing ECS instances to an ACK cluster as worker nodes, or to re-add removed worker nodes to a node pool. ACK supports manually adding existing nodes to a node pool. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
848
+ * Queries the script for adding existing nodes to a cluster node pool. Container Service for Kubernetes (ACK) supports manually adding existing nodes to a node pool if you need to add existing ECS instances to an ACK cluster as worker nodes or re-add node instances to a node pool after removing worker nodes. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
849
849
  *
850
850
  * @param request - DescribeClusterAttachScriptsRequest
851
851
  * @param headers - map
@@ -856,7 +856,7 @@ export default class Client extends OpenApi {
856
856
  [key: string]: string;
857
857
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAttachScriptsResponse>;
858
858
  /**
859
- * Retrieves the script used to add existing ECS instances to an ACK cluster as worker nodes, or to re-add removed worker nodes to a node pool. ACK supports manually adding existing nodes to a node pool. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
859
+ * Queries the script for adding existing nodes to a cluster node pool. Container Service for Kubernetes (ACK) supports manually adding existing nodes to a node pool if you need to add existing ECS instances to an ACK cluster as worker nodes or re-add node instances to a node pool after removing worker nodes. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
860
860
  *
861
861
  * @param request - DescribeClusterAttachScriptsRequest
862
862
  * @returns DescribeClusterAttachScriptsResponse
@@ -1099,7 +1099,7 @@ export default class Client extends OpenApi {
1099
1099
  */
1100
1100
  describeClusters(request: $_model.DescribeClustersRequest): Promise<$_model.DescribeClustersResponse>;
1101
1101
  /**
1102
- * Queries the list of all clusters in a specified region.
1102
+ * Queries all clusters in a specified region.
1103
1103
  *
1104
1104
  * @param request - DescribeClustersForRegionRequest
1105
1105
  * @param headers - map
@@ -1110,7 +1110,7 @@ export default class Client extends OpenApi {
1110
1110
  [key: string]: string;
1111
1111
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersForRegionResponse>;
1112
1112
  /**
1113
- * Queries the list of all clusters in a specified region.
1113
+ * Queries all clusters in a specified region.
1114
1114
  *
1115
1115
  * @param request - DescribeClustersForRegionRequest
1116
1116
  * @returns DescribeClustersForRegionResponse
@@ -1199,7 +1199,7 @@ export default class Client extends OpenApi {
1199
1199
  */
1200
1200
  describeExternalAgent(ClusterId: string, request: $_model.DescribeExternalAgentRequest): Promise<$_model.DescribeExternalAgentResponse>;
1201
1201
  /**
1202
- * Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and supported runtimes.
1202
+ * Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and runtimes.
1203
1203
  *
1204
1204
  * @param request - DescribeKubernetesVersionMetadataRequest
1205
1205
  * @param headers - map
@@ -1210,7 +1210,7 @@ export default class Client extends OpenApi {
1210
1210
  [key: string]: string;
1211
1211
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeKubernetesVersionMetadataResponse>;
1212
1212
  /**
1213
- * Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and supported runtimes.
1213
+ * Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and runtimes.
1214
1214
  *
1215
1215
  * @param request - DescribeKubernetesVersionMetadataRequest
1216
1216
  * @returns DescribeKubernetesVersionMetadataResponse
@@ -1739,6 +1739,44 @@ export default class Client extends OpenApi {
1739
1739
  * @returns InstallNodePoolComponentsResponse
1740
1740
  */
1741
1741
  installNodePoolComponents(clusterId: string, nodePoolId: string, request: $_model.InstallNodePoolComponentsRequest): Promise<$_model.InstallNodePoolComponentsResponse>;
1742
+ /**
1743
+ * 发起智能助手会话运行(AG-UI 协议)
1744
+ *
1745
+ * @remarks
1746
+ * 独立的原生 AG-UI 接口,成功建流后返回 text/event-stream。
1747
+ *
1748
+ * @param request - InvokeAgentRequest
1749
+ * @param headers - map
1750
+ * @param runtime - runtime options for this request RuntimeOptions
1751
+ * @returns InvokeAgentResponse
1752
+ */
1753
+ invokeAgentWithSSE(request: $_model.InvokeAgentRequest, headers: {
1754
+ [key: string]: string;
1755
+ }, runtime: $dara.RuntimeOptions): AsyncGenerator<$_model.InvokeAgentResponse, any, unknown>;
1756
+ /**
1757
+ * 发起智能助手会话运行(AG-UI 协议)
1758
+ *
1759
+ * @remarks
1760
+ * 独立的原生 AG-UI 接口,成功建流后返回 text/event-stream。
1761
+ *
1762
+ * @param request - InvokeAgentRequest
1763
+ * @param headers - map
1764
+ * @param runtime - runtime options for this request RuntimeOptions
1765
+ * @returns InvokeAgentResponse
1766
+ */
1767
+ invokeAgentWithOptions(request: $_model.InvokeAgentRequest, headers: {
1768
+ [key: string]: string;
1769
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.InvokeAgentResponse>;
1770
+ /**
1771
+ * 发起智能助手会话运行(AG-UI 协议)
1772
+ *
1773
+ * @remarks
1774
+ * 独立的原生 AG-UI 接口,成功建流后返回 text/event-stream。
1775
+ *
1776
+ * @param request - InvokeAgentRequest
1777
+ * @returns InvokeAgentResponse
1778
+ */
1779
+ invokeAgent(request: $_model.InvokeAgentRequest): Promise<$_model.InvokeAgentResponse>;
1742
1780
  /**
1743
1781
  * Queries a list of available components and retrieves detailed component information based on parameters such as the region, cluster type, cluster profile, and cluster version. The detailed information includes whether the component is managed, the schema of supported custom parameters, and compatible operating system architectures.
1744
1782
  *
@@ -1979,10 +2017,10 @@ export default class Client extends OpenApi {
1979
2017
  */
1980
2018
  listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse>;
1981
2019
  /**
1982
- * Queries the KubeConfig status list of all clusters for the current user.
2020
+ * Queries the KubeConfig status list for all clusters of the current user.
1983
2021
  *
1984
2022
  * @remarks
1985
- * > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
2023
+ * > To call this operation, you must have the AliyunCSFullAccess permission to manage Container Service for Kubernetes (CS).
1986
2024
  *
1987
2025
  * @param request - ListUserKubeConfigStatesRequest
1988
2026
  * @param headers - map
@@ -1993,10 +2031,10 @@ export default class Client extends OpenApi {
1993
2031
  [key: string]: string;
1994
2032
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserKubeConfigStatesResponse>;
1995
2033
  /**
1996
- * Queries the KubeConfig status list of all clusters for the current user.
2034
+ * Queries the KubeConfig status list for all clusters of the current user.
1997
2035
  *
1998
2036
  * @remarks
1999
- * > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
2037
+ * > To call this operation, you must have the AliyunCSFullAccess permission to manage Container Service for Kubernetes (CS).
2000
2038
  *
2001
2039
  * @param request - ListUserKubeConfigStatesRequest
2002
2040
  * @returns ListUserKubeConfigStatesResponse
@@ -2051,10 +2089,10 @@ export default class Client extends OpenApi {
2051
2089
  */
2052
2090
  modifyAutoRepairPolicy(clusterId: string, policyId: string, request: $_model.ModifyAutoRepairPolicyRequest): Promise<$_model.ModifyAutoRepairPolicyResponse>;
2053
2091
  /**
2054
- * Modifies the configuration of an ACK cluster.
2092
+ * Modifies the configurations of an ACK cluster.
2055
2093
  *
2056
2094
  * @remarks
2057
- * <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 [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>
2095
+ * <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 request and response parameters of ACK cluster management API operations and API operation deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
2058
2096
  *
2059
2097
  * @param request - ModifyClusterRequest
2060
2098
  * @param headers - map
@@ -2065,10 +2103,10 @@ export default class Client extends OpenApi {
2065
2103
  [key: string]: string;
2066
2104
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterResponse>;
2067
2105
  /**
2068
- * Modifies the configuration of an ACK cluster.
2106
+ * Modifies the configurations of an ACK cluster.
2069
2107
  *
2070
2108
  * @remarks
2071
- * <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 [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>
2109
+ * <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 request and response parameters of ACK cluster management API operations and API operation deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
2072
2110
  *
2073
2111
  * @param request - ModifyClusterRequest
2074
2112
  * @returns ModifyClusterResponse
@@ -2296,14 +2334,14 @@ export default class Client extends OpenApi {
2296
2334
  */
2297
2335
  removeClusterNodes(ClusterId: string, request: $_model.RemoveClusterNodesRequest): Promise<$_model.RemoveClusterNodesResponse>;
2298
2336
  /**
2299
- * Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes. Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours and back up your data in advance.
2337
+ * Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated Elastic Compute Service (ECS) instances and whether to automatically drain the nodes. Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours and back up your data in advance.
2300
2338
  *
2301
2339
  * @remarks
2302
- * - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours.
2340
+ * - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
2303
2341
  * - Unexpected risks may occur during the operation. Back up your data in advance.
2304
- * - During the operation, the system sets the nodes to the unschedulable state.
2342
+ * - During the operation, the system sets the current nodes to the unschedulable state.
2305
2343
  * - Only worker nodes are removed. Master nodes are not removed.
2306
- * - Even if you choose to release nodes (by setting `release_node` to `true`), subscription nodes are not released. To release subscription nodes, you must first [change their billing method to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then release them in the [ECS console](https://ecs.console.aliyun.com/).
2344
+ * - Even if you choose to release nodes (that is, set `release_node` to `true`), subscription nodes are not released. To release subscription nodes, you must remove them first and then release them in the [ECS console](https://ecs.console.aliyun.com/).
2307
2345
  *
2308
2346
  * @param tmpReq - RemoveNodePoolNodesRequest
2309
2347
  * @param headers - map
@@ -2314,14 +2352,14 @@ export default class Client extends OpenApi {
2314
2352
  [key: string]: string;
2315
2353
  }, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveNodePoolNodesResponse>;
2316
2354
  /**
2317
- * Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes. Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours and back up your data in advance.
2355
+ * Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated Elastic Compute Service (ECS) instances and whether to automatically drain the nodes. Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours and back up your data in advance.
2318
2356
  *
2319
2357
  * @remarks
2320
- * - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours.
2358
+ * - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
2321
2359
  * - Unexpected risks may occur during the operation. Back up your data in advance.
2322
- * - During the operation, the system sets the nodes to the unschedulable state.
2360
+ * - During the operation, the system sets the current nodes to the unschedulable state.
2323
2361
  * - Only worker nodes are removed. Master nodes are not removed.
2324
- * - Even if you choose to release nodes (by setting `release_node` to `true`), subscription nodes are not released. To release subscription nodes, you must first [change their billing method to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then release them in the [ECS console](https://ecs.console.aliyun.com/).
2362
+ * - Even if you choose to release nodes (that is, set `release_node` to `true`), subscription nodes are not released. To release subscription nodes, you must remove them first and then release them in the [ECS console](https://ecs.console.aliyun.com/).
2325
2363
  *
2326
2364
  * @param request - RemoveNodePoolNodesRequest
2327
2365
  * @returns RemoveNodePoolNodesResponse
@@ -2624,7 +2662,7 @@ export default class Client extends OpenApi {
2624
2662
  */
2625
2663
  untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse>;
2626
2664
  /**
2627
- * Enables or disables the audit log feature for a specified ACK cluster, or updates the audit log configurations to record requests to the Kubernetes API and the corresponding results for tracing cluster operation history and troubleshooting cluster faults.
2665
+ * Updates the audit log configuration of a specified ACK cluster. You can call this operation to enable or disable the audit log feature, or update the audit log configuration to record requests to the Kubernetes API and their results for tracing cluster operation history and troubleshooting cluster faults.
2628
2666
  *
2629
2667
  * @remarks
2630
2668
  * Before you call this operation, make sure that you fully understand the billing methods and pricing of <props="china">[Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls)<props="intl">[Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
@@ -2638,7 +2676,7 @@ export default class Client extends OpenApi {
2638
2676
  [key: string]: string;
2639
2677
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateClusterAuditLogConfigResponse>;
2640
2678
  /**
2641
- * Enables or disables the audit log feature for a specified ACK cluster, or updates the audit log configurations to record requests to the Kubernetes API and the corresponding results for tracing cluster operation history and troubleshooting cluster faults.
2679
+ * Updates the audit log configuration of a specified ACK cluster. You can call this operation to enable or disable the audit log feature, or update the audit log configuration to record requests to the Kubernetes API and their results for tracing cluster operation history and troubleshooting cluster faults.
2642
2680
  *
2643
2681
  * @remarks
2644
2682
  * Before you call this operation, make sure that you fully understand the billing methods and pricing of <props="china">[Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls)<props="intl">[Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
@@ -2834,10 +2872,10 @@ export default class Client extends OpenApi {
2834
2872
  */
2835
2873
  updateTemplate(TemplateId: string, request: $_model.UpdateTemplateRequest): Promise<$_model.UpdateTemplateResponse>;
2836
2874
  /**
2837
- * Updates the Role-Based Access Control (RBAC) access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users, RAM roles, and users other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or RAM role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
2875
+ * Updates the RBAC access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users and RAM roles other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
2838
2876
  *
2839
2877
  * @remarks
2840
- * You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using a full update or an incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
2878
+ * You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using full update or incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
2841
2879
  *
2842
2880
  * @param request - UpdateUserPermissionsRequest
2843
2881
  * @param headers - map
@@ -2848,10 +2886,10 @@ export default class Client extends OpenApi {
2848
2886
  [key: string]: string;
2849
2887
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateUserPermissionsResponse>;
2850
2888
  /**
2851
- * Updates the Role-Based Access Control (RBAC) access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users, RAM roles, and users other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or RAM role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
2889
+ * Updates the RBAC access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users and RAM roles other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
2852
2890
  *
2853
2891
  * @remarks
2854
- * You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using a full update or an incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
2892
+ * You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using full update or incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
2855
2893
  *
2856
2894
  * @param request - UpdateUserPermissionsRequest
2857
2895
  * @returns UpdateUserPermissionsResponse