@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/src/client.ts
CHANGED
|
@@ -64,6 +64,9 @@ export default class Client extends OpenApi {
|
|
|
64
64
|
/**
|
|
65
65
|
* 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.
|
|
66
66
|
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* 调用本接口前,请仔细阅读[使用限制](https://help.aliyun.com/document_detail/86919.html),确保待添加的ECS实例满足条件。
|
|
69
|
+
*
|
|
67
70
|
* @param request - AttachInstancesRequest
|
|
68
71
|
* @param headers - map
|
|
69
72
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -145,6 +148,9 @@ export default class Client extends OpenApi {
|
|
|
145
148
|
/**
|
|
146
149
|
* 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.
|
|
147
150
|
*
|
|
151
|
+
* @remarks
|
|
152
|
+
* 调用本接口前,请仔细阅读[使用限制](https://help.aliyun.com/document_detail/86919.html),确保待添加的ECS实例满足条件。
|
|
153
|
+
*
|
|
148
154
|
* @param request - AttachInstancesRequest
|
|
149
155
|
* @returns AttachInstancesResponse
|
|
150
156
|
*/
|
|
@@ -564,7 +570,11 @@ export default class Client extends OpenApi {
|
|
|
564
570
|
}
|
|
565
571
|
|
|
566
572
|
/**
|
|
567
|
-
*
|
|
573
|
+
* Create a self-healing rule.
|
|
574
|
+
*
|
|
575
|
+
* @remarks
|
|
576
|
+
* >Notice:
|
|
577
|
+
* This API is not yet available.
|
|
568
578
|
*
|
|
569
579
|
* @param request - CreateAutoRepairPolicyRequest
|
|
570
580
|
* @param headers - map
|
|
@@ -609,7 +619,11 @@ export default class Client extends OpenApi {
|
|
|
609
619
|
}
|
|
610
620
|
|
|
611
621
|
/**
|
|
612
|
-
*
|
|
622
|
+
* Create a self-healing rule.
|
|
623
|
+
*
|
|
624
|
+
* @remarks
|
|
625
|
+
* >Notice:
|
|
626
|
+
* This API is not yet available.
|
|
613
627
|
*
|
|
614
628
|
* @param request - CreateAutoRepairPolicyRequest
|
|
615
629
|
* @returns CreateAutoRepairPolicyResponse
|
|
@@ -621,7 +635,7 @@ export default class Client extends OpenApi {
|
|
|
621
635
|
}
|
|
622
636
|
|
|
623
637
|
/**
|
|
624
|
-
*
|
|
638
|
+
* 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.
|
|
625
639
|
*
|
|
626
640
|
* @param request - CreateAutoscalingConfigRequest
|
|
627
641
|
* @param headers - map
|
|
@@ -714,7 +728,7 @@ export default class Client extends OpenApi {
|
|
|
714
728
|
}
|
|
715
729
|
|
|
716
730
|
/**
|
|
717
|
-
*
|
|
731
|
+
* 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.
|
|
718
732
|
*
|
|
719
733
|
* @param request - CreateAutoscalingConfigRequest
|
|
720
734
|
* @returns CreateAutoscalingConfigResponse
|
|
@@ -726,16 +740,17 @@ export default class Client extends OpenApi {
|
|
|
726
740
|
}
|
|
727
741
|
|
|
728
742
|
/**
|
|
729
|
-
*
|
|
743
|
+
* 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.
|
|
730
744
|
*
|
|
731
745
|
* @remarks
|
|
732
|
-
* ###
|
|
733
|
-
*
|
|
734
|
-
* 1.
|
|
735
|
-
* 2.
|
|
736
|
-
* 3.
|
|
737
|
-
* 4.
|
|
738
|
-
*
|
|
746
|
+
* ### Generate OpenAPI request parameters in the console
|
|
747
|
+
* If your CreateCluster API call fails due to invalid parameter combinations, you can generate valid request parameters directly in the console. Follow these steps:
|
|
748
|
+
* 1. Log on to the [Container Service for Kubernetes console](https://csnew.console.aliyun.com). In the left navigation pane, select **Clusters**.
|
|
749
|
+
* 2. On the **Clusters** page, click **Cluster Templates**.
|
|
750
|
+
* 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.
|
|
751
|
+
* 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.
|
|
752
|
+
* >Notice:
|
|
753
|
+
* 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).
|
|
739
754
|
*
|
|
740
755
|
* @param request - CreateClusterRequest
|
|
741
756
|
* @param headers - map
|
|
@@ -1176,16 +1191,17 @@ export default class Client extends OpenApi {
|
|
|
1176
1191
|
}
|
|
1177
1192
|
|
|
1178
1193
|
/**
|
|
1179
|
-
*
|
|
1194
|
+
* 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.
|
|
1180
1195
|
*
|
|
1181
1196
|
* @remarks
|
|
1182
|
-
* ###
|
|
1183
|
-
*
|
|
1184
|
-
* 1.
|
|
1185
|
-
* 2.
|
|
1186
|
-
* 3.
|
|
1187
|
-
* 4.
|
|
1188
|
-
*
|
|
1197
|
+
* ### Generate OpenAPI request parameters in the console
|
|
1198
|
+
* If your CreateCluster API call fails due to invalid parameter combinations, you can generate valid request parameters directly in the console. Follow these steps:
|
|
1199
|
+
* 1. Log on to the [Container Service for Kubernetes console](https://csnew.console.aliyun.com). In the left navigation pane, select **Clusters**.
|
|
1200
|
+
* 2. On the **Clusters** page, click **Cluster Templates**.
|
|
1201
|
+
* 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.
|
|
1202
|
+
* 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.
|
|
1203
|
+
* >Notice:
|
|
1204
|
+
* 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).
|
|
1189
1205
|
*
|
|
1190
1206
|
* @param request - CreateClusterRequest
|
|
1191
1207
|
* @returns CreateClusterResponse
|
|
@@ -1299,7 +1315,7 @@ export default class Client extends OpenApi {
|
|
|
1299
1315
|
}
|
|
1300
1316
|
|
|
1301
1317
|
/**
|
|
1302
|
-
*
|
|
1318
|
+
* 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.
|
|
1303
1319
|
*
|
|
1304
1320
|
* @param request - CreateClusterNodePoolRequest
|
|
1305
1321
|
* @param headers - map
|
|
@@ -1392,7 +1408,7 @@ export default class Client extends OpenApi {
|
|
|
1392
1408
|
}
|
|
1393
1409
|
|
|
1394
1410
|
/**
|
|
1395
|
-
*
|
|
1411
|
+
* 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.
|
|
1396
1412
|
*
|
|
1397
1413
|
* @param request - CreateClusterNodePoolRequest
|
|
1398
1414
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -1529,6 +1545,9 @@ export default class Client extends OpenApi {
|
|
|
1529
1545
|
/**
|
|
1530
1546
|
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
1531
1547
|
*
|
|
1548
|
+
* @remarks
|
|
1549
|
+
* > 创建触发器仅支持Pod的重新部署。
|
|
1550
|
+
*
|
|
1532
1551
|
* @param request - CreateTriggerRequest
|
|
1533
1552
|
* @param headers - map
|
|
1534
1553
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1574,6 +1593,9 @@ export default class Client extends OpenApi {
|
|
|
1574
1593
|
/**
|
|
1575
1594
|
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
1576
1595
|
*
|
|
1596
|
+
* @remarks
|
|
1597
|
+
* > 创建触发器仅支持Pod的重新部署。
|
|
1598
|
+
*
|
|
1577
1599
|
* @param request - CreateTriggerRequest
|
|
1578
1600
|
* @returns CreateTriggerResponse
|
|
1579
1601
|
*/
|
|
@@ -1584,7 +1606,7 @@ export default class Client extends OpenApi {
|
|
|
1584
1606
|
}
|
|
1585
1607
|
|
|
1586
1608
|
/**
|
|
1587
|
-
* Deletes
|
|
1609
|
+
* Deletes ACK alert contacts.
|
|
1588
1610
|
*
|
|
1589
1611
|
* @param tmpReq - DeleteAlertContactRequest
|
|
1590
1612
|
* @param headers - map
|
|
@@ -1623,7 +1645,7 @@ export default class Client extends OpenApi {
|
|
|
1623
1645
|
}
|
|
1624
1646
|
|
|
1625
1647
|
/**
|
|
1626
|
-
* Deletes
|
|
1648
|
+
* Deletes ACK alert contacts.
|
|
1627
1649
|
*
|
|
1628
1650
|
* @param request - DeleteAlertContactRequest
|
|
1629
1651
|
* @returns DeleteAlertContactResponse
|
|
@@ -1686,7 +1708,11 @@ export default class Client extends OpenApi {
|
|
|
1686
1708
|
}
|
|
1687
1709
|
|
|
1688
1710
|
/**
|
|
1689
|
-
*
|
|
1711
|
+
* Deletes an auto repair policy.
|
|
1712
|
+
*
|
|
1713
|
+
* @remarks
|
|
1714
|
+
* >Notice:
|
|
1715
|
+
* This API is not yet publicly available.
|
|
1690
1716
|
*
|
|
1691
1717
|
* @param headers - map
|
|
1692
1718
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1711,7 +1737,11 @@ export default class Client extends OpenApi {
|
|
|
1711
1737
|
}
|
|
1712
1738
|
|
|
1713
1739
|
/**
|
|
1714
|
-
*
|
|
1740
|
+
* Deletes an auto repair policy.
|
|
1741
|
+
*
|
|
1742
|
+
* @remarks
|
|
1743
|
+
* >Notice:
|
|
1744
|
+
* This API is not yet publicly available.
|
|
1715
1745
|
* @returns DeleteAutoRepairPolicyResponse
|
|
1716
1746
|
*/
|
|
1717
1747
|
async deleteAutoRepairPolicy(clusterId: string, policyId: string): Promise<$_model.DeleteAutoRepairPolicyResponse> {
|
|
@@ -1721,15 +1751,15 @@ export default class Client extends OpenApi {
|
|
|
1721
1751
|
}
|
|
1722
1752
|
|
|
1723
1753
|
/**
|
|
1724
|
-
*
|
|
1754
|
+
* 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.
|
|
1725
1755
|
*
|
|
1726
1756
|
* @remarks
|
|
1727
|
-
*
|
|
1728
|
-
*
|
|
1729
|
-
*
|
|
1730
|
-
*
|
|
1731
|
-
*
|
|
1732
|
-
*
|
|
1757
|
+
* Important
|
|
1758
|
+
* - 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.
|
|
1759
|
+
* - Subscription-based APIServer SLB resources are not automatically released. You must manually release them to avoid unnecessary charges.
|
|
1760
|
+
* - 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.
|
|
1761
|
+
* - ECIs created with virtual nodes are automatically released.
|
|
1762
|
+
* - 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.
|
|
1733
1763
|
*
|
|
1734
1764
|
* @param tmpReq - DeleteClusterRequest
|
|
1735
1765
|
* @param headers - map
|
|
@@ -1784,15 +1814,15 @@ export default class Client extends OpenApi {
|
|
|
1784
1814
|
}
|
|
1785
1815
|
|
|
1786
1816
|
/**
|
|
1787
|
-
*
|
|
1817
|
+
* 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.
|
|
1788
1818
|
*
|
|
1789
1819
|
* @remarks
|
|
1790
|
-
*
|
|
1791
|
-
*
|
|
1792
|
-
*
|
|
1793
|
-
*
|
|
1794
|
-
*
|
|
1795
|
-
*
|
|
1820
|
+
* Important
|
|
1821
|
+
* - 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.
|
|
1822
|
+
* - Subscription-based APIServer SLB resources are not automatically released. You must manually release them to avoid unnecessary charges.
|
|
1823
|
+
* - 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.
|
|
1824
|
+
* - ECIs created with virtual nodes are automatically released.
|
|
1825
|
+
* - 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.
|
|
1796
1826
|
*
|
|
1797
1827
|
* @param request - DeleteClusterRequest
|
|
1798
1828
|
* @returns DeleteClusterResponse
|
|
@@ -2108,7 +2138,7 @@ export default class Client extends OpenApi {
|
|
|
2108
2138
|
}
|
|
2109
2139
|
|
|
2110
2140
|
/**
|
|
2111
|
-
*
|
|
2141
|
+
* 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.
|
|
2112
2142
|
*
|
|
2113
2143
|
* @param request - DeployPolicyInstanceRequest
|
|
2114
2144
|
* @param headers - map
|
|
@@ -2149,7 +2179,7 @@ export default class Client extends OpenApi {
|
|
|
2149
2179
|
}
|
|
2150
2180
|
|
|
2151
2181
|
/**
|
|
2152
|
-
*
|
|
2182
|
+
* 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.
|
|
2153
2183
|
*
|
|
2154
2184
|
* @param request - DeployPolicyInstanceRequest
|
|
2155
2185
|
* @returns DeployPolicyInstanceResponse
|
|
@@ -2296,7 +2326,11 @@ export default class Client extends OpenApi {
|
|
|
2296
2326
|
}
|
|
2297
2327
|
|
|
2298
2328
|
/**
|
|
2299
|
-
*
|
|
2329
|
+
* View self-healing rules.
|
|
2330
|
+
*
|
|
2331
|
+
* @remarks
|
|
2332
|
+
* >Notice:
|
|
2333
|
+
* This API is not yet available.
|
|
2300
2334
|
*
|
|
2301
2335
|
* @param headers - map
|
|
2302
2336
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2321,7 +2355,11 @@ export default class Client extends OpenApi {
|
|
|
2321
2355
|
}
|
|
2322
2356
|
|
|
2323
2357
|
/**
|
|
2324
|
-
*
|
|
2358
|
+
* View self-healing rules.
|
|
2359
|
+
*
|
|
2360
|
+
* @remarks
|
|
2361
|
+
* >Notice:
|
|
2362
|
+
* This API is not yet available.
|
|
2325
2363
|
* @returns DescribeAutoRepairPolicyResponse
|
|
2326
2364
|
*/
|
|
2327
2365
|
async describeAutoRepairPolicy(clusterId: string, policyId: string): Promise<$_model.DescribeAutoRepairPolicyResponse> {
|
|
@@ -2557,7 +2595,7 @@ export default class Client extends OpenApi {
|
|
|
2557
2595
|
}
|
|
2558
2596
|
|
|
2559
2597
|
/**
|
|
2560
|
-
*
|
|
2598
|
+
* 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.
|
|
2561
2599
|
*
|
|
2562
2600
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
2563
2601
|
* @param headers - map
|
|
@@ -2618,7 +2656,7 @@ export default class Client extends OpenApi {
|
|
|
2618
2656
|
}
|
|
2619
2657
|
|
|
2620
2658
|
/**
|
|
2621
|
-
*
|
|
2659
|
+
* 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.
|
|
2622
2660
|
*
|
|
2623
2661
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
2624
2662
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -2630,7 +2668,7 @@ export default class Client extends OpenApi {
|
|
|
2630
2668
|
}
|
|
2631
2669
|
|
|
2632
2670
|
/**
|
|
2633
|
-
* You can call the DescribeClusterDetail operation to query
|
|
2671
|
+
* You can call the DescribeClusterDetail operation to query detailed information about a specified cluster by its cluster ID.
|
|
2634
2672
|
*
|
|
2635
2673
|
* @param headers - map
|
|
2636
2674
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2655,7 +2693,7 @@ export default class Client extends OpenApi {
|
|
|
2655
2693
|
}
|
|
2656
2694
|
|
|
2657
2695
|
/**
|
|
2658
|
-
* You can call the DescribeClusterDetail operation to query
|
|
2696
|
+
* You can call the DescribeClusterDetail operation to query detailed information about a specified cluster by its cluster ID.
|
|
2659
2697
|
* @returns DescribeClusterDetailResponse
|
|
2660
2698
|
*/
|
|
2661
2699
|
async describeClusterDetail(ClusterId: string): Promise<$_model.DescribeClusterDetailResponse> {
|
|
@@ -2665,7 +2703,7 @@ export default class Client extends OpenApi {
|
|
|
2665
2703
|
}
|
|
2666
2704
|
|
|
2667
2705
|
/**
|
|
2668
|
-
*
|
|
2706
|
+
* 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.
|
|
2669
2707
|
*
|
|
2670
2708
|
* @param request - DescribeClusterEventsRequest
|
|
2671
2709
|
* @param headers - map
|
|
@@ -2714,7 +2752,7 @@ export default class Client extends OpenApi {
|
|
|
2714
2752
|
}
|
|
2715
2753
|
|
|
2716
2754
|
/**
|
|
2717
|
-
*
|
|
2755
|
+
* 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.
|
|
2718
2756
|
*
|
|
2719
2757
|
* @param request - DescribeClusterEventsRequest
|
|
2720
2758
|
* @returns DescribeClusterEventsResponse
|
|
@@ -2761,7 +2799,7 @@ export default class Client extends OpenApi {
|
|
|
2761
2799
|
}
|
|
2762
2800
|
|
|
2763
2801
|
/**
|
|
2764
|
-
* You can call the DescribeClusterNodePoolDetail
|
|
2802
|
+
* You can call the DescribeClusterNodePoolDetail operation with a node pool ID to query the configuration of a specific node pool in a cluster.
|
|
2765
2803
|
*
|
|
2766
2804
|
* @param headers - map
|
|
2767
2805
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2786,7 +2824,7 @@ export default class Client extends OpenApi {
|
|
|
2786
2824
|
}
|
|
2787
2825
|
|
|
2788
2826
|
/**
|
|
2789
|
-
* You can call the DescribeClusterNodePoolDetail
|
|
2827
|
+
* You can call the DescribeClusterNodePoolDetail operation with a node pool ID to query the configuration of a specific node pool in a cluster.
|
|
2790
2828
|
* @returns DescribeClusterNodePoolDetailResponse
|
|
2791
2829
|
*/
|
|
2792
2830
|
async describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<$_model.DescribeClusterNodePoolDetailResponse> {
|
|
@@ -2796,7 +2834,7 @@ export default class Client extends OpenApi {
|
|
|
2796
2834
|
}
|
|
2797
2835
|
|
|
2798
2836
|
/**
|
|
2799
|
-
*
|
|
2837
|
+
* Lists all node pools in a cluster.
|
|
2800
2838
|
*
|
|
2801
2839
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2802
2840
|
* @param headers - map
|
|
@@ -2829,7 +2867,7 @@ export default class Client extends OpenApi {
|
|
|
2829
2867
|
}
|
|
2830
2868
|
|
|
2831
2869
|
/**
|
|
2832
|
-
*
|
|
2870
|
+
* Lists all node pools in a cluster.
|
|
2833
2871
|
*
|
|
2834
2872
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2835
2873
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -2902,7 +2940,7 @@ export default class Client extends OpenApi {
|
|
|
2902
2940
|
}
|
|
2903
2941
|
|
|
2904
2942
|
/**
|
|
2905
|
-
*
|
|
2943
|
+
* 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.
|
|
2906
2944
|
*
|
|
2907
2945
|
* @param request - DescribeClusterResourcesRequest
|
|
2908
2946
|
* @param headers - map
|
|
@@ -2935,7 +2973,7 @@ export default class Client extends OpenApi {
|
|
|
2935
2973
|
}
|
|
2936
2974
|
|
|
2937
2975
|
/**
|
|
2938
|
-
*
|
|
2976
|
+
* 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.
|
|
2939
2977
|
*
|
|
2940
2978
|
* @param request - DescribeClusterResourcesRequest
|
|
2941
2979
|
* @returns DescribeClusterResourcesResponse
|
|
@@ -2947,7 +2985,7 @@ export default class Client extends OpenApi {
|
|
|
2947
2985
|
}
|
|
2948
2986
|
|
|
2949
2987
|
/**
|
|
2950
|
-
*
|
|
2988
|
+
* Lists the tasks in a specified cluster.
|
|
2951
2989
|
*
|
|
2952
2990
|
* @param request - DescribeClusterTasksRequest
|
|
2953
2991
|
* @param headers - map
|
|
@@ -2992,7 +3030,7 @@ export default class Client extends OpenApi {
|
|
|
2992
3030
|
}
|
|
2993
3031
|
|
|
2994
3032
|
/**
|
|
2995
|
-
*
|
|
3033
|
+
* Lists the tasks in a specified cluster.
|
|
2996
3034
|
*
|
|
2997
3035
|
* @param request - DescribeClusterTasksRequest
|
|
2998
3036
|
* @returns DescribeClusterTasksResponse
|
|
@@ -3061,7 +3099,7 @@ export default class Client extends OpenApi {
|
|
|
3061
3099
|
}
|
|
3062
3100
|
|
|
3063
3101
|
/**
|
|
3064
|
-
*
|
|
3102
|
+
* Obtain the kubeconfig API for a cluster
|
|
3065
3103
|
*
|
|
3066
3104
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
3067
3105
|
*
|
|
@@ -3100,7 +3138,7 @@ export default class Client extends OpenApi {
|
|
|
3100
3138
|
}
|
|
3101
3139
|
|
|
3102
3140
|
/**
|
|
3103
|
-
*
|
|
3141
|
+
* Obtain the kubeconfig API for a cluster
|
|
3104
3142
|
*
|
|
3105
3143
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
3106
3144
|
*
|
|
@@ -3150,7 +3188,7 @@ export default class Client extends OpenApi {
|
|
|
3150
3188
|
}
|
|
3151
3189
|
|
|
3152
3190
|
/**
|
|
3153
|
-
*
|
|
3191
|
+
* View all clusters (including Swarm and Kubernetes clusters) created in the container service.
|
|
3154
3192
|
*
|
|
3155
3193
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
3156
3194
|
*
|
|
@@ -3193,7 +3231,7 @@ export default class Client extends OpenApi {
|
|
|
3193
3231
|
}
|
|
3194
3232
|
|
|
3195
3233
|
/**
|
|
3196
|
-
*
|
|
3234
|
+
* View all clusters (including Swarm and Kubernetes clusters) created in the container service.
|
|
3197
3235
|
*
|
|
3198
3236
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
3199
3237
|
*
|
|
@@ -3208,7 +3246,7 @@ export default class Client extends OpenApi {
|
|
|
3208
3246
|
}
|
|
3209
3247
|
|
|
3210
3248
|
/**
|
|
3211
|
-
*
|
|
3249
|
+
* Lists all clusters in a specified region.
|
|
3212
3250
|
*
|
|
3213
3251
|
* @param request - DescribeClustersForRegionRequest
|
|
3214
3252
|
* @param headers - map
|
|
@@ -3265,7 +3303,7 @@ export default class Client extends OpenApi {
|
|
|
3265
3303
|
}
|
|
3266
3304
|
|
|
3267
3305
|
/**
|
|
3268
|
-
*
|
|
3306
|
+
* Lists all clusters in a specified region.
|
|
3269
3307
|
*
|
|
3270
3308
|
* @param request - DescribeClustersForRegionRequest
|
|
3271
3309
|
* @returns DescribeClustersForRegionResponse
|
|
@@ -3277,7 +3315,7 @@ export default class Client extends OpenApi {
|
|
|
3277
3315
|
}
|
|
3278
3316
|
|
|
3279
3317
|
/**
|
|
3280
|
-
*
|
|
3318
|
+
* Use the DescribeClustersV1 API to list ACK clusters by criteria such as cluster type and cluster specification.
|
|
3281
3319
|
*
|
|
3282
3320
|
* @param request - DescribeClustersV1Request
|
|
3283
3321
|
* @param headers - map
|
|
@@ -3338,7 +3376,7 @@ export default class Client extends OpenApi {
|
|
|
3338
3376
|
}
|
|
3339
3377
|
|
|
3340
3378
|
/**
|
|
3341
|
-
*
|
|
3379
|
+
* Use the DescribeClustersV1 API to list ACK clusters by criteria such as cluster type and cluster specification.
|
|
3342
3380
|
*
|
|
3343
3381
|
* @param request - DescribeClustersV1Request
|
|
3344
3382
|
* @returns DescribeClustersV1Response
|
|
@@ -3350,7 +3388,7 @@ export default class Client extends OpenApi {
|
|
|
3350
3388
|
}
|
|
3351
3389
|
|
|
3352
3390
|
/**
|
|
3353
|
-
*
|
|
3391
|
+
* 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.
|
|
3354
3392
|
*
|
|
3355
3393
|
* @param request - DescribeEventsRequest
|
|
3356
3394
|
* @param headers - map
|
|
@@ -3403,7 +3441,7 @@ export default class Client extends OpenApi {
|
|
|
3403
3441
|
}
|
|
3404
3442
|
|
|
3405
3443
|
/**
|
|
3406
|
-
*
|
|
3444
|
+
* 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.
|
|
3407
3445
|
*
|
|
3408
3446
|
* @param request - DescribeEventsRequest
|
|
3409
3447
|
* @returns DescribeEventsResponse
|
|
@@ -3415,7 +3453,7 @@ export default class Client extends OpenApi {
|
|
|
3415
3453
|
}
|
|
3416
3454
|
|
|
3417
3455
|
/**
|
|
3418
|
-
*
|
|
3456
|
+
* Retrieves a list of events in a specified region.
|
|
3419
3457
|
*
|
|
3420
3458
|
* @param request - DescribeEventsForRegionRequest
|
|
3421
3459
|
* @param headers - map
|
|
@@ -3464,7 +3502,7 @@ export default class Client extends OpenApi {
|
|
|
3464
3502
|
}
|
|
3465
3503
|
|
|
3466
3504
|
/**
|
|
3467
|
-
*
|
|
3505
|
+
* Retrieves a list of events in a specified region.
|
|
3468
3506
|
*
|
|
3469
3507
|
* @param request - DescribeEventsForRegionRequest
|
|
3470
3508
|
* @returns DescribeEventsForRegionResponse
|
|
@@ -3720,7 +3758,7 @@ export default class Client extends OpenApi {
|
|
|
3720
3758
|
}
|
|
3721
3759
|
|
|
3722
3760
|
/**
|
|
3723
|
-
* Container
|
|
3761
|
+
* 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.
|
|
3724
3762
|
*
|
|
3725
3763
|
* @param headers - map
|
|
3726
3764
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3745,7 +3783,7 @@ export default class Client extends OpenApi {
|
|
|
3745
3783
|
}
|
|
3746
3784
|
|
|
3747
3785
|
/**
|
|
3748
|
-
* Container
|
|
3786
|
+
* 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.
|
|
3749
3787
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
3750
3788
|
*/
|
|
3751
3789
|
async describePolicyGovernanceInCluster(clusterId: string): Promise<$_model.DescribePolicyGovernanceInClusterResponse> {
|
|
@@ -3996,7 +4034,7 @@ export default class Client extends OpenApi {
|
|
|
3996
4034
|
}
|
|
3997
4035
|
|
|
3998
4036
|
/**
|
|
3999
|
-
*
|
|
4037
|
+
* Use the DescribeTaskInfo operation to query details about a cluster task, such as its task type, running state, and running stage.
|
|
4000
4038
|
*
|
|
4001
4039
|
* @param headers - map
|
|
4002
4040
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4021,7 +4059,7 @@ export default class Client extends OpenApi {
|
|
|
4021
4059
|
}
|
|
4022
4060
|
|
|
4023
4061
|
/**
|
|
4024
|
-
*
|
|
4062
|
+
* Use the DescribeTaskInfo operation to query details about a cluster task, such as its task type, running state, and running stage.
|
|
4025
4063
|
* @returns DescribeTaskInfoResponse
|
|
4026
4064
|
*/
|
|
4027
4065
|
async describeTaskInfo(taskId: string): Promise<$_model.DescribeTaskInfoResponse> {
|
|
@@ -4769,11 +4807,11 @@ export default class Client extends OpenApi {
|
|
|
4769
4807
|
}
|
|
4770
4808
|
|
|
4771
4809
|
/**
|
|
4772
|
-
* By default, RAM
|
|
4810
|
+
* 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.
|
|
4773
4811
|
*
|
|
4774
4812
|
* @remarks
|
|
4775
|
-
*
|
|
4776
|
-
*
|
|
4813
|
+
* - 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).
|
|
4814
|
+
* - 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.
|
|
4777
4815
|
*
|
|
4778
4816
|
* @param request - GrantPermissionsRequest
|
|
4779
4817
|
* @param headers - map
|
|
@@ -4801,11 +4839,11 @@ export default class Client extends OpenApi {
|
|
|
4801
4839
|
}
|
|
4802
4840
|
|
|
4803
4841
|
/**
|
|
4804
|
-
* By default, RAM
|
|
4842
|
+
* 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.
|
|
4805
4843
|
*
|
|
4806
4844
|
* @remarks
|
|
4807
|
-
*
|
|
4808
|
-
*
|
|
4845
|
+
* - 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).
|
|
4846
|
+
* - 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.
|
|
4809
4847
|
*
|
|
4810
4848
|
* @param request - GrantPermissionsRequest
|
|
4811
4849
|
* @returns GrantPermissionsResponse
|
|
@@ -4975,7 +5013,11 @@ export default class Client extends OpenApi {
|
|
|
4975
5013
|
}
|
|
4976
5014
|
|
|
4977
5015
|
/**
|
|
4978
|
-
*
|
|
5016
|
+
* Returns a list of self-healing rules.
|
|
5017
|
+
*
|
|
5018
|
+
* @remarks
|
|
5019
|
+
* >Notice:
|
|
5020
|
+
* This API will be available in a future release.
|
|
4979
5021
|
*
|
|
4980
5022
|
* @param headers - map
|
|
4981
5023
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5000,7 +5042,11 @@ export default class Client extends OpenApi {
|
|
|
5000
5042
|
}
|
|
5001
5043
|
|
|
5002
5044
|
/**
|
|
5003
|
-
*
|
|
5045
|
+
* Returns a list of self-healing rules.
|
|
5046
|
+
*
|
|
5047
|
+
* @remarks
|
|
5048
|
+
* >Notice:
|
|
5049
|
+
* This API will be available in a future release.
|
|
5004
5050
|
* @returns ListAutoRepairPoliciesResponse
|
|
5005
5051
|
*/
|
|
5006
5052
|
async listAutoRepairPolicies(clusterId: string): Promise<$_model.ListAutoRepairPoliciesResponse> {
|
|
@@ -5178,11 +5224,11 @@ export default class Client extends OpenApi {
|
|
|
5178
5224
|
}
|
|
5179
5225
|
|
|
5180
5226
|
/**
|
|
5181
|
-
*
|
|
5227
|
+
* 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.
|
|
5182
5228
|
*
|
|
5183
5229
|
* @remarks
|
|
5184
|
-
* > -
|
|
5185
|
-
* > -
|
|
5230
|
+
* > - Invoking this API requires the ram:ListUsers and ram:ListRoles permissions.
|
|
5231
|
+
* > - Invoking this API requires permissions to manage Container Service (CS) (AliyunCSFullAccess).
|
|
5186
5232
|
*
|
|
5187
5233
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
5188
5234
|
* @param headers - map
|
|
@@ -5223,11 +5269,11 @@ export default class Client extends OpenApi {
|
|
|
5223
5269
|
}
|
|
5224
5270
|
|
|
5225
5271
|
/**
|
|
5226
|
-
*
|
|
5272
|
+
* 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.
|
|
5227
5273
|
*
|
|
5228
5274
|
* @remarks
|
|
5229
|
-
* > -
|
|
5230
|
-
* > -
|
|
5275
|
+
* > - Invoking this API requires the ram:ListUsers and ram:ListRoles permissions.
|
|
5276
|
+
* > - Invoking this API requires permissions to manage Container Service (CS) (AliyunCSFullAccess).
|
|
5231
5277
|
*
|
|
5232
5278
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
5233
5279
|
* @returns ListClusterKubeconfigStatesResponse
|
|
@@ -5288,7 +5334,7 @@ export default class Client extends OpenApi {
|
|
|
5288
5334
|
}
|
|
5289
5335
|
|
|
5290
5336
|
/**
|
|
5291
|
-
*
|
|
5337
|
+
* 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.
|
|
5292
5338
|
*
|
|
5293
5339
|
* @param request - ListOperationPlansForRegionRequest
|
|
5294
5340
|
* @param headers - map
|
|
@@ -5329,7 +5375,7 @@ export default class Client extends OpenApi {
|
|
|
5329
5375
|
}
|
|
5330
5376
|
|
|
5331
5377
|
/**
|
|
5332
|
-
*
|
|
5378
|
+
* 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.
|
|
5333
5379
|
*
|
|
5334
5380
|
* @param request - ListOperationPlansForRegionRequest
|
|
5335
5381
|
* @returns ListOperationPlansForRegionResponse
|
|
@@ -5469,6 +5515,9 @@ export default class Client extends OpenApi {
|
|
|
5469
5515
|
/**
|
|
5470
5516
|
* 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.
|
|
5471
5517
|
*
|
|
5518
|
+
* @remarks
|
|
5519
|
+
* ACK托管集群基础版迁移至ACK托管集群Pro版后,将新增[集群管理费用](https://help.aliyun.com/document_detail/462278.html)(由ACK收取),其他云资源计费保持不变。
|
|
5520
|
+
*
|
|
5472
5521
|
* @param request - MigrateClusterRequest
|
|
5473
5522
|
* @param headers - map
|
|
5474
5523
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5506,6 +5555,9 @@ export default class Client extends OpenApi {
|
|
|
5506
5555
|
/**
|
|
5507
5556
|
* 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.
|
|
5508
5557
|
*
|
|
5558
|
+
* @remarks
|
|
5559
|
+
* ACK托管集群基础版迁移至ACK托管集群Pro版后,将新增[集群管理费用](https://help.aliyun.com/document_detail/462278.html)(由ACK收取),其他云资源计费保持不变。
|
|
5560
|
+
*
|
|
5509
5561
|
* @param request - MigrateClusterRequest
|
|
5510
5562
|
* @returns MigrateClusterResponse
|
|
5511
5563
|
*/
|
|
@@ -5516,7 +5568,11 @@ export default class Client extends OpenApi {
|
|
|
5516
5568
|
}
|
|
5517
5569
|
|
|
5518
5570
|
/**
|
|
5519
|
-
*
|
|
5571
|
+
* Modify a self-healing rule
|
|
5572
|
+
*
|
|
5573
|
+
* @remarks
|
|
5574
|
+
* >Notice:
|
|
5575
|
+
* This API is not yet available.
|
|
5520
5576
|
*
|
|
5521
5577
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
5522
5578
|
* @param headers - map
|
|
@@ -5553,7 +5609,11 @@ export default class Client extends OpenApi {
|
|
|
5553
5609
|
}
|
|
5554
5610
|
|
|
5555
5611
|
/**
|
|
5556
|
-
*
|
|
5612
|
+
* Modify a self-healing rule
|
|
5613
|
+
*
|
|
5614
|
+
* @remarks
|
|
5615
|
+
* >Notice:
|
|
5616
|
+
* This API is not yet available.
|
|
5557
5617
|
*
|
|
5558
5618
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
5559
5619
|
* @returns ModifyAutoRepairPolicyResponse
|
|
@@ -5565,7 +5625,11 @@ export default class Client extends OpenApi {
|
|
|
5565
5625
|
}
|
|
5566
5626
|
|
|
5567
5627
|
/**
|
|
5568
|
-
* You can call the ModifyCluster operation to modify the
|
|
5628
|
+
* You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
|
|
5629
|
+
*
|
|
5630
|
+
* @remarks
|
|
5631
|
+
* >Notice:
|
|
5632
|
+
* 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).
|
|
5569
5633
|
*
|
|
5570
5634
|
* @param request - ModifyClusterRequest
|
|
5571
5635
|
* @param headers - map
|
|
@@ -5674,7 +5738,11 @@ export default class Client extends OpenApi {
|
|
|
5674
5738
|
}
|
|
5675
5739
|
|
|
5676
5740
|
/**
|
|
5677
|
-
* You can call the ModifyCluster operation to modify the
|
|
5741
|
+
* You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
|
|
5742
|
+
*
|
|
5743
|
+
* @remarks
|
|
5744
|
+
* >Notice:
|
|
5745
|
+
* 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).
|
|
5678
5746
|
*
|
|
5679
5747
|
* @param request - ModifyClusterRequest
|
|
5680
5748
|
* @returns ModifyClusterResponse
|
|
@@ -5743,7 +5811,7 @@ export default class Client extends OpenApi {
|
|
|
5743
5811
|
}
|
|
5744
5812
|
|
|
5745
5813
|
/**
|
|
5746
|
-
* You can call the ModifyClusterNodePool
|
|
5814
|
+
* You can call the ModifyClusterNodePool API to update the configuration of a node pool by specifying its node pool ID.
|
|
5747
5815
|
*
|
|
5748
5816
|
* @param request - ModifyClusterNodePoolRequest
|
|
5749
5817
|
* @param headers - map
|
|
@@ -5804,7 +5872,7 @@ export default class Client extends OpenApi {
|
|
|
5804
5872
|
}
|
|
5805
5873
|
|
|
5806
5874
|
/**
|
|
5807
|
-
* You can call the ModifyClusterNodePool
|
|
5875
|
+
* You can call the ModifyClusterNodePool API to update the configuration of a node pool by specifying its node pool ID.
|
|
5808
5876
|
*
|
|
5809
5877
|
* @param request - ModifyClusterNodePoolRequest
|
|
5810
5878
|
* @returns ModifyClusterNodePoolResponse
|
|
@@ -5818,6 +5886,9 @@ export default class Client extends OpenApi {
|
|
|
5818
5886
|
/**
|
|
5819
5887
|
* 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.
|
|
5820
5888
|
*
|
|
5889
|
+
* @remarks
|
|
5890
|
+
* - 该API为全量更新,使用时请注意将完整的目标Tags设定为入参,避免丢失已有Tags。如需增量更新,请使用[TagResources接口为集群绑定标签](https://help.aliyun.com/document_detail/2667969.html)。
|
|
5891
|
+
*
|
|
5821
5892
|
* @param request - ModifyClusterTagsRequest
|
|
5822
5893
|
* @param headers - map
|
|
5823
5894
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5846,6 +5917,9 @@ export default class Client extends OpenApi {
|
|
|
5846
5917
|
/**
|
|
5847
5918
|
* 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.
|
|
5848
5919
|
*
|
|
5920
|
+
* @remarks
|
|
5921
|
+
* - 该API为全量更新,使用时请注意将完整的目标Tags设定为入参,避免丢失已有Tags。如需增量更新,请使用[TagResources接口为集群绑定标签](https://help.aliyun.com/document_detail/2667969.html)。
|
|
5922
|
+
*
|
|
5849
5923
|
* @param request - ModifyClusterTagsRequest
|
|
5850
5924
|
* @returns ModifyClusterTagsResponse
|
|
5851
5925
|
*/
|
|
@@ -6148,14 +6222,7 @@ export default class Client extends OpenApi {
|
|
|
6148
6222
|
}
|
|
6149
6223
|
|
|
6150
6224
|
/**
|
|
6151
|
-
*
|
|
6152
|
-
*
|
|
6153
|
-
* @remarks
|
|
6154
|
-
* ***
|
|
6155
|
-
* * 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.
|
|
6156
|
-
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6157
|
-
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6158
|
-
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
6225
|
+
* 移除集群节点
|
|
6159
6226
|
*
|
|
6160
6227
|
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
6161
6228
|
*
|
|
@@ -6198,14 +6265,7 @@ export default class Client extends OpenApi {
|
|
|
6198
6265
|
}
|
|
6199
6266
|
|
|
6200
6267
|
/**
|
|
6201
|
-
*
|
|
6202
|
-
*
|
|
6203
|
-
* @remarks
|
|
6204
|
-
* ***
|
|
6205
|
-
* * 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.
|
|
6206
|
-
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6207
|
-
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6208
|
-
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
6268
|
+
* 移除集群节点
|
|
6209
6269
|
*
|
|
6210
6270
|
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
6211
6271
|
*
|
|
@@ -6651,11 +6711,7 @@ export default class Client extends OpenApi {
|
|
|
6651
6711
|
}
|
|
6652
6712
|
|
|
6653
6713
|
/**
|
|
6654
|
-
*
|
|
6655
|
-
*
|
|
6656
|
-
* @remarks
|
|
6657
|
-
* *
|
|
6658
|
-
* ****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).
|
|
6714
|
+
* 扩容Kubernetes集群
|
|
6659
6715
|
*
|
|
6660
6716
|
* @param request - ScaleOutClusterRequest
|
|
6661
6717
|
* @param headers - map
|
|
@@ -6768,11 +6824,7 @@ export default class Client extends OpenApi {
|
|
|
6768
6824
|
}
|
|
6769
6825
|
|
|
6770
6826
|
/**
|
|
6771
|
-
*
|
|
6772
|
-
*
|
|
6773
|
-
* @remarks
|
|
6774
|
-
* *
|
|
6775
|
-
* ****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).
|
|
6827
|
+
* 扩容Kubernetes集群
|
|
6776
6828
|
*
|
|
6777
6829
|
* @param request - ScaleOutClusterRequest
|
|
6778
6830
|
* @returns ScaleOutClusterResponse
|
|
@@ -7399,7 +7451,12 @@ export default class Client extends OpenApi {
|
|
|
7399
7451
|
}
|
|
7400
7452
|
|
|
7401
7453
|
/**
|
|
7402
|
-
*
|
|
7454
|
+
* Update the configuration of the Secret-at-rest encryption feature for a specified cluster by cluster ID.
|
|
7455
|
+
*
|
|
7456
|
+
* @remarks
|
|
7457
|
+
* 开启或关闭落盘加密功能的过程中以及成功开启该功能后,请勿使用 KMS 控制台或 OpenAPI 禁用或删除该功能所使用的 KMS 密钥,否则会导致集群 API Server 不可用,继而无法正常获取 Secret 和 ServiceAccount 等对象,影响业务应用的正常运行。更多信息,请参见[使用阿里云KMS进行Secret的落盘加密](https://help.aliyun.com/document_detail/177372.html)。
|
|
7458
|
+
* * 调用该 API 的用户或角色需要额外被授予所需的集群 RBAC 权限(需要被授予运维人员或管理员权限),否则将返回“ForbiddenUpdateKMSState”错误码。
|
|
7459
|
+
* * 成功调用该 API 后,集群状态将被变更为“更新中”,待变更完成后集群状态将恢复为“运行中”。针对同一个集群的变更完成后,需要间隔 5 分钟以上才能再次调用该 API,否则将返回“409”状态码。
|
|
7403
7460
|
*
|
|
7404
7461
|
* @param request - UpdateKMSEncryptionRequest
|
|
7405
7462
|
* @param headers - map
|
|
@@ -7436,7 +7493,12 @@ export default class Client extends OpenApi {
|
|
|
7436
7493
|
}
|
|
7437
7494
|
|
|
7438
7495
|
/**
|
|
7439
|
-
*
|
|
7496
|
+
* Update the configuration of the Secret-at-rest encryption feature for a specified cluster by cluster ID.
|
|
7497
|
+
*
|
|
7498
|
+
* @remarks
|
|
7499
|
+
* 开启或关闭落盘加密功能的过程中以及成功开启该功能后,请勿使用 KMS 控制台或 OpenAPI 禁用或删除该功能所使用的 KMS 密钥,否则会导致集群 API Server 不可用,继而无法正常获取 Secret 和 ServiceAccount 等对象,影响业务应用的正常运行。更多信息,请参见[使用阿里云KMS进行Secret的落盘加密](https://help.aliyun.com/document_detail/177372.html)。
|
|
7500
|
+
* * 调用该 API 的用户或角色需要额外被授予所需的集群 RBAC 权限(需要被授予运维人员或管理员权限),否则将返回“ForbiddenUpdateKMSState”错误码。
|
|
7501
|
+
* * 成功调用该 API 后,集群状态将被变更为“更新中”,待变更完成后集群状态将恢复为“运行中”。针对同一个集群的变更完成后,需要间隔 5 分钟以上才能再次调用该 API,否则将返回“409”状态码。
|
|
7440
7502
|
*
|
|
7441
7503
|
* @param request - UpdateKMSEncryptionRequest
|
|
7442
7504
|
* @returns UpdateKMSEncryptionResponse
|
|
@@ -7515,6 +7577,9 @@ export default class Client extends OpenApi {
|
|
|
7515
7577
|
/**
|
|
7516
7578
|
* 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.
|
|
7517
7579
|
*
|
|
7580
|
+
* @remarks
|
|
7581
|
+
* 调用本接口前,您需要先为集群安装或升级安全策略组件。具体操作,请参见[启用安全策略管理](https://help.aliyun.com/document_detail/359818.html)。
|
|
7582
|
+
*
|
|
7518
7583
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
7519
7584
|
* @param headers - map
|
|
7520
7585
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7560,6 +7625,9 @@ export default class Client extends OpenApi {
|
|
|
7560
7625
|
/**
|
|
7561
7626
|
* 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.
|
|
7562
7627
|
*
|
|
7628
|
+
* @remarks
|
|
7629
|
+
* 调用本接口前,您需要先为集群安装或升级安全策略组件。具体操作,请参见[启用安全策略管理](https://help.aliyun.com/document_detail/359818.html)。
|
|
7630
|
+
*
|
|
7563
7631
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
7564
7632
|
* @returns UpdateResourcesDeleteProtectionResponse
|
|
7565
7633
|
*/
|
|
@@ -7762,6 +7830,11 @@ export default class Client extends OpenApi {
|
|
|
7762
7830
|
/**
|
|
7763
7831
|
* 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.
|
|
7764
7832
|
*
|
|
7833
|
+
* @remarks
|
|
7834
|
+
* - 升级集群组件实例版本可能会影响业务,请评估影响后在业务低峰期操作并提前做好相关的数据备份。
|
|
7835
|
+
* - 升级组件前,请参考[组件发布记录](https://help.aliyun.com/document_detail/176087.html)了解指定组件的变更内容和变更影响。
|
|
7836
|
+
* - 请依次逐个组件升级,确认一个组件升级成功后再升级下一个组件。
|
|
7837
|
+
*
|
|
7765
7838
|
* @param request - UpgradeClusterAddonsRequest
|
|
7766
7839
|
* @param headers - map
|
|
7767
7840
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7790,6 +7863,11 @@ export default class Client extends OpenApi {
|
|
|
7790
7863
|
/**
|
|
7791
7864
|
* 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.
|
|
7792
7865
|
*
|
|
7866
|
+
* @remarks
|
|
7867
|
+
* - 升级集群组件实例版本可能会影响业务,请评估影响后在业务低峰期操作并提前做好相关的数据备份。
|
|
7868
|
+
* - 升级组件前,请参考[组件发布记录](https://help.aliyun.com/document_detail/176087.html)了解指定组件的变更内容和变更影响。
|
|
7869
|
+
* - 请依次逐个组件升级,确认一个组件升级成功后再升级下一个组件。
|
|
7870
|
+
*
|
|
7793
7871
|
* @param request - UpgradeClusterAddonsRequest
|
|
7794
7872
|
* @returns UpgradeClusterAddonsResponse
|
|
7795
7873
|
*/
|