@alicloud/cs20151215 7.2.2 → 7.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +270 -270
- package/dist/client.js +270 -270
- package/dist/models/Addon.d.ts +4 -5
- package/dist/models/Addon.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +30 -36
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +7 -7
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -4
- package/dist/models/CheckServiceRoleRequest.d.ts +1 -1
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -4
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -2
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +6 -6
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -298
- package/dist/models/CreateClusterNodePoolRequest.js +36 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +2 -9
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +2 -3
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +4 -4
- package/dist/models/CreateTemplateRequest.d.ts +8 -8
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +7 -7
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -5
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +4 -4
- package/dist/models/DeleteClusterRequest.d.ts +20 -19
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterShrinkRequest.d.ts +11 -10
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +3 -3
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +3 -3
- package/dist/models/DeployPolicyInstanceRequest.d.ts +4 -4
- package/dist/models/DescribeAddonRequest.d.ts +7 -17
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +7 -9
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +11 -13
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +5 -6
- package/dist/models/DescribeClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -13
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -6
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +24 -24
- package/dist/models/DescribeClusterLogsResponse.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +255 -242
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +5 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +244 -295
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +5 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +1 -3
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +19 -21
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +13 -2
- package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -3
- package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterV2userKubeconfigRequest.d.ts +4 -0
- package/dist/models/DescribeClusterV2userKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterV2userKubeconfigResponseBody.d.ts +4 -0
- package/dist/models/DescribeClusterV2userKubeconfigResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +7 -7
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -19
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +26 -26
- package/dist/models/DescribeClustersRequest.d.ts +8 -1
- package/dist/models/DescribeClustersRequest.js.map +1 -1
- package/dist/models/DescribeClustersResponse.d.ts +199 -0
- package/dist/models/DescribeClustersResponse.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +2 -2
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +1 -1
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +8 -9
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +12 -12
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +27 -18
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesResponse.d.ts +10 -10
- package/dist/models/DescribeRegionsRequest.d.ts +2 -2
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +6 -6
- package/dist/models/DescribeTemplatesRequest.d.ts +6 -6
- package/dist/models/DescribeTemplatesResponseBody.d.ts +10 -10
- package/dist/models/DescribeTriggerRequest.d.ts +5 -11
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +3 -3
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +2 -2
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +14 -14
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +2 -2
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +3 -3
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +6 -6
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +4 -4
- package/dist/models/GetKubernetesTriggerResponse.d.ts +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +10 -10
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/ListAddonsRequest.d.ts +6 -17
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +12 -17
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +17 -7
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +8 -8
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +1 -1
- package/dist/models/ListNodePoolComponentsRequest.d.ts +4 -4
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +4 -4
- package/dist/models/ListTagResourcesRequest.d.ts +3 -2
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +3 -2
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +2 -2
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +7 -9
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +5 -5
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/QuotasValue.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +10 -10
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +10 -10
- package/dist/models/RepairClusterNodePoolRequest.d.ts +6 -6
- package/dist/models/RunClusterCheckRequest.d.ts +1 -5
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +7 -7
- package/dist/models/StartAlertRequest.d.ts +2 -2
- package/dist/models/StartAlertResponseBody.d.ts +1 -1
- package/dist/models/StopAlertRequest.d.ts +2 -2
- package/dist/models/StopAlertResponseBody.d.ts +1 -2
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +5 -5
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UntagResourcesRequest.d.ts +6 -6
- package/dist/models/UntagResourcesShrinkRequest.d.ts +6 -6
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +6 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +4 -4
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +2 -2
- package/dist/models/UpdateKmsencryptionRequest.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +5 -5
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +3 -3
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +2 -2
- package/dist/models/UpdateTemplateRequest.d.ts +7 -7
- package/dist/models/UpdateUserPermissionsRequest.d.ts +24 -25
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +6 -7
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +26 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +270 -270
- package/src/models/Addon.ts +4 -5
- package/src/models/AttachInstancesRequest.ts +30 -36
- package/src/models/AttachInstancesToNodePoolRequest.ts +7 -7
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -4
- package/src/models/CheckServiceRoleRequest.ts +1 -1
- package/src/models/CheckServiceRoleResponseBody.ts +4 -4
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -2
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +6 -6
- package/src/models/CreateClusterDiagnosisRequest.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +1 -1
- package/src/models/CreateClusterNodePoolRequest.ts +290 -298
- package/src/models/CreateKubernetesTriggerRequest.ts +3 -10
- package/src/models/CreateKubernetesTriggerResponseBody.ts +3 -4
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +4 -4
- package/src/models/CreateTemplateRequest.ts +8 -8
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/CreateTriggerRequest.ts +7 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -5
- package/src/models/DeleteClusterNodesRequest.ts +4 -4
- package/src/models/DeleteClusterRequest.ts +20 -19
- package/src/models/DeleteClusterResponseBody.ts +3 -3
- package/src/models/DeleteClusterShrinkRequest.ts +11 -10
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +3 -3
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +3 -3
- package/src/models/DeployPolicyInstanceRequest.ts +4 -4
- package/src/models/DescribeAddonRequest.ts +7 -17
- package/src/models/DescribeAddonResponseBody.ts +7 -9
- package/src/models/DescribeAddonsRequest.ts +11 -13
- package/src/models/DescribeAddonsResponseBody.ts +1 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +5 -6
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -13
- package/src/models/DescribeClusterEventsRequest.ts +8 -6
- package/src/models/DescribeClusterEventsResponseBody.ts +24 -24
- package/src/models/DescribeClusterLogsResponse.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +258 -242
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +247 -295
- package/src/models/DescribeClusterResourcesRequest.ts +1 -3
- package/src/models/DescribeClusterResourcesResponse.ts +19 -21
- package/src/models/DescribeClusterTasksRequest.ts +13 -2
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -3
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterV2userKubeconfigRequest.ts +4 -0
- package/src/models/DescribeClusterV2userKubeconfigResponseBody.ts +4 -0
- package/src/models/DescribeClusterVulsResponseBody.ts +7 -7
- package/src/models/DescribeClustersForRegionRequest.ts +19 -19
- package/src/models/DescribeClustersForRegionResponseBody.ts +26 -26
- package/src/models/DescribeClustersRequest.ts +8 -1
- package/src/models/DescribeClustersResponse.ts +199 -0
- package/src/models/DescribeExternalAgentRequest.ts +2 -2
- package/src/models/DescribeNodePoolVulsRequest.ts +1 -1
- package/src/models/DescribeNodePoolVulsResponseBody.ts +8 -9
- package/src/models/DescribePolicyDetailsResponseBody.ts +12 -12
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +27 -18
- package/src/models/DescribePolicyInstancesResponse.ts +10 -10
- package/src/models/DescribeRegionsRequest.ts +2 -2
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeRequest.ts +3 -3
- package/src/models/DescribeTemplateAttributeResponse.ts +6 -6
- package/src/models/DescribeTemplatesRequest.ts +6 -6
- package/src/models/DescribeTemplatesResponseBody.ts +10 -10
- package/src/models/DescribeTriggerRequest.ts +5 -11
- package/src/models/DescribeTriggerResponse.ts +3 -3
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +2 -2
- package/src/models/GetClusterAddonInstanceResponseBody.ts +14 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +2 -2
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +3 -3
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +6 -6
- package/src/models/GetClusterInspectConfigResponseBody.ts +1 -1
- package/src/models/GetKubernetesTriggerRequest.ts +4 -4
- package/src/models/GetKubernetesTriggerResponse.ts +1 -1
- package/src/models/GetUpgradeStatusResponseBody.ts +10 -10
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/ListAddonsRequest.ts +6 -17
- package/src/models/ListAddonsResponseBody.ts +12 -17
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +19 -7
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +1 -1
- package/src/models/ListClusterAddonInstancesResponseBody.ts +8 -8
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +1 -1
- package/src/models/ListNodePoolComponentsRequest.ts +4 -4
- package/src/models/ListNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +4 -4
- package/src/models/ListTagResourcesRequest.ts +3 -2
- package/src/models/ListTagResourcesResponseBody.ts +2 -2
- package/src/models/ListTagResourcesShrinkRequest.ts +3 -2
- package/src/models/ListUserKubeConfigStatesRequest.ts +2 -2
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +7 -9
- package/src/models/ModifyAutoRepairPolicyRequest.ts +5 -5
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyPolicyInstanceRequest.ts +5 -5
- package/src/models/Nodepool.ts +152 -202
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/QuotasValue.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +10 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +10 -10
- package/src/models/RepairClusterNodePoolRequest.ts +6 -6
- package/src/models/RunClusterCheckRequest.ts +1 -5
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +1 -1
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/StandardComponentsValue.ts +7 -7
- package/src/models/StartAlertRequest.ts +2 -2
- package/src/models/StartAlertResponseBody.ts +1 -1
- package/src/models/StopAlertRequest.ts +2 -2
- package/src/models/StopAlertResponseBody.ts +1 -2
- package/src/models/TagResourcesRequest.ts +5 -5
- package/src/models/UnInstallClusterAddonsRequest.ts +2 -2
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UntagResourcesRequest.ts +6 -6
- package/src/models/UntagResourcesShrinkRequest.ts +6 -6
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +6 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +3 -3
- package/src/models/UpdateClusterInspectConfigRequest.ts +1 -1
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +1 -1
- package/src/models/UpdateControlPlaneLogRequest.ts +4 -4
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +2 -2
- package/src/models/UpdateKmsencryptionRequest.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +5 -5
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +3 -3
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +2 -2
- package/src/models/UpdateTemplateRequest.ts +7 -7
- package/src/models/UpdateUserPermissionsRequest.ts +24 -25
- package/src/models/UpgradeClusterRequest.ts +6 -7
- package/src/models/model.ts +1 -0
package/dist/client.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
* Adds existing
|
|
12
|
+
* Adds existing ECS instances to an ACK cluster. You can invoke this operation if you need to add a purchased cloud server to an ACK cluster as a worker node, or re-add a removed worker node instance to a node pool.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Read [Limits](https://help.aliyun.com/document_detail/86919.html) before calling this operation to ensure that the ECS instances to be added meet the requirements.
|
|
16
16
|
*
|
|
17
17
|
* @param request - AttachInstancesRequest
|
|
18
18
|
* @param headers - map
|
|
@@ -23,17 +23,17 @@ export default class Client extends OpenApi {
|
|
|
23
23
|
[key: string]: string;
|
|
24
24
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.AttachInstancesResponse>;
|
|
25
25
|
/**
|
|
26
|
-
* Adds existing
|
|
26
|
+
* Adds existing ECS instances to an ACK cluster. You can invoke this operation if you need to add a purchased cloud server to an ACK cluster as a worker node, or re-add a removed worker node instance to a node pool.
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
*
|
|
29
|
+
* Read [Limits](https://help.aliyun.com/document_detail/86919.html) before calling this operation to ensure that the ECS instances to be added meet the requirements.
|
|
30
30
|
*
|
|
31
31
|
* @param request - AttachInstancesRequest
|
|
32
32
|
* @returns AttachInstancesResponse
|
|
33
33
|
*/
|
|
34
34
|
attachInstances(ClusterId: string, request: $_model.AttachInstancesRequest): Promise<$_model.AttachInstancesResponse>;
|
|
35
35
|
/**
|
|
36
|
-
* Adds existing ECS instances to a node pool
|
|
36
|
+
* Adds existing ECS instances to a node pool as worker nodes in an ACK cluster, or re-adds removed worker nodes to a node pool.
|
|
37
37
|
*
|
|
38
38
|
* @param request - AttachInstancesToNodePoolRequest
|
|
39
39
|
* @param headers - map
|
|
@@ -44,14 +44,14 @@ export default class Client extends OpenApi {
|
|
|
44
44
|
[key: string]: string;
|
|
45
45
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.AttachInstancesToNodePoolResponse>;
|
|
46
46
|
/**
|
|
47
|
-
* Adds existing ECS instances to a node pool
|
|
47
|
+
* Adds existing ECS instances to a node pool as worker nodes in an ACK cluster, or re-adds removed worker nodes to a node pool.
|
|
48
48
|
*
|
|
49
49
|
* @param request - AttachInstancesToNodePoolRequest
|
|
50
50
|
* @returns AttachInstancesToNodePoolResponse
|
|
51
51
|
*/
|
|
52
52
|
attachInstancesToNodePool(ClusterId: string, NodepoolId: string, request: $_model.AttachInstancesToNodePoolRequest): Promise<$_model.AttachInstancesToNodePoolResponse>;
|
|
53
53
|
/**
|
|
54
|
-
* Cancels the upgrade of an ACK cluster
|
|
54
|
+
* Cancels the upgrade of an ACK cluster.
|
|
55
55
|
*
|
|
56
56
|
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
57
57
|
*
|
|
@@ -63,7 +63,7 @@ export default class Client extends OpenApi {
|
|
|
63
63
|
[key: string]: string;
|
|
64
64
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CancelClusterUpgradeResponse>;
|
|
65
65
|
/**
|
|
66
|
-
* Cancels the upgrade of an ACK cluster
|
|
66
|
+
* Cancels the upgrade of an ACK cluster.
|
|
67
67
|
*
|
|
68
68
|
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
69
69
|
* @returns CancelClusterUpgradeResponse
|
|
@@ -119,7 +119,7 @@ export default class Client extends OpenApi {
|
|
|
119
119
|
*/
|
|
120
120
|
cancelTask(taskId: string): Promise<$_model.CancelTaskResponse>;
|
|
121
121
|
/**
|
|
122
|
-
* Queries the log configuration of control plane components
|
|
122
|
+
* Queries the log configuration of control plane components in an ACK managed cluster. ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) project. Control plane components include core components such as Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call this operation to query the current log configuration of control plane components, including the log retention period and collected components.
|
|
123
123
|
*
|
|
124
124
|
* @param headers - map
|
|
125
125
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -129,12 +129,12 @@ export default class Client extends OpenApi {
|
|
|
129
129
|
[key: string]: string;
|
|
130
130
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CheckControlPlaneLogEnableResponse>;
|
|
131
131
|
/**
|
|
132
|
-
* Queries the log configuration of control plane components
|
|
132
|
+
* Queries the log configuration of control plane components in an ACK managed cluster. ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) project. Control plane components include core components such as Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call this operation to query the current log configuration of control plane components, including the log retention period and collected components.
|
|
133
133
|
* @returns CheckControlPlaneLogEnableResponse
|
|
134
134
|
*/
|
|
135
135
|
checkControlPlaneLogEnable(ClusterId: string): Promise<$_model.CheckControlPlaneLogEnableResponse>;
|
|
136
136
|
/**
|
|
137
|
-
* Checks whether the current service account
|
|
137
|
+
* Checks whether the current service account is granted the specified service role permissions. Container Service for Kubernetes can call other cloud services related to the service role, such as ECS, OSS, NAS, and SLB, only after the corresponding role permissions are granted.
|
|
138
138
|
*
|
|
139
139
|
* @param request - CheckServiceRoleRequest
|
|
140
140
|
* @param headers - map
|
|
@@ -145,19 +145,19 @@ export default class Client extends OpenApi {
|
|
|
145
145
|
[key: string]: string;
|
|
146
146
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CheckServiceRoleResponse>;
|
|
147
147
|
/**
|
|
148
|
-
* Checks whether the current service account
|
|
148
|
+
* Checks whether the current service account is granted the specified service role permissions. Container Service for Kubernetes can call other cloud services related to the service role, such as ECS, OSS, NAS, and SLB, only after the corresponding role permissions are granted.
|
|
149
149
|
*
|
|
150
150
|
* @param request - CheckServiceRoleRequest
|
|
151
151
|
* @returns CheckServiceRoleResponse
|
|
152
152
|
*/
|
|
153
153
|
checkServiceRole(request: $_model.CheckServiceRoleRequest): Promise<$_model.CheckServiceRoleResponse>;
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
155
|
+
* Clears the issued KubeConfig credentials and Role-Based Access Control (RBAC) permissions of a specified user in a specified cluster. You can call this operation to clean up and revoke authorization for KubeConfig files that pose security risks.
|
|
156
156
|
*
|
|
157
157
|
* @remarks
|
|
158
|
-
* > 1. You must have the
|
|
159
|
-
* > 2.
|
|
160
|
-
* > 3.
|
|
158
|
+
* > 1. You must have the permissions to manage Container Service for Kubernetes (CS). The required policy is AliyunCSFullAccess.
|
|
159
|
+
* > 2. You cannot clear the permissions of an Alibaba Cloud account.
|
|
160
|
+
* > 3. You cannot clear the permissions of the user who performs this operation.
|
|
161
161
|
*
|
|
162
162
|
* @param request - CleanClusterUserPermissionsRequest
|
|
163
163
|
* @param headers - map
|
|
@@ -168,24 +168,24 @@ export default class Client extends OpenApi {
|
|
|
168
168
|
[key: string]: string;
|
|
169
169
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CleanClusterUserPermissionsResponse>;
|
|
170
170
|
/**
|
|
171
|
-
*
|
|
171
|
+
* Clears the issued KubeConfig credentials and Role-Based Access Control (RBAC) permissions of a specified user in a specified cluster. You can call this operation to clean up and revoke authorization for KubeConfig files that pose security risks.
|
|
172
172
|
*
|
|
173
173
|
* @remarks
|
|
174
|
-
* > 1. You must have the
|
|
175
|
-
* > 2.
|
|
176
|
-
* > 3.
|
|
174
|
+
* > 1. You must have the permissions to manage Container Service for Kubernetes (CS). The required policy is AliyunCSFullAccess.
|
|
175
|
+
* > 2. You cannot clear the permissions of an Alibaba Cloud account.
|
|
176
|
+
* > 3. You cannot clear the permissions of the user who performs this operation.
|
|
177
177
|
*
|
|
178
178
|
* @param request - CleanClusterUserPermissionsRequest
|
|
179
179
|
* @returns CleanClusterUserPermissionsResponse
|
|
180
180
|
*/
|
|
181
181
|
cleanClusterUserPermissions(ClusterId: string, Uid: string, request: $_model.CleanClusterUserPermissionsRequest): Promise<$_model.CleanClusterUserPermissionsResponse>;
|
|
182
182
|
/**
|
|
183
|
-
* Cleans up KubeConfig credentials and RBAC permissions
|
|
183
|
+
* Cleans up and revokes the KubeConfig credentials and RBAC permissions issued to a specified user, such as resigned employees or users with frozen accounts.
|
|
184
184
|
*
|
|
185
185
|
* @remarks
|
|
186
|
-
* >-
|
|
187
|
-
* >-
|
|
188
|
-
* >-
|
|
186
|
+
* >- Requires the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
|
|
187
|
+
* >- Clearing the permissions of Alibaba Cloud accounts is not supported.
|
|
188
|
+
* >- Clearing the permissions of the calling user is not supported.
|
|
189
189
|
*
|
|
190
190
|
* @param tmpReq - CleanUserPermissionsRequest
|
|
191
191
|
* @param headers - map
|
|
@@ -196,12 +196,12 @@ export default class Client extends OpenApi {
|
|
|
196
196
|
[key: string]: string;
|
|
197
197
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CleanUserPermissionsResponse>;
|
|
198
198
|
/**
|
|
199
|
-
* Cleans up KubeConfig credentials and RBAC permissions
|
|
199
|
+
* Cleans up and revokes the KubeConfig credentials and RBAC permissions issued to a specified user, such as resigned employees or users with frozen accounts.
|
|
200
200
|
*
|
|
201
201
|
* @remarks
|
|
202
|
-
* >-
|
|
203
|
-
* >-
|
|
204
|
-
* >-
|
|
202
|
+
* >- Requires the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
|
|
203
|
+
* >- Clearing the permissions of Alibaba Cloud accounts is not supported.
|
|
204
|
+
* >- Clearing the permissions of the calling user is not supported.
|
|
205
205
|
*
|
|
206
206
|
* @param request - CleanUserPermissionsRequest
|
|
207
207
|
* @returns CleanUserPermissionsResponse
|
|
@@ -211,7 +211,7 @@ export default class Client extends OpenApi {
|
|
|
211
211
|
* Creates a self-healing rule.
|
|
212
212
|
*
|
|
213
213
|
* @remarks
|
|
214
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
214
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
215
215
|
*
|
|
216
216
|
* @param request - CreateAutoRepairPolicyRequest
|
|
217
217
|
* @param headers - map
|
|
@@ -225,7 +225,7 @@ export default class Client extends OpenApi {
|
|
|
225
225
|
* Creates a self-healing rule.
|
|
226
226
|
*
|
|
227
227
|
* @remarks
|
|
228
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
228
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
229
229
|
*
|
|
230
230
|
* @param request - CreateAutoRepairPolicyRequest
|
|
231
231
|
* @returns CreateAutoRepairPolicyResponse
|
|
@@ -322,7 +322,7 @@ export default class Client extends OpenApi {
|
|
|
322
322
|
*/
|
|
323
323
|
createClusterInspectConfig(clusterId: string, request: $_model.CreateClusterInspectConfigRequest): Promise<$_model.CreateClusterInspectConfigResponse>;
|
|
324
324
|
/**
|
|
325
|
-
* A node pool is a logical collection of nodes
|
|
325
|
+
* Creates a node pool. A node pool is a logical collection of nodes with the same property, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can invoke CreateClusterNodePool to create a node pool for a cluster.
|
|
326
326
|
*
|
|
327
327
|
* @param request - CreateClusterNodePoolRequest
|
|
328
328
|
* @param headers - map
|
|
@@ -333,7 +333,7 @@ export default class Client extends OpenApi {
|
|
|
333
333
|
[key: string]: string;
|
|
334
334
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterNodePoolResponse>;
|
|
335
335
|
/**
|
|
336
|
-
* A node pool is a logical collection of nodes
|
|
336
|
+
* Creates a node pool. A node pool is a logical collection of nodes with the same property, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can invoke CreateClusterNodePool to create a node pool for a cluster.
|
|
337
337
|
*
|
|
338
338
|
* @param request - CreateClusterNodePoolRequest
|
|
339
339
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -380,7 +380,7 @@ export default class Client extends OpenApi {
|
|
|
380
380
|
*/
|
|
381
381
|
createNodePoolComponentInstances(clusterId: string, nodepoolId: string, request: $_model.CreateNodePoolComponentInstancesRequest): Promise<$_model.CreateNodePoolComponentInstancesResponse>;
|
|
382
382
|
/**
|
|
383
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner
|
|
383
|
+
* Creates an orchestration template. An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner to specify how applications should run or be configured. You can use these templates to automate deployment and cluster management of resources, such as Pods, Services, Deployments, ConfigMaps, and PersistentVolumes. You can invoke the CreateTemplate API operation to create an orchestration template.
|
|
384
384
|
*
|
|
385
385
|
* @param request - CreateTemplateRequest
|
|
386
386
|
* @param headers - map
|
|
@@ -391,17 +391,17 @@ export default class Client extends OpenApi {
|
|
|
391
391
|
[key: string]: string;
|
|
392
392
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateTemplateResponse>;
|
|
393
393
|
/**
|
|
394
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner
|
|
394
|
+
* Creates an orchestration template. An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner to specify how applications should run or be configured. You can use these templates to automate deployment and cluster management of resources, such as Pods, Services, Deployments, ConfigMaps, and PersistentVolumes. You can invoke the CreateTemplate API operation to create an orchestration template.
|
|
395
395
|
*
|
|
396
396
|
* @param request - CreateTemplateRequest
|
|
397
397
|
* @returns CreateTemplateResponse
|
|
398
398
|
*/
|
|
399
399
|
createTemplate(request: $_model.CreateTemplateRequest): Promise<$_model.CreateTemplateResponse>;
|
|
400
400
|
/**
|
|
401
|
-
* Configures a trigger for a cluster application
|
|
401
|
+
* Configures a trigger for a cluster application to redeploy pods when specific conditions are met.
|
|
402
402
|
*
|
|
403
403
|
* @remarks
|
|
404
|
-
* > Creating a trigger supports
|
|
404
|
+
* > Creating a trigger only supports pod redeployment.
|
|
405
405
|
*
|
|
406
406
|
* @param request - CreateTriggerRequest
|
|
407
407
|
* @param headers - map
|
|
@@ -412,10 +412,10 @@ export default class Client extends OpenApi {
|
|
|
412
412
|
[key: string]: string;
|
|
413
413
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateTriggerResponse>;
|
|
414
414
|
/**
|
|
415
|
-
* Configures a trigger for a cluster application
|
|
415
|
+
* Configures a trigger for a cluster application to redeploy pods when specific conditions are met.
|
|
416
416
|
*
|
|
417
417
|
* @remarks
|
|
418
|
-
* > Creating a trigger supports
|
|
418
|
+
* > Creating a trigger only supports pod redeployment.
|
|
419
419
|
*
|
|
420
420
|
* @param request - CreateTriggerRequest
|
|
421
421
|
* @returns CreateTriggerResponse
|
|
@@ -440,7 +440,7 @@ export default class Client extends OpenApi {
|
|
|
440
440
|
*/
|
|
441
441
|
deleteAlertContact(request: $_model.DeleteAlertContactRequest): Promise<$_model.DeleteAlertContactResponse>;
|
|
442
442
|
/**
|
|
443
|
-
* Deletes alert contact groups
|
|
443
|
+
* Deletes ACK alert contact groups.
|
|
444
444
|
*
|
|
445
445
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
446
446
|
* @param headers - map
|
|
@@ -451,7 +451,7 @@ export default class Client extends OpenApi {
|
|
|
451
451
|
[key: string]: string;
|
|
452
452
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAlertContactGroupResponse>;
|
|
453
453
|
/**
|
|
454
|
-
* Deletes alert contact groups
|
|
454
|
+
* Deletes ACK alert contact groups.
|
|
455
455
|
*
|
|
456
456
|
* @param request - DeleteAlertContactGroupRequest
|
|
457
457
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -461,7 +461,7 @@ export default class Client extends OpenApi {
|
|
|
461
461
|
* Deletes a self-healing rule.
|
|
462
462
|
*
|
|
463
463
|
* @remarks
|
|
464
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
464
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
465
465
|
*
|
|
466
466
|
* @param headers - map
|
|
467
467
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -474,20 +474,20 @@ export default class Client extends OpenApi {
|
|
|
474
474
|
* Deletes a self-healing rule.
|
|
475
475
|
*
|
|
476
476
|
* @remarks
|
|
477
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
477
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
478
478
|
* @returns DeleteAutoRepairPolicyResponse
|
|
479
479
|
*/
|
|
480
480
|
deleteAutoRepairPolicy(clusterId: string, policyId: string): Promise<$_model.DeleteAutoRepairPolicyResponse>;
|
|
481
481
|
/**
|
|
482
|
-
* Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before
|
|
482
|
+
* Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before you delete a cluster, manually clean up workloads such as stateless, stateful, job, and cron job workloads. Otherwise, the cluster deletion may fail.
|
|
483
483
|
*
|
|
484
484
|
* @remarks
|
|
485
|
-
* Risk
|
|
486
|
-
* - Subscription ECS instances
|
|
487
|
-
* - Subscription
|
|
488
|
-
* - VPCs, vSwitches, security groups, and RAM roles
|
|
489
|
-
* - Elastic Container Instance (ECI)
|
|
490
|
-
* - Some cloud resources created
|
|
485
|
+
* Risk warnings:
|
|
486
|
+
* - Subscription ECS instances and Lingjun computing nodes in the cluster cannot be automatically released. To avoid unnecessary costs, perform a manual release. For more information, see Cluster deletion and node release rules.
|
|
487
|
+
* - Subscription API server SLB resources cannot be automatically released. To avoid unnecessary costs, perform a manual release.
|
|
488
|
+
* - VPCs, vSwitches, security groups, and RAM roles are retained by default if they are used by other resources and cannot be deleted. Perform a manual release.
|
|
489
|
+
* - Elastic Container Instance (ECI) pods created by using virtual nodes are automatically released.
|
|
490
|
+
* - Some cloud resources created by the cluster are not automatically released when the cluster is deleted. These resources continue to incur charges after the cluster is deleted. Release or retain them based on your business requirements. These resources include: Simple Log Service (SLS) projects automatically created by the cluster, and cloud disks purchased by using dynamic volumes.
|
|
491
491
|
*
|
|
492
492
|
* @param tmpReq - DeleteClusterRequest
|
|
493
493
|
* @param headers - map
|
|
@@ -498,22 +498,22 @@ export default class Client extends OpenApi {
|
|
|
498
498
|
[key: string]: string;
|
|
499
499
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterResponse>;
|
|
500
500
|
/**
|
|
501
|
-
* Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before
|
|
501
|
+
* Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before you delete a cluster, manually clean up workloads such as stateless, stateful, job, and cron job workloads. Otherwise, the cluster deletion may fail.
|
|
502
502
|
*
|
|
503
503
|
* @remarks
|
|
504
|
-
* Risk
|
|
505
|
-
* - Subscription ECS instances
|
|
506
|
-
* - Subscription
|
|
507
|
-
* - VPCs, vSwitches, security groups, and RAM roles
|
|
508
|
-
* - Elastic Container Instance (ECI)
|
|
509
|
-
* - Some cloud resources created
|
|
504
|
+
* Risk warnings:
|
|
505
|
+
* - Subscription ECS instances and Lingjun computing nodes in the cluster cannot be automatically released. To avoid unnecessary costs, perform a manual release. For more information, see Cluster deletion and node release rules.
|
|
506
|
+
* - Subscription API server SLB resources cannot be automatically released. To avoid unnecessary costs, perform a manual release.
|
|
507
|
+
* - VPCs, vSwitches, security groups, and RAM roles are retained by default if they are used by other resources and cannot be deleted. Perform a manual release.
|
|
508
|
+
* - Elastic Container Instance (ECI) pods created by using virtual nodes are automatically released.
|
|
509
|
+
* - Some cloud resources created by the cluster are not automatically released when the cluster is deleted. These resources continue to incur charges after the cluster is deleted. Release or retain them based on your business requirements. These resources include: Simple Log Service (SLS) projects automatically created by the cluster, and cloud disks purchased by using dynamic volumes.
|
|
510
510
|
*
|
|
511
511
|
* @param request - DeleteClusterRequest
|
|
512
512
|
* @returns DeleteClusterResponse
|
|
513
513
|
*/
|
|
514
514
|
deleteCluster(ClusterId: string, request: $_model.DeleteClusterRequest): Promise<$_model.DeleteClusterResponse>;
|
|
515
515
|
/**
|
|
516
|
-
* Deletes
|
|
516
|
+
* Deletes the cluster inspection configuration.
|
|
517
517
|
*
|
|
518
518
|
* @param headers - map
|
|
519
519
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -523,12 +523,12 @@ export default class Client extends OpenApi {
|
|
|
523
523
|
[key: string]: string;
|
|
524
524
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterInspectConfigResponse>;
|
|
525
525
|
/**
|
|
526
|
-
* Deletes
|
|
526
|
+
* Deletes the cluster inspection configuration.
|
|
527
527
|
* @returns DeleteClusterInspectConfigResponse
|
|
528
528
|
*/
|
|
529
529
|
deleteClusterInspectConfig(clusterId: string): Promise<$_model.DeleteClusterInspectConfigResponse>;
|
|
530
530
|
/**
|
|
531
|
-
* Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on
|
|
531
|
+
* Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on its nodes are deleted, which may trigger rescheduling. If rescheduling fails, your services may be affected. Ensure that the cluster has sufficient resources for rescheduling.
|
|
532
532
|
*
|
|
533
533
|
* @param request - DeleteClusterNodepoolRequest
|
|
534
534
|
* @param headers - map
|
|
@@ -539,22 +539,22 @@ export default class Client extends OpenApi {
|
|
|
539
539
|
[key: string]: string;
|
|
540
540
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterNodepoolResponse>;
|
|
541
541
|
/**
|
|
542
|
-
* Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on
|
|
542
|
+
* Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on its nodes are deleted, which may trigger rescheduling. If rescheduling fails, your services may be affected. Ensure that the cluster has sufficient resources for rescheduling.
|
|
543
543
|
*
|
|
544
544
|
* @param request - DeleteClusterNodepoolRequest
|
|
545
545
|
* @returns DeleteClusterNodepoolResponse
|
|
546
546
|
*/
|
|
547
547
|
deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: $_model.DeleteClusterNodepoolRequest): Promise<$_model.DeleteClusterNodepoolResponse>;
|
|
548
548
|
/**
|
|
549
|
-
* Removes nodes from a cluster. When you
|
|
549
|
+
* Removes nodes from a cluster. When you remove nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
|
|
550
550
|
*
|
|
551
551
|
* @remarks
|
|
552
|
-
* - When removing nodes, perform
|
|
553
|
-
* - Do not
|
|
554
|
-
* - If the
|
|
555
|
-
* - Removing nodes involves
|
|
556
|
-
* - When
|
|
557
|
-
* - Check the node affinity rules and scheduling policies of the
|
|
552
|
+
* - When removing nodes, perform standard operations by calling this API operation or using the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
|
|
553
|
+
* - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
|
|
554
|
+
* - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
|
|
555
|
+
* - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
|
|
556
|
+
* - When you remove nodes, ACK executes drain operations. Make sure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
|
|
557
|
+
* - Check the node affinity rules and scheduling policies of the pods on the nodes to be removed to ensure that the pods can be scheduled to other nodes after the nodes are removed.
|
|
558
558
|
*
|
|
559
559
|
* @param request - DeleteClusterNodesRequest
|
|
560
560
|
* @param headers - map
|
|
@@ -565,15 +565,15 @@ export default class Client extends OpenApi {
|
|
|
565
565
|
[key: string]: string;
|
|
566
566
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterNodesResponse>;
|
|
567
567
|
/**
|
|
568
|
-
* Removes nodes from a cluster. When you
|
|
568
|
+
* Removes nodes from a cluster. When you remove nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
|
|
569
569
|
*
|
|
570
570
|
* @remarks
|
|
571
|
-
* - When removing nodes, perform
|
|
572
|
-
* - Do not
|
|
573
|
-
* - If the
|
|
574
|
-
* - Removing nodes involves
|
|
575
|
-
* - When
|
|
576
|
-
* - Check the node affinity rules and scheduling policies of the
|
|
571
|
+
* - When removing nodes, perform standard operations by calling this API operation or using the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
|
|
572
|
+
* - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
|
|
573
|
+
* - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
|
|
574
|
+
* - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
|
|
575
|
+
* - When you remove nodes, ACK executes drain operations. Make sure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
|
|
576
|
+
* - Check the node affinity rules and scheduling policies of the pods on the nodes to be removed to ensure that the pods can be scheduled to other nodes after the nodes are removed.
|
|
577
577
|
*
|
|
578
578
|
* @param request - DeleteClusterNodesRequest
|
|
579
579
|
* @returns DeleteClusterNodesResponse
|
|
@@ -617,7 +617,7 @@ export default class Client extends OpenApi {
|
|
|
617
617
|
*/
|
|
618
618
|
deleteNodePoolComponentInstance(clusterId: string, nodepoolId: string, name: string, request: $_model.DeleteNodePoolComponentInstanceRequest): Promise<$_model.DeleteNodePoolComponentInstanceResponse>;
|
|
619
619
|
/**
|
|
620
|
-
* Deletes a policy rule instance
|
|
620
|
+
* Deletes a policy rule instance in a specified cluster.
|
|
621
621
|
*
|
|
622
622
|
* @param request - DeletePolicyInstanceRequest
|
|
623
623
|
* @param headers - map
|
|
@@ -628,14 +628,14 @@ export default class Client extends OpenApi {
|
|
|
628
628
|
[key: string]: string;
|
|
629
629
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePolicyInstanceResponse>;
|
|
630
630
|
/**
|
|
631
|
-
* Deletes a policy rule instance
|
|
631
|
+
* Deletes a policy rule instance in a specified cluster.
|
|
632
632
|
*
|
|
633
633
|
* @param request - DeletePolicyInstanceRequest
|
|
634
634
|
* @returns DeletePolicyInstanceResponse
|
|
635
635
|
*/
|
|
636
636
|
deletePolicyInstance(clusterId: string, policyName: string, request: $_model.DeletePolicyInstanceRequest): Promise<$_model.DeletePolicyInstanceResponse>;
|
|
637
637
|
/**
|
|
638
|
-
* Deletes an orchestration template
|
|
638
|
+
* Deletes an orchestration template.
|
|
639
639
|
*
|
|
640
640
|
* @param headers - map
|
|
641
641
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -645,12 +645,12 @@ export default class Client extends OpenApi {
|
|
|
645
645
|
[key: string]: string;
|
|
646
646
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteTemplateResponse>;
|
|
647
647
|
/**
|
|
648
|
-
* Deletes an orchestration template
|
|
648
|
+
* Deletes an orchestration template.
|
|
649
649
|
* @returns DeleteTemplateResponse
|
|
650
650
|
*/
|
|
651
651
|
deleteTemplate(TemplateId: string): Promise<$_model.DeleteTemplateResponse>;
|
|
652
652
|
/**
|
|
653
|
-
* Deletes an application trigger
|
|
653
|
+
* Deletes an application trigger.
|
|
654
654
|
*
|
|
655
655
|
* @param headers - map
|
|
656
656
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -660,12 +660,12 @@ export default class Client extends OpenApi {
|
|
|
660
660
|
[key: string]: string;
|
|
661
661
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteTriggerResponse>;
|
|
662
662
|
/**
|
|
663
|
-
* Deletes an application trigger
|
|
663
|
+
* Deletes an application trigger.
|
|
664
664
|
* @returns DeleteTriggerResponse
|
|
665
665
|
*/
|
|
666
666
|
deleteTrigger(clusterId: string, Id: string): Promise<$_model.DeleteTriggerResponse>;
|
|
667
667
|
/**
|
|
668
|
-
* Deploys a policy instance in a specified namespace of
|
|
668
|
+
* Deploys a policy rule instance in a specified namespace of an ACK cluster. You can select the security policy type, configure the governance action (alert or block) for the policy instance, and specify the namespace scope.
|
|
669
669
|
*
|
|
670
670
|
* @param request - DeployPolicyInstanceRequest
|
|
671
671
|
* @param headers - map
|
|
@@ -676,14 +676,14 @@ export default class Client extends OpenApi {
|
|
|
676
676
|
[key: string]: string;
|
|
677
677
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeployPolicyInstanceResponse>;
|
|
678
678
|
/**
|
|
679
|
-
* Deploys a policy instance in a specified namespace of
|
|
679
|
+
* Deploys a policy rule instance in a specified namespace of an ACK cluster. You can select the security policy type, configure the governance action (alert or block) for the policy instance, and specify the namespace scope.
|
|
680
680
|
*
|
|
681
681
|
* @param request - DeployPolicyInstanceRequest
|
|
682
682
|
* @returns DeployPolicyInstanceResponse
|
|
683
683
|
*/
|
|
684
684
|
deployPolicyInstance(clusterId: string, policyName: string, request: $_model.DeployPolicyInstanceRequest): Promise<$_model.DeployPolicyInstanceResponse>;
|
|
685
685
|
/**
|
|
686
|
-
* Queries information about a
|
|
686
|
+
* Queries the information about a target component based on parameters such as the specified region, cluster type, cluster profile, cluster version, and component name. The information includes whether the component is managed, the component category, the supported custom parameter schema, the compatible operating system architecture, and the minimum cluster version required by the component version.
|
|
687
687
|
*
|
|
688
688
|
* @param request - DescribeAddonRequest
|
|
689
689
|
* @param headers - map
|
|
@@ -694,7 +694,7 @@ export default class Client extends OpenApi {
|
|
|
694
694
|
[key: string]: string;
|
|
695
695
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAddonResponse>;
|
|
696
696
|
/**
|
|
697
|
-
* Queries information about a
|
|
697
|
+
* Queries the information about a target component based on parameters such as the specified region, cluster type, cluster profile, cluster version, and component name. The information includes whether the component is managed, the component category, the supported custom parameter schema, the compatible operating system architecture, and the minimum cluster version required by the component version.
|
|
698
698
|
*
|
|
699
699
|
* @param request - DescribeAddonRequest
|
|
700
700
|
* @returns DescribeAddonResponse
|
|
@@ -744,7 +744,7 @@ export default class Client extends OpenApi {
|
|
|
744
744
|
*/
|
|
745
745
|
describeAutoRepairPolicy(clusterId: string, policyId: string): Promise<$_model.DescribeAutoRepairPolicyResponse>;
|
|
746
746
|
/**
|
|
747
|
-
* Queries
|
|
747
|
+
* Queries the version, state, and configuration of installed cluster add-ons.
|
|
748
748
|
*
|
|
749
749
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
750
750
|
*
|
|
@@ -756,14 +756,14 @@ export default class Client extends OpenApi {
|
|
|
756
756
|
[key: string]: string;
|
|
757
757
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAddonInstanceResponse>;
|
|
758
758
|
/**
|
|
759
|
-
* Queries
|
|
759
|
+
* Queries the version, state, and configuration of installed cluster add-ons.
|
|
760
760
|
*
|
|
761
761
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
762
762
|
* @returns DescribeClusterAddonInstanceResponse
|
|
763
763
|
*/
|
|
764
764
|
describeClusterAddonInstance(ClusterID: string, AddonName: string): Promise<$_model.DescribeClusterAddonInstanceResponse>;
|
|
765
765
|
/**
|
|
766
|
-
* Queries the
|
|
766
|
+
* Queries the metadata of a specified component version available for a specific cluster, including the component version and configurable parameters.
|
|
767
767
|
*
|
|
768
768
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
769
769
|
*
|
|
@@ -776,7 +776,7 @@ export default class Client extends OpenApi {
|
|
|
776
776
|
[key: string]: string;
|
|
777
777
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAddonMetadataResponse>;
|
|
778
778
|
/**
|
|
779
|
-
* Queries the
|
|
779
|
+
* Queries the metadata of a specified component version available for a specific cluster, including the component version and configurable parameters.
|
|
780
780
|
*
|
|
781
781
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
782
782
|
*
|
|
@@ -845,7 +845,7 @@ export default class Client extends OpenApi {
|
|
|
845
845
|
*/
|
|
846
846
|
describeClusterAddonsVersion(ClusterId: string): Promise<$_model.DescribeClusterAddonsVersionResponse>;
|
|
847
847
|
/**
|
|
848
|
-
* Retrieves the script
|
|
848
|
+
* Retrieves the script used to add existing ECS instances to an ACK cluster as worker nodes, or to re-add removed worker nodes to a node pool. ACK supports manually adding existing nodes to a node pool. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
|
|
849
849
|
*
|
|
850
850
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
851
851
|
* @param headers - map
|
|
@@ -856,7 +856,7 @@ export default class Client extends OpenApi {
|
|
|
856
856
|
[key: string]: string;
|
|
857
857
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAttachScriptsResponse>;
|
|
858
858
|
/**
|
|
859
|
-
* Retrieves the script
|
|
859
|
+
* Retrieves the script used to add existing ECS instances to an ACK cluster as worker nodes, or to re-add removed worker nodes to a node pool. ACK supports manually adding existing nodes to a node pool. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
|
|
860
860
|
*
|
|
861
861
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
862
862
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -878,7 +878,7 @@ export default class Client extends OpenApi {
|
|
|
878
878
|
*/
|
|
879
879
|
describeClusterDetail(ClusterId: string): Promise<$_model.DescribeClusterDetailResponse>;
|
|
880
880
|
/**
|
|
881
|
-
* Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool
|
|
881
|
+
* Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scaling, add-on installation, and cluster upgrades. You can call this operation to retrieve a list of events that occurred in the cluster and query event details, including the event level, event status, and event time.
|
|
882
882
|
*
|
|
883
883
|
* @param request - DescribeClusterEventsRequest
|
|
884
884
|
* @param headers - map
|
|
@@ -889,7 +889,7 @@ export default class Client extends OpenApi {
|
|
|
889
889
|
[key: string]: string;
|
|
890
890
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterEventsResponse>;
|
|
891
891
|
/**
|
|
892
|
-
* Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool
|
|
892
|
+
* Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scaling, add-on installation, and cluster upgrades. You can call this operation to retrieve a list of events that occurred in the cluster and query event details, including the event level, event status, and event time.
|
|
893
893
|
*
|
|
894
894
|
* @param request - DescribeClusterEventsRequest
|
|
895
895
|
* @returns DescribeClusterEventsResponse
|
|
@@ -911,7 +911,7 @@ export default class Client extends OpenApi {
|
|
|
911
911
|
*/
|
|
912
912
|
describeClusterLogs(ClusterId: string): Promise<$_model.DescribeClusterLogsResponse>;
|
|
913
913
|
/**
|
|
914
|
-
* Queries the configuration of a specified node pool in a cluster
|
|
914
|
+
* Queries the configuration of a specified node pool in a cluster.
|
|
915
915
|
*
|
|
916
916
|
* @param headers - map
|
|
917
917
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -921,20 +921,20 @@ export default class Client extends OpenApi {
|
|
|
921
921
|
[key: string]: string;
|
|
922
922
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
|
|
923
923
|
/**
|
|
924
|
-
* Queries the configuration of a specified node pool in a cluster
|
|
924
|
+
* Queries the configuration of a specified node pool in a cluster.
|
|
925
925
|
* @returns DescribeClusterNodePoolDetailResponse
|
|
926
926
|
*/
|
|
927
927
|
describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
|
|
928
928
|
/**
|
|
929
|
-
* Queries
|
|
929
|
+
* Queries all node pools in a cluster.
|
|
930
930
|
*
|
|
931
931
|
* @remarks
|
|
932
|
-
* - When
|
|
933
|
-
* - Do not
|
|
934
|
-
* - If the
|
|
935
|
-
* - Removing
|
|
936
|
-
* - When
|
|
937
|
-
* - Check the node affinity rules and scheduling policies of
|
|
932
|
+
* - When you remove a node, perform standard operations by using this API operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
|
|
933
|
+
* - Do not release nodes or remove instances in the ECS or Auto Scaling console, or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
|
|
934
|
+
* - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
|
|
935
|
+
* - Removing a node involves pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
|
|
936
|
+
* - When a node is removed, ACK drains the node. Make sure that other nodes in the cluster have sufficient resources to prevent application pods from failing to be scheduled.
|
|
937
|
+
* - Check the node affinity rules and scheduling policies of the pods on the node to be removed. Make sure that the pods can be scheduled to other nodes after the node is removed.
|
|
938
938
|
*
|
|
939
939
|
* @param request - DescribeClusterNodePoolsRequest
|
|
940
940
|
* @param headers - map
|
|
@@ -945,15 +945,15 @@ export default class Client extends OpenApi {
|
|
|
945
945
|
[key: string]: string;
|
|
946
946
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolsResponse>;
|
|
947
947
|
/**
|
|
948
|
-
* Queries
|
|
948
|
+
* Queries all node pools in a cluster.
|
|
949
949
|
*
|
|
950
950
|
* @remarks
|
|
951
|
-
* - When
|
|
952
|
-
* - Do not
|
|
953
|
-
* - If the
|
|
954
|
-
* - Removing
|
|
955
|
-
* - When
|
|
956
|
-
* - Check the node affinity rules and scheduling policies of
|
|
951
|
+
* - When you remove a node, perform standard operations by using this API operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
|
|
952
|
+
* - Do not release nodes or remove instances in the ECS or Auto Scaling console, or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
|
|
953
|
+
* - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
|
|
954
|
+
* - Removing a node involves pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
|
|
955
|
+
* - When a node is removed, ACK drains the node. Make sure that other nodes in the cluster have sufficient resources to prevent application pods from failing to be scheduled.
|
|
956
|
+
* - Check the node affinity rules and scheduling policies of the pods on the node to be removed. Make sure that the pods can be scheduled to other nodes after the node is removed.
|
|
957
957
|
*
|
|
958
958
|
* @param request - DescribeClusterNodePoolsRequest
|
|
959
959
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -978,7 +978,7 @@ export default class Client extends OpenApi {
|
|
|
978
978
|
*/
|
|
979
979
|
describeClusterNodes(ClusterId: string, request: $_model.DescribeClusterNodesRequest): Promise<$_model.DescribeClusterNodesResponse>;
|
|
980
980
|
/**
|
|
981
|
-
* When you use Container Service for Kubernetes (ACK), you also use resources
|
|
981
|
+
* Queries the associated resources of a specified cluster. When you use Container Service for Kubernetes (ACK), you also use resources of other associated Alibaba Cloud services. You can call this operation to query these associated resources, such as VPCs and SLB instances. To query node pools or nodes, call the DescribeClusterNodePools or DescribeClusterNodes operation.
|
|
982
982
|
*
|
|
983
983
|
* @param request - DescribeClusterResourcesRequest
|
|
984
984
|
* @param headers - map
|
|
@@ -989,14 +989,14 @@ export default class Client extends OpenApi {
|
|
|
989
989
|
[key: string]: string;
|
|
990
990
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterResourcesResponse>;
|
|
991
991
|
/**
|
|
992
|
-
* When you use Container Service for Kubernetes (ACK), you also use resources
|
|
992
|
+
* Queries the associated resources of a specified cluster. When you use Container Service for Kubernetes (ACK), you also use resources of other associated Alibaba Cloud services. You can call this operation to query these associated resources, such as VPCs and SLB instances. To query node pools or nodes, call the DescribeClusterNodePools or DescribeClusterNodes operation.
|
|
993
993
|
*
|
|
994
994
|
* @param request - DescribeClusterResourcesRequest
|
|
995
995
|
* @returns DescribeClusterResourcesResponse
|
|
996
996
|
*/
|
|
997
997
|
describeClusterResources(ClusterId: string, request: $_model.DescribeClusterResourcesRequest): Promise<$_model.DescribeClusterResourcesResponse>;
|
|
998
998
|
/**
|
|
999
|
-
* Queries
|
|
999
|
+
* Queries a list of tasks in a cluster.
|
|
1000
1000
|
*
|
|
1001
1001
|
* @param request - DescribeClusterTasksRequest
|
|
1002
1002
|
* @param headers - map
|
|
@@ -1007,18 +1007,18 @@ export default class Client extends OpenApi {
|
|
|
1007
1007
|
[key: string]: string;
|
|
1008
1008
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterTasksResponse>;
|
|
1009
1009
|
/**
|
|
1010
|
-
* Queries
|
|
1010
|
+
* Queries a list of tasks in a cluster.
|
|
1011
1011
|
*
|
|
1012
1012
|
* @param request - DescribeClusterTasksRequest
|
|
1013
1013
|
* @returns DescribeClusterTasksResponse
|
|
1014
1014
|
*/
|
|
1015
1015
|
describeClusterTasks(clusterId: string, request: $_model.DescribeClusterTasksRequest): Promise<$_model.DescribeClusterTasksResponse>;
|
|
1016
1016
|
/**
|
|
1017
|
-
*
|
|
1017
|
+
* Retrieves the kubeconfig of a cluster.
|
|
1018
1018
|
*
|
|
1019
1019
|
* @remarks
|
|
1020
|
-
* - The default validity period of
|
|
1021
|
-
* - Properly manage the
|
|
1020
|
+
* - The default validity period of a certificate issued for a kubeconfig file is three years. Within 180 days before expiration, you can obtain a refreshed kubeconfig file with rotated certificates through the Container Service for Kubernetes console or by calling the API operation to retrieve the cluster kubeconfig. The new kubeconfig certificate remains valid for three years. The old kubeconfig credentials remain valid until the certificate expires. Obtain the rotated credentials promptly based on the kubeconfig expiration time displayed in the console or returned by the API operation.
|
|
1021
|
+
* - Properly manage the kubeconfig credentials for cluster management and revoke them promptly when they are no longer needed to prevent security risks such as data leaks caused by kubeconfig exposure.
|
|
1022
1022
|
*
|
|
1023
1023
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
1024
1024
|
* @param headers - map
|
|
@@ -1029,18 +1029,18 @@ export default class Client extends OpenApi {
|
|
|
1029
1029
|
[key: string]: string;
|
|
1030
1030
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterUserKubeconfigResponse>;
|
|
1031
1031
|
/**
|
|
1032
|
-
*
|
|
1032
|
+
* Retrieves the kubeconfig of a cluster.
|
|
1033
1033
|
*
|
|
1034
1034
|
* @remarks
|
|
1035
|
-
* - The default validity period of
|
|
1036
|
-
* - Properly manage the
|
|
1035
|
+
* - The default validity period of a certificate issued for a kubeconfig file is three years. Within 180 days before expiration, you can obtain a refreshed kubeconfig file with rotated certificates through the Container Service for Kubernetes console or by calling the API operation to retrieve the cluster kubeconfig. The new kubeconfig certificate remains valid for three years. The old kubeconfig credentials remain valid until the certificate expires. Obtain the rotated credentials promptly based on the kubeconfig expiration time displayed in the console or returned by the API operation.
|
|
1036
|
+
* - Properly manage the kubeconfig credentials for cluster management and revoke them promptly when they are no longer needed to prevent security risks such as data leaks caused by kubeconfig exposure.
|
|
1037
1037
|
*
|
|
1038
1038
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
1039
1039
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
1040
1040
|
*/
|
|
1041
1041
|
describeClusterUserKubeconfig(ClusterId: string, request: $_model.DescribeClusterUserKubeconfigRequest): Promise<$_model.DescribeClusterUserKubeconfigResponse>;
|
|
1042
1042
|
/**
|
|
1043
|
-
* Retrieves the kubeconfig
|
|
1043
|
+
* Retrieves the kubeconfig for a cluster.
|
|
1044
1044
|
*
|
|
1045
1045
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
1046
1046
|
*
|
|
@@ -1053,7 +1053,7 @@ export default class Client extends OpenApi {
|
|
|
1053
1053
|
[key: string]: string;
|
|
1054
1054
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterV2UserKubeconfigResponse>;
|
|
1055
1055
|
/**
|
|
1056
|
-
* Retrieves the kubeconfig
|
|
1056
|
+
* Retrieves the kubeconfig for a cluster.
|
|
1057
1057
|
*
|
|
1058
1058
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
1059
1059
|
*
|
|
@@ -1062,7 +1062,7 @@ export default class Client extends OpenApi {
|
|
|
1062
1062
|
*/
|
|
1063
1063
|
describeClusterV2UserKubeconfig(ClusterId: string, request: $_model.DescribeClusterV2UserKubeconfigRequest): Promise<$_model.DescribeClusterV2UserKubeconfigResponse>;
|
|
1064
1064
|
/**
|
|
1065
|
-
*
|
|
1065
|
+
* Invokes the DescribeClusterVuls operation to query the security vulnerability details of a cluster by cluster ID, including the vulnerability name, type, and severity level. Regularly scan clusters for security vulnerabilities to improve cluster security.
|
|
1066
1066
|
*
|
|
1067
1067
|
* @param headers - map
|
|
1068
1068
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1072,7 +1072,7 @@ export default class Client extends OpenApi {
|
|
|
1072
1072
|
[key: string]: string;
|
|
1073
1073
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterVulsResponse>;
|
|
1074
1074
|
/**
|
|
1075
|
-
*
|
|
1075
|
+
* Invokes the DescribeClusterVuls operation to query the security vulnerability details of a cluster by cluster ID, including the vulnerability name, type, and severity level. Regularly scan clusters for security vulnerabilities to improve cluster security.
|
|
1076
1076
|
* @returns DescribeClusterVulsResponse
|
|
1077
1077
|
*/
|
|
1078
1078
|
describeClusterVuls(clusterId: string): Promise<$_model.DescribeClusterVulsResponse>;
|
|
@@ -1099,7 +1099,7 @@ export default class Client extends OpenApi {
|
|
|
1099
1099
|
*/
|
|
1100
1100
|
describeClusters(request: $_model.DescribeClustersRequest): Promise<$_model.DescribeClustersResponse>;
|
|
1101
1101
|
/**
|
|
1102
|
-
* Queries all clusters in a specified region.
|
|
1102
|
+
* Queries the list of all clusters in a specified region.
|
|
1103
1103
|
*
|
|
1104
1104
|
* @param request - DescribeClustersForRegionRequest
|
|
1105
1105
|
* @param headers - map
|
|
@@ -1110,7 +1110,7 @@ export default class Client extends OpenApi {
|
|
|
1110
1110
|
[key: string]: string;
|
|
1111
1111
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersForRegionResponse>;
|
|
1112
1112
|
/**
|
|
1113
|
-
* Queries all clusters in a specified region.
|
|
1113
|
+
* Queries the list of all clusters in a specified region.
|
|
1114
1114
|
*
|
|
1115
1115
|
* @param request - DescribeClustersForRegionRequest
|
|
1116
1116
|
* @returns DescribeClustersForRegionResponse
|
|
@@ -1171,7 +1171,7 @@ export default class Client extends OpenApi {
|
|
|
1171
1171
|
*/
|
|
1172
1172
|
describeEventsForRegion(regionId: string, request: $_model.DescribeEventsForRegionRequest): Promise<$_model.DescribeEventsForRegionResponse>;
|
|
1173
1173
|
/**
|
|
1174
|
-
* Queries the agent configuration
|
|
1174
|
+
* Queries the agent configuration deployed in a registered cluster based on the cluster ID.
|
|
1175
1175
|
*
|
|
1176
1176
|
* @remarks
|
|
1177
1177
|
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -1187,7 +1187,7 @@ export default class Client extends OpenApi {
|
|
|
1187
1187
|
[key: string]: string;
|
|
1188
1188
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeExternalAgentResponse>;
|
|
1189
1189
|
/**
|
|
1190
|
-
* Queries the agent configuration
|
|
1190
|
+
* Queries the agent configuration deployed in a registered cluster based on the cluster ID.
|
|
1191
1191
|
*
|
|
1192
1192
|
* @remarks
|
|
1193
1193
|
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -1217,7 +1217,7 @@ export default class Client extends OpenApi {
|
|
|
1217
1217
|
*/
|
|
1218
1218
|
describeKubernetesVersionMetadata(request: $_model.DescribeKubernetesVersionMetadataRequest): Promise<$_model.DescribeKubernetesVersionMetadataResponse>;
|
|
1219
1219
|
/**
|
|
1220
|
-
*
|
|
1220
|
+
* Invokes the DescribeNodePoolVuls API operation to query the security vulnerability details of a node pool by node pool ID, including the vulnerability name and level. Regularly scan node pools for security vulnerabilities to improve cluster security.
|
|
1221
1221
|
*
|
|
1222
1222
|
* @param request - DescribeNodePoolVulsRequest
|
|
1223
1223
|
* @param headers - map
|
|
@@ -1228,14 +1228,14 @@ export default class Client extends OpenApi {
|
|
|
1228
1228
|
[key: string]: string;
|
|
1229
1229
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeNodePoolVulsResponse>;
|
|
1230
1230
|
/**
|
|
1231
|
-
*
|
|
1231
|
+
* Invokes the DescribeNodePoolVuls API operation to query the security vulnerability details of a node pool by node pool ID, including the vulnerability name and level. Regularly scan node pools for security vulnerabilities to improve cluster security.
|
|
1232
1232
|
*
|
|
1233
1233
|
* @param request - DescribeNodePoolVulsRequest
|
|
1234
1234
|
* @returns DescribeNodePoolVulsResponse
|
|
1235
1235
|
*/
|
|
1236
1236
|
describeNodePoolVuls(clusterId: string, nodepoolId: string, request: $_model.DescribeNodePoolVulsRequest): Promise<$_model.DescribeNodePoolVulsResponse>;
|
|
1237
1237
|
/**
|
|
1238
|
-
*
|
|
1238
|
+
* Provides a comprehensive set of built-in rule libraries for container security policies in ACK clusters, including Compliance, Infra, K8s-general, and PSP, to ensure secure container operations in production environments. You can call the DescribePolicies operation to query the list of policy governance rule libraries.
|
|
1239
1239
|
*
|
|
1240
1240
|
* @param headers - map
|
|
1241
1241
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1245,12 +1245,12 @@ export default class Client extends OpenApi {
|
|
|
1245
1245
|
[key: string]: string;
|
|
1246
1246
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePoliciesResponse>;
|
|
1247
1247
|
/**
|
|
1248
|
-
*
|
|
1248
|
+
* Provides a comprehensive set of built-in rule libraries for container security policies in ACK clusters, including Compliance, Infra, K8s-general, and PSP, to ensure secure container operations in production environments. You can call the DescribePolicies operation to query the list of policy governance rule libraries.
|
|
1249
1249
|
* @returns DescribePoliciesResponse
|
|
1250
1250
|
*/
|
|
1251
1251
|
describePolicies(): Promise<$_model.DescribePoliciesResponse>;
|
|
1252
1252
|
/**
|
|
1253
|
-
*
|
|
1253
|
+
* Provides a comprehensive built-in rule library for container security policies in ACK clusters, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can call the DescribePolicyDetails operation to query the details of specific policy governance rules, such as the rule template description, rule governance action, and rule governance level.
|
|
1254
1254
|
*
|
|
1255
1255
|
* @param headers - map
|
|
1256
1256
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1260,12 +1260,12 @@ export default class Client extends OpenApi {
|
|
|
1260
1260
|
[key: string]: string;
|
|
1261
1261
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyDetailsResponse>;
|
|
1262
1262
|
/**
|
|
1263
|
-
*
|
|
1263
|
+
* Provides a comprehensive built-in rule library for container security policies in ACK clusters, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can call the DescribePolicyDetails operation to query the details of specific policy governance rules, such as the rule template description, rule governance action, and rule governance level.
|
|
1264
1264
|
* @returns DescribePolicyDetailsResponse
|
|
1265
1265
|
*/
|
|
1266
1266
|
describePolicyDetails(policyName: string): Promise<$_model.DescribePolicyDetailsResponse>;
|
|
1267
1267
|
/**
|
|
1268
|
-
* Queries the details of policy governance
|
|
1268
|
+
* Queries the details of policy governance for a specified ACK cluster. Container security policies for ACK clusters provide a comprehensive set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can use this operation to retrieve information such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting statistics.
|
|
1269
1269
|
*
|
|
1270
1270
|
* @param headers - map
|
|
1271
1271
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1275,12 +1275,12 @@ export default class Client extends OpenApi {
|
|
|
1275
1275
|
[key: string]: string;
|
|
1276
1276
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyGovernanceInClusterResponse>;
|
|
1277
1277
|
/**
|
|
1278
|
-
* Queries the details of policy governance
|
|
1278
|
+
* Queries the details of policy governance for a specified ACK cluster. Container security policies for ACK clusters provide a comprehensive set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can use this operation to retrieve information such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting statistics.
|
|
1279
1279
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
1280
1280
|
*/
|
|
1281
1281
|
describePolicyGovernanceInCluster(clusterId: string): Promise<$_model.DescribePolicyGovernanceInClusterResponse>;
|
|
1282
1282
|
/**
|
|
1283
|
-
*
|
|
1283
|
+
* Queries the details of specified policy rule instances in an ACK cluster, such as policy descriptions and governance levels. You can select a security policy type, configure related enforcement actions and scopes, and create and deploy a policy instance in the ACK cluster.
|
|
1284
1284
|
*
|
|
1285
1285
|
* @param request - DescribePolicyInstancesRequest
|
|
1286
1286
|
* @param headers - map
|
|
@@ -1291,7 +1291,7 @@ export default class Client extends OpenApi {
|
|
|
1291
1291
|
[key: string]: string;
|
|
1292
1292
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyInstancesResponse>;
|
|
1293
1293
|
/**
|
|
1294
|
-
*
|
|
1294
|
+
* Queries the details of specified policy rule instances in an ACK cluster, such as policy descriptions and governance levels. You can select a security policy type, configure related enforcement actions and scopes, and create and deploy a policy instance in the ACK cluster.
|
|
1295
1295
|
*
|
|
1296
1296
|
* @param request - DescribePolicyInstancesRequest
|
|
1297
1297
|
* @returns DescribePolicyInstancesResponse
|
|
@@ -1349,10 +1349,10 @@ export default class Client extends OpenApi {
|
|
|
1349
1349
|
*/
|
|
1350
1350
|
describeResourcesDeleteProtection(ClusterId: string, ResourceType: string, request: $_model.DescribeResourcesDeleteProtectionRequest): Promise<$_model.DescribeResourcesDeleteProtectionResponse>;
|
|
1351
1351
|
/**
|
|
1352
|
-
* As
|
|
1352
|
+
* As an administrator responsible for cluster permission management, you can use an Alibaba Cloud account to issue KubeConfig credentials that contain identity information for a specified Resource Access Management (RAM) user or RAM role within the account to connect to an ACK cluster. You can invoke the DescribeSubaccountK8sClusterUserConfig operation to issue or obtain the KubeConfig for any RAM user or role within the account.
|
|
1353
1353
|
*
|
|
1354
1354
|
* @remarks
|
|
1355
|
-
* This operation can be called only by an Alibaba Cloud account.
|
|
1355
|
+
* This API operation can be called only by an Alibaba Cloud account.
|
|
1356
1356
|
*
|
|
1357
1357
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
1358
1358
|
* @param headers - map
|
|
@@ -1363,10 +1363,10 @@ export default class Client extends OpenApi {
|
|
|
1363
1363
|
[key: string]: string;
|
|
1364
1364
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
1365
1365
|
/**
|
|
1366
|
-
* As
|
|
1366
|
+
* As an administrator responsible for cluster permission management, you can use an Alibaba Cloud account to issue KubeConfig credentials that contain identity information for a specified Resource Access Management (RAM) user or RAM role within the account to connect to an ACK cluster. You can invoke the DescribeSubaccountK8sClusterUserConfig operation to issue or obtain the KubeConfig for any RAM user or role within the account.
|
|
1367
1367
|
*
|
|
1368
1368
|
* @remarks
|
|
1369
|
-
* This operation can be called only by an Alibaba Cloud account.
|
|
1369
|
+
* This API operation can be called only by an Alibaba Cloud account.
|
|
1370
1370
|
*
|
|
1371
1371
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
1372
1372
|
* @returns DescribeSubaccountK8sClusterUserConfigResponse
|
|
@@ -1388,7 +1388,7 @@ export default class Client extends OpenApi {
|
|
|
1388
1388
|
*/
|
|
1389
1389
|
describeTaskInfo(taskId: string): Promise<$_model.DescribeTaskInfoResponse>;
|
|
1390
1390
|
/**
|
|
1391
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner
|
|
1391
|
+
* Queries the details of a specified orchestration template, including access permissions, YAML content, and tags. An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner to specify how applications should run or be configured.
|
|
1392
1392
|
*
|
|
1393
1393
|
* @param request - DescribeTemplateAttributeRequest
|
|
1394
1394
|
* @param headers - map
|
|
@@ -1399,14 +1399,14 @@ export default class Client extends OpenApi {
|
|
|
1399
1399
|
[key: string]: string;
|
|
1400
1400
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTemplateAttributeResponse>;
|
|
1401
1401
|
/**
|
|
1402
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner
|
|
1402
|
+
* Queries the details of a specified orchestration template, including access permissions, YAML content, and tags. An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner to specify how applications should run or be configured.
|
|
1403
1403
|
*
|
|
1404
1404
|
* @param request - DescribeTemplateAttributeRequest
|
|
1405
1405
|
* @returns DescribeTemplateAttributeResponse
|
|
1406
1406
|
*/
|
|
1407
1407
|
describeTemplateAttribute(TemplateId: string, request: $_model.DescribeTemplateAttributeRequest): Promise<$_model.DescribeTemplateAttributeResponse>;
|
|
1408
1408
|
/**
|
|
1409
|
-
*
|
|
1409
|
+
* Queries a list of orchestration templates and retrieves their details, including access permissions, YAML content, and tags. An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner to specify how an application should run or be configured.
|
|
1410
1410
|
*
|
|
1411
1411
|
* @param request - DescribeTemplatesRequest
|
|
1412
1412
|
* @param headers - map
|
|
@@ -1417,7 +1417,7 @@ export default class Client extends OpenApi {
|
|
|
1417
1417
|
[key: string]: string;
|
|
1418
1418
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTemplatesResponse>;
|
|
1419
1419
|
/**
|
|
1420
|
-
*
|
|
1420
|
+
* Queries a list of orchestration templates and retrieves their details, including access permissions, YAML content, and tags. An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner to specify how an application should run or be configured.
|
|
1421
1421
|
*
|
|
1422
1422
|
* @param request - DescribeTemplatesRequest
|
|
1423
1423
|
* @returns DescribeTemplatesResponse
|
|
@@ -1442,7 +1442,7 @@ export default class Client extends OpenApi {
|
|
|
1442
1442
|
*/
|
|
1443
1443
|
describeTrigger(clusterId: string, request: $_model.DescribeTriggerRequest): Promise<$_model.DescribeTriggerResponse>;
|
|
1444
1444
|
/**
|
|
1445
|
-
*
|
|
1445
|
+
* Queries the RBAC access permissions to resources in namespaces granted to the current Resource Access Management (RAM) user or role in a specified ACK cluster. In ACK clusters, Kubernetes namespaces ensure that permissions and resources for cluster users are logically isolated. Users granted RBAC permissions only for a specific namespace cannot access resources in other namespaces of the cluster. You can invoke the DescribeUserClusterNamespaces operation to view the namespaces for which the current RAM user or role has been granted access permissions.
|
|
1446
1446
|
*
|
|
1447
1447
|
* @param headers - map
|
|
1448
1448
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1452,7 +1452,7 @@ export default class Client extends OpenApi {
|
|
|
1452
1452
|
[key: string]: string;
|
|
1453
1453
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeUserClusterNamespacesResponse>;
|
|
1454
1454
|
/**
|
|
1455
|
-
*
|
|
1455
|
+
* Queries the RBAC access permissions to resources in namespaces granted to the current Resource Access Management (RAM) user or role in a specified ACK cluster. In ACK clusters, Kubernetes namespaces ensure that permissions and resources for cluster users are logically isolated. Users granted RBAC permissions only for a specific namespace cannot access resources in other namespaces of the cluster. You can invoke the DescribeUserClusterNamespaces operation to view the namespaces for which the current RAM user or role has been granted access permissions.
|
|
1456
1456
|
* @returns DescribeUserClusterNamespacesResponse
|
|
1457
1457
|
*/
|
|
1458
1458
|
describeUserClusterNamespaces(ClusterId: string): Promise<$_model.DescribeUserClusterNamespacesResponse>;
|
|
@@ -1480,7 +1480,7 @@ export default class Client extends OpenApi {
|
|
|
1480
1480
|
*/
|
|
1481
1481
|
describeUserPermission(uid: string): Promise<$_model.DescribeUserPermissionResponse>;
|
|
1482
1482
|
/**
|
|
1483
|
-
* Queries the quotas
|
|
1483
|
+
* Queries the quotas for ACK clusters, node pools, and nodes. To increase a quota, apply in Quota Center.
|
|
1484
1484
|
*
|
|
1485
1485
|
* @param headers - map
|
|
1486
1486
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1490,17 +1490,17 @@ export default class Client extends OpenApi {
|
|
|
1490
1490
|
[key: string]: string;
|
|
1491
1491
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeUserQuotaResponse>;
|
|
1492
1492
|
/**
|
|
1493
|
-
* Queries the quotas
|
|
1493
|
+
* Queries the quotas for ACK clusters, node pools, and nodes. To increase a quota, apply in Quota Center.
|
|
1494
1494
|
* @returns DescribeUserQuotaResponse
|
|
1495
1495
|
*/
|
|
1496
1496
|
describeUserQuota(): Promise<$_model.DescribeUserQuotaResponse>;
|
|
1497
1497
|
/**
|
|
1498
|
-
* Alibaba Cloud security products
|
|
1498
|
+
* Fixes security vulnerability on nodes in a specified node pool of a cluster to improve cluster security. Alibaba Cloud security products regularly scan Elastic Compute Service (ECS) nodes for security vulnerability and provide corresponding fix suggestions and methods. Fixing certain Common Vulnerabilities and Exposures (CVEs) may require node restarts. Ensure that the cluster has sufficient nodes for drain operations. You can invoke the FixNodePoolVuls operation to fix security vulnerability on nodes in a specified node pool and improve the security of cluster nodes.
|
|
1499
1499
|
*
|
|
1500
1500
|
* @remarks
|
|
1501
|
-
* - CVE compatibility is guaranteed by Security Center. Ensure that you have activated the Ultimate edition of Security Center or [purchased
|
|
1502
|
-
* -
|
|
1503
|
-
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the
|
|
1501
|
+
* - CVE compatibility is guaranteed by Security Center. Ensure that you have activated the Ultimate edition of Security Center or [purchased vulnerability fixes (pay-as-you-go)](https://help.aliyun.com/document_detail/42308.html).
|
|
1502
|
+
* - Fixing certain CVEs requires node restarts. Container Service performs drain operations on a node before it restarts. Ensure that the cluster has sufficient idle resources for drain operations, such as scaling out the node pool in advance.
|
|
1503
|
+
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the fix process, you can pause or cancel the task. After you pause or cancel the task, the batches to which fix tasks have been delivered continue to run until completion. The delivery of fix tasks to undelivered batches is paused or canceled.
|
|
1504
1504
|
*
|
|
1505
1505
|
* @param request - FixNodePoolVulsRequest
|
|
1506
1506
|
* @param headers - map
|
|
@@ -1511,19 +1511,19 @@ export default class Client extends OpenApi {
|
|
|
1511
1511
|
[key: string]: string;
|
|
1512
1512
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.FixNodePoolVulsResponse>;
|
|
1513
1513
|
/**
|
|
1514
|
-
* Alibaba Cloud security products
|
|
1514
|
+
* Fixes security vulnerability on nodes in a specified node pool of a cluster to improve cluster security. Alibaba Cloud security products regularly scan Elastic Compute Service (ECS) nodes for security vulnerability and provide corresponding fix suggestions and methods. Fixing certain Common Vulnerabilities and Exposures (CVEs) may require node restarts. Ensure that the cluster has sufficient nodes for drain operations. You can invoke the FixNodePoolVuls operation to fix security vulnerability on nodes in a specified node pool and improve the security of cluster nodes.
|
|
1515
1515
|
*
|
|
1516
1516
|
* @remarks
|
|
1517
|
-
* - CVE compatibility is guaranteed by Security Center. Ensure that you have activated the Ultimate edition of Security Center or [purchased
|
|
1518
|
-
* -
|
|
1519
|
-
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the
|
|
1517
|
+
* - CVE compatibility is guaranteed by Security Center. Ensure that you have activated the Ultimate edition of Security Center or [purchased vulnerability fixes (pay-as-you-go)](https://help.aliyun.com/document_detail/42308.html).
|
|
1518
|
+
* - Fixing certain CVEs requires node restarts. Container Service performs drain operations on a node before it restarts. Ensure that the cluster has sufficient idle resources for drain operations, such as scaling out the node pool in advance.
|
|
1519
|
+
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the fix process, you can pause or cancel the task. After you pause or cancel the task, the batches to which fix tasks have been delivered continue to run until completion. The delivery of fix tasks to undelivered batches is paused or canceled.
|
|
1520
1520
|
*
|
|
1521
1521
|
* @param request - FixNodePoolVulsRequest
|
|
1522
1522
|
* @returns FixNodePoolVulsResponse
|
|
1523
1523
|
*/
|
|
1524
1524
|
fixNodePoolVuls(clusterId: string, nodepoolId: string, request: $_model.FixNodePoolVulsRequest): Promise<$_model.FixNodePoolVulsResponse>;
|
|
1525
1525
|
/**
|
|
1526
|
-
*
|
|
1526
|
+
* Invokes the GetClusterAddonInstance operation to query the details of a specified add-on in a cluster, including the version, parameter settings, and log feature enabling status of the add-on instance.
|
|
1527
1527
|
*
|
|
1528
1528
|
* @param headers - map
|
|
1529
1529
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1533,12 +1533,12 @@ export default class Client extends OpenApi {
|
|
|
1533
1533
|
[key: string]: string;
|
|
1534
1534
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterAddonInstanceResponse>;
|
|
1535
1535
|
/**
|
|
1536
|
-
*
|
|
1536
|
+
* Invokes the GetClusterAddonInstance operation to query the details of a specified add-on in a cluster, including the version, parameter settings, and log feature enabling status of the add-on instance.
|
|
1537
1537
|
* @returns GetClusterAddonInstanceResponse
|
|
1538
1538
|
*/
|
|
1539
1539
|
getClusterAddonInstance(clusterId: string, instanceName: string): Promise<$_model.GetClusterAddonInstanceResponse>;
|
|
1540
1540
|
/**
|
|
1541
|
-
* Queries whether the API server audit feature is enabled for a cluster and
|
|
1541
|
+
* Queries whether the API server audit feature is enabled for a cluster and the Simple Log Service (SLS) project associated with the API server audit logs.
|
|
1542
1542
|
*
|
|
1543
1543
|
* @param headers - map
|
|
1544
1544
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1548,7 +1548,7 @@ export default class Client extends OpenApi {
|
|
|
1548
1548
|
[key: string]: string;
|
|
1549
1549
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterAuditProjectResponse>;
|
|
1550
1550
|
/**
|
|
1551
|
-
* Queries whether the API server audit feature is enabled for a cluster and
|
|
1551
|
+
* Queries whether the API server audit feature is enabled for a cluster and the Simple Log Service (SLS) project associated with the API server audit logs.
|
|
1552
1552
|
* @returns GetClusterAuditProjectResponse
|
|
1553
1553
|
*/
|
|
1554
1554
|
getClusterAuditProject(clusterid: string): Promise<$_model.GetClusterAuditProjectResponse>;
|
|
@@ -1568,7 +1568,7 @@ export default class Client extends OpenApi {
|
|
|
1568
1568
|
*/
|
|
1569
1569
|
getClusterCheck(clusterId: string, checkId: string): Promise<$_model.GetClusterCheckResponse>;
|
|
1570
1570
|
/**
|
|
1571
|
-
* Retrieves the
|
|
1571
|
+
* Retrieves the check items for cluster diagnostics.
|
|
1572
1572
|
*
|
|
1573
1573
|
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
1574
1574
|
* @param headers - map
|
|
@@ -1579,14 +1579,14 @@ export default class Client extends OpenApi {
|
|
|
1579
1579
|
[key: string]: string;
|
|
1580
1580
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterDiagnosisCheckItemsResponse>;
|
|
1581
1581
|
/**
|
|
1582
|
-
* Retrieves the
|
|
1582
|
+
* Retrieves the check items for cluster diagnostics.
|
|
1583
1583
|
*
|
|
1584
1584
|
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
1585
1585
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
1586
1586
|
*/
|
|
1587
1587
|
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string, request: $_model.GetClusterDiagnosisCheckItemsRequest): Promise<$_model.GetClusterDiagnosisCheckItemsResponse>;
|
|
1588
1588
|
/**
|
|
1589
|
-
* Retrieves the diagnosis
|
|
1589
|
+
* Retrieves the cluster diagnosis results.
|
|
1590
1590
|
*
|
|
1591
1591
|
* @param request - GetClusterDiagnosisResultRequest
|
|
1592
1592
|
* @param headers - map
|
|
@@ -1597,14 +1597,14 @@ export default class Client extends OpenApi {
|
|
|
1597
1597
|
[key: string]: string;
|
|
1598
1598
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterDiagnosisResultResponse>;
|
|
1599
1599
|
/**
|
|
1600
|
-
* Retrieves the diagnosis
|
|
1600
|
+
* Retrieves the cluster diagnosis results.
|
|
1601
1601
|
*
|
|
1602
1602
|
* @param request - GetClusterDiagnosisResultRequest
|
|
1603
1603
|
* @returns GetClusterDiagnosisResultResponse
|
|
1604
1604
|
*/
|
|
1605
1605
|
getClusterDiagnosisResult(clusterId: string, diagnosisId: string, request: $_model.GetClusterDiagnosisResultRequest): Promise<$_model.GetClusterDiagnosisResultResponse>;
|
|
1606
1606
|
/**
|
|
1607
|
-
* Retrieves the inspection configuration
|
|
1607
|
+
* Retrieves the cluster inspection configuration.
|
|
1608
1608
|
*
|
|
1609
1609
|
* @param headers - map
|
|
1610
1610
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1614,7 +1614,7 @@ export default class Client extends OpenApi {
|
|
|
1614
1614
|
[key: string]: string;
|
|
1615
1615
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterInspectConfigResponse>;
|
|
1616
1616
|
/**
|
|
1617
|
-
* Retrieves the inspection configuration
|
|
1617
|
+
* Retrieves the cluster inspection configuration.
|
|
1618
1618
|
* @returns GetClusterInspectConfigResponse
|
|
1619
1619
|
*/
|
|
1620
1620
|
getClusterInspectConfig(clusterId: string): Promise<$_model.GetClusterInspectConfigResponse>;
|
|
@@ -1659,7 +1659,7 @@ export default class Client extends OpenApi {
|
|
|
1659
1659
|
*/
|
|
1660
1660
|
getKubernetesTrigger(ClusterId: string, request: $_model.GetKubernetesTriggerRequest): Promise<$_model.GetKubernetesTriggerResponse>;
|
|
1661
1661
|
/**
|
|
1662
|
-
* Queries the upgrade status of a cluster
|
|
1662
|
+
* Queries the upgrade status of a cluster based on the cluster ID.
|
|
1663
1663
|
*
|
|
1664
1664
|
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
1665
1665
|
*
|
|
@@ -1671,7 +1671,7 @@ export default class Client extends OpenApi {
|
|
|
1671
1671
|
[key: string]: string;
|
|
1672
1672
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetUpgradeStatusResponse>;
|
|
1673
1673
|
/**
|
|
1674
|
-
* Queries the upgrade status of a cluster
|
|
1674
|
+
* Queries the upgrade status of a cluster based on the cluster ID.
|
|
1675
1675
|
*
|
|
1676
1676
|
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
1677
1677
|
* @returns GetUpgradeStatusResponse
|
|
@@ -1704,7 +1704,7 @@ export default class Client extends OpenApi {
|
|
|
1704
1704
|
*/
|
|
1705
1705
|
grantPermissions(uid: string, request: $_model.GrantPermissionsRequest): Promise<$_model.GrantPermissionsResponse>;
|
|
1706
1706
|
/**
|
|
1707
|
-
* To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, application
|
|
1707
|
+
* To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, and application, logging and monitoring, networking, storage, and security components. You can call the InstallClusterAddons operation to install components by specifying the component name and version.
|
|
1708
1708
|
*
|
|
1709
1709
|
* @param request - InstallClusterAddonsRequest
|
|
1710
1710
|
* @param headers - map
|
|
@@ -1715,7 +1715,7 @@ export default class Client extends OpenApi {
|
|
|
1715
1715
|
[key: string]: string;
|
|
1716
1716
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.InstallClusterAddonsResponse>;
|
|
1717
1717
|
/**
|
|
1718
|
-
* To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, application
|
|
1718
|
+
* To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, and application, logging and monitoring, networking, storage, and security components. You can call the InstallClusterAddons operation to install components by specifying the component name and version.
|
|
1719
1719
|
*
|
|
1720
1720
|
* @param request - InstallClusterAddonsRequest
|
|
1721
1721
|
* @returns InstallClusterAddonsResponse
|
|
@@ -1740,7 +1740,7 @@ export default class Client extends OpenApi {
|
|
|
1740
1740
|
*/
|
|
1741
1741
|
installNodePoolComponents(clusterId: string, nodePoolId: string, request: $_model.InstallNodePoolComponentsRequest): Promise<$_model.InstallNodePoolComponentsResponse>;
|
|
1742
1742
|
/**
|
|
1743
|
-
*
|
|
1743
|
+
* Queries a list of available components and retrieves detailed component information based on parameters such as the region, cluster type, cluster profile, and cluster version. The detailed information includes whether the component is managed, the schema of supported custom parameters, and compatible operating system architectures.
|
|
1744
1744
|
*
|
|
1745
1745
|
* @param request - ListAddonsRequest
|
|
1746
1746
|
* @param headers - map
|
|
@@ -1751,7 +1751,7 @@ export default class Client extends OpenApi {
|
|
|
1751
1751
|
[key: string]: string;
|
|
1752
1752
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAddonsResponse>;
|
|
1753
1753
|
/**
|
|
1754
|
-
*
|
|
1754
|
+
* Queries a list of available components and retrieves detailed component information based on parameters such as the region, cluster type, cluster profile, and cluster version. The detailed information includes whether the component is managed, the schema of supported custom parameters, and compatible operating system architectures.
|
|
1755
1755
|
*
|
|
1756
1756
|
* @param request - ListAddonsRequest
|
|
1757
1757
|
* @returns ListAddonsResponse
|
|
@@ -1794,7 +1794,7 @@ export default class Client extends OpenApi {
|
|
|
1794
1794
|
*/
|
|
1795
1795
|
listClusterAddonInstanceResources(clusterId: string, instanceName: string): Promise<$_model.ListClusterAddonInstanceResourcesResponse>;
|
|
1796
1796
|
/**
|
|
1797
|
-
* Queries
|
|
1797
|
+
* Queries a list of installed add-on instances in a specified cluster and retrieves related information about the add-on instances, such as the add-on version and status.
|
|
1798
1798
|
*
|
|
1799
1799
|
* @param headers - map
|
|
1800
1800
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1804,7 +1804,7 @@ export default class Client extends OpenApi {
|
|
|
1804
1804
|
[key: string]: string;
|
|
1805
1805
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterAddonInstancesResponse>;
|
|
1806
1806
|
/**
|
|
1807
|
-
* Queries
|
|
1807
|
+
* Queries a list of installed add-on instances in a specified cluster and retrieves related information about the add-on instances, such as the add-on version and status.
|
|
1808
1808
|
* @returns ListClusterAddonInstancesResponse
|
|
1809
1809
|
*/
|
|
1810
1810
|
listClusterAddonInstances(clusterId: string): Promise<$_model.ListClusterAddonInstancesResponse>;
|
|
@@ -1889,7 +1889,7 @@ export default class Client extends OpenApi {
|
|
|
1889
1889
|
*/
|
|
1890
1890
|
listNodePoolComponentInstanceNodes(clusterId: string, nodepoolId: string, name: string, request: $_model.ListNodePoolComponentInstanceNodesRequest): Promise<$_model.ListNodePoolComponentInstanceNodesResponse>;
|
|
1891
1891
|
/**
|
|
1892
|
-
* Queries node component instances.
|
|
1892
|
+
* Queries the list of node component instances.
|
|
1893
1893
|
*
|
|
1894
1894
|
* @param request - ListNodePoolComponentInstancesRequest
|
|
1895
1895
|
* @param headers - map
|
|
@@ -1900,7 +1900,7 @@ export default class Client extends OpenApi {
|
|
|
1900
1900
|
[key: string]: string;
|
|
1901
1901
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListNodePoolComponentInstancesResponse>;
|
|
1902
1902
|
/**
|
|
1903
|
-
* Queries node component instances.
|
|
1903
|
+
* Queries the list of node component instances.
|
|
1904
1904
|
*
|
|
1905
1905
|
* @param request - ListNodePoolComponentInstancesRequest
|
|
1906
1906
|
* @returns ListNodePoolComponentInstancesResponse
|
|
@@ -1961,7 +1961,7 @@ export default class Client extends OpenApi {
|
|
|
1961
1961
|
*/
|
|
1962
1962
|
listOperationPlansForRegion(regionId: string, request: $_model.ListOperationPlansForRegionRequest): Promise<$_model.ListOperationPlansForRegionResponse>;
|
|
1963
1963
|
/**
|
|
1964
|
-
* You can add tag key-value pairs to clusters so that
|
|
1964
|
+
* Queries the tag list of clusters. You can add tag key-value pairs to clusters so that developers and O&M engineers can classify and manage clusters more flexibly. This better supports requirements such as monitoring, cost analysis, and tenant isolation. You can call the ListTagResources operation to obtain the list of resource tags and query tag details, such as key-value pairs and associated clusters.
|
|
1965
1965
|
*
|
|
1966
1966
|
* @param tmpReq - ListTagResourcesRequest
|
|
1967
1967
|
* @param headers - map
|
|
@@ -1972,17 +1972,17 @@ export default class Client extends OpenApi {
|
|
|
1972
1972
|
[key: string]: string;
|
|
1973
1973
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagResourcesResponse>;
|
|
1974
1974
|
/**
|
|
1975
|
-
* You can add tag key-value pairs to clusters so that
|
|
1975
|
+
* Queries the tag list of clusters. You can add tag key-value pairs to clusters so that developers and O&M engineers can classify and manage clusters more flexibly. This better supports requirements such as monitoring, cost analysis, and tenant isolation. You can call the ListTagResources operation to obtain the list of resource tags and query tag details, such as key-value pairs and associated clusters.
|
|
1976
1976
|
*
|
|
1977
1977
|
* @param request - ListTagResourcesRequest
|
|
1978
1978
|
* @returns ListTagResourcesResponse
|
|
1979
1979
|
*/
|
|
1980
1980
|
listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse>;
|
|
1981
1981
|
/**
|
|
1982
|
-
* Queries the KubeConfig status list of all clusters for the current user.
|
|
1982
|
+
* Queries the KubeConfig status list of all clusters for the current user.
|
|
1983
1983
|
*
|
|
1984
1984
|
* @remarks
|
|
1985
|
-
* > To call this operation, you must have
|
|
1985
|
+
* > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
|
|
1986
1986
|
*
|
|
1987
1987
|
* @param request - ListUserKubeConfigStatesRequest
|
|
1988
1988
|
* @param headers - map
|
|
@@ -1993,10 +1993,10 @@ export default class Client extends OpenApi {
|
|
|
1993
1993
|
[key: string]: string;
|
|
1994
1994
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserKubeConfigStatesResponse>;
|
|
1995
1995
|
/**
|
|
1996
|
-
* Queries the KubeConfig status list of all clusters for the current user.
|
|
1996
|
+
* Queries the KubeConfig status list of all clusters for the current user.
|
|
1997
1997
|
*
|
|
1998
1998
|
* @remarks
|
|
1999
|
-
* > To call this operation, you must have
|
|
1999
|
+
* > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
|
|
2000
2000
|
*
|
|
2001
2001
|
* @param request - ListUserKubeConfigStatesRequest
|
|
2002
2002
|
* @returns ListUserKubeConfigStatesResponse
|
|
@@ -2075,13 +2075,13 @@ export default class Client extends OpenApi {
|
|
|
2075
2075
|
*/
|
|
2076
2076
|
modifyCluster(ClusterId: string, request: $_model.ModifyClusterRequest): Promise<$_model.ModifyClusterResponse>;
|
|
2077
2077
|
/**
|
|
2078
|
-
* Modifies the configuration of an installed cluster
|
|
2078
|
+
* Modifies the configuration of an installed cluster add-on instance. Modifying the configuration may affect your services. Evaluate the impact, perform the operation during off-peak hours, and back up your data in advance.
|
|
2079
2079
|
*
|
|
2080
2080
|
* @remarks
|
|
2081
|
-
* You can
|
|
2082
|
-
* -
|
|
2083
|
-
* - For the configurable control plane
|
|
2084
|
-
* Modifying the configuration may cause
|
|
2081
|
+
* You can call this operation to modify the configuration of add-ons in common clusters and the control plane parameter settings of ACK Pro clusters:
|
|
2082
|
+
* - You can call the DescribeClusterAddonMetadata API operation to query the list of configurable parameters for common add-ons. For details, see [Query cluster add-on version metadata](https://help.aliyun.com/document_detail/2667944.html).
|
|
2083
|
+
* - For the list of configurable parameters for the control plane components of ACK Pro clusters, see [Customize the control plane parameter settings of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
2084
|
+
* Modifying the configuration may cause add-on redeployment and restart. Evaluate the impact before you proceed.
|
|
2085
2085
|
*
|
|
2086
2086
|
* @param request - ModifyClusterAddonRequest
|
|
2087
2087
|
* @param headers - map
|
|
@@ -2092,13 +2092,13 @@ export default class Client extends OpenApi {
|
|
|
2092
2092
|
[key: string]: string;
|
|
2093
2093
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterAddonResponse>;
|
|
2094
2094
|
/**
|
|
2095
|
-
* Modifies the configuration of an installed cluster
|
|
2095
|
+
* Modifies the configuration of an installed cluster add-on instance. Modifying the configuration may affect your services. Evaluate the impact, perform the operation during off-peak hours, and back up your data in advance.
|
|
2096
2096
|
*
|
|
2097
2097
|
* @remarks
|
|
2098
|
-
* You can
|
|
2099
|
-
* -
|
|
2100
|
-
* - For the configurable control plane
|
|
2101
|
-
* Modifying the configuration may cause
|
|
2098
|
+
* You can call this operation to modify the configuration of add-ons in common clusters and the control plane parameter settings of ACK Pro clusters:
|
|
2099
|
+
* - You can call the DescribeClusterAddonMetadata API operation to query the list of configurable parameters for common add-ons. For details, see [Query cluster add-on version metadata](https://help.aliyun.com/document_detail/2667944.html).
|
|
2100
|
+
* - For the list of configurable parameters for the control plane components of ACK Pro clusters, see [Customize the control plane parameter settings of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
2101
|
+
* Modifying the configuration may cause add-on redeployment and restart. Evaluate the impact before you proceed.
|
|
2102
2102
|
*
|
|
2103
2103
|
* @param request - ModifyClusterAddonRequest
|
|
2104
2104
|
* @returns ModifyClusterAddonResponse
|
|
@@ -2129,10 +2129,10 @@ export default class Client extends OpenApi {
|
|
|
2129
2129
|
*/
|
|
2130
2130
|
modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: $_model.ModifyClusterNodePoolRequest): Promise<$_model.ModifyClusterNodePoolResponse>;
|
|
2131
2131
|
/**
|
|
2132
|
-
* You can add tag key-value pairs to
|
|
2132
|
+
* Updates the tags of a cluster. You can add tag key-value pairs to a cluster to help developers and O&M engineers classify and manage clusters more flexibly, and better support requirements such as monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify cluster tags.
|
|
2133
2133
|
*
|
|
2134
2134
|
* @remarks
|
|
2135
|
-
* - This operation performs a full update.
|
|
2135
|
+
* - This operation performs a full update. When you call this operation, specify all target tags in the request parameters to avoid losing existing tags. To perform an incremental update, use the [TagResources](https://help.aliyun.com/document_detail/2667969.html) operation to add tags to the cluster.
|
|
2136
2136
|
*
|
|
2137
2137
|
* @param request - ModifyClusterTagsRequest
|
|
2138
2138
|
* @param headers - map
|
|
@@ -2143,10 +2143,10 @@ export default class Client extends OpenApi {
|
|
|
2143
2143
|
[key: string]: string;
|
|
2144
2144
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterTagsResponse>;
|
|
2145
2145
|
/**
|
|
2146
|
-
* You can add tag key-value pairs to
|
|
2146
|
+
* Updates the tags of a cluster. You can add tag key-value pairs to a cluster to help developers and O&M engineers classify and manage clusters more flexibly, and better support requirements such as monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify cluster tags.
|
|
2147
2147
|
*
|
|
2148
2148
|
* @remarks
|
|
2149
|
-
* - This operation performs a full update.
|
|
2149
|
+
* - This operation performs a full update. When you call this operation, specify all target tags in the request parameters to avoid losing existing tags. To perform an incremental update, use the [TagResources](https://help.aliyun.com/document_detail/2667969.html) operation to add tags to the cluster.
|
|
2150
2150
|
*
|
|
2151
2151
|
* @param request - ModifyClusterTagsRequest
|
|
2152
2152
|
* @returns ModifyClusterTagsResponse
|
|
@@ -2177,7 +2177,7 @@ export default class Client extends OpenApi {
|
|
|
2177
2177
|
*/
|
|
2178
2178
|
modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: $_model.ModifyNodePoolNodeConfigRequest): Promise<$_model.ModifyNodePoolNodeConfigResponse>;
|
|
2179
2179
|
/**
|
|
2180
|
-
* Updates a policy rule instance in a specified cluster
|
|
2180
|
+
* Updates a policy rule instance in a specified cluster. You can modify the governance action, such as alert or block, and the namespace scope of the policy instance.
|
|
2181
2181
|
*
|
|
2182
2182
|
* @param request - ModifyPolicyInstanceRequest
|
|
2183
2183
|
* @param headers - map
|
|
@@ -2188,18 +2188,18 @@ export default class Client extends OpenApi {
|
|
|
2188
2188
|
[key: string]: string;
|
|
2189
2189
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyPolicyInstanceResponse>;
|
|
2190
2190
|
/**
|
|
2191
|
-
* Updates a policy rule instance in a specified cluster
|
|
2191
|
+
* Updates a policy rule instance in a specified cluster. You can modify the governance action, such as alert or block, and the namespace scope of the policy instance.
|
|
2192
2192
|
*
|
|
2193
2193
|
* @param request - ModifyPolicyInstanceRequest
|
|
2194
2194
|
* @returns ModifyPolicyInstanceResponse
|
|
2195
2195
|
*/
|
|
2196
2196
|
modifyPolicyInstance(clusterId: string, policyName: string, request: $_model.ModifyPolicyInstanceRequest): Promise<$_model.ModifyPolicyInstanceResponse>;
|
|
2197
2197
|
/**
|
|
2198
|
-
*
|
|
2198
|
+
* Activates Container Service for Kubernetes (ACK) for first-time users.
|
|
2199
2199
|
*
|
|
2200
2200
|
* @remarks
|
|
2201
|
-
* - An Alibaba Cloud account can activate ACK.
|
|
2202
|
-
* - A Resource Access Management (RAM) user
|
|
2201
|
+
* - An Alibaba Cloud account can activate Container Service for Kubernetes (ACK).
|
|
2202
|
+
* - A Resource Access Management (RAM) user to which the AdministratorAccess policy is attached can activate the service.
|
|
2203
2203
|
*
|
|
2204
2204
|
* @param request - OpenAckServiceRequest
|
|
2205
2205
|
* @param headers - map
|
|
@@ -2210,18 +2210,18 @@ export default class Client extends OpenApi {
|
|
|
2210
2210
|
[key: string]: string;
|
|
2211
2211
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.OpenAckServiceResponse>;
|
|
2212
2212
|
/**
|
|
2213
|
-
*
|
|
2213
|
+
* Activates Container Service for Kubernetes (ACK) for first-time users.
|
|
2214
2214
|
*
|
|
2215
2215
|
* @remarks
|
|
2216
|
-
* - An Alibaba Cloud account can activate ACK.
|
|
2217
|
-
* - A Resource Access Management (RAM) user
|
|
2216
|
+
* - An Alibaba Cloud account can activate Container Service for Kubernetes (ACK).
|
|
2217
|
+
* - A Resource Access Management (RAM) user to which the AdministratorAccess policy is attached can activate the service.
|
|
2218
2218
|
*
|
|
2219
2219
|
* @param request - OpenAckServiceRequest
|
|
2220
2220
|
* @returns OpenAckServiceResponse
|
|
2221
2221
|
*/
|
|
2222
2222
|
openAckService(request: $_model.OpenAckServiceRequest): Promise<$_model.OpenAckServiceResponse>;
|
|
2223
2223
|
/**
|
|
2224
|
-
* Pauses
|
|
2224
|
+
* Pauses a cluster upgrade.
|
|
2225
2225
|
*
|
|
2226
2226
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
2227
2227
|
*
|
|
@@ -2233,7 +2233,7 @@ export default class Client extends OpenApi {
|
|
|
2233
2233
|
[key: string]: string;
|
|
2234
2234
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.PauseClusterUpgradeResponse>;
|
|
2235
2235
|
/**
|
|
2236
|
-
* Pauses
|
|
2236
|
+
* Pauses a cluster upgrade.
|
|
2237
2237
|
*
|
|
2238
2238
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
2239
2239
|
* @returns PauseClusterUpgradeResponse
|
|
@@ -2296,14 +2296,14 @@ export default class Client extends OpenApi {
|
|
|
2296
2296
|
*/
|
|
2297
2297
|
removeClusterNodes(ClusterId: string, request: $_model.RemoveClusterNodesRequest): Promise<$_model.RemoveClusterNodesResponse>;
|
|
2298
2298
|
/**
|
|
2299
|
-
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when
|
|
2299
|
+
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes. Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours and back up your data in advance.
|
|
2300
2300
|
*
|
|
2301
2301
|
* @remarks
|
|
2302
|
-
* -
|
|
2302
|
+
* - Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours.
|
|
2303
2303
|
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
2304
|
-
* - During the operation, the
|
|
2305
|
-
* -
|
|
2306
|
-
*
|
|
2304
|
+
* - During the operation, the system sets the nodes to the unschedulable state.
|
|
2305
|
+
* - Only worker nodes are removed. Master nodes are not removed.
|
|
2306
|
+
* - Even if you choose to release nodes (by setting release_node to true), subscription nodes are not released. You must release them manually in the [ECS console](https://ecs.console.aliyun.com/) after removing them from the node pool.
|
|
2307
2307
|
*
|
|
2308
2308
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
2309
2309
|
* @param headers - map
|
|
@@ -2314,21 +2314,21 @@ export default class Client extends OpenApi {
|
|
|
2314
2314
|
[key: string]: string;
|
|
2315
2315
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveNodePoolNodesResponse>;
|
|
2316
2316
|
/**
|
|
2317
|
-
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when
|
|
2317
|
+
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes. Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours and back up your data in advance.
|
|
2318
2318
|
*
|
|
2319
2319
|
* @remarks
|
|
2320
|
-
* -
|
|
2320
|
+
* - Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours.
|
|
2321
2321
|
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
2322
|
-
* - During the operation, the
|
|
2323
|
-
* -
|
|
2324
|
-
*
|
|
2322
|
+
* - During the operation, the system sets the nodes to the unschedulable state.
|
|
2323
|
+
* - Only worker nodes are removed. Master nodes are not removed.
|
|
2324
|
+
* - Even if you choose to release nodes (by setting release_node to true), subscription nodes are not released. You must release them manually in the [ECS console](https://ecs.console.aliyun.com/) after removing them from the node pool.
|
|
2325
2325
|
*
|
|
2326
2326
|
* @param request - RemoveNodePoolNodesRequest
|
|
2327
2327
|
* @returns RemoveNodePoolNodesResponse
|
|
2328
2328
|
*/
|
|
2329
2329
|
removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: $_model.RemoveNodePoolNodesRequest): Promise<$_model.RemoveNodePoolNodesResponse>;
|
|
2330
2330
|
/**
|
|
2331
|
-
* Repairs
|
|
2331
|
+
* Repairs a node pool in a cluster.
|
|
2332
2332
|
*
|
|
2333
2333
|
* @param request - RepairClusterNodePoolRequest
|
|
2334
2334
|
* @param headers - map
|
|
@@ -2339,7 +2339,7 @@ export default class Client extends OpenApi {
|
|
|
2339
2339
|
[key: string]: string;
|
|
2340
2340
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RepairClusterNodePoolResponse>;
|
|
2341
2341
|
/**
|
|
2342
|
-
* Repairs
|
|
2342
|
+
* Repairs a node pool in a cluster.
|
|
2343
2343
|
*
|
|
2344
2344
|
* @param request - RepairClusterNodePoolRequest
|
|
2345
2345
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -2414,7 +2414,7 @@ export default class Client extends OpenApi {
|
|
|
2414
2414
|
*/
|
|
2415
2415
|
revokeK8sClusterKubeConfig(ClusterId: string): Promise<$_model.RevokeK8sClusterKubeConfigResponse>;
|
|
2416
2416
|
/**
|
|
2417
|
-
* The Container
|
|
2417
|
+
* Initiates a check for a Kubernetes cluster. The Container Intelligent O&M Platform provides comprehensive check capabilities for Kubernetes clusters, including cluster upgrade, cluster migration, component installation, component upgrade, and node pool checks. The platform automatically triggers a check before an upgrade, migration, or installation. You can perform the change operation only after the check passes. You can also manually call the RunClusterCheck operation to perform a cluster check. Regularly check and maintain your clusters to prevent security risks.
|
|
2418
2418
|
*
|
|
2419
2419
|
* @param request - RunClusterCheckRequest
|
|
2420
2420
|
* @param headers - map
|
|
@@ -2425,7 +2425,7 @@ export default class Client extends OpenApi {
|
|
|
2425
2425
|
[key: string]: string;
|
|
2426
2426
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RunClusterCheckResponse>;
|
|
2427
2427
|
/**
|
|
2428
|
-
* The Container
|
|
2428
|
+
* Initiates a check for a Kubernetes cluster. The Container Intelligent O&M Platform provides comprehensive check capabilities for Kubernetes clusters, including cluster upgrade, cluster migration, component installation, component upgrade, and node pool checks. The platform automatically triggers a check before an upgrade, migration, or installation. You can perform the change operation only after the check passes. You can also manually call the RunClusterCheck operation to perform a cluster check. Regularly check and maintain your clusters to prevent security risks.
|
|
2429
2429
|
*
|
|
2430
2430
|
* @param request - RunClusterCheckRequest
|
|
2431
2431
|
* @returns RunClusterCheckResponse
|
|
@@ -2468,7 +2468,7 @@ export default class Client extends OpenApi {
|
|
|
2468
2468
|
*/
|
|
2469
2469
|
runNodeOperation(clusterId: string, nodepoolId: string, nodeName: string, request: $_model.RunNodeOperationRequest): Promise<$_model.RunNodeOperationResponse>;
|
|
2470
2470
|
/**
|
|
2471
|
-
* Scales out a node pool
|
|
2471
|
+
* Scales out the nodes in a node pool to ensure sufficient node capacity for workloads.
|
|
2472
2472
|
*
|
|
2473
2473
|
* @param request - ScaleClusterNodePoolRequest
|
|
2474
2474
|
* @param headers - map
|
|
@@ -2479,7 +2479,7 @@ export default class Client extends OpenApi {
|
|
|
2479
2479
|
[key: string]: string;
|
|
2480
2480
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ScaleClusterNodePoolResponse>;
|
|
2481
2481
|
/**
|
|
2482
|
-
* Scales out a node pool
|
|
2482
|
+
* Scales out the nodes in a node pool to ensure sufficient node capacity for workloads.
|
|
2483
2483
|
*
|
|
2484
2484
|
* @param request - ScaleClusterNodePoolRequest
|
|
2485
2485
|
* @returns ScaleClusterNodePoolResponse
|
|
@@ -2504,7 +2504,7 @@ export default class Client extends OpenApi {
|
|
|
2504
2504
|
*/
|
|
2505
2505
|
scaleOutCluster(ClusterId: string, request: $_model.ScaleOutClusterRequest): Promise<$_model.ScaleOutClusterResponse>;
|
|
2506
2506
|
/**
|
|
2507
|
-
*
|
|
2507
|
+
* Invokes the ScanClusterVuls API operation to scan ACK clusters for potential security vulnerabilities, including container workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows operating system vulnerabilities. Regularly scan clusters for security vulnerabilities to improve cluster security.
|
|
2508
2508
|
*
|
|
2509
2509
|
* @param headers - map
|
|
2510
2510
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2514,12 +2514,12 @@ export default class Client extends OpenApi {
|
|
|
2514
2514
|
[key: string]: string;
|
|
2515
2515
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ScanClusterVulsResponse>;
|
|
2516
2516
|
/**
|
|
2517
|
-
*
|
|
2517
|
+
* Invokes the ScanClusterVuls API operation to scan ACK clusters for potential security vulnerabilities, including container workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows operating system vulnerabilities. Regularly scan clusters for security vulnerabilities to improve cluster security.
|
|
2518
2518
|
* @returns ScanClusterVulsResponse
|
|
2519
2519
|
*/
|
|
2520
2520
|
scanClusterVuls(clusterId: string): Promise<$_model.ScanClusterVulsResponse>;
|
|
2521
2521
|
/**
|
|
2522
|
-
* Starts
|
|
2522
|
+
* Starts the specified alert rule.
|
|
2523
2523
|
*
|
|
2524
2524
|
* @param request - StartAlertRequest
|
|
2525
2525
|
* @param headers - map
|
|
@@ -2530,14 +2530,14 @@ export default class Client extends OpenApi {
|
|
|
2530
2530
|
[key: string]: string;
|
|
2531
2531
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.StartAlertResponse>;
|
|
2532
2532
|
/**
|
|
2533
|
-
* Starts
|
|
2533
|
+
* Starts the specified alert rule.
|
|
2534
2534
|
*
|
|
2535
2535
|
* @param request - StartAlertRequest
|
|
2536
2536
|
* @returns StartAlertResponse
|
|
2537
2537
|
*/
|
|
2538
2538
|
startAlert(ClusterId: string, request: $_model.StartAlertRequest): Promise<$_model.StartAlertResponse>;
|
|
2539
2539
|
/**
|
|
2540
|
-
*
|
|
2540
|
+
* Disables alert rules in the ACK Alert Center. You can disable an entire alert rule group or an individual alert rule.
|
|
2541
2541
|
*
|
|
2542
2542
|
* @param request - StopAlertRequest
|
|
2543
2543
|
* @param headers - map
|
|
@@ -2548,14 +2548,14 @@ export default class Client extends OpenApi {
|
|
|
2548
2548
|
[key: string]: string;
|
|
2549
2549
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.StopAlertResponse>;
|
|
2550
2550
|
/**
|
|
2551
|
-
*
|
|
2551
|
+
* Disables alert rules in the ACK Alert Center. You can disable an entire alert rule group or an individual alert rule.
|
|
2552
2552
|
*
|
|
2553
2553
|
* @param request - StopAlertRequest
|
|
2554
2554
|
* @returns StopAlertResponse
|
|
2555
2555
|
*/
|
|
2556
2556
|
stopAlert(ClusterId: string, request: $_model.StopAlertRequest): Promise<$_model.StopAlertResponse>;
|
|
2557
2557
|
/**
|
|
2558
|
-
* Synchronizes a cluster node pool, including node pool metadata and node information
|
|
2558
|
+
* Synchronizes a cluster node pool, including node pool metadata and node information.
|
|
2559
2559
|
*
|
|
2560
2560
|
* @param headers - map
|
|
2561
2561
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2565,12 +2565,12 @@ export default class Client extends OpenApi {
|
|
|
2565
2565
|
[key: string]: string;
|
|
2566
2566
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SyncClusterNodePoolResponse>;
|
|
2567
2567
|
/**
|
|
2568
|
-
* Synchronizes a cluster node pool, including node pool metadata and node information
|
|
2568
|
+
* Synchronizes a cluster node pool, including node pool metadata and node information.
|
|
2569
2569
|
* @returns SyncClusterNodePoolResponse
|
|
2570
2570
|
*/
|
|
2571
2571
|
syncClusterNodePool(ClusterId: string): Promise<$_model.SyncClusterNodePoolResponse>;
|
|
2572
2572
|
/**
|
|
2573
|
-
*
|
|
2573
|
+
* Binds tags to a cluster. Adding tag key-value pairs allows cluster developers and O&M engineers to classify and manage clusters more flexibly, and better supports requirements such as monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to bind tags to a cluster.
|
|
2574
2574
|
*
|
|
2575
2575
|
* @param request - TagResourcesRequest
|
|
2576
2576
|
* @param headers - map
|
|
@@ -2581,14 +2581,14 @@ export default class Client extends OpenApi {
|
|
|
2581
2581
|
[key: string]: string;
|
|
2582
2582
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse>;
|
|
2583
2583
|
/**
|
|
2584
|
-
*
|
|
2584
|
+
* Binds tags to a cluster. Adding tag key-value pairs allows cluster developers and O&M engineers to classify and manage clusters more flexibly, and better supports requirements such as monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to bind tags to a cluster.
|
|
2585
2585
|
*
|
|
2586
2586
|
* @param request - TagResourcesRequest
|
|
2587
2587
|
* @returns TagResourcesResponse
|
|
2588
2588
|
*/
|
|
2589
2589
|
tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse>;
|
|
2590
2590
|
/**
|
|
2591
|
-
* Uninstalls specified components from a cluster
|
|
2591
|
+
* Uninstalls specified components from a cluster and specifies whether to delete the associated Alibaba Cloud resources.
|
|
2592
2592
|
*
|
|
2593
2593
|
* @param request - UnInstallClusterAddonsRequest
|
|
2594
2594
|
* @param headers - map
|
|
@@ -2599,14 +2599,14 @@ export default class Client extends OpenApi {
|
|
|
2599
2599
|
[key: string]: string;
|
|
2600
2600
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UnInstallClusterAddonsResponse>;
|
|
2601
2601
|
/**
|
|
2602
|
-
* Uninstalls specified components from a cluster
|
|
2602
|
+
* Uninstalls specified components from a cluster and specifies whether to delete the associated Alibaba Cloud resources.
|
|
2603
2603
|
*
|
|
2604
2604
|
* @param request - UnInstallClusterAddonsRequest
|
|
2605
2605
|
* @returns UnInstallClusterAddonsResponse
|
|
2606
2606
|
*/
|
|
2607
2607
|
unInstallClusterAddons(ClusterId: string, request: $_model.UnInstallClusterAddonsRequest): Promise<$_model.UnInstallClusterAddonsResponse>;
|
|
2608
2608
|
/**
|
|
2609
|
-
* Deletes resource tags when
|
|
2609
|
+
* Deletes resource tags when the tag key-value pairs of a cluster are no longer needed.
|
|
2610
2610
|
*
|
|
2611
2611
|
* @param tmpReq - UntagResourcesRequest
|
|
2612
2612
|
* @param headers - map
|
|
@@ -2617,17 +2617,17 @@ export default class Client extends OpenApi {
|
|
|
2617
2617
|
[key: string]: string;
|
|
2618
2618
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UntagResourcesResponse>;
|
|
2619
2619
|
/**
|
|
2620
|
-
* Deletes resource tags when
|
|
2620
|
+
* Deletes resource tags when the tag key-value pairs of a cluster are no longer needed.
|
|
2621
2621
|
*
|
|
2622
2622
|
* @param request - UntagResourcesRequest
|
|
2623
2623
|
* @returns UntagResourcesResponse
|
|
2624
2624
|
*/
|
|
2625
2625
|
untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse>;
|
|
2626
2626
|
/**
|
|
2627
|
-
*
|
|
2627
|
+
* Enables or disables the audit log feature for a specified ACK cluster, or updates the audit log configurations to record requests to the Kubernetes API and the corresponding results for tracing cluster operation history and troubleshooting cluster faults.
|
|
2628
2628
|
*
|
|
2629
2629
|
* @remarks
|
|
2630
|
-
* Before you
|
|
2630
|
+
* Before you call this operation, make sure that you fully understand the billing methods and pricing of <props="china">[Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls)<props="intl">[Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
|
|
2631
2631
|
*
|
|
2632
2632
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
2633
2633
|
* @param headers - map
|
|
@@ -2638,10 +2638,10 @@ export default class Client extends OpenApi {
|
|
|
2638
2638
|
[key: string]: string;
|
|
2639
2639
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateClusterAuditLogConfigResponse>;
|
|
2640
2640
|
/**
|
|
2641
|
-
*
|
|
2641
|
+
* Enables or disables the audit log feature for a specified ACK cluster, or updates the audit log configurations to record requests to the Kubernetes API and the corresponding results for tracing cluster operation history and troubleshooting cluster faults.
|
|
2642
2642
|
*
|
|
2643
2643
|
* @remarks
|
|
2644
|
-
* Before you
|
|
2644
|
+
* Before you call this operation, make sure that you fully understand the billing methods and pricing of <props="china">[Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls)<props="intl">[Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
|
|
2645
2645
|
*
|
|
2646
2646
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
2647
2647
|
* @returns UpdateClusterAuditLogConfigResponse
|
|
@@ -2684,7 +2684,7 @@ export default class Client extends OpenApi {
|
|
|
2684
2684
|
*/
|
|
2685
2685
|
updateContactGroupForAlert(ClusterId: string, request: $_model.UpdateContactGroupForAlertRequest): Promise<$_model.UpdateContactGroupForAlertResponse>;
|
|
2686
2686
|
/**
|
|
2687
|
-
* ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS)
|
|
2687
|
+
* Modifies the control plane component log configurations for an ACK managed cluster. ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) project. Control plane components include core components such as Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call the UpdateControlPlaneLog operation to modify the control plane component log configurations, such as the log retention period and the components to collect.
|
|
2688
2688
|
*
|
|
2689
2689
|
* @param request - UpdateControlPlaneLogRequest
|
|
2690
2690
|
* @param headers - map
|
|
@@ -2695,18 +2695,18 @@ export default class Client extends OpenApi {
|
|
|
2695
2695
|
[key: string]: string;
|
|
2696
2696
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateControlPlaneLogResponse>;
|
|
2697
2697
|
/**
|
|
2698
|
-
* ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS)
|
|
2698
|
+
* Modifies the control plane component log configurations for an ACK managed cluster. ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) project. Control plane components include core components such as Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call the UpdateControlPlaneLog operation to modify the control plane component log configurations, such as the log retention period and the components to collect.
|
|
2699
2699
|
*
|
|
2700
2700
|
* @param request - UpdateControlPlaneLogRequest
|
|
2701
2701
|
* @returns UpdateControlPlaneLogResponse
|
|
2702
2702
|
*/
|
|
2703
2703
|
updateControlPlaneLog(ClusterId: string, request: $_model.UpdateControlPlaneLogRequest): Promise<$_model.UpdateControlPlaneLogResponse>;
|
|
2704
2704
|
/**
|
|
2705
|
-
* Updates the
|
|
2705
|
+
* Updates the expiration time of the KubeConfig issued by an ACK cluster. By default, the KubeConfig expires in three years. You can use an Alibaba Cloud account to invoke the UpdateK8sClusterUserConfigExpire operation to specify the expiration time of the KubeConfig issued to a Resource Access Management (RAM) user or role in the ACK cluster. Valid values: 1 to 876000 hours.
|
|
2706
2706
|
*
|
|
2707
2707
|
* @remarks
|
|
2708
|
-
* -
|
|
2709
|
-
* - If
|
|
2708
|
+
* - Only Alibaba Cloud accounts can call this operation.
|
|
2709
|
+
* - If the KubeConfig credential used for the cluster is revoked, the custom expiration time configured for the cluster KubeConfig is also reset. You must call this operation to reconfigure the expiration time.
|
|
2710
2710
|
*
|
|
2711
2711
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
2712
2712
|
* @param headers - map
|
|
@@ -2717,11 +2717,11 @@ export default class Client extends OpenApi {
|
|
|
2717
2717
|
[key: string]: string;
|
|
2718
2718
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateK8sClusterUserConfigExpireResponse>;
|
|
2719
2719
|
/**
|
|
2720
|
-
* Updates the
|
|
2720
|
+
* Updates the expiration time of the KubeConfig issued by an ACK cluster. By default, the KubeConfig expires in three years. You can use an Alibaba Cloud account to invoke the UpdateK8sClusterUserConfigExpire operation to specify the expiration time of the KubeConfig issued to a Resource Access Management (RAM) user or role in the ACK cluster. Valid values: 1 to 876000 hours.
|
|
2721
2721
|
*
|
|
2722
2722
|
* @remarks
|
|
2723
|
-
* -
|
|
2724
|
-
* - If
|
|
2723
|
+
* - Only Alibaba Cloud accounts can call this operation.
|
|
2724
|
+
* - If the KubeConfig credential used for the cluster is revoked, the custom expiration time configured for the cluster KubeConfig is also reset. You must call this operation to reconfigure the expiration time.
|
|
2725
2725
|
*
|
|
2726
2726
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
2727
2727
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|
|
@@ -2731,9 +2731,9 @@ export default class Client extends OpenApi {
|
|
|
2731
2731
|
* Updates the encryption at rest configuration for Secrets in a specified cluster.
|
|
2732
2732
|
*
|
|
2733
2733
|
* @remarks
|
|
2734
|
-
* Do not
|
|
2735
|
-
* * The user or role that calls this API must be granted the required cluster RBAC permissions, such as O&M engineer or administrator permissions. Otherwise, the ForbiddenUpdateKMSState error code is returned.
|
|
2736
|
-
* * After this API is successfully called, the cluster status changes to Updating. After the update is complete, the cluster status changes back to Running. You must wait at least 5 minutes after an update is complete before you can call this API
|
|
2734
|
+
* Do not disable or delete the KMS key used for encryption at rest in the KMS console or by calling API operations while enabling or disabling the feature, or after the feature is enabled. Otherwise, the API server of the cluster becomes unavailable. As a result, objects such as Secrets and ServiceAccounts cannot be retrieved, which affects the normal operation of your applications. For more information, see [Use Alibaba Cloud KMS to encrypt Secrets at rest](https://help.aliyun.com/document_detail/177372.html).
|
|
2735
|
+
* * The user or role that calls this API operation must be granted the required cluster RBAC permissions, such as the O&M engineer or administrator permissions. Otherwise, the "ForbiddenUpdateKMSState" error code is returned.
|
|
2736
|
+
* * After this API operation is successfully called, the cluster status changes to "Updating". After the update is complete, the cluster status changes back to "Running". You must wait at least 5 minutes after an update is complete before you can call this API operation for the same cluster again. Otherwise, the "409" status code is returned.
|
|
2737
2737
|
*
|
|
2738
2738
|
* @param request - UpdateKMSEncryptionRequest
|
|
2739
2739
|
* @param headers - map
|
|
@@ -2747,9 +2747,9 @@ export default class Client extends OpenApi {
|
|
|
2747
2747
|
* Updates the encryption at rest configuration for Secrets in a specified cluster.
|
|
2748
2748
|
*
|
|
2749
2749
|
* @remarks
|
|
2750
|
-
* Do not
|
|
2751
|
-
* * The user or role that calls this API must be granted the required cluster RBAC permissions, such as O&M engineer or administrator permissions. Otherwise, the ForbiddenUpdateKMSState error code is returned.
|
|
2752
|
-
* * After this API is successfully called, the cluster status changes to Updating. After the update is complete, the cluster status changes back to Running. You must wait at least 5 minutes after an update is complete before you can call this API
|
|
2750
|
+
* Do not disable or delete the KMS key used for encryption at rest in the KMS console or by calling API operations while enabling or disabling the feature, or after the feature is enabled. Otherwise, the API server of the cluster becomes unavailable. As a result, objects such as Secrets and ServiceAccounts cannot be retrieved, which affects the normal operation of your applications. For more information, see [Use Alibaba Cloud KMS to encrypt Secrets at rest](https://help.aliyun.com/document_detail/177372.html).
|
|
2751
|
+
* * The user or role that calls this API operation must be granted the required cluster RBAC permissions, such as the O&M engineer or administrator permissions. Otherwise, the "ForbiddenUpdateKMSState" error code is returned.
|
|
2752
|
+
* * After this API operation is successfully called, the cluster status changes to "Updating". After the update is complete, the cluster status changes back to "Running". You must wait at least 5 minutes after an update is complete before you can call this API operation for the same cluster again. Otherwise, the "409" status code is returned.
|
|
2753
2753
|
*
|
|
2754
2754
|
* @param request - UpdateKMSEncryptionRequest
|
|
2755
2755
|
* @returns UpdateKMSEncryptionResponse
|
|
@@ -2792,10 +2792,10 @@ export default class Client extends OpenApi {
|
|
|
2792
2792
|
*/
|
|
2793
2793
|
updateNodePoolComponentInstance(clusterId: string, nodepoolId: string, name: string, request: $_model.UpdateNodePoolComponentInstanceRequest): Promise<$_model.UpdateNodePoolComponentInstanceResponse>;
|
|
2794
2794
|
/**
|
|
2795
|
-
* Updates the deletion protection status of a specified resource.
|
|
2795
|
+
* Updates the deletion protection status of a specified resource. Supported resource types include namespaces and services. You can enable deletion protection for namespaces or services that involve critical workloads or sensitive data to prevent accidental deletion and reduce maintenance costs.
|
|
2796
2796
|
*
|
|
2797
2797
|
* @remarks
|
|
2798
|
-
* Before
|
|
2798
|
+
* Before you call this operation, you must install or upgrade the security policy component for the cluster. For more information, see [Enable security policy management](https://help.aliyun.com/document_detail/359818.html).
|
|
2799
2799
|
*
|
|
2800
2800
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
2801
2801
|
* @param headers - map
|
|
@@ -2806,17 +2806,17 @@ export default class Client extends OpenApi {
|
|
|
2806
2806
|
[key: string]: string;
|
|
2807
2807
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateResourcesDeleteProtectionResponse>;
|
|
2808
2808
|
/**
|
|
2809
|
-
* Updates the deletion protection status of a specified resource.
|
|
2809
|
+
* Updates the deletion protection status of a specified resource. Supported resource types include namespaces and services. You can enable deletion protection for namespaces or services that involve critical workloads or sensitive data to prevent accidental deletion and reduce maintenance costs.
|
|
2810
2810
|
*
|
|
2811
2811
|
* @remarks
|
|
2812
|
-
* Before
|
|
2812
|
+
* Before you call this operation, you must install or upgrade the security policy component for the cluster. For more information, see [Enable security policy management](https://help.aliyun.com/document_detail/359818.html).
|
|
2813
2813
|
*
|
|
2814
2814
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
2815
2815
|
* @returns UpdateResourcesDeleteProtectionResponse
|
|
2816
2816
|
*/
|
|
2817
2817
|
updateResourcesDeleteProtection(ClusterId: string, request: $_model.UpdateResourcesDeleteProtectionRequest): Promise<$_model.UpdateResourcesDeleteProtectionResponse>;
|
|
2818
2818
|
/**
|
|
2819
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources
|
|
2819
|
+
* Updates the configuration of an orchestration template. An orchestration template defines and describes a set of Kubernetes cluster resources declaratively to specify how an application should run or be configured.
|
|
2820
2820
|
*
|
|
2821
2821
|
* @param request - UpdateTemplateRequest
|
|
2822
2822
|
* @param headers - map
|
|
@@ -2827,17 +2827,17 @@ export default class Client extends OpenApi {
|
|
|
2827
2827
|
[key: string]: string;
|
|
2828
2828
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateTemplateResponse>;
|
|
2829
2829
|
/**
|
|
2830
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources
|
|
2830
|
+
* Updates the configuration of an orchestration template. An orchestration template defines and describes a set of Kubernetes cluster resources declaratively to specify how an application should run or be configured.
|
|
2831
2831
|
*
|
|
2832
2832
|
* @param request - UpdateTemplateRequest
|
|
2833
2833
|
* @returns UpdateTemplateResponse
|
|
2834
2834
|
*/
|
|
2835
2835
|
updateTemplate(TemplateId: string, request: $_model.UpdateTemplateRequest): Promise<$_model.UpdateTemplateResponse>;
|
|
2836
2836
|
/**
|
|
2837
|
-
* Updates the RBAC permissions of a
|
|
2837
|
+
* Updates the Role-Based Access Control (RBAC) access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users, RAM roles, and users other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or RAM role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
|
|
2838
2838
|
*
|
|
2839
2839
|
* @remarks
|
|
2840
|
-
* You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using full update or incremental update. A full update overwrites
|
|
2840
|
+
* You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using a full update or an incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
|
|
2841
2841
|
*
|
|
2842
2842
|
* @param request - UpdateUserPermissionsRequest
|
|
2843
2843
|
* @param headers - map
|
|
@@ -2848,25 +2848,25 @@ export default class Client extends OpenApi {
|
|
|
2848
2848
|
[key: string]: string;
|
|
2849
2849
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateUserPermissionsResponse>;
|
|
2850
2850
|
/**
|
|
2851
|
-
* Updates the RBAC permissions of a
|
|
2851
|
+
* Updates the Role-Based Access Control (RBAC) access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users, RAM roles, and users other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or RAM role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
|
|
2852
2852
|
*
|
|
2853
2853
|
* @remarks
|
|
2854
|
-
* You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using full update or incremental update. A full update overwrites
|
|
2854
|
+
* You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using a full update or an incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
|
|
2855
2855
|
*
|
|
2856
2856
|
* @param request - UpdateUserPermissionsRequest
|
|
2857
2857
|
* @returns UpdateUserPermissionsResponse
|
|
2858
2858
|
*/
|
|
2859
2859
|
updateUserPermissions(uid: string, request: $_model.UpdateUserPermissionsRequest): Promise<$_model.UpdateUserPermissionsResponse>;
|
|
2860
2860
|
/**
|
|
2861
|
-
* Upgrades an ACK cluster
|
|
2861
|
+
* Upgrades an ACK cluster to mitigate potential security and stability risks associated with outdated versions and enable new features of the latest cluster version. You can call the UpgradeCluster operation to manually upgrade the cluster.
|
|
2862
2862
|
*
|
|
2863
2863
|
* @remarks
|
|
2864
|
-
* After you successfully call the UpgradeCluster operation, the API returns the
|
|
2864
|
+
* After you successfully call the UpgradeCluster operation, the API returns the task_id of the upgrade task. You can manage the task by calling the following task operations:
|
|
2865
2865
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2866
2866
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2867
2867
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
2868
2868
|
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2869
|
-
* >Notice: Starting from July
|
|
2869
|
+
* >Notice: Starting from July 4, 2026, the request parameters rolling_policy and rolling_policy.max_parallelism no longer take effect. Use [UpgradeClusterNodepool](https://help.aliyun.com/document_detail/2667922.html) to upgrade worker nodes. For more information about the changes, see [Announcement on changes to request and response parameters of ACK cluster management operations and operation deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
2870
2870
|
*
|
|
2871
2871
|
* @param request - UpgradeClusterRequest
|
|
2872
2872
|
* @param headers - map
|
|
@@ -2877,15 +2877,15 @@ export default class Client extends OpenApi {
|
|
|
2877
2877
|
[key: string]: string;
|
|
2878
2878
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterResponse>;
|
|
2879
2879
|
/**
|
|
2880
|
-
* Upgrades an ACK cluster
|
|
2880
|
+
* Upgrades an ACK cluster to mitigate potential security and stability risks associated with outdated versions and enable new features of the latest cluster version. You can call the UpgradeCluster operation to manually upgrade the cluster.
|
|
2881
2881
|
*
|
|
2882
2882
|
* @remarks
|
|
2883
|
-
* After you successfully call the UpgradeCluster operation, the API returns the
|
|
2883
|
+
* After you successfully call the UpgradeCluster operation, the API returns the task_id of the upgrade task. You can manage the task by calling the following task operations:
|
|
2884
2884
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2885
2885
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2886
2886
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
2887
2887
|
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2888
|
-
* >Notice: Starting from July
|
|
2888
|
+
* >Notice: Starting from July 4, 2026, the request parameters rolling_policy and rolling_policy.max_parallelism no longer take effect. Use [UpgradeClusterNodepool](https://help.aliyun.com/document_detail/2667922.html) to upgrade worker nodes. For more information about the changes, see [Announcement on changes to request and response parameters of ACK cluster management operations and operation deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
2889
2889
|
*
|
|
2890
2890
|
* @param request - UpgradeClusterRequest
|
|
2891
2891
|
* @returns UpgradeClusterResponse
|