@alicloud/cs20151215 7.2.5 → 7.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +72 -72
- package/dist/client.js +82 -72
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -13
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateClusterRequest.d.ts +305 -392
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +15 -7
- package/dist/models/DeleteClusterNodesRequest.js +2 -0
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +80 -77
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +18 -12
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +22 -15
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +23 -17
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +3 -3
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +106 -99
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +18 -11
- package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +18 -11
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +84 -72
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateClusterRequest.ts +305 -392
- package/src/models/DeleteClusterNodesRequest.ts +17 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
- package/src/models/DescribeClusterDetailResponseBody.ts +80 -77
- package/src/models/DescribeClustersForRegionRequest.ts +14 -14
- package/src/models/DescribeClustersForRegionResponseBody.ts +18 -12
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +22 -15
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +23 -17
- package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
- package/src/models/ModifyClusterRequest.ts +106 -99
- package/src/models/ModifyClusterResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +20 -11
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +20 -11
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
- package/src/models/UpdateUserPermissionsRequest.ts +22 -22
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
|
|
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
|
|
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
|
|
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)
|
|
159
|
-
* > 2.
|
|
160
|
-
* > 3.
|
|
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
|
|
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)
|
|
175
|
-
* > 2.
|
|
176
|
-
* > 3.
|
|
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
|
-
*
|
|
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
|
-
* >-
|
|
187
|
-
* >-
|
|
188
|
-
* >-
|
|
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
|
-
*
|
|
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
|
-
* >-
|
|
203
|
-
* >-
|
|
204
|
-
* >-
|
|
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
|
|
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
|
|
258
|
-
* 1. Log on to the [Container Service
|
|
259
|
-
* 1. On the **Clusters** page, click **Cluster
|
|
260
|
-
* 1. In the dialog box, select the cluster
|
|
261
|
-
* 1. After the configuration is complete, on the **Confirm
|
|
262
|
-
* >Notice: Starting
|
|
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
|
|
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
|
|
278
|
-
* 1. Log on to the [Container Service
|
|
279
|
-
* 1. On the **Clusters** page, click **Cluster
|
|
280
|
-
* 1. In the dialog box, select the cluster
|
|
281
|
-
* 1. After the configuration is complete, on the **Confirm
|
|
282
|
-
* >Notice: Starting
|
|
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
|
|
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
|
|
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
|
|
554
|
-
* - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the
|
|
555
|
-
* - Removing nodes involves pod migration
|
|
556
|
-
* - When
|
|
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
|
|
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
|
|
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
|
|
573
|
-
* - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the
|
|
574
|
-
* - Removing nodes involves pod migration
|
|
575
|
-
* - When
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
@@ -1979,10 +1979,10 @@ export default class Client extends OpenApi {
|
|
|
1979
1979
|
*/
|
|
1980
1980
|
listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse>;
|
|
1981
1981
|
/**
|
|
1982
|
-
* Queries the KubeConfig status list
|
|
1982
|
+
* Queries the KubeConfig status list for all clusters of the current user.
|
|
1983
1983
|
*
|
|
1984
1984
|
* @remarks
|
|
1985
|
-
* > To call this operation, you must have the
|
|
1985
|
+
* > To call this operation, you must have the AliyunCSFullAccess permission to manage Container Service for Kubernetes (CS).
|
|
1986
1986
|
*
|
|
1987
1987
|
* @param request - ListUserKubeConfigStatesRequest
|
|
1988
1988
|
* @param headers - map
|
|
@@ -1993,10 +1993,10 @@ export default class Client extends OpenApi {
|
|
|
1993
1993
|
[key: string]: string;
|
|
1994
1994
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserKubeConfigStatesResponse>;
|
|
1995
1995
|
/**
|
|
1996
|
-
* Queries the KubeConfig status list
|
|
1996
|
+
* Queries the KubeConfig status list for all clusters of the current user.
|
|
1997
1997
|
*
|
|
1998
1998
|
* @remarks
|
|
1999
|
-
* > To call this operation, you must have the
|
|
1999
|
+
* > To call this operation, you must have the AliyunCSFullAccess permission to manage Container Service for Kubernetes (CS).
|
|
2000
2000
|
*
|
|
2001
2001
|
* @param request - ListUserKubeConfigStatesRequest
|
|
2002
2002
|
* @returns ListUserKubeConfigStatesResponse
|
|
@@ -2051,10 +2051,10 @@ export default class Client extends OpenApi {
|
|
|
2051
2051
|
*/
|
|
2052
2052
|
modifyAutoRepairPolicy(clusterId: string, policyId: string, request: $_model.ModifyAutoRepairPolicyRequest): Promise<$_model.ModifyAutoRepairPolicyResponse>;
|
|
2053
2053
|
/**
|
|
2054
|
-
* Modifies the
|
|
2054
|
+
* Modifies the configurations of an ACK cluster.
|
|
2055
2055
|
*
|
|
2056
2056
|
* @remarks
|
|
2057
|
-
* <notice>Starting
|
|
2057
|
+
* <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
2058
|
*
|
|
2059
2059
|
* @param request - ModifyClusterRequest
|
|
2060
2060
|
* @param headers - map
|
|
@@ -2065,10 +2065,10 @@ export default class Client extends OpenApi {
|
|
|
2065
2065
|
[key: string]: string;
|
|
2066
2066
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterResponse>;
|
|
2067
2067
|
/**
|
|
2068
|
-
* Modifies the
|
|
2068
|
+
* Modifies the configurations of an ACK cluster.
|
|
2069
2069
|
*
|
|
2070
2070
|
* @remarks
|
|
2071
|
-
* <notice>Starting
|
|
2071
|
+
* <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
2072
|
*
|
|
2073
2073
|
* @param request - ModifyClusterRequest
|
|
2074
2074
|
* @returns ModifyClusterResponse
|
|
@@ -2296,14 +2296,14 @@ export default class Client extends OpenApi {
|
|
|
2296
2296
|
*/
|
|
2297
2297
|
removeClusterNodes(ClusterId: string, request: $_model.RemoveClusterNodesRequest): Promise<$_model.RemoveClusterNodesResponse>;
|
|
2298
2298
|
/**
|
|
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
|
|
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 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
2300
|
*
|
|
2301
2301
|
* @remarks
|
|
2302
|
-
* - Removing nodes involves pod migration
|
|
2302
|
+
* - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
|
|
2303
2303
|
* - 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.
|
|
2304
|
+
* - During the operation, the system sets the current nodes to the unschedulable state.
|
|
2305
2305
|
* - Only worker nodes are removed. Master nodes are not removed.
|
|
2306
|
-
* - Even if you choose to release nodes (
|
|
2306
|
+
* - 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
2307
|
*
|
|
2308
2308
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
2309
2309
|
* @param headers - map
|
|
@@ -2314,14 +2314,14 @@ export default class Client extends OpenApi {
|
|
|
2314
2314
|
[key: string]: string;
|
|
2315
2315
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveNodePoolNodesResponse>;
|
|
2316
2316
|
/**
|
|
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
|
|
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 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
2318
|
*
|
|
2319
2319
|
* @remarks
|
|
2320
|
-
* - Removing nodes involves pod migration
|
|
2320
|
+
* - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
|
|
2321
2321
|
* - 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.
|
|
2322
|
+
* - During the operation, the system sets the current nodes to the unschedulable state.
|
|
2323
2323
|
* - Only worker nodes are removed. Master nodes are not removed.
|
|
2324
|
-
* - Even if you choose to release nodes (
|
|
2324
|
+
* - 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
2325
|
*
|
|
2326
2326
|
* @param request - RemoveNodePoolNodesRequest
|
|
2327
2327
|
* @returns RemoveNodePoolNodesResponse
|
|
@@ -2624,7 +2624,7 @@ export default class Client extends OpenApi {
|
|
|
2624
2624
|
*/
|
|
2625
2625
|
untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse>;
|
|
2626
2626
|
/**
|
|
2627
|
-
*
|
|
2627
|
+
* 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
2628
|
*
|
|
2629
2629
|
* @remarks
|
|
2630
2630
|
* 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 +2638,7 @@ export default class Client extends OpenApi {
|
|
|
2638
2638
|
[key: string]: string;
|
|
2639
2639
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateClusterAuditLogConfigResponse>;
|
|
2640
2640
|
/**
|
|
2641
|
-
*
|
|
2641
|
+
* 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
2642
|
*
|
|
2643
2643
|
* @remarks
|
|
2644
2644
|
* 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 +2834,10 @@ export default class Client extends OpenApi {
|
|
|
2834
2834
|
*/
|
|
2835
2835
|
updateTemplate(TemplateId: string, request: $_model.UpdateTemplateRequest): Promise<$_model.UpdateTemplateResponse>;
|
|
2836
2836
|
/**
|
|
2837
|
-
* Updates the
|
|
2837
|
+
* 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
2838
|
*
|
|
2839
2839
|
* @remarks
|
|
2840
|
-
* You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using
|
|
2840
|
+
* 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
2841
|
*
|
|
2842
2842
|
* @param request - UpdateUserPermissionsRequest
|
|
2843
2843
|
* @param headers - map
|
|
@@ -2848,10 +2848,10 @@ export default class Client extends OpenApi {
|
|
|
2848
2848
|
[key: string]: string;
|
|
2849
2849
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateUserPermissionsResponse>;
|
|
2850
2850
|
/**
|
|
2851
|
-
* Updates the
|
|
2851
|
+
* 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
2852
|
*
|
|
2853
2853
|
* @remarks
|
|
2854
|
-
* You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using
|
|
2854
|
+
* 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
2855
|
*
|
|
2856
2856
|
* @param request - UpdateUserPermissionsRequest
|
|
2857
2857
|
* @returns UpdateUserPermissionsResponse
|