@alicloud/cs20151215 6.6.4 → 6.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +202 -124
- package/dist/client.js +202 -124
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +2 -2
- package/dist/models/AttachInstancesResponseBody.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ContainerdConfig.d.ts +22 -2
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +63 -0
- package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +6 -0
- package/dist/models/CreateAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +77 -40
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -25
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +585 -353
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +5 -5
- package/dist/models/CreateTriggerResponseBody.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/DeleteAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterNodesRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +26 -18
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterShrinkRequest.d.ts +12 -9
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +7 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +71 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +21 -18
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +243 -110
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -4
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +49 -39
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +473 -220
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +425 -262
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +5 -5
- package/dist/models/DescribeClusterResourcesRequest.d.ts +5 -1
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +51 -33
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +9 -9
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +2 -2
- package/dist/models/DescribeClustersForRegionRequest.d.ts +32 -16
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +85 -56
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +33 -17
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +98 -72
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +6 -2
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +22 -15
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +53 -20
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +53 -29
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +2 -2
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +8 -8
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +11 -0
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +235 -7
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +35 -31
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +2 -2
- package/dist/models/DescribeTemplatesResponseBody.d.ts +4 -4
- package/dist/models/DescribeTriggerResponse.d.ts +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +1 -1
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +0 -35
- package/dist/models/DescribeUserQuotaResponseBody.js.map +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +9 -0
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +28 -20
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstanceMetadataOptions.d.ts +17 -0
- package/dist/models/InstanceMetadataOptions.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +10 -0
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAddonsRequest.d.ts +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +75 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +2 -2
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -0
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +39 -0
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +9 -0
- package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +52 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/MigrateClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +58 -0
- package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/ModifyAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +358 -228
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +186 -123
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +8 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigResponseBody.d.ts +2 -2
- package/dist/models/Nodepool.d.ts +274 -180
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/RemoveClusterNodesRequest.d.ts +0 -10
- package/dist/models/RemoveClusterNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +2 -2
- package/dist/models/RunClusterCheckRequest.d.ts +2 -2
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/ScaleOutClusterRequest.d.ts +8 -131
- package/dist/models/ScaleOutClusterRequest.js.map +1 -1
- package/dist/models/ScaleOutClusterResponseBody.d.ts +0 -21
- package/dist/models/ScaleOutClusterResponseBody.js.map +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +3 -3
- package/dist/models/UpgradeClusterAddonsResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +202 -124
- package/src/models/AttachInstancesRequest.ts +2 -2
- package/src/models/AttachInstancesResponseBody.ts +1 -1
- package/src/models/AttachInstancesToNodePoolRequest.ts +1 -1
- package/src/models/AttachInstancesToNodePoolResponseBody.ts +1 -1
- package/src/models/ContainerdConfig.ts +22 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +63 -0
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +6 -0
- package/src/models/CreateAutoscalingConfigRequest.ts +77 -40
- package/src/models/CreateClusterNodePoolRequest.ts +125 -25
- package/src/models/CreateClusterRequest.ts +585 -353
- package/src/models/CreateClusterResponseBody.ts +5 -5
- package/src/models/CreateTriggerResponseBody.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/DeleteClusterNodepoolResponseBody.ts +2 -2
- package/src/models/DeleteClusterNodesRequest.ts +1 -1
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +26 -18
- package/src/models/DeleteClusterResponseBody.ts +2 -2
- package/src/models/DeleteClusterShrinkRequest.ts +12 -9
- package/src/models/DeployPolicyInstanceRequest.ts +7 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonsRequest.ts +1 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +71 -0
- package/src/models/DescribeClusterAttachScriptsRequest.ts +21 -18
- package/src/models/DescribeClusterDetailResponseBody.ts +243 -110
- package/src/models/DescribeClusterEventsRequest.ts +8 -4
- package/src/models/DescribeClusterEventsResponseBody.ts +49 -39
- package/src/models/DescribeClusterLogsResponse.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +475 -220
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +427 -262
- package/src/models/DescribeClusterNodesRequest.ts +1 -1
- package/src/models/DescribeClusterNodesResponseBody.ts +5 -5
- package/src/models/DescribeClusterResourcesRequest.ts +5 -1
- package/src/models/DescribeClusterResourcesResponse.ts +51 -33
- package/src/models/DescribeClusterTasksResponseBody.ts +9 -9
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +1 -1
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribeClusterVulsResponseBody.ts +2 -2
- package/src/models/DescribeClustersForRegionRequest.ts +32 -16
- package/src/models/DescribeClustersForRegionResponseBody.ts +85 -56
- package/src/models/DescribeClustersV1request.ts +33 -17
- package/src/models/DescribeClustersV1responseBody.ts +98 -72
- package/src/models/DescribeEventsForRegionRequest.ts +6 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +22 -15
- package/src/models/DescribeEventsRequest.ts +53 -20
- package/src/models/DescribeEventsResponseBody.ts +53 -29
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +2 -2
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +8 -8
- package/src/models/DescribeNodePoolVulsResponseBody.ts +11 -0
- package/src/models/DescribePolicyDetailsResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +235 -7
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +35 -31
- package/src/models/DescribeTemplateAttributeResponse.ts +2 -2
- package/src/models/DescribeTemplatesResponseBody.ts +4 -4
- package/src/models/DescribeTriggerResponse.ts +1 -1
- package/src/models/DescribeUserPermissionResponse.ts +1 -1
- package/src/models/DescribeUserQuotaResponseBody.ts +0 -35
- package/src/models/GetClusterAddonInstanceResponseBody.ts +1 -1
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +9 -0
- package/src/models/GrantPermissionsRequest.ts +28 -20
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstanceMetadataOptions.ts +17 -0
- package/src/models/KubeletConfig.ts +10 -0
- package/src/models/ListAddonsRequest.ts +1 -1
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +75 -0
- package/src/models/ListClusterChecksResponseBody.ts +2 -2
- package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -0
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +39 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +9 -0
- package/src/models/ListOperationPlansForRegionResponseBody.ts +52 -0
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +1 -1
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/MigrateClusterResponseBody.ts +3 -3
- package/src/models/ModifyAutoRepairPolicyRequest.ts +58 -0
- package/src/models/ModifyAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +361 -229
- package/src/models/ModifyClusterNodePoolResponseBody.ts +1 -1
- package/src/models/ModifyClusterRequest.ts +186 -123
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +8 -0
- package/src/models/ModifyNodePoolNodeConfigResponseBody.ts +2 -2
- package/src/models/Nodepool.ts +276 -180
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/RemoveClusterNodesRequest.ts +0 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +1 -1
- package/src/models/RepairClusterNodePoolRequest.ts +1 -1
- package/src/models/RepairClusterNodePoolResponseBody.ts +2 -2
- package/src/models/RunClusterCheckRequest.ts +2 -2
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/Runtime.ts +2 -2
- package/src/models/ScaleOutClusterRequest.ts +8 -131
- package/src/models/ScaleOutClusterResponseBody.ts +0 -21
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +1 -1
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +1 -1
- package/src/models/UpgradeClusterAddonsRequest.ts +3 -3
- package/src/models/UpgradeClusterAddonsResponseBody.ts +1 -1
- package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
- package/src/models/UpgradeClusterNodepoolResponseBody.ts +1 -1
- package/src/models/UpgradeClusterRequest.ts +3 -3
package/dist/client.d.ts
CHANGED
|
@@ -11,6 +11,9 @@ export default class Client extends OpenApi {
|
|
|
11
11
|
/**
|
|
12
12
|
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. When you need to add an ECS instance as a worker node to an ACK cluster or re-add a worker node to the cluster, you can call this operation.
|
|
13
13
|
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* 调用本接口前,请仔细阅读[使用限制](https://help.aliyun.com/document_detail/86919.html),确保待添加的ECS实例满足条件。
|
|
16
|
+
*
|
|
14
17
|
* @param request - AttachInstancesRequest
|
|
15
18
|
* @param headers - map
|
|
16
19
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22,6 +25,9 @@ export default class Client extends OpenApi {
|
|
|
22
25
|
/**
|
|
23
26
|
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. When you need to add an ECS instance as a worker node to an ACK cluster or re-add a worker node to the cluster, you can call this operation.
|
|
24
27
|
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* 调用本接口前,请仔细阅读[使用限制](https://help.aliyun.com/document_detail/86919.html),确保待添加的ECS实例满足条件。
|
|
30
|
+
*
|
|
25
31
|
* @param request - AttachInstancesRequest
|
|
26
32
|
* @returns AttachInstancesResponse
|
|
27
33
|
*/
|
|
@@ -204,7 +210,11 @@ export default class Client extends OpenApi {
|
|
|
204
210
|
*/
|
|
205
211
|
cleanUserPermissions(Uid: string, request: $_model.CleanUserPermissionsRequest): Promise<$_model.CleanUserPermissionsResponse>;
|
|
206
212
|
/**
|
|
207
|
-
*
|
|
213
|
+
* Create a self-healing rule.
|
|
214
|
+
*
|
|
215
|
+
* @remarks
|
|
216
|
+
* >Notice:
|
|
217
|
+
* This API is not yet available.
|
|
208
218
|
*
|
|
209
219
|
* @param request - CreateAutoRepairPolicyRequest
|
|
210
220
|
* @param headers - map
|
|
@@ -215,14 +225,18 @@ export default class Client extends OpenApi {
|
|
|
215
225
|
[key: string]: string;
|
|
216
226
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAutoRepairPolicyResponse>;
|
|
217
227
|
/**
|
|
218
|
-
*
|
|
228
|
+
* Create a self-healing rule.
|
|
229
|
+
*
|
|
230
|
+
* @remarks
|
|
231
|
+
* >Notice:
|
|
232
|
+
* This API is not yet available.
|
|
219
233
|
*
|
|
220
234
|
* @param request - CreateAutoRepairPolicyRequest
|
|
221
235
|
* @returns CreateAutoRepairPolicyResponse
|
|
222
236
|
*/
|
|
223
237
|
createAutoRepairPolicy(clusterId: string, request: $_model.CreateAutoRepairPolicyRequest): Promise<$_model.CreateAutoRepairPolicyResponse>;
|
|
224
238
|
/**
|
|
225
|
-
*
|
|
239
|
+
* Create an auto scaling policy to automatically add or remove compute resources based on configured scaling rules to handle your cluster\\"s workload. You can specify metrics and thresholds, scaling order, a cooldown period, and more.
|
|
226
240
|
*
|
|
227
241
|
* @param request - CreateAutoscalingConfigRequest
|
|
228
242
|
* @param headers - map
|
|
@@ -233,23 +247,24 @@ export default class Client extends OpenApi {
|
|
|
233
247
|
[key: string]: string;
|
|
234
248
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAutoscalingConfigResponse>;
|
|
235
249
|
/**
|
|
236
|
-
*
|
|
250
|
+
* Create an auto scaling policy to automatically add or remove compute resources based on configured scaling rules to handle your cluster\\"s workload. You can specify metrics and thresholds, scaling order, a cooldown period, and more.
|
|
237
251
|
*
|
|
238
252
|
* @param request - CreateAutoscalingConfigRequest
|
|
239
253
|
* @returns CreateAutoscalingConfigResponse
|
|
240
254
|
*/
|
|
241
255
|
createAutoscalingConfig(ClusterId: string, request: $_model.CreateAutoscalingConfigRequest): Promise<$_model.CreateAutoscalingConfigResponse>;
|
|
242
256
|
/**
|
|
243
|
-
*
|
|
257
|
+
* Create an ACK cluster using OpenAPI. Supported cluster types include ACK managed clusters, ACK serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, configure the cluster information, components, and related Alibaba Cloud resources.
|
|
244
258
|
*
|
|
245
259
|
* @remarks
|
|
246
|
-
* ###
|
|
247
|
-
*
|
|
248
|
-
* 1.
|
|
249
|
-
* 2.
|
|
250
|
-
* 3.
|
|
251
|
-
* 4.
|
|
252
|
-
*
|
|
260
|
+
* ### Generate OpenAPI request parameters in the console
|
|
261
|
+
* If your CreateCluster API call fails due to invalid parameter combinations, you can generate valid request parameters directly in the console. Follow these steps:
|
|
262
|
+
* 1. Log on to the [Container Service for Kubernetes console](https://csnew.console.aliyun.com). In the left navigation pane, select **Clusters**.
|
|
263
|
+
* 2. On the **Clusters** page, click **Cluster Templates**.
|
|
264
|
+
* 3. In the dialog box, select the cluster type you want to create and click Create. Then configure your cluster on the cluster configuration page.
|
|
265
|
+
* 4. After completing your configuration, go to the **Review Configuration** page and click **Equivalent Code** in the upper-right corner. The dialog box displays the required parameter combination for cluster creation. Copy and use it as needed.
|
|
266
|
+
* >Notice:
|
|
267
|
+
* Starting July 4, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameters, see [Announcement on Changes and Deprecation of OpenAPI Parameters for ACK Cluster Management](https://help.aliyun.com/document_detail/2932733.html).
|
|
253
268
|
*
|
|
254
269
|
* @param request - CreateClusterRequest
|
|
255
270
|
* @param headers - map
|
|
@@ -260,16 +275,17 @@ export default class Client extends OpenApi {
|
|
|
260
275
|
[key: string]: string;
|
|
261
276
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterResponse>;
|
|
262
277
|
/**
|
|
263
|
-
*
|
|
278
|
+
* Create an ACK cluster using OpenAPI. Supported cluster types include ACK managed clusters, ACK serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, configure the cluster information, components, and related Alibaba Cloud resources.
|
|
264
279
|
*
|
|
265
280
|
* @remarks
|
|
266
|
-
* ###
|
|
267
|
-
*
|
|
268
|
-
* 1.
|
|
269
|
-
* 2.
|
|
270
|
-
* 3.
|
|
271
|
-
* 4.
|
|
272
|
-
*
|
|
281
|
+
* ### Generate OpenAPI request parameters in the console
|
|
282
|
+
* If your CreateCluster API call fails due to invalid parameter combinations, you can generate valid request parameters directly in the console. Follow these steps:
|
|
283
|
+
* 1. Log on to the [Container Service for Kubernetes console](https://csnew.console.aliyun.com). In the left navigation pane, select **Clusters**.
|
|
284
|
+
* 2. On the **Clusters** page, click **Cluster Templates**.
|
|
285
|
+
* 3. In the dialog box, select the cluster type you want to create and click Create. Then configure your cluster on the cluster configuration page.
|
|
286
|
+
* 4. After completing your configuration, go to the **Review Configuration** page and click **Equivalent Code** in the upper-right corner. The dialog box displays the required parameter combination for cluster creation. Copy and use it as needed.
|
|
287
|
+
* >Notice:
|
|
288
|
+
* Starting July 4, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameters, see [Announcement on Changes and Deprecation of OpenAPI Parameters for ACK Cluster Management](https://help.aliyun.com/document_detail/2932733.html).
|
|
273
289
|
*
|
|
274
290
|
* @param request - CreateClusterRequest
|
|
275
291
|
* @returns CreateClusterResponse
|
|
@@ -312,7 +328,7 @@ export default class Client extends OpenApi {
|
|
|
312
328
|
*/
|
|
313
329
|
createClusterInspectConfig(clusterId: string, request: $_model.CreateClusterInspectConfigRequest): Promise<$_model.CreateClusterInspectConfigResponse>;
|
|
314
330
|
/**
|
|
315
|
-
*
|
|
331
|
+
* A node pool is a logical collection of nodes that share the same properties, enabling unified management and O&M operations such as node upgrades and Auto Scaling. You can further leverage the automated O&M capabilities of node pools to reduce operational costs—for example, by automatically patching OS CVE vulnerabilities, automatically recovering failed nodes, and automatically upgrading kubelet and containerd versions. You can invoke CreateClusterNodePool to create a node pool for a cluster.
|
|
316
332
|
*
|
|
317
333
|
* @param request - CreateClusterNodePoolRequest
|
|
318
334
|
* @param headers - map
|
|
@@ -323,7 +339,7 @@ export default class Client extends OpenApi {
|
|
|
323
339
|
[key: string]: string;
|
|
324
340
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterNodePoolResponse>;
|
|
325
341
|
/**
|
|
326
|
-
*
|
|
342
|
+
* A node pool is a logical collection of nodes that share the same properties, enabling unified management and O&M operations such as node upgrades and Auto Scaling. You can further leverage the automated O&M capabilities of node pools to reduce operational costs—for example, by automatically patching OS CVE vulnerabilities, automatically recovering failed nodes, and automatically upgrading kubelet and containerd versions. You can invoke CreateClusterNodePool to create a node pool for a cluster.
|
|
327
343
|
*
|
|
328
344
|
* @param request - CreateClusterNodePoolRequest
|
|
329
345
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -372,6 +388,9 @@ export default class Client extends OpenApi {
|
|
|
372
388
|
/**
|
|
373
389
|
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
374
390
|
*
|
|
391
|
+
* @remarks
|
|
392
|
+
* > 创建触发器仅支持Pod的重新部署。
|
|
393
|
+
*
|
|
375
394
|
* @param request - CreateTriggerRequest
|
|
376
395
|
* @param headers - map
|
|
377
396
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -383,12 +402,15 @@ export default class Client extends OpenApi {
|
|
|
383
402
|
/**
|
|
384
403
|
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
385
404
|
*
|
|
405
|
+
* @remarks
|
|
406
|
+
* > 创建触发器仅支持Pod的重新部署。
|
|
407
|
+
*
|
|
386
408
|
* @param request - CreateTriggerRequest
|
|
387
409
|
* @returns CreateTriggerResponse
|
|
388
410
|
*/
|
|
389
411
|
createTrigger(clusterId: string, request: $_model.CreateTriggerRequest): Promise<$_model.CreateTriggerResponse>;
|
|
390
412
|
/**
|
|
391
|
-
* Deletes
|
|
413
|
+
* Deletes ACK alert contacts.
|
|
392
414
|
*
|
|
393
415
|
* @param tmpReq - DeleteAlertContactRequest
|
|
394
416
|
* @param headers - map
|
|
@@ -399,7 +421,7 @@ export default class Client extends OpenApi {
|
|
|
399
421
|
[key: string]: string;
|
|
400
422
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAlertContactResponse>;
|
|
401
423
|
/**
|
|
402
|
-
* Deletes
|
|
424
|
+
* Deletes ACK alert contacts.
|
|
403
425
|
*
|
|
404
426
|
* @param request - DeleteAlertContactRequest
|
|
405
427
|
* @returns DeleteAlertContactResponse
|
|
@@ -424,7 +446,11 @@ export default class Client extends OpenApi {
|
|
|
424
446
|
*/
|
|
425
447
|
deleteAlertContactGroup(request: $_model.DeleteAlertContactGroupRequest): Promise<$_model.DeleteAlertContactGroupResponse>;
|
|
426
448
|
/**
|
|
427
|
-
*
|
|
449
|
+
* Deletes an auto repair policy.
|
|
450
|
+
*
|
|
451
|
+
* @remarks
|
|
452
|
+
* >Notice:
|
|
453
|
+
* This API is not yet publicly available.
|
|
428
454
|
*
|
|
429
455
|
* @param headers - map
|
|
430
456
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -434,20 +460,24 @@ export default class Client extends OpenApi {
|
|
|
434
460
|
[key: string]: string;
|
|
435
461
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAutoRepairPolicyResponse>;
|
|
436
462
|
/**
|
|
437
|
-
*
|
|
463
|
+
* Deletes an auto repair policy.
|
|
464
|
+
*
|
|
465
|
+
* @remarks
|
|
466
|
+
* >Notice:
|
|
467
|
+
* This API is not yet publicly available.
|
|
438
468
|
* @returns DeleteAutoRepairPolicyResponse
|
|
439
469
|
*/
|
|
440
470
|
deleteAutoRepairPolicy(clusterId: string, policyId: string): Promise<$_model.DeleteAutoRepairPolicyResponse>;
|
|
441
471
|
/**
|
|
442
|
-
*
|
|
472
|
+
* When you no longer need a cluster, you can delete it and choose whether to delete or retain its associated resources. Before deleting a cluster, you must manually remove its workloads, such as stateless applications, stateful applications, jobs, and cronjobs. Otherwise, the deletion might fail.
|
|
443
473
|
*
|
|
444
474
|
* @remarks
|
|
445
|
-
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
448
|
-
*
|
|
449
|
-
*
|
|
450
|
-
*
|
|
475
|
+
* Important
|
|
476
|
+
* - Subscription-based resources, such as ECS instances and Lingjun computing nodes, are not automatically released. You must manually release them to avoid unnecessary charges. For more details, see Cluster deletion and node release rules.
|
|
477
|
+
* - Subscription-based APIServer SLB resources are not automatically released. You must manually release them to avoid unnecessary charges.
|
|
478
|
+
* - If resources such as VPCs, VSwitches, security groups, and RAM roles are in use by other resources, they are retained by default. You must release them manually.
|
|
479
|
+
* - ECIs created with virtual nodes are automatically released.
|
|
480
|
+
* - Some cloud resources created with the cluster are not automatically released when you delete the cluster and continue to incur charges. You can choose to retain or release them. These resources include SLS projects automatically created by the cluster and cloud disks purchased via dynamic volumes.
|
|
451
481
|
*
|
|
452
482
|
* @param tmpReq - DeleteClusterRequest
|
|
453
483
|
* @param headers - map
|
|
@@ -458,15 +488,15 @@ export default class Client extends OpenApi {
|
|
|
458
488
|
[key: string]: string;
|
|
459
489
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterResponse>;
|
|
460
490
|
/**
|
|
461
|
-
*
|
|
491
|
+
* When you no longer need a cluster, you can delete it and choose whether to delete or retain its associated resources. Before deleting a cluster, you must manually remove its workloads, such as stateless applications, stateful applications, jobs, and cronjobs. Otherwise, the deletion might fail.
|
|
462
492
|
*
|
|
463
493
|
* @remarks
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
*
|
|
494
|
+
* Important
|
|
495
|
+
* - Subscription-based resources, such as ECS instances and Lingjun computing nodes, are not automatically released. You must manually release them to avoid unnecessary charges. For more details, see Cluster deletion and node release rules.
|
|
496
|
+
* - Subscription-based APIServer SLB resources are not automatically released. You must manually release them to avoid unnecessary charges.
|
|
497
|
+
* - If resources such as VPCs, VSwitches, security groups, and RAM roles are in use by other resources, they are retained by default. You must release them manually.
|
|
498
|
+
* - ECIs created with virtual nodes are automatically released.
|
|
499
|
+
* - Some cloud resources created with the cluster are not automatically released when you delete the cluster and continue to incur charges. You can choose to retain or release them. These resources include SLS projects automatically created by the cluster and cloud disks purchased via dynamic volumes.
|
|
470
500
|
*
|
|
471
501
|
* @param request - DeleteClusterRequest
|
|
472
502
|
* @returns DeleteClusterResponse
|
|
@@ -607,7 +637,7 @@ export default class Client extends OpenApi {
|
|
|
607
637
|
*/
|
|
608
638
|
deleteTrigger(clusterId: string, Id: string): Promise<$_model.DeleteTriggerResponse>;
|
|
609
639
|
/**
|
|
610
|
-
*
|
|
640
|
+
* Call the `DeployPolicyInstance` operation to deploy a policy instance to specified namespaces in an ACK cluster. To create a policy instance, select a security policy, configure a governance action (alert or deny), and specify the target namespaces for the policy.
|
|
611
641
|
*
|
|
612
642
|
* @param request - DeployPolicyInstanceRequest
|
|
613
643
|
* @param headers - map
|
|
@@ -618,7 +648,7 @@ export default class Client extends OpenApi {
|
|
|
618
648
|
[key: string]: string;
|
|
619
649
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeployPolicyInstanceResponse>;
|
|
620
650
|
/**
|
|
621
|
-
*
|
|
651
|
+
* Call the `DeployPolicyInstance` operation to deploy a policy instance to specified namespaces in an ACK cluster. To create a policy instance, select a security policy, configure a governance action (alert or deny), and specify the target namespaces for the policy.
|
|
622
652
|
*
|
|
623
653
|
* @param request - DeployPolicyInstanceRequest
|
|
624
654
|
* @returns DeployPolicyInstanceResponse
|
|
@@ -665,7 +695,11 @@ export default class Client extends OpenApi {
|
|
|
665
695
|
*/
|
|
666
696
|
describeAddons(request: $_model.DescribeAddonsRequest): Promise<$_model.DescribeAddonsResponse>;
|
|
667
697
|
/**
|
|
668
|
-
*
|
|
698
|
+
* View self-healing rules.
|
|
699
|
+
*
|
|
700
|
+
* @remarks
|
|
701
|
+
* >Notice:
|
|
702
|
+
* This API is not yet available.
|
|
669
703
|
*
|
|
670
704
|
* @param headers - map
|
|
671
705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -675,7 +709,11 @@ export default class Client extends OpenApi {
|
|
|
675
709
|
[key: string]: string;
|
|
676
710
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAutoRepairPolicyResponse>;
|
|
677
711
|
/**
|
|
678
|
-
*
|
|
712
|
+
* View self-healing rules.
|
|
713
|
+
*
|
|
714
|
+
* @remarks
|
|
715
|
+
* >Notice:
|
|
716
|
+
* This API is not yet available.
|
|
679
717
|
* @returns DescribeAutoRepairPolicyResponse
|
|
680
718
|
*/
|
|
681
719
|
describeAutoRepairPolicy(clusterId: string, policyId: string): Promise<$_model.DescribeAutoRepairPolicyResponse>;
|
|
@@ -781,7 +819,7 @@ export default class Client extends OpenApi {
|
|
|
781
819
|
*/
|
|
782
820
|
describeClusterAddonsVersion(ClusterId: string): Promise<$_model.DescribeClusterAddonsVersionResponse>;
|
|
783
821
|
/**
|
|
784
|
-
*
|
|
822
|
+
* To manually add existing ECS instances to an ACK cluster as worker nodes or add nodes back to a node pool, call the DescribeClusterAttachScripts operation to obtain the required attachment script.
|
|
785
823
|
*
|
|
786
824
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
787
825
|
* @param headers - map
|
|
@@ -792,14 +830,14 @@ export default class Client extends OpenApi {
|
|
|
792
830
|
[key: string]: string;
|
|
793
831
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAttachScriptsResponse>;
|
|
794
832
|
/**
|
|
795
|
-
*
|
|
833
|
+
* To manually add existing ECS instances to an ACK cluster as worker nodes or add nodes back to a node pool, call the DescribeClusterAttachScripts operation to obtain the required attachment script.
|
|
796
834
|
*
|
|
797
835
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
798
836
|
* @returns DescribeClusterAttachScriptsResponse
|
|
799
837
|
*/
|
|
800
838
|
describeClusterAttachScripts(ClusterId: string, request: $_model.DescribeClusterAttachScriptsRequest): Promise<$_model.DescribeClusterAttachScriptsResponse>;
|
|
801
839
|
/**
|
|
802
|
-
* You can call the DescribeClusterDetail operation to query
|
|
840
|
+
* You can call the DescribeClusterDetail operation to query detailed information about a specified cluster by its cluster ID.
|
|
803
841
|
*
|
|
804
842
|
* @param headers - map
|
|
805
843
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -809,12 +847,12 @@ export default class Client extends OpenApi {
|
|
|
809
847
|
[key: string]: string;
|
|
810
848
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterDetailResponse>;
|
|
811
849
|
/**
|
|
812
|
-
* You can call the DescribeClusterDetail operation to query
|
|
850
|
+
* You can call the DescribeClusterDetail operation to query detailed information about a specified cluster by its cluster ID.
|
|
813
851
|
* @returns DescribeClusterDetailResponse
|
|
814
852
|
*/
|
|
815
853
|
describeClusterDetail(ClusterId: string): Promise<$_model.DescribeClusterDetailResponse>;
|
|
816
854
|
/**
|
|
817
|
-
*
|
|
855
|
+
* Cluster operation events include cluster creation, modification, and upgrades, node pool creation and scale-out, and add-on installations. You can call the `DescribeClusterEvents` operation to retrieve events for a specified cluster and query their details, such as the severity level, status, and time.
|
|
818
856
|
*
|
|
819
857
|
* @param request - DescribeClusterEventsRequest
|
|
820
858
|
* @param headers - map
|
|
@@ -825,7 +863,7 @@ export default class Client extends OpenApi {
|
|
|
825
863
|
[key: string]: string;
|
|
826
864
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterEventsResponse>;
|
|
827
865
|
/**
|
|
828
|
-
*
|
|
866
|
+
* Cluster operation events include cluster creation, modification, and upgrades, node pool creation and scale-out, and add-on installations. You can call the `DescribeClusterEvents` operation to retrieve events for a specified cluster and query their details, such as the severity level, status, and time.
|
|
829
867
|
*
|
|
830
868
|
* @param request - DescribeClusterEventsRequest
|
|
831
869
|
* @returns DescribeClusterEventsResponse
|
|
@@ -847,7 +885,7 @@ export default class Client extends OpenApi {
|
|
|
847
885
|
*/
|
|
848
886
|
describeClusterLogs(ClusterId: string): Promise<$_model.DescribeClusterLogsResponse>;
|
|
849
887
|
/**
|
|
850
|
-
* You can call the DescribeClusterNodePoolDetail
|
|
888
|
+
* You can call the DescribeClusterNodePoolDetail operation with a node pool ID to query the configuration of a specific node pool in a cluster.
|
|
851
889
|
*
|
|
852
890
|
* @param headers - map
|
|
853
891
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -857,12 +895,12 @@ export default class Client extends OpenApi {
|
|
|
857
895
|
[key: string]: string;
|
|
858
896
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
|
|
859
897
|
/**
|
|
860
|
-
* You can call the DescribeClusterNodePoolDetail
|
|
898
|
+
* You can call the DescribeClusterNodePoolDetail operation with a node pool ID to query the configuration of a specific node pool in a cluster.
|
|
861
899
|
* @returns DescribeClusterNodePoolDetailResponse
|
|
862
900
|
*/
|
|
863
901
|
describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
|
|
864
902
|
/**
|
|
865
|
-
*
|
|
903
|
+
* Lists all node pools in a cluster.
|
|
866
904
|
*
|
|
867
905
|
* @param request - DescribeClusterNodePoolsRequest
|
|
868
906
|
* @param headers - map
|
|
@@ -873,7 +911,7 @@ export default class Client extends OpenApi {
|
|
|
873
911
|
[key: string]: string;
|
|
874
912
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolsResponse>;
|
|
875
913
|
/**
|
|
876
|
-
*
|
|
914
|
+
* Lists all node pools in a cluster.
|
|
877
915
|
*
|
|
878
916
|
* @param request - DescribeClusterNodePoolsRequest
|
|
879
917
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -898,7 +936,7 @@ export default class Client extends OpenApi {
|
|
|
898
936
|
*/
|
|
899
937
|
describeClusterNodes(ClusterId: string, request: $_model.DescribeClusterNodesRequest): Promise<$_model.DescribeClusterNodesResponse>;
|
|
900
938
|
/**
|
|
901
|
-
*
|
|
939
|
+
* Container Service for Kubernetes uses other Alibaba Cloud resources, such as VPCs and SLBs. To query the resources associated with a specific cluster, call the `DescribeClusterResources` operation. To query node pools or nodes, call the `DescribeClusterNodePools` or `DescribeClusterNodes` operations.
|
|
902
940
|
*
|
|
903
941
|
* @param request - DescribeClusterResourcesRequest
|
|
904
942
|
* @param headers - map
|
|
@@ -909,14 +947,14 @@ export default class Client extends OpenApi {
|
|
|
909
947
|
[key: string]: string;
|
|
910
948
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterResourcesResponse>;
|
|
911
949
|
/**
|
|
912
|
-
*
|
|
950
|
+
* Container Service for Kubernetes uses other Alibaba Cloud resources, such as VPCs and SLBs. To query the resources associated with a specific cluster, call the `DescribeClusterResources` operation. To query node pools or nodes, call the `DescribeClusterNodePools` or `DescribeClusterNodes` operations.
|
|
913
951
|
*
|
|
914
952
|
* @param request - DescribeClusterResourcesRequest
|
|
915
953
|
* @returns DescribeClusterResourcesResponse
|
|
916
954
|
*/
|
|
917
955
|
describeClusterResources(ClusterId: string, request: $_model.DescribeClusterResourcesRequest): Promise<$_model.DescribeClusterResourcesResponse>;
|
|
918
956
|
/**
|
|
919
|
-
*
|
|
957
|
+
* Lists the tasks in a specified cluster.
|
|
920
958
|
*
|
|
921
959
|
* @param request - DescribeClusterTasksRequest
|
|
922
960
|
* @param headers - map
|
|
@@ -927,7 +965,7 @@ export default class Client extends OpenApi {
|
|
|
927
965
|
[key: string]: string;
|
|
928
966
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterTasksResponse>;
|
|
929
967
|
/**
|
|
930
|
-
*
|
|
968
|
+
* Lists the tasks in a specified cluster.
|
|
931
969
|
*
|
|
932
970
|
* @param request - DescribeClusterTasksRequest
|
|
933
971
|
* @returns DescribeClusterTasksResponse
|
|
@@ -960,7 +998,7 @@ export default class Client extends OpenApi {
|
|
|
960
998
|
*/
|
|
961
999
|
describeClusterUserKubeconfig(ClusterId: string, request: $_model.DescribeClusterUserKubeconfigRequest): Promise<$_model.DescribeClusterUserKubeconfigResponse>;
|
|
962
1000
|
/**
|
|
963
|
-
*
|
|
1001
|
+
* Obtain the kubeconfig API for a cluster
|
|
964
1002
|
*
|
|
965
1003
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
966
1004
|
*
|
|
@@ -973,7 +1011,7 @@ export default class Client extends OpenApi {
|
|
|
973
1011
|
[key: string]: string;
|
|
974
1012
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterV2UserKubeconfigResponse>;
|
|
975
1013
|
/**
|
|
976
|
-
*
|
|
1014
|
+
* Obtain the kubeconfig API for a cluster
|
|
977
1015
|
*
|
|
978
1016
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
979
1017
|
*
|
|
@@ -997,7 +1035,7 @@ export default class Client extends OpenApi {
|
|
|
997
1035
|
*/
|
|
998
1036
|
describeClusterVuls(clusterId: string): Promise<$_model.DescribeClusterVulsResponse>;
|
|
999
1037
|
/**
|
|
1000
|
-
*
|
|
1038
|
+
* View all clusters (including Swarm and Kubernetes clusters) created in the container service.
|
|
1001
1039
|
*
|
|
1002
1040
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
1003
1041
|
*
|
|
@@ -1010,7 +1048,7 @@ export default class Client extends OpenApi {
|
|
|
1010
1048
|
[key: string]: string;
|
|
1011
1049
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersResponse>;
|
|
1012
1050
|
/**
|
|
1013
|
-
*
|
|
1051
|
+
* View all clusters (including Swarm and Kubernetes clusters) created in the container service.
|
|
1014
1052
|
*
|
|
1015
1053
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
1016
1054
|
*
|
|
@@ -1019,7 +1057,7 @@ export default class Client extends OpenApi {
|
|
|
1019
1057
|
*/
|
|
1020
1058
|
describeClusters(request: $_model.DescribeClustersRequest): Promise<$_model.DescribeClustersResponse>;
|
|
1021
1059
|
/**
|
|
1022
|
-
*
|
|
1060
|
+
* Lists all clusters in a specified region.
|
|
1023
1061
|
*
|
|
1024
1062
|
* @param request - DescribeClustersForRegionRequest
|
|
1025
1063
|
* @param headers - map
|
|
@@ -1030,14 +1068,14 @@ export default class Client extends OpenApi {
|
|
|
1030
1068
|
[key: string]: string;
|
|
1031
1069
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersForRegionResponse>;
|
|
1032
1070
|
/**
|
|
1033
|
-
*
|
|
1071
|
+
* Lists all clusters in a specified region.
|
|
1034
1072
|
*
|
|
1035
1073
|
* @param request - DescribeClustersForRegionRequest
|
|
1036
1074
|
* @returns DescribeClustersForRegionResponse
|
|
1037
1075
|
*/
|
|
1038
1076
|
describeClustersForRegion(regionId: string, request: $_model.DescribeClustersForRegionRequest): Promise<$_model.DescribeClustersForRegionResponse>;
|
|
1039
1077
|
/**
|
|
1040
|
-
*
|
|
1078
|
+
* Use the DescribeClustersV1 API to list ACK clusters by criteria such as cluster type and cluster specification.
|
|
1041
1079
|
*
|
|
1042
1080
|
* @param request - DescribeClustersV1Request
|
|
1043
1081
|
* @param headers - map
|
|
@@ -1048,14 +1086,14 @@ export default class Client extends OpenApi {
|
|
|
1048
1086
|
[key: string]: string;
|
|
1049
1087
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersV1Response>;
|
|
1050
1088
|
/**
|
|
1051
|
-
*
|
|
1089
|
+
* Use the DescribeClustersV1 API to list ACK clusters by criteria such as cluster type and cluster specification.
|
|
1052
1090
|
*
|
|
1053
1091
|
* @param request - DescribeClustersV1Request
|
|
1054
1092
|
* @returns DescribeClustersV1Response
|
|
1055
1093
|
*/
|
|
1056
1094
|
describeClustersV1(request: $_model.DescribeClustersV1Request): Promise<$_model.DescribeClustersV1Response>;
|
|
1057
1095
|
/**
|
|
1058
|
-
*
|
|
1096
|
+
* Cluster operation events include cluster creation, cluster changes, node pool creation, node pool scale-out, add-on installation, and cluster upgrade. Use the `DescribeEvents` API to query details for a specific event type, including its level, status, and timestamp.
|
|
1059
1097
|
*
|
|
1060
1098
|
* @param request - DescribeEventsRequest
|
|
1061
1099
|
* @param headers - map
|
|
@@ -1066,14 +1104,14 @@ export default class Client extends OpenApi {
|
|
|
1066
1104
|
[key: string]: string;
|
|
1067
1105
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEventsResponse>;
|
|
1068
1106
|
/**
|
|
1069
|
-
*
|
|
1107
|
+
* Cluster operation events include cluster creation, cluster changes, node pool creation, node pool scale-out, add-on installation, and cluster upgrade. Use the `DescribeEvents` API to query details for a specific event type, including its level, status, and timestamp.
|
|
1070
1108
|
*
|
|
1071
1109
|
* @param request - DescribeEventsRequest
|
|
1072
1110
|
* @returns DescribeEventsResponse
|
|
1073
1111
|
*/
|
|
1074
1112
|
describeEvents(request: $_model.DescribeEventsRequest): Promise<$_model.DescribeEventsResponse>;
|
|
1075
1113
|
/**
|
|
1076
|
-
*
|
|
1114
|
+
* Retrieves a list of events in a specified region.
|
|
1077
1115
|
*
|
|
1078
1116
|
* @param request - DescribeEventsForRegionRequest
|
|
1079
1117
|
* @param headers - map
|
|
@@ -1084,7 +1122,7 @@ export default class Client extends OpenApi {
|
|
|
1084
1122
|
[key: string]: string;
|
|
1085
1123
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEventsForRegionResponse>;
|
|
1086
1124
|
/**
|
|
1087
|
-
*
|
|
1125
|
+
* Retrieves a list of events in a specified region.
|
|
1088
1126
|
*
|
|
1089
1127
|
* @param request - DescribeEventsForRegionRequest
|
|
1090
1128
|
* @returns DescribeEventsForRegionResponse
|
|
@@ -1185,7 +1223,7 @@ export default class Client extends OpenApi {
|
|
|
1185
1223
|
*/
|
|
1186
1224
|
describePolicyDetails(policyName: string): Promise<$_model.DescribePolicyDetailsResponse>;
|
|
1187
1225
|
/**
|
|
1188
|
-
* Container
|
|
1226
|
+
* Container security policies for ACK clusters provide a rich set of built-in rule libraries, including `Compliance`, `Infra`, `K8s-general`, and `PSP`, to secure containers in a production environment. Call the `DescribePolicyGovernanceInCluster` API to retrieve policy governance details for a target cluster, such as policy statistics by severity, audit logs, and interception and alert events.
|
|
1189
1227
|
*
|
|
1190
1228
|
* @param headers - map
|
|
1191
1229
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1195,7 +1233,7 @@ export default class Client extends OpenApi {
|
|
|
1195
1233
|
[key: string]: string;
|
|
1196
1234
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyGovernanceInClusterResponse>;
|
|
1197
1235
|
/**
|
|
1198
|
-
* Container
|
|
1236
|
+
* Container security policies for ACK clusters provide a rich set of built-in rule libraries, including `Compliance`, `Infra`, `K8s-general`, and `PSP`, to secure containers in a production environment. Call the `DescribePolicyGovernanceInCluster` API to retrieve policy governance details for a target cluster, such as policy statistics by severity, audit logs, and interception and alert events.
|
|
1199
1237
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
1200
1238
|
*/
|
|
1201
1239
|
describePolicyGovernanceInCluster(clusterId: string): Promise<$_model.DescribePolicyGovernanceInClusterResponse>;
|
|
@@ -1293,7 +1331,7 @@ export default class Client extends OpenApi {
|
|
|
1293
1331
|
*/
|
|
1294
1332
|
describeSubaccountK8sClusterUserConfig(ClusterId: string, Uid: string, request: $_model.DescribeSubaccountK8sClusterUserConfigRequest): Promise<$_model.DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
1295
1333
|
/**
|
|
1296
|
-
*
|
|
1334
|
+
* Use the DescribeTaskInfo operation to query details about a cluster task, such as its task type, running state, and running stage.
|
|
1297
1335
|
*
|
|
1298
1336
|
* @param headers - map
|
|
1299
1337
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1303,7 +1341,7 @@ export default class Client extends OpenApi {
|
|
|
1303
1341
|
[key: string]: string;
|
|
1304
1342
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTaskInfoResponse>;
|
|
1305
1343
|
/**
|
|
1306
|
-
*
|
|
1344
|
+
* Use the DescribeTaskInfo operation to query details about a cluster task, such as its task type, running state, and running stage.
|
|
1307
1345
|
* @returns DescribeTaskInfoResponse
|
|
1308
1346
|
*/
|
|
1309
1347
|
describeTaskInfo(taskId: string): Promise<$_model.DescribeTaskInfoResponse>;
|
|
@@ -1600,11 +1638,11 @@ export default class Client extends OpenApi {
|
|
|
1600
1638
|
*/
|
|
1601
1639
|
getUpgradeStatus(ClusterId: string): Promise<$_model.GetUpgradeStatusResponse>;
|
|
1602
1640
|
/**
|
|
1603
|
-
* By default, RAM
|
|
1641
|
+
* By default, a RAM user or RAM role has no RBAC permissions in a cluster they did not create, unless granted permissions at the all-clusters scope. Call the GrantPermissions operation to update the RBAC permissions for a RAM user or RAM role. This operation lets you configure accessible resources, permission scopes, and predefined roles to manage cluster access control.
|
|
1604
1642
|
*
|
|
1605
1643
|
* @remarks
|
|
1606
|
-
*
|
|
1607
|
-
*
|
|
1644
|
+
* - If you call this operation as a RAM user, you must have permission to modify the cluster permissions of other RAM users or RAM roles. Otherwise, the API call fails and returns the `StatusForbidden` or `ForbiddenGrantPermissions` error code. For more information, see [Authorize a RAM user to manage the RBAC permissions of other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
1645
|
+
* - This operation overwrites all existing cluster permissions for the specified RAM user or RAM role. Your request must include the complete set of permissions you want to grant.
|
|
1608
1646
|
*
|
|
1609
1647
|
* @param request - GrantPermissionsRequest
|
|
1610
1648
|
* @param headers - map
|
|
@@ -1615,11 +1653,11 @@ export default class Client extends OpenApi {
|
|
|
1615
1653
|
[key: string]: string;
|
|
1616
1654
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GrantPermissionsResponse>;
|
|
1617
1655
|
/**
|
|
1618
|
-
* By default, RAM
|
|
1656
|
+
* By default, a RAM user or RAM role has no RBAC permissions in a cluster they did not create, unless granted permissions at the all-clusters scope. Call the GrantPermissions operation to update the RBAC permissions for a RAM user or RAM role. This operation lets you configure accessible resources, permission scopes, and predefined roles to manage cluster access control.
|
|
1619
1657
|
*
|
|
1620
1658
|
* @remarks
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
1659
|
+
* - If you call this operation as a RAM user, you must have permission to modify the cluster permissions of other RAM users or RAM roles. Otherwise, the API call fails and returns the `StatusForbidden` or `ForbiddenGrantPermissions` error code. For more information, see [Authorize a RAM user to manage the RBAC permissions of other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
1660
|
+
* - This operation overwrites all existing cluster permissions for the specified RAM user or RAM role. Your request must include the complete set of permissions you want to grant.
|
|
1623
1661
|
*
|
|
1624
1662
|
* @param request - GrantPermissionsRequest
|
|
1625
1663
|
* @returns GrantPermissionsResponse
|
|
@@ -1680,7 +1718,11 @@ export default class Client extends OpenApi {
|
|
|
1680
1718
|
*/
|
|
1681
1719
|
listAddons(request: $_model.ListAddonsRequest): Promise<$_model.ListAddonsResponse>;
|
|
1682
1720
|
/**
|
|
1683
|
-
*
|
|
1721
|
+
* Returns a list of self-healing rules.
|
|
1722
|
+
*
|
|
1723
|
+
* @remarks
|
|
1724
|
+
* >Notice:
|
|
1725
|
+
* This API will be available in a future release.
|
|
1684
1726
|
*
|
|
1685
1727
|
* @param headers - map
|
|
1686
1728
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1690,7 +1732,11 @@ export default class Client extends OpenApi {
|
|
|
1690
1732
|
[key: string]: string;
|
|
1691
1733
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAutoRepairPoliciesResponse>;
|
|
1692
1734
|
/**
|
|
1693
|
-
*
|
|
1735
|
+
* Returns a list of self-healing rules.
|
|
1736
|
+
*
|
|
1737
|
+
* @remarks
|
|
1738
|
+
* >Notice:
|
|
1739
|
+
* This API will be available in a future release.
|
|
1694
1740
|
* @returns ListAutoRepairPoliciesResponse
|
|
1695
1741
|
*/
|
|
1696
1742
|
listAutoRepairPolicies(clusterId: string): Promise<$_model.ListAutoRepairPoliciesResponse>;
|
|
@@ -1761,11 +1807,11 @@ export default class Client extends OpenApi {
|
|
|
1761
1807
|
*/
|
|
1762
1808
|
listClusterInspectReports(clusterId: string, request: $_model.ListClusterInspectReportsRequest): Promise<$_model.ListClusterInspectReportsResponse>;
|
|
1763
1809
|
/**
|
|
1764
|
-
*
|
|
1810
|
+
* If you need to view the access control status of the current cluster, you can invoke the ListClusterKubeconfigStates API to obtain the list and status of KubeConfig configurations that have been issued to users for the current cluster.
|
|
1765
1811
|
*
|
|
1766
1812
|
* @remarks
|
|
1767
|
-
* > -
|
|
1768
|
-
* > -
|
|
1813
|
+
* > - Invoking this API requires the ram:ListUsers and ram:ListRoles permissions.
|
|
1814
|
+
* > - Invoking this API requires permissions to manage Container Service (CS) (AliyunCSFullAccess).
|
|
1769
1815
|
*
|
|
1770
1816
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
1771
1817
|
* @param headers - map
|
|
@@ -1776,11 +1822,11 @@ export default class Client extends OpenApi {
|
|
|
1776
1822
|
[key: string]: string;
|
|
1777
1823
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterKubeconfigStatesResponse>;
|
|
1778
1824
|
/**
|
|
1779
|
-
*
|
|
1825
|
+
* If you need to view the access control status of the current cluster, you can invoke the ListClusterKubeconfigStates API to obtain the list and status of KubeConfig configurations that have been issued to users for the current cluster.
|
|
1780
1826
|
*
|
|
1781
1827
|
* @remarks
|
|
1782
|
-
* > -
|
|
1783
|
-
* > -
|
|
1828
|
+
* > - Invoking this API requires the ram:ListUsers and ram:ListRoles permissions.
|
|
1829
|
+
* > - Invoking this API requires permissions to manage Container Service (CS) (AliyunCSFullAccess).
|
|
1784
1830
|
*
|
|
1785
1831
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
1786
1832
|
* @returns ListClusterKubeconfigStatesResponse
|
|
@@ -1805,7 +1851,7 @@ export default class Client extends OpenApi {
|
|
|
1805
1851
|
*/
|
|
1806
1852
|
listOperationPlans(request: $_model.ListOperationPlansRequest): Promise<$_model.ListOperationPlansResponse>;
|
|
1807
1853
|
/**
|
|
1808
|
-
*
|
|
1854
|
+
* Query the list of the latest 100 automated O&M execution plans in a specified region. When features such as Auto Mode for Intelligent Cluster Management, automatic cluster upgrade, and node pool automated O&M are enabled, you can use this API to query O&M plans automatically generated by the System and their execution status, such as cluster upgrades or CVE fixes for node pools.
|
|
1809
1855
|
*
|
|
1810
1856
|
* @param request - ListOperationPlansForRegionRequest
|
|
1811
1857
|
* @param headers - map
|
|
@@ -1816,7 +1862,7 @@ export default class Client extends OpenApi {
|
|
|
1816
1862
|
[key: string]: string;
|
|
1817
1863
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOperationPlansForRegionResponse>;
|
|
1818
1864
|
/**
|
|
1819
|
-
*
|
|
1865
|
+
* Query the list of the latest 100 automated O&M execution plans in a specified region. When features such as Auto Mode for Intelligent Cluster Management, automatic cluster upgrade, and node pool automated O&M are enabled, you can use this API to query O&M plans automatically generated by the System and their execution status, such as cluster upgrades or CVE fixes for node pools.
|
|
1820
1866
|
*
|
|
1821
1867
|
* @param request - ListOperationPlansForRegionRequest
|
|
1822
1868
|
* @returns ListOperationPlansForRegionResponse
|
|
@@ -1867,6 +1913,9 @@ export default class Client extends OpenApi {
|
|
|
1867
1913
|
/**
|
|
1868
1914
|
* The Container Service for Kubernetes (ACK) managed Pro cluster type is developed based on the ACK managed Basic cluster type. It inherits all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. It further enhances reliability, security, scheduling capabilities, and offers service level agreement (SLA)-backed guarantees, making it ideal for enterprise customers with large-scale production workloads requiring high stability and security. You can call the MigrateCluster operation to migrate an ACK managed Basic cluster to an ACK managed Pro cluster.
|
|
1869
1915
|
*
|
|
1916
|
+
* @remarks
|
|
1917
|
+
* ACK托管集群基础版迁移至ACK托管集群Pro版后,将新增[集群管理费用](https://help.aliyun.com/document_detail/462278.html)(由ACK收取),其他云资源计费保持不变。
|
|
1918
|
+
*
|
|
1870
1919
|
* @param request - MigrateClusterRequest
|
|
1871
1920
|
* @param headers - map
|
|
1872
1921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1878,12 +1927,19 @@ export default class Client extends OpenApi {
|
|
|
1878
1927
|
/**
|
|
1879
1928
|
* The Container Service for Kubernetes (ACK) managed Pro cluster type is developed based on the ACK managed Basic cluster type. It inherits all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. It further enhances reliability, security, scheduling capabilities, and offers service level agreement (SLA)-backed guarantees, making it ideal for enterprise customers with large-scale production workloads requiring high stability and security. You can call the MigrateCluster operation to migrate an ACK managed Basic cluster to an ACK managed Pro cluster.
|
|
1880
1929
|
*
|
|
1930
|
+
* @remarks
|
|
1931
|
+
* ACK托管集群基础版迁移至ACK托管集群Pro版后,将新增[集群管理费用](https://help.aliyun.com/document_detail/462278.html)(由ACK收取),其他云资源计费保持不变。
|
|
1932
|
+
*
|
|
1881
1933
|
* @param request - MigrateClusterRequest
|
|
1882
1934
|
* @returns MigrateClusterResponse
|
|
1883
1935
|
*/
|
|
1884
1936
|
migrateCluster(clusterId: string, request: $_model.MigrateClusterRequest): Promise<$_model.MigrateClusterResponse>;
|
|
1885
1937
|
/**
|
|
1886
|
-
*
|
|
1938
|
+
* Modify a self-healing rule
|
|
1939
|
+
*
|
|
1940
|
+
* @remarks
|
|
1941
|
+
* >Notice:
|
|
1942
|
+
* This API is not yet available.
|
|
1887
1943
|
*
|
|
1888
1944
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
1889
1945
|
* @param headers - map
|
|
@@ -1894,14 +1950,22 @@ export default class Client extends OpenApi {
|
|
|
1894
1950
|
[key: string]: string;
|
|
1895
1951
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAutoRepairPolicyResponse>;
|
|
1896
1952
|
/**
|
|
1897
|
-
*
|
|
1953
|
+
* Modify a self-healing rule
|
|
1954
|
+
*
|
|
1955
|
+
* @remarks
|
|
1956
|
+
* >Notice:
|
|
1957
|
+
* This API is not yet available.
|
|
1898
1958
|
*
|
|
1899
1959
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
1900
1960
|
* @returns ModifyAutoRepairPolicyResponse
|
|
1901
1961
|
*/
|
|
1902
1962
|
modifyAutoRepairPolicy(clusterId: string, policyId: string, request: $_model.ModifyAutoRepairPolicyRequest): Promise<$_model.ModifyAutoRepairPolicyResponse>;
|
|
1903
1963
|
/**
|
|
1904
|
-
* You can call the ModifyCluster operation to modify the
|
|
1964
|
+
* You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
|
|
1965
|
+
*
|
|
1966
|
+
* @remarks
|
|
1967
|
+
* >Notice:
|
|
1968
|
+
* Starting July 4, 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 input and output parameters and deprecation of OpenAPI operations related to ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).
|
|
1905
1969
|
*
|
|
1906
1970
|
* @param request - ModifyClusterRequest
|
|
1907
1971
|
* @param headers - map
|
|
@@ -1912,7 +1976,11 @@ export default class Client extends OpenApi {
|
|
|
1912
1976
|
[key: string]: string;
|
|
1913
1977
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterResponse>;
|
|
1914
1978
|
/**
|
|
1915
|
-
* You can call the ModifyCluster operation to modify the
|
|
1979
|
+
* You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
|
|
1980
|
+
*
|
|
1981
|
+
* @remarks
|
|
1982
|
+
* >Notice:
|
|
1983
|
+
* Starting July 4, 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 input and output parameters and deprecation of OpenAPI operations related to ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).
|
|
1916
1984
|
*
|
|
1917
1985
|
* @param request - ModifyClusterRequest
|
|
1918
1986
|
* @returns ModifyClusterResponse
|
|
@@ -1949,7 +2017,7 @@ export default class Client extends OpenApi {
|
|
|
1949
2017
|
*/
|
|
1950
2018
|
modifyClusterAddon(clusterId: string, componentId: string, request: $_model.ModifyClusterAddonRequest): Promise<$_model.ModifyClusterAddonResponse>;
|
|
1951
2019
|
/**
|
|
1952
|
-
* You can call the ModifyClusterNodePool
|
|
2020
|
+
* You can call the ModifyClusterNodePool API to update the configuration of a node pool by specifying its node pool ID.
|
|
1953
2021
|
*
|
|
1954
2022
|
* @param request - ModifyClusterNodePoolRequest
|
|
1955
2023
|
* @param headers - map
|
|
@@ -1960,7 +2028,7 @@ export default class Client extends OpenApi {
|
|
|
1960
2028
|
[key: string]: string;
|
|
1961
2029
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterNodePoolResponse>;
|
|
1962
2030
|
/**
|
|
1963
|
-
* You can call the ModifyClusterNodePool
|
|
2031
|
+
* You can call the ModifyClusterNodePool API to update the configuration of a node pool by specifying its node pool ID.
|
|
1964
2032
|
*
|
|
1965
2033
|
* @param request - ModifyClusterNodePoolRequest
|
|
1966
2034
|
* @returns ModifyClusterNodePoolResponse
|
|
@@ -1969,6 +2037,9 @@ export default class Client extends OpenApi {
|
|
|
1969
2037
|
/**
|
|
1970
2038
|
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
1971
2039
|
*
|
|
2040
|
+
* @remarks
|
|
2041
|
+
* - 该API为全量更新,使用时请注意将完整的目标Tags设定为入参,避免丢失已有Tags。如需增量更新,请使用[TagResources接口为集群绑定标签](https://help.aliyun.com/document_detail/2667969.html)。
|
|
2042
|
+
*
|
|
1972
2043
|
* @param request - ModifyClusterTagsRequest
|
|
1973
2044
|
* @param headers - map
|
|
1974
2045
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1980,6 +2051,9 @@ export default class Client extends OpenApi {
|
|
|
1980
2051
|
/**
|
|
1981
2052
|
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
1982
2053
|
*
|
|
2054
|
+
* @remarks
|
|
2055
|
+
* - 该API为全量更新,使用时请注意将完整的目标Tags设定为入参,避免丢失已有Tags。如需增量更新,请使用[TagResources接口为集群绑定标签](https://help.aliyun.com/document_detail/2667969.html)。
|
|
2056
|
+
*
|
|
1983
2057
|
* @param request - ModifyClusterTagsRequest
|
|
1984
2058
|
* @returns ModifyClusterTagsResponse
|
|
1985
2059
|
*/
|
|
@@ -2106,14 +2180,7 @@ export default class Client extends OpenApi {
|
|
|
2106
2180
|
*/
|
|
2107
2181
|
pauseTask(taskId: string): Promise<$_model.PauseTaskResponse>;
|
|
2108
2182
|
/**
|
|
2109
|
-
*
|
|
2110
|
-
*
|
|
2111
|
-
* @remarks
|
|
2112
|
-
* ***
|
|
2113
|
-
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
2114
|
-
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
2115
|
-
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
2116
|
-
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
2183
|
+
* 移除集群节点
|
|
2117
2184
|
*
|
|
2118
2185
|
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
2119
2186
|
*
|
|
@@ -2126,14 +2193,7 @@ export default class Client extends OpenApi {
|
|
|
2126
2193
|
[key: string]: string;
|
|
2127
2194
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveClusterNodesResponse>;
|
|
2128
2195
|
/**
|
|
2129
|
-
*
|
|
2130
|
-
*
|
|
2131
|
-
* @remarks
|
|
2132
|
-
* ***
|
|
2133
|
-
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
2134
|
-
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
2135
|
-
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
2136
|
-
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
2196
|
+
* 移除集群节点
|
|
2137
2197
|
*
|
|
2138
2198
|
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
2139
2199
|
*
|
|
@@ -2314,11 +2374,7 @@ export default class Client extends OpenApi {
|
|
|
2314
2374
|
*/
|
|
2315
2375
|
scaleClusterNodePool(ClusterId: string, NodepoolId: string, request: $_model.ScaleClusterNodePoolRequest): Promise<$_model.ScaleClusterNodePoolResponse>;
|
|
2316
2376
|
/**
|
|
2317
|
-
*
|
|
2318
|
-
*
|
|
2319
|
-
* @remarks
|
|
2320
|
-
* *
|
|
2321
|
-
* ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](https://help.aliyun.com/document_detail/184928.html).
|
|
2377
|
+
* 扩容Kubernetes集群
|
|
2322
2378
|
*
|
|
2323
2379
|
* @param request - ScaleOutClusterRequest
|
|
2324
2380
|
* @param headers - map
|
|
@@ -2329,11 +2385,7 @@ export default class Client extends OpenApi {
|
|
|
2329
2385
|
[key: string]: string;
|
|
2330
2386
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ScaleOutClusterResponse>;
|
|
2331
2387
|
/**
|
|
2332
|
-
*
|
|
2333
|
-
*
|
|
2334
|
-
* @remarks
|
|
2335
|
-
* *
|
|
2336
|
-
* ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](https://help.aliyun.com/document_detail/184928.html).
|
|
2388
|
+
* 扩容Kubernetes集群
|
|
2337
2389
|
*
|
|
2338
2390
|
* @param request - ScaleOutClusterRequest
|
|
2339
2391
|
* @returns ScaleOutClusterResponse
|
|
@@ -2564,7 +2616,12 @@ export default class Client extends OpenApi {
|
|
|
2564
2616
|
*/
|
|
2565
2617
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: $_model.UpdateK8sClusterUserConfigExpireRequest): Promise<$_model.UpdateK8sClusterUserConfigExpireResponse>;
|
|
2566
2618
|
/**
|
|
2567
|
-
*
|
|
2619
|
+
* Update the configuration of the Secret-at-rest encryption feature for a specified cluster by cluster ID.
|
|
2620
|
+
*
|
|
2621
|
+
* @remarks
|
|
2622
|
+
* 开启或关闭落盘加密功能的过程中以及成功开启该功能后,请勿使用 KMS 控制台或 OpenAPI 禁用或删除该功能所使用的 KMS 密钥,否则会导致集群 API Server 不可用,继而无法正常获取 Secret 和 ServiceAccount 等对象,影响业务应用的正常运行。更多信息,请参见[使用阿里云KMS进行Secret的落盘加密](https://help.aliyun.com/document_detail/177372.html)。
|
|
2623
|
+
* * 调用该 API 的用户或角色需要额外被授予所需的集群 RBAC 权限(需要被授予运维人员或管理员权限),否则将返回“ForbiddenUpdateKMSState”错误码。
|
|
2624
|
+
* * 成功调用该 API 后,集群状态将被变更为“更新中”,待变更完成后集群状态将恢复为“运行中”。针对同一个集群的变更完成后,需要间隔 5 分钟以上才能再次调用该 API,否则将返回“409”状态码。
|
|
2568
2625
|
*
|
|
2569
2626
|
* @param request - UpdateKMSEncryptionRequest
|
|
2570
2627
|
* @param headers - map
|
|
@@ -2575,7 +2632,12 @@ export default class Client extends OpenApi {
|
|
|
2575
2632
|
[key: string]: string;
|
|
2576
2633
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKMSEncryptionResponse>;
|
|
2577
2634
|
/**
|
|
2578
|
-
*
|
|
2635
|
+
* Update the configuration of the Secret-at-rest encryption feature for a specified cluster by cluster ID.
|
|
2636
|
+
*
|
|
2637
|
+
* @remarks
|
|
2638
|
+
* 开启或关闭落盘加密功能的过程中以及成功开启该功能后,请勿使用 KMS 控制台或 OpenAPI 禁用或删除该功能所使用的 KMS 密钥,否则会导致集群 API Server 不可用,继而无法正常获取 Secret 和 ServiceAccount 等对象,影响业务应用的正常运行。更多信息,请参见[使用阿里云KMS进行Secret的落盘加密](https://help.aliyun.com/document_detail/177372.html)。
|
|
2639
|
+
* * 调用该 API 的用户或角色需要额外被授予所需的集群 RBAC 权限(需要被授予运维人员或管理员权限),否则将返回“ForbiddenUpdateKMSState”错误码。
|
|
2640
|
+
* * 成功调用该 API 后,集群状态将被变更为“更新中”,待变更完成后集群状态将恢复为“运行中”。针对同一个集群的变更完成后,需要间隔 5 分钟以上才能再次调用该 API,否则将返回“409”状态码。
|
|
2579
2641
|
*
|
|
2580
2642
|
* @param request - UpdateKMSEncryptionRequest
|
|
2581
2643
|
* @returns UpdateKMSEncryptionResponse
|
|
@@ -2602,6 +2664,9 @@ export default class Client extends OpenApi {
|
|
|
2602
2664
|
/**
|
|
2603
2665
|
* Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services. You can call this operation to enable deletion protection for namespaces or Services that involve businesses-critical and sensitive data to avoid incurring maintenance costs caused by accidental namespace or Service deletion.
|
|
2604
2666
|
*
|
|
2667
|
+
* @remarks
|
|
2668
|
+
* 调用本接口前,您需要先为集群安装或升级安全策略组件。具体操作,请参见[启用安全策略管理](https://help.aliyun.com/document_detail/359818.html)。
|
|
2669
|
+
*
|
|
2605
2670
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
2606
2671
|
* @param headers - map
|
|
2607
2672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2613,6 +2678,9 @@ export default class Client extends OpenApi {
|
|
|
2613
2678
|
/**
|
|
2614
2679
|
* Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services. You can call this operation to enable deletion protection for namespaces or Services that involve businesses-critical and sensitive data to avoid incurring maintenance costs caused by accidental namespace or Service deletion.
|
|
2615
2680
|
*
|
|
2681
|
+
* @remarks
|
|
2682
|
+
* 调用本接口前,您需要先为集群安装或升级安全策略组件。具体操作,请参见[启用安全策略管理](https://help.aliyun.com/document_detail/359818.html)。
|
|
2683
|
+
*
|
|
2616
2684
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
2617
2685
|
* @returns UpdateResourcesDeleteProtectionResponse
|
|
2618
2686
|
*/
|
|
@@ -2696,6 +2764,11 @@ export default class Client extends OpenApi {
|
|
|
2696
2764
|
/**
|
|
2697
2765
|
* Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
2698
2766
|
*
|
|
2767
|
+
* @remarks
|
|
2768
|
+
* - 升级集群组件实例版本可能会影响业务,请评估影响后在业务低峰期操作并提前做好相关的数据备份。
|
|
2769
|
+
* - 升级组件前,请参考[组件发布记录](https://help.aliyun.com/document_detail/176087.html)了解指定组件的变更内容和变更影响。
|
|
2770
|
+
* - 请依次逐个组件升级,确认一个组件升级成功后再升级下一个组件。
|
|
2771
|
+
*
|
|
2699
2772
|
* @param request - UpgradeClusterAddonsRequest
|
|
2700
2773
|
* @param headers - map
|
|
2701
2774
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2707,6 +2780,11 @@ export default class Client extends OpenApi {
|
|
|
2707
2780
|
/**
|
|
2708
2781
|
* Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
2709
2782
|
*
|
|
2783
|
+
* @remarks
|
|
2784
|
+
* - 升级集群组件实例版本可能会影响业务,请评估影响后在业务低峰期操作并提前做好相关的数据备份。
|
|
2785
|
+
* - 升级组件前,请参考[组件发布记录](https://help.aliyun.com/document_detail/176087.html)了解指定组件的变更内容和变更影响。
|
|
2786
|
+
* - 请依次逐个组件升级,确认一个组件升级成功后再升级下一个组件。
|
|
2787
|
+
*
|
|
2710
2788
|
* @param request - UpgradeClusterAddonsRequest
|
|
2711
2789
|
* @returns UpgradeClusterAddonsResponse
|
|
2712
2790
|
*/
|