@alicloud/cs20151215 6.7.0 → 7.0.0
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 +438 -446
- package/dist/client.js +485 -446
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +59 -38
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesResponseBody.d.ts +4 -4
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +14 -12
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -6
- package/dist/models/CheckControlPlaneLogEnableResponseBody.js.map +1 -1
- package/dist/models/CheckServiceRoleRequest.d.ts +2 -2
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -9
- package/dist/models/CheckServiceRoleResponseBody.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +3 -4
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsShrinkRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +17 -17
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +42 -55
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +20 -24
- package/dist/models/CreateClusterDiagnosisRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisResponseBody.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +2 -2
- package/dist/models/CreateClusterNodePoolRequest.d.ts +284 -351
- package/dist/models/CreateClusterNodePoolRequest.js +1 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/CreateClusterRequest.d.ts +270 -347
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +10 -9
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +8 -7
- package/dist/models/CreateTriggerRequest.js.map +1 -1
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteAlertContactGroupShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +5 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +10 -13
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +18 -27
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterShrinkRequest.d.ts +9 -11
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeletePolicyInstanceRequest.d.ts +1 -1
- package/dist/models/DeletePolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +5 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonRequest.d.ts +18 -7
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +14 -13
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +13 -11
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +4 -4
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +19 -19
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +11 -11
- package/dist/models/DescribeClusterAddonMetadataResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -16
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +96 -123
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +3 -3
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +22 -41
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +257 -330
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +236 -310
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +24 -9
- package/dist/models/DescribeClusterNodesRequest.js +6 -0
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +51 -38
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +3 -3
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -48
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -10
- package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +13 -19
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -30
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +40 -67
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +18 -26
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +52 -77
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -2
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +7 -11
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +22 -38
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +31 -50
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +6 -4
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeExternalAgentResponseBody.d.ts +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +24 -25
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +31 -32
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +4 -4
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +13 -18
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +17 -21
- package/dist/models/DescribePolicyDetailsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +30 -34
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesRequest.d.ts +2 -2
- package/dist/models/DescribePolicyInstancesResponse.d.ts +20 -19
- package/dist/models/DescribePolicyInstancesResponse.js.map +1 -1
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +7 -7
- package/dist/models/DescribeRegionsRequest.d.ts +3 -21
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +6 -5
- package/dist/models/DescribeResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +5 -6
- package/dist/models/DescribeResourcesDeleteProtectionResponse.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +6 -7
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +20 -26
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +16 -14
- package/dist/models/DescribeTemplateAttributeResponse.js.map +1 -1
- package/dist/models/DescribeTemplatesRequest.d.ts +7 -6
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +19 -20
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeTriggerRequest.d.ts +8 -7
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +12 -13
- package/dist/models/DescribeTriggerResponse.js.map +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +9 -4
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/FixNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +21 -14
- package/dist/models/GetClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +5 -4
- package/dist/models/GetClusterAuditProjectResponseBody.js.map +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +7 -7
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +6 -12
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.js.map +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +14 -26
- package/dist/models/GetClusterDiagnosisResultResponseBody.js.map +1 -1
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +2 -2
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +15 -18
- package/dist/models/GetClusterInspectReportDetailRequest.js.map +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +30 -34
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +11 -10
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +18 -19
- package/dist/models/GetUpgradeStatusResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +19 -26
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +4 -4
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +14 -11
- package/dist/models/InstallNodePoolComponentsRequest.js +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListAddonsRequest.d.ts +17 -6
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +24 -15
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +20 -20
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +7 -8
- package/dist/models/ListClusterAddonInstancesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksRequest.d.ts +9 -2
- package/dist/models/ListClusterChecksRequest.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +7 -7
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +11 -11
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +9 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +32 -28
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +14 -14
- package/dist/models/ListOperationPlansRequest.d.ts +1 -1
- package/dist/models/ListOperationPlansResponseBody.d.ts +13 -15
- package/dist/models/ListOperationPlansResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +8 -6
- package/dist/models/ListUserKubeConfigStatesRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +24 -25
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/MigrateClusterRequest.d.ts +2 -2
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyClusterAddonRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +229 -298
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterRequest.d.ts +106 -139
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +11 -7
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +6 -6
- package/dist/models/ModifyPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/Nodepool.d.ts +227 -271
- package/dist/models/Nodepool.js +1 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/QuotasValue.d.ts +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +14 -9
- package/dist/models/RepairClusterNodePoolRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/RunClusterCheckRequest.d.ts +4 -9
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +10 -9
- package/dist/models/StandardComponentsValue.js.map +1 -1
- 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 +4 -5
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +9 -7
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +5 -6
- package/dist/models/UnInstallClusterAddonsRequest.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +9 -7
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesShrinkRequest.d.ts +9 -7
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +9 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +2 -2
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +3 -3
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +4 -5
- package/dist/models/UpdateContactGroupForAlertResponseBody.js.map +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +5 -5
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +3 -3
- package/dist/models/UpdateKmsencryptionRequest.d.ts +6 -6
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -9
- package/dist/models/UpdateNodePoolComponentRequest.js +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +2 -2
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +16 -4
- package/dist/models/UpdateResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +5 -5
- package/dist/models/UpdateTemplateRequest.d.ts +10 -7
- package/dist/models/UpdateTemplateRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +30 -23
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +7 -8
- package/dist/models/UpgradeClusterAddonsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +22 -16
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +10 -9
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/UpgradeClusterResponseBody.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +490 -448
- package/src/models/AttachInstancesRequest.ts +59 -38
- package/src/models/AttachInstancesResponseBody.ts +4 -4
- package/src/models/AttachInstancesToNodePoolRequest.ts +14 -12
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -6
- package/src/models/CheckServiceRoleRequest.ts +2 -2
- package/src/models/CheckServiceRoleResponseBody.ts +4 -9
- package/src/models/CleanClusterUserPermissionsRequest.ts +3 -4
- package/src/models/CleanUserPermissionsRequest.ts +4 -5
- package/src/models/CleanUserPermissionsShrinkRequest.ts +4 -5
- package/src/models/CreateAutoRepairPolicyRequest.ts +17 -17
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/CreateAutoscalingConfigRequest.ts +42 -55
- package/src/models/CreateClusterDiagnosisRequest.ts +20 -24
- package/src/models/CreateClusterDiagnosisResponseBody.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +2 -2
- package/src/models/CreateClusterNodePoolRequest.ts +287 -354
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/CreateClusterRequest.ts +270 -347
- package/src/models/CreateKubernetesTriggerRequest.ts +8 -7
- package/src/models/CreateKubernetesTriggerResponseBody.ts +8 -7
- package/src/models/CreateTemplateRequest.ts +10 -9
- package/src/models/CreateTriggerRequest.ts +8 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupRequest.ts +1 -1
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteAlertContactGroupShrinkRequest.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteClusterNodepoolRequest.ts +5 -1
- package/src/models/DeleteClusterNodepoolResponseBody.ts +1 -1
- package/src/models/DeleteClusterNodesRequest.ts +10 -13
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +18 -27
- package/src/models/DeleteClusterShrinkRequest.ts +9 -11
- package/src/models/DeletePolicyInstanceRequest.ts +1 -1
- package/src/models/DeletePolicyInstanceResponseBody.ts +1 -1
- package/src/models/DeployPolicyInstanceRequest.ts +5 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonRequest.ts +18 -7
- package/src/models/DescribeAddonResponseBody.ts +14 -13
- package/src/models/DescribeAddonsRequest.ts +13 -11
- package/src/models/DescribeAddonsResponseBody.ts +4 -4
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +19 -19
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +11 -11
- package/src/models/DescribeClusterAddonMetadataResponseBody.ts +1 -1
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -16
- package/src/models/DescribeClusterDetailResponseBody.ts +101 -128
- package/src/models/DescribeClusterEventsRequest.ts +3 -3
- package/src/models/DescribeClusterEventsResponseBody.ts +22 -41
- package/src/models/DescribeClusterLogsResponse.ts +5 -5
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +260 -333
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +239 -313
- package/src/models/DescribeClusterNodesRequest.ts +30 -9
- package/src/models/DescribeClusterNodesResponseBody.ts +51 -38
- package/src/models/DescribeClusterResourcesRequest.ts +3 -3
- package/src/models/DescribeClusterResourcesResponse.ts +37 -48
- package/src/models/DescribeClusterTasksRequest.ts +1 -1
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -7
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -10
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterVulsResponseBody.ts +13 -19
- package/src/models/DescribeClustersForRegionRequest.ts +19 -30
- package/src/models/DescribeClustersForRegionResponseBody.ts +40 -67
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +18 -26
- package/src/models/DescribeClustersV1responseBody.ts +52 -77
- package/src/models/DescribeEventsForRegionRequest.ts +2 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +7 -11
- package/src/models/DescribeEventsRequest.ts +22 -38
- package/src/models/DescribeEventsResponseBody.ts +31 -50
- package/src/models/DescribeExternalAgentRequest.ts +6 -4
- package/src/models/DescribeExternalAgentResponseBody.ts +1 -1
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +24 -25
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +31 -32
- package/src/models/DescribeNodePoolVulsRequest.ts +4 -4
- package/src/models/DescribeNodePoolVulsResponseBody.ts +13 -18
- package/src/models/DescribePolicyDetailsResponseBody.ts +17 -21
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +30 -34
- package/src/models/DescribePolicyInstancesRequest.ts +2 -2
- package/src/models/DescribePolicyInstancesResponse.ts +20 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +7 -7
- package/src/models/DescribeRegionsRequest.ts +3 -21
- package/src/models/DescribeRegionsResponseBody.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +6 -5
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +5 -6
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +6 -7
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +20 -26
- package/src/models/DescribeTemplateAttributeRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeResponse.ts +16 -14
- package/src/models/DescribeTemplatesRequest.ts +7 -6
- package/src/models/DescribeTemplatesResponseBody.ts +19 -20
- package/src/models/DescribeTriggerRequest.ts +8 -7
- package/src/models/DescribeTriggerResponse.ts +12 -13
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +9 -4
- package/src/models/FixNodePoolVulsResponseBody.ts +1 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +21 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +5 -4
- package/src/models/GetClusterCheckResponseBody.ts +7 -7
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +6 -12
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +14 -26
- package/src/models/GetClusterInspectConfigResponseBody.ts +2 -2
- package/src/models/GetClusterInspectReportDetailRequest.ts +15 -18
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +30 -34
- package/src/models/GetKubernetesTriggerRequest.ts +8 -7
- package/src/models/GetKubernetesTriggerResponse.ts +11 -10
- package/src/models/GetUpgradeStatusResponseBody.ts +18 -19
- package/src/models/GrantPermissionsRequest.ts +19 -26
- package/src/models/InstallClusterAddonsRequest.ts +4 -4
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/InstallNodePoolComponentsRequest.ts +15 -12
- package/src/models/InstallNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListAddonsRequest.ts +17 -6
- package/src/models/ListAddonsResponseBody.ts +24 -15
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +20 -20
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +7 -7
- package/src/models/ListClusterAddonInstancesResponseBody.ts +7 -8
- package/src/models/ListClusterChecksRequest.ts +9 -2
- package/src/models/ListClusterChecksResponseBody.ts +7 -7
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +11 -11
- package/src/models/ListClusterKubeconfigStatesRequest.ts +9 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +32 -28
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +14 -14
- package/src/models/ListOperationPlansRequest.ts +1 -1
- package/src/models/ListOperationPlansResponseBody.ts +13 -15
- package/src/models/ListTagResourcesRequest.ts +6 -4
- package/src/models/ListTagResourcesResponseBody.ts +7 -7
- package/src/models/ListTagResourcesShrinkRequest.ts +6 -4
- package/src/models/ListUserKubeConfigStatesRequest.ts +8 -6
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +24 -25
- package/src/models/MigrateClusterRequest.ts +2 -2
- package/src/models/ModifyAutoRepairPolicyRequest.ts +15 -15
- package/src/models/ModifyClusterAddonRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +229 -298
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyClusterRequest.ts +106 -139
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -7
- package/src/models/ModifyPolicyInstanceRequest.ts +6 -6
- package/src/models/ModifyPolicyInstanceResponseBody.ts +1 -1
- package/src/models/Nodepool.ts +228 -272
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/QuotasValue.ts +1 -1
- package/src/models/RemoveNodePoolNodesRequest.ts +17 -13
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +17 -13
- package/src/models/RepairClusterNodePoolRequest.ts +14 -9
- package/src/models/RepairClusterNodePoolResponseBody.ts +1 -1
- package/src/models/RunClusterCheckRequest.ts +4 -9
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/StandardComponentsValue.ts +10 -9
- 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 +4 -5
- package/src/models/TagResourcesRequest.ts +9 -7
- package/src/models/UnInstallClusterAddonsRequest.ts +5 -6
- package/src/models/UntagResourcesRequest.ts +9 -7
- package/src/models/UntagResourcesShrinkRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +2 -2
- package/src/models/UpdateClusterInspectConfigRequest.ts +3 -3
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +4 -5
- package/src/models/UpdateControlPlaneLogRequest.ts +5 -5
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +3 -3
- package/src/models/UpdateKmsencryptionRequest.ts +6 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +13 -10
- package/src/models/UpdateNodePoolComponentResponseBody.ts +2 -2
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +16 -4
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +5 -5
- package/src/models/UpdateTemplateRequest.ts +10 -7
- package/src/models/UpdateUserPermissionsRequest.ts +30 -23
- package/src/models/UpgradeClusterAddonsRequest.ts +7 -8
- package/src/models/UpgradeClusterNodepoolRequest.ts +22 -16
- package/src/models/UpgradeClusterRequest.ts +10 -9
- package/src/models/UpgradeClusterResponseBody.ts +3 -3
package/dist/client.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
12
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. You can call the AttachInstances operation to add ECS instances to an ACK cluster as worker nodes after purchasing the instances, or to re-add node instances to a node pool after they are removed.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Before you invoke this operation, read [Limits](https://help.aliyun.com/document_detail/86919.html) to make sure that the ECS instances to be added meet the requirements.
|
|
16
16
|
*
|
|
17
17
|
* @param request - AttachInstancesRequest
|
|
18
18
|
* @param headers - map
|
|
@@ -23,17 +23,17 @@ export default class Client extends OpenApi {
|
|
|
23
23
|
[key: string]: string;
|
|
24
24
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.AttachInstancesResponse>;
|
|
25
25
|
/**
|
|
26
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
26
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. You can call the AttachInstances operation to add ECS instances to an ACK cluster as worker nodes after purchasing the instances, or to re-add node instances to a node pool after they are removed.
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
*
|
|
29
|
+
* Before you invoke this operation, read [Limits](https://help.aliyun.com/document_detail/86919.html) to make sure that the ECS instances to be added meet the requirements.
|
|
30
30
|
*
|
|
31
31
|
* @param request - AttachInstancesRequest
|
|
32
32
|
* @returns AttachInstancesResponse
|
|
33
33
|
*/
|
|
34
34
|
attachInstances(ClusterId: string, request: $_model.AttachInstancesRequest): Promise<$_model.AttachInstancesResponse>;
|
|
35
35
|
/**
|
|
36
|
-
* Adds existing
|
|
36
|
+
* Adds existing ECS instances to a node pool in an ACK cluster. You can call this operation to add existing ECS instances as worker nodes to an ACK cluster or to re-add node instances to a node pool after they have been removed.
|
|
37
37
|
*
|
|
38
38
|
* @param request - AttachInstancesToNodePoolRequest
|
|
39
39
|
* @param headers - map
|
|
@@ -44,14 +44,14 @@ export default class Client extends OpenApi {
|
|
|
44
44
|
[key: string]: string;
|
|
45
45
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.AttachInstancesToNodePoolResponse>;
|
|
46
46
|
/**
|
|
47
|
-
* Adds existing
|
|
47
|
+
* Adds existing ECS instances to a node pool in an ACK cluster. You can call this operation to add existing ECS instances as worker nodes to an ACK cluster or to re-add node instances to a node pool after they have been removed.
|
|
48
48
|
*
|
|
49
49
|
* @param request - AttachInstancesToNodePoolRequest
|
|
50
50
|
* @returns AttachInstancesToNodePoolResponse
|
|
51
51
|
*/
|
|
52
52
|
attachInstancesToNodePool(ClusterId: string, NodepoolId: string, request: $_model.AttachInstancesToNodePoolRequest): Promise<$_model.AttachInstancesToNodePoolResponse>;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Cancels the upgrade of an ACK cluster that is in the upgrading state.
|
|
55
55
|
*
|
|
56
56
|
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
57
57
|
*
|
|
@@ -63,14 +63,14 @@ export default class Client extends OpenApi {
|
|
|
63
63
|
[key: string]: string;
|
|
64
64
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CancelClusterUpgradeResponse>;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Cancels the upgrade of an ACK cluster that is in the upgrading state.
|
|
67
67
|
*
|
|
68
68
|
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
69
69
|
* @returns CancelClusterUpgradeResponse
|
|
70
70
|
*/
|
|
71
71
|
cancelClusterUpgrade(ClusterId: string): Promise<$_model.CancelClusterUpgradeResponse>;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Cancels the upgrade of a cluster component.
|
|
74
74
|
*
|
|
75
75
|
* @deprecated OpenAPI CancelComponentUpgrade is deprecated
|
|
76
76
|
*
|
|
@@ -82,14 +82,14 @@ export default class Client extends OpenApi {
|
|
|
82
82
|
[key: string]: string;
|
|
83
83
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CancelComponentUpgradeResponse>;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Cancels the upgrade of a cluster component.
|
|
86
86
|
*
|
|
87
87
|
* @deprecated OpenAPI CancelComponentUpgrade is deprecated
|
|
88
88
|
* @returns CancelComponentUpgradeResponse
|
|
89
89
|
*/
|
|
90
90
|
cancelComponentUpgrade(clusterId: string, componentId: string): Promise<$_model.CancelComponentUpgradeResponse>;
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* Cancels an existing but unexecuted automated O&M task execution plan by calling CancelOperationPlan.
|
|
93
93
|
*
|
|
94
94
|
* @param headers - map
|
|
95
95
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -99,7 +99,7 @@ export default class Client extends OpenApi {
|
|
|
99
99
|
[key: string]: string;
|
|
100
100
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CancelOperationPlanResponse>;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Cancels an existing but unexecuted automated O&M task execution plan by calling CancelOperationPlan.
|
|
103
103
|
* @returns CancelOperationPlanResponse
|
|
104
104
|
*/
|
|
105
105
|
cancelOperationPlan(planId: string): Promise<$_model.CancelOperationPlanResponse>;
|
|
@@ -119,7 +119,7 @@ export default class Client extends OpenApi {
|
|
|
119
119
|
*/
|
|
120
120
|
cancelTask(taskId: string): Promise<$_model.CancelTaskResponse>;
|
|
121
121
|
/**
|
|
122
|
-
* Queries the
|
|
122
|
+
* Queries the log configuration of control plane components for an ACK managed cluster. Control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call the CheckControlPlaneLogEnable operation to query the current log configuration of control plane components, including the log retention period and the components from which logs are collected.
|
|
123
123
|
*
|
|
124
124
|
* @param headers - map
|
|
125
125
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -129,12 +129,12 @@ export default class Client extends OpenApi {
|
|
|
129
129
|
[key: string]: string;
|
|
130
130
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CheckControlPlaneLogEnableResponse>;
|
|
131
131
|
/**
|
|
132
|
-
* Queries the
|
|
132
|
+
* Queries the log configuration of control plane components for an ACK managed cluster. Control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call the CheckControlPlaneLogEnable operation to query the current log configuration of control plane components, including the log retention period and the components from which logs are collected.
|
|
133
133
|
* @returns CheckControlPlaneLogEnableResponse
|
|
134
134
|
*/
|
|
135
135
|
checkControlPlaneLogEnable(ClusterId: string): Promise<$_model.CheckControlPlaneLogEnableResponse>;
|
|
136
136
|
/**
|
|
137
|
-
* Checks whether the
|
|
137
|
+
* Checks whether the current service account has been granted the specified service role permissions. Container Service for Kubernetes (ACK) can call other cloud services (such as ECS, OSS, NAS, and SLB) that are associated with service roles only after the corresponding role permissions are granted.
|
|
138
138
|
*
|
|
139
139
|
* @param request - CheckServiceRoleRequest
|
|
140
140
|
* @param headers - map
|
|
@@ -145,20 +145,19 @@ export default class Client extends OpenApi {
|
|
|
145
145
|
[key: string]: string;
|
|
146
146
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CheckServiceRoleResponse>;
|
|
147
147
|
/**
|
|
148
|
-
* Checks whether the
|
|
148
|
+
* Checks whether the current service account has been granted the specified service role permissions. Container Service for Kubernetes (ACK) can call other cloud services (such as ECS, OSS, NAS, and SLB) that are associated with service roles only after the corresponding role permissions are granted.
|
|
149
149
|
*
|
|
150
150
|
* @param request - CheckServiceRoleRequest
|
|
151
151
|
* @returns CheckServiceRoleResponse
|
|
152
152
|
*/
|
|
153
153
|
checkServiceRole(request: $_model.CheckServiceRoleRequest): Promise<$_model.CheckServiceRoleResponse>;
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
155
|
+
* Cleans up KubeConfig credentials and RBAC permissions that have been issued to a specified user in a specified cluster. You can call this operation to revoke authorization for KubeConfig credentials that pose security risks.
|
|
156
156
|
*
|
|
157
157
|
* @remarks
|
|
158
|
-
* >
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
158
|
+
* > 1. You must have the permission to manage Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
159
|
+
* > 2. Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
160
|
+
* > 3. Cleaning up the permissions of the user who performs this operation is not supported.
|
|
162
161
|
*
|
|
163
162
|
* @param request - CleanClusterUserPermissionsRequest
|
|
164
163
|
* @param headers - map
|
|
@@ -169,25 +168,24 @@ export default class Client extends OpenApi {
|
|
|
169
168
|
[key: string]: string;
|
|
170
169
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CleanClusterUserPermissionsResponse>;
|
|
171
170
|
/**
|
|
172
|
-
*
|
|
171
|
+
* Cleans up KubeConfig credentials and RBAC permissions that have been issued to a specified user in a specified cluster. You can call this operation to revoke authorization for KubeConfig credentials that pose security risks.
|
|
173
172
|
*
|
|
174
173
|
* @remarks
|
|
175
|
-
* >
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
174
|
+
* > 1. You must have the permission to manage Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
175
|
+
* > 2. Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
176
|
+
* > 3. Cleaning up the permissions of the user who performs this operation is not supported.
|
|
179
177
|
*
|
|
180
178
|
* @param request - CleanClusterUserPermissionsRequest
|
|
181
179
|
* @returns CleanClusterUserPermissionsResponse
|
|
182
180
|
*/
|
|
183
181
|
cleanClusterUserPermissions(ClusterId: string, Uid: string, request: $_model.CleanClusterUserPermissionsRequest): Promise<$_model.CleanClusterUserPermissionsResponse>;
|
|
184
182
|
/**
|
|
185
|
-
*
|
|
183
|
+
* Cleans up KubeConfig credentials and revokes RBAC permissions for a specified user. If you want to clean up KubeConfig credentials and revoke authorization for risky users such as those who have left the organization or whose accounts have been frozen, call CleanUserPermissions to clean up the issued KubeConfig credentials and RBAC permissions for the specified user.
|
|
186
184
|
*
|
|
187
185
|
* @remarks
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
186
|
+
* >- You must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
187
|
+
* >- Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
188
|
+
* >- Cleaning up the permissions of the user who performs this operation is not supported.
|
|
191
189
|
*
|
|
192
190
|
* @param tmpReq - CleanUserPermissionsRequest
|
|
193
191
|
* @param headers - map
|
|
@@ -198,23 +196,22 @@ export default class Client extends OpenApi {
|
|
|
198
196
|
[key: string]: string;
|
|
199
197
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CleanUserPermissionsResponse>;
|
|
200
198
|
/**
|
|
201
|
-
*
|
|
199
|
+
* Cleans up KubeConfig credentials and revokes RBAC permissions for a specified user. If you want to clean up KubeConfig credentials and revoke authorization for risky users such as those who have left the organization or whose accounts have been frozen, call CleanUserPermissions to clean up the issued KubeConfig credentials and RBAC permissions for the specified user.
|
|
202
200
|
*
|
|
203
201
|
* @remarks
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
202
|
+
* >- You must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
203
|
+
* >- Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
204
|
+
* >- Cleaning up the permissions of the user who performs this operation is not supported.
|
|
207
205
|
*
|
|
208
206
|
* @param request - CleanUserPermissionsRequest
|
|
209
207
|
* @returns CleanUserPermissionsResponse
|
|
210
208
|
*/
|
|
211
209
|
cleanUserPermissions(Uid: string, request: $_model.CleanUserPermissionsRequest): Promise<$_model.CleanUserPermissionsResponse>;
|
|
212
210
|
/**
|
|
213
|
-
*
|
|
211
|
+
* Creates a self-healing rule.
|
|
214
212
|
*
|
|
215
213
|
* @remarks
|
|
216
|
-
* >Notice:
|
|
217
|
-
* This API is not yet available.
|
|
214
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
218
215
|
*
|
|
219
216
|
* @param request - CreateAutoRepairPolicyRequest
|
|
220
217
|
* @param headers - map
|
|
@@ -225,18 +222,17 @@ export default class Client extends OpenApi {
|
|
|
225
222
|
[key: string]: string;
|
|
226
223
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAutoRepairPolicyResponse>;
|
|
227
224
|
/**
|
|
228
|
-
*
|
|
225
|
+
* Creates a self-healing rule.
|
|
229
226
|
*
|
|
230
227
|
* @remarks
|
|
231
|
-
* >Notice:
|
|
232
|
-
* This API is not yet available.
|
|
228
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
233
229
|
*
|
|
234
230
|
* @param request - CreateAutoRepairPolicyRequest
|
|
235
231
|
* @returns CreateAutoRepairPolicyResponse
|
|
236
232
|
*/
|
|
237
233
|
createAutoRepairPolicy(clusterId: string, request: $_model.CreateAutoRepairPolicyRequest): Promise<$_model.CreateAutoRepairPolicyResponse>;
|
|
238
234
|
/**
|
|
239
|
-
*
|
|
235
|
+
* Creates an elastic scaling configuration that allows the system to automatically increase or decrease compute resources based on the configured scaling rules to meet the workload demands of your cluster. During the creation procedure, you can specify scaling metrics and thresholds, scale-out order, cool-down period, and more.
|
|
240
236
|
*
|
|
241
237
|
* @param request - CreateAutoscalingConfigRequest
|
|
242
238
|
* @param headers - map
|
|
@@ -247,24 +243,23 @@ export default class Client extends OpenApi {
|
|
|
247
243
|
[key: string]: string;
|
|
248
244
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAutoscalingConfigResponse>;
|
|
249
245
|
/**
|
|
250
|
-
*
|
|
246
|
+
* Creates an elastic scaling configuration that allows the system to automatically increase or decrease compute resources based on the configured scaling rules to meet the workload demands of your cluster. During the creation procedure, you can specify scaling metrics and thresholds, scale-out order, cool-down period, and more.
|
|
251
247
|
*
|
|
252
248
|
* @param request - CreateAutoscalingConfigRequest
|
|
253
249
|
* @returns CreateAutoscalingConfigResponse
|
|
254
250
|
*/
|
|
255
251
|
createAutoscalingConfig(ClusterId: string, request: $_model.CreateAutoscalingConfigRequest): Promise<$_model.CreateAutoscalingConfigResponse>;
|
|
256
252
|
/**
|
|
257
|
-
*
|
|
253
|
+
* You can create ACK clusters through OpenAPI, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you will configure the cluster information, cluster components, and ACK-related cloud resources.
|
|
258
254
|
*
|
|
259
255
|
* @remarks
|
|
260
|
-
* ### Generate OpenAPI request parameters
|
|
261
|
-
*
|
|
262
|
-
* 1. Log
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* >Notice:
|
|
267
|
-
* Starting July 4, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameters, see [Announcement on Changes and Deprecation of OpenAPI Parameters for ACK Cluster Management](https://help.aliyun.com/document_detail/2932733.html).
|
|
256
|
+
* ### Generate OpenAPI request parameters through the console
|
|
257
|
+
* When calling the CreateCluster API to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations through the console. Follow these steps:
|
|
258
|
+
* 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
|
|
259
|
+
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
260
|
+
* 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
261
|
+
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box will display the parameter combinations required for creating the cluster, which you can copy and use.
|
|
262
|
+
* >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For change details and alternative parameter descriptions, see [Announcement on OpenAPI parameter changes and API deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
268
263
|
*
|
|
269
264
|
* @param request - CreateClusterRequest
|
|
270
265
|
* @param headers - map
|
|
@@ -275,24 +270,23 @@ export default class Client extends OpenApi {
|
|
|
275
270
|
[key: string]: string;
|
|
276
271
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterResponse>;
|
|
277
272
|
/**
|
|
278
|
-
*
|
|
273
|
+
* You can create ACK clusters through OpenAPI, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you will configure the cluster information, cluster components, and ACK-related cloud resources.
|
|
279
274
|
*
|
|
280
275
|
* @remarks
|
|
281
|
-
* ### Generate OpenAPI request parameters
|
|
282
|
-
*
|
|
283
|
-
* 1. Log
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
* >Notice:
|
|
288
|
-
* Starting July 4, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameters, see [Announcement on Changes and Deprecation of OpenAPI Parameters for ACK Cluster Management](https://help.aliyun.com/document_detail/2932733.html).
|
|
276
|
+
* ### Generate OpenAPI request parameters through the console
|
|
277
|
+
* When calling the CreateCluster API to create a cluster, if the API call fails due to incorrect request parameter combinations, you can generate the required request parameter combinations through the console. Follow these steps:
|
|
278
|
+
* 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
|
|
279
|
+
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
280
|
+
* 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
281
|
+
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box will display the parameter combinations required for creating the cluster, which you can copy and use.
|
|
282
|
+
* >Notice: Starting from July 4, 2026, some request parameters will no longer take effect. For change details and alternative parameter descriptions, see [Announcement on OpenAPI parameter changes and API deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
289
283
|
*
|
|
290
284
|
* @param request - CreateClusterRequest
|
|
291
285
|
* @returns CreateClusterResponse
|
|
292
286
|
*/
|
|
293
287
|
createCluster(request: $_model.CreateClusterRequest): Promise<$_model.CreateClusterResponse>;
|
|
294
288
|
/**
|
|
295
|
-
*
|
|
289
|
+
* Initiates a cluster diagnosis.
|
|
296
290
|
*
|
|
297
291
|
* @param request - CreateClusterDiagnosisRequest
|
|
298
292
|
* @param headers - map
|
|
@@ -303,14 +297,14 @@ export default class Client extends OpenApi {
|
|
|
303
297
|
[key: string]: string;
|
|
304
298
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterDiagnosisResponse>;
|
|
305
299
|
/**
|
|
306
|
-
*
|
|
300
|
+
* Initiates a cluster diagnosis.
|
|
307
301
|
*
|
|
308
302
|
* @param request - CreateClusterDiagnosisRequest
|
|
309
303
|
* @returns CreateClusterDiagnosisResponse
|
|
310
304
|
*/
|
|
311
305
|
createClusterDiagnosis(clusterId: string, request: $_model.CreateClusterDiagnosisRequest): Promise<$_model.CreateClusterDiagnosisResponse>;
|
|
312
306
|
/**
|
|
313
|
-
*
|
|
307
|
+
* Creates a cluster inspection configuration.
|
|
314
308
|
*
|
|
315
309
|
* @param request - CreateClusterInspectConfigRequest
|
|
316
310
|
* @param headers - map
|
|
@@ -321,14 +315,14 @@ export default class Client extends OpenApi {
|
|
|
321
315
|
[key: string]: string;
|
|
322
316
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterInspectConfigResponse>;
|
|
323
317
|
/**
|
|
324
|
-
*
|
|
318
|
+
* Creates a cluster inspection configuration.
|
|
325
319
|
*
|
|
326
320
|
* @param request - CreateClusterInspectConfigRequest
|
|
327
321
|
* @returns CreateClusterInspectConfigResponse
|
|
328
322
|
*/
|
|
329
323
|
createClusterInspectConfig(clusterId: string, request: $_model.CreateClusterInspectConfigRequest): Promise<$_model.CreateClusterInspectConfigResponse>;
|
|
330
324
|
/**
|
|
331
|
-
* A node pool is a logical
|
|
325
|
+
* A node pool is a logical collection of nodes with the same attributes, allowing unified management and O&M of nodes, such as node upgrades and auto scaling. You can further leverage the automated O&M capabilities of node pools to use features such as automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, reducing O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
|
|
332
326
|
*
|
|
333
327
|
* @param request - CreateClusterNodePoolRequest
|
|
334
328
|
* @param headers - map
|
|
@@ -339,14 +333,14 @@ export default class Client extends OpenApi {
|
|
|
339
333
|
[key: string]: string;
|
|
340
334
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterNodePoolResponse>;
|
|
341
335
|
/**
|
|
342
|
-
* A node pool is a logical
|
|
336
|
+
* A node pool is a logical collection of nodes with the same attributes, allowing unified management and O&M of nodes, such as node upgrades and auto scaling. You can further leverage the automated O&M capabilities of node pools to use features such as automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, reducing O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
|
|
343
337
|
*
|
|
344
338
|
* @param request - CreateClusterNodePoolRequest
|
|
345
339
|
* @returns CreateClusterNodePoolResponse
|
|
346
340
|
*/
|
|
347
341
|
createClusterNodePool(ClusterId: string, request: $_model.CreateClusterNodePoolRequest): Promise<$_model.CreateClusterNodePoolResponse>;
|
|
348
342
|
/**
|
|
349
|
-
*
|
|
343
|
+
* Creates a trigger for an application.
|
|
350
344
|
*
|
|
351
345
|
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
352
346
|
*
|
|
@@ -359,7 +353,7 @@ export default class Client extends OpenApi {
|
|
|
359
353
|
[key: string]: string;
|
|
360
354
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateKubernetesTriggerResponse>;
|
|
361
355
|
/**
|
|
362
|
-
*
|
|
356
|
+
* Creates a trigger for an application.
|
|
363
357
|
*
|
|
364
358
|
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
365
359
|
*
|
|
@@ -368,7 +362,7 @@ export default class Client extends OpenApi {
|
|
|
368
362
|
*/
|
|
369
363
|
createKubernetesTrigger(request: $_model.CreateKubernetesTriggerRequest): Promise<$_model.CreateKubernetesTriggerResponse>;
|
|
370
364
|
/**
|
|
371
|
-
*
|
|
365
|
+
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. You can use these templates to automate the deployment and cluster management of resources, such as Pods, Services, Deployments, ConfigMaps, and PersistentVolumes. You can invoke the CreateTemplate operation to create an orchestration template.
|
|
372
366
|
*
|
|
373
367
|
* @param request - CreateTemplateRequest
|
|
374
368
|
* @param headers - map
|
|
@@ -379,17 +373,17 @@ export default class Client extends OpenApi {
|
|
|
379
373
|
[key: string]: string;
|
|
380
374
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateTemplateResponse>;
|
|
381
375
|
/**
|
|
382
|
-
*
|
|
376
|
+
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. You can use these templates to automate the deployment and cluster management of resources, such as Pods, Services, Deployments, ConfigMaps, and PersistentVolumes. You can invoke the CreateTemplate operation to create an orchestration template.
|
|
383
377
|
*
|
|
384
378
|
* @param request - CreateTemplateRequest
|
|
385
379
|
* @returns CreateTemplateResponse
|
|
386
380
|
*/
|
|
387
381
|
createTemplate(request: $_model.CreateTemplateRequest): Promise<$_model.CreateTemplateResponse>;
|
|
388
382
|
/**
|
|
389
|
-
*
|
|
383
|
+
* Configures a trigger for a cluster application. The trigger redeploys pods when specified conditions are met.
|
|
390
384
|
*
|
|
391
385
|
* @remarks
|
|
392
|
-
* >
|
|
386
|
+
* > Creating a trigger only supports pod redeployment.
|
|
393
387
|
*
|
|
394
388
|
* @param request - CreateTriggerRequest
|
|
395
389
|
* @param headers - map
|
|
@@ -400,17 +394,17 @@ export default class Client extends OpenApi {
|
|
|
400
394
|
[key: string]: string;
|
|
401
395
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateTriggerResponse>;
|
|
402
396
|
/**
|
|
403
|
-
*
|
|
397
|
+
* Configures a trigger for a cluster application. The trigger redeploys pods when specified conditions are met.
|
|
404
398
|
*
|
|
405
399
|
* @remarks
|
|
406
|
-
* >
|
|
400
|
+
* > Creating a trigger only supports pod redeployment.
|
|
407
401
|
*
|
|
408
402
|
* @param request - CreateTriggerRequest
|
|
409
403
|
* @returns CreateTriggerResponse
|
|
410
404
|
*/
|
|
411
405
|
createTrigger(clusterId: string, request: $_model.CreateTriggerRequest): Promise<$_model.CreateTriggerResponse>;
|
|
412
406
|
/**
|
|
413
|
-
* Deletes
|
|
407
|
+
* Deletes alert contacts from ACK.
|
|
414
408
|
*
|
|
415
409
|
* @param tmpReq - DeleteAlertContactRequest
|
|
416
410
|
* @param headers - map
|
|
@@ -421,14 +415,14 @@ export default class Client extends OpenApi {
|
|
|
421
415
|
[key: string]: string;
|
|
422
416
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAlertContactResponse>;
|
|
423
417
|
/**
|
|
424
|
-
* Deletes
|
|
418
|
+
* Deletes alert contacts from ACK.
|
|
425
419
|
*
|
|
426
420
|
* @param request - DeleteAlertContactRequest
|
|
427
421
|
* @returns DeleteAlertContactResponse
|
|
428
422
|
*/
|
|
429
423
|
deleteAlertContact(request: $_model.DeleteAlertContactRequest): Promise<$_model.DeleteAlertContactResponse>;
|
|
430
424
|
/**
|
|
431
|
-
*
|
|
425
|
+
* Delete ACK alert contact group
|
|
432
426
|
*
|
|
433
427
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
434
428
|
* @param headers - map
|
|
@@ -439,18 +433,17 @@ export default class Client extends OpenApi {
|
|
|
439
433
|
[key: string]: string;
|
|
440
434
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAlertContactGroupResponse>;
|
|
441
435
|
/**
|
|
442
|
-
*
|
|
436
|
+
* Delete ACK alert contact group
|
|
443
437
|
*
|
|
444
438
|
* @param request - DeleteAlertContactGroupRequest
|
|
445
439
|
* @returns DeleteAlertContactGroupResponse
|
|
446
440
|
*/
|
|
447
441
|
deleteAlertContactGroup(request: $_model.DeleteAlertContactGroupRequest): Promise<$_model.DeleteAlertContactGroupResponse>;
|
|
448
442
|
/**
|
|
449
|
-
* Deletes an
|
|
443
|
+
* Deletes an automatic fault recovery rule.
|
|
450
444
|
*
|
|
451
445
|
* @remarks
|
|
452
|
-
* >Notice:
|
|
453
|
-
* This API is not yet publicly available.
|
|
446
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
454
447
|
*
|
|
455
448
|
* @param headers - map
|
|
456
449
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -460,24 +453,23 @@ export default class Client extends OpenApi {
|
|
|
460
453
|
[key: string]: string;
|
|
461
454
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAutoRepairPolicyResponse>;
|
|
462
455
|
/**
|
|
463
|
-
* Deletes an
|
|
456
|
+
* Deletes an automatic fault recovery rule.
|
|
464
457
|
*
|
|
465
458
|
* @remarks
|
|
466
|
-
* >Notice:
|
|
467
|
-
* This API is not yet publicly available.
|
|
459
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
468
460
|
* @returns DeleteAutoRepairPolicyResponse
|
|
469
461
|
*/
|
|
470
462
|
deleteAutoRepairPolicy(clusterId: string, policyId: string): Promise<$_model.DeleteAutoRepairPolicyResponse>;
|
|
471
463
|
/**
|
|
472
|
-
*
|
|
464
|
+
* If you no longer need a cluster, delete the cluster and choose whether to delete or retain the associated resources. Before you delete a cluster, manually clean up workloads (Deployments, StatefulSets, Jobs, and CronJobs). Otherwise, the cluster deletion may fail.
|
|
473
465
|
*
|
|
474
466
|
* @remarks
|
|
475
|
-
*
|
|
476
|
-
* - Subscription
|
|
477
|
-
* - Subscription
|
|
478
|
-
* -
|
|
479
|
-
* - ECIs created
|
|
480
|
-
* - Some cloud resources created
|
|
467
|
+
* Risk notice:
|
|
468
|
+
* - Subscription ECS instances, Lingjun compute nodes, and other subscription resources in the cluster cannot be subject to automatic release. To avoid unnecessary billing, perform manual release of these resources. For more information, refer to Cluster deletion and node release rules.
|
|
469
|
+
* - Subscription APIServer SLB resources cannot be subject to automatic release. To avoid unnecessary billing, perform manual release of these resources.
|
|
470
|
+
* - VPCs, vSwitches, security groups, and RAM roles that are used by other resources cannot be deleted and are retained by default. Perform manual release of these resources.
|
|
471
|
+
* - Elastic Container Instances (ECIs) created through virtual nodes are subject to automatic release.
|
|
472
|
+
* - Some cloud resources created through the cluster are not subject to automatic release when the cluster is deleted. These resources continue to incur billing after the cluster is deleted. Release or retain them as needed. These resources include: Simple Log Service (SLS) projects automatically created by the cluster, and cloud disks purchased through dynamic storage volumes.
|
|
481
473
|
*
|
|
482
474
|
* @param tmpReq - DeleteClusterRequest
|
|
483
475
|
* @param headers - map
|
|
@@ -488,22 +480,22 @@ export default class Client extends OpenApi {
|
|
|
488
480
|
[key: string]: string;
|
|
489
481
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterResponse>;
|
|
490
482
|
/**
|
|
491
|
-
*
|
|
483
|
+
* If you no longer need a cluster, delete the cluster and choose whether to delete or retain the associated resources. Before you delete a cluster, manually clean up workloads (Deployments, StatefulSets, Jobs, and CronJobs). Otherwise, the cluster deletion may fail.
|
|
492
484
|
*
|
|
493
485
|
* @remarks
|
|
494
|
-
*
|
|
495
|
-
* - Subscription
|
|
496
|
-
* - Subscription
|
|
497
|
-
* -
|
|
498
|
-
* - ECIs created
|
|
499
|
-
* - Some cloud resources created
|
|
486
|
+
* Risk notice:
|
|
487
|
+
* - Subscription ECS instances, Lingjun compute nodes, and other subscription resources in the cluster cannot be subject to automatic release. To avoid unnecessary billing, perform manual release of these resources. For more information, refer to Cluster deletion and node release rules.
|
|
488
|
+
* - Subscription APIServer SLB resources cannot be subject to automatic release. To avoid unnecessary billing, perform manual release of these resources.
|
|
489
|
+
* - VPCs, vSwitches, security groups, and RAM roles that are used by other resources cannot be deleted and are retained by default. Perform manual release of these resources.
|
|
490
|
+
* - Elastic Container Instances (ECIs) created through virtual nodes are subject to automatic release.
|
|
491
|
+
* - Some cloud resources created through the cluster are not subject to automatic release when the cluster is deleted. These resources continue to incur billing after the cluster is deleted. Release or retain them as needed. These resources include: Simple Log Service (SLS) projects automatically created by the cluster, and cloud disks purchased through dynamic storage volumes.
|
|
500
492
|
*
|
|
501
493
|
* @param request - DeleteClusterRequest
|
|
502
494
|
* @returns DeleteClusterResponse
|
|
503
495
|
*/
|
|
504
496
|
deleteCluster(ClusterId: string, request: $_model.DeleteClusterRequest): Promise<$_model.DeleteClusterResponse>;
|
|
505
497
|
/**
|
|
506
|
-
* Deletes cluster inspection
|
|
498
|
+
* Deletes a cluster inspection configuration.
|
|
507
499
|
*
|
|
508
500
|
* @param headers - map
|
|
509
501
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -513,12 +505,12 @@ export default class Client extends OpenApi {
|
|
|
513
505
|
[key: string]: string;
|
|
514
506
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterInspectConfigResponse>;
|
|
515
507
|
/**
|
|
516
|
-
* Deletes cluster inspection
|
|
508
|
+
* Deletes a cluster inspection configuration.
|
|
517
509
|
* @returns DeleteClusterInspectConfigResponse
|
|
518
510
|
*/
|
|
519
511
|
deleteClusterInspectConfig(clusterId: string): Promise<$_model.DeleteClusterInspectConfigResponse>;
|
|
520
512
|
/**
|
|
521
|
-
* Deletes
|
|
513
|
+
* Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on the nodes are deleted, which may trigger descheduling. If descheduling cannot be performed, your services may be affected. Make sure that the cluster has sufficient resources for descheduling.
|
|
522
514
|
*
|
|
523
515
|
* @param request - DeleteClusterNodepoolRequest
|
|
524
516
|
* @param headers - map
|
|
@@ -529,22 +521,22 @@ export default class Client extends OpenApi {
|
|
|
529
521
|
[key: string]: string;
|
|
530
522
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterNodepoolResponse>;
|
|
531
523
|
/**
|
|
532
|
-
* Deletes
|
|
524
|
+
* Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on the nodes are deleted, which may trigger descheduling. If descheduling cannot be performed, your services may be affected. Make sure that the cluster has sufficient resources for descheduling.
|
|
533
525
|
*
|
|
534
526
|
* @param request - DeleteClusterNodepoolRequest
|
|
535
527
|
* @returns DeleteClusterNodepoolResponse
|
|
536
528
|
*/
|
|
537
529
|
deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: $_model.DeleteClusterNodepoolRequest): Promise<$_model.DeleteClusterNodepoolResponse>;
|
|
538
530
|
/**
|
|
539
|
-
*
|
|
531
|
+
* When you no longer need cluster nodes to continue working, you can call the DeleteClusterNodes operation to remove nodes from the cluster. When removing nodes, you can choose whether to simultaneously release the ECS instances and whether to automatically drain the nodes.
|
|
540
532
|
*
|
|
541
533
|
* @remarks
|
|
542
|
-
*
|
|
543
|
-
*
|
|
544
|
-
*
|
|
545
|
-
*
|
|
546
|
-
*
|
|
547
|
-
*
|
|
534
|
+
* - When removing nodes, use this API or the [Container Service console](https://cs.console.aliyun.com) to perform standardized operations. Do not manually remove nodes by using the `kubectl delete node` command.
|
|
535
|
+
* - Do not directly release nodes, remove instances in the ECS or ESS console (or through related APIs), or allow nodes to be passively released due to the expiration of subscription instances. In these cases, the nodes will be directly shut down and automatically removed from the Container Service management console.
|
|
536
|
+
* - If the node pool has a desired number of nodes configured, the node pool will automatically scale out other instances according to the corresponding configuration to always maintain the node count at the desired number.
|
|
537
|
+
* - Removing nodes involves Pod migration, which may affect your business. Perform this operation during off-peak hours. Unexpected risks may exist during the operation, so back up relevant data in advance.
|
|
538
|
+
* - When removing nodes, ACK performs a drain operation. Ensure that the resources on other nodes in the cluster are sufficient to prevent business Pods from being unable to be scheduled.
|
|
539
|
+
* - Check the node affinity rules and scheduling policies of the Pods on the nodes to be removed to ensure that Pods can still be scheduled to other nodes after node removal.
|
|
548
540
|
*
|
|
549
541
|
* @param request - DeleteClusterNodesRequest
|
|
550
542
|
* @param headers - map
|
|
@@ -555,22 +547,22 @@ export default class Client extends OpenApi {
|
|
|
555
547
|
[key: string]: string;
|
|
556
548
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterNodesResponse>;
|
|
557
549
|
/**
|
|
558
|
-
*
|
|
550
|
+
* When you no longer need cluster nodes to continue working, you can call the DeleteClusterNodes operation to remove nodes from the cluster. When removing nodes, you can choose whether to simultaneously release the ECS instances and whether to automatically drain the nodes.
|
|
559
551
|
*
|
|
560
552
|
* @remarks
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
*
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
*
|
|
553
|
+
* - When removing nodes, use this API or the [Container Service console](https://cs.console.aliyun.com) to perform standardized operations. Do not manually remove nodes by using the `kubectl delete node` command.
|
|
554
|
+
* - Do not directly release nodes, remove instances in the ECS or ESS console (or through related APIs), or allow nodes to be passively released due to the expiration of subscription instances. In these cases, the nodes will be directly shut down and automatically removed from the Container Service management console.
|
|
555
|
+
* - If the node pool has a desired number of nodes configured, the node pool will automatically scale out other instances according to the corresponding configuration to always maintain the node count at the desired number.
|
|
556
|
+
* - Removing nodes involves Pod migration, which may affect your business. Perform this operation during off-peak hours. Unexpected risks may exist during the operation, so back up relevant data in advance.
|
|
557
|
+
* - When removing nodes, ACK performs a drain operation. Ensure that the resources on other nodes in the cluster are sufficient to prevent business Pods from being unable to be scheduled.
|
|
558
|
+
* - Check the node affinity rules and scheduling policies of the Pods on the nodes to be removed to ensure that Pods can still be scheduled to other nodes after node removal.
|
|
567
559
|
*
|
|
568
560
|
* @param request - DeleteClusterNodesRequest
|
|
569
561
|
* @returns DeleteClusterNodesResponse
|
|
570
562
|
*/
|
|
571
563
|
deleteClusterNodes(ClusterId: string, request: $_model.DeleteClusterNodesRequest): Promise<$_model.DeleteClusterNodesResponse>;
|
|
572
564
|
/**
|
|
573
|
-
*
|
|
565
|
+
* Deletes an application trigger by trigger ID.
|
|
574
566
|
*
|
|
575
567
|
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
576
568
|
*
|
|
@@ -582,14 +574,14 @@ export default class Client extends OpenApi {
|
|
|
582
574
|
[key: string]: string;
|
|
583
575
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteKubernetesTriggerResponse>;
|
|
584
576
|
/**
|
|
585
|
-
*
|
|
577
|
+
* Deletes an application trigger by trigger ID.
|
|
586
578
|
*
|
|
587
579
|
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
588
580
|
* @returns DeleteKubernetesTriggerResponse
|
|
589
581
|
*/
|
|
590
582
|
deleteKubernetesTrigger(Id: string): Promise<$_model.DeleteKubernetesTriggerResponse>;
|
|
591
583
|
/**
|
|
592
|
-
* Deletes policy
|
|
584
|
+
* Deletes a policy rule instance from a specified cluster.
|
|
593
585
|
*
|
|
594
586
|
* @param request - DeletePolicyInstanceRequest
|
|
595
587
|
* @param headers - map
|
|
@@ -600,14 +592,14 @@ export default class Client extends OpenApi {
|
|
|
600
592
|
[key: string]: string;
|
|
601
593
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePolicyInstanceResponse>;
|
|
602
594
|
/**
|
|
603
|
-
* Deletes policy
|
|
595
|
+
* Deletes a policy rule instance from a specified cluster.
|
|
604
596
|
*
|
|
605
597
|
* @param request - DeletePolicyInstanceRequest
|
|
606
598
|
* @returns DeletePolicyInstanceResponse
|
|
607
599
|
*/
|
|
608
600
|
deletePolicyInstance(clusterId: string, policyName: string, request: $_model.DeletePolicyInstanceRequest): Promise<$_model.DeletePolicyInstanceResponse>;
|
|
609
601
|
/**
|
|
610
|
-
* Deletes
|
|
602
|
+
* Deletes an orchestration template when you no longer need it.
|
|
611
603
|
*
|
|
612
604
|
* @param headers - map
|
|
613
605
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -617,12 +609,12 @@ export default class Client extends OpenApi {
|
|
|
617
609
|
[key: string]: string;
|
|
618
610
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteTemplateResponse>;
|
|
619
611
|
/**
|
|
620
|
-
* Deletes
|
|
612
|
+
* Deletes an orchestration template when you no longer need it.
|
|
621
613
|
* @returns DeleteTemplateResponse
|
|
622
614
|
*/
|
|
623
615
|
deleteTemplate(TemplateId: string): Promise<$_model.DeleteTemplateResponse>;
|
|
624
616
|
/**
|
|
625
|
-
* Deletes an application trigger.
|
|
617
|
+
* Deletes an application trigger when it is no longer needed.
|
|
626
618
|
*
|
|
627
619
|
* @param headers - map
|
|
628
620
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -632,12 +624,12 @@ export default class Client extends OpenApi {
|
|
|
632
624
|
[key: string]: string;
|
|
633
625
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteTriggerResponse>;
|
|
634
626
|
/**
|
|
635
|
-
* Deletes an application trigger.
|
|
627
|
+
* Deletes an application trigger when it is no longer needed.
|
|
636
628
|
* @returns DeleteTriggerResponse
|
|
637
629
|
*/
|
|
638
630
|
deleteTrigger(clusterId: string, Id: string): Promise<$_model.DeleteTriggerResponse>;
|
|
639
631
|
/**
|
|
640
|
-
*
|
|
632
|
+
* Deploys a policy instance in a specified namespace of a specified cluster. You can select a security policy type in an ACK cluster, configure the governance action (alerting or blocking) and the namespace scope for the policy instance to create and deploy a policy instance.
|
|
641
633
|
*
|
|
642
634
|
* @param request - DeployPolicyInstanceRequest
|
|
643
635
|
* @param headers - map
|
|
@@ -648,14 +640,14 @@ export default class Client extends OpenApi {
|
|
|
648
640
|
[key: string]: string;
|
|
649
641
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeployPolicyInstanceResponse>;
|
|
650
642
|
/**
|
|
651
|
-
*
|
|
643
|
+
* Deploys a policy instance in a specified namespace of a specified cluster. You can select a security policy type in an ACK cluster, configure the governance action (alerting or blocking) and the namespace scope for the policy instance to create and deploy a policy instance.
|
|
652
644
|
*
|
|
653
645
|
* @param request - DeployPolicyInstanceRequest
|
|
654
646
|
* @returns DeployPolicyInstanceResponse
|
|
655
647
|
*/
|
|
656
648
|
deployPolicyInstance(clusterId: string, policyName: string, request: $_model.DeployPolicyInstanceRequest): Promise<$_model.DeployPolicyInstanceResponse>;
|
|
657
649
|
/**
|
|
658
|
-
*
|
|
650
|
+
* You can call the DescribeAddon operation to query information about a specified component based on parameters such as region, cluster type, cluster subtype (profile), cluster version, and component name. The returned information includes whether the component is managed, component category, supported custom parameter schema, compatible OS architectures, and the minimum cluster version required by the component version.
|
|
659
651
|
*
|
|
660
652
|
* @param request - DescribeAddonRequest
|
|
661
653
|
* @param headers - map
|
|
@@ -666,14 +658,14 @@ export default class Client extends OpenApi {
|
|
|
666
658
|
[key: string]: string;
|
|
667
659
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAddonResponse>;
|
|
668
660
|
/**
|
|
669
|
-
*
|
|
661
|
+
* You can call the DescribeAddon operation to query information about a specified component based on parameters such as region, cluster type, cluster subtype (profile), cluster version, and component name. The returned information includes whether the component is managed, component category, supported custom parameter schema, compatible OS architectures, and the minimum cluster version required by the component version.
|
|
670
662
|
*
|
|
671
663
|
* @param request - DescribeAddonRequest
|
|
672
664
|
* @returns DescribeAddonResponse
|
|
673
665
|
*/
|
|
674
666
|
describeAddon(addonName: string, request: $_model.DescribeAddonRequest): Promise<$_model.DescribeAddonResponse>;
|
|
675
667
|
/**
|
|
676
|
-
*
|
|
668
|
+
* Queries the details of all components supported by the platform.
|
|
677
669
|
*
|
|
678
670
|
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
679
671
|
*
|
|
@@ -686,7 +678,7 @@ export default class Client extends OpenApi {
|
|
|
686
678
|
[key: string]: string;
|
|
687
679
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAddonsResponse>;
|
|
688
680
|
/**
|
|
689
|
-
*
|
|
681
|
+
* Queries the details of all components supported by the platform.
|
|
690
682
|
*
|
|
691
683
|
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
692
684
|
*
|
|
@@ -695,11 +687,10 @@ export default class Client extends OpenApi {
|
|
|
695
687
|
*/
|
|
696
688
|
describeAddons(request: $_model.DescribeAddonsRequest): Promise<$_model.DescribeAddonsResponse>;
|
|
697
689
|
/**
|
|
698
|
-
*
|
|
690
|
+
* Queries an auto-repair rule.
|
|
699
691
|
*
|
|
700
692
|
* @remarks
|
|
701
|
-
* >Notice:
|
|
702
|
-
* This API is not yet available.
|
|
693
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
703
694
|
*
|
|
704
695
|
* @param headers - map
|
|
705
696
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -709,16 +700,15 @@ export default class Client extends OpenApi {
|
|
|
709
700
|
[key: string]: string;
|
|
710
701
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAutoRepairPolicyResponse>;
|
|
711
702
|
/**
|
|
712
|
-
*
|
|
703
|
+
* Queries an auto-repair rule.
|
|
713
704
|
*
|
|
714
705
|
* @remarks
|
|
715
|
-
* >Notice:
|
|
716
|
-
* This API is not yet available.
|
|
706
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
717
707
|
* @returns DescribeAutoRepairPolicyResponse
|
|
718
708
|
*/
|
|
719
709
|
describeAutoRepairPolicy(clusterId: string, policyId: string): Promise<$_model.DescribeAutoRepairPolicyResponse>;
|
|
720
710
|
/**
|
|
721
|
-
*
|
|
711
|
+
* Calls DescribeClusterAddonInstance to query information about an installed cluster component, such as its version, status, and configuration.
|
|
722
712
|
*
|
|
723
713
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
724
714
|
*
|
|
@@ -730,14 +720,14 @@ export default class Client extends OpenApi {
|
|
|
730
720
|
[key: string]: string;
|
|
731
721
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAddonInstanceResponse>;
|
|
732
722
|
/**
|
|
733
|
-
*
|
|
723
|
+
* Calls DescribeClusterAddonInstance to query information about an installed cluster component, such as its version, status, and configuration.
|
|
734
724
|
*
|
|
735
725
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
736
726
|
* @returns DescribeClusterAddonInstanceResponse
|
|
737
727
|
*/
|
|
738
728
|
describeClusterAddonInstance(ClusterID: string, AddonName: string): Promise<$_model.DescribeClusterAddonInstanceResponse>;
|
|
739
729
|
/**
|
|
740
|
-
*
|
|
730
|
+
* Queries the version information of a specified component that can be used in a specific cluster, including the component version and configurable parameters.
|
|
741
731
|
*
|
|
742
732
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
743
733
|
*
|
|
@@ -750,7 +740,7 @@ export default class Client extends OpenApi {
|
|
|
750
740
|
[key: string]: string;
|
|
751
741
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAddonMetadataResponse>;
|
|
752
742
|
/**
|
|
753
|
-
*
|
|
743
|
+
* Queries the version information of a specified component that can be used in a specific cluster, including the component version and configurable parameters.
|
|
754
744
|
*
|
|
755
745
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
756
746
|
*
|
|
@@ -759,7 +749,7 @@ export default class Client extends OpenApi {
|
|
|
759
749
|
*/
|
|
760
750
|
describeClusterAddonMetadata(clusterId: string, componentId: string, request: $_model.DescribeClusterAddonMetadataRequest): Promise<$_model.DescribeClusterAddonMetadataResponse>;
|
|
761
751
|
/**
|
|
762
|
-
*
|
|
752
|
+
* Queries the upgrade status of a cluster component by calling DescribeClusterAddonUpgradeStatus.
|
|
763
753
|
*
|
|
764
754
|
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
765
755
|
*
|
|
@@ -771,14 +761,14 @@ export default class Client extends OpenApi {
|
|
|
771
761
|
[key: string]: string;
|
|
772
762
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAddonUpgradeStatusResponse>;
|
|
773
763
|
/**
|
|
774
|
-
*
|
|
764
|
+
* Queries the upgrade status of a cluster component by calling DescribeClusterAddonUpgradeStatus.
|
|
775
765
|
*
|
|
776
766
|
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
777
767
|
* @returns DescribeClusterAddonUpgradeStatusResponse
|
|
778
768
|
*/
|
|
779
769
|
describeClusterAddonUpgradeStatus(ClusterId: string, ComponentId: string): Promise<$_model.DescribeClusterAddonUpgradeStatusResponse>;
|
|
780
770
|
/**
|
|
781
|
-
*
|
|
771
|
+
* Queries the upgrade status of a component by component name.
|
|
782
772
|
*
|
|
783
773
|
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
784
774
|
*
|
|
@@ -791,7 +781,7 @@ export default class Client extends OpenApi {
|
|
|
791
781
|
[key: string]: string;
|
|
792
782
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAddonsUpgradeStatusResponse>;
|
|
793
783
|
/**
|
|
794
|
-
*
|
|
784
|
+
* Queries the upgrade status of a component by component name.
|
|
795
785
|
*
|
|
796
786
|
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
797
787
|
*
|
|
@@ -800,7 +790,7 @@ export default class Client extends OpenApi {
|
|
|
800
790
|
*/
|
|
801
791
|
describeClusterAddonsUpgradeStatus(ClusterId: string, request: $_model.DescribeClusterAddonsUpgradeStatusRequest): Promise<$_model.DescribeClusterAddonsUpgradeStatusResponse>;
|
|
802
792
|
/**
|
|
803
|
-
*
|
|
793
|
+
* Queries the details of all installed components in a cluster by cluster ID.
|
|
804
794
|
*
|
|
805
795
|
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
806
796
|
*
|
|
@@ -812,14 +802,14 @@ export default class Client extends OpenApi {
|
|
|
812
802
|
[key: string]: string;
|
|
813
803
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAddonsVersionResponse>;
|
|
814
804
|
/**
|
|
815
|
-
*
|
|
805
|
+
* Queries the details of all installed components in a cluster by cluster ID.
|
|
816
806
|
*
|
|
817
807
|
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
818
808
|
* @returns DescribeClusterAddonsVersionResponse
|
|
819
809
|
*/
|
|
820
810
|
describeClusterAddonsVersion(ClusterId: string): Promise<$_model.DescribeClusterAddonsVersionResponse>;
|
|
821
811
|
/**
|
|
822
|
-
*
|
|
812
|
+
* If you need to add existing ECS instances to an ACK cluster as worker nodes, or re-add node instances to a node pool after they are removed, ACK allows you to manually add existing nodes to a node pool. Calls the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
|
|
823
813
|
*
|
|
824
814
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
825
815
|
* @param headers - map
|
|
@@ -830,14 +820,14 @@ export default class Client extends OpenApi {
|
|
|
830
820
|
[key: string]: string;
|
|
831
821
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterAttachScriptsResponse>;
|
|
832
822
|
/**
|
|
833
|
-
*
|
|
823
|
+
* If you need to add existing ECS instances to an ACK cluster as worker nodes, or re-add node instances to a node pool after they are removed, ACK allows you to manually add existing nodes to a node pool. Calls the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
|
|
834
824
|
*
|
|
835
825
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
836
826
|
* @returns DescribeClusterAttachScriptsResponse
|
|
837
827
|
*/
|
|
838
828
|
describeClusterAttachScripts(ClusterId: string, request: $_model.DescribeClusterAttachScriptsRequest): Promise<$_model.DescribeClusterAttachScriptsResponse>;
|
|
839
829
|
/**
|
|
840
|
-
* You can call the DescribeClusterDetail
|
|
830
|
+
* You can call the DescribeClusterDetail API to query the detailed information of a specified cluster by cluster ID.
|
|
841
831
|
*
|
|
842
832
|
* @param headers - map
|
|
843
833
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -847,12 +837,12 @@ export default class Client extends OpenApi {
|
|
|
847
837
|
[key: string]: string;
|
|
848
838
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterDetailResponse>;
|
|
849
839
|
/**
|
|
850
|
-
* You can call the DescribeClusterDetail
|
|
840
|
+
* You can call the DescribeClusterDetail API to query the detailed information of a specified cluster by cluster ID.
|
|
851
841
|
* @returns DescribeClusterDetailResponse
|
|
852
842
|
*/
|
|
853
843
|
describeClusterDetail(ClusterId: string): Promise<$_model.DescribeClusterDetailResponse>;
|
|
854
844
|
/**
|
|
855
|
-
* Cluster operation events include cluster creation, modification,
|
|
845
|
+
* Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out, addon installation, and cluster upgrade. You can call the DescribeClusterEvents operation to retrieve the list of events that occurred in a specified cluster and query event details, including the event level, event status, and event time.
|
|
856
846
|
*
|
|
857
847
|
* @param request - DescribeClusterEventsRequest
|
|
858
848
|
* @param headers - map
|
|
@@ -863,14 +853,14 @@ export default class Client extends OpenApi {
|
|
|
863
853
|
[key: string]: string;
|
|
864
854
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterEventsResponse>;
|
|
865
855
|
/**
|
|
866
|
-
* Cluster operation events include cluster creation, modification,
|
|
856
|
+
* Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out, addon installation, and cluster upgrade. You can call the DescribeClusterEvents operation to retrieve the list of events that occurred in a specified cluster and query event details, including the event level, event status, and event time.
|
|
867
857
|
*
|
|
868
858
|
* @param request - DescribeClusterEventsRequest
|
|
869
859
|
* @returns DescribeClusterEventsResponse
|
|
870
860
|
*/
|
|
871
861
|
describeClusterEvents(ClusterId: string, request: $_model.DescribeClusterEventsRequest): Promise<$_model.DescribeClusterEventsResponse>;
|
|
872
862
|
/**
|
|
873
|
-
*
|
|
863
|
+
* Retrieves the log data of a cluster for root cause analysis and tracing when cluster issues occur.
|
|
874
864
|
*
|
|
875
865
|
* @param headers - map
|
|
876
866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -880,12 +870,12 @@ export default class Client extends OpenApi {
|
|
|
880
870
|
[key: string]: string;
|
|
881
871
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterLogsResponse>;
|
|
882
872
|
/**
|
|
883
|
-
*
|
|
873
|
+
* Retrieves the log data of a cluster for root cause analysis and tracing when cluster issues occur.
|
|
884
874
|
* @returns DescribeClusterLogsResponse
|
|
885
875
|
*/
|
|
886
876
|
describeClusterLogs(ClusterId: string): Promise<$_model.DescribeClusterLogsResponse>;
|
|
887
877
|
/**
|
|
888
|
-
* You can call the DescribeClusterNodePoolDetail operation to query the
|
|
878
|
+
* You can call the DescribeClusterNodePoolDetail operation to query the configuration of a specified node pool in a cluster by node pool ID.
|
|
889
879
|
*
|
|
890
880
|
* @param headers - map
|
|
891
881
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -895,12 +885,12 @@ export default class Client extends OpenApi {
|
|
|
895
885
|
[key: string]: string;
|
|
896
886
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
|
|
897
887
|
/**
|
|
898
|
-
* You can call the DescribeClusterNodePoolDetail operation to query the
|
|
888
|
+
* You can call the DescribeClusterNodePoolDetail operation to query the configuration of a specified node pool in a cluster by node pool ID.
|
|
899
889
|
* @returns DescribeClusterNodePoolDetailResponse
|
|
900
890
|
*/
|
|
901
891
|
describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
|
|
902
892
|
/**
|
|
903
|
-
* Queries the node pools in a cluster.
|
|
893
|
+
* Queries the list of all node pools in a cluster.
|
|
904
894
|
*
|
|
905
895
|
* @param request - DescribeClusterNodePoolsRequest
|
|
906
896
|
* @param headers - map
|
|
@@ -911,14 +901,14 @@ export default class Client extends OpenApi {
|
|
|
911
901
|
[key: string]: string;
|
|
912
902
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolsResponse>;
|
|
913
903
|
/**
|
|
914
|
-
* Queries the node pools in a cluster.
|
|
904
|
+
* Queries the list of all node pools in a cluster.
|
|
915
905
|
*
|
|
916
906
|
* @param request - DescribeClusterNodePoolsRequest
|
|
917
907
|
* @returns DescribeClusterNodePoolsResponse
|
|
918
908
|
*/
|
|
919
909
|
describeClusterNodePools(ClusterId: string, request: $_model.DescribeClusterNodePoolsRequest): Promise<$_model.DescribeClusterNodePoolsResponse>;
|
|
920
910
|
/**
|
|
921
|
-
*
|
|
911
|
+
* Queries the list of nodes that meet the specified conditions in a cluster.
|
|
922
912
|
*
|
|
923
913
|
* @param request - DescribeClusterNodesRequest
|
|
924
914
|
* @param headers - map
|
|
@@ -929,14 +919,14 @@ export default class Client extends OpenApi {
|
|
|
929
919
|
[key: string]: string;
|
|
930
920
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodesResponse>;
|
|
931
921
|
/**
|
|
932
|
-
*
|
|
922
|
+
* Queries the list of nodes that meet the specified conditions in a cluster.
|
|
933
923
|
*
|
|
934
924
|
* @param request - DescribeClusterNodesRequest
|
|
935
925
|
* @returns DescribeClusterNodesResponse
|
|
936
926
|
*/
|
|
937
927
|
describeClusterNodes(ClusterId: string, request: $_model.DescribeClusterNodesRequest): Promise<$_model.DescribeClusterNodesResponse>;
|
|
938
928
|
/**
|
|
939
|
-
* Container Service for Kubernetes
|
|
929
|
+
* When you use Container Service for Kubernetes (ACK), you also use resources from other associated Alibaba Cloud services. You can call the DescribeClusterResources operation to query the associated resources of a specified cluster, such as VPCs and SLBs. To query node pool or node resources, call the DescribeClusterNodePools or DescribeClusterNodes operation.
|
|
940
930
|
*
|
|
941
931
|
* @param request - DescribeClusterResourcesRequest
|
|
942
932
|
* @param headers - map
|
|
@@ -947,14 +937,14 @@ export default class Client extends OpenApi {
|
|
|
947
937
|
[key: string]: string;
|
|
948
938
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterResourcesResponse>;
|
|
949
939
|
/**
|
|
950
|
-
* Container Service for Kubernetes
|
|
940
|
+
* When you use Container Service for Kubernetes (ACK), you also use resources from other associated Alibaba Cloud services. You can call the DescribeClusterResources operation to query the associated resources of a specified cluster, such as VPCs and SLBs. To query node pool or node resources, call the DescribeClusterNodePools or DescribeClusterNodes operation.
|
|
951
941
|
*
|
|
952
942
|
* @param request - DescribeClusterResourcesRequest
|
|
953
943
|
* @returns DescribeClusterResourcesResponse
|
|
954
944
|
*/
|
|
955
945
|
describeClusterResources(ClusterId: string, request: $_model.DescribeClusterResourcesRequest): Promise<$_model.DescribeClusterResourcesResponse>;
|
|
956
946
|
/**
|
|
957
|
-
*
|
|
947
|
+
* Queries the task list of a cluster by calling the DescribeClusterTasks operation.
|
|
958
948
|
*
|
|
959
949
|
* @param request - DescribeClusterTasksRequest
|
|
960
950
|
* @param headers - map
|
|
@@ -965,18 +955,18 @@ export default class Client extends OpenApi {
|
|
|
965
955
|
[key: string]: string;
|
|
966
956
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterTasksResponse>;
|
|
967
957
|
/**
|
|
968
|
-
*
|
|
958
|
+
* Queries the task list of a cluster by calling the DescribeClusterTasks operation.
|
|
969
959
|
*
|
|
970
960
|
* @param request - DescribeClusterTasksRequest
|
|
971
961
|
* @returns DescribeClusterTasksResponse
|
|
972
962
|
*/
|
|
973
963
|
describeClusterTasks(clusterId: string, request: $_model.DescribeClusterTasksRequest): Promise<$_model.DescribeClusterTasksResponse>;
|
|
974
964
|
/**
|
|
975
|
-
*
|
|
965
|
+
* KubeConfig is used to configure access credentials for ACK clusters on the client. It contains identity and authentication data for accessing the target cluster. When you use kubectl for cluster management, you must first connect to the cluster by using KubeConfig. You can invoke the DescribeClusterUserKubeconfig operation to query the KubeConfig of a specified cluster.
|
|
976
966
|
*
|
|
977
967
|
* @remarks
|
|
978
|
-
*
|
|
979
|
-
*
|
|
968
|
+
* - The default validity period of the certificate issued by KubeConfig is 3 years. Within 180 days before the certificate expires, you can obtain a rotated and refreshed KubeConfig by using the Container Service console or the DescribeClusterUserKubeconfig operation. The new KubeConfig certificate is valid for 3 years. The old KubeConfig credential remains valid until the certificate expires. Obtain the rotated credential promptly based on the KubeConfig expiration time displayed in the console or returned by the operation.
|
|
969
|
+
* - Properly manage the KubeConfig credentials of your cluster and revoke them when they are no longer needed to avoid security risks such as sensitive data leakage caused by KubeConfig exposure.
|
|
980
970
|
*
|
|
981
971
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
982
972
|
* @param headers - map
|
|
@@ -987,18 +977,18 @@ export default class Client extends OpenApi {
|
|
|
987
977
|
[key: string]: string;
|
|
988
978
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterUserKubeconfigResponse>;
|
|
989
979
|
/**
|
|
990
|
-
*
|
|
980
|
+
* KubeConfig is used to configure access credentials for ACK clusters on the client. It contains identity and authentication data for accessing the target cluster. When you use kubectl for cluster management, you must first connect to the cluster by using KubeConfig. You can invoke the DescribeClusterUserKubeconfig operation to query the KubeConfig of a specified cluster.
|
|
991
981
|
*
|
|
992
982
|
* @remarks
|
|
993
|
-
*
|
|
994
|
-
*
|
|
983
|
+
* - The default validity period of the certificate issued by KubeConfig is 3 years. Within 180 days before the certificate expires, you can obtain a rotated and refreshed KubeConfig by using the Container Service console or the DescribeClusterUserKubeconfig operation. The new KubeConfig certificate is valid for 3 years. The old KubeConfig credential remains valid until the certificate expires. Obtain the rotated credential promptly based on the KubeConfig expiration time displayed in the console or returned by the operation.
|
|
984
|
+
* - Properly manage the KubeConfig credentials of your cluster and revoke them when they are no longer needed to avoid security risks such as sensitive data leakage caused by KubeConfig exposure.
|
|
995
985
|
*
|
|
996
986
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
997
987
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
998
988
|
*/
|
|
999
989
|
describeClusterUserKubeconfig(ClusterId: string, request: $_model.DescribeClusterUserKubeconfigRequest): Promise<$_model.DescribeClusterUserKubeconfigResponse>;
|
|
1000
990
|
/**
|
|
1001
|
-
*
|
|
991
|
+
* Retrieves the kubeconfig file for a cluster.
|
|
1002
992
|
*
|
|
1003
993
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
1004
994
|
*
|
|
@@ -1011,7 +1001,7 @@ export default class Client extends OpenApi {
|
|
|
1011
1001
|
[key: string]: string;
|
|
1012
1002
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterV2UserKubeconfigResponse>;
|
|
1013
1003
|
/**
|
|
1014
|
-
*
|
|
1004
|
+
* Retrieves the kubeconfig file for a cluster.
|
|
1015
1005
|
*
|
|
1016
1006
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
1017
1007
|
*
|
|
@@ -1020,7 +1010,7 @@ export default class Client extends OpenApi {
|
|
|
1020
1010
|
*/
|
|
1021
1011
|
describeClusterV2UserKubeconfig(ClusterId: string, request: $_model.DescribeClusterV2UserKubeconfigRequest): Promise<$_model.DescribeClusterV2UserKubeconfigResponse>;
|
|
1022
1012
|
/**
|
|
1023
|
-
*
|
|
1013
|
+
* You can call the DescribeClusterVuls operation to query the details of security vulnerabilities in a cluster by cluster ID, including vulnerability names, types, and severity levels. Regularly scan your cluster for security vulnerabilities to improve cluster security.
|
|
1024
1014
|
*
|
|
1025
1015
|
* @param headers - map
|
|
1026
1016
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1030,12 +1020,12 @@ export default class Client extends OpenApi {
|
|
|
1030
1020
|
[key: string]: string;
|
|
1031
1021
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterVulsResponse>;
|
|
1032
1022
|
/**
|
|
1033
|
-
*
|
|
1023
|
+
* You can call the DescribeClusterVuls operation to query the details of security vulnerabilities in a cluster by cluster ID, including vulnerability names, types, and severity levels. Regularly scan your cluster for security vulnerabilities to improve cluster security.
|
|
1034
1024
|
* @returns DescribeClusterVulsResponse
|
|
1035
1025
|
*/
|
|
1036
1026
|
describeClusterVuls(clusterId: string): Promise<$_model.DescribeClusterVulsResponse>;
|
|
1037
1027
|
/**
|
|
1038
|
-
* View all clusters (including Swarm and Kubernetes clusters)
|
|
1028
|
+
* View all clusters created in Container Service (including Swarm and Kubernetes clusters).
|
|
1039
1029
|
*
|
|
1040
1030
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
1041
1031
|
*
|
|
@@ -1048,7 +1038,7 @@ export default class Client extends OpenApi {
|
|
|
1048
1038
|
[key: string]: string;
|
|
1049
1039
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersResponse>;
|
|
1050
1040
|
/**
|
|
1051
|
-
* View all clusters (including Swarm and Kubernetes clusters)
|
|
1041
|
+
* View all clusters created in Container Service (including Swarm and Kubernetes clusters).
|
|
1052
1042
|
*
|
|
1053
1043
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
1054
1044
|
*
|
|
@@ -1057,7 +1047,7 @@ export default class Client extends OpenApi {
|
|
|
1057
1047
|
*/
|
|
1058
1048
|
describeClusters(request: $_model.DescribeClustersRequest): Promise<$_model.DescribeClustersResponse>;
|
|
1059
1049
|
/**
|
|
1060
|
-
*
|
|
1050
|
+
* Queries all clusters in a specified region.
|
|
1061
1051
|
*
|
|
1062
1052
|
* @param request - DescribeClustersForRegionRequest
|
|
1063
1053
|
* @param headers - map
|
|
@@ -1068,14 +1058,14 @@ export default class Client extends OpenApi {
|
|
|
1068
1058
|
[key: string]: string;
|
|
1069
1059
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersForRegionResponse>;
|
|
1070
1060
|
/**
|
|
1071
|
-
*
|
|
1061
|
+
* Queries all clusters in a specified region.
|
|
1072
1062
|
*
|
|
1073
1063
|
* @param request - DescribeClustersForRegionRequest
|
|
1074
1064
|
* @returns DescribeClustersForRegionResponse
|
|
1075
1065
|
*/
|
|
1076
1066
|
describeClustersForRegion(regionId: string, request: $_model.DescribeClustersForRegionRequest): Promise<$_model.DescribeClustersForRegionResponse>;
|
|
1077
1067
|
/**
|
|
1078
|
-
*
|
|
1068
|
+
* You can invoke the DescribeClustersV1 operation to query the list of ACK clusters that meet conditional criteria (such as cluster type and cluster specification) under the current account.
|
|
1079
1069
|
*
|
|
1080
1070
|
* @param request - DescribeClustersV1Request
|
|
1081
1071
|
* @param headers - map
|
|
@@ -1086,14 +1076,14 @@ export default class Client extends OpenApi {
|
|
|
1086
1076
|
[key: string]: string;
|
|
1087
1077
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersV1Response>;
|
|
1088
1078
|
/**
|
|
1089
|
-
*
|
|
1079
|
+
* You can invoke the DescribeClustersV1 operation to query the list of ACK clusters that meet conditional criteria (such as cluster type and cluster specification) under the current account.
|
|
1090
1080
|
*
|
|
1091
1081
|
* @param request - DescribeClustersV1Request
|
|
1092
1082
|
* @returns DescribeClustersV1Response
|
|
1093
1083
|
*/
|
|
1094
1084
|
describeClustersV1(request: $_model.DescribeClustersV1Request): Promise<$_model.DescribeClustersV1Response>;
|
|
1095
1085
|
/**
|
|
1096
|
-
* Cluster operation events include cluster creation, cluster
|
|
1086
|
+
* Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out, addon installation, and cluster upgrade. You can call the DescribeEvents operation to query the details of a specific type of event, including the event level, event status, and event time.
|
|
1097
1087
|
*
|
|
1098
1088
|
* @param request - DescribeEventsRequest
|
|
1099
1089
|
* @param headers - map
|
|
@@ -1104,14 +1094,14 @@ export default class Client extends OpenApi {
|
|
|
1104
1094
|
[key: string]: string;
|
|
1105
1095
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEventsResponse>;
|
|
1106
1096
|
/**
|
|
1107
|
-
* Cluster operation events include cluster creation, cluster
|
|
1097
|
+
* Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out, addon installation, and cluster upgrade. You can call the DescribeEvents operation to query the details of a specific type of event, including the event level, event status, and event time.
|
|
1108
1098
|
*
|
|
1109
1099
|
* @param request - DescribeEventsRequest
|
|
1110
1100
|
* @returns DescribeEventsResponse
|
|
1111
1101
|
*/
|
|
1112
1102
|
describeEvents(request: $_model.DescribeEventsRequest): Promise<$_model.DescribeEventsResponse>;
|
|
1113
1103
|
/**
|
|
1114
|
-
*
|
|
1104
|
+
* Queries all events in a specified region.
|
|
1115
1105
|
*
|
|
1116
1106
|
* @param request - DescribeEventsForRegionRequest
|
|
1117
1107
|
* @param headers - map
|
|
@@ -1122,17 +1112,17 @@ export default class Client extends OpenApi {
|
|
|
1122
1112
|
[key: string]: string;
|
|
1123
1113
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEventsForRegionResponse>;
|
|
1124
1114
|
/**
|
|
1125
|
-
*
|
|
1115
|
+
* Queries all events in a specified region.
|
|
1126
1116
|
*
|
|
1127
1117
|
* @param request - DescribeEventsForRegionRequest
|
|
1128
1118
|
* @returns DescribeEventsForRegionResponse
|
|
1129
1119
|
*/
|
|
1130
1120
|
describeEventsForRegion(regionId: string, request: $_model.DescribeEventsForRegionRequest): Promise<$_model.DescribeEventsForRegionResponse>;
|
|
1131
1121
|
/**
|
|
1132
|
-
* Queries the
|
|
1122
|
+
* Queries the agent configuration for a registered cluster by cluster ID.
|
|
1133
1123
|
*
|
|
1134
1124
|
* @remarks
|
|
1135
|
-
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
1125
|
+
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
1136
1126
|
*
|
|
1137
1127
|
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
1138
1128
|
*
|
|
@@ -1145,10 +1135,10 @@ export default class Client extends OpenApi {
|
|
|
1145
1135
|
[key: string]: string;
|
|
1146
1136
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeExternalAgentResponse>;
|
|
1147
1137
|
/**
|
|
1148
|
-
* Queries the
|
|
1138
|
+
* Queries the agent configuration for a registered cluster by cluster ID.
|
|
1149
1139
|
*
|
|
1150
1140
|
* @remarks
|
|
1151
|
-
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
1141
|
+
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
1152
1142
|
*
|
|
1153
1143
|
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
1154
1144
|
*
|
|
@@ -1157,7 +1147,7 @@ export default class Client extends OpenApi {
|
|
|
1157
1147
|
*/
|
|
1158
1148
|
describeExternalAgent(ClusterId: string, request: $_model.DescribeExternalAgentRequest): Promise<$_model.DescribeExternalAgentResponse>;
|
|
1159
1149
|
/**
|
|
1160
|
-
*
|
|
1150
|
+
* You can call the DescribeKubernetesVersionMetadata operation to query detailed information about Kubernetes versions, including version information, release dates and expiration dates, compatible operating systems, and container runtimes.
|
|
1161
1151
|
*
|
|
1162
1152
|
* @param request - DescribeKubernetesVersionMetadataRequest
|
|
1163
1153
|
* @param headers - map
|
|
@@ -1168,14 +1158,14 @@ export default class Client extends OpenApi {
|
|
|
1168
1158
|
[key: string]: string;
|
|
1169
1159
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeKubernetesVersionMetadataResponse>;
|
|
1170
1160
|
/**
|
|
1171
|
-
*
|
|
1161
|
+
* You can call the DescribeKubernetesVersionMetadata operation to query detailed information about Kubernetes versions, including version information, release dates and expiration dates, compatible operating systems, and container runtimes.
|
|
1172
1162
|
*
|
|
1173
1163
|
* @param request - DescribeKubernetesVersionMetadataRequest
|
|
1174
1164
|
* @returns DescribeKubernetesVersionMetadataResponse
|
|
1175
1165
|
*/
|
|
1176
1166
|
describeKubernetesVersionMetadata(request: $_model.DescribeKubernetesVersionMetadataRequest): Promise<$_model.DescribeKubernetesVersionMetadataResponse>;
|
|
1177
1167
|
/**
|
|
1178
|
-
* Queries the vulnerability
|
|
1168
|
+
* Queries the security vulnerability details of a node pool by node pool ID by calling the DescribeNodePoolVuls operation. The details include vulnerability names and severity levels. Regularly scan node pools for security vulnerabilities to improve cluster security.
|
|
1179
1169
|
*
|
|
1180
1170
|
* @param request - DescribeNodePoolVulsRequest
|
|
1181
1171
|
* @param headers - map
|
|
@@ -1186,14 +1176,14 @@ export default class Client extends OpenApi {
|
|
|
1186
1176
|
[key: string]: string;
|
|
1187
1177
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeNodePoolVulsResponse>;
|
|
1188
1178
|
/**
|
|
1189
|
-
* Queries the vulnerability
|
|
1179
|
+
* Queries the security vulnerability details of a node pool by node pool ID by calling the DescribeNodePoolVuls operation. The details include vulnerability names and severity levels. Regularly scan node pools for security vulnerabilities to improve cluster security.
|
|
1190
1180
|
*
|
|
1191
1181
|
* @param request - DescribeNodePoolVulsRequest
|
|
1192
1182
|
* @returns DescribeNodePoolVulsResponse
|
|
1193
1183
|
*/
|
|
1194
1184
|
describeNodePoolVuls(clusterId: string, nodepoolId: string, request: $_model.DescribeNodePoolVulsRequest): Promise<$_model.DescribeNodePoolVulsResponse>;
|
|
1195
1185
|
/**
|
|
1196
|
-
*
|
|
1186
|
+
* ACK cluster container security policies provide a comprehensive built-in rule library that includes Compliance, Infra, K8s-general, and PSP categories to ensure the secure operation of containers in production environments. You can call the DescribePolicies operation to query the list of policy governance rule libraries.
|
|
1197
1187
|
*
|
|
1198
1188
|
* @param headers - map
|
|
1199
1189
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1203,12 +1193,12 @@ export default class Client extends OpenApi {
|
|
|
1203
1193
|
[key: string]: string;
|
|
1204
1194
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePoliciesResponse>;
|
|
1205
1195
|
/**
|
|
1206
|
-
*
|
|
1196
|
+
* ACK cluster container security policies provide a comprehensive built-in rule library that includes Compliance, Infra, K8s-general, and PSP categories to ensure the secure operation of containers in production environments. You can call the DescribePolicies operation to query the list of policy governance rule libraries.
|
|
1207
1197
|
* @returns DescribePoliciesResponse
|
|
1208
1198
|
*/
|
|
1209
1199
|
describePolicies(): Promise<$_model.DescribePoliciesResponse>;
|
|
1210
1200
|
/**
|
|
1211
|
-
*
|
|
1201
|
+
* ACK cluster container security policies provide a rich set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can call the DescribePolicyDetails operation to query the details of a specified policy governance rule, such as the rule template description, governance action, and governance severity level.
|
|
1212
1202
|
*
|
|
1213
1203
|
* @param headers - map
|
|
1214
1204
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1218,12 +1208,12 @@ export default class Client extends OpenApi {
|
|
|
1218
1208
|
[key: string]: string;
|
|
1219
1209
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyDetailsResponse>;
|
|
1220
1210
|
/**
|
|
1221
|
-
*
|
|
1211
|
+
* ACK cluster container security policies provide a rich set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can call the DescribePolicyDetails operation to query the details of a specified policy governance rule, such as the rule template description, governance action, and governance severity level.
|
|
1222
1212
|
* @returns DescribePolicyDetailsResponse
|
|
1223
1213
|
*/
|
|
1224
1214
|
describePolicyDetails(policyName: string): Promise<$_model.DescribePolicyDetailsResponse>;
|
|
1225
1215
|
/**
|
|
1226
|
-
*
|
|
1216
|
+
* ACK cluster container security policies provide a rich set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can call the DescribePolicyGovernanceInCluster operation to query detailed policy governance information for a specified cluster, such as the count of enabled policies at different severity levels, policy governance audit logs, and interception and alert details.
|
|
1227
1217
|
*
|
|
1228
1218
|
* @param headers - map
|
|
1229
1219
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1233,12 +1223,12 @@ export default class Client extends OpenApi {
|
|
|
1233
1223
|
[key: string]: string;
|
|
1234
1224
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyGovernanceInClusterResponse>;
|
|
1235
1225
|
/**
|
|
1236
|
-
*
|
|
1226
|
+
* ACK cluster container security policies provide a rich set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can call the DescribePolicyGovernanceInCluster operation to query detailed policy governance information for a specified cluster, such as the count of enabled policies at different severity levels, policy governance audit logs, and interception and alert details.
|
|
1237
1227
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
1238
1228
|
*/
|
|
1239
1229
|
describePolicyGovernanceInCluster(clusterId: string): Promise<$_model.DescribePolicyGovernanceInClusterResponse>;
|
|
1240
1230
|
/**
|
|
1241
|
-
*
|
|
1231
|
+
* You can select a security policy type in an ACK cluster, configure the related enforcement actions and scope, and create and deploy a policy instance. You can call the DescribePolicyInstances operation to retrieve the details of specified policy instances in a cluster, such as the policy description and governance level.
|
|
1242
1232
|
*
|
|
1243
1233
|
* @param request - DescribePolicyInstancesRequest
|
|
1244
1234
|
* @param headers - map
|
|
@@ -1249,14 +1239,14 @@ export default class Client extends OpenApi {
|
|
|
1249
1239
|
[key: string]: string;
|
|
1250
1240
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyInstancesResponse>;
|
|
1251
1241
|
/**
|
|
1252
|
-
*
|
|
1242
|
+
* You can select a security policy type in an ACK cluster, configure the related enforcement actions and scope, and create and deploy a policy instance. You can call the DescribePolicyInstances operation to retrieve the details of specified policy instances in a cluster, such as the policy description and governance level.
|
|
1253
1243
|
*
|
|
1254
1244
|
* @param request - DescribePolicyInstancesRequest
|
|
1255
1245
|
* @returns DescribePolicyInstancesResponse
|
|
1256
1246
|
*/
|
|
1257
1247
|
describePolicyInstances(clusterId: string, request: $_model.DescribePolicyInstancesRequest): Promise<$_model.DescribePolicyInstancesResponse>;
|
|
1258
1248
|
/**
|
|
1259
|
-
* Queries the deployment of policy instances
|
|
1249
|
+
* Queries the deployment status of policy instances for different policy types in a cluster, including the number of enabled instances for each policy rule and the number of enabled policy types at different governance levels.
|
|
1260
1250
|
*
|
|
1261
1251
|
* @param headers - map
|
|
1262
1252
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1266,12 +1256,12 @@ export default class Client extends OpenApi {
|
|
|
1266
1256
|
[key: string]: string;
|
|
1267
1257
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolicyInstancesStatusResponse>;
|
|
1268
1258
|
/**
|
|
1269
|
-
* Queries the deployment of policy instances
|
|
1259
|
+
* Queries the deployment status of policy instances for different policy types in a cluster, including the number of enabled instances for each policy rule and the number of enabled policy types at different governance levels.
|
|
1270
1260
|
* @returns DescribePolicyInstancesStatusResponse
|
|
1271
1261
|
*/
|
|
1272
1262
|
describePolicyInstancesStatus(clusterId: string): Promise<$_model.DescribePolicyInstancesStatusResponse>;
|
|
1273
1263
|
/**
|
|
1274
|
-
* Queries the list of
|
|
1264
|
+
* Queries the list of regions.
|
|
1275
1265
|
*
|
|
1276
1266
|
* @param request - DescribeRegionsRequest
|
|
1277
1267
|
* @param headers - map
|
|
@@ -1282,14 +1272,14 @@ export default class Client extends OpenApi {
|
|
|
1282
1272
|
[key: string]: string;
|
|
1283
1273
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRegionsResponse>;
|
|
1284
1274
|
/**
|
|
1285
|
-
* Queries the list of
|
|
1275
|
+
* Queries the list of regions.
|
|
1286
1276
|
*
|
|
1287
1277
|
* @param request - DescribeRegionsRequest
|
|
1288
1278
|
* @returns DescribeRegionsResponse
|
|
1289
1279
|
*/
|
|
1290
1280
|
describeRegions(request: $_model.DescribeRegionsRequest): Promise<$_model.DescribeRegionsResponse>;
|
|
1291
1281
|
/**
|
|
1292
|
-
* Queries whether
|
|
1282
|
+
* Queries whether deletion protection is enabled for a specified resource in a cluster. Resources that support deletion protection include namespaces and services.
|
|
1293
1283
|
*
|
|
1294
1284
|
* @param request - DescribeResourcesDeleteProtectionRequest
|
|
1295
1285
|
* @param headers - map
|
|
@@ -1300,17 +1290,17 @@ export default class Client extends OpenApi {
|
|
|
1300
1290
|
[key: string]: string;
|
|
1301
1291
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourcesDeleteProtectionResponse>;
|
|
1302
1292
|
/**
|
|
1303
|
-
* Queries whether
|
|
1293
|
+
* Queries whether deletion protection is enabled for a specified resource in a cluster. Resources that support deletion protection include namespaces and services.
|
|
1304
1294
|
*
|
|
1305
1295
|
* @param request - DescribeResourcesDeleteProtectionRequest
|
|
1306
1296
|
* @returns DescribeResourcesDeleteProtectionResponse
|
|
1307
1297
|
*/
|
|
1308
1298
|
describeResourcesDeleteProtection(ClusterId: string, ResourceType: string, request: $_model.DescribeResourcesDeleteProtectionRequest): Promise<$_model.DescribeResourcesDeleteProtectionResponse>;
|
|
1309
1299
|
/**
|
|
1310
|
-
*
|
|
1300
|
+
* As a cluster permission management administrator, 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. These credentials are used to connect to ACK clusters. You can invoke the DescribeSubaccountK8sClusterUserConfig operation to issue or retrieve the KubeConfig for any RAM user or role within the account.
|
|
1311
1301
|
*
|
|
1312
1302
|
* @remarks
|
|
1313
|
-
*
|
|
1303
|
+
* This operation can be called only by an Alibaba Cloud account.
|
|
1314
1304
|
*
|
|
1315
1305
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
1316
1306
|
* @param headers - map
|
|
@@ -1321,17 +1311,17 @@ export default class Client extends OpenApi {
|
|
|
1321
1311
|
[key: string]: string;
|
|
1322
1312
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
1323
1313
|
/**
|
|
1324
|
-
*
|
|
1314
|
+
* As a cluster permission management administrator, 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. These credentials are used to connect to ACK clusters. You can invoke the DescribeSubaccountK8sClusterUserConfig operation to issue or retrieve the KubeConfig for any RAM user or role within the account.
|
|
1325
1315
|
*
|
|
1326
1316
|
* @remarks
|
|
1327
|
-
*
|
|
1317
|
+
* This operation can be called only by an Alibaba Cloud account.
|
|
1328
1318
|
*
|
|
1329
1319
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
1330
1320
|
* @returns DescribeSubaccountK8sClusterUserConfigResponse
|
|
1331
1321
|
*/
|
|
1332
1322
|
describeSubaccountK8sClusterUserConfig(ClusterId: string, Uid: string, request: $_model.DescribeSubaccountK8sClusterUserConfigRequest): Promise<$_model.DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
1333
1323
|
/**
|
|
1334
|
-
*
|
|
1324
|
+
* Queries the details of a cluster task, such as the task type, running status, and running stage.
|
|
1335
1325
|
*
|
|
1336
1326
|
* @param headers - map
|
|
1337
1327
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1341,12 +1331,12 @@ export default class Client extends OpenApi {
|
|
|
1341
1331
|
[key: string]: string;
|
|
1342
1332
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTaskInfoResponse>;
|
|
1343
1333
|
/**
|
|
1344
|
-
*
|
|
1334
|
+
* Queries the details of a cluster task, such as the task type, running status, and running stage.
|
|
1345
1335
|
* @returns DescribeTaskInfoResponse
|
|
1346
1336
|
*/
|
|
1347
1337
|
describeTaskInfo(taskId: string): Promise<$_model.DescribeTaskInfoResponse>;
|
|
1348
1338
|
/**
|
|
1349
|
-
* An orchestration template defines and describes a
|
|
1339
|
+
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. You can call the DescribeTemplateAttribute operation to query the details of a specified orchestration template, including access permissions, YAML content, and labels.
|
|
1350
1340
|
*
|
|
1351
1341
|
* @param request - DescribeTemplateAttributeRequest
|
|
1352
1342
|
* @param headers - map
|
|
@@ -1357,14 +1347,14 @@ export default class Client extends OpenApi {
|
|
|
1357
1347
|
[key: string]: string;
|
|
1358
1348
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTemplateAttributeResponse>;
|
|
1359
1349
|
/**
|
|
1360
|
-
* An orchestration template defines and describes a
|
|
1350
|
+
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. You can call the DescribeTemplateAttribute operation to query the details of a specified orchestration template, including access permissions, YAML content, and labels.
|
|
1361
1351
|
*
|
|
1362
1352
|
* @param request - DescribeTemplateAttributeRequest
|
|
1363
1353
|
* @returns DescribeTemplateAttributeResponse
|
|
1364
1354
|
*/
|
|
1365
1355
|
describeTemplateAttribute(TemplateId: string, request: $_model.DescribeTemplateAttributeRequest): Promise<$_model.DescribeTemplateAttributeResponse>;
|
|
1366
1356
|
/**
|
|
1367
|
-
* An orchestration template defines and describes a
|
|
1357
|
+
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. You can call the DescribeTemplates operation to retrieve a list of created orchestration templates and query detailed information about the templates, including access permissions, YAML content, and tags.
|
|
1368
1358
|
*
|
|
1369
1359
|
* @param request - DescribeTemplatesRequest
|
|
1370
1360
|
* @param headers - map
|
|
@@ -1375,14 +1365,14 @@ export default class Client extends OpenApi {
|
|
|
1375
1365
|
[key: string]: string;
|
|
1376
1366
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTemplatesResponse>;
|
|
1377
1367
|
/**
|
|
1378
|
-
* An orchestration template defines and describes a
|
|
1368
|
+
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. You can call the DescribeTemplates operation to retrieve a list of created orchestration templates and query detailed information about the templates, including access permissions, YAML content, and tags.
|
|
1379
1369
|
*
|
|
1380
1370
|
* @param request - DescribeTemplatesRequest
|
|
1381
1371
|
* @returns DescribeTemplatesResponse
|
|
1382
1372
|
*/
|
|
1383
1373
|
describeTemplates(request: $_model.DescribeTemplatesRequest): Promise<$_model.DescribeTemplatesResponse>;
|
|
1384
1374
|
/**
|
|
1385
|
-
* Queries triggers that
|
|
1375
|
+
* Queries triggers that meet the specified conditions.
|
|
1386
1376
|
*
|
|
1387
1377
|
* @param request - DescribeTriggerRequest
|
|
1388
1378
|
* @param headers - map
|
|
@@ -1393,14 +1383,14 @@ export default class Client extends OpenApi {
|
|
|
1393
1383
|
[key: string]: string;
|
|
1394
1384
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTriggerResponse>;
|
|
1395
1385
|
/**
|
|
1396
|
-
* Queries triggers that
|
|
1386
|
+
* Queries triggers that meet the specified conditions.
|
|
1397
1387
|
*
|
|
1398
1388
|
* @param request - DescribeTriggerRequest
|
|
1399
1389
|
* @returns DescribeTriggerResponse
|
|
1400
1390
|
*/
|
|
1401
1391
|
describeTrigger(clusterId: string, request: $_model.DescribeTriggerRequest): Promise<$_model.DescribeTriggerResponse>;
|
|
1402
1392
|
/**
|
|
1403
|
-
*
|
|
1393
|
+
* In ACK clusters, you can use Kubernetes namespaces to achieve logically isolated permissions and resources for cluster users. Users who are granted RBAC permissions only for a specified namespace cannot access resources in other namespaces of the cluster. You can invoke the DescribeUserClusterNamespaces operation to query the namespaces for which the current Resource Access Management (RAM) user or role has been granted RBAC access permissions in a specified ACK cluster.
|
|
1404
1394
|
*
|
|
1405
1395
|
* @param headers - map
|
|
1406
1396
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1410,16 +1400,16 @@ export default class Client extends OpenApi {
|
|
|
1410
1400
|
[key: string]: string;
|
|
1411
1401
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeUserClusterNamespacesResponse>;
|
|
1412
1402
|
/**
|
|
1413
|
-
*
|
|
1403
|
+
* In ACK clusters, you can use Kubernetes namespaces to achieve logically isolated permissions and resources for cluster users. Users who are granted RBAC permissions only for a specified namespace cannot access resources in other namespaces of the cluster. You can invoke the DescribeUserClusterNamespaces operation to query the namespaces for which the current Resource Access Management (RAM) user or role has been granted RBAC access permissions in a specified ACK cluster.
|
|
1414
1404
|
* @returns DescribeUserClusterNamespacesResponse
|
|
1415
1405
|
*/
|
|
1416
1406
|
describeUserClusterNamespaces(ClusterId: string): Promise<$_model.DescribeUserClusterNamespacesResponse>;
|
|
1417
1407
|
/**
|
|
1418
|
-
* In
|
|
1408
|
+
* In ACK clusters, you can create and assign different access permissions to different Resource Access Management (RAM) users or roles to ensure secure access control and resource isolation. You can invoke the DescribeUserPermission operation to query the details of cluster permissions granted to a RAM user or role, including accessible resources, permission scope, preset role types, and permission sources.
|
|
1419
1409
|
*
|
|
1420
1410
|
* @remarks
|
|
1421
|
-
* *
|
|
1422
|
-
*
|
|
1411
|
+
* *Before you begin**:
|
|
1412
|
+
* - If the account that invokes this API operation is a Resource Access Management (RAM) user or RAM role, the API operation returns only the permissions for clusters in which the calling account has RBAC administrator permissions. To list permissions for all clusters, the calling account must have RBAC administrator permissions on all clusters.
|
|
1423
1413
|
*
|
|
1424
1414
|
* @param headers - map
|
|
1425
1415
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1429,16 +1419,16 @@ export default class Client extends OpenApi {
|
|
|
1429
1419
|
[key: string]: string;
|
|
1430
1420
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeUserPermissionResponse>;
|
|
1431
1421
|
/**
|
|
1432
|
-
* In
|
|
1422
|
+
* In ACK clusters, you can create and assign different access permissions to different Resource Access Management (RAM) users or roles to ensure secure access control and resource isolation. You can invoke the DescribeUserPermission operation to query the details of cluster permissions granted to a RAM user or role, including accessible resources, permission scope, preset role types, and permission sources.
|
|
1433
1423
|
*
|
|
1434
1424
|
* @remarks
|
|
1435
|
-
* *
|
|
1436
|
-
*
|
|
1425
|
+
* *Before you begin**:
|
|
1426
|
+
* - If the account that invokes this API operation is a Resource Access Management (RAM) user or RAM role, the API operation returns only the permissions for clusters in which the calling account has RBAC administrator permissions. To list permissions for all clusters, the calling account must have RBAC administrator permissions on all clusters.
|
|
1437
1427
|
* @returns DescribeUserPermissionResponse
|
|
1438
1428
|
*/
|
|
1439
1429
|
describeUserPermission(uid: string): Promise<$_model.DescribeUserPermissionResponse>;
|
|
1440
1430
|
/**
|
|
1441
|
-
* Queries quotas
|
|
1431
|
+
* Queries the quotas of ACK clusters, node pools, and nodes. To increase a quota, go to Quota Center to submit a request.
|
|
1442
1432
|
*
|
|
1443
1433
|
* @param headers - map
|
|
1444
1434
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1448,18 +1438,17 @@ export default class Client extends OpenApi {
|
|
|
1448
1438
|
[key: string]: string;
|
|
1449
1439
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeUserQuotaResponse>;
|
|
1450
1440
|
/**
|
|
1451
|
-
* Queries quotas
|
|
1441
|
+
* Queries the quotas of ACK clusters, node pools, and nodes. To increase a quota, go to Quota Center to submit a request.
|
|
1452
1442
|
* @returns DescribeUserQuotaResponse
|
|
1453
1443
|
*/
|
|
1454
1444
|
describeUserQuota(): Promise<$_model.DescribeUserQuotaResponse>;
|
|
1455
1445
|
/**
|
|
1456
|
-
*
|
|
1446
|
+
* Alibaba Cloud security products periodically scan ECS nodes for security vulnerabilities and provide corresponding remediation suggestions and methods. Some CVE fixes may require node restarts. Ensure that the cluster has sufficient nodes for drain operations. You can call the FixNodePoolVuls operation to fix node security vulnerabilities in a specified cluster node pool and improve the security of cluster nodes.
|
|
1457
1447
|
*
|
|
1458
1448
|
* @remarks
|
|
1459
|
-
*
|
|
1460
|
-
*
|
|
1461
|
-
*
|
|
1462
|
-
* 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.
|
|
1449
|
+
* - CVE compatibility is ensured by Security Center. Make sure that you have activated the Ultimate edition of Security Center or [purchased vulnerability fixing (pay-as-you-go)](https://help.aliyun.com/document_detail/42308.html).
|
|
1450
|
+
* - Some CVE fixes require node restarts. Container Service drains the node before restarting it. Ensure that the cluster has sufficient spare node resources for draining. For example, scale out the node pool in advance.
|
|
1451
|
+
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the CVE fix process, you can pause or cancel the task. After you pause or cancel the task, batches that have already been dispatched continue to run until completion. Batches that have not been dispatched are paused or canceled.
|
|
1463
1452
|
*
|
|
1464
1453
|
* @param request - FixNodePoolVulsRequest
|
|
1465
1454
|
* @param headers - map
|
|
@@ -1470,20 +1459,19 @@ export default class Client extends OpenApi {
|
|
|
1470
1459
|
[key: string]: string;
|
|
1471
1460
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.FixNodePoolVulsResponse>;
|
|
1472
1461
|
/**
|
|
1473
|
-
*
|
|
1462
|
+
* Alibaba Cloud security products periodically scan ECS nodes for security vulnerabilities and provide corresponding remediation suggestions and methods. Some CVE fixes may require node restarts. Ensure that the cluster has sufficient nodes for drain operations. You can call the FixNodePoolVuls operation to fix node security vulnerabilities in a specified cluster node pool and improve the security of cluster nodes.
|
|
1474
1463
|
*
|
|
1475
1464
|
* @remarks
|
|
1476
|
-
*
|
|
1477
|
-
*
|
|
1478
|
-
*
|
|
1479
|
-
* 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.
|
|
1465
|
+
* - CVE compatibility is ensured by Security Center. Make sure that you have activated the Ultimate edition of Security Center or [purchased vulnerability fixing (pay-as-you-go)](https://help.aliyun.com/document_detail/42308.html).
|
|
1466
|
+
* - Some CVE fixes require node restarts. Container Service drains the node before restarting it. Ensure that the cluster has sufficient spare node resources for draining. For example, scale out the node pool in advance.
|
|
1467
|
+
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the CVE fix process, you can pause or cancel the task. After you pause or cancel the task, batches that have already been dispatched continue to run until completion. Batches that have not been dispatched are paused or canceled.
|
|
1480
1468
|
*
|
|
1481
1469
|
* @param request - FixNodePoolVulsRequest
|
|
1482
1470
|
* @returns FixNodePoolVulsResponse
|
|
1483
1471
|
*/
|
|
1484
1472
|
fixNodePoolVuls(clusterId: string, nodepoolId: string, request: $_model.FixNodePoolVulsRequest): Promise<$_model.FixNodePoolVulsResponse>;
|
|
1485
1473
|
/**
|
|
1486
|
-
*
|
|
1474
|
+
* Queries the details of a specified component instance in a cluster, including the version, parameter settings, and logging feature status of the component instance.
|
|
1487
1475
|
*
|
|
1488
1476
|
* @param headers - map
|
|
1489
1477
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1493,12 +1481,12 @@ export default class Client extends OpenApi {
|
|
|
1493
1481
|
[key: string]: string;
|
|
1494
1482
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterAddonInstanceResponse>;
|
|
1495
1483
|
/**
|
|
1496
|
-
*
|
|
1484
|
+
* Queries the details of a specified component instance in a cluster, including the version, parameter settings, and logging feature status of the component instance.
|
|
1497
1485
|
* @returns GetClusterAddonInstanceResponse
|
|
1498
1486
|
*/
|
|
1499
1487
|
getClusterAddonInstance(clusterId: string, instanceName: string): Promise<$_model.GetClusterAddonInstanceResponse>;
|
|
1500
1488
|
/**
|
|
1501
|
-
*
|
|
1489
|
+
* Queries whether the API server audit feature is enabled for a cluster and retrieves the Simple Log Service (SLS) project that stores the API server audit logs.
|
|
1502
1490
|
*
|
|
1503
1491
|
* @param headers - map
|
|
1504
1492
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1508,12 +1496,12 @@ export default class Client extends OpenApi {
|
|
|
1508
1496
|
[key: string]: string;
|
|
1509
1497
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterAuditProjectResponse>;
|
|
1510
1498
|
/**
|
|
1511
|
-
*
|
|
1499
|
+
* Queries whether the API server audit feature is enabled for a cluster and retrieves the Simple Log Service (SLS) project that stores the API server audit logs.
|
|
1512
1500
|
* @returns GetClusterAuditProjectResponse
|
|
1513
1501
|
*/
|
|
1514
1502
|
getClusterAuditProject(clusterid: string): Promise<$_model.GetClusterAuditProjectResponse>;
|
|
1515
1503
|
/**
|
|
1516
|
-
*
|
|
1504
|
+
* The intelligent O&M platform for containers provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks. You can call the GetClusterCheck operation to query information about a specified check task based on the cluster ID and check task ID, such as the check status, specific check items, and check creation and completion time.
|
|
1517
1505
|
*
|
|
1518
1506
|
* @param headers - map
|
|
1519
1507
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1523,12 +1511,12 @@ export default class Client extends OpenApi {
|
|
|
1523
1511
|
[key: string]: string;
|
|
1524
1512
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterCheckResponse>;
|
|
1525
1513
|
/**
|
|
1526
|
-
*
|
|
1514
|
+
* The intelligent O&M platform for containers provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks. You can call the GetClusterCheck operation to query information about a specified check task based on the cluster ID and check task ID, such as the check status, specific check items, and check creation and completion time.
|
|
1527
1515
|
* @returns GetClusterCheckResponse
|
|
1528
1516
|
*/
|
|
1529
1517
|
getClusterCheck(clusterId: string, checkId: string): Promise<$_model.GetClusterCheckResponse>;
|
|
1530
1518
|
/**
|
|
1531
|
-
*
|
|
1519
|
+
* Retrieves the diagnostic check items of a cluster.
|
|
1532
1520
|
*
|
|
1533
1521
|
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
1534
1522
|
* @param headers - map
|
|
@@ -1539,14 +1527,14 @@ export default class Client extends OpenApi {
|
|
|
1539
1527
|
[key: string]: string;
|
|
1540
1528
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterDiagnosisCheckItemsResponse>;
|
|
1541
1529
|
/**
|
|
1542
|
-
*
|
|
1530
|
+
* Retrieves the diagnostic check items of a cluster.
|
|
1543
1531
|
*
|
|
1544
1532
|
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
1545
1533
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
1546
1534
|
*/
|
|
1547
1535
|
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string, request: $_model.GetClusterDiagnosisCheckItemsRequest): Promise<$_model.GetClusterDiagnosisCheckItemsResponse>;
|
|
1548
1536
|
/**
|
|
1549
|
-
*
|
|
1537
|
+
* Retrieves the diagnosis result of a cluster.
|
|
1550
1538
|
*
|
|
1551
1539
|
* @param request - GetClusterDiagnosisResultRequest
|
|
1552
1540
|
* @param headers - map
|
|
@@ -1557,14 +1545,14 @@ export default class Client extends OpenApi {
|
|
|
1557
1545
|
[key: string]: string;
|
|
1558
1546
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterDiagnosisResultResponse>;
|
|
1559
1547
|
/**
|
|
1560
|
-
*
|
|
1548
|
+
* Retrieves the diagnosis result of a cluster.
|
|
1561
1549
|
*
|
|
1562
1550
|
* @param request - GetClusterDiagnosisResultRequest
|
|
1563
1551
|
* @returns GetClusterDiagnosisResultResponse
|
|
1564
1552
|
*/
|
|
1565
1553
|
getClusterDiagnosisResult(clusterId: string, diagnosisId: string, request: $_model.GetClusterDiagnosisResultRequest): Promise<$_model.GetClusterDiagnosisResultResponse>;
|
|
1566
1554
|
/**
|
|
1567
|
-
* Retrieves
|
|
1555
|
+
* Retrieves the inspection configuration of a cluster.
|
|
1568
1556
|
*
|
|
1569
1557
|
* @param headers - map
|
|
1570
1558
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1574,12 +1562,12 @@ export default class Client extends OpenApi {
|
|
|
1574
1562
|
[key: string]: string;
|
|
1575
1563
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterInspectConfigResponse>;
|
|
1576
1564
|
/**
|
|
1577
|
-
* Retrieves
|
|
1565
|
+
* Retrieves the inspection configuration of a cluster.
|
|
1578
1566
|
* @returns GetClusterInspectConfigResponse
|
|
1579
1567
|
*/
|
|
1580
1568
|
getClusterInspectConfig(clusterId: string): Promise<$_model.GetClusterInspectConfigResponse>;
|
|
1581
1569
|
/**
|
|
1582
|
-
*
|
|
1570
|
+
* Retrieves the details of a cluster inspection report.
|
|
1583
1571
|
*
|
|
1584
1572
|
* @param request - GetClusterInspectReportDetailRequest
|
|
1585
1573
|
* @param headers - map
|
|
@@ -1590,14 +1578,14 @@ export default class Client extends OpenApi {
|
|
|
1590
1578
|
[key: string]: string;
|
|
1591
1579
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterInspectReportDetailResponse>;
|
|
1592
1580
|
/**
|
|
1593
|
-
*
|
|
1581
|
+
* Retrieves the details of a cluster inspection report.
|
|
1594
1582
|
*
|
|
1595
1583
|
* @param request - GetClusterInspectReportDetailRequest
|
|
1596
1584
|
* @returns GetClusterInspectReportDetailResponse
|
|
1597
1585
|
*/
|
|
1598
1586
|
getClusterInspectReportDetail(clusterId: string, reportId: string, request: $_model.GetClusterInspectReportDetailRequest): Promise<$_model.GetClusterInspectReportDetailResponse>;
|
|
1599
1587
|
/**
|
|
1600
|
-
*
|
|
1588
|
+
* Queries the triggers of an application by application name.
|
|
1601
1589
|
*
|
|
1602
1590
|
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
1603
1591
|
*
|
|
@@ -1610,7 +1598,7 @@ export default class Client extends OpenApi {
|
|
|
1610
1598
|
[key: string]: string;
|
|
1611
1599
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetKubernetesTriggerResponse>;
|
|
1612
1600
|
/**
|
|
1613
|
-
*
|
|
1601
|
+
* Queries the triggers of an application by application name.
|
|
1614
1602
|
*
|
|
1615
1603
|
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
1616
1604
|
*
|
|
@@ -1619,7 +1607,7 @@ export default class Client extends OpenApi {
|
|
|
1619
1607
|
*/
|
|
1620
1608
|
getKubernetesTrigger(ClusterId: string, request: $_model.GetKubernetesTriggerRequest): Promise<$_model.GetKubernetesTriggerResponse>;
|
|
1621
1609
|
/**
|
|
1622
|
-
*
|
|
1610
|
+
* Queries the upgrade status of a cluster by cluster ID.
|
|
1623
1611
|
*
|
|
1624
1612
|
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
1625
1613
|
*
|
|
@@ -1631,18 +1619,18 @@ export default class Client extends OpenApi {
|
|
|
1631
1619
|
[key: string]: string;
|
|
1632
1620
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetUpgradeStatusResponse>;
|
|
1633
1621
|
/**
|
|
1634
|
-
*
|
|
1622
|
+
* Queries the upgrade status of a cluster by cluster ID.
|
|
1635
1623
|
*
|
|
1636
1624
|
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
1637
1625
|
* @returns GetUpgradeStatusResponse
|
|
1638
1626
|
*/
|
|
1639
1627
|
getUpgradeStatus(ClusterId: string): Promise<$_model.GetUpgradeStatusResponse>;
|
|
1640
1628
|
/**
|
|
1641
|
-
* By default,
|
|
1629
|
+
* By default, Resource Access Management (RAM) users or roles that are not cluster creators and have not been granted access permissions across all cluster dimensions do not have any RBAC permissions in a cluster. You can invoke the GrantPermissions operation to update the RBAC access permissions of a RAM user or role, including accessible resources, permission scope, and preset role types, to better manage cluster management security and access control.
|
|
1642
1630
|
*
|
|
1643
1631
|
* @remarks
|
|
1644
|
-
* - If
|
|
1645
|
-
* -
|
|
1632
|
+
* - If the account that invokes this API operation is a RAM user, make sure that the account has been granted the permission to modify the RBAC authorization information of other Resource Access Management (RAM) users or RAM roles. Otherwise, the API operation returns the `StatusForbidden` or `ForbiddenGrantPermissions` fault. For more information, see [Grant RBAC permissions to a RAM user](https://help.aliyun.com/document_detail/119035.html).
|
|
1633
|
+
* - The operation of fully updating the RBAC authorization information of a RAM user or RAM role overwrites the existing cluster permissions of the target RAM user or RAM role. Include all permission configurations that you want to grant to the target RAM user or RAM role in the request.
|
|
1646
1634
|
*
|
|
1647
1635
|
* @param request - GrantPermissionsRequest
|
|
1648
1636
|
* @param headers - map
|
|
@@ -1653,18 +1641,18 @@ export default class Client extends OpenApi {
|
|
|
1653
1641
|
[key: string]: string;
|
|
1654
1642
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GrantPermissionsResponse>;
|
|
1655
1643
|
/**
|
|
1656
|
-
* By default,
|
|
1644
|
+
* By default, Resource Access Management (RAM) users or roles that are not cluster creators and have not been granted access permissions across all cluster dimensions do not have any RBAC permissions in a cluster. You can invoke the GrantPermissions operation to update the RBAC access permissions of a RAM user or role, including accessible resources, permission scope, and preset role types, to better manage cluster management security and access control.
|
|
1657
1645
|
*
|
|
1658
1646
|
* @remarks
|
|
1659
|
-
* - If
|
|
1660
|
-
* -
|
|
1647
|
+
* - If the account that invokes this API operation is a RAM user, make sure that the account has been granted the permission to modify the RBAC authorization information of other Resource Access Management (RAM) users or RAM roles. Otherwise, the API operation returns the `StatusForbidden` or `ForbiddenGrantPermissions` fault. For more information, see [Grant RBAC permissions to a RAM user](https://help.aliyun.com/document_detail/119035.html).
|
|
1648
|
+
* - The operation of fully updating the RBAC authorization information of a RAM user or RAM role overwrites the existing cluster permissions of the target RAM user or RAM role. Include all permission configurations that you want to grant to the target RAM user or RAM role in the request.
|
|
1661
1649
|
*
|
|
1662
1650
|
* @param request - GrantPermissionsRequest
|
|
1663
1651
|
* @returns GrantPermissionsResponse
|
|
1664
1652
|
*/
|
|
1665
1653
|
grantPermissions(uid: string, request: $_model.GrantPermissionsRequest): Promise<$_model.GrantPermissionsResponse>;
|
|
1666
1654
|
/**
|
|
1667
|
-
*
|
|
1655
|
+
* To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, application components, logging and monitoring components, networking components, storage components, and security components. You can call the InstallClusterAddons operation to install components by specifying the component name and version.
|
|
1668
1656
|
*
|
|
1669
1657
|
* @param request - InstallClusterAddonsRequest
|
|
1670
1658
|
* @param headers - map
|
|
@@ -1675,14 +1663,14 @@ export default class Client extends OpenApi {
|
|
|
1675
1663
|
[key: string]: string;
|
|
1676
1664
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.InstallClusterAddonsResponse>;
|
|
1677
1665
|
/**
|
|
1678
|
-
*
|
|
1666
|
+
* To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, application components, logging and monitoring components, networking components, storage components, and security components. You can call the InstallClusterAddons operation to install components by specifying the component name and version.
|
|
1679
1667
|
*
|
|
1680
1668
|
* @param request - InstallClusterAddonsRequest
|
|
1681
1669
|
* @returns InstallClusterAddonsResponse
|
|
1682
1670
|
*/
|
|
1683
1671
|
installClusterAddons(ClusterId: string, request: $_model.InstallClusterAddonsRequest): Promise<$_model.InstallClusterAddonsResponse>;
|
|
1684
1672
|
/**
|
|
1685
|
-
* Installs components
|
|
1673
|
+
* Installs components on nodes. You can configure and specify nodes on which to install components.
|
|
1686
1674
|
*
|
|
1687
1675
|
* @param request - InstallNodePoolComponentsRequest
|
|
1688
1676
|
* @param headers - map
|
|
@@ -1693,14 +1681,14 @@ export default class Client extends OpenApi {
|
|
|
1693
1681
|
[key: string]: string;
|
|
1694
1682
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.InstallNodePoolComponentsResponse>;
|
|
1695
1683
|
/**
|
|
1696
|
-
* Installs components
|
|
1684
|
+
* Installs components on nodes. You can configure and specify nodes on which to install components.
|
|
1697
1685
|
*
|
|
1698
1686
|
* @param request - InstallNodePoolComponentsRequest
|
|
1699
1687
|
* @returns InstallNodePoolComponentsResponse
|
|
1700
1688
|
*/
|
|
1701
1689
|
installNodePoolComponents(clusterId: string, nodePoolId: string, request: $_model.InstallNodePoolComponentsRequest): Promise<$_model.InstallNodePoolComponentsResponse>;
|
|
1702
1690
|
/**
|
|
1703
|
-
* Queries the available components based on
|
|
1691
|
+
* Queries the list of available components based on specified parameters such as region, cluster type, cluster subtype (profile), and cluster version. You can also retrieve detailed component information, including whether a component is managed, the schema of supported custom parameters, and compatible operating system architectures.
|
|
1704
1692
|
*
|
|
1705
1693
|
* @param request - ListAddonsRequest
|
|
1706
1694
|
* @param headers - map
|
|
@@ -1711,18 +1699,17 @@ export default class Client extends OpenApi {
|
|
|
1711
1699
|
[key: string]: string;
|
|
1712
1700
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAddonsResponse>;
|
|
1713
1701
|
/**
|
|
1714
|
-
* Queries the available components based on
|
|
1702
|
+
* Queries the list of available components based on specified parameters such as region, cluster type, cluster subtype (profile), and cluster version. You can also retrieve detailed component information, including whether a component is managed, the schema of supported custom parameters, and compatible operating system architectures.
|
|
1715
1703
|
*
|
|
1716
1704
|
* @param request - ListAddonsRequest
|
|
1717
1705
|
* @returns ListAddonsResponse
|
|
1718
1706
|
*/
|
|
1719
1707
|
listAddons(request: $_model.ListAddonsRequest): Promise<$_model.ListAddonsResponse>;
|
|
1720
1708
|
/**
|
|
1721
|
-
*
|
|
1709
|
+
* Retrieves the list of auto-repair policies.
|
|
1722
1710
|
*
|
|
1723
1711
|
* @remarks
|
|
1724
|
-
* >Notice:
|
|
1725
|
-
* This API will be available in a future release.
|
|
1712
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
1726
1713
|
*
|
|
1727
1714
|
* @param headers - map
|
|
1728
1715
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1732,16 +1719,15 @@ export default class Client extends OpenApi {
|
|
|
1732
1719
|
[key: string]: string;
|
|
1733
1720
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAutoRepairPoliciesResponse>;
|
|
1734
1721
|
/**
|
|
1735
|
-
*
|
|
1722
|
+
* Retrieves the list of auto-repair policies.
|
|
1736
1723
|
*
|
|
1737
1724
|
* @remarks
|
|
1738
|
-
* >Notice:
|
|
1739
|
-
* This API will be available in a future release.
|
|
1725
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
1740
1726
|
* @returns ListAutoRepairPoliciesResponse
|
|
1741
1727
|
*/
|
|
1742
1728
|
listAutoRepairPolicies(clusterId: string): Promise<$_model.ListAutoRepairPoliciesResponse>;
|
|
1743
1729
|
/**
|
|
1744
|
-
* Queries the list of resources
|
|
1730
|
+
* Queries the list of resources contained in an installed cluster component instance, including Kubernetes cluster resources and Helm release instances.
|
|
1745
1731
|
*
|
|
1746
1732
|
* @param headers - map
|
|
1747
1733
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1751,12 +1737,12 @@ export default class Client extends OpenApi {
|
|
|
1751
1737
|
[key: string]: string;
|
|
1752
1738
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterAddonInstanceResourcesResponse>;
|
|
1753
1739
|
/**
|
|
1754
|
-
* Queries the list of resources
|
|
1740
|
+
* Queries the list of resources contained in an installed cluster component instance, including Kubernetes cluster resources and Helm release instances.
|
|
1755
1741
|
* @returns ListClusterAddonInstanceResourcesResponse
|
|
1756
1742
|
*/
|
|
1757
1743
|
listClusterAddonInstanceResources(clusterId: string, instanceName: string): Promise<$_model.ListClusterAddonInstanceResourcesResponse>;
|
|
1758
1744
|
/**
|
|
1759
|
-
*
|
|
1745
|
+
* Lists the component instances installed in a specified cluster and queries related information about the component instances, such as the component version and status.
|
|
1760
1746
|
*
|
|
1761
1747
|
* @param headers - map
|
|
1762
1748
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1766,12 +1752,12 @@ export default class Client extends OpenApi {
|
|
|
1766
1752
|
[key: string]: string;
|
|
1767
1753
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterAddonInstancesResponse>;
|
|
1768
1754
|
/**
|
|
1769
|
-
*
|
|
1755
|
+
* Lists the component instances installed in a specified cluster and queries related information about the component instances, such as the component version and status.
|
|
1770
1756
|
* @returns ListClusterAddonInstancesResponse
|
|
1771
1757
|
*/
|
|
1772
1758
|
listClusterAddonInstances(clusterId: string): Promise<$_model.ListClusterAddonInstancesResponse>;
|
|
1773
1759
|
/**
|
|
1774
|
-
* You can call the ListClusterChecks operation to query
|
|
1760
|
+
* The intelligent O&M platform for containers provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks. You can call the ListClusterChecks operation to query the list of cluster checks and related information by cluster ID, such as check type, status, creation time, and completion time.
|
|
1775
1761
|
*
|
|
1776
1762
|
* @param request - ListClusterChecksRequest
|
|
1777
1763
|
* @param headers - map
|
|
@@ -1782,14 +1768,14 @@ export default class Client extends OpenApi {
|
|
|
1782
1768
|
[key: string]: string;
|
|
1783
1769
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterChecksResponse>;
|
|
1784
1770
|
/**
|
|
1785
|
-
* You can call the ListClusterChecks operation to query
|
|
1771
|
+
* The intelligent O&M platform for containers provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks. You can call the ListClusterChecks operation to query the list of cluster checks and related information by cluster ID, such as check type, status, creation time, and completion time.
|
|
1786
1772
|
*
|
|
1787
1773
|
* @param request - ListClusterChecksRequest
|
|
1788
1774
|
* @returns ListClusterChecksResponse
|
|
1789
1775
|
*/
|
|
1790
1776
|
listClusterChecks(clusterId: string, request: $_model.ListClusterChecksRequest): Promise<$_model.ListClusterChecksResponse>;
|
|
1791
1777
|
/**
|
|
1792
|
-
*
|
|
1778
|
+
* Retrieves a list of cluster inspection reports.
|
|
1793
1779
|
*
|
|
1794
1780
|
* @param request - ListClusterInspectReportsRequest
|
|
1795
1781
|
* @param headers - map
|
|
@@ -1800,18 +1786,18 @@ export default class Client extends OpenApi {
|
|
|
1800
1786
|
[key: string]: string;
|
|
1801
1787
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterInspectReportsResponse>;
|
|
1802
1788
|
/**
|
|
1803
|
-
*
|
|
1789
|
+
* Retrieves a list of cluster inspection reports.
|
|
1804
1790
|
*
|
|
1805
1791
|
* @param request - ListClusterInspectReportsRequest
|
|
1806
1792
|
* @returns ListClusterInspectReportsResponse
|
|
1807
1793
|
*/
|
|
1808
1794
|
listClusterInspectReports(clusterId: string, request: $_model.ListClusterInspectReportsRequest): Promise<$_model.ListClusterInspectReportsResponse>;
|
|
1809
1795
|
/**
|
|
1810
|
-
*
|
|
1796
|
+
* Queries the list and status of KubeConfigs that have been issued to users in a specified cluster. You can call this operation to view the access control status of the current cluster.
|
|
1811
1797
|
*
|
|
1812
1798
|
* @remarks
|
|
1813
|
-
* > -
|
|
1814
|
-
* > -
|
|
1799
|
+
* > - To call this operation, you must have the ram:ListUsers and ram:ListRoles permissions.
|
|
1800
|
+
* > - To call this operation, you must have full access to Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
1815
1801
|
*
|
|
1816
1802
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
1817
1803
|
* @param headers - map
|
|
@@ -1822,18 +1808,18 @@ export default class Client extends OpenApi {
|
|
|
1822
1808
|
[key: string]: string;
|
|
1823
1809
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterKubeconfigStatesResponse>;
|
|
1824
1810
|
/**
|
|
1825
|
-
*
|
|
1811
|
+
* Queries the list and status of KubeConfigs that have been issued to users in a specified cluster. You can call this operation to view the access control status of the current cluster.
|
|
1826
1812
|
*
|
|
1827
1813
|
* @remarks
|
|
1828
|
-
* > -
|
|
1829
|
-
* > -
|
|
1814
|
+
* > - To call this operation, you must have the ram:ListUsers and ram:ListRoles permissions.
|
|
1815
|
+
* > - To call this operation, you must have full access to Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
1830
1816
|
*
|
|
1831
1817
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
1832
1818
|
* @returns ListClusterKubeconfigStatesResponse
|
|
1833
1819
|
*/
|
|
1834
1820
|
listClusterKubeconfigStates(ClusterId: string, request: $_model.ListClusterKubeconfigStatesRequest): Promise<$_model.ListClusterKubeconfigStatesResponse>;
|
|
1835
1821
|
/**
|
|
1836
|
-
*
|
|
1822
|
+
* Retrieves a list of automated O&M execution plans.
|
|
1837
1823
|
*
|
|
1838
1824
|
* @param request - ListOperationPlansRequest
|
|
1839
1825
|
* @param headers - map
|
|
@@ -1844,14 +1830,14 @@ export default class Client extends OpenApi {
|
|
|
1844
1830
|
[key: string]: string;
|
|
1845
1831
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOperationPlansResponse>;
|
|
1846
1832
|
/**
|
|
1847
|
-
*
|
|
1833
|
+
* Retrieves a list of automated O&M execution plans.
|
|
1848
1834
|
*
|
|
1849
1835
|
* @param request - ListOperationPlansRequest
|
|
1850
1836
|
* @returns ListOperationPlansResponse
|
|
1851
1837
|
*/
|
|
1852
1838
|
listOperationPlans(request: $_model.ListOperationPlansRequest): Promise<$_model.ListOperationPlansResponse>;
|
|
1853
1839
|
/**
|
|
1854
|
-
*
|
|
1840
|
+
* Queries the most recent 100 automated O&M execution plans in a specified region. When features such as cluster intelligent managed mode (Auto Mode), automatic cluster upgrade, or node pool automated O&M are enabled, you can call this operation to query the O&M plans automatically generated by the system and their execution status, such as cluster upgrades and node pool CVE fixes.
|
|
1855
1841
|
*
|
|
1856
1842
|
* @param request - ListOperationPlansForRegionRequest
|
|
1857
1843
|
* @param headers - map
|
|
@@ -1862,14 +1848,14 @@ export default class Client extends OpenApi {
|
|
|
1862
1848
|
[key: string]: string;
|
|
1863
1849
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOperationPlansForRegionResponse>;
|
|
1864
1850
|
/**
|
|
1865
|
-
*
|
|
1851
|
+
* Queries the most recent 100 automated O&M execution plans in a specified region. When features such as cluster intelligent managed mode (Auto Mode), automatic cluster upgrade, or node pool automated O&M are enabled, you can call this operation to query the O&M plans automatically generated by the system and their execution status, such as cluster upgrades and node pool CVE fixes.
|
|
1866
1852
|
*
|
|
1867
1853
|
* @param request - ListOperationPlansForRegionRequest
|
|
1868
1854
|
* @returns ListOperationPlansForRegionResponse
|
|
1869
1855
|
*/
|
|
1870
1856
|
listOperationPlansForRegion(regionId: string, request: $_model.ListOperationPlansForRegionRequest): Promise<$_model.ListOperationPlansForRegionResponse>;
|
|
1871
1857
|
/**
|
|
1872
|
-
*
|
|
1858
|
+
* You can add tag key-value pairs to clusters so that cluster developers or O&M engineers can classify and manage clusters more flexibly, and better support requirements such as monitoring, cost analysis, and multi-tenant data isolation. You can call the ListTagResources operation to obtain a list of resource tags and query detailed tag information, such as key-value pairs and associated clusters.
|
|
1873
1859
|
*
|
|
1874
1860
|
* @param tmpReq - ListTagResourcesRequest
|
|
1875
1861
|
* @param headers - map
|
|
@@ -1880,17 +1866,17 @@ export default class Client extends OpenApi {
|
|
|
1880
1866
|
[key: string]: string;
|
|
1881
1867
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagResourcesResponse>;
|
|
1882
1868
|
/**
|
|
1883
|
-
*
|
|
1869
|
+
* You can add tag key-value pairs to clusters so that cluster developers or O&M engineers can classify and manage clusters more flexibly, and better support requirements such as monitoring, cost analysis, and multi-tenant data isolation. You can call the ListTagResources operation to obtain a list of resource tags and query detailed tag information, such as key-value pairs and associated clusters.
|
|
1884
1870
|
*
|
|
1885
1871
|
* @param request - ListTagResourcesRequest
|
|
1886
1872
|
* @returns ListTagResourcesResponse
|
|
1887
1873
|
*/
|
|
1888
1874
|
listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse>;
|
|
1889
1875
|
/**
|
|
1890
|
-
*
|
|
1876
|
+
* Queries the KubeConfig status list of all clusters for the current user. If you want to view the KubeConfig issuance status of each cluster for the current user, you can call this operation to retrieve the KubeConfig status list of all clusters.
|
|
1891
1877
|
*
|
|
1892
1878
|
* @remarks
|
|
1893
|
-
* >
|
|
1879
|
+
* > To call this operation, you must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
1894
1880
|
*
|
|
1895
1881
|
* @param request - ListUserKubeConfigStatesRequest
|
|
1896
1882
|
* @param headers - map
|
|
@@ -1901,20 +1887,20 @@ export default class Client extends OpenApi {
|
|
|
1901
1887
|
[key: string]: string;
|
|
1902
1888
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserKubeConfigStatesResponse>;
|
|
1903
1889
|
/**
|
|
1904
|
-
*
|
|
1890
|
+
* Queries the KubeConfig status list of all clusters for the current user. If you want to view the KubeConfig issuance status of each cluster for the current user, you can call this operation to retrieve the KubeConfig status list of all clusters.
|
|
1905
1891
|
*
|
|
1906
1892
|
* @remarks
|
|
1907
|
-
* >
|
|
1893
|
+
* > To call this operation, you must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
1908
1894
|
*
|
|
1909
1895
|
* @param request - ListUserKubeConfigStatesRequest
|
|
1910
1896
|
* @returns ListUserKubeConfigStatesResponse
|
|
1911
1897
|
*/
|
|
1912
1898
|
listUserKubeConfigStates(Uid: string, request: $_model.ListUserKubeConfigStatesRequest): Promise<$_model.ListUserKubeConfigStatesResponse>;
|
|
1913
1899
|
/**
|
|
1914
|
-
*
|
|
1900
|
+
* ACK ACK clusters are an evolution of ACK Basic clusters, inheriting all the advantages of managed clusters, such as managed control planes and high-availability control planes. ACK ACK clusters further enhance cluster reliability, security, and scheduling capabilities, and support SLAs with compensation standards. ACK ACK clusters are suitable for enterprise customers who run large-scale workloads in production environments and have high requirements for stability and security. You can call the MigrateCluster operation to migrate an ACK Basic cluster to an ACK ACK cluster.
|
|
1915
1901
|
*
|
|
1916
1902
|
* @remarks
|
|
1917
|
-
* ACK
|
|
1903
|
+
* After you migrate an ACK managed Basic cluster to an ACK managed Pro cluster, a [cluster management fee](https://help.aliyun.com/document_detail/462278.html) charged by ACK is added. Billing for other cloud resources remains unchanged.
|
|
1918
1904
|
*
|
|
1919
1905
|
* @param request - MigrateClusterRequest
|
|
1920
1906
|
* @param headers - map
|
|
@@ -1925,21 +1911,20 @@ export default class Client extends OpenApi {
|
|
|
1925
1911
|
[key: string]: string;
|
|
1926
1912
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.MigrateClusterResponse>;
|
|
1927
1913
|
/**
|
|
1928
|
-
*
|
|
1914
|
+
* ACK ACK clusters are an evolution of ACK Basic clusters, inheriting all the advantages of managed clusters, such as managed control planes and high-availability control planes. ACK ACK clusters further enhance cluster reliability, security, and scheduling capabilities, and support SLAs with compensation standards. ACK ACK clusters are suitable for enterprise customers who run large-scale workloads in production environments and have high requirements for stability and security. You can call the MigrateCluster operation to migrate an ACK Basic cluster to an ACK ACK cluster.
|
|
1929
1915
|
*
|
|
1930
1916
|
* @remarks
|
|
1931
|
-
* ACK
|
|
1917
|
+
* After you migrate an ACK managed Basic cluster to an ACK managed Pro cluster, a [cluster management fee](https://help.aliyun.com/document_detail/462278.html) charged by ACK is added. Billing for other cloud resources remains unchanged.
|
|
1932
1918
|
*
|
|
1933
1919
|
* @param request - MigrateClusterRequest
|
|
1934
1920
|
* @returns MigrateClusterResponse
|
|
1935
1921
|
*/
|
|
1936
1922
|
migrateCluster(clusterId: string, request: $_model.MigrateClusterRequest): Promise<$_model.MigrateClusterResponse>;
|
|
1937
1923
|
/**
|
|
1938
|
-
*
|
|
1924
|
+
* Modifies a self-healing rule.
|
|
1939
1925
|
*
|
|
1940
1926
|
* @remarks
|
|
1941
|
-
* >Notice:
|
|
1942
|
-
* This API is not yet available.
|
|
1927
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
1943
1928
|
*
|
|
1944
1929
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
1945
1930
|
* @param headers - map
|
|
@@ -1950,11 +1935,10 @@ export default class Client extends OpenApi {
|
|
|
1950
1935
|
[key: string]: string;
|
|
1951
1936
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAutoRepairPolicyResponse>;
|
|
1952
1937
|
/**
|
|
1953
|
-
*
|
|
1938
|
+
* Modifies a self-healing rule.
|
|
1954
1939
|
*
|
|
1955
1940
|
* @remarks
|
|
1956
|
-
* >Notice:
|
|
1957
|
-
* This API is not yet available.
|
|
1941
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
1958
1942
|
*
|
|
1959
1943
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
1960
1944
|
* @returns ModifyAutoRepairPolicyResponse
|
|
@@ -1964,8 +1948,7 @@ export default class Client extends OpenApi {
|
|
|
1964
1948
|
* You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
|
|
1965
1949
|
*
|
|
1966
1950
|
* @remarks
|
|
1967
|
-
* >
|
|
1968
|
-
* Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For details about the changes, see [Announcement on changes to input and output parameters and deprecation of OpenAPI operations related to ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).
|
|
1951
|
+
* <notice>Starting from July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For details about the changes, see [Announcement on Changes to ACK Cluster Management OpenAPI Parameters and OpenAPI Deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
1969
1952
|
*
|
|
1970
1953
|
* @param request - ModifyClusterRequest
|
|
1971
1954
|
* @param headers - map
|
|
@@ -1979,21 +1962,20 @@ export default class Client extends OpenApi {
|
|
|
1979
1962
|
* You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
|
|
1980
1963
|
*
|
|
1981
1964
|
* @remarks
|
|
1982
|
-
* >
|
|
1983
|
-
* Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For details about the changes, see [Announcement on changes to input and output parameters and deprecation of OpenAPI operations related to ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).
|
|
1965
|
+
* <notice>Starting from July 04, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For details about the changes, see [Announcement on Changes to ACK Cluster Management OpenAPI Parameters and OpenAPI Deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
1984
1966
|
*
|
|
1985
1967
|
* @param request - ModifyClusterRequest
|
|
1986
1968
|
* @returns ModifyClusterResponse
|
|
1987
1969
|
*/
|
|
1988
1970
|
modifyCluster(ClusterId: string, request: $_model.ModifyClusterRequest): Promise<$_model.ModifyClusterResponse>;
|
|
1989
1971
|
/**
|
|
1990
|
-
* Modifies the configuration of
|
|
1972
|
+
* Modifies the configuration of an installed cluster component instance. Modifying configurations may affect your services. Evaluate the impact before performing this operation during off-peak hours and back up relevant data in advance.
|
|
1991
1973
|
*
|
|
1992
1974
|
* @remarks
|
|
1993
|
-
* You can call this API operation to modify the
|
|
1994
|
-
*
|
|
1995
|
-
*
|
|
1996
|
-
*
|
|
1975
|
+
* You can call this API operation to modify the configuration of common clusters components and the control plane parameter settings of ACK Pro clusters:
|
|
1976
|
+
* - To query the configurable parameters of common components, call the DescribeClusterAddonMetadata API operation. For details, see [Query cluster component version metadata](https://help.aliyun.com/document_detail/2667944.html).
|
|
1977
|
+
* - For the configurable control plane parameter settings of ACK Pro clusters, see [Customize control plane parameters of ACK Pro clusters](https://help.aliyun.com/document_detail/199588.html).
|
|
1978
|
+
* Modifying configurations may cause the component to be redeployed and restarted. Evaluate the impact before performing this operation.
|
|
1997
1979
|
*
|
|
1998
1980
|
* @param request - ModifyClusterAddonRequest
|
|
1999
1981
|
* @param headers - map
|
|
@@ -2004,20 +1986,20 @@ export default class Client extends OpenApi {
|
|
|
2004
1986
|
[key: string]: string;
|
|
2005
1987
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterAddonResponse>;
|
|
2006
1988
|
/**
|
|
2007
|
-
* Modifies the configuration of
|
|
1989
|
+
* Modifies the configuration of an installed cluster component instance. Modifying configurations may affect your services. Evaluate the impact before performing this operation during off-peak hours and back up relevant data in advance.
|
|
2008
1990
|
*
|
|
2009
1991
|
* @remarks
|
|
2010
|
-
* You can call this API operation to modify the
|
|
2011
|
-
*
|
|
2012
|
-
*
|
|
2013
|
-
*
|
|
1992
|
+
* You can call this API operation to modify the configuration of common clusters components and the control plane parameter settings of ACK Pro clusters:
|
|
1993
|
+
* - To query the configurable parameters of common components, call the DescribeClusterAddonMetadata API operation. For details, see [Query cluster component version metadata](https://help.aliyun.com/document_detail/2667944.html).
|
|
1994
|
+
* - For the configurable control plane parameter settings of ACK Pro clusters, see [Customize control plane parameters of ACK Pro clusters](https://help.aliyun.com/document_detail/199588.html).
|
|
1995
|
+
* Modifying configurations may cause the component to be redeployed and restarted. Evaluate the impact before performing this operation.
|
|
2014
1996
|
*
|
|
2015
1997
|
* @param request - ModifyClusterAddonRequest
|
|
2016
1998
|
* @returns ModifyClusterAddonResponse
|
|
2017
1999
|
*/
|
|
2018
2000
|
modifyClusterAddon(clusterId: string, componentId: string, request: $_model.ModifyClusterAddonRequest): Promise<$_model.ModifyClusterAddonResponse>;
|
|
2019
2001
|
/**
|
|
2020
|
-
*
|
|
2002
|
+
* You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
|
|
2021
2003
|
*
|
|
2022
2004
|
* @param request - ModifyClusterNodePoolRequest
|
|
2023
2005
|
* @param headers - map
|
|
@@ -2028,17 +2010,17 @@ export default class Client extends OpenApi {
|
|
|
2028
2010
|
[key: string]: string;
|
|
2029
2011
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterNodePoolResponse>;
|
|
2030
2012
|
/**
|
|
2031
|
-
*
|
|
2013
|
+
* You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
|
|
2032
2014
|
*
|
|
2033
2015
|
* @param request - ModifyClusterNodePoolRequest
|
|
2034
2016
|
* @returns ModifyClusterNodePoolResponse
|
|
2035
2017
|
*/
|
|
2036
2018
|
modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: $_model.ModifyClusterNodePoolRequest): Promise<$_model.ModifyClusterNodePoolResponse>;
|
|
2037
2019
|
/**
|
|
2038
|
-
* You can add
|
|
2020
|
+
* You can add tag key-value pairs to clusters so that cluster developers or O&M engineers can categorize 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.
|
|
2039
2021
|
*
|
|
2040
2022
|
* @remarks
|
|
2041
|
-
* -
|
|
2023
|
+
* - This operation performs a full update. When you call this operation, specify all target tags as input parameters to avoid losing existing tags. To perform an incremental update, use [TagResources to bind tags to a cluster](https://help.aliyun.com/document_detail/2667969.html).
|
|
2042
2024
|
*
|
|
2043
2025
|
* @param request - ModifyClusterTagsRequest
|
|
2044
2026
|
* @param headers - map
|
|
@@ -2049,20 +2031,20 @@ export default class Client extends OpenApi {
|
|
|
2049
2031
|
[key: string]: string;
|
|
2050
2032
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterTagsResponse>;
|
|
2051
2033
|
/**
|
|
2052
|
-
* You can add
|
|
2034
|
+
* You can add tag key-value pairs to clusters so that cluster developers or O&M engineers can categorize 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.
|
|
2053
2035
|
*
|
|
2054
2036
|
* @remarks
|
|
2055
|
-
* -
|
|
2037
|
+
* - This operation performs a full update. When you call this operation, specify all target tags as input parameters to avoid losing existing tags. To perform an incremental update, use [TagResources to bind tags to a cluster](https://help.aliyun.com/document_detail/2667969.html).
|
|
2056
2038
|
*
|
|
2057
2039
|
* @param request - ModifyClusterTagsRequest
|
|
2058
2040
|
* @returns ModifyClusterTagsResponse
|
|
2059
2041
|
*/
|
|
2060
2042
|
modifyClusterTags(ClusterId: string, request: $_model.ModifyClusterTagsRequest): Promise<$_model.ModifyClusterTagsResponse>;
|
|
2061
2043
|
/**
|
|
2062
|
-
*
|
|
2044
|
+
* You can call the ModifyNodePoolNodeConfig operation to modify the node configuration in a cluster node pool, such as kubelet configuration and node rolling update configuration. Modifying node configuration changes the node configuration in batches and restarts kubelet, which may affect node operations and workload operations. We recommend that you perform this operation during off-peak hours.
|
|
2063
2045
|
*
|
|
2064
2046
|
* @remarks
|
|
2065
|
-
* >
|
|
2047
|
+
* > ACK allows you to modify the kubelet configuration of nodes in a node pool. After the modification is complete, the changes automatically take effect on the nodes in the node pool, and newly added nodes in the node pool also use the new configuration.
|
|
2066
2048
|
*
|
|
2067
2049
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
2068
2050
|
* @param headers - map
|
|
@@ -2073,17 +2055,17 @@ export default class Client extends OpenApi {
|
|
|
2073
2055
|
[key: string]: string;
|
|
2074
2056
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyNodePoolNodeConfigResponse>;
|
|
2075
2057
|
/**
|
|
2076
|
-
*
|
|
2058
|
+
* You can call the ModifyNodePoolNodeConfig operation to modify the node configuration in a cluster node pool, such as kubelet configuration and node rolling update configuration. Modifying node configuration changes the node configuration in batches and restarts kubelet, which may affect node operations and workload operations. We recommend that you perform this operation during off-peak hours.
|
|
2077
2059
|
*
|
|
2078
2060
|
* @remarks
|
|
2079
|
-
* >
|
|
2061
|
+
* > ACK allows you to modify the kubelet configuration of nodes in a node pool. After the modification is complete, the changes automatically take effect on the nodes in the node pool, and newly added nodes in the node pool also use the new configuration.
|
|
2080
2062
|
*
|
|
2081
2063
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
2082
2064
|
* @returns ModifyNodePoolNodeConfigResponse
|
|
2083
2065
|
*/
|
|
2084
2066
|
modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: $_model.ModifyNodePoolNodeConfigRequest): Promise<$_model.ModifyNodePoolNodeConfigResponse>;
|
|
2085
2067
|
/**
|
|
2086
|
-
* Updates a policy in a
|
|
2068
|
+
* Updates a policy rule instance in a specified cluster. You can modify the governance action (alert or block) and the scope of namespaces to which the policy instance applies.
|
|
2087
2069
|
*
|
|
2088
2070
|
* @param request - ModifyPolicyInstanceRequest
|
|
2089
2071
|
* @param headers - map
|
|
@@ -2094,18 +2076,18 @@ export default class Client extends OpenApi {
|
|
|
2094
2076
|
[key: string]: string;
|
|
2095
2077
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyPolicyInstanceResponse>;
|
|
2096
2078
|
/**
|
|
2097
|
-
* Updates a policy in a
|
|
2079
|
+
* Updates a policy rule instance in a specified cluster. You can modify the governance action (alert or block) and the scope of namespaces to which the policy instance applies.
|
|
2098
2080
|
*
|
|
2099
2081
|
* @param request - ModifyPolicyInstanceRequest
|
|
2100
2082
|
* @returns ModifyPolicyInstanceResponse
|
|
2101
2083
|
*/
|
|
2102
2084
|
modifyPolicyInstance(clusterId: string, policyName: string, request: $_model.ModifyPolicyInstanceRequest): Promise<$_model.ModifyPolicyInstanceResponse>;
|
|
2103
2085
|
/**
|
|
2104
|
-
* When
|
|
2086
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
|
|
2105
2087
|
*
|
|
2106
2088
|
* @remarks
|
|
2107
|
-
*
|
|
2108
|
-
*
|
|
2089
|
+
* - An Alibaba Cloud account can activate ACK.
|
|
2090
|
+
* - A Resource Access Management (RAM) user that has the AdministratorAccess permission can activate the service.
|
|
2109
2091
|
*
|
|
2110
2092
|
* @param request - OpenAckServiceRequest
|
|
2111
2093
|
* @param headers - map
|
|
@@ -2116,18 +2098,18 @@ export default class Client extends OpenApi {
|
|
|
2116
2098
|
[key: string]: string;
|
|
2117
2099
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.OpenAckServiceResponse>;
|
|
2118
2100
|
/**
|
|
2119
|
-
* When
|
|
2101
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
|
|
2120
2102
|
*
|
|
2121
2103
|
* @remarks
|
|
2122
|
-
*
|
|
2123
|
-
*
|
|
2104
|
+
* - An Alibaba Cloud account can activate ACK.
|
|
2105
|
+
* - A Resource Access Management (RAM) user that has the AdministratorAccess permission can activate the service.
|
|
2124
2106
|
*
|
|
2125
2107
|
* @param request - OpenAckServiceRequest
|
|
2126
2108
|
* @returns OpenAckServiceResponse
|
|
2127
2109
|
*/
|
|
2128
2110
|
openAckService(request: $_model.OpenAckServiceRequest): Promise<$_model.OpenAckServiceResponse>;
|
|
2129
2111
|
/**
|
|
2130
|
-
*
|
|
2112
|
+
* Pauses a cluster upgrade.
|
|
2131
2113
|
*
|
|
2132
2114
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
2133
2115
|
*
|
|
@@ -2139,14 +2121,14 @@ export default class Client extends OpenApi {
|
|
|
2139
2121
|
[key: string]: string;
|
|
2140
2122
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.PauseClusterUpgradeResponse>;
|
|
2141
2123
|
/**
|
|
2142
|
-
*
|
|
2124
|
+
* Pauses a cluster upgrade.
|
|
2143
2125
|
*
|
|
2144
2126
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
2145
2127
|
* @returns PauseClusterUpgradeResponse
|
|
2146
2128
|
*/
|
|
2147
2129
|
pauseClusterUpgrade(ClusterId: string): Promise<$_model.PauseClusterUpgradeResponse>;
|
|
2148
2130
|
/**
|
|
2149
|
-
*
|
|
2131
|
+
* Pauses a component upgrade.
|
|
2150
2132
|
*
|
|
2151
2133
|
* @deprecated OpenAPI PauseComponentUpgrade is deprecated
|
|
2152
2134
|
*
|
|
@@ -2158,14 +2140,14 @@ export default class Client extends OpenApi {
|
|
|
2158
2140
|
[key: string]: string;
|
|
2159
2141
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.PauseComponentUpgradeResponse>;
|
|
2160
2142
|
/**
|
|
2161
|
-
*
|
|
2143
|
+
* Pauses a component upgrade.
|
|
2162
2144
|
*
|
|
2163
2145
|
* @deprecated OpenAPI PauseComponentUpgrade is deprecated
|
|
2164
2146
|
* @returns PauseComponentUpgradeResponse
|
|
2165
2147
|
*/
|
|
2166
2148
|
pauseComponentUpgrade(clusterid: string, componentid: string): Promise<$_model.PauseComponentUpgradeResponse>;
|
|
2167
2149
|
/**
|
|
2168
|
-
*
|
|
2150
|
+
* You can call the PauseTask operation to pause a running cluster task.
|
|
2169
2151
|
*
|
|
2170
2152
|
* @param headers - map
|
|
2171
2153
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2175,7 +2157,7 @@ export default class Client extends OpenApi {
|
|
|
2175
2157
|
[key: string]: string;
|
|
2176
2158
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.PauseTaskResponse>;
|
|
2177
2159
|
/**
|
|
2178
|
-
*
|
|
2160
|
+
* You can call the PauseTask operation to pause a running cluster task.
|
|
2179
2161
|
* @returns PauseTaskResponse
|
|
2180
2162
|
*/
|
|
2181
2163
|
pauseTask(taskId: string): Promise<$_model.PauseTaskResponse>;
|
|
@@ -2202,14 +2184,14 @@ export default class Client extends OpenApi {
|
|
|
2202
2184
|
*/
|
|
2203
2185
|
removeClusterNodes(ClusterId: string, request: $_model.RemoveClusterNodesRequest): Promise<$_model.RemoveClusterNodesResponse>;
|
|
2204
2186
|
/**
|
|
2205
|
-
* Removes nodes from a node pool.
|
|
2187
|
+
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes. When removing nodes, you can specify whether to release the associated ECS instances and whether to drain the nodes. Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours and back up your data in advance.
|
|
2206
2188
|
*
|
|
2207
2189
|
* @remarks
|
|
2208
|
-
*
|
|
2209
|
-
*
|
|
2210
|
-
*
|
|
2211
|
-
*
|
|
2212
|
-
*
|
|
2190
|
+
* - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
|
|
2191
|
+
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
2192
|
+
* - During the operation, the nodes being removed are set to the unschedulable state in the background.
|
|
2193
|
+
* - This operation removes only worker nodes, not master nodes.
|
|
2194
|
+
* - Even if you choose to release nodes (nodes for which `release_node` is set to `true`), subscription nodes are not released. After removing the nodes, release them in the [ECS console](https://ecs.console.aliyun.com/).
|
|
2213
2195
|
*
|
|
2214
2196
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
2215
2197
|
* @param headers - map
|
|
@@ -2220,21 +2202,21 @@ export default class Client extends OpenApi {
|
|
|
2220
2202
|
[key: string]: string;
|
|
2221
2203
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveNodePoolNodesResponse>;
|
|
2222
2204
|
/**
|
|
2223
|
-
* Removes nodes from a node pool.
|
|
2205
|
+
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes. When removing nodes, you can specify whether to release the associated ECS instances and whether to drain the nodes. Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours and back up your data in advance.
|
|
2224
2206
|
*
|
|
2225
2207
|
* @remarks
|
|
2226
|
-
*
|
|
2227
|
-
*
|
|
2228
|
-
*
|
|
2229
|
-
*
|
|
2230
|
-
*
|
|
2208
|
+
* - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
|
|
2209
|
+
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
2210
|
+
* - During the operation, the nodes being removed are set to the unschedulable state in the background.
|
|
2211
|
+
* - This operation removes only worker nodes, not master nodes.
|
|
2212
|
+
* - Even if you choose to release nodes (nodes for which `release_node` is set to `true`), subscription nodes are not released. After removing the nodes, release them in the [ECS console](https://ecs.console.aliyun.com/).
|
|
2231
2213
|
*
|
|
2232
2214
|
* @param request - RemoveNodePoolNodesRequest
|
|
2233
2215
|
* @returns RemoveNodePoolNodesResponse
|
|
2234
2216
|
*/
|
|
2235
2217
|
removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: $_model.RemoveNodePoolNodesRequest): Promise<$_model.RemoveNodePoolNodesResponse>;
|
|
2236
2218
|
/**
|
|
2237
|
-
* Repairs a node pool.
|
|
2219
|
+
* Repairs nodes in a cluster node pool.
|
|
2238
2220
|
*
|
|
2239
2221
|
* @param request - RepairClusterNodePoolRequest
|
|
2240
2222
|
* @param headers - map
|
|
@@ -2245,14 +2227,14 @@ export default class Client extends OpenApi {
|
|
|
2245
2227
|
[key: string]: string;
|
|
2246
2228
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RepairClusterNodePoolResponse>;
|
|
2247
2229
|
/**
|
|
2248
|
-
* Repairs a node pool.
|
|
2230
|
+
* Repairs nodes in a cluster node pool.
|
|
2249
2231
|
*
|
|
2250
2232
|
* @param request - RepairClusterNodePoolRequest
|
|
2251
2233
|
* @returns RepairClusterNodePoolResponse
|
|
2252
2234
|
*/
|
|
2253
2235
|
repairClusterNodePool(clusterId: string, nodepoolId: string, request: $_model.RepairClusterNodePoolRequest): Promise<$_model.RepairClusterNodePoolResponse>;
|
|
2254
2236
|
/**
|
|
2255
|
-
*
|
|
2237
|
+
* Calls ResumeComponentUpgrade to restart a paused component upgrade task.
|
|
2256
2238
|
*
|
|
2257
2239
|
* @deprecated OpenAPI ResumeComponentUpgrade is deprecated
|
|
2258
2240
|
*
|
|
@@ -2264,14 +2246,14 @@ export default class Client extends OpenApi {
|
|
|
2264
2246
|
[key: string]: string;
|
|
2265
2247
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeComponentUpgradeResponse>;
|
|
2266
2248
|
/**
|
|
2267
|
-
*
|
|
2249
|
+
* Calls ResumeComponentUpgrade to restart a paused component upgrade task.
|
|
2268
2250
|
*
|
|
2269
2251
|
* @deprecated OpenAPI ResumeComponentUpgrade is deprecated
|
|
2270
2252
|
* @returns ResumeComponentUpgradeResponse
|
|
2271
2253
|
*/
|
|
2272
2254
|
resumeComponentUpgrade(clusterid: string, componentid: string): Promise<$_model.ResumeComponentUpgradeResponse>;
|
|
2273
2255
|
/**
|
|
2274
|
-
* Resumes a task.
|
|
2256
|
+
* Resumes a paused cluster task.
|
|
2275
2257
|
*
|
|
2276
2258
|
* @param headers - map
|
|
2277
2259
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2281,12 +2263,12 @@ export default class Client extends OpenApi {
|
|
|
2281
2263
|
[key: string]: string;
|
|
2282
2264
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeTaskResponse>;
|
|
2283
2265
|
/**
|
|
2284
|
-
* Resumes a task.
|
|
2266
|
+
* Resumes a paused cluster task.
|
|
2285
2267
|
* @returns ResumeTaskResponse
|
|
2286
2268
|
*/
|
|
2287
2269
|
resumeTask(taskId: string): Promise<$_model.ResumeTaskResponse>;
|
|
2288
2270
|
/**
|
|
2289
|
-
*
|
|
2271
|
+
* Resumes the upgrade of a cluster that is in the upgrade-paused state based on the cluster ID.
|
|
2290
2272
|
*
|
|
2291
2273
|
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
2292
2274
|
*
|
|
@@ -2298,14 +2280,14 @@ export default class Client extends OpenApi {
|
|
|
2298
2280
|
[key: string]: string;
|
|
2299
2281
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeUpgradeClusterResponse>;
|
|
2300
2282
|
/**
|
|
2301
|
-
*
|
|
2283
|
+
* Resumes the upgrade of a cluster that is in the upgrade-paused state based on the cluster ID.
|
|
2302
2284
|
*
|
|
2303
2285
|
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
2304
2286
|
* @returns ResumeUpgradeClusterResponse
|
|
2305
2287
|
*/
|
|
2306
2288
|
resumeUpgradeCluster(ClusterId: string): Promise<$_model.ResumeUpgradeClusterResponse>;
|
|
2307
2289
|
/**
|
|
2308
|
-
*
|
|
2290
|
+
* If you want to revoke the cluster KubeConfig credential owned by the currently logged-on Alibaba Cloud account or Resource Access Management (RAM) user, you can call the RevokeK8sClusterKubeConfig operation to revoke it. After the revocation succeeds, the cluster generates a new KubeConfig, and the original KubeConfig becomes invalid.
|
|
2309
2291
|
*
|
|
2310
2292
|
* @param headers - map
|
|
2311
2293
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2315,12 +2297,12 @@ export default class Client extends OpenApi {
|
|
|
2315
2297
|
[key: string]: string;
|
|
2316
2298
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeK8sClusterKubeConfigResponse>;
|
|
2317
2299
|
/**
|
|
2318
|
-
*
|
|
2300
|
+
* If you want to revoke the cluster KubeConfig credential owned by the currently logged-on Alibaba Cloud account or Resource Access Management (RAM) user, you can call the RevokeK8sClusterKubeConfig operation to revoke it. After the revocation succeeds, the cluster generates a new KubeConfig, and the original KubeConfig becomes invalid.
|
|
2319
2301
|
* @returns RevokeK8sClusterKubeConfigResponse
|
|
2320
2302
|
*/
|
|
2321
2303
|
revokeK8sClusterKubeConfig(ClusterId: string): Promise<$_model.RevokeK8sClusterKubeConfigResponse>;
|
|
2322
2304
|
/**
|
|
2323
|
-
*
|
|
2305
|
+
* The intelligent O&M platform for containers provides a wide range of Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks. Before an upgrade, migration, or installation operation is performed, the platform automatically triggers a check. You can perform the change operation only after the check is passed. You can also manually call the RunClusterCheck operation to perform a cluster check. Periodically check and maintain your clusters to prevent security risks.
|
|
2324
2306
|
*
|
|
2325
2307
|
* @param request - RunClusterCheckRequest
|
|
2326
2308
|
* @param headers - map
|
|
@@ -2331,14 +2313,14 @@ export default class Client extends OpenApi {
|
|
|
2331
2313
|
[key: string]: string;
|
|
2332
2314
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RunClusterCheckResponse>;
|
|
2333
2315
|
/**
|
|
2334
|
-
*
|
|
2316
|
+
* The intelligent O&M platform for containers provides a wide range of Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks. Before an upgrade, migration, or installation operation is performed, the platform automatically triggers a check. You can perform the change operation only after the check is passed. You can also manually call the RunClusterCheck operation to perform a cluster check. Periodically check and maintain your clusters to prevent security risks.
|
|
2335
2317
|
*
|
|
2336
2318
|
* @param request - RunClusterCheckRequest
|
|
2337
2319
|
* @returns RunClusterCheckResponse
|
|
2338
2320
|
*/
|
|
2339
2321
|
runClusterCheck(clusterId: string, request: $_model.RunClusterCheckRequest): Promise<$_model.RunClusterCheckResponse>;
|
|
2340
2322
|
/**
|
|
2341
|
-
*
|
|
2323
|
+
* Initiates a cluster inspection and creates an inspection report.
|
|
2342
2324
|
*
|
|
2343
2325
|
* @param request - RunClusterInspectRequest
|
|
2344
2326
|
* @param headers - map
|
|
@@ -2349,7 +2331,7 @@ export default class Client extends OpenApi {
|
|
|
2349
2331
|
[key: string]: string;
|
|
2350
2332
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RunClusterInspectResponse>;
|
|
2351
2333
|
/**
|
|
2352
|
-
*
|
|
2334
|
+
* Initiates a cluster inspection and creates an inspection report.
|
|
2353
2335
|
*
|
|
2354
2336
|
* @param request - RunClusterInspectRequest
|
|
2355
2337
|
* @returns RunClusterInspectResponse
|
|
@@ -2374,7 +2356,7 @@ export default class Client extends OpenApi {
|
|
|
2374
2356
|
*/
|
|
2375
2357
|
runNodeOperation(clusterId: string, nodepoolId: string, nodeName: string, request: $_model.RunNodeOperationRequest): Promise<$_model.RunNodeOperationResponse>;
|
|
2376
2358
|
/**
|
|
2377
|
-
* Scales out a node pool.
|
|
2359
|
+
* Scales out a node pool by adding nodes to ensure that the number of nodes is sufficient to support your workloads.
|
|
2378
2360
|
*
|
|
2379
2361
|
* @param request - ScaleClusterNodePoolRequest
|
|
2380
2362
|
* @param headers - map
|
|
@@ -2385,7 +2367,7 @@ export default class Client extends OpenApi {
|
|
|
2385
2367
|
[key: string]: string;
|
|
2386
2368
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ScaleClusterNodePoolResponse>;
|
|
2387
2369
|
/**
|
|
2388
|
-
* Scales out a node pool.
|
|
2370
|
+
* Scales out a node pool by adding nodes to ensure that the number of nodes is sufficient to support your workloads.
|
|
2389
2371
|
*
|
|
2390
2372
|
* @param request - ScaleClusterNodePoolRequest
|
|
2391
2373
|
* @returns ScaleClusterNodePoolResponse
|
|
@@ -2410,7 +2392,7 @@ export default class Client extends OpenApi {
|
|
|
2410
2392
|
*/
|
|
2411
2393
|
scaleOutCluster(ClusterId: string, request: $_model.ScaleOutClusterRequest): Promise<$_model.ScaleOutClusterResponse>;
|
|
2412
2394
|
/**
|
|
2413
|
-
*
|
|
2395
|
+
* You can call the ScanClusterVuls operation to scan for potential security vulnerabilities in an ACK cluster, including container workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows operating system vulnerabilities. Regularly scan your cluster for security vulnerabilities to improve cluster security.
|
|
2414
2396
|
*
|
|
2415
2397
|
* @param headers - map
|
|
2416
2398
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2420,12 +2402,12 @@ export default class Client extends OpenApi {
|
|
|
2420
2402
|
[key: string]: string;
|
|
2421
2403
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ScanClusterVulsResponse>;
|
|
2422
2404
|
/**
|
|
2423
|
-
*
|
|
2405
|
+
* You can call the ScanClusterVuls operation to scan for potential security vulnerabilities in an ACK cluster, including container workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows operating system vulnerabilities. Regularly scan your cluster for security vulnerabilities to improve cluster security.
|
|
2424
2406
|
* @returns ScanClusterVulsResponse
|
|
2425
2407
|
*/
|
|
2426
2408
|
scanClusterVuls(clusterId: string): Promise<$_model.ScanClusterVulsResponse>;
|
|
2427
2409
|
/**
|
|
2428
|
-
*
|
|
2410
|
+
* Starts a specified alert rule.
|
|
2429
2411
|
*
|
|
2430
2412
|
* @param request - StartAlertRequest
|
|
2431
2413
|
* @param headers - map
|
|
@@ -2436,14 +2418,14 @@ export default class Client extends OpenApi {
|
|
|
2436
2418
|
[key: string]: string;
|
|
2437
2419
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.StartAlertResponse>;
|
|
2438
2420
|
/**
|
|
2439
|
-
*
|
|
2421
|
+
* Starts a specified alert rule.
|
|
2440
2422
|
*
|
|
2441
2423
|
* @param request - StartAlertRequest
|
|
2442
2424
|
* @returns StartAlertResponse
|
|
2443
2425
|
*/
|
|
2444
2426
|
startAlert(ClusterId: string, request: $_model.StartAlertRequest): Promise<$_model.StartAlertResponse>;
|
|
2445
2427
|
/**
|
|
2446
|
-
*
|
|
2428
|
+
* Stops alert rules in the ACK alert center. You can stop an entire alert rule group or a single alert rule.
|
|
2447
2429
|
*
|
|
2448
2430
|
* @param request - StopAlertRequest
|
|
2449
2431
|
* @param headers - map
|
|
@@ -2454,14 +2436,14 @@ export default class Client extends OpenApi {
|
|
|
2454
2436
|
[key: string]: string;
|
|
2455
2437
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.StopAlertResponse>;
|
|
2456
2438
|
/**
|
|
2457
|
-
*
|
|
2439
|
+
* Stops alert rules in the ACK alert center. You can stop an entire alert rule group or a single alert rule.
|
|
2458
2440
|
*
|
|
2459
2441
|
* @param request - StopAlertRequest
|
|
2460
2442
|
* @returns StopAlertResponse
|
|
2461
2443
|
*/
|
|
2462
2444
|
stopAlert(ClusterId: string, request: $_model.StopAlertRequest): Promise<$_model.StopAlertResponse>;
|
|
2463
2445
|
/**
|
|
2464
|
-
* Synchronizes
|
|
2446
|
+
* Synchronizes a cluster node pool, including node pool metadata and information about the nodes in the node pool.
|
|
2465
2447
|
*
|
|
2466
2448
|
* @param headers - map
|
|
2467
2449
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2471,12 +2453,12 @@ export default class Client extends OpenApi {
|
|
|
2471
2453
|
[key: string]: string;
|
|
2472
2454
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SyncClusterNodePoolResponse>;
|
|
2473
2455
|
/**
|
|
2474
|
-
* Synchronizes
|
|
2456
|
+
* Synchronizes a cluster node pool, including node pool metadata and information about the nodes in the node pool.
|
|
2475
2457
|
* @returns SyncClusterNodePoolResponse
|
|
2476
2458
|
*/
|
|
2477
2459
|
syncClusterNodePool(ClusterId: string): Promise<$_model.SyncClusterNodePoolResponse>;
|
|
2478
2460
|
/**
|
|
2479
|
-
*
|
|
2461
|
+
* Adds tag key-value pairs to clusters so that cluster developers or O&M engineers can categorize and manage clusters more flexibly, and better support monitoring, cost analysis, and tenant isolation requirements. You can call the TagResources operation to attach tags to clusters.
|
|
2480
2462
|
*
|
|
2481
2463
|
* @param request - TagResourcesRequest
|
|
2482
2464
|
* @param headers - map
|
|
@@ -2487,14 +2469,14 @@ export default class Client extends OpenApi {
|
|
|
2487
2469
|
[key: string]: string;
|
|
2488
2470
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse>;
|
|
2489
2471
|
/**
|
|
2490
|
-
*
|
|
2472
|
+
* Adds tag key-value pairs to clusters so that cluster developers or O&M engineers can categorize and manage clusters more flexibly, and better support monitoring, cost analysis, and tenant isolation requirements. You can call the TagResources operation to attach tags to clusters.
|
|
2491
2473
|
*
|
|
2492
2474
|
* @param request - TagResourcesRequest
|
|
2493
2475
|
* @returns TagResourcesResponse
|
|
2494
2476
|
*/
|
|
2495
2477
|
tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse>;
|
|
2496
2478
|
/**
|
|
2497
|
-
* Uninstalls components
|
|
2479
|
+
* Uninstalls specified components from a cluster when they are no longer needed, with the option to delete associated Alibaba Cloud resources.
|
|
2498
2480
|
*
|
|
2499
2481
|
* @param request - UnInstallClusterAddonsRequest
|
|
2500
2482
|
* @param headers - map
|
|
@@ -2505,14 +2487,14 @@ export default class Client extends OpenApi {
|
|
|
2505
2487
|
[key: string]: string;
|
|
2506
2488
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UnInstallClusterAddonsResponse>;
|
|
2507
2489
|
/**
|
|
2508
|
-
* Uninstalls components
|
|
2490
|
+
* Uninstalls specified components from a cluster when they are no longer needed, with the option to delete associated Alibaba Cloud resources.
|
|
2509
2491
|
*
|
|
2510
2492
|
* @param request - UnInstallClusterAddonsRequest
|
|
2511
2493
|
* @returns UnInstallClusterAddonsResponse
|
|
2512
2494
|
*/
|
|
2513
2495
|
unInstallClusterAddons(ClusterId: string, request: $_model.UnInstallClusterAddonsRequest): Promise<$_model.UnInstallClusterAddonsResponse>;
|
|
2514
2496
|
/**
|
|
2515
|
-
*
|
|
2497
|
+
* Deletes resource tags when you no longer need the tag key-value pairs for a cluster. You can call the UntagResources operation to delete resource tags.
|
|
2516
2498
|
*
|
|
2517
2499
|
* @param tmpReq - UntagResourcesRequest
|
|
2518
2500
|
* @param headers - map
|
|
@@ -2523,17 +2505,17 @@ export default class Client extends OpenApi {
|
|
|
2523
2505
|
[key: string]: string;
|
|
2524
2506
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UntagResourcesResponse>;
|
|
2525
2507
|
/**
|
|
2526
|
-
*
|
|
2508
|
+
* Deletes resource tags when you no longer need the tag key-value pairs for a cluster. You can call the UntagResources operation to delete resource tags.
|
|
2527
2509
|
*
|
|
2528
2510
|
* @param request - UntagResourcesRequest
|
|
2529
2511
|
* @returns UntagResourcesResponse
|
|
2530
2512
|
*/
|
|
2531
2513
|
untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse>;
|
|
2532
2514
|
/**
|
|
2533
|
-
*
|
|
2515
|
+
* When you need to record Kubernetes API requests and their results to trace cluster operation history or troubleshoot cluster issues, you can invoke the UpdateClusterAuditLogConfig operation to enable or shutdown the audit log feature for a specified ACK cluster and update the audit log configuration.
|
|
2534
2516
|
*
|
|
2535
2517
|
* @remarks
|
|
2536
|
-
* Before you
|
|
2518
|
+
* Before you use 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).
|
|
2537
2519
|
*
|
|
2538
2520
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
2539
2521
|
* @param headers - map
|
|
@@ -2544,17 +2526,17 @@ export default class Client extends OpenApi {
|
|
|
2544
2526
|
[key: string]: string;
|
|
2545
2527
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateClusterAuditLogConfigResponse>;
|
|
2546
2528
|
/**
|
|
2547
|
-
*
|
|
2529
|
+
* When you need to record Kubernetes API requests and their results to trace cluster operation history or troubleshoot cluster issues, you can invoke the UpdateClusterAuditLogConfig operation to enable or shutdown the audit log feature for a specified ACK cluster and update the audit log configuration.
|
|
2548
2530
|
*
|
|
2549
2531
|
* @remarks
|
|
2550
|
-
* Before you
|
|
2532
|
+
* Before you use 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).
|
|
2551
2533
|
*
|
|
2552
2534
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
2553
2535
|
* @returns UpdateClusterAuditLogConfigResponse
|
|
2554
2536
|
*/
|
|
2555
2537
|
updateClusterAuditLogConfig(clusterid: string, request: $_model.UpdateClusterAuditLogConfigRequest): Promise<$_model.UpdateClusterAuditLogConfigResponse>;
|
|
2556
2538
|
/**
|
|
2557
|
-
*
|
|
2539
|
+
* Updates the cluster inspection configuration.
|
|
2558
2540
|
*
|
|
2559
2541
|
* @param request - UpdateClusterInspectConfigRequest
|
|
2560
2542
|
* @param headers - map
|
|
@@ -2565,14 +2547,14 @@ export default class Client extends OpenApi {
|
|
|
2565
2547
|
[key: string]: string;
|
|
2566
2548
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateClusterInspectConfigResponse>;
|
|
2567
2549
|
/**
|
|
2568
|
-
*
|
|
2550
|
+
* Updates the cluster inspection configuration.
|
|
2569
2551
|
*
|
|
2570
2552
|
* @param request - UpdateClusterInspectConfigRequest
|
|
2571
2553
|
* @returns UpdateClusterInspectConfigResponse
|
|
2572
2554
|
*/
|
|
2573
2555
|
updateClusterInspectConfig(clusterId: string, request: $_model.UpdateClusterInspectConfigRequest): Promise<$_model.UpdateClusterInspectConfigResponse>;
|
|
2574
2556
|
/**
|
|
2575
|
-
*
|
|
2557
|
+
* Updates the contact group for an alert rule set in an ACK cluster.
|
|
2576
2558
|
*
|
|
2577
2559
|
* @param request - UpdateContactGroupForAlertRequest
|
|
2578
2560
|
* @param headers - map
|
|
@@ -2583,14 +2565,14 @@ export default class Client extends OpenApi {
|
|
|
2583
2565
|
[key: string]: string;
|
|
2584
2566
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateContactGroupForAlertResponse>;
|
|
2585
2567
|
/**
|
|
2586
|
-
*
|
|
2568
|
+
* Updates the contact group for an alert rule set in an ACK cluster.
|
|
2587
2569
|
*
|
|
2588
2570
|
* @param request - UpdateContactGroupForAlertRequest
|
|
2589
2571
|
* @returns UpdateContactGroupForAlertResponse
|
|
2590
2572
|
*/
|
|
2591
2573
|
updateContactGroupForAlert(ClusterId: string, request: $_model.UpdateContactGroupForAlertRequest): Promise<$_model.UpdateContactGroupForAlertResponse>;
|
|
2592
2574
|
/**
|
|
2593
|
-
*
|
|
2575
|
+
* ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) Log Project. Control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, Cloud Controller Manager, and other core components. You can call the UpdateControlPlaneLog operation to modify the control plane component log configuration, such as the log retention period and the components from which logs are collected.
|
|
2594
2576
|
*
|
|
2595
2577
|
* @param request - UpdateControlPlaneLogRequest
|
|
2596
2578
|
* @param headers - map
|
|
@@ -2601,18 +2583,18 @@ export default class Client extends OpenApi {
|
|
|
2601
2583
|
[key: string]: string;
|
|
2602
2584
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateControlPlaneLogResponse>;
|
|
2603
2585
|
/**
|
|
2604
|
-
*
|
|
2586
|
+
* ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) Log Project. Control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, Cloud Controller Manager, and other core components. You can call the UpdateControlPlaneLog operation to modify the control plane component log configuration, such as the log retention period and the components from which logs are collected.
|
|
2605
2587
|
*
|
|
2606
2588
|
* @param request - UpdateControlPlaneLogRequest
|
|
2607
2589
|
* @returns UpdateControlPlaneLogResponse
|
|
2608
2590
|
*/
|
|
2609
2591
|
updateControlPlaneLog(ClusterId: string, request: $_model.UpdateControlPlaneLogRequest): Promise<$_model.UpdateControlPlaneLogResponse>;
|
|
2610
2592
|
/**
|
|
2611
|
-
*
|
|
2593
|
+
* The default expiration time of the KubeConfig issued by an ACK cluster is 3 years. You can use an Alibaba Cloud account to customize the configuration by invoking the UpdateK8sClusterUserConfigExpire operation to specify the expiration time (1 to 876,000 hours) of the KubeConfig issued to a Resource Access Management (RAM) user or role in an ACK cluster.
|
|
2612
2594
|
*
|
|
2613
2595
|
* @remarks
|
|
2614
|
-
*
|
|
2615
|
-
*
|
|
2596
|
+
* - This operation can be called only by an Alibaba Cloud account.
|
|
2597
|
+
* - If you revoke the KubeConfig credential used in the cluster, the custom expiration time configured for the KubeConfig of the cluster is also reset. You must call this operation to reconfigure the expiration time.
|
|
2616
2598
|
*
|
|
2617
2599
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
2618
2600
|
* @param headers - map
|
|
@@ -2623,23 +2605,23 @@ export default class Client extends OpenApi {
|
|
|
2623
2605
|
[key: string]: string;
|
|
2624
2606
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateK8sClusterUserConfigExpireResponse>;
|
|
2625
2607
|
/**
|
|
2626
|
-
*
|
|
2608
|
+
* The default expiration time of the KubeConfig issued by an ACK cluster is 3 years. You can use an Alibaba Cloud account to customize the configuration by invoking the UpdateK8sClusterUserConfigExpire operation to specify the expiration time (1 to 876,000 hours) of the KubeConfig issued to a Resource Access Management (RAM) user or role in an ACK cluster.
|
|
2627
2609
|
*
|
|
2628
2610
|
* @remarks
|
|
2629
|
-
*
|
|
2630
|
-
*
|
|
2611
|
+
* - This operation can be called only by an Alibaba Cloud account.
|
|
2612
|
+
* - If you revoke the KubeConfig credential used in the cluster, the custom expiration time configured for the KubeConfig of the cluster is also reset. You must call this operation to reconfigure the expiration time.
|
|
2631
2613
|
*
|
|
2632
2614
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
2633
2615
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|
|
2634
2616
|
*/
|
|
2635
2617
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: $_model.UpdateK8sClusterUserConfigExpireRequest): Promise<$_model.UpdateK8sClusterUserConfigExpireResponse>;
|
|
2636
2618
|
/**
|
|
2637
|
-
*
|
|
2619
|
+
* Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
|
|
2638
2620
|
*
|
|
2639
2621
|
* @remarks
|
|
2640
|
-
*
|
|
2641
|
-
* *
|
|
2642
|
-
* *
|
|
2622
|
+
* While enabling or disabling encryption at rest and after the feature is enabled, do not disable or delete the KMS key used by this feature in the KMS console or through OpenAPI. Otherwise, the cluster API Server becomes unavailable, which prevents normal retrieval of objects such as Secrets and ServiceAccounts and affects the normal operation of business applications. For more information, see [Encrypt Secrets at rest by using China KMS](https://help.aliyun.com/document_detail/177372.html).
|
|
2623
|
+
* * The user or role that calls this API operation must be granted additional cluster RBAC permissions (O&M engineer or administrator permissions). Otherwise, the ForbiddenUpdateKMSState error code is returned.
|
|
2624
|
+
* * 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. After a change is complete for a cluster, wait at least 5 minutes before calling this API operation again. Otherwise, HTTP status code 409 is returned.
|
|
2643
2625
|
*
|
|
2644
2626
|
* @param request - UpdateKMSEncryptionRequest
|
|
2645
2627
|
* @param headers - map
|
|
@@ -2650,19 +2632,19 @@ export default class Client extends OpenApi {
|
|
|
2650
2632
|
[key: string]: string;
|
|
2651
2633
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKMSEncryptionResponse>;
|
|
2652
2634
|
/**
|
|
2653
|
-
*
|
|
2635
|
+
* Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
|
|
2654
2636
|
*
|
|
2655
2637
|
* @remarks
|
|
2656
|
-
*
|
|
2657
|
-
* *
|
|
2658
|
-
* *
|
|
2638
|
+
* While enabling or disabling encryption at rest and after the feature is enabled, do not disable or delete the KMS key used by this feature in the KMS console or through OpenAPI. Otherwise, the cluster API Server becomes unavailable, which prevents normal retrieval of objects such as Secrets and ServiceAccounts and affects the normal operation of business applications. For more information, see [Encrypt Secrets at rest by using China KMS](https://help.aliyun.com/document_detail/177372.html).
|
|
2639
|
+
* * The user or role that calls this API operation must be granted additional cluster RBAC permissions (O&M engineer or administrator permissions). Otherwise, the ForbiddenUpdateKMSState error code is returned.
|
|
2640
|
+
* * 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. After a change is complete for a cluster, wait at least 5 minutes before calling this API operation again. Otherwise, HTTP status code 409 is returned.
|
|
2659
2641
|
*
|
|
2660
2642
|
* @param request - UpdateKMSEncryptionRequest
|
|
2661
2643
|
* @returns UpdateKMSEncryptionResponse
|
|
2662
2644
|
*/
|
|
2663
2645
|
updateKMSEncryption(ClusterId: string, request: $_model.UpdateKMSEncryptionRequest): Promise<$_model.UpdateKMSEncryptionResponse>;
|
|
2664
2646
|
/**
|
|
2665
|
-
* Updates a
|
|
2647
|
+
* Updates a node component.
|
|
2666
2648
|
*
|
|
2667
2649
|
* @param request - UpdateNodePoolComponentRequest
|
|
2668
2650
|
* @param headers - map
|
|
@@ -2673,17 +2655,18 @@ export default class Client extends OpenApi {
|
|
|
2673
2655
|
[key: string]: string;
|
|
2674
2656
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateNodePoolComponentResponse>;
|
|
2675
2657
|
/**
|
|
2676
|
-
* Updates a
|
|
2658
|
+
* Updates a node component.
|
|
2677
2659
|
*
|
|
2678
2660
|
* @param request - UpdateNodePoolComponentRequest
|
|
2679
2661
|
* @returns UpdateNodePoolComponentResponse
|
|
2680
2662
|
*/
|
|
2681
2663
|
updateNodePoolComponent(clusterId: string, nodepoolId: string, request: $_model.UpdateNodePoolComponentRequest): Promise<$_model.UpdateNodePoolComponentResponse>;
|
|
2682
2664
|
/**
|
|
2683
|
-
* Updates the deletion protection status of
|
|
2665
|
+
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services.
|
|
2666
|
+
* You can call this operation to enable deletion protection for namespaces or services that involve critical business or sensitive data to avoid maintenance costs caused by accidental deletion.
|
|
2684
2667
|
*
|
|
2685
2668
|
* @remarks
|
|
2686
|
-
*
|
|
2669
|
+
* Before calling this operation, 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).
|
|
2687
2670
|
*
|
|
2688
2671
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
2689
2672
|
* @param headers - map
|
|
@@ -2694,17 +2677,18 @@ export default class Client extends OpenApi {
|
|
|
2694
2677
|
[key: string]: string;
|
|
2695
2678
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateResourcesDeleteProtectionResponse>;
|
|
2696
2679
|
/**
|
|
2697
|
-
* Updates the deletion protection status of
|
|
2680
|
+
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services.
|
|
2681
|
+
* You can call this operation to enable deletion protection for namespaces or services that involve critical business or sensitive data to avoid maintenance costs caused by accidental deletion.
|
|
2698
2682
|
*
|
|
2699
2683
|
* @remarks
|
|
2700
|
-
*
|
|
2684
|
+
* Before calling this operation, 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).
|
|
2701
2685
|
*
|
|
2702
2686
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
2703
2687
|
* @returns UpdateResourcesDeleteProtectionResponse
|
|
2704
2688
|
*/
|
|
2705
2689
|
updateResourcesDeleteProtection(ClusterId: string, request: $_model.UpdateResourcesDeleteProtectionRequest): Promise<$_model.UpdateResourcesDeleteProtectionResponse>;
|
|
2706
2690
|
/**
|
|
2707
|
-
*
|
|
2691
|
+
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. Calls the UpdateTemplate operation to update an orchestration template configuration.
|
|
2708
2692
|
*
|
|
2709
2693
|
* @param request - UpdateTemplateRequest
|
|
2710
2694
|
* @param headers - map
|
|
@@ -2715,18 +2699,17 @@ export default class Client extends OpenApi {
|
|
|
2715
2699
|
[key: string]: string;
|
|
2716
2700
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateTemplateResponse>;
|
|
2717
2701
|
/**
|
|
2718
|
-
*
|
|
2702
|
+
* An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. Calls the UpdateTemplate operation to update an orchestration template configuration.
|
|
2719
2703
|
*
|
|
2720
2704
|
* @param request - UpdateTemplateRequest
|
|
2721
2705
|
* @returns UpdateTemplateResponse
|
|
2722
2706
|
*/
|
|
2723
2707
|
updateTemplate(TemplateId: string, request: $_model.UpdateTemplateRequest): Promise<$_model.UpdateTemplateResponse>;
|
|
2724
2708
|
/**
|
|
2725
|
-
* In
|
|
2709
|
+
* In an ACK cluster, non-cluster creators, Resource Access Management (RAM) users, and RAM roles have no RBAC permissions by default. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or role, including accessible resources, permission scope, and preset role types, to better manage cluster management and secure access control.
|
|
2726
2710
|
*
|
|
2727
2711
|
* @remarks
|
|
2728
|
-
*
|
|
2729
|
-
* * You can update the permissions of a RAM user or RAM role on a cluster by using full update or incremental update. If you use full update, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. If you use incremental update, you can grant permissions to or revoke permissions from the RAM user or RAM role on the cluster. In this case, only the permissions that you specify in the request parameters when you call the operation are granted or revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
|
|
2712
|
+
* 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 all 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. Only the cluster authorization information included in the request is changed, and other cluster permissions of the RAM user or RAM role are not affected.
|
|
2730
2713
|
*
|
|
2731
2714
|
* @param request - UpdateUserPermissionsRequest
|
|
2732
2715
|
* @param headers - map
|
|
@@ -2737,25 +2720,25 @@ export default class Client extends OpenApi {
|
|
|
2737
2720
|
[key: string]: string;
|
|
2738
2721
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateUserPermissionsResponse>;
|
|
2739
2722
|
/**
|
|
2740
|
-
* In
|
|
2723
|
+
* In an ACK cluster, non-cluster creators, Resource Access Management (RAM) users, and RAM roles have no RBAC permissions by default. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or role, including accessible resources, permission scope, and preset role types, to better manage cluster management and secure access control.
|
|
2741
2724
|
*
|
|
2742
2725
|
* @remarks
|
|
2743
|
-
*
|
|
2744
|
-
* * You can update the permissions of a RAM user or RAM role on a cluster by using full update or incremental update. If you use full update, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. If you use incremental update, you can grant permissions to or revoke permissions from the RAM user or RAM role on the cluster. In this case, only the permissions that you specify in the request parameters when you call the operation are granted or revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
|
|
2726
|
+
* 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 all 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. Only the cluster authorization information included in the request is changed, and other cluster permissions of the RAM user or RAM role are not affected.
|
|
2745
2727
|
*
|
|
2746
2728
|
* @param request - UpdateUserPermissionsRequest
|
|
2747
2729
|
* @returns UpdateUserPermissionsResponse
|
|
2748
2730
|
*/
|
|
2749
2731
|
updateUserPermissions(uid: string, request: $_model.UpdateUserPermissionsRequest): Promise<$_model.UpdateUserPermissionsResponse>;
|
|
2750
2732
|
/**
|
|
2751
|
-
*
|
|
2733
|
+
* To avoid potential security and stability risks of expired cluster versions and to use new features of the latest cluster versions, upgrade your clusters in accordance with the ACK cluster version release schedule. You can call the UpgradeCluster operation to manually upgrade a cluster.
|
|
2752
2734
|
*
|
|
2753
2735
|
* @remarks
|
|
2754
|
-
* After successfully
|
|
2736
|
+
* 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 API operations:
|
|
2755
2737
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2756
2738
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2757
|
-
* - [Call ResumeTask to resume a task
|
|
2758
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2739
|
+
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
2740
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
|
|
2741
|
+
* >Notice: Starting July 4, 2026, the request parameters rolling_policy and rolling_policy.max_parallelism will no longer take effect. Use [UpgradeClusterNodepool](https://help.aliyun.com/document_detail/2667922.html) to upgrade worker nodes instead. For more information about the changes, see [Notice on changes to ACK cluster management OpenAPI request and response parameters and OpenAPI deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>.
|
|
2759
2742
|
*
|
|
2760
2743
|
* @param request - UpgradeClusterRequest
|
|
2761
2744
|
* @param headers - map
|
|
@@ -2766,26 +2749,27 @@ export default class Client extends OpenApi {
|
|
|
2766
2749
|
[key: string]: string;
|
|
2767
2750
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterResponse>;
|
|
2768
2751
|
/**
|
|
2769
|
-
*
|
|
2752
|
+
* To avoid potential security and stability risks of expired cluster versions and to use new features of the latest cluster versions, upgrade your clusters in accordance with the ACK cluster version release schedule. You can call the UpgradeCluster operation to manually upgrade a cluster.
|
|
2770
2753
|
*
|
|
2771
2754
|
* @remarks
|
|
2772
|
-
* After successfully
|
|
2755
|
+
* 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 API operations:
|
|
2773
2756
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2774
2757
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2775
|
-
* - [Call ResumeTask to resume a task
|
|
2776
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
2758
|
+
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
2759
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
|
|
2760
|
+
* >Notice: Starting July 4, 2026, the request parameters rolling_policy and rolling_policy.max_parallelism will no longer take effect. Use [UpgradeClusterNodepool](https://help.aliyun.com/document_detail/2667922.html) to upgrade worker nodes instead. For more information about the changes, see [Notice on changes to ACK cluster management OpenAPI request and response parameters and OpenAPI deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>.
|
|
2777
2761
|
*
|
|
2778
2762
|
* @param request - UpgradeClusterRequest
|
|
2779
2763
|
* @returns UpgradeClusterResponse
|
|
2780
2764
|
*/
|
|
2781
2765
|
upgradeCluster(ClusterId: string, request: $_model.UpgradeClusterRequest): Promise<$_model.UpgradeClusterResponse>;
|
|
2782
2766
|
/**
|
|
2783
|
-
*
|
|
2767
|
+
* Upgrades the versions of cluster component instances so that you can benefit from the feature optimizations in the new versions.
|
|
2784
2768
|
*
|
|
2785
2769
|
* @remarks
|
|
2786
|
-
* -
|
|
2787
|
-
* -
|
|
2788
|
-
* -
|
|
2770
|
+
* - Upgrading cluster component instance versions may affect your services. Assess the impact before performing the upgrade during off-peak hours, and back up relevant data in advance.
|
|
2771
|
+
* - Before upgrading a component, refer to [Component release notes](https://help.aliyun.com/document_detail/176087.html) to learn about the changes and their impact for the specified component.
|
|
2772
|
+
* - Upgrade components one at a time. Confirm that one component has been upgraded successfully before upgrading the next one.
|
|
2789
2773
|
*
|
|
2790
2774
|
* @param request - UpgradeClusterAddonsRequest
|
|
2791
2775
|
* @param headers - map
|
|
@@ -2796,22 +2780,26 @@ export default class Client extends OpenApi {
|
|
|
2796
2780
|
[key: string]: string;
|
|
2797
2781
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterAddonsResponse>;
|
|
2798
2782
|
/**
|
|
2799
|
-
*
|
|
2783
|
+
* Upgrades the versions of cluster component instances so that you can benefit from the feature optimizations in the new versions.
|
|
2800
2784
|
*
|
|
2801
2785
|
* @remarks
|
|
2802
|
-
* -
|
|
2803
|
-
* -
|
|
2804
|
-
* -
|
|
2786
|
+
* - Upgrading cluster component instance versions may affect your services. Assess the impact before performing the upgrade during off-peak hours, and back up relevant data in advance.
|
|
2787
|
+
* - Before upgrading a component, refer to [Component release notes](https://help.aliyun.com/document_detail/176087.html) to learn about the changes and their impact for the specified component.
|
|
2788
|
+
* - Upgrade components one at a time. Confirm that one component has been upgraded successfully before upgrading the next one.
|
|
2805
2789
|
*
|
|
2806
2790
|
* @param request - UpgradeClusterAddonsRequest
|
|
2807
2791
|
* @returns UpgradeClusterAddonsResponse
|
|
2808
2792
|
*/
|
|
2809
2793
|
upgradeClusterAddons(ClusterId: string, request: $_model.UpgradeClusterAddonsRequest): Promise<$_model.UpgradeClusterAddonsResponse>;
|
|
2810
2794
|
/**
|
|
2811
|
-
*
|
|
2795
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
2812
2796
|
*
|
|
2813
2797
|
* @remarks
|
|
2814
|
-
*
|
|
2798
|
+
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
|
|
2799
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2800
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2801
|
+
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
2802
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
|
|
2815
2803
|
*
|
|
2816
2804
|
* @param request - UpgradeClusterNodepoolRequest
|
|
2817
2805
|
* @param headers - map
|
|
@@ -2822,10 +2810,14 @@ export default class Client extends OpenApi {
|
|
|
2822
2810
|
[key: string]: string;
|
|
2823
2811
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterNodepoolResponse>;
|
|
2824
2812
|
/**
|
|
2825
|
-
*
|
|
2813
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
2826
2814
|
*
|
|
2827
2815
|
* @remarks
|
|
2828
|
-
*
|
|
2816
|
+
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
|
|
2817
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
2818
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
2819
|
+
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
2820
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
|
|
2829
2821
|
*
|
|
2830
2822
|
* @param request - UpgradeClusterNodepoolRequest
|
|
2831
2823
|
* @returns UpgradeClusterNodepoolResponse
|