@alicloud/cs20151215 7.2.1 → 7.2.3
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 +272 -272
- package/dist/client.js +272 -272
- 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 +285 -304
- package/dist/models/CreateClusterNodePoolRequest.js +34 -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/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 +5 -5
- 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 +9 -0
- 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 +6 -6
- 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/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 +272 -272
- 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 +306 -304
- 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/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 +5 -5
- 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 +9 -0
- 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 +6 -6
- 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/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.js
CHANGED
|
@@ -94,10 +94,10 @@ class Client extends openapi_core_1.default {
|
|
|
94
94
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
* Adds existing
|
|
97
|
+
* 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.
|
|
98
98
|
*
|
|
99
99
|
* @remarks
|
|
100
|
-
*
|
|
100
|
+
* 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.
|
|
101
101
|
*
|
|
102
102
|
* @param request - AttachInstancesRequest
|
|
103
103
|
* @param headers - map
|
|
@@ -164,10 +164,10 @@ class Client extends openapi_core_1.default {
|
|
|
164
164
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachInstancesResponse({}));
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
* Adds existing
|
|
167
|
+
* 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.
|
|
168
168
|
*
|
|
169
169
|
* @remarks
|
|
170
|
-
*
|
|
170
|
+
* 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.
|
|
171
171
|
*
|
|
172
172
|
* @param request - AttachInstancesRequest
|
|
173
173
|
* @returns AttachInstancesResponse
|
|
@@ -178,7 +178,7 @@ class Client extends openapi_core_1.default {
|
|
|
178
178
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
* Adds existing ECS instances to a node pool
|
|
181
|
+
* 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.
|
|
182
182
|
*
|
|
183
183
|
* @param request - AttachInstancesToNodePoolRequest
|
|
184
184
|
* @param headers - map
|
|
@@ -218,7 +218,7 @@ class Client extends openapi_core_1.default {
|
|
|
218
218
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachInstancesToNodePoolResponse({}));
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
|
-
* Adds existing ECS instances to a node pool
|
|
221
|
+
* 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.
|
|
222
222
|
*
|
|
223
223
|
* @param request - AttachInstancesToNodePoolRequest
|
|
224
224
|
* @returns AttachInstancesToNodePoolResponse
|
|
@@ -229,7 +229,7 @@ class Client extends openapi_core_1.default {
|
|
|
229
229
|
return await this.attachInstancesToNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
|
-
* Cancels the upgrade of an ACK cluster
|
|
232
|
+
* Cancels the upgrade of an ACK cluster.
|
|
233
233
|
*
|
|
234
234
|
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
235
235
|
*
|
|
@@ -255,7 +255,7 @@ class Client extends openapi_core_1.default {
|
|
|
255
255
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelClusterUpgradeResponse({}));
|
|
256
256
|
}
|
|
257
257
|
/**
|
|
258
|
-
* Cancels the upgrade of an ACK cluster
|
|
258
|
+
* Cancels the upgrade of an ACK cluster.
|
|
259
259
|
*
|
|
260
260
|
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
261
261
|
* @returns CancelClusterUpgradeResponse
|
|
@@ -371,7 +371,7 @@ class Client extends openapi_core_1.default {
|
|
|
371
371
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
372
372
|
}
|
|
373
373
|
/**
|
|
374
|
-
* Queries the log configuration of control plane components
|
|
374
|
+
* 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.
|
|
375
375
|
*
|
|
376
376
|
* @param headers - map
|
|
377
377
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -395,7 +395,7 @@ class Client extends openapi_core_1.default {
|
|
|
395
395
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckControlPlaneLogEnableResponse({}));
|
|
396
396
|
}
|
|
397
397
|
/**
|
|
398
|
-
* Queries the log configuration of control plane components
|
|
398
|
+
* 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.
|
|
399
399
|
* @returns CheckControlPlaneLogEnableResponse
|
|
400
400
|
*/
|
|
401
401
|
async checkControlPlaneLogEnable(ClusterId) {
|
|
@@ -404,7 +404,7 @@ class Client extends openapi_core_1.default {
|
|
|
404
404
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
405
405
|
}
|
|
406
406
|
/**
|
|
407
|
-
* Checks whether the current service account
|
|
407
|
+
* 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.
|
|
408
408
|
*
|
|
409
409
|
* @param request - CheckServiceRoleRequest
|
|
410
410
|
* @param headers - map
|
|
@@ -435,7 +435,7 @@ class Client extends openapi_core_1.default {
|
|
|
435
435
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckServiceRoleResponse({}));
|
|
436
436
|
}
|
|
437
437
|
/**
|
|
438
|
-
* Checks whether the current service account
|
|
438
|
+
* 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.
|
|
439
439
|
*
|
|
440
440
|
* @param request - CheckServiceRoleRequest
|
|
441
441
|
* @returns CheckServiceRoleResponse
|
|
@@ -446,12 +446,12 @@ class Client extends openapi_core_1.default {
|
|
|
446
446
|
return await this.checkServiceRoleWithOptions(request, headers, runtime);
|
|
447
447
|
}
|
|
448
448
|
/**
|
|
449
|
-
*
|
|
449
|
+
* 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.
|
|
450
450
|
*
|
|
451
451
|
* @remarks
|
|
452
|
-
* > 1. You must have the
|
|
453
|
-
* > 2.
|
|
454
|
-
* > 3.
|
|
452
|
+
* > 1. You must have the permissions to manage Container Service for Kubernetes (CS). The required policy is AliyunCSFullAccess.
|
|
453
|
+
* > 2. You cannot clear the permissions of an Alibaba Cloud account.
|
|
454
|
+
* > 3. You cannot clear the permissions of the user who performs this operation.
|
|
455
455
|
*
|
|
456
456
|
* @param request - CleanClusterUserPermissionsRequest
|
|
457
457
|
* @param headers - map
|
|
@@ -482,12 +482,12 @@ class Client extends openapi_core_1.default {
|
|
|
482
482
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CleanClusterUserPermissionsResponse({}));
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
|
-
*
|
|
485
|
+
* 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.
|
|
486
486
|
*
|
|
487
487
|
* @remarks
|
|
488
|
-
* > 1. You must have the
|
|
489
|
-
* > 2.
|
|
490
|
-
* > 3.
|
|
488
|
+
* > 1. You must have the permissions to manage Container Service for Kubernetes (CS). The required policy is AliyunCSFullAccess.
|
|
489
|
+
* > 2. You cannot clear the permissions of an Alibaba Cloud account.
|
|
490
|
+
* > 3. You cannot clear the permissions of the user who performs this operation.
|
|
491
491
|
*
|
|
492
492
|
* @param request - CleanClusterUserPermissionsRequest
|
|
493
493
|
* @returns CleanClusterUserPermissionsResponse
|
|
@@ -498,12 +498,12 @@ class Client extends openapi_core_1.default {
|
|
|
498
498
|
return await this.cleanClusterUserPermissionsWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
499
499
|
}
|
|
500
500
|
/**
|
|
501
|
-
* Cleans up KubeConfig credentials and RBAC permissions
|
|
501
|
+
* Cleans up and revokes the KubeConfig credentials and RBAC permissions issued to a specified user, such as resigned employees or users with frozen accounts.
|
|
502
502
|
*
|
|
503
503
|
* @remarks
|
|
504
|
-
* >-
|
|
505
|
-
* >-
|
|
506
|
-
* >-
|
|
504
|
+
* >- Requires the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
|
|
505
|
+
* >- Clearing the permissions of Alibaba Cloud accounts is not supported.
|
|
506
|
+
* >- Clearing the permissions of the calling user is not supported.
|
|
507
507
|
*
|
|
508
508
|
* @param tmpReq - CleanUserPermissionsRequest
|
|
509
509
|
* @param headers - map
|
|
@@ -542,12 +542,12 @@ class Client extends openapi_core_1.default {
|
|
|
542
542
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CleanUserPermissionsResponse({}));
|
|
543
543
|
}
|
|
544
544
|
/**
|
|
545
|
-
* Cleans up KubeConfig credentials and RBAC permissions
|
|
545
|
+
* Cleans up and revokes the KubeConfig credentials and RBAC permissions issued to a specified user, such as resigned employees or users with frozen accounts.
|
|
546
546
|
*
|
|
547
547
|
* @remarks
|
|
548
|
-
* >-
|
|
549
|
-
* >-
|
|
550
|
-
* >-
|
|
548
|
+
* >- Requires the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
|
|
549
|
+
* >- Clearing the permissions of Alibaba Cloud accounts is not supported.
|
|
550
|
+
* >- Clearing the permissions of the calling user is not supported.
|
|
551
551
|
*
|
|
552
552
|
* @param request - CleanUserPermissionsRequest
|
|
553
553
|
* @returns CleanUserPermissionsResponse
|
|
@@ -561,7 +561,7 @@ class Client extends openapi_core_1.default {
|
|
|
561
561
|
* Creates a self-healing rule.
|
|
562
562
|
*
|
|
563
563
|
* @remarks
|
|
564
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
564
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
565
565
|
*
|
|
566
566
|
* @param request - CreateAutoRepairPolicyRequest
|
|
567
567
|
* @param headers - map
|
|
@@ -604,7 +604,7 @@ class Client extends openapi_core_1.default {
|
|
|
604
604
|
* Creates a self-healing rule.
|
|
605
605
|
*
|
|
606
606
|
* @remarks
|
|
607
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
607
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
608
608
|
*
|
|
609
609
|
* @param request - CreateAutoRepairPolicyRequest
|
|
610
610
|
* @returns CreateAutoRepairPolicyResponse
|
|
@@ -1164,7 +1164,7 @@ class Client extends openapi_core_1.default {
|
|
|
1164
1164
|
return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
|
|
1165
1165
|
}
|
|
1166
1166
|
/**
|
|
1167
|
-
* A node pool is a logical collection of nodes that share the same attributes.
|
|
1167
|
+
* Creates a node pool for a cluster. A node pool is a logical collection of nodes that share the same attributes. It allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can use the automated O&M capabilities of node pools to reduce O&M costs. These capabilities include automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions.
|
|
1168
1168
|
*
|
|
1169
1169
|
* @param request - CreateClusterNodePoolRequest
|
|
1170
1170
|
* @param headers - map
|
|
@@ -1240,7 +1240,7 @@ class Client extends openapi_core_1.default {
|
|
|
1240
1240
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
|
|
1241
1241
|
}
|
|
1242
1242
|
/**
|
|
1243
|
-
* A node pool is a logical collection of nodes that share the same attributes.
|
|
1243
|
+
* Creates a node pool for a cluster. A node pool is a logical collection of nodes that share the same attributes. It allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can use the automated O&M capabilities of node pools to reduce O&M costs. These capabilities include automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions.
|
|
1244
1244
|
*
|
|
1245
1245
|
* @param request - CreateClusterNodePoolRequest
|
|
1246
1246
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -1355,7 +1355,7 @@ class Client extends openapi_core_1.default {
|
|
|
1355
1355
|
return await this.createNodePoolComponentInstancesWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
1356
1356
|
}
|
|
1357
1357
|
/**
|
|
1358
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner
|
|
1358
|
+
* 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.
|
|
1359
1359
|
*
|
|
1360
1360
|
* @param request - CreateTemplateRequest
|
|
1361
1361
|
* @param headers - map
|
|
@@ -1398,7 +1398,7 @@ class Client extends openapi_core_1.default {
|
|
|
1398
1398
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTemplateResponse({}));
|
|
1399
1399
|
}
|
|
1400
1400
|
/**
|
|
1401
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner
|
|
1401
|
+
* 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.
|
|
1402
1402
|
*
|
|
1403
1403
|
* @param request - CreateTemplateRequest
|
|
1404
1404
|
* @returns CreateTemplateResponse
|
|
@@ -1409,10 +1409,10 @@ class Client extends openapi_core_1.default {
|
|
|
1409
1409
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
1410
1410
|
}
|
|
1411
1411
|
/**
|
|
1412
|
-
* Configures a trigger for a cluster application
|
|
1412
|
+
* Configures a trigger for a cluster application to redeploy pods when specific conditions are met.
|
|
1413
1413
|
*
|
|
1414
1414
|
* @remarks
|
|
1415
|
-
* > Creating a trigger supports
|
|
1415
|
+
* > Creating a trigger only supports pod redeployment.
|
|
1416
1416
|
*
|
|
1417
1417
|
* @param request - CreateTriggerRequest
|
|
1418
1418
|
* @param headers - map
|
|
@@ -1452,10 +1452,10 @@ class Client extends openapi_core_1.default {
|
|
|
1452
1452
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTriggerResponse({}));
|
|
1453
1453
|
}
|
|
1454
1454
|
/**
|
|
1455
|
-
* Configures a trigger for a cluster application
|
|
1455
|
+
* Configures a trigger for a cluster application to redeploy pods when specific conditions are met.
|
|
1456
1456
|
*
|
|
1457
1457
|
* @remarks
|
|
1458
|
-
* > Creating a trigger supports
|
|
1458
|
+
* > Creating a trigger only supports pod redeployment.
|
|
1459
1459
|
*
|
|
1460
1460
|
* @param request - CreateTriggerRequest
|
|
1461
1461
|
* @returns CreateTriggerResponse
|
|
@@ -1513,7 +1513,7 @@ class Client extends openapi_core_1.default {
|
|
|
1513
1513
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
1514
1514
|
}
|
|
1515
1515
|
/**
|
|
1516
|
-
* Deletes alert contact groups
|
|
1516
|
+
* Deletes ACK alert contact groups.
|
|
1517
1517
|
*
|
|
1518
1518
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
1519
1519
|
* @param headers - map
|
|
@@ -1549,7 +1549,7 @@ class Client extends openapi_core_1.default {
|
|
|
1549
1549
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAlertContactGroupResponse({}));
|
|
1550
1550
|
}
|
|
1551
1551
|
/**
|
|
1552
|
-
* Deletes alert contact groups
|
|
1552
|
+
* Deletes ACK alert contact groups.
|
|
1553
1553
|
*
|
|
1554
1554
|
* @param request - DeleteAlertContactGroupRequest
|
|
1555
1555
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -1563,7 +1563,7 @@ class Client extends openapi_core_1.default {
|
|
|
1563
1563
|
* Deletes a self-healing rule.
|
|
1564
1564
|
*
|
|
1565
1565
|
* @remarks
|
|
1566
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
1566
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
1567
1567
|
*
|
|
1568
1568
|
* @param headers - map
|
|
1569
1569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1590,7 +1590,7 @@ class Client extends openapi_core_1.default {
|
|
|
1590
1590
|
* Deletes a self-healing rule.
|
|
1591
1591
|
*
|
|
1592
1592
|
* @remarks
|
|
1593
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
1593
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
1594
1594
|
* @returns DeleteAutoRepairPolicyResponse
|
|
1595
1595
|
*/
|
|
1596
1596
|
async deleteAutoRepairPolicy(clusterId, policyId) {
|
|
@@ -1599,15 +1599,15 @@ class Client extends openapi_core_1.default {
|
|
|
1599
1599
|
return await this.deleteAutoRepairPolicyWithOptions(clusterId, policyId, headers, runtime);
|
|
1600
1600
|
}
|
|
1601
1601
|
/**
|
|
1602
|
-
* Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before
|
|
1602
|
+
* 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.
|
|
1603
1603
|
*
|
|
1604
1604
|
* @remarks
|
|
1605
|
-
* Risk
|
|
1606
|
-
* - Subscription ECS instances
|
|
1607
|
-
* - Subscription
|
|
1608
|
-
* - VPCs, vSwitches, security groups, and RAM roles
|
|
1609
|
-
* - Elastic Container Instance (ECI)
|
|
1610
|
-
* - Some cloud resources created
|
|
1605
|
+
* Risk warnings:
|
|
1606
|
+
* - 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.
|
|
1607
|
+
* - Subscription API server SLB resources cannot be automatically released. To avoid unnecessary costs, perform a manual release.
|
|
1608
|
+
* - 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.
|
|
1609
|
+
* - Elastic Container Instance (ECI) pods created by using virtual nodes are automatically released.
|
|
1610
|
+
* - 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.
|
|
1611
1611
|
*
|
|
1612
1612
|
* @param tmpReq - DeleteClusterRequest
|
|
1613
1613
|
* @param headers - map
|
|
@@ -1655,15 +1655,15 @@ class Client extends openapi_core_1.default {
|
|
|
1655
1655
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterResponse({}));
|
|
1656
1656
|
}
|
|
1657
1657
|
/**
|
|
1658
|
-
* Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before
|
|
1658
|
+
* 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.
|
|
1659
1659
|
*
|
|
1660
1660
|
* @remarks
|
|
1661
|
-
* Risk
|
|
1662
|
-
* - Subscription ECS instances
|
|
1663
|
-
* - Subscription
|
|
1664
|
-
* - VPCs, vSwitches, security groups, and RAM roles
|
|
1665
|
-
* - Elastic Container Instance (ECI)
|
|
1666
|
-
* - Some cloud resources created
|
|
1661
|
+
* Risk warnings:
|
|
1662
|
+
* - 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.
|
|
1663
|
+
* - Subscription API server SLB resources cannot be automatically released. To avoid unnecessary costs, perform a manual release.
|
|
1664
|
+
* - 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.
|
|
1665
|
+
* - Elastic Container Instance (ECI) pods created by using virtual nodes are automatically released.
|
|
1666
|
+
* - 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.
|
|
1667
1667
|
*
|
|
1668
1668
|
* @param request - DeleteClusterRequest
|
|
1669
1669
|
* @returns DeleteClusterResponse
|
|
@@ -1674,7 +1674,7 @@ class Client extends openapi_core_1.default {
|
|
|
1674
1674
|
return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
|
|
1675
1675
|
}
|
|
1676
1676
|
/**
|
|
1677
|
-
* Deletes
|
|
1677
|
+
* Deletes the cluster inspection configuration.
|
|
1678
1678
|
*
|
|
1679
1679
|
* @param headers - map
|
|
1680
1680
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1698,7 +1698,7 @@ class Client extends openapi_core_1.default {
|
|
|
1698
1698
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterInspectConfigResponse({}));
|
|
1699
1699
|
}
|
|
1700
1700
|
/**
|
|
1701
|
-
* Deletes
|
|
1701
|
+
* Deletes the cluster inspection configuration.
|
|
1702
1702
|
* @returns DeleteClusterInspectConfigResponse
|
|
1703
1703
|
*/
|
|
1704
1704
|
async deleteClusterInspectConfig(clusterId) {
|
|
@@ -1707,7 +1707,7 @@ class Client extends openapi_core_1.default {
|
|
|
1707
1707
|
return await this.deleteClusterInspectConfigWithOptions(clusterId, headers, runtime);
|
|
1708
1708
|
}
|
|
1709
1709
|
/**
|
|
1710
|
-
* Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on
|
|
1710
|
+
* 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.
|
|
1711
1711
|
*
|
|
1712
1712
|
* @param request - DeleteClusterNodepoolRequest
|
|
1713
1713
|
* @param headers - map
|
|
@@ -1738,7 +1738,7 @@ class Client extends openapi_core_1.default {
|
|
|
1738
1738
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterNodepoolResponse({}));
|
|
1739
1739
|
}
|
|
1740
1740
|
/**
|
|
1741
|
-
* Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on
|
|
1741
|
+
* 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.
|
|
1742
1742
|
*
|
|
1743
1743
|
* @param request - DeleteClusterNodepoolRequest
|
|
1744
1744
|
* @returns DeleteClusterNodepoolResponse
|
|
@@ -1749,15 +1749,15 @@ class Client extends openapi_core_1.default {
|
|
|
1749
1749
|
return await this.deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
1750
1750
|
}
|
|
1751
1751
|
/**
|
|
1752
|
-
* Removes nodes from a cluster. When you
|
|
1752
|
+
* 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.
|
|
1753
1753
|
*
|
|
1754
1754
|
* @remarks
|
|
1755
|
-
* - When removing nodes, perform
|
|
1756
|
-
* - Do not
|
|
1757
|
-
* - If the
|
|
1758
|
-
* - Removing nodes involves
|
|
1759
|
-
* - When
|
|
1760
|
-
* - Check the node affinity rules and scheduling policies of the
|
|
1755
|
+
* - 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.
|
|
1756
|
+
* - 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.
|
|
1757
|
+
* - 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.
|
|
1758
|
+
* - 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.
|
|
1759
|
+
* - 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.
|
|
1760
|
+
* - 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.
|
|
1761
1761
|
*
|
|
1762
1762
|
* @param request - DeleteClusterNodesRequest
|
|
1763
1763
|
* @param headers - map
|
|
@@ -1794,15 +1794,15 @@ class Client extends openapi_core_1.default {
|
|
|
1794
1794
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterNodesResponse({}));
|
|
1795
1795
|
}
|
|
1796
1796
|
/**
|
|
1797
|
-
* Removes nodes from a cluster. When you
|
|
1797
|
+
* 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.
|
|
1798
1798
|
*
|
|
1799
1799
|
* @remarks
|
|
1800
|
-
* - When removing nodes, perform
|
|
1801
|
-
* - Do not
|
|
1802
|
-
* - If the
|
|
1803
|
-
* - Removing nodes involves
|
|
1804
|
-
* - When
|
|
1805
|
-
* - Check the node affinity rules and scheduling policies of the
|
|
1800
|
+
* - 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.
|
|
1801
|
+
* - 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.
|
|
1802
|
+
* - 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.
|
|
1803
|
+
* - 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.
|
|
1804
|
+
* - 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.
|
|
1805
|
+
* - 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.
|
|
1806
1806
|
*
|
|
1807
1807
|
* @param request - DeleteClusterNodesRequest
|
|
1808
1808
|
* @returns DeleteClusterNodesResponse
|
|
@@ -1910,7 +1910,7 @@ class Client extends openapi_core_1.default {
|
|
|
1910
1910
|
return await this.deleteNodePoolComponentInstanceWithOptions(clusterId, nodepoolId, name, request, headers, runtime);
|
|
1911
1911
|
}
|
|
1912
1912
|
/**
|
|
1913
|
-
* Deletes a policy rule instance
|
|
1913
|
+
* Deletes a policy rule instance in a specified cluster.
|
|
1914
1914
|
*
|
|
1915
1915
|
* @param request - DeletePolicyInstanceRequest
|
|
1916
1916
|
* @param headers - map
|
|
@@ -1941,7 +1941,7 @@ class Client extends openapi_core_1.default {
|
|
|
1941
1941
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePolicyInstanceResponse({}));
|
|
1942
1942
|
}
|
|
1943
1943
|
/**
|
|
1944
|
-
* Deletes a policy rule instance
|
|
1944
|
+
* Deletes a policy rule instance in a specified cluster.
|
|
1945
1945
|
*
|
|
1946
1946
|
* @param request - DeletePolicyInstanceRequest
|
|
1947
1947
|
* @returns DeletePolicyInstanceResponse
|
|
@@ -1952,7 +1952,7 @@ class Client extends openapi_core_1.default {
|
|
|
1952
1952
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
1953
1953
|
}
|
|
1954
1954
|
/**
|
|
1955
|
-
* Deletes an orchestration template
|
|
1955
|
+
* Deletes an orchestration template.
|
|
1956
1956
|
*
|
|
1957
1957
|
* @param headers - map
|
|
1958
1958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1976,7 +1976,7 @@ class Client extends openapi_core_1.default {
|
|
|
1976
1976
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTemplateResponse({}));
|
|
1977
1977
|
}
|
|
1978
1978
|
/**
|
|
1979
|
-
* Deletes an orchestration template
|
|
1979
|
+
* Deletes an orchestration template.
|
|
1980
1980
|
* @returns DeleteTemplateResponse
|
|
1981
1981
|
*/
|
|
1982
1982
|
async deleteTemplate(TemplateId) {
|
|
@@ -1985,7 +1985,7 @@ class Client extends openapi_core_1.default {
|
|
|
1985
1985
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
1986
1986
|
}
|
|
1987
1987
|
/**
|
|
1988
|
-
* Deletes an application trigger
|
|
1988
|
+
* Deletes an application trigger.
|
|
1989
1989
|
*
|
|
1990
1990
|
* @param headers - map
|
|
1991
1991
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2009,7 +2009,7 @@ class Client extends openapi_core_1.default {
|
|
|
2009
2009
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTriggerResponse({}));
|
|
2010
2010
|
}
|
|
2011
2011
|
/**
|
|
2012
|
-
* Deletes an application trigger
|
|
2012
|
+
* Deletes an application trigger.
|
|
2013
2013
|
* @returns DeleteTriggerResponse
|
|
2014
2014
|
*/
|
|
2015
2015
|
async deleteTrigger(clusterId, Id) {
|
|
@@ -2018,7 +2018,7 @@ class Client extends openapi_core_1.default {
|
|
|
2018
2018
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
2019
2019
|
}
|
|
2020
2020
|
/**
|
|
2021
|
-
* Deploys a policy instance in a specified namespace of
|
|
2021
|
+
* 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.
|
|
2022
2022
|
*
|
|
2023
2023
|
* @param request - DeployPolicyInstanceRequest
|
|
2024
2024
|
* @param headers - map
|
|
@@ -2055,7 +2055,7 @@ class Client extends openapi_core_1.default {
|
|
|
2055
2055
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeployPolicyInstanceResponse({}));
|
|
2056
2056
|
}
|
|
2057
2057
|
/**
|
|
2058
|
-
* Deploys a policy instance in a specified namespace of
|
|
2058
|
+
* 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.
|
|
2059
2059
|
*
|
|
2060
2060
|
* @param request - DeployPolicyInstanceRequest
|
|
2061
2061
|
* @returns DeployPolicyInstanceResponse
|
|
@@ -2066,7 +2066,7 @@ class Client extends openapi_core_1.default {
|
|
|
2066
2066
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
2067
2067
|
}
|
|
2068
2068
|
/**
|
|
2069
|
-
* Queries information about a
|
|
2069
|
+
* 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.
|
|
2070
2070
|
*
|
|
2071
2071
|
* @param request - DescribeAddonRequest
|
|
2072
2072
|
* @param headers - map
|
|
@@ -2115,7 +2115,7 @@ class Client extends openapi_core_1.default {
|
|
|
2115
2115
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAddonResponse({}));
|
|
2116
2116
|
}
|
|
2117
2117
|
/**
|
|
2118
|
-
* Queries information about a
|
|
2118
|
+
* 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.
|
|
2119
2119
|
*
|
|
2120
2120
|
* @param request - DescribeAddonRequest
|
|
2121
2121
|
* @returns DescribeAddonResponse
|
|
@@ -2224,7 +2224,7 @@ class Client extends openapi_core_1.default {
|
|
|
2224
2224
|
return await this.describeAutoRepairPolicyWithOptions(clusterId, policyId, headers, runtime);
|
|
2225
2225
|
}
|
|
2226
2226
|
/**
|
|
2227
|
-
* Queries
|
|
2227
|
+
* Queries the version, state, and configuration of installed cluster add-ons.
|
|
2228
2228
|
*
|
|
2229
2229
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
2230
2230
|
*
|
|
@@ -2250,7 +2250,7 @@ class Client extends openapi_core_1.default {
|
|
|
2250
2250
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonInstanceResponse({}));
|
|
2251
2251
|
}
|
|
2252
2252
|
/**
|
|
2253
|
-
* Queries
|
|
2253
|
+
* Queries the version, state, and configuration of installed cluster add-ons.
|
|
2254
2254
|
*
|
|
2255
2255
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
2256
2256
|
* @returns DescribeClusterAddonInstanceResponse
|
|
@@ -2262,7 +2262,7 @@ class Client extends openapi_core_1.default {
|
|
|
2262
2262
|
return await this.describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime);
|
|
2263
2263
|
}
|
|
2264
2264
|
/**
|
|
2265
|
-
* Queries the
|
|
2265
|
+
* Queries the metadata of a specified component version available for a specific cluster, including the component version and configurable parameters.
|
|
2266
2266
|
*
|
|
2267
2267
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
2268
2268
|
*
|
|
@@ -2295,7 +2295,7 @@ class Client extends openapi_core_1.default {
|
|
|
2295
2295
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonMetadataResponse({}));
|
|
2296
2296
|
}
|
|
2297
2297
|
/**
|
|
2298
|
-
* Queries the
|
|
2298
|
+
* Queries the metadata of a specified component version available for a specific cluster, including the component version and configurable parameters.
|
|
2299
2299
|
*
|
|
2300
2300
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
2301
2301
|
*
|
|
@@ -2437,7 +2437,7 @@ class Client extends openapi_core_1.default {
|
|
|
2437
2437
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
2438
2438
|
}
|
|
2439
2439
|
/**
|
|
2440
|
-
* Retrieves the script
|
|
2440
|
+
* 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.
|
|
2441
2441
|
*
|
|
2442
2442
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
2443
2443
|
* @param headers - map
|
|
@@ -2489,7 +2489,7 @@ class Client extends openapi_core_1.default {
|
|
|
2489
2489
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAttachScriptsResponse({}));
|
|
2490
2490
|
}
|
|
2491
2491
|
/**
|
|
2492
|
-
* Retrieves the script
|
|
2492
|
+
* 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.
|
|
2493
2493
|
*
|
|
2494
2494
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
2495
2495
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -2533,7 +2533,7 @@ class Client extends openapi_core_1.default {
|
|
|
2533
2533
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
2534
2534
|
}
|
|
2535
2535
|
/**
|
|
2536
|
-
* Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool
|
|
2536
|
+
* 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.
|
|
2537
2537
|
*
|
|
2538
2538
|
* @param request - DescribeClusterEventsRequest
|
|
2539
2539
|
* @param headers - map
|
|
@@ -2576,7 +2576,7 @@ class Client extends openapi_core_1.default {
|
|
|
2576
2576
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterEventsResponse({}));
|
|
2577
2577
|
}
|
|
2578
2578
|
/**
|
|
2579
|
-
* Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool
|
|
2579
|
+
* 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.
|
|
2580
2580
|
*
|
|
2581
2581
|
* @param request - DescribeClusterEventsRequest
|
|
2582
2582
|
* @returns DescribeClusterEventsResponse
|
|
@@ -2620,7 +2620,7 @@ class Client extends openapi_core_1.default {
|
|
|
2620
2620
|
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
2621
2621
|
}
|
|
2622
2622
|
/**
|
|
2623
|
-
* Queries the configuration of a specified node pool in a cluster
|
|
2623
|
+
* Queries the configuration of a specified node pool in a cluster.
|
|
2624
2624
|
*
|
|
2625
2625
|
* @param headers - map
|
|
2626
2626
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2644,7 +2644,7 @@ class Client extends openapi_core_1.default {
|
|
|
2644
2644
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodePoolDetailResponse({}));
|
|
2645
2645
|
}
|
|
2646
2646
|
/**
|
|
2647
|
-
* Queries the configuration of a specified node pool in a cluster
|
|
2647
|
+
* Queries the configuration of a specified node pool in a cluster.
|
|
2648
2648
|
* @returns DescribeClusterNodePoolDetailResponse
|
|
2649
2649
|
*/
|
|
2650
2650
|
async describeClusterNodePoolDetail(ClusterId, NodepoolId) {
|
|
@@ -2653,15 +2653,15 @@ class Client extends openapi_core_1.default {
|
|
|
2653
2653
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
2654
2654
|
}
|
|
2655
2655
|
/**
|
|
2656
|
-
* Queries
|
|
2656
|
+
* Queries all node pools in a cluster.
|
|
2657
2657
|
*
|
|
2658
2658
|
* @remarks
|
|
2659
|
-
* - When
|
|
2660
|
-
* - Do not
|
|
2661
|
-
* - If the
|
|
2662
|
-
* - Removing
|
|
2663
|
-
* - When
|
|
2664
|
-
* - Check the node affinity rules and scheduling policies of
|
|
2659
|
+
* - 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.
|
|
2660
|
+
* - 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.
|
|
2661
|
+
* - 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.
|
|
2662
|
+
* - 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.
|
|
2663
|
+
* - 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.
|
|
2664
|
+
* - 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.
|
|
2665
2665
|
*
|
|
2666
2666
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2667
2667
|
* @param headers - map
|
|
@@ -2692,15 +2692,15 @@ class Client extends openapi_core_1.default {
|
|
|
2692
2692
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodePoolsResponse({}));
|
|
2693
2693
|
}
|
|
2694
2694
|
/**
|
|
2695
|
-
* Queries
|
|
2695
|
+
* Queries all node pools in a cluster.
|
|
2696
2696
|
*
|
|
2697
2697
|
* @remarks
|
|
2698
|
-
* - When
|
|
2699
|
-
* - Do not
|
|
2700
|
-
* - If the
|
|
2701
|
-
* - Removing
|
|
2702
|
-
* - When
|
|
2703
|
-
* - Check the node affinity rules and scheduling policies of
|
|
2698
|
+
* - 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.
|
|
2699
|
+
* - 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.
|
|
2700
|
+
* - 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.
|
|
2701
|
+
* - 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.
|
|
2702
|
+
* - 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.
|
|
2703
|
+
* - 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.
|
|
2704
2704
|
*
|
|
2705
2705
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2706
2706
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -2774,7 +2774,7 @@ class Client extends openapi_core_1.default {
|
|
|
2774
2774
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
2775
2775
|
}
|
|
2776
2776
|
/**
|
|
2777
|
-
* When you use Container Service for Kubernetes (ACK), you also use resources
|
|
2777
|
+
* 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.
|
|
2778
2778
|
*
|
|
2779
2779
|
* @param request - DescribeClusterResourcesRequest
|
|
2780
2780
|
* @param headers - map
|
|
@@ -2805,7 +2805,7 @@ class Client extends openapi_core_1.default {
|
|
|
2805
2805
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterResourcesResponse({}));
|
|
2806
2806
|
}
|
|
2807
2807
|
/**
|
|
2808
|
-
* When you use Container Service for Kubernetes (ACK), you also use resources
|
|
2808
|
+
* 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.
|
|
2809
2809
|
*
|
|
2810
2810
|
* @param request - DescribeClusterResourcesRequest
|
|
2811
2811
|
* @returns DescribeClusterResourcesResponse
|
|
@@ -2816,7 +2816,7 @@ class Client extends openapi_core_1.default {
|
|
|
2816
2816
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
2817
2817
|
}
|
|
2818
2818
|
/**
|
|
2819
|
-
* Queries
|
|
2819
|
+
* Queries a list of tasks in a cluster.
|
|
2820
2820
|
*
|
|
2821
2821
|
* @param request - DescribeClusterTasksRequest
|
|
2822
2822
|
* @param headers - map
|
|
@@ -2856,7 +2856,7 @@ class Client extends openapi_core_1.default {
|
|
|
2856
2856
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterTasksResponse({}));
|
|
2857
2857
|
}
|
|
2858
2858
|
/**
|
|
2859
|
-
* Queries
|
|
2859
|
+
* Queries a list of tasks in a cluster.
|
|
2860
2860
|
*
|
|
2861
2861
|
* @param request - DescribeClusterTasksRequest
|
|
2862
2862
|
* @returns DescribeClusterTasksResponse
|
|
@@ -2867,11 +2867,11 @@ class Client extends openapi_core_1.default {
|
|
|
2867
2867
|
return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
|
|
2868
2868
|
}
|
|
2869
2869
|
/**
|
|
2870
|
-
*
|
|
2870
|
+
* Retrieves the kubeconfig file of a cluster.
|
|
2871
2871
|
*
|
|
2872
2872
|
* @remarks
|
|
2873
|
-
* - The default validity period of the certificate issued
|
|
2874
|
-
* - Properly manage the
|
|
2873
|
+
* - The default validity period of the certificate issued for a kubeconfig file is three years. Within 180 days before expiration, you can obtain a refreshed kubeconfig file with rotated credentials 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.
|
|
2874
|
+
* - Properly manage the kubeconfig credentials used for cluster management, and revoke them promptly when they are no longer needed. This prevents security risks such as data leaks caused by kubeconfig exposure.
|
|
2875
2875
|
*
|
|
2876
2876
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
2877
2877
|
* @param headers - map
|
|
@@ -2905,11 +2905,11 @@ class Client extends openapi_core_1.default {
|
|
|
2905
2905
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterUserKubeconfigResponse({}));
|
|
2906
2906
|
}
|
|
2907
2907
|
/**
|
|
2908
|
-
*
|
|
2908
|
+
* Retrieves the kubeconfig file of a cluster.
|
|
2909
2909
|
*
|
|
2910
2910
|
* @remarks
|
|
2911
|
-
* - The default validity period of the certificate issued
|
|
2912
|
-
* - Properly manage the
|
|
2911
|
+
* - The default validity period of the certificate issued for a kubeconfig file is three years. Within 180 days before expiration, you can obtain a refreshed kubeconfig file with rotated credentials 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.
|
|
2912
|
+
* - Properly manage the kubeconfig credentials used for cluster management, and revoke them promptly when they are no longer needed. This prevents security risks such as data leaks caused by kubeconfig exposure.
|
|
2913
2913
|
*
|
|
2914
2914
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
2915
2915
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -2920,7 +2920,7 @@ class Client extends openapi_core_1.default {
|
|
|
2920
2920
|
return await this.describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
2921
2921
|
}
|
|
2922
2922
|
/**
|
|
2923
|
-
* Retrieves the kubeconfig
|
|
2923
|
+
* Retrieves the kubeconfig for a cluster.
|
|
2924
2924
|
*
|
|
2925
2925
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
2926
2926
|
*
|
|
@@ -2956,7 +2956,7 @@ class Client extends openapi_core_1.default {
|
|
|
2956
2956
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterV2UserKubeconfigResponse({}));
|
|
2957
2957
|
}
|
|
2958
2958
|
/**
|
|
2959
|
-
* Retrieves the kubeconfig
|
|
2959
|
+
* Retrieves the kubeconfig for a cluster.
|
|
2960
2960
|
*
|
|
2961
2961
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
2962
2962
|
*
|
|
@@ -2970,7 +2970,7 @@ class Client extends openapi_core_1.default {
|
|
|
2970
2970
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
2971
2971
|
}
|
|
2972
2972
|
/**
|
|
2973
|
-
*
|
|
2973
|
+
* 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.
|
|
2974
2974
|
*
|
|
2975
2975
|
* @param headers - map
|
|
2976
2976
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2994,7 +2994,7 @@ class Client extends openapi_core_1.default {
|
|
|
2994
2994
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterVulsResponse({}));
|
|
2995
2995
|
}
|
|
2996
2996
|
/**
|
|
2997
|
-
*
|
|
2997
|
+
* 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.
|
|
2998
2998
|
* @returns DescribeClusterVulsResponse
|
|
2999
2999
|
*/
|
|
3000
3000
|
async describeClusterVuls(clusterId) {
|
|
@@ -3056,7 +3056,7 @@ class Client extends openapi_core_1.default {
|
|
|
3056
3056
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
3057
3057
|
}
|
|
3058
3058
|
/**
|
|
3059
|
-
* Queries all clusters in a specified region.
|
|
3059
|
+
* Queries the list of all clusters in a specified region.
|
|
3060
3060
|
*
|
|
3061
3061
|
* @param request - DescribeClustersForRegionRequest
|
|
3062
3062
|
* @param headers - map
|
|
@@ -3105,7 +3105,7 @@ class Client extends openapi_core_1.default {
|
|
|
3105
3105
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClustersForRegionResponse({}));
|
|
3106
3106
|
}
|
|
3107
3107
|
/**
|
|
3108
|
-
* Queries all clusters in a specified region.
|
|
3108
|
+
* Queries the list of all clusters in a specified region.
|
|
3109
3109
|
*
|
|
3110
3110
|
* @param request - DescribeClustersForRegionRequest
|
|
3111
3111
|
* @returns DescribeClustersForRegionResponse
|
|
@@ -3290,7 +3290,7 @@ class Client extends openapi_core_1.default {
|
|
|
3290
3290
|
return await this.describeEventsForRegionWithOptions(regionId, request, headers, runtime);
|
|
3291
3291
|
}
|
|
3292
3292
|
/**
|
|
3293
|
-
* Queries the agent configuration
|
|
3293
|
+
* Queries the agent configuration deployed in a registered cluster based on the cluster ID.
|
|
3294
3294
|
*
|
|
3295
3295
|
* @remarks
|
|
3296
3296
|
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -3329,7 +3329,7 @@ class Client extends openapi_core_1.default {
|
|
|
3329
3329
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeExternalAgentResponse({}));
|
|
3330
3330
|
}
|
|
3331
3331
|
/**
|
|
3332
|
-
* Queries the agent configuration
|
|
3332
|
+
* Queries the agent configuration deployed in a registered cluster based on the cluster ID.
|
|
3333
3333
|
*
|
|
3334
3334
|
* @remarks
|
|
3335
3335
|
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -3406,7 +3406,7 @@ class Client extends openapi_core_1.default {
|
|
|
3406
3406
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
3407
3407
|
}
|
|
3408
3408
|
/**
|
|
3409
|
-
*
|
|
3409
|
+
* 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.
|
|
3410
3410
|
*
|
|
3411
3411
|
* @param request - DescribeNodePoolVulsRequest
|
|
3412
3412
|
* @param headers - map
|
|
@@ -3437,7 +3437,7 @@ class Client extends openapi_core_1.default {
|
|
|
3437
3437
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNodePoolVulsResponse({}));
|
|
3438
3438
|
}
|
|
3439
3439
|
/**
|
|
3440
|
-
*
|
|
3440
|
+
* 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.
|
|
3441
3441
|
*
|
|
3442
3442
|
* @param request - DescribeNodePoolVulsRequest
|
|
3443
3443
|
* @returns DescribeNodePoolVulsResponse
|
|
@@ -3448,7 +3448,7 @@ class Client extends openapi_core_1.default {
|
|
|
3448
3448
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
3449
3449
|
}
|
|
3450
3450
|
/**
|
|
3451
|
-
*
|
|
3451
|
+
* 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.
|
|
3452
3452
|
*
|
|
3453
3453
|
* @param headers - map
|
|
3454
3454
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3472,7 +3472,7 @@ class Client extends openapi_core_1.default {
|
|
|
3472
3472
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePoliciesResponse({}));
|
|
3473
3473
|
}
|
|
3474
3474
|
/**
|
|
3475
|
-
*
|
|
3475
|
+
* 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.
|
|
3476
3476
|
* @returns DescribePoliciesResponse
|
|
3477
3477
|
*/
|
|
3478
3478
|
async describePolicies() {
|
|
@@ -3481,7 +3481,7 @@ class Client extends openapi_core_1.default {
|
|
|
3481
3481
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
3482
3482
|
}
|
|
3483
3483
|
/**
|
|
3484
|
-
*
|
|
3484
|
+
* 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.
|
|
3485
3485
|
*
|
|
3486
3486
|
* @param headers - map
|
|
3487
3487
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3505,7 +3505,7 @@ class Client extends openapi_core_1.default {
|
|
|
3505
3505
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyDetailsResponse({}));
|
|
3506
3506
|
}
|
|
3507
3507
|
/**
|
|
3508
|
-
*
|
|
3508
|
+
* 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.
|
|
3509
3509
|
* @returns DescribePolicyDetailsResponse
|
|
3510
3510
|
*/
|
|
3511
3511
|
async describePolicyDetails(policyName) {
|
|
@@ -3547,7 +3547,7 @@ class Client extends openapi_core_1.default {
|
|
|
3547
3547
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
3548
3548
|
}
|
|
3549
3549
|
/**
|
|
3550
|
-
*
|
|
3550
|
+
* 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.
|
|
3551
3551
|
*
|
|
3552
3552
|
* @param request - DescribePolicyInstancesRequest
|
|
3553
3553
|
* @param headers - map
|
|
@@ -3581,7 +3581,7 @@ class Client extends openapi_core_1.default {
|
|
|
3581
3581
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyInstancesResponse({}));
|
|
3582
3582
|
}
|
|
3583
3583
|
/**
|
|
3584
|
-
*
|
|
3584
|
+
* 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.
|
|
3585
3585
|
*
|
|
3586
3586
|
* @param request - DescribePolicyInstancesRequest
|
|
3587
3587
|
* @returns DescribePolicyInstancesResponse
|
|
@@ -3718,10 +3718,10 @@ class Client extends openapi_core_1.default {
|
|
|
3718
3718
|
return await this.describeResourcesDeleteProtectionWithOptions(ClusterId, ResourceType, request, headers, runtime);
|
|
3719
3719
|
}
|
|
3720
3720
|
/**
|
|
3721
|
-
* As
|
|
3721
|
+
* 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.
|
|
3722
3722
|
*
|
|
3723
3723
|
* @remarks
|
|
3724
|
-
* This operation can be called only by an Alibaba Cloud account.
|
|
3724
|
+
* This API operation can be called only by an Alibaba Cloud account.
|
|
3725
3725
|
*
|
|
3726
3726
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
3727
3727
|
* @param headers - map
|
|
@@ -3755,10 +3755,10 @@ class Client extends openapi_core_1.default {
|
|
|
3755
3755
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
3756
3756
|
}
|
|
3757
3757
|
/**
|
|
3758
|
-
* As
|
|
3758
|
+
* 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.
|
|
3759
3759
|
*
|
|
3760
3760
|
* @remarks
|
|
3761
|
-
* This operation can be called only by an Alibaba Cloud account.
|
|
3761
|
+
* This API operation can be called only by an Alibaba Cloud account.
|
|
3762
3762
|
*
|
|
3763
3763
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
3764
3764
|
* @returns DescribeSubaccountK8sClusterUserConfigResponse
|
|
@@ -3802,7 +3802,7 @@ class Client extends openapi_core_1.default {
|
|
|
3802
3802
|
return await this.describeTaskInfoWithOptions(taskId, headers, runtime);
|
|
3803
3803
|
}
|
|
3804
3804
|
/**
|
|
3805
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner
|
|
3805
|
+
* 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.
|
|
3806
3806
|
*
|
|
3807
3807
|
* @param request - DescribeTemplateAttributeRequest
|
|
3808
3808
|
* @param headers - map
|
|
@@ -3833,7 +3833,7 @@ class Client extends openapi_core_1.default {
|
|
|
3833
3833
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTemplateAttributeResponse({}));
|
|
3834
3834
|
}
|
|
3835
3835
|
/**
|
|
3836
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner
|
|
3836
|
+
* 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.
|
|
3837
3837
|
*
|
|
3838
3838
|
* @param request - DescribeTemplateAttributeRequest
|
|
3839
3839
|
* @returns DescribeTemplateAttributeResponse
|
|
@@ -3844,7 +3844,7 @@ class Client extends openapi_core_1.default {
|
|
|
3844
3844
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
3845
3845
|
}
|
|
3846
3846
|
/**
|
|
3847
|
-
*
|
|
3847
|
+
* 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.
|
|
3848
3848
|
*
|
|
3849
3849
|
* @param request - DescribeTemplatesRequest
|
|
3850
3850
|
* @param headers - map
|
|
@@ -3881,7 +3881,7 @@ class Client extends openapi_core_1.default {
|
|
|
3881
3881
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTemplatesResponse({}));
|
|
3882
3882
|
}
|
|
3883
3883
|
/**
|
|
3884
|
-
*
|
|
3884
|
+
* 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.
|
|
3885
3885
|
*
|
|
3886
3886
|
* @param request - DescribeTemplatesRequest
|
|
3887
3887
|
* @returns DescribeTemplatesResponse
|
|
@@ -3943,7 +3943,7 @@ class Client extends openapi_core_1.default {
|
|
|
3943
3943
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
3944
3944
|
}
|
|
3945
3945
|
/**
|
|
3946
|
-
*
|
|
3946
|
+
* 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.
|
|
3947
3947
|
*
|
|
3948
3948
|
* @param headers - map
|
|
3949
3949
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3967,7 +3967,7 @@ class Client extends openapi_core_1.default {
|
|
|
3967
3967
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserClusterNamespacesResponse({}));
|
|
3968
3968
|
}
|
|
3969
3969
|
/**
|
|
3970
|
-
*
|
|
3970
|
+
* 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.
|
|
3971
3971
|
* @returns DescribeUserClusterNamespacesResponse
|
|
3972
3972
|
*/
|
|
3973
3973
|
async describeUserClusterNamespaces(ClusterId) {
|
|
@@ -4017,7 +4017,7 @@ class Client extends openapi_core_1.default {
|
|
|
4017
4017
|
return await this.describeUserPermissionWithOptions(uid, headers, runtime);
|
|
4018
4018
|
}
|
|
4019
4019
|
/**
|
|
4020
|
-
* Queries the quotas
|
|
4020
|
+
* Queries the quotas for ACK clusters, node pools, and nodes. To increase a quota, apply in Quota Center.
|
|
4021
4021
|
*
|
|
4022
4022
|
* @param headers - map
|
|
4023
4023
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4041,7 +4041,7 @@ class Client extends openapi_core_1.default {
|
|
|
4041
4041
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserQuotaResponse({}));
|
|
4042
4042
|
}
|
|
4043
4043
|
/**
|
|
4044
|
-
* Queries the quotas
|
|
4044
|
+
* Queries the quotas for ACK clusters, node pools, and nodes. To increase a quota, apply in Quota Center.
|
|
4045
4045
|
* @returns DescribeUserQuotaResponse
|
|
4046
4046
|
*/
|
|
4047
4047
|
async describeUserQuota() {
|
|
@@ -4050,12 +4050,12 @@ class Client extends openapi_core_1.default {
|
|
|
4050
4050
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
4051
4051
|
}
|
|
4052
4052
|
/**
|
|
4053
|
-
* Alibaba Cloud security products
|
|
4053
|
+
* 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.
|
|
4054
4054
|
*
|
|
4055
4055
|
* @remarks
|
|
4056
|
-
* - CVE compatibility is guaranteed by Security Center. Ensure that you have activated the Ultimate edition of Security Center or [purchased
|
|
4057
|
-
* -
|
|
4058
|
-
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the
|
|
4056
|
+
* - 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).
|
|
4057
|
+
* - 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.
|
|
4058
|
+
* - 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.
|
|
4059
4059
|
*
|
|
4060
4060
|
* @param request - FixNodePoolVulsRequest
|
|
4061
4061
|
* @param headers - map
|
|
@@ -4095,12 +4095,12 @@ class Client extends openapi_core_1.default {
|
|
|
4095
4095
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FixNodePoolVulsResponse({}));
|
|
4096
4096
|
}
|
|
4097
4097
|
/**
|
|
4098
|
-
* Alibaba Cloud security products
|
|
4098
|
+
* 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.
|
|
4099
4099
|
*
|
|
4100
4100
|
* @remarks
|
|
4101
|
-
* - CVE compatibility is guaranteed by Security Center. Ensure that you have activated the Ultimate edition of Security Center or [purchased
|
|
4102
|
-
* -
|
|
4103
|
-
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the
|
|
4101
|
+
* - 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).
|
|
4102
|
+
* - 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.
|
|
4103
|
+
* - 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.
|
|
4104
4104
|
*
|
|
4105
4105
|
* @param request - FixNodePoolVulsRequest
|
|
4106
4106
|
* @returns FixNodePoolVulsResponse
|
|
@@ -4111,7 +4111,7 @@ class Client extends openapi_core_1.default {
|
|
|
4111
4111
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
4112
4112
|
}
|
|
4113
4113
|
/**
|
|
4114
|
-
*
|
|
4114
|
+
* 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.
|
|
4115
4115
|
*
|
|
4116
4116
|
* @param headers - map
|
|
4117
4117
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4135,7 +4135,7 @@ class Client extends openapi_core_1.default {
|
|
|
4135
4135
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterAddonInstanceResponse({}));
|
|
4136
4136
|
}
|
|
4137
4137
|
/**
|
|
4138
|
-
*
|
|
4138
|
+
* 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.
|
|
4139
4139
|
* @returns GetClusterAddonInstanceResponse
|
|
4140
4140
|
*/
|
|
4141
4141
|
async getClusterAddonInstance(clusterId, instanceName) {
|
|
@@ -4144,7 +4144,7 @@ class Client extends openapi_core_1.default {
|
|
|
4144
4144
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
4145
4145
|
}
|
|
4146
4146
|
/**
|
|
4147
|
-
* Queries whether the API server audit feature is enabled for a cluster and
|
|
4147
|
+
* 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.
|
|
4148
4148
|
*
|
|
4149
4149
|
* @param headers - map
|
|
4150
4150
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4168,7 +4168,7 @@ class Client extends openapi_core_1.default {
|
|
|
4168
4168
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterAuditProjectResponse({}));
|
|
4169
4169
|
}
|
|
4170
4170
|
/**
|
|
4171
|
-
* Queries whether the API server audit feature is enabled for a cluster and
|
|
4171
|
+
* 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.
|
|
4172
4172
|
* @returns GetClusterAuditProjectResponse
|
|
4173
4173
|
*/
|
|
4174
4174
|
async getClusterAuditProject(clusterid) {
|
|
@@ -4210,7 +4210,7 @@ class Client extends openapi_core_1.default {
|
|
|
4210
4210
|
return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
|
|
4211
4211
|
}
|
|
4212
4212
|
/**
|
|
4213
|
-
* Retrieves the
|
|
4213
|
+
* Retrieves the check items for cluster diagnostics.
|
|
4214
4214
|
*
|
|
4215
4215
|
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
4216
4216
|
* @param headers - map
|
|
@@ -4241,7 +4241,7 @@ class Client extends openapi_core_1.default {
|
|
|
4241
4241
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterDiagnosisCheckItemsResponse({}));
|
|
4242
4242
|
}
|
|
4243
4243
|
/**
|
|
4244
|
-
* Retrieves the
|
|
4244
|
+
* Retrieves the check items for cluster diagnostics.
|
|
4245
4245
|
*
|
|
4246
4246
|
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
4247
4247
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
@@ -4252,7 +4252,7 @@ class Client extends openapi_core_1.default {
|
|
|
4252
4252
|
return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
4253
4253
|
}
|
|
4254
4254
|
/**
|
|
4255
|
-
* Retrieves the diagnosis
|
|
4255
|
+
* Retrieves the cluster diagnosis results.
|
|
4256
4256
|
*
|
|
4257
4257
|
* @param request - GetClusterDiagnosisResultRequest
|
|
4258
4258
|
* @param headers - map
|
|
@@ -4283,7 +4283,7 @@ class Client extends openapi_core_1.default {
|
|
|
4283
4283
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterDiagnosisResultResponse({}));
|
|
4284
4284
|
}
|
|
4285
4285
|
/**
|
|
4286
|
-
* Retrieves the diagnosis
|
|
4286
|
+
* Retrieves the cluster diagnosis results.
|
|
4287
4287
|
*
|
|
4288
4288
|
* @param request - GetClusterDiagnosisResultRequest
|
|
4289
4289
|
* @returns GetClusterDiagnosisResultResponse
|
|
@@ -4294,7 +4294,7 @@ class Client extends openapi_core_1.default {
|
|
|
4294
4294
|
return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
4295
4295
|
}
|
|
4296
4296
|
/**
|
|
4297
|
-
* Retrieves the inspection configuration
|
|
4297
|
+
* Retrieves the cluster inspection configuration.
|
|
4298
4298
|
*
|
|
4299
4299
|
* @param headers - map
|
|
4300
4300
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4318,7 +4318,7 @@ class Client extends openapi_core_1.default {
|
|
|
4318
4318
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterInspectConfigResponse({}));
|
|
4319
4319
|
}
|
|
4320
4320
|
/**
|
|
4321
|
-
* Retrieves the inspection configuration
|
|
4321
|
+
* Retrieves the cluster inspection configuration.
|
|
4322
4322
|
* @returns GetClusterInspectConfigResponse
|
|
4323
4323
|
*/
|
|
4324
4324
|
async getClusterInspectConfig(clusterId) {
|
|
@@ -4443,7 +4443,7 @@ class Client extends openapi_core_1.default {
|
|
|
4443
4443
|
return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
|
|
4444
4444
|
}
|
|
4445
4445
|
/**
|
|
4446
|
-
* Queries the upgrade status of a cluster
|
|
4446
|
+
* Queries the upgrade status of a cluster based on the cluster ID.
|
|
4447
4447
|
*
|
|
4448
4448
|
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
4449
4449
|
*
|
|
@@ -4469,7 +4469,7 @@ class Client extends openapi_core_1.default {
|
|
|
4469
4469
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUpgradeStatusResponse({}));
|
|
4470
4470
|
}
|
|
4471
4471
|
/**
|
|
4472
|
-
* Queries the upgrade status of a cluster
|
|
4472
|
+
* Queries the upgrade status of a cluster based on the cluster ID.
|
|
4473
4473
|
*
|
|
4474
4474
|
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
4475
4475
|
* @returns GetUpgradeStatusResponse
|
|
@@ -4527,7 +4527,7 @@ class Client extends openapi_core_1.default {
|
|
|
4527
4527
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
4528
4528
|
}
|
|
4529
4529
|
/**
|
|
4530
|
-
* To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, application
|
|
4530
|
+
* 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.
|
|
4531
4531
|
*
|
|
4532
4532
|
* @param request - InstallClusterAddonsRequest
|
|
4533
4533
|
* @param headers - map
|
|
@@ -4554,7 +4554,7 @@ class Client extends openapi_core_1.default {
|
|
|
4554
4554
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallClusterAddonsResponse({}));
|
|
4555
4555
|
}
|
|
4556
4556
|
/**
|
|
4557
|
-
* To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, application
|
|
4557
|
+
* 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.
|
|
4558
4558
|
*
|
|
4559
4559
|
* @param request - InstallClusterAddonsRequest
|
|
4560
4560
|
* @returns InstallClusterAddonsResponse
|
|
@@ -4613,7 +4613,7 @@ class Client extends openapi_core_1.default {
|
|
|
4613
4613
|
return await this.installNodePoolComponentsWithOptions(clusterId, nodePoolId, request, headers, runtime);
|
|
4614
4614
|
}
|
|
4615
4615
|
/**
|
|
4616
|
-
*
|
|
4616
|
+
* 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.
|
|
4617
4617
|
*
|
|
4618
4618
|
* @param request - ListAddonsRequest
|
|
4619
4619
|
* @param headers - map
|
|
@@ -4659,7 +4659,7 @@ class Client extends openapi_core_1.default {
|
|
|
4659
4659
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAddonsResponse({}));
|
|
4660
4660
|
}
|
|
4661
4661
|
/**
|
|
4662
|
-
*
|
|
4662
|
+
* 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.
|
|
4663
4663
|
*
|
|
4664
4664
|
* @param request - ListAddonsRequest
|
|
4665
4665
|
* @returns ListAddonsResponse
|
|
@@ -4670,10 +4670,10 @@ class Client extends openapi_core_1.default {
|
|
|
4670
4670
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
4671
4671
|
}
|
|
4672
4672
|
/**
|
|
4673
|
-
* Retrieves
|
|
4673
|
+
* Retrieves the list of self-healing rules.
|
|
4674
4674
|
*
|
|
4675
4675
|
* @remarks
|
|
4676
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
4676
|
+
* >Notice: This API is not yet available. Stay tuned.</notice>
|
|
4677
4677
|
*
|
|
4678
4678
|
* @param headers - map
|
|
4679
4679
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4697,10 +4697,10 @@ class Client extends openapi_core_1.default {
|
|
|
4697
4697
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAutoRepairPoliciesResponse({}));
|
|
4698
4698
|
}
|
|
4699
4699
|
/**
|
|
4700
|
-
* Retrieves
|
|
4700
|
+
* Retrieves the list of self-healing rules.
|
|
4701
4701
|
*
|
|
4702
4702
|
* @remarks
|
|
4703
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
4703
|
+
* >Notice: This API is not yet available. Stay tuned.</notice>
|
|
4704
4704
|
* @returns ListAutoRepairPoliciesResponse
|
|
4705
4705
|
*/
|
|
4706
4706
|
async listAutoRepairPolicies(clusterId) {
|
|
@@ -4742,7 +4742,7 @@ class Client extends openapi_core_1.default {
|
|
|
4742
4742
|
return await this.listClusterAddonInstanceResourcesWithOptions(clusterId, instanceName, headers, runtime);
|
|
4743
4743
|
}
|
|
4744
4744
|
/**
|
|
4745
|
-
* Queries
|
|
4745
|
+
* 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.
|
|
4746
4746
|
*
|
|
4747
4747
|
* @param headers - map
|
|
4748
4748
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4766,7 +4766,7 @@ class Client extends openapi_core_1.default {
|
|
|
4766
4766
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterAddonInstancesResponse({}));
|
|
4767
4767
|
}
|
|
4768
4768
|
/**
|
|
4769
|
-
* Queries
|
|
4769
|
+
* 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.
|
|
4770
4770
|
* @returns ListClusterAddonInstancesResponse
|
|
4771
4771
|
*/
|
|
4772
4772
|
async listClusterAddonInstances(clusterId) {
|
|
@@ -4980,7 +4980,7 @@ class Client extends openapi_core_1.default {
|
|
|
4980
4980
|
return await this.listNodePoolComponentInstanceNodesWithOptions(clusterId, nodepoolId, name, request, headers, runtime);
|
|
4981
4981
|
}
|
|
4982
4982
|
/**
|
|
4983
|
-
* Queries node component instances.
|
|
4983
|
+
* Queries the list of node component instances.
|
|
4984
4984
|
*
|
|
4985
4985
|
* @param request - ListNodePoolComponentInstancesRequest
|
|
4986
4986
|
* @param headers - map
|
|
@@ -5014,7 +5014,7 @@ class Client extends openapi_core_1.default {
|
|
|
5014
5014
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListNodePoolComponentInstancesResponse({}));
|
|
5015
5015
|
}
|
|
5016
5016
|
/**
|
|
5017
|
-
* Queries node component instances.
|
|
5017
|
+
* Queries the list of node component instances.
|
|
5018
5018
|
*
|
|
5019
5019
|
* @param request - ListNodePoolComponentInstancesRequest
|
|
5020
5020
|
* @returns ListNodePoolComponentInstancesResponse
|
|
@@ -5183,7 +5183,7 @@ class Client extends openapi_core_1.default {
|
|
|
5183
5183
|
return await this.listOperationPlansForRegionWithOptions(regionId, request, headers, runtime);
|
|
5184
5184
|
}
|
|
5185
5185
|
/**
|
|
5186
|
-
* You can add tag key-value pairs to clusters so that
|
|
5186
|
+
* 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.
|
|
5187
5187
|
*
|
|
5188
5188
|
* @param tmpReq - ListTagResourcesRequest
|
|
5189
5189
|
* @param headers - map
|
|
@@ -5234,7 +5234,7 @@ class Client extends openapi_core_1.default {
|
|
|
5234
5234
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
|
|
5235
5235
|
}
|
|
5236
5236
|
/**
|
|
5237
|
-
* You can add tag key-value pairs to clusters so that
|
|
5237
|
+
* 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.
|
|
5238
5238
|
*
|
|
5239
5239
|
* @param request - ListTagResourcesRequest
|
|
5240
5240
|
* @returns ListTagResourcesResponse
|
|
@@ -5245,10 +5245,10 @@ class Client extends openapi_core_1.default {
|
|
|
5245
5245
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
5246
5246
|
}
|
|
5247
5247
|
/**
|
|
5248
|
-
* Queries the KubeConfig status list of all clusters for the current user.
|
|
5248
|
+
* Queries the KubeConfig status list of all clusters for the current user.
|
|
5249
5249
|
*
|
|
5250
5250
|
* @remarks
|
|
5251
|
-
* > To call this operation, you must have
|
|
5251
|
+
* > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
|
|
5252
5252
|
*
|
|
5253
5253
|
* @param request - ListUserKubeConfigStatesRequest
|
|
5254
5254
|
* @param headers - map
|
|
@@ -5282,10 +5282,10 @@ class Client extends openapi_core_1.default {
|
|
|
5282
5282
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUserKubeConfigStatesResponse({}));
|
|
5283
5283
|
}
|
|
5284
5284
|
/**
|
|
5285
|
-
* Queries the KubeConfig status list of all clusters for the current user.
|
|
5285
|
+
* Queries the KubeConfig status list of all clusters for the current user.
|
|
5286
5286
|
*
|
|
5287
5287
|
* @remarks
|
|
5288
|
-
* > To call this operation, you must have
|
|
5288
|
+
* > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
|
|
5289
5289
|
*
|
|
5290
5290
|
* @param request - ListUserKubeConfigStatesRequest
|
|
5291
5291
|
* @returns ListUserKubeConfigStatesResponse
|
|
@@ -5506,13 +5506,13 @@ class Client extends openapi_core_1.default {
|
|
|
5506
5506
|
return await this.modifyClusterWithOptions(ClusterId, request, headers, runtime);
|
|
5507
5507
|
}
|
|
5508
5508
|
/**
|
|
5509
|
-
* Modifies the configuration of an installed cluster
|
|
5509
|
+
* 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.
|
|
5510
5510
|
*
|
|
5511
5511
|
* @remarks
|
|
5512
|
-
* You can
|
|
5513
|
-
* -
|
|
5514
|
-
* - For the configurable control plane
|
|
5515
|
-
* Modifying the configuration may cause
|
|
5512
|
+
* 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:
|
|
5513
|
+
* - 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).
|
|
5514
|
+
* - 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).
|
|
5515
|
+
* Modifying the configuration may cause add-on redeployment and restart. Evaluate the impact before you proceed.
|
|
5516
5516
|
*
|
|
5517
5517
|
* @param request - ModifyClusterAddonRequest
|
|
5518
5518
|
* @param headers - map
|
|
@@ -5543,13 +5543,13 @@ class Client extends openapi_core_1.default {
|
|
|
5543
5543
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterAddonResponse({}));
|
|
5544
5544
|
}
|
|
5545
5545
|
/**
|
|
5546
|
-
* Modifies the configuration of an installed cluster
|
|
5546
|
+
* 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.
|
|
5547
5547
|
*
|
|
5548
5548
|
* @remarks
|
|
5549
|
-
* You can
|
|
5550
|
-
* -
|
|
5551
|
-
* - For the configurable control plane
|
|
5552
|
-
* Modifying the configuration may cause
|
|
5549
|
+
* 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:
|
|
5550
|
+
* - 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).
|
|
5551
|
+
* - 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).
|
|
5552
|
+
* Modifying the configuration may cause add-on redeployment and restart. Evaluate the impact before you proceed.
|
|
5553
5553
|
*
|
|
5554
5554
|
* @param request - ModifyClusterAddonRequest
|
|
5555
5555
|
* @returns ModifyClusterAddonResponse
|
|
@@ -5632,10 +5632,10 @@ class Client extends openapi_core_1.default {
|
|
|
5632
5632
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
5633
5633
|
}
|
|
5634
5634
|
/**
|
|
5635
|
-
* You can add tag key-value pairs to
|
|
5635
|
+
* 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.
|
|
5636
5636
|
*
|
|
5637
5637
|
* @remarks
|
|
5638
|
-
* - This operation performs a full update.
|
|
5638
|
+
* - 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.
|
|
5639
5639
|
*
|
|
5640
5640
|
* @param request - ModifyClusterTagsRequest
|
|
5641
5641
|
* @param headers - map
|
|
@@ -5662,10 +5662,10 @@ class Client extends openapi_core_1.default {
|
|
|
5662
5662
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterTagsResponse({}));
|
|
5663
5663
|
}
|
|
5664
5664
|
/**
|
|
5665
|
-
* You can add tag key-value pairs to
|
|
5665
|
+
* 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.
|
|
5666
5666
|
*
|
|
5667
5667
|
* @remarks
|
|
5668
|
-
* - This operation performs a full update.
|
|
5668
|
+
* - 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.
|
|
5669
5669
|
*
|
|
5670
5670
|
* @param request - ModifyClusterTagsRequest
|
|
5671
5671
|
* @returns ModifyClusterTagsResponse
|
|
@@ -5736,7 +5736,7 @@ class Client extends openapi_core_1.default {
|
|
|
5736
5736
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
5737
5737
|
}
|
|
5738
5738
|
/**
|
|
5739
|
-
* Updates a policy rule instance in a specified cluster
|
|
5739
|
+
* 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.
|
|
5740
5740
|
*
|
|
5741
5741
|
* @param request - ModifyPolicyInstanceRequest
|
|
5742
5742
|
* @param headers - map
|
|
@@ -5776,7 +5776,7 @@ class Client extends openapi_core_1.default {
|
|
|
5776
5776
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPolicyInstanceResponse({}));
|
|
5777
5777
|
}
|
|
5778
5778
|
/**
|
|
5779
|
-
* Updates a policy rule instance in a specified cluster
|
|
5779
|
+
* 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.
|
|
5780
5780
|
*
|
|
5781
5781
|
* @param request - ModifyPolicyInstanceRequest
|
|
5782
5782
|
* @returns ModifyPolicyInstanceResponse
|
|
@@ -5787,11 +5787,11 @@ class Client extends openapi_core_1.default {
|
|
|
5787
5787
|
return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
5788
5788
|
}
|
|
5789
5789
|
/**
|
|
5790
|
-
*
|
|
5790
|
+
* Activates Container Service for Kubernetes (ACK) for first-time users.
|
|
5791
5791
|
*
|
|
5792
5792
|
* @remarks
|
|
5793
|
-
* - An Alibaba Cloud account can activate ACK.
|
|
5794
|
-
* - A Resource Access Management (RAM) user
|
|
5793
|
+
* - An Alibaba Cloud account can activate Container Service for Kubernetes (ACK).
|
|
5794
|
+
* - A Resource Access Management (RAM) user to which the AdministratorAccess policy is attached can activate the service.
|
|
5795
5795
|
*
|
|
5796
5796
|
* @param request - OpenAckServiceRequest
|
|
5797
5797
|
* @param headers - map
|
|
@@ -5822,11 +5822,11 @@ class Client extends openapi_core_1.default {
|
|
|
5822
5822
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OpenAckServiceResponse({}));
|
|
5823
5823
|
}
|
|
5824
5824
|
/**
|
|
5825
|
-
*
|
|
5825
|
+
* Activates Container Service for Kubernetes (ACK) for first-time users.
|
|
5826
5826
|
*
|
|
5827
5827
|
* @remarks
|
|
5828
|
-
* - An Alibaba Cloud account can activate ACK.
|
|
5829
|
-
* - A Resource Access Management (RAM) user
|
|
5828
|
+
* - An Alibaba Cloud account can activate Container Service for Kubernetes (ACK).
|
|
5829
|
+
* - A Resource Access Management (RAM) user to which the AdministratorAccess policy is attached can activate the service.
|
|
5830
5830
|
*
|
|
5831
5831
|
* @param request - OpenAckServiceRequest
|
|
5832
5832
|
* @returns OpenAckServiceResponse
|
|
@@ -5837,7 +5837,7 @@ class Client extends openapi_core_1.default {
|
|
|
5837
5837
|
return await this.openAckServiceWithOptions(request, headers, runtime);
|
|
5838
5838
|
}
|
|
5839
5839
|
/**
|
|
5840
|
-
* Pauses
|
|
5840
|
+
* Pauses a cluster upgrade.
|
|
5841
5841
|
*
|
|
5842
5842
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
5843
5843
|
*
|
|
@@ -5863,7 +5863,7 @@ class Client extends openapi_core_1.default {
|
|
|
5863
5863
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseClusterUpgradeResponse({}));
|
|
5864
5864
|
}
|
|
5865
5865
|
/**
|
|
5866
|
-
* Pauses
|
|
5866
|
+
* Pauses a cluster upgrade.
|
|
5867
5867
|
*
|
|
5868
5868
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
5869
5869
|
* @returns PauseClusterUpgradeResponse
|
|
@@ -5999,14 +5999,14 @@ class Client extends openapi_core_1.default {
|
|
|
5999
5999
|
return await this.removeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
6000
6000
|
}
|
|
6001
6001
|
/**
|
|
6002
|
-
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when
|
|
6002
|
+
* 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.
|
|
6003
6003
|
*
|
|
6004
6004
|
* @remarks
|
|
6005
|
-
* -
|
|
6005
|
+
* - Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours.
|
|
6006
6006
|
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
6007
|
-
* - During the operation, the
|
|
6008
|
-
* -
|
|
6009
|
-
*
|
|
6007
|
+
* - During the operation, the system sets the nodes to the unschedulable state.
|
|
6008
|
+
* - Only worker nodes are removed. Master nodes are not removed.
|
|
6009
|
+
* - 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.
|
|
6010
6010
|
*
|
|
6011
6011
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
6012
6012
|
* @param headers - map
|
|
@@ -6057,14 +6057,14 @@ class Client extends openapi_core_1.default {
|
|
|
6057
6057
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveNodePoolNodesResponse({}));
|
|
6058
6058
|
}
|
|
6059
6059
|
/**
|
|
6060
|
-
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when
|
|
6060
|
+
* 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.
|
|
6061
6061
|
*
|
|
6062
6062
|
* @remarks
|
|
6063
|
-
* -
|
|
6063
|
+
* - Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours.
|
|
6064
6064
|
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
6065
|
-
* - During the operation, the
|
|
6066
|
-
* -
|
|
6067
|
-
*
|
|
6065
|
+
* - During the operation, the system sets the nodes to the unschedulable state.
|
|
6066
|
+
* - Only worker nodes are removed. Master nodes are not removed.
|
|
6067
|
+
* - 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.
|
|
6068
6068
|
*
|
|
6069
6069
|
* @param request - RemoveNodePoolNodesRequest
|
|
6070
6070
|
* @returns RemoveNodePoolNodesResponse
|
|
@@ -6075,7 +6075,7 @@ class Client extends openapi_core_1.default {
|
|
|
6075
6075
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
6076
6076
|
}
|
|
6077
6077
|
/**
|
|
6078
|
-
* Repairs
|
|
6078
|
+
* Repairs a node pool in a cluster.
|
|
6079
6079
|
*
|
|
6080
6080
|
* @param request - RepairClusterNodePoolRequest
|
|
6081
6081
|
* @param headers - map
|
|
@@ -6112,7 +6112,7 @@ class Client extends openapi_core_1.default {
|
|
|
6112
6112
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RepairClusterNodePoolResponse({}));
|
|
6113
6113
|
}
|
|
6114
6114
|
/**
|
|
6115
|
-
* Repairs
|
|
6115
|
+
* Repairs a node pool in a cluster.
|
|
6116
6116
|
*
|
|
6117
6117
|
* @param request - RepairClusterNodePoolRequest
|
|
6118
6118
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -6265,7 +6265,7 @@ class Client extends openapi_core_1.default {
|
|
|
6265
6265
|
return await this.revokeK8sClusterKubeConfigWithOptions(ClusterId, headers, runtime);
|
|
6266
6266
|
}
|
|
6267
6267
|
/**
|
|
6268
|
-
* The Container
|
|
6268
|
+
* 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.
|
|
6269
6269
|
*
|
|
6270
6270
|
* @param request - RunClusterCheckRequest
|
|
6271
6271
|
* @param headers - map
|
|
@@ -6302,7 +6302,7 @@ class Client extends openapi_core_1.default {
|
|
|
6302
6302
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunClusterCheckResponse({}));
|
|
6303
6303
|
}
|
|
6304
6304
|
/**
|
|
6305
|
-
* The Container
|
|
6305
|
+
* 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.
|
|
6306
6306
|
*
|
|
6307
6307
|
* @param request - RunClusterCheckRequest
|
|
6308
6308
|
* @returns RunClusterCheckResponse
|
|
@@ -6400,7 +6400,7 @@ class Client extends openapi_core_1.default {
|
|
|
6400
6400
|
return await this.runNodeOperationWithOptions(clusterId, nodepoolId, nodeName, request, headers, runtime);
|
|
6401
6401
|
}
|
|
6402
6402
|
/**
|
|
6403
|
-
* Scales out a node pool
|
|
6403
|
+
* Scales out the nodes in a node pool to ensure sufficient node capacity for workloads.
|
|
6404
6404
|
*
|
|
6405
6405
|
* @param request - ScaleClusterNodePoolRequest
|
|
6406
6406
|
* @param headers - map
|
|
@@ -6431,7 +6431,7 @@ class Client extends openapi_core_1.default {
|
|
|
6431
6431
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ScaleClusterNodePoolResponse({}));
|
|
6432
6432
|
}
|
|
6433
6433
|
/**
|
|
6434
|
-
* Scales out a node pool
|
|
6434
|
+
* Scales out the nodes in a node pool to ensure sufficient node capacity for workloads.
|
|
6435
6435
|
*
|
|
6436
6436
|
* @param request - ScaleClusterNodePoolRequest
|
|
6437
6437
|
* @returns ScaleClusterNodePoolResponse
|
|
@@ -6544,7 +6544,7 @@ class Client extends openapi_core_1.default {
|
|
|
6544
6544
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
6545
6545
|
}
|
|
6546
6546
|
/**
|
|
6547
|
-
*
|
|
6547
|
+
* 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.
|
|
6548
6548
|
*
|
|
6549
6549
|
* @param headers - map
|
|
6550
6550
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6568,7 +6568,7 @@ class Client extends openapi_core_1.default {
|
|
|
6568
6568
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ScanClusterVulsResponse({}));
|
|
6569
6569
|
}
|
|
6570
6570
|
/**
|
|
6571
|
-
*
|
|
6571
|
+
* 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.
|
|
6572
6572
|
* @returns ScanClusterVulsResponse
|
|
6573
6573
|
*/
|
|
6574
6574
|
async scanClusterVuls(clusterId) {
|
|
@@ -6577,7 +6577,7 @@ class Client extends openapi_core_1.default {
|
|
|
6577
6577
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
6578
6578
|
}
|
|
6579
6579
|
/**
|
|
6580
|
-
* Starts
|
|
6580
|
+
* Starts the specified alert rule.
|
|
6581
6581
|
*
|
|
6582
6582
|
* @param request - StartAlertRequest
|
|
6583
6583
|
* @param headers - map
|
|
@@ -6611,7 +6611,7 @@ class Client extends openapi_core_1.default {
|
|
|
6611
6611
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartAlertResponse({}));
|
|
6612
6612
|
}
|
|
6613
6613
|
/**
|
|
6614
|
-
* Starts
|
|
6614
|
+
* Starts the specified alert rule.
|
|
6615
6615
|
*
|
|
6616
6616
|
* @param request - StartAlertRequest
|
|
6617
6617
|
* @returns StartAlertResponse
|
|
@@ -6622,7 +6622,7 @@ class Client extends openapi_core_1.default {
|
|
|
6622
6622
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
6623
6623
|
}
|
|
6624
6624
|
/**
|
|
6625
|
-
*
|
|
6625
|
+
* Disables alert rules in the ACK Alert Center. You can disable an entire alert rule group or an individual alert rule.
|
|
6626
6626
|
*
|
|
6627
6627
|
* @param request - StopAlertRequest
|
|
6628
6628
|
* @param headers - map
|
|
@@ -6656,7 +6656,7 @@ class Client extends openapi_core_1.default {
|
|
|
6656
6656
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StopAlertResponse({}));
|
|
6657
6657
|
}
|
|
6658
6658
|
/**
|
|
6659
|
-
*
|
|
6659
|
+
* Disables alert rules in the ACK Alert Center. You can disable an entire alert rule group or an individual alert rule.
|
|
6660
6660
|
*
|
|
6661
6661
|
* @param request - StopAlertRequest
|
|
6662
6662
|
* @returns StopAlertResponse
|
|
@@ -6667,7 +6667,7 @@ class Client extends openapi_core_1.default {
|
|
|
6667
6667
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
6668
6668
|
}
|
|
6669
6669
|
/**
|
|
6670
|
-
* Synchronizes a cluster node pool, including node pool metadata and node information
|
|
6670
|
+
* Synchronizes a cluster node pool, including node pool metadata and node information.
|
|
6671
6671
|
*
|
|
6672
6672
|
* @param headers - map
|
|
6673
6673
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6691,7 +6691,7 @@ class Client extends openapi_core_1.default {
|
|
|
6691
6691
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncClusterNodePoolResponse({}));
|
|
6692
6692
|
}
|
|
6693
6693
|
/**
|
|
6694
|
-
* Synchronizes a cluster node pool, including node pool metadata and node information
|
|
6694
|
+
* Synchronizes a cluster node pool, including node pool metadata and node information.
|
|
6695
6695
|
* @returns SyncClusterNodePoolResponse
|
|
6696
6696
|
*/
|
|
6697
6697
|
async syncClusterNodePool(ClusterId) {
|
|
@@ -6700,7 +6700,7 @@ class Client extends openapi_core_1.default {
|
|
|
6700
6700
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
6701
6701
|
}
|
|
6702
6702
|
/**
|
|
6703
|
-
*
|
|
6703
|
+
* 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.
|
|
6704
6704
|
*
|
|
6705
6705
|
* @param request - TagResourcesRequest
|
|
6706
6706
|
* @param headers - map
|
|
@@ -6740,7 +6740,7 @@ class Client extends openapi_core_1.default {
|
|
|
6740
6740
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
6741
6741
|
}
|
|
6742
6742
|
/**
|
|
6743
|
-
*
|
|
6743
|
+
* 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.
|
|
6744
6744
|
*
|
|
6745
6745
|
* @param request - TagResourcesRequest
|
|
6746
6746
|
* @returns TagResourcesResponse
|
|
@@ -6751,7 +6751,7 @@ class Client extends openapi_core_1.default {
|
|
|
6751
6751
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
6752
6752
|
}
|
|
6753
6753
|
/**
|
|
6754
|
-
* Uninstalls specified components from a cluster
|
|
6754
|
+
* Uninstalls specified components from a cluster and specifies whether to delete the associated Alibaba Cloud resources.
|
|
6755
6755
|
*
|
|
6756
6756
|
* @param request - UnInstallClusterAddonsRequest
|
|
6757
6757
|
* @param headers - map
|
|
@@ -6778,7 +6778,7 @@ class Client extends openapi_core_1.default {
|
|
|
6778
6778
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnInstallClusterAddonsResponse({}));
|
|
6779
6779
|
}
|
|
6780
6780
|
/**
|
|
6781
|
-
* Uninstalls specified components from a cluster
|
|
6781
|
+
* Uninstalls specified components from a cluster and specifies whether to delete the associated Alibaba Cloud resources.
|
|
6782
6782
|
*
|
|
6783
6783
|
* @param request - UnInstallClusterAddonsRequest
|
|
6784
6784
|
* @returns UnInstallClusterAddonsResponse
|
|
@@ -6789,7 +6789,7 @@ class Client extends openapi_core_1.default {
|
|
|
6789
6789
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
6790
6790
|
}
|
|
6791
6791
|
/**
|
|
6792
|
-
* Deletes resource tags when
|
|
6792
|
+
* Deletes resource tags when the tag key-value pairs of a cluster are no longer needed.
|
|
6793
6793
|
*
|
|
6794
6794
|
* @param tmpReq - UntagResourcesRequest
|
|
6795
6795
|
* @param headers - map
|
|
@@ -6840,7 +6840,7 @@ class Client extends openapi_core_1.default {
|
|
|
6840
6840
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
|
|
6841
6841
|
}
|
|
6842
6842
|
/**
|
|
6843
|
-
* Deletes resource tags when
|
|
6843
|
+
* Deletes resource tags when the tag key-value pairs of a cluster are no longer needed.
|
|
6844
6844
|
*
|
|
6845
6845
|
* @param request - UntagResourcesRequest
|
|
6846
6846
|
* @returns UntagResourcesResponse
|
|
@@ -6851,10 +6851,10 @@ class Client extends openapi_core_1.default {
|
|
|
6851
6851
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
6852
6852
|
}
|
|
6853
6853
|
/**
|
|
6854
|
-
*
|
|
6854
|
+
* 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.
|
|
6855
6855
|
*
|
|
6856
6856
|
* @remarks
|
|
6857
|
-
* Before you
|
|
6857
|
+
* 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).
|
|
6858
6858
|
*
|
|
6859
6859
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
6860
6860
|
* @param headers - map
|
|
@@ -6888,10 +6888,10 @@ class Client extends openapi_core_1.default {
|
|
|
6888
6888
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateClusterAuditLogConfigResponse({}));
|
|
6889
6889
|
}
|
|
6890
6890
|
/**
|
|
6891
|
-
*
|
|
6891
|
+
* 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.
|
|
6892
6892
|
*
|
|
6893
6893
|
* @remarks
|
|
6894
|
-
* Before you
|
|
6894
|
+
* 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).
|
|
6895
6895
|
*
|
|
6896
6896
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
6897
6897
|
* @returns UpdateClusterAuditLogConfigResponse
|
|
@@ -7001,7 +7001,7 @@ class Client extends openapi_core_1.default {
|
|
|
7001
7001
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, request, headers, runtime);
|
|
7002
7002
|
}
|
|
7003
7003
|
/**
|
|
7004
|
-
* ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS)
|
|
7004
|
+
* 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.
|
|
7005
7005
|
*
|
|
7006
7006
|
* @param request - UpdateControlPlaneLogRequest
|
|
7007
7007
|
* @param headers - map
|
|
@@ -7041,7 +7041,7 @@ class Client extends openapi_core_1.default {
|
|
|
7041
7041
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateControlPlaneLogResponse({}));
|
|
7042
7042
|
}
|
|
7043
7043
|
/**
|
|
7044
|
-
* ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS)
|
|
7044
|
+
* 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.
|
|
7045
7045
|
*
|
|
7046
7046
|
* @param request - UpdateControlPlaneLogRequest
|
|
7047
7047
|
* @returns UpdateControlPlaneLogResponse
|
|
@@ -7052,11 +7052,11 @@ class Client extends openapi_core_1.default {
|
|
|
7052
7052
|
return await this.updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime);
|
|
7053
7053
|
}
|
|
7054
7054
|
/**
|
|
7055
|
-
* Updates the
|
|
7055
|
+
* 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.
|
|
7056
7056
|
*
|
|
7057
7057
|
* @remarks
|
|
7058
|
-
* -
|
|
7059
|
-
* - If
|
|
7058
|
+
* - Only Alibaba Cloud accounts can call this operation.
|
|
7059
|
+
* - 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.
|
|
7060
7060
|
*
|
|
7061
7061
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
7062
7062
|
* @param headers - map
|
|
@@ -7090,11 +7090,11 @@ class Client extends openapi_core_1.default {
|
|
|
7090
7090
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateK8sClusterUserConfigExpireResponse({}));
|
|
7091
7091
|
}
|
|
7092
7092
|
/**
|
|
7093
|
-
* Updates the
|
|
7093
|
+
* 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.
|
|
7094
7094
|
*
|
|
7095
7095
|
* @remarks
|
|
7096
|
-
* -
|
|
7097
|
-
* - If
|
|
7096
|
+
* - Only Alibaba Cloud accounts can call this operation.
|
|
7097
|
+
* - 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.
|
|
7098
7098
|
*
|
|
7099
7099
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
7100
7100
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|
|
@@ -7108,9 +7108,9 @@ class Client extends openapi_core_1.default {
|
|
|
7108
7108
|
* Updates the encryption at rest configuration for Secrets in a specified cluster.
|
|
7109
7109
|
*
|
|
7110
7110
|
* @remarks
|
|
7111
|
-
* Do not
|
|
7112
|
-
* * 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.
|
|
7113
|
-
* * 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
|
|
7111
|
+
* 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).
|
|
7112
|
+
* * 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.
|
|
7113
|
+
* * 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.
|
|
7114
7114
|
*
|
|
7115
7115
|
* @param request - UpdateKMSEncryptionRequest
|
|
7116
7116
|
* @param headers - map
|
|
@@ -7147,9 +7147,9 @@ class Client extends openapi_core_1.default {
|
|
|
7147
7147
|
* Updates the encryption at rest configuration for Secrets in a specified cluster.
|
|
7148
7148
|
*
|
|
7149
7149
|
* @remarks
|
|
7150
|
-
* Do not
|
|
7151
|
-
* * 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.
|
|
7152
|
-
* * 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
|
|
7150
|
+
* 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).
|
|
7151
|
+
* * 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.
|
|
7152
|
+
* * 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.
|
|
7153
7153
|
*
|
|
7154
7154
|
* @param request - UpdateKMSEncryptionRequest
|
|
7155
7155
|
* @returns UpdateKMSEncryptionResponse
|
|
@@ -7271,10 +7271,10 @@ class Client extends openapi_core_1.default {
|
|
|
7271
7271
|
return await this.updateNodePoolComponentInstanceWithOptions(clusterId, nodepoolId, name, request, headers, runtime);
|
|
7272
7272
|
}
|
|
7273
7273
|
/**
|
|
7274
|
-
* Updates the deletion protection status of a specified resource.
|
|
7274
|
+
* 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.
|
|
7275
7275
|
*
|
|
7276
7276
|
* @remarks
|
|
7277
|
-
* Before
|
|
7277
|
+
* 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).
|
|
7278
7278
|
*
|
|
7279
7279
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
7280
7280
|
* @param headers - map
|
|
@@ -7314,10 +7314,10 @@ class Client extends openapi_core_1.default {
|
|
|
7314
7314
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateResourcesDeleteProtectionResponse({}));
|
|
7315
7315
|
}
|
|
7316
7316
|
/**
|
|
7317
|
-
* Updates the deletion protection status of a specified resource.
|
|
7317
|
+
* 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.
|
|
7318
7318
|
*
|
|
7319
7319
|
* @remarks
|
|
7320
|
-
* Before
|
|
7320
|
+
* 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).
|
|
7321
7321
|
*
|
|
7322
7322
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
7323
7323
|
* @returns UpdateResourcesDeleteProtectionResponse
|
|
@@ -7328,7 +7328,7 @@ class Client extends openapi_core_1.default {
|
|
|
7328
7328
|
return await this.updateResourcesDeleteProtectionWithOptions(ClusterId, request, headers, runtime);
|
|
7329
7329
|
}
|
|
7330
7330
|
/**
|
|
7331
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources
|
|
7331
|
+
* 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.
|
|
7332
7332
|
*
|
|
7333
7333
|
* @param request - UpdateTemplateRequest
|
|
7334
7334
|
* @param headers - map
|
|
@@ -7371,7 +7371,7 @@ class Client extends openapi_core_1.default {
|
|
|
7371
7371
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTemplateResponse({}));
|
|
7372
7372
|
}
|
|
7373
7373
|
/**
|
|
7374
|
-
* An orchestration template defines and describes a set of Kubernetes cluster resources
|
|
7374
|
+
* 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.
|
|
7375
7375
|
*
|
|
7376
7376
|
* @param request - UpdateTemplateRequest
|
|
7377
7377
|
* @returns UpdateTemplateResponse
|
|
@@ -7382,10 +7382,10 @@ class Client extends openapi_core_1.default {
|
|
|
7382
7382
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
7383
7383
|
}
|
|
7384
7384
|
/**
|
|
7385
|
-
* Updates the RBAC permissions of a
|
|
7385
|
+
* 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.
|
|
7386
7386
|
*
|
|
7387
7387
|
* @remarks
|
|
7388
|
-
* 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
|
|
7388
|
+
* 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.
|
|
7389
7389
|
*
|
|
7390
7390
|
* @param request - UpdateUserPermissionsRequest
|
|
7391
7391
|
* @param headers - map
|
|
@@ -7417,10 +7417,10 @@ class Client extends openapi_core_1.default {
|
|
|
7417
7417
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserPermissionsResponse({}));
|
|
7418
7418
|
}
|
|
7419
7419
|
/**
|
|
7420
|
-
* Updates the RBAC permissions of a
|
|
7420
|
+
* 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.
|
|
7421
7421
|
*
|
|
7422
7422
|
* @remarks
|
|
7423
|
-
* 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
|
|
7423
|
+
* 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.
|
|
7424
7424
|
*
|
|
7425
7425
|
* @param request - UpdateUserPermissionsRequest
|
|
7426
7426
|
* @returns UpdateUserPermissionsResponse
|
|
@@ -7431,15 +7431,15 @@ class Client extends openapi_core_1.default {
|
|
|
7431
7431
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
7432
7432
|
}
|
|
7433
7433
|
/**
|
|
7434
|
-
* Upgrades an ACK cluster
|
|
7434
|
+
* 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.
|
|
7435
7435
|
*
|
|
7436
7436
|
* @remarks
|
|
7437
|
-
* After you successfully call the UpgradeCluster operation, the API returns the
|
|
7437
|
+
* 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:
|
|
7438
7438
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7439
7439
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7440
7440
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7441
7441
|
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7442
|
-
* >Notice: Starting from July
|
|
7442
|
+
* >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>
|
|
7443
7443
|
*
|
|
7444
7444
|
* @param request - UpgradeClusterRequest
|
|
7445
7445
|
* @param headers - map
|
|
@@ -7482,15 +7482,15 @@ class Client extends openapi_core_1.default {
|
|
|
7482
7482
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterResponse({}));
|
|
7483
7483
|
}
|
|
7484
7484
|
/**
|
|
7485
|
-
* Upgrades an ACK cluster
|
|
7485
|
+
* 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.
|
|
7486
7486
|
*
|
|
7487
7487
|
* @remarks
|
|
7488
|
-
* After you successfully call the UpgradeCluster operation, the API returns the
|
|
7488
|
+
* 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:
|
|
7489
7489
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7490
7490
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7491
7491
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7492
7492
|
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7493
|
-
* >Notice: Starting from July
|
|
7493
|
+
* >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>
|
|
7494
7494
|
*
|
|
7495
7495
|
* @param request - UpgradeClusterRequest
|
|
7496
7496
|
* @returns UpgradeClusterResponse
|