@alicloud/cs20151215 6.6.5 → 6.7.1
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 +456 -446
- package/dist/client.js +530 -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 +349 -311
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
- 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 +231 -310
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +251 -329
- 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 +10 -10
- 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 +205 -267
- 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 +215 -262
- 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/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- 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 +8 -8
- 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/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +539 -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 +350 -312
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- 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 +233 -312
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +253 -331
- 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 +10 -10
- 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 +205 -267
- 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 +215 -262
- 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/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- 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 +8 -8
- 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/src/models/model.ts +3 -0
package/dist/client.js
CHANGED
|
@@ -80,6 +80,44 @@ class Client extends openapi_core_1.default {
|
|
|
80
80
|
'cn-zhengzhou-nebula-1': "cs.aliyuncs.com",
|
|
81
81
|
'eu-west-1-oxs': "cs.aliyuncs.com",
|
|
82
82
|
'rus-west-1-pop': "cs.aliyuncs.com",
|
|
83
|
+
'us-west-1': "cs.us-west-1.aliyuncs.com",
|
|
84
|
+
'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
|
|
85
|
+
'us-east-1': "cs.us-east-1.aliyuncs.com",
|
|
86
|
+
'na-south-1': "cs.na-south-1.aliyuncs.com",
|
|
87
|
+
'me-east-1': "cs.me-east-1.aliyuncs.com",
|
|
88
|
+
'me-central-1': "cs.me-central-1.aliyuncs.com",
|
|
89
|
+
'eu-west-1': "cs.eu-west-1.aliyuncs.com",
|
|
90
|
+
'eu-central-1': "cs.eu-central-1.aliyuncs.com",
|
|
91
|
+
'cn-zhengzhou-jva': "cs.cn-zhengzhou-jva.aliyuncs.com",
|
|
92
|
+
'cn-zhangjiakou': "cs.cn-zhangjiakou.aliyuncs.com",
|
|
93
|
+
'cn-wulanchabu-gic-1': "cs.cn-wulanchabu-gic-1.aliyuncs.com",
|
|
94
|
+
'cn-wulanchabu': "cs.cn-wulanchabu.aliyuncs.com",
|
|
95
|
+
'cn-wuhan-lr': "cs.cn-wuhan-lr.aliyuncs.com",
|
|
96
|
+
'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
|
|
97
|
+
'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
|
|
98
|
+
'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
|
|
99
|
+
'cn-shanghai': "cs.cn-shanghai.aliyuncs.com",
|
|
100
|
+
'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
|
|
101
|
+
'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
|
|
102
|
+
'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
|
|
103
|
+
'cn-hongkong': "cs.cn-hongkong.aliyuncs.com",
|
|
104
|
+
'cn-heyuan-acdr-1': "cs.cn-heyuan-acdr-1.aliyuncs.com",
|
|
105
|
+
'cn-heyuan': "cs.cn-heyuan.aliyuncs.com",
|
|
106
|
+
'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
|
|
107
|
+
'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
|
|
108
|
+
'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
|
|
109
|
+
'cn-fuzhou': "cs.cn-fuzhou.aliyuncs.com",
|
|
110
|
+
'cn-chengdu': "cs.cn-chengdu.aliyuncs.com",
|
|
111
|
+
'cn-beijing-finance-1': "cs.cn-beijing-finance-1.aliyuncs.com",
|
|
112
|
+
'cn-beijing': "cs.cn-beijing.aliyuncs.com",
|
|
113
|
+
'ap-southeast-7': "cs.ap-southeast-7.aliyuncs.com",
|
|
114
|
+
'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
|
|
115
|
+
'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
|
|
116
|
+
'ap-southeast-2': "cs.ap-southeast-2.aliyuncs.com",
|
|
117
|
+
'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
|
|
118
|
+
'ap-south-1': "cs.ap-south-1.aliyuncs.com",
|
|
119
|
+
'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
|
|
120
|
+
'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
|
|
83
121
|
};
|
|
84
122
|
this.checkConfig(config);
|
|
85
123
|
this._endpoint = this.getEndpoint("cs", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -94,10 +132,10 @@ class Client extends openapi_core_1.default {
|
|
|
94
132
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
95
133
|
}
|
|
96
134
|
/**
|
|
97
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
135
|
+
* 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.
|
|
98
136
|
*
|
|
99
137
|
* @remarks
|
|
100
|
-
*
|
|
138
|
+
* 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.
|
|
101
139
|
*
|
|
102
140
|
* @param request - AttachInstancesRequest
|
|
103
141
|
* @param headers - map
|
|
@@ -164,10 +202,10 @@ class Client extends openapi_core_1.default {
|
|
|
164
202
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachInstancesResponse({}));
|
|
165
203
|
}
|
|
166
204
|
/**
|
|
167
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
205
|
+
* 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.
|
|
168
206
|
*
|
|
169
207
|
* @remarks
|
|
170
|
-
*
|
|
208
|
+
* 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.
|
|
171
209
|
*
|
|
172
210
|
* @param request - AttachInstancesRequest
|
|
173
211
|
* @returns AttachInstancesResponse
|
|
@@ -178,7 +216,7 @@ class Client extends openapi_core_1.default {
|
|
|
178
216
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
179
217
|
}
|
|
180
218
|
/**
|
|
181
|
-
* Adds existing
|
|
219
|
+
* 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.
|
|
182
220
|
*
|
|
183
221
|
* @param request - AttachInstancesToNodePoolRequest
|
|
184
222
|
* @param headers - map
|
|
@@ -218,7 +256,7 @@ class Client extends openapi_core_1.default {
|
|
|
218
256
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachInstancesToNodePoolResponse({}));
|
|
219
257
|
}
|
|
220
258
|
/**
|
|
221
|
-
* Adds existing
|
|
259
|
+
* 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.
|
|
222
260
|
*
|
|
223
261
|
* @param request - AttachInstancesToNodePoolRequest
|
|
224
262
|
* @returns AttachInstancesToNodePoolResponse
|
|
@@ -229,7 +267,7 @@ class Client extends openapi_core_1.default {
|
|
|
229
267
|
return await this.attachInstancesToNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
230
268
|
}
|
|
231
269
|
/**
|
|
232
|
-
*
|
|
270
|
+
* Cancels the upgrade of an ACK cluster that is in the upgrading state.
|
|
233
271
|
*
|
|
234
272
|
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
235
273
|
*
|
|
@@ -255,7 +293,7 @@ class Client extends openapi_core_1.default {
|
|
|
255
293
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelClusterUpgradeResponse({}));
|
|
256
294
|
}
|
|
257
295
|
/**
|
|
258
|
-
*
|
|
296
|
+
* Cancels the upgrade of an ACK cluster that is in the upgrading state.
|
|
259
297
|
*
|
|
260
298
|
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
261
299
|
* @returns CancelClusterUpgradeResponse
|
|
@@ -267,7 +305,7 @@ class Client extends openapi_core_1.default {
|
|
|
267
305
|
return await this.cancelClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
268
306
|
}
|
|
269
307
|
/**
|
|
270
|
-
*
|
|
308
|
+
* Cancels the upgrade of a cluster component.
|
|
271
309
|
*
|
|
272
310
|
* @deprecated OpenAPI CancelComponentUpgrade is deprecated
|
|
273
311
|
*
|
|
@@ -293,7 +331,7 @@ class Client extends openapi_core_1.default {
|
|
|
293
331
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelComponentUpgradeResponse({}));
|
|
294
332
|
}
|
|
295
333
|
/**
|
|
296
|
-
*
|
|
334
|
+
* Cancels the upgrade of a cluster component.
|
|
297
335
|
*
|
|
298
336
|
* @deprecated OpenAPI CancelComponentUpgrade is deprecated
|
|
299
337
|
* @returns CancelComponentUpgradeResponse
|
|
@@ -305,7 +343,7 @@ class Client extends openapi_core_1.default {
|
|
|
305
343
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
306
344
|
}
|
|
307
345
|
/**
|
|
308
|
-
*
|
|
346
|
+
* Cancels an existing but unexecuted automated O&M task execution plan by calling CancelOperationPlan.
|
|
309
347
|
*
|
|
310
348
|
* @param headers - map
|
|
311
349
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -329,7 +367,7 @@ class Client extends openapi_core_1.default {
|
|
|
329
367
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelOperationPlanResponse({}));
|
|
330
368
|
}
|
|
331
369
|
/**
|
|
332
|
-
*
|
|
370
|
+
* Cancels an existing but unexecuted automated O&M task execution plan by calling CancelOperationPlan.
|
|
333
371
|
* @returns CancelOperationPlanResponse
|
|
334
372
|
*/
|
|
335
373
|
async cancelOperationPlan(planId) {
|
|
@@ -371,7 +409,7 @@ class Client extends openapi_core_1.default {
|
|
|
371
409
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
372
410
|
}
|
|
373
411
|
/**
|
|
374
|
-
* Queries the
|
|
412
|
+
* 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.
|
|
375
413
|
*
|
|
376
414
|
* @param headers - map
|
|
377
415
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -395,7 +433,7 @@ class Client extends openapi_core_1.default {
|
|
|
395
433
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckControlPlaneLogEnableResponse({}));
|
|
396
434
|
}
|
|
397
435
|
/**
|
|
398
|
-
* Queries the
|
|
436
|
+
* 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.
|
|
399
437
|
* @returns CheckControlPlaneLogEnableResponse
|
|
400
438
|
*/
|
|
401
439
|
async checkControlPlaneLogEnable(ClusterId) {
|
|
@@ -404,7 +442,7 @@ class Client extends openapi_core_1.default {
|
|
|
404
442
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
405
443
|
}
|
|
406
444
|
/**
|
|
407
|
-
* Checks whether the
|
|
445
|
+
* 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.
|
|
408
446
|
*
|
|
409
447
|
* @param request - CheckServiceRoleRequest
|
|
410
448
|
* @param headers - map
|
|
@@ -435,7 +473,7 @@ class Client extends openapi_core_1.default {
|
|
|
435
473
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckServiceRoleResponse({}));
|
|
436
474
|
}
|
|
437
475
|
/**
|
|
438
|
-
* Checks whether the
|
|
476
|
+
* 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.
|
|
439
477
|
*
|
|
440
478
|
* @param request - CheckServiceRoleRequest
|
|
441
479
|
* @returns CheckServiceRoleResponse
|
|
@@ -446,13 +484,12 @@ class Client extends openapi_core_1.default {
|
|
|
446
484
|
return await this.checkServiceRoleWithOptions(request, headers, runtime);
|
|
447
485
|
}
|
|
448
486
|
/**
|
|
449
|
-
*
|
|
487
|
+
* 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.
|
|
450
488
|
*
|
|
451
489
|
* @remarks
|
|
452
|
-
* >
|
|
453
|
-
*
|
|
454
|
-
*
|
|
455
|
-
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
490
|
+
* > 1. You must have the permission to manage Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
491
|
+
* > 2. Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
492
|
+
* > 3. Cleaning up the permissions of the user who performs this operation is not supported.
|
|
456
493
|
*
|
|
457
494
|
* @param request - CleanClusterUserPermissionsRequest
|
|
458
495
|
* @param headers - map
|
|
@@ -483,13 +520,12 @@ class Client extends openapi_core_1.default {
|
|
|
483
520
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CleanClusterUserPermissionsResponse({}));
|
|
484
521
|
}
|
|
485
522
|
/**
|
|
486
|
-
*
|
|
523
|
+
* 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.
|
|
487
524
|
*
|
|
488
525
|
* @remarks
|
|
489
|
-
* >
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
526
|
+
* > 1. You must have the permission to manage Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
527
|
+
* > 2. Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
528
|
+
* > 3. Cleaning up the permissions of the user who performs this operation is not supported.
|
|
493
529
|
*
|
|
494
530
|
* @param request - CleanClusterUserPermissionsRequest
|
|
495
531
|
* @returns CleanClusterUserPermissionsResponse
|
|
@@ -500,12 +536,12 @@ class Client extends openapi_core_1.default {
|
|
|
500
536
|
return await this.cleanClusterUserPermissionsWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
501
537
|
}
|
|
502
538
|
/**
|
|
503
|
-
*
|
|
539
|
+
* 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.
|
|
504
540
|
*
|
|
505
541
|
* @remarks
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
*
|
|
542
|
+
* >- You must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
543
|
+
* >- Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
544
|
+
* >- Cleaning up the permissions of the user who performs this operation is not supported.
|
|
509
545
|
*
|
|
510
546
|
* @param tmpReq - CleanUserPermissionsRequest
|
|
511
547
|
* @param headers - map
|
|
@@ -544,12 +580,12 @@ class Client extends openapi_core_1.default {
|
|
|
544
580
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CleanUserPermissionsResponse({}));
|
|
545
581
|
}
|
|
546
582
|
/**
|
|
547
|
-
*
|
|
583
|
+
* 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.
|
|
548
584
|
*
|
|
549
585
|
* @remarks
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
*
|
|
586
|
+
* >- You must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
587
|
+
* >- Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
588
|
+
* >- Cleaning up the permissions of the user who performs this operation is not supported.
|
|
553
589
|
*
|
|
554
590
|
* @param request - CleanUserPermissionsRequest
|
|
555
591
|
* @returns CleanUserPermissionsResponse
|
|
@@ -560,11 +596,10 @@ class Client extends openapi_core_1.default {
|
|
|
560
596
|
return await this.cleanUserPermissionsWithOptions(Uid, request, headers, runtime);
|
|
561
597
|
}
|
|
562
598
|
/**
|
|
563
|
-
*
|
|
599
|
+
* Creates a self-healing rule.
|
|
564
600
|
*
|
|
565
601
|
* @remarks
|
|
566
|
-
* >Notice:
|
|
567
|
-
* This API is not yet available.
|
|
602
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
568
603
|
*
|
|
569
604
|
* @param request - CreateAutoRepairPolicyRequest
|
|
570
605
|
* @param headers - map
|
|
@@ -604,11 +639,10 @@ class Client extends openapi_core_1.default {
|
|
|
604
639
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAutoRepairPolicyResponse({}));
|
|
605
640
|
}
|
|
606
641
|
/**
|
|
607
|
-
*
|
|
642
|
+
* Creates a self-healing rule.
|
|
608
643
|
*
|
|
609
644
|
* @remarks
|
|
610
|
-
* >Notice:
|
|
611
|
-
* This API is not yet available.
|
|
645
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
612
646
|
*
|
|
613
647
|
* @param request - CreateAutoRepairPolicyRequest
|
|
614
648
|
* @returns CreateAutoRepairPolicyResponse
|
|
@@ -619,7 +653,7 @@ class Client extends openapi_core_1.default {
|
|
|
619
653
|
return await this.createAutoRepairPolicyWithOptions(clusterId, request, headers, runtime);
|
|
620
654
|
}
|
|
621
655
|
/**
|
|
622
|
-
*
|
|
656
|
+
* 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.
|
|
623
657
|
*
|
|
624
658
|
* @param request - CreateAutoscalingConfigRequest
|
|
625
659
|
* @param headers - map
|
|
@@ -695,7 +729,7 @@ class Client extends openapi_core_1.default {
|
|
|
695
729
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAutoscalingConfigResponse({}));
|
|
696
730
|
}
|
|
697
731
|
/**
|
|
698
|
-
*
|
|
732
|
+
* 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.
|
|
699
733
|
*
|
|
700
734
|
* @param request - CreateAutoscalingConfigRequest
|
|
701
735
|
* @returns CreateAutoscalingConfigResponse
|
|
@@ -706,17 +740,16 @@ class Client extends openapi_core_1.default {
|
|
|
706
740
|
return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
|
|
707
741
|
}
|
|
708
742
|
/**
|
|
709
|
-
*
|
|
743
|
+
* 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.
|
|
710
744
|
*
|
|
711
745
|
* @remarks
|
|
712
|
-
* ### Generate OpenAPI request parameters
|
|
713
|
-
*
|
|
714
|
-
* 1. Log
|
|
715
|
-
*
|
|
716
|
-
*
|
|
717
|
-
*
|
|
718
|
-
* >Notice:
|
|
719
|
-
* 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).
|
|
746
|
+
* ### Generate OpenAPI request parameters through the console
|
|
747
|
+
* 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:
|
|
748
|
+
* 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
|
|
749
|
+
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
750
|
+
* 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
751
|
+
* 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.
|
|
752
|
+
* >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>
|
|
720
753
|
*
|
|
721
754
|
* @param request - CreateClusterRequest
|
|
722
755
|
* @param headers - map
|
|
@@ -1053,17 +1086,16 @@ class Client extends openapi_core_1.default {
|
|
|
1053
1086
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterResponse({}));
|
|
1054
1087
|
}
|
|
1055
1088
|
/**
|
|
1056
|
-
*
|
|
1089
|
+
* 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.
|
|
1057
1090
|
*
|
|
1058
1091
|
* @remarks
|
|
1059
|
-
* ### Generate OpenAPI request parameters
|
|
1060
|
-
*
|
|
1061
|
-
* 1. Log
|
|
1062
|
-
*
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
* >Notice:
|
|
1066
|
-
* 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).
|
|
1092
|
+
* ### Generate OpenAPI request parameters through the console
|
|
1093
|
+
* 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:
|
|
1094
|
+
* 1. Log in to the [Container Service management console](https://csnew.console.aliyun.com) and choose **Clusters** in the left navigation pane.
|
|
1095
|
+
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
1096
|
+
* 1. In the dialog box, select the cluster type to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
1097
|
+
* 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.
|
|
1098
|
+
* >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>
|
|
1067
1099
|
*
|
|
1068
1100
|
* @param request - CreateClusterRequest
|
|
1069
1101
|
* @returns CreateClusterResponse
|
|
@@ -1074,7 +1106,7 @@ class Client extends openapi_core_1.default {
|
|
|
1074
1106
|
return await this.createClusterWithOptions(request, headers, runtime);
|
|
1075
1107
|
}
|
|
1076
1108
|
/**
|
|
1077
|
-
*
|
|
1109
|
+
* Initiates a cluster diagnosis.
|
|
1078
1110
|
*
|
|
1079
1111
|
* @param request - CreateClusterDiagnosisRequest
|
|
1080
1112
|
* @param headers - map
|
|
@@ -1108,7 +1140,7 @@ class Client extends openapi_core_1.default {
|
|
|
1108
1140
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterDiagnosisResponse({}));
|
|
1109
1141
|
}
|
|
1110
1142
|
/**
|
|
1111
|
-
*
|
|
1143
|
+
* Initiates a cluster diagnosis.
|
|
1112
1144
|
*
|
|
1113
1145
|
* @param request - CreateClusterDiagnosisRequest
|
|
1114
1146
|
* @returns CreateClusterDiagnosisResponse
|
|
@@ -1119,7 +1151,7 @@ class Client extends openapi_core_1.default {
|
|
|
1119
1151
|
return await this.createClusterDiagnosisWithOptions(clusterId, request, headers, runtime);
|
|
1120
1152
|
}
|
|
1121
1153
|
/**
|
|
1122
|
-
*
|
|
1154
|
+
* Creates a cluster inspection configuration.
|
|
1123
1155
|
*
|
|
1124
1156
|
* @param request - CreateClusterInspectConfigRequest
|
|
1125
1157
|
* @param headers - map
|
|
@@ -1156,7 +1188,7 @@ class Client extends openapi_core_1.default {
|
|
|
1156
1188
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterInspectConfigResponse({}));
|
|
1157
1189
|
}
|
|
1158
1190
|
/**
|
|
1159
|
-
*
|
|
1191
|
+
* Creates a cluster inspection configuration.
|
|
1160
1192
|
*
|
|
1161
1193
|
* @param request - CreateClusterInspectConfigRequest
|
|
1162
1194
|
* @returns CreateClusterInspectConfigResponse
|
|
@@ -1167,7 +1199,7 @@ class Client extends openapi_core_1.default {
|
|
|
1167
1199
|
return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
|
|
1168
1200
|
}
|
|
1169
1201
|
/**
|
|
1170
|
-
* A node pool is a logical collection of nodes that share the same
|
|
1202
|
+
* A node pool is a logical collection of nodes that share the same attributes. Node pools allow unified management and operations, such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
|
|
1171
1203
|
*
|
|
1172
1204
|
* @param request - CreateClusterNodePoolRequest
|
|
1173
1205
|
* @param headers - map
|
|
@@ -1243,7 +1275,7 @@ class Client extends openapi_core_1.default {
|
|
|
1243
1275
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
|
|
1244
1276
|
}
|
|
1245
1277
|
/**
|
|
1246
|
-
* A node pool is a logical collection of nodes that share the same
|
|
1278
|
+
* A node pool is a logical collection of nodes that share the same attributes. Node pools allow unified management and operations, such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
|
|
1247
1279
|
*
|
|
1248
1280
|
* @param request - CreateClusterNodePoolRequest
|
|
1249
1281
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -1254,7 +1286,7 @@ class Client extends openapi_core_1.default {
|
|
|
1254
1286
|
return await this.createClusterNodePoolWithOptions(ClusterId, request, headers, runtime);
|
|
1255
1287
|
}
|
|
1256
1288
|
/**
|
|
1257
|
-
*
|
|
1289
|
+
* Creates a trigger for an application.
|
|
1258
1290
|
*
|
|
1259
1291
|
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
1260
1292
|
*
|
|
@@ -1296,7 +1328,7 @@ class Client extends openapi_core_1.default {
|
|
|
1296
1328
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateKubernetesTriggerResponse({}));
|
|
1297
1329
|
}
|
|
1298
1330
|
/**
|
|
1299
|
-
*
|
|
1331
|
+
* Creates a trigger for an application.
|
|
1300
1332
|
*
|
|
1301
1333
|
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
1302
1334
|
*
|
|
@@ -1310,7 +1342,7 @@ class Client extends openapi_core_1.default {
|
|
|
1310
1342
|
return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
|
|
1311
1343
|
}
|
|
1312
1344
|
/**
|
|
1313
|
-
*
|
|
1345
|
+
* 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.
|
|
1314
1346
|
*
|
|
1315
1347
|
* @param request - CreateTemplateRequest
|
|
1316
1348
|
* @param headers - map
|
|
@@ -1353,7 +1385,7 @@ class Client extends openapi_core_1.default {
|
|
|
1353
1385
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTemplateResponse({}));
|
|
1354
1386
|
}
|
|
1355
1387
|
/**
|
|
1356
|
-
*
|
|
1388
|
+
* 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.
|
|
1357
1389
|
*
|
|
1358
1390
|
* @param request - CreateTemplateRequest
|
|
1359
1391
|
* @returns CreateTemplateResponse
|
|
@@ -1364,10 +1396,10 @@ class Client extends openapi_core_1.default {
|
|
|
1364
1396
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
1365
1397
|
}
|
|
1366
1398
|
/**
|
|
1367
|
-
*
|
|
1399
|
+
* Configures a trigger for a cluster application. The trigger redeploys pods when specified conditions are met.
|
|
1368
1400
|
*
|
|
1369
1401
|
* @remarks
|
|
1370
|
-
* >
|
|
1402
|
+
* > Creating a trigger only supports pod redeployment.
|
|
1371
1403
|
*
|
|
1372
1404
|
* @param request - CreateTriggerRequest
|
|
1373
1405
|
* @param headers - map
|
|
@@ -1407,10 +1439,10 @@ class Client extends openapi_core_1.default {
|
|
|
1407
1439
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTriggerResponse({}));
|
|
1408
1440
|
}
|
|
1409
1441
|
/**
|
|
1410
|
-
*
|
|
1442
|
+
* Configures a trigger for a cluster application. The trigger redeploys pods when specified conditions are met.
|
|
1411
1443
|
*
|
|
1412
1444
|
* @remarks
|
|
1413
|
-
* >
|
|
1445
|
+
* > Creating a trigger only supports pod redeployment.
|
|
1414
1446
|
*
|
|
1415
1447
|
* @param request - CreateTriggerRequest
|
|
1416
1448
|
* @returns CreateTriggerResponse
|
|
@@ -1421,7 +1453,7 @@ class Client extends openapi_core_1.default {
|
|
|
1421
1453
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
1422
1454
|
}
|
|
1423
1455
|
/**
|
|
1424
|
-
* Deletes
|
|
1456
|
+
* Deletes alert contacts from ACK.
|
|
1425
1457
|
*
|
|
1426
1458
|
* @param tmpReq - DeleteAlertContactRequest
|
|
1427
1459
|
* @param headers - map
|
|
@@ -1457,7 +1489,7 @@ class Client extends openapi_core_1.default {
|
|
|
1457
1489
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAlertContactResponse({}));
|
|
1458
1490
|
}
|
|
1459
1491
|
/**
|
|
1460
|
-
* Deletes
|
|
1492
|
+
* Deletes alert contacts from ACK.
|
|
1461
1493
|
*
|
|
1462
1494
|
* @param request - DeleteAlertContactRequest
|
|
1463
1495
|
* @returns DeleteAlertContactResponse
|
|
@@ -1468,7 +1500,7 @@ class Client extends openapi_core_1.default {
|
|
|
1468
1500
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
1469
1501
|
}
|
|
1470
1502
|
/**
|
|
1471
|
-
*
|
|
1503
|
+
* Delete ACK alert contact group
|
|
1472
1504
|
*
|
|
1473
1505
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
1474
1506
|
* @param headers - map
|
|
@@ -1504,7 +1536,7 @@ class Client extends openapi_core_1.default {
|
|
|
1504
1536
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAlertContactGroupResponse({}));
|
|
1505
1537
|
}
|
|
1506
1538
|
/**
|
|
1507
|
-
*
|
|
1539
|
+
* Delete ACK alert contact group
|
|
1508
1540
|
*
|
|
1509
1541
|
* @param request - DeleteAlertContactGroupRequest
|
|
1510
1542
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -1515,11 +1547,10 @@ class Client extends openapi_core_1.default {
|
|
|
1515
1547
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
1516
1548
|
}
|
|
1517
1549
|
/**
|
|
1518
|
-
* Deletes an
|
|
1550
|
+
* Deletes an automatic fault recovery rule.
|
|
1519
1551
|
*
|
|
1520
1552
|
* @remarks
|
|
1521
|
-
* >Notice:
|
|
1522
|
-
* This API is not yet publicly available.
|
|
1553
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
1523
1554
|
*
|
|
1524
1555
|
* @param headers - map
|
|
1525
1556
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1543,11 +1574,10 @@ class Client extends openapi_core_1.default {
|
|
|
1543
1574
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAutoRepairPolicyResponse({}));
|
|
1544
1575
|
}
|
|
1545
1576
|
/**
|
|
1546
|
-
* Deletes an
|
|
1577
|
+
* Deletes an automatic fault recovery rule.
|
|
1547
1578
|
*
|
|
1548
1579
|
* @remarks
|
|
1549
|
-
* >Notice:
|
|
1550
|
-
* This API is not yet publicly available.
|
|
1580
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
1551
1581
|
* @returns DeleteAutoRepairPolicyResponse
|
|
1552
1582
|
*/
|
|
1553
1583
|
async deleteAutoRepairPolicy(clusterId, policyId) {
|
|
@@ -1556,15 +1586,15 @@ class Client extends openapi_core_1.default {
|
|
|
1556
1586
|
return await this.deleteAutoRepairPolicyWithOptions(clusterId, policyId, headers, runtime);
|
|
1557
1587
|
}
|
|
1558
1588
|
/**
|
|
1559
|
-
*
|
|
1589
|
+
* 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.
|
|
1560
1590
|
*
|
|
1561
1591
|
* @remarks
|
|
1562
|
-
*
|
|
1563
|
-
* - Subscription
|
|
1564
|
-
* - Subscription
|
|
1565
|
-
* -
|
|
1566
|
-
* - ECIs created
|
|
1567
|
-
* - Some cloud resources created
|
|
1592
|
+
* Risk notice:
|
|
1593
|
+
* - 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.
|
|
1594
|
+
* - Subscription APIServer SLB resources cannot be subject to automatic release. To avoid unnecessary billing, perform manual release of these resources.
|
|
1595
|
+
* - 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.
|
|
1596
|
+
* - Elastic Container Instances (ECIs) created through virtual nodes are subject to automatic release.
|
|
1597
|
+
* - 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.
|
|
1568
1598
|
*
|
|
1569
1599
|
* @param tmpReq - DeleteClusterRequest
|
|
1570
1600
|
* @param headers - map
|
|
@@ -1612,15 +1642,15 @@ class Client extends openapi_core_1.default {
|
|
|
1612
1642
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterResponse({}));
|
|
1613
1643
|
}
|
|
1614
1644
|
/**
|
|
1615
|
-
*
|
|
1645
|
+
* 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.
|
|
1616
1646
|
*
|
|
1617
1647
|
* @remarks
|
|
1618
|
-
*
|
|
1619
|
-
* - Subscription
|
|
1620
|
-
* - Subscription
|
|
1621
|
-
* -
|
|
1622
|
-
* - ECIs created
|
|
1623
|
-
* - Some cloud resources created
|
|
1648
|
+
* Risk notice:
|
|
1649
|
+
* - 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.
|
|
1650
|
+
* - Subscription APIServer SLB resources cannot be subject to automatic release. To avoid unnecessary billing, perform manual release of these resources.
|
|
1651
|
+
* - 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.
|
|
1652
|
+
* - Elastic Container Instances (ECIs) created through virtual nodes are subject to automatic release.
|
|
1653
|
+
* - 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.
|
|
1624
1654
|
*
|
|
1625
1655
|
* @param request - DeleteClusterRequest
|
|
1626
1656
|
* @returns DeleteClusterResponse
|
|
@@ -1631,7 +1661,7 @@ class Client extends openapi_core_1.default {
|
|
|
1631
1661
|
return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
|
|
1632
1662
|
}
|
|
1633
1663
|
/**
|
|
1634
|
-
* Deletes cluster inspection
|
|
1664
|
+
* Deletes a cluster inspection configuration.
|
|
1635
1665
|
*
|
|
1636
1666
|
* @param headers - map
|
|
1637
1667
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1655,7 +1685,7 @@ class Client extends openapi_core_1.default {
|
|
|
1655
1685
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterInspectConfigResponse({}));
|
|
1656
1686
|
}
|
|
1657
1687
|
/**
|
|
1658
|
-
* Deletes cluster inspection
|
|
1688
|
+
* Deletes a cluster inspection configuration.
|
|
1659
1689
|
* @returns DeleteClusterInspectConfigResponse
|
|
1660
1690
|
*/
|
|
1661
1691
|
async deleteClusterInspectConfig(clusterId) {
|
|
@@ -1664,7 +1694,7 @@ class Client extends openapi_core_1.default {
|
|
|
1664
1694
|
return await this.deleteClusterInspectConfigWithOptions(clusterId, headers, runtime);
|
|
1665
1695
|
}
|
|
1666
1696
|
/**
|
|
1667
|
-
* Deletes
|
|
1697
|
+
* 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.
|
|
1668
1698
|
*
|
|
1669
1699
|
* @param request - DeleteClusterNodepoolRequest
|
|
1670
1700
|
* @param headers - map
|
|
@@ -1695,7 +1725,7 @@ class Client extends openapi_core_1.default {
|
|
|
1695
1725
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterNodepoolResponse({}));
|
|
1696
1726
|
}
|
|
1697
1727
|
/**
|
|
1698
|
-
* Deletes
|
|
1728
|
+
* 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.
|
|
1699
1729
|
*
|
|
1700
1730
|
* @param request - DeleteClusterNodepoolRequest
|
|
1701
1731
|
* @returns DeleteClusterNodepoolResponse
|
|
@@ -1706,15 +1736,15 @@ class Client extends openapi_core_1.default {
|
|
|
1706
1736
|
return await this.deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
1707
1737
|
}
|
|
1708
1738
|
/**
|
|
1709
|
-
*
|
|
1739
|
+
* 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.
|
|
1710
1740
|
*
|
|
1711
1741
|
* @remarks
|
|
1712
|
-
*
|
|
1713
|
-
*
|
|
1714
|
-
*
|
|
1715
|
-
*
|
|
1716
|
-
*
|
|
1717
|
-
*
|
|
1742
|
+
* - 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.
|
|
1743
|
+
* - 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.
|
|
1744
|
+
* - 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.
|
|
1745
|
+
* - 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.
|
|
1746
|
+
* - 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.
|
|
1747
|
+
* - 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.
|
|
1718
1748
|
*
|
|
1719
1749
|
* @param request - DeleteClusterNodesRequest
|
|
1720
1750
|
* @param headers - map
|
|
@@ -1751,15 +1781,15 @@ class Client extends openapi_core_1.default {
|
|
|
1751
1781
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterNodesResponse({}));
|
|
1752
1782
|
}
|
|
1753
1783
|
/**
|
|
1754
|
-
*
|
|
1784
|
+
* 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.
|
|
1755
1785
|
*
|
|
1756
1786
|
* @remarks
|
|
1757
|
-
*
|
|
1758
|
-
*
|
|
1759
|
-
*
|
|
1760
|
-
*
|
|
1761
|
-
*
|
|
1762
|
-
*
|
|
1787
|
+
* - 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.
|
|
1788
|
+
* - 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.
|
|
1789
|
+
* - 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.
|
|
1790
|
+
* - 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.
|
|
1791
|
+
* - 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.
|
|
1792
|
+
* - 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.
|
|
1763
1793
|
*
|
|
1764
1794
|
* @param request - DeleteClusterNodesRequest
|
|
1765
1795
|
* @returns DeleteClusterNodesResponse
|
|
@@ -1770,7 +1800,7 @@ class Client extends openapi_core_1.default {
|
|
|
1770
1800
|
return await this.deleteClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
1771
1801
|
}
|
|
1772
1802
|
/**
|
|
1773
|
-
*
|
|
1803
|
+
* Deletes an application trigger by trigger ID.
|
|
1774
1804
|
*
|
|
1775
1805
|
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
1776
1806
|
*
|
|
@@ -1796,7 +1826,7 @@ class Client extends openapi_core_1.default {
|
|
|
1796
1826
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKubernetesTriggerResponse({}));
|
|
1797
1827
|
}
|
|
1798
1828
|
/**
|
|
1799
|
-
*
|
|
1829
|
+
* Deletes an application trigger by trigger ID.
|
|
1800
1830
|
*
|
|
1801
1831
|
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
1802
1832
|
* @returns DeleteKubernetesTriggerResponse
|
|
@@ -1808,7 +1838,7 @@ class Client extends openapi_core_1.default {
|
|
|
1808
1838
|
return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
|
|
1809
1839
|
}
|
|
1810
1840
|
/**
|
|
1811
|
-
* Deletes policy
|
|
1841
|
+
* Deletes a policy rule instance from a specified cluster.
|
|
1812
1842
|
*
|
|
1813
1843
|
* @param request - DeletePolicyInstanceRequest
|
|
1814
1844
|
* @param headers - map
|
|
@@ -1839,7 +1869,7 @@ class Client extends openapi_core_1.default {
|
|
|
1839
1869
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePolicyInstanceResponse({}));
|
|
1840
1870
|
}
|
|
1841
1871
|
/**
|
|
1842
|
-
* Deletes policy
|
|
1872
|
+
* Deletes a policy rule instance from a specified cluster.
|
|
1843
1873
|
*
|
|
1844
1874
|
* @param request - DeletePolicyInstanceRequest
|
|
1845
1875
|
* @returns DeletePolicyInstanceResponse
|
|
@@ -1850,7 +1880,7 @@ class Client extends openapi_core_1.default {
|
|
|
1850
1880
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
1851
1881
|
}
|
|
1852
1882
|
/**
|
|
1853
|
-
* Deletes
|
|
1883
|
+
* Deletes an orchestration template when you no longer need it.
|
|
1854
1884
|
*
|
|
1855
1885
|
* @param headers - map
|
|
1856
1886
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1874,7 +1904,7 @@ class Client extends openapi_core_1.default {
|
|
|
1874
1904
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTemplateResponse({}));
|
|
1875
1905
|
}
|
|
1876
1906
|
/**
|
|
1877
|
-
* Deletes
|
|
1907
|
+
* Deletes an orchestration template when you no longer need it.
|
|
1878
1908
|
* @returns DeleteTemplateResponse
|
|
1879
1909
|
*/
|
|
1880
1910
|
async deleteTemplate(TemplateId) {
|
|
@@ -1883,7 +1913,7 @@ class Client extends openapi_core_1.default {
|
|
|
1883
1913
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
1884
1914
|
}
|
|
1885
1915
|
/**
|
|
1886
|
-
* Deletes an application trigger.
|
|
1916
|
+
* Deletes an application trigger when it is no longer needed.
|
|
1887
1917
|
*
|
|
1888
1918
|
* @param headers - map
|
|
1889
1919
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1907,7 +1937,7 @@ class Client extends openapi_core_1.default {
|
|
|
1907
1937
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTriggerResponse({}));
|
|
1908
1938
|
}
|
|
1909
1939
|
/**
|
|
1910
|
-
* Deletes an application trigger.
|
|
1940
|
+
* Deletes an application trigger when it is no longer needed.
|
|
1911
1941
|
* @returns DeleteTriggerResponse
|
|
1912
1942
|
*/
|
|
1913
1943
|
async deleteTrigger(clusterId, Id) {
|
|
@@ -1916,7 +1946,7 @@ class Client extends openapi_core_1.default {
|
|
|
1916
1946
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
1917
1947
|
}
|
|
1918
1948
|
/**
|
|
1919
|
-
*
|
|
1949
|
+
* 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.
|
|
1920
1950
|
*
|
|
1921
1951
|
* @param request - DeployPolicyInstanceRequest
|
|
1922
1952
|
* @param headers - map
|
|
@@ -1953,7 +1983,7 @@ class Client extends openapi_core_1.default {
|
|
|
1953
1983
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeployPolicyInstanceResponse({}));
|
|
1954
1984
|
}
|
|
1955
1985
|
/**
|
|
1956
|
-
*
|
|
1986
|
+
* 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.
|
|
1957
1987
|
*
|
|
1958
1988
|
* @param request - DeployPolicyInstanceRequest
|
|
1959
1989
|
* @returns DeployPolicyInstanceResponse
|
|
@@ -1964,7 +1994,7 @@ class Client extends openapi_core_1.default {
|
|
|
1964
1994
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
1965
1995
|
}
|
|
1966
1996
|
/**
|
|
1967
|
-
*
|
|
1997
|
+
* 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.
|
|
1968
1998
|
*
|
|
1969
1999
|
* @param request - DescribeAddonRequest
|
|
1970
2000
|
* @param headers - map
|
|
@@ -2013,7 +2043,7 @@ class Client extends openapi_core_1.default {
|
|
|
2013
2043
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAddonResponse({}));
|
|
2014
2044
|
}
|
|
2015
2045
|
/**
|
|
2016
|
-
*
|
|
2046
|
+
* 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.
|
|
2017
2047
|
*
|
|
2018
2048
|
* @param request - DescribeAddonRequest
|
|
2019
2049
|
* @returns DescribeAddonResponse
|
|
@@ -2024,7 +2054,7 @@ class Client extends openapi_core_1.default {
|
|
|
2024
2054
|
return await this.describeAddonWithOptions(addonName, request, headers, runtime);
|
|
2025
2055
|
}
|
|
2026
2056
|
/**
|
|
2027
|
-
*
|
|
2057
|
+
* Queries the details of all components supported by the platform.
|
|
2028
2058
|
*
|
|
2029
2059
|
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
2030
2060
|
*
|
|
@@ -2069,7 +2099,7 @@ class Client extends openapi_core_1.default {
|
|
|
2069
2099
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAddonsResponse({}));
|
|
2070
2100
|
}
|
|
2071
2101
|
/**
|
|
2072
|
-
*
|
|
2102
|
+
* Queries the details of all components supported by the platform.
|
|
2073
2103
|
*
|
|
2074
2104
|
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
2075
2105
|
*
|
|
@@ -2083,11 +2113,10 @@ class Client extends openapi_core_1.default {
|
|
|
2083
2113
|
return await this.describeAddonsWithOptions(request, headers, runtime);
|
|
2084
2114
|
}
|
|
2085
2115
|
/**
|
|
2086
|
-
*
|
|
2116
|
+
* Queries an auto-repair rule.
|
|
2087
2117
|
*
|
|
2088
2118
|
* @remarks
|
|
2089
|
-
* >Notice:
|
|
2090
|
-
* This API is not yet available.
|
|
2119
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
2091
2120
|
*
|
|
2092
2121
|
* @param headers - map
|
|
2093
2122
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2111,11 +2140,10 @@ class Client extends openapi_core_1.default {
|
|
|
2111
2140
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAutoRepairPolicyResponse({}));
|
|
2112
2141
|
}
|
|
2113
2142
|
/**
|
|
2114
|
-
*
|
|
2143
|
+
* Queries an auto-repair rule.
|
|
2115
2144
|
*
|
|
2116
2145
|
* @remarks
|
|
2117
|
-
* >Notice:
|
|
2118
|
-
* This API is not yet available.
|
|
2146
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
2119
2147
|
* @returns DescribeAutoRepairPolicyResponse
|
|
2120
2148
|
*/
|
|
2121
2149
|
async describeAutoRepairPolicy(clusterId, policyId) {
|
|
@@ -2124,7 +2152,7 @@ class Client extends openapi_core_1.default {
|
|
|
2124
2152
|
return await this.describeAutoRepairPolicyWithOptions(clusterId, policyId, headers, runtime);
|
|
2125
2153
|
}
|
|
2126
2154
|
/**
|
|
2127
|
-
*
|
|
2155
|
+
* Calls DescribeClusterAddonInstance to query information about an installed cluster component, such as its version, status, and configuration.
|
|
2128
2156
|
*
|
|
2129
2157
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
2130
2158
|
*
|
|
@@ -2150,7 +2178,7 @@ class Client extends openapi_core_1.default {
|
|
|
2150
2178
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonInstanceResponse({}));
|
|
2151
2179
|
}
|
|
2152
2180
|
/**
|
|
2153
|
-
*
|
|
2181
|
+
* Calls DescribeClusterAddonInstance to query information about an installed cluster component, such as its version, status, and configuration.
|
|
2154
2182
|
*
|
|
2155
2183
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
2156
2184
|
* @returns DescribeClusterAddonInstanceResponse
|
|
@@ -2162,7 +2190,7 @@ class Client extends openapi_core_1.default {
|
|
|
2162
2190
|
return await this.describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime);
|
|
2163
2191
|
}
|
|
2164
2192
|
/**
|
|
2165
|
-
*
|
|
2193
|
+
* Queries the version information of a specified component that can be used in a specific cluster, including the component version and configurable parameters.
|
|
2166
2194
|
*
|
|
2167
2195
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
2168
2196
|
*
|
|
@@ -2195,7 +2223,7 @@ class Client extends openapi_core_1.default {
|
|
|
2195
2223
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonMetadataResponse({}));
|
|
2196
2224
|
}
|
|
2197
2225
|
/**
|
|
2198
|
-
*
|
|
2226
|
+
* Queries the version information of a specified component that can be used in a specific cluster, including the component version and configurable parameters.
|
|
2199
2227
|
*
|
|
2200
2228
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
2201
2229
|
*
|
|
@@ -2209,7 +2237,7 @@ class Client extends openapi_core_1.default {
|
|
|
2209
2237
|
return await this.describeClusterAddonMetadataWithOptions(clusterId, componentId, request, headers, runtime);
|
|
2210
2238
|
}
|
|
2211
2239
|
/**
|
|
2212
|
-
*
|
|
2240
|
+
* Queries the upgrade status of a cluster component by calling DescribeClusterAddonUpgradeStatus.
|
|
2213
2241
|
*
|
|
2214
2242
|
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
2215
2243
|
*
|
|
@@ -2235,7 +2263,7 @@ class Client extends openapi_core_1.default {
|
|
|
2235
2263
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonUpgradeStatusResponse({}));
|
|
2236
2264
|
}
|
|
2237
2265
|
/**
|
|
2238
|
-
*
|
|
2266
|
+
* Queries the upgrade status of a cluster component by calling DescribeClusterAddonUpgradeStatus.
|
|
2239
2267
|
*
|
|
2240
2268
|
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
2241
2269
|
* @returns DescribeClusterAddonUpgradeStatusResponse
|
|
@@ -2247,7 +2275,7 @@ class Client extends openapi_core_1.default {
|
|
|
2247
2275
|
return await this.describeClusterAddonUpgradeStatusWithOptions(ClusterId, ComponentId, headers, runtime);
|
|
2248
2276
|
}
|
|
2249
2277
|
/**
|
|
2250
|
-
*
|
|
2278
|
+
* Queries the upgrade status of a component by component name.
|
|
2251
2279
|
*
|
|
2252
2280
|
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
2253
2281
|
*
|
|
@@ -2285,7 +2313,7 @@ class Client extends openapi_core_1.default {
|
|
|
2285
2313
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
2286
2314
|
}
|
|
2287
2315
|
/**
|
|
2288
|
-
*
|
|
2316
|
+
* Queries the upgrade status of a component by component name.
|
|
2289
2317
|
*
|
|
2290
2318
|
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
2291
2319
|
*
|
|
@@ -2299,7 +2327,7 @@ class Client extends openapi_core_1.default {
|
|
|
2299
2327
|
return await this.describeClusterAddonsUpgradeStatusWithOptions(ClusterId, request, headers, runtime);
|
|
2300
2328
|
}
|
|
2301
2329
|
/**
|
|
2302
|
-
*
|
|
2330
|
+
* Queries the details of all installed components in a cluster by cluster ID.
|
|
2303
2331
|
*
|
|
2304
2332
|
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
2305
2333
|
*
|
|
@@ -2325,7 +2353,7 @@ class Client extends openapi_core_1.default {
|
|
|
2325
2353
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonsVersionResponse({}));
|
|
2326
2354
|
}
|
|
2327
2355
|
/**
|
|
2328
|
-
*
|
|
2356
|
+
* Queries the details of all installed components in a cluster by cluster ID.
|
|
2329
2357
|
*
|
|
2330
2358
|
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
2331
2359
|
* @returns DescribeClusterAddonsVersionResponse
|
|
@@ -2337,7 +2365,7 @@ class Client extends openapi_core_1.default {
|
|
|
2337
2365
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
2338
2366
|
}
|
|
2339
2367
|
/**
|
|
2340
|
-
*
|
|
2368
|
+
* 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.
|
|
2341
2369
|
*
|
|
2342
2370
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
2343
2371
|
* @param headers - map
|
|
@@ -2389,7 +2417,7 @@ class Client extends openapi_core_1.default {
|
|
|
2389
2417
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAttachScriptsResponse({}));
|
|
2390
2418
|
}
|
|
2391
2419
|
/**
|
|
2392
|
-
*
|
|
2420
|
+
* 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.
|
|
2393
2421
|
*
|
|
2394
2422
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
2395
2423
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -2400,7 +2428,7 @@ class Client extends openapi_core_1.default {
|
|
|
2400
2428
|
return await this.describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime);
|
|
2401
2429
|
}
|
|
2402
2430
|
/**
|
|
2403
|
-
* You can call the DescribeClusterDetail
|
|
2431
|
+
* You can call the DescribeClusterDetail API to query the detailed information of a specified cluster by cluster ID.
|
|
2404
2432
|
*
|
|
2405
2433
|
* @param headers - map
|
|
2406
2434
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2424,7 +2452,7 @@ class Client extends openapi_core_1.default {
|
|
|
2424
2452
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterDetailResponse({}));
|
|
2425
2453
|
}
|
|
2426
2454
|
/**
|
|
2427
|
-
* You can call the DescribeClusterDetail
|
|
2455
|
+
* You can call the DescribeClusterDetail API to query the detailed information of a specified cluster by cluster ID.
|
|
2428
2456
|
* @returns DescribeClusterDetailResponse
|
|
2429
2457
|
*/
|
|
2430
2458
|
async describeClusterDetail(ClusterId) {
|
|
@@ -2433,7 +2461,7 @@ class Client extends openapi_core_1.default {
|
|
|
2433
2461
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
2434
2462
|
}
|
|
2435
2463
|
/**
|
|
2436
|
-
* Cluster operation events include cluster creation, modification,
|
|
2464
|
+
* 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.
|
|
2437
2465
|
*
|
|
2438
2466
|
* @param request - DescribeClusterEventsRequest
|
|
2439
2467
|
* @param headers - map
|
|
@@ -2476,7 +2504,7 @@ class Client extends openapi_core_1.default {
|
|
|
2476
2504
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterEventsResponse({}));
|
|
2477
2505
|
}
|
|
2478
2506
|
/**
|
|
2479
|
-
* Cluster operation events include cluster creation, modification,
|
|
2507
|
+
* 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.
|
|
2480
2508
|
*
|
|
2481
2509
|
* @param request - DescribeClusterEventsRequest
|
|
2482
2510
|
* @returns DescribeClusterEventsResponse
|
|
@@ -2487,7 +2515,7 @@ class Client extends openapi_core_1.default {
|
|
|
2487
2515
|
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
2488
2516
|
}
|
|
2489
2517
|
/**
|
|
2490
|
-
*
|
|
2518
|
+
* Retrieves the log data of a cluster for root cause analysis and tracing when cluster issues occur.
|
|
2491
2519
|
*
|
|
2492
2520
|
* @param headers - map
|
|
2493
2521
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2511,7 +2539,7 @@ class Client extends openapi_core_1.default {
|
|
|
2511
2539
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterLogsResponse({}));
|
|
2512
2540
|
}
|
|
2513
2541
|
/**
|
|
2514
|
-
*
|
|
2542
|
+
* Retrieves the log data of a cluster for root cause analysis and tracing when cluster issues occur.
|
|
2515
2543
|
* @returns DescribeClusterLogsResponse
|
|
2516
2544
|
*/
|
|
2517
2545
|
async describeClusterLogs(ClusterId) {
|
|
@@ -2520,7 +2548,7 @@ class Client extends openapi_core_1.default {
|
|
|
2520
2548
|
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
2521
2549
|
}
|
|
2522
2550
|
/**
|
|
2523
|
-
*
|
|
2551
|
+
* Queries the configuration of a specified node pool in a cluster by node pool ID.
|
|
2524
2552
|
*
|
|
2525
2553
|
* @param headers - map
|
|
2526
2554
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2544,7 +2572,7 @@ class Client extends openapi_core_1.default {
|
|
|
2544
2572
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodePoolDetailResponse({}));
|
|
2545
2573
|
}
|
|
2546
2574
|
/**
|
|
2547
|
-
*
|
|
2575
|
+
* Queries the configuration of a specified node pool in a cluster by node pool ID.
|
|
2548
2576
|
* @returns DescribeClusterNodePoolDetailResponse
|
|
2549
2577
|
*/
|
|
2550
2578
|
async describeClusterNodePoolDetail(ClusterId, NodepoolId) {
|
|
@@ -2553,7 +2581,7 @@ class Client extends openapi_core_1.default {
|
|
|
2553
2581
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
2554
2582
|
}
|
|
2555
2583
|
/**
|
|
2556
|
-
*
|
|
2584
|
+
* Queries the list of all node pools in a cluster.
|
|
2557
2585
|
*
|
|
2558
2586
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2559
2587
|
* @param headers - map
|
|
@@ -2584,7 +2612,7 @@ class Client extends openapi_core_1.default {
|
|
|
2584
2612
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodePoolsResponse({}));
|
|
2585
2613
|
}
|
|
2586
2614
|
/**
|
|
2587
|
-
*
|
|
2615
|
+
* Queries the list of all node pools in a cluster.
|
|
2588
2616
|
*
|
|
2589
2617
|
* @param request - DescribeClusterNodePoolsRequest
|
|
2590
2618
|
* @returns DescribeClusterNodePoolsResponse
|
|
@@ -2595,7 +2623,7 @@ class Client extends openapi_core_1.default {
|
|
|
2595
2623
|
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
2596
2624
|
}
|
|
2597
2625
|
/**
|
|
2598
|
-
*
|
|
2626
|
+
* Queries the list of nodes that meet the specified conditions in a cluster.
|
|
2599
2627
|
*
|
|
2600
2628
|
* @param request - DescribeClusterNodesRequest
|
|
2601
2629
|
* @param headers - map
|
|
@@ -2608,6 +2636,15 @@ class Client extends openapi_core_1.default {
|
|
|
2608
2636
|
if (!$dara.isNull(request.instanceIds)) {
|
|
2609
2637
|
query["instanceIds"] = request.instanceIds;
|
|
2610
2638
|
}
|
|
2639
|
+
if (!$dara.isNull(request.nodeIps)) {
|
|
2640
|
+
query["nodeIps"] = request.nodeIps;
|
|
2641
|
+
}
|
|
2642
|
+
if (!$dara.isNull(request.nodeLabels)) {
|
|
2643
|
+
query["nodeLabels"] = request.nodeLabels;
|
|
2644
|
+
}
|
|
2645
|
+
if (!$dara.isNull(request.nodeNames)) {
|
|
2646
|
+
query["nodeNames"] = request.nodeNames;
|
|
2647
|
+
}
|
|
2611
2648
|
if (!$dara.isNull(request.nodepoolId)) {
|
|
2612
2649
|
query["nodepool_id"] = request.nodepoolId;
|
|
2613
2650
|
}
|
|
@@ -2638,7 +2675,7 @@ class Client extends openapi_core_1.default {
|
|
|
2638
2675
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodesResponse({}));
|
|
2639
2676
|
}
|
|
2640
2677
|
/**
|
|
2641
|
-
*
|
|
2678
|
+
* Queries the list of nodes that meet the specified conditions in a cluster.
|
|
2642
2679
|
*
|
|
2643
2680
|
* @param request - DescribeClusterNodesRequest
|
|
2644
2681
|
* @returns DescribeClusterNodesResponse
|
|
@@ -2649,7 +2686,7 @@ class Client extends openapi_core_1.default {
|
|
|
2649
2686
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
2650
2687
|
}
|
|
2651
2688
|
/**
|
|
2652
|
-
* Container Service for Kubernetes
|
|
2689
|
+
* 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.
|
|
2653
2690
|
*
|
|
2654
2691
|
* @param request - DescribeClusterResourcesRequest
|
|
2655
2692
|
* @param headers - map
|
|
@@ -2680,7 +2717,7 @@ class Client extends openapi_core_1.default {
|
|
|
2680
2717
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterResourcesResponse({}));
|
|
2681
2718
|
}
|
|
2682
2719
|
/**
|
|
2683
|
-
* Container Service for Kubernetes
|
|
2720
|
+
* 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.
|
|
2684
2721
|
*
|
|
2685
2722
|
* @param request - DescribeClusterResourcesRequest
|
|
2686
2723
|
* @returns DescribeClusterResourcesResponse
|
|
@@ -2691,7 +2728,7 @@ class Client extends openapi_core_1.default {
|
|
|
2691
2728
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
2692
2729
|
}
|
|
2693
2730
|
/**
|
|
2694
|
-
*
|
|
2731
|
+
* Queries the task list of a cluster by calling the DescribeClusterTasks operation.
|
|
2695
2732
|
*
|
|
2696
2733
|
* @param request - DescribeClusterTasksRequest
|
|
2697
2734
|
* @param headers - map
|
|
@@ -2731,7 +2768,7 @@ class Client extends openapi_core_1.default {
|
|
|
2731
2768
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterTasksResponse({}));
|
|
2732
2769
|
}
|
|
2733
2770
|
/**
|
|
2734
|
-
*
|
|
2771
|
+
* Queries the task list of a cluster by calling the DescribeClusterTasks operation.
|
|
2735
2772
|
*
|
|
2736
2773
|
* @param request - DescribeClusterTasksRequest
|
|
2737
2774
|
* @returns DescribeClusterTasksResponse
|
|
@@ -2742,11 +2779,11 @@ class Client extends openapi_core_1.default {
|
|
|
2742
2779
|
return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
|
|
2743
2780
|
}
|
|
2744
2781
|
/**
|
|
2745
|
-
*
|
|
2782
|
+
* 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.
|
|
2746
2783
|
*
|
|
2747
2784
|
* @remarks
|
|
2748
|
-
*
|
|
2749
|
-
*
|
|
2785
|
+
* - 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.
|
|
2786
|
+
* - 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.
|
|
2750
2787
|
*
|
|
2751
2788
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
2752
2789
|
* @param headers - map
|
|
@@ -2780,11 +2817,11 @@ class Client extends openapi_core_1.default {
|
|
|
2780
2817
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterUserKubeconfigResponse({}));
|
|
2781
2818
|
}
|
|
2782
2819
|
/**
|
|
2783
|
-
*
|
|
2820
|
+
* 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.
|
|
2784
2821
|
*
|
|
2785
2822
|
* @remarks
|
|
2786
|
-
*
|
|
2787
|
-
*
|
|
2823
|
+
* - 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.
|
|
2824
|
+
* - 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.
|
|
2788
2825
|
*
|
|
2789
2826
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
2790
2827
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -2795,7 +2832,7 @@ class Client extends openapi_core_1.default {
|
|
|
2795
2832
|
return await this.describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
2796
2833
|
}
|
|
2797
2834
|
/**
|
|
2798
|
-
*
|
|
2835
|
+
* Retrieves the kubeconfig file for a cluster.
|
|
2799
2836
|
*
|
|
2800
2837
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
2801
2838
|
*
|
|
@@ -2831,7 +2868,7 @@ class Client extends openapi_core_1.default {
|
|
|
2831
2868
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterV2UserKubeconfigResponse({}));
|
|
2832
2869
|
}
|
|
2833
2870
|
/**
|
|
2834
|
-
*
|
|
2871
|
+
* Retrieves the kubeconfig file for a cluster.
|
|
2835
2872
|
*
|
|
2836
2873
|
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
2837
2874
|
*
|
|
@@ -2845,7 +2882,7 @@ class Client extends openapi_core_1.default {
|
|
|
2845
2882
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
2846
2883
|
}
|
|
2847
2884
|
/**
|
|
2848
|
-
*
|
|
2885
|
+
* 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.
|
|
2849
2886
|
*
|
|
2850
2887
|
* @param headers - map
|
|
2851
2888
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2869,7 +2906,7 @@ class Client extends openapi_core_1.default {
|
|
|
2869
2906
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterVulsResponse({}));
|
|
2870
2907
|
}
|
|
2871
2908
|
/**
|
|
2872
|
-
*
|
|
2909
|
+
* 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.
|
|
2873
2910
|
* @returns DescribeClusterVulsResponse
|
|
2874
2911
|
*/
|
|
2875
2912
|
async describeClusterVuls(clusterId) {
|
|
@@ -2878,7 +2915,7 @@ class Client extends openapi_core_1.default {
|
|
|
2878
2915
|
return await this.describeClusterVulsWithOptions(clusterId, headers, runtime);
|
|
2879
2916
|
}
|
|
2880
2917
|
/**
|
|
2881
|
-
* View all clusters (including Swarm and Kubernetes clusters)
|
|
2918
|
+
* View all clusters created in Container Service (including Swarm and Kubernetes clusters).
|
|
2882
2919
|
*
|
|
2883
2920
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
2884
2921
|
*
|
|
@@ -2917,7 +2954,7 @@ class Client extends openapi_core_1.default {
|
|
|
2917
2954
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClustersResponse({}));
|
|
2918
2955
|
}
|
|
2919
2956
|
/**
|
|
2920
|
-
* View all clusters (including Swarm and Kubernetes clusters)
|
|
2957
|
+
* View all clusters created in Container Service (including Swarm and Kubernetes clusters).
|
|
2921
2958
|
*
|
|
2922
2959
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
2923
2960
|
*
|
|
@@ -2931,7 +2968,7 @@ class Client extends openapi_core_1.default {
|
|
|
2931
2968
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
2932
2969
|
}
|
|
2933
2970
|
/**
|
|
2934
|
-
*
|
|
2971
|
+
* Queries all clusters in a specified region.
|
|
2935
2972
|
*
|
|
2936
2973
|
* @param request - DescribeClustersForRegionRequest
|
|
2937
2974
|
* @param headers - map
|
|
@@ -2980,7 +3017,7 @@ class Client extends openapi_core_1.default {
|
|
|
2980
3017
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClustersForRegionResponse({}));
|
|
2981
3018
|
}
|
|
2982
3019
|
/**
|
|
2983
|
-
*
|
|
3020
|
+
* Queries all clusters in a specified region.
|
|
2984
3021
|
*
|
|
2985
3022
|
* @param request - DescribeClustersForRegionRequest
|
|
2986
3023
|
* @returns DescribeClustersForRegionResponse
|
|
@@ -2991,7 +3028,7 @@ class Client extends openapi_core_1.default {
|
|
|
2991
3028
|
return await this.describeClustersForRegionWithOptions(regionId, request, headers, runtime);
|
|
2992
3029
|
}
|
|
2993
3030
|
/**
|
|
2994
|
-
*
|
|
3031
|
+
* 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.
|
|
2995
3032
|
*
|
|
2996
3033
|
* @param request - DescribeClustersV1Request
|
|
2997
3034
|
* @param headers - map
|
|
@@ -3043,7 +3080,7 @@ class Client extends openapi_core_1.default {
|
|
|
3043
3080
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClustersV1Response({}));
|
|
3044
3081
|
}
|
|
3045
3082
|
/**
|
|
3046
|
-
*
|
|
3083
|
+
* 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.
|
|
3047
3084
|
*
|
|
3048
3085
|
* @param request - DescribeClustersV1Request
|
|
3049
3086
|
* @returns DescribeClustersV1Response
|
|
@@ -3054,7 +3091,7 @@ class Client extends openapi_core_1.default {
|
|
|
3054
3091
|
return await this.describeClustersV1WithOptions(request, headers, runtime);
|
|
3055
3092
|
}
|
|
3056
3093
|
/**
|
|
3057
|
-
* Cluster operation events include cluster creation, cluster
|
|
3094
|
+
* 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.
|
|
3058
3095
|
*
|
|
3059
3096
|
* @param request - DescribeEventsRequest
|
|
3060
3097
|
* @param headers - map
|
|
@@ -3100,7 +3137,7 @@ class Client extends openapi_core_1.default {
|
|
|
3100
3137
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeEventsResponse({}));
|
|
3101
3138
|
}
|
|
3102
3139
|
/**
|
|
3103
|
-
* Cluster operation events include cluster creation, cluster
|
|
3140
|
+
* 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.
|
|
3104
3141
|
*
|
|
3105
3142
|
* @param request - DescribeEventsRequest
|
|
3106
3143
|
* @returns DescribeEventsResponse
|
|
@@ -3111,7 +3148,7 @@ class Client extends openapi_core_1.default {
|
|
|
3111
3148
|
return await this.describeEventsWithOptions(request, headers, runtime);
|
|
3112
3149
|
}
|
|
3113
3150
|
/**
|
|
3114
|
-
*
|
|
3151
|
+
* Queries all events in a specified region.
|
|
3115
3152
|
*
|
|
3116
3153
|
* @param request - DescribeEventsForRegionRequest
|
|
3117
3154
|
* @param headers - map
|
|
@@ -3154,7 +3191,7 @@ class Client extends openapi_core_1.default {
|
|
|
3154
3191
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeEventsForRegionResponse({}));
|
|
3155
3192
|
}
|
|
3156
3193
|
/**
|
|
3157
|
-
*
|
|
3194
|
+
* Queries all events in a specified region.
|
|
3158
3195
|
*
|
|
3159
3196
|
* @param request - DescribeEventsForRegionRequest
|
|
3160
3197
|
* @returns DescribeEventsForRegionResponse
|
|
@@ -3165,10 +3202,10 @@ class Client extends openapi_core_1.default {
|
|
|
3165
3202
|
return await this.describeEventsForRegionWithOptions(regionId, request, headers, runtime);
|
|
3166
3203
|
}
|
|
3167
3204
|
/**
|
|
3168
|
-
* Queries the
|
|
3205
|
+
* Queries the agent configuration for a registered cluster by cluster ID.
|
|
3169
3206
|
*
|
|
3170
3207
|
* @remarks
|
|
3171
|
-
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
3208
|
+
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
3172
3209
|
*
|
|
3173
3210
|
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
3174
3211
|
*
|
|
@@ -3204,10 +3241,10 @@ class Client extends openapi_core_1.default {
|
|
|
3204
3241
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeExternalAgentResponse({}));
|
|
3205
3242
|
}
|
|
3206
3243
|
/**
|
|
3207
|
-
* Queries the
|
|
3244
|
+
* Queries the agent configuration for a registered cluster by cluster ID.
|
|
3208
3245
|
*
|
|
3209
3246
|
* @remarks
|
|
3210
|
-
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
3247
|
+
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
3211
3248
|
*
|
|
3212
3249
|
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
3213
3250
|
*
|
|
@@ -3221,7 +3258,7 @@ class Client extends openapi_core_1.default {
|
|
|
3221
3258
|
return await this.describeExternalAgentWithOptions(ClusterId, request, headers, runtime);
|
|
3222
3259
|
}
|
|
3223
3260
|
/**
|
|
3224
|
-
*
|
|
3261
|
+
* 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.
|
|
3225
3262
|
*
|
|
3226
3263
|
* @param request - DescribeKubernetesVersionMetadataRequest
|
|
3227
3264
|
* @param headers - map
|
|
@@ -3270,7 +3307,7 @@ class Client extends openapi_core_1.default {
|
|
|
3270
3307
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKubernetesVersionMetadataResponse({}));
|
|
3271
3308
|
}
|
|
3272
3309
|
/**
|
|
3273
|
-
*
|
|
3310
|
+
* 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.
|
|
3274
3311
|
*
|
|
3275
3312
|
* @param request - DescribeKubernetesVersionMetadataRequest
|
|
3276
3313
|
* @returns DescribeKubernetesVersionMetadataResponse
|
|
@@ -3281,7 +3318,7 @@ class Client extends openapi_core_1.default {
|
|
|
3281
3318
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
3282
3319
|
}
|
|
3283
3320
|
/**
|
|
3284
|
-
* Queries the vulnerability
|
|
3321
|
+
* 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.
|
|
3285
3322
|
*
|
|
3286
3323
|
* @param request - DescribeNodePoolVulsRequest
|
|
3287
3324
|
* @param headers - map
|
|
@@ -3312,7 +3349,7 @@ class Client extends openapi_core_1.default {
|
|
|
3312
3349
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNodePoolVulsResponse({}));
|
|
3313
3350
|
}
|
|
3314
3351
|
/**
|
|
3315
|
-
* Queries the vulnerability
|
|
3352
|
+
* 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.
|
|
3316
3353
|
*
|
|
3317
3354
|
* @param request - DescribeNodePoolVulsRequest
|
|
3318
3355
|
* @returns DescribeNodePoolVulsResponse
|
|
@@ -3323,7 +3360,7 @@ class Client extends openapi_core_1.default {
|
|
|
3323
3360
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
3324
3361
|
}
|
|
3325
3362
|
/**
|
|
3326
|
-
*
|
|
3363
|
+
* 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.
|
|
3327
3364
|
*
|
|
3328
3365
|
* @param headers - map
|
|
3329
3366
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3347,7 +3384,7 @@ class Client extends openapi_core_1.default {
|
|
|
3347
3384
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePoliciesResponse({}));
|
|
3348
3385
|
}
|
|
3349
3386
|
/**
|
|
3350
|
-
*
|
|
3387
|
+
* 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.
|
|
3351
3388
|
* @returns DescribePoliciesResponse
|
|
3352
3389
|
*/
|
|
3353
3390
|
async describePolicies() {
|
|
@@ -3356,7 +3393,7 @@ class Client extends openapi_core_1.default {
|
|
|
3356
3393
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
3357
3394
|
}
|
|
3358
3395
|
/**
|
|
3359
|
-
*
|
|
3396
|
+
* 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.
|
|
3360
3397
|
*
|
|
3361
3398
|
* @param headers - map
|
|
3362
3399
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3380,7 +3417,7 @@ class Client extends openapi_core_1.default {
|
|
|
3380
3417
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyDetailsResponse({}));
|
|
3381
3418
|
}
|
|
3382
3419
|
/**
|
|
3383
|
-
*
|
|
3420
|
+
* 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.
|
|
3384
3421
|
* @returns DescribePolicyDetailsResponse
|
|
3385
3422
|
*/
|
|
3386
3423
|
async describePolicyDetails(policyName) {
|
|
@@ -3389,7 +3426,7 @@ class Client extends openapi_core_1.default {
|
|
|
3389
3426
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
3390
3427
|
}
|
|
3391
3428
|
/**
|
|
3392
|
-
*
|
|
3429
|
+
* 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.
|
|
3393
3430
|
*
|
|
3394
3431
|
* @param headers - map
|
|
3395
3432
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3413,7 +3450,7 @@ class Client extends openapi_core_1.default {
|
|
|
3413
3450
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyGovernanceInClusterResponse({}));
|
|
3414
3451
|
}
|
|
3415
3452
|
/**
|
|
3416
|
-
*
|
|
3453
|
+
* 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.
|
|
3417
3454
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
3418
3455
|
*/
|
|
3419
3456
|
async describePolicyGovernanceInCluster(clusterId) {
|
|
@@ -3422,7 +3459,7 @@ class Client extends openapi_core_1.default {
|
|
|
3422
3459
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
3423
3460
|
}
|
|
3424
3461
|
/**
|
|
3425
|
-
*
|
|
3462
|
+
* 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.
|
|
3426
3463
|
*
|
|
3427
3464
|
* @param request - DescribePolicyInstancesRequest
|
|
3428
3465
|
* @param headers - map
|
|
@@ -3456,7 +3493,7 @@ class Client extends openapi_core_1.default {
|
|
|
3456
3493
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyInstancesResponse({}));
|
|
3457
3494
|
}
|
|
3458
3495
|
/**
|
|
3459
|
-
*
|
|
3496
|
+
* 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.
|
|
3460
3497
|
*
|
|
3461
3498
|
* @param request - DescribePolicyInstancesRequest
|
|
3462
3499
|
* @returns DescribePolicyInstancesResponse
|
|
@@ -3467,7 +3504,7 @@ class Client extends openapi_core_1.default {
|
|
|
3467
3504
|
return await this.describePolicyInstancesWithOptions(clusterId, request, headers, runtime);
|
|
3468
3505
|
}
|
|
3469
3506
|
/**
|
|
3470
|
-
* Queries the deployment of policy instances
|
|
3507
|
+
* 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.
|
|
3471
3508
|
*
|
|
3472
3509
|
* @param headers - map
|
|
3473
3510
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3491,7 +3528,7 @@ class Client extends openapi_core_1.default {
|
|
|
3491
3528
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyInstancesStatusResponse({}));
|
|
3492
3529
|
}
|
|
3493
3530
|
/**
|
|
3494
|
-
* Queries the deployment of policy instances
|
|
3531
|
+
* 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.
|
|
3495
3532
|
* @returns DescribePolicyInstancesStatusResponse
|
|
3496
3533
|
*/
|
|
3497
3534
|
async describePolicyInstancesStatus(clusterId) {
|
|
@@ -3500,7 +3537,7 @@ class Client extends openapi_core_1.default {
|
|
|
3500
3537
|
return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
|
|
3501
3538
|
}
|
|
3502
3539
|
/**
|
|
3503
|
-
* Queries the list of
|
|
3540
|
+
* Queries the list of regions.
|
|
3504
3541
|
*
|
|
3505
3542
|
* @param request - DescribeRegionsRequest
|
|
3506
3543
|
* @param headers - map
|
|
@@ -3537,7 +3574,7 @@ class Client extends openapi_core_1.default {
|
|
|
3537
3574
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRegionsResponse({}));
|
|
3538
3575
|
}
|
|
3539
3576
|
/**
|
|
3540
|
-
* Queries the list of
|
|
3577
|
+
* Queries the list of regions.
|
|
3541
3578
|
*
|
|
3542
3579
|
* @param request - DescribeRegionsRequest
|
|
3543
3580
|
* @returns DescribeRegionsResponse
|
|
@@ -3548,7 +3585,7 @@ class Client extends openapi_core_1.default {
|
|
|
3548
3585
|
return await this.describeRegionsWithOptions(request, headers, runtime);
|
|
3549
3586
|
}
|
|
3550
3587
|
/**
|
|
3551
|
-
* Queries whether
|
|
3588
|
+
* Queries whether deletion protection is enabled for a specified resource in a cluster. Resources that support deletion protection include namespaces and services.
|
|
3552
3589
|
*
|
|
3553
3590
|
* @param request - DescribeResourcesDeleteProtectionRequest
|
|
3554
3591
|
* @param headers - map
|
|
@@ -3582,7 +3619,7 @@ class Client extends openapi_core_1.default {
|
|
|
3582
3619
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeResourcesDeleteProtectionResponse({}));
|
|
3583
3620
|
}
|
|
3584
3621
|
/**
|
|
3585
|
-
* Queries whether
|
|
3622
|
+
* Queries whether deletion protection is enabled for a specified resource in a cluster. Resources that support deletion protection include namespaces and services.
|
|
3586
3623
|
*
|
|
3587
3624
|
* @param request - DescribeResourcesDeleteProtectionRequest
|
|
3588
3625
|
* @returns DescribeResourcesDeleteProtectionResponse
|
|
@@ -3593,10 +3630,10 @@ class Client extends openapi_core_1.default {
|
|
|
3593
3630
|
return await this.describeResourcesDeleteProtectionWithOptions(ClusterId, ResourceType, request, headers, runtime);
|
|
3594
3631
|
}
|
|
3595
3632
|
/**
|
|
3596
|
-
*
|
|
3633
|
+
* 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.
|
|
3597
3634
|
*
|
|
3598
3635
|
* @remarks
|
|
3599
|
-
*
|
|
3636
|
+
* This operation can be called only by an Alibaba Cloud account.
|
|
3600
3637
|
*
|
|
3601
3638
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
3602
3639
|
* @param headers - map
|
|
@@ -3630,10 +3667,10 @@ class Client extends openapi_core_1.default {
|
|
|
3630
3667
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
3631
3668
|
}
|
|
3632
3669
|
/**
|
|
3633
|
-
*
|
|
3670
|
+
* 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.
|
|
3634
3671
|
*
|
|
3635
3672
|
* @remarks
|
|
3636
|
-
*
|
|
3673
|
+
* This operation can be called only by an Alibaba Cloud account.
|
|
3637
3674
|
*
|
|
3638
3675
|
* @param request - DescribeSubaccountK8sClusterUserConfigRequest
|
|
3639
3676
|
* @returns DescribeSubaccountK8sClusterUserConfigResponse
|
|
@@ -3644,7 +3681,7 @@ class Client extends openapi_core_1.default {
|
|
|
3644
3681
|
return await this.describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
3645
3682
|
}
|
|
3646
3683
|
/**
|
|
3647
|
-
*
|
|
3684
|
+
* Queries the details of a cluster task, such as the task type, running status, and running stage.
|
|
3648
3685
|
*
|
|
3649
3686
|
* @param headers - map
|
|
3650
3687
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3668,7 +3705,7 @@ class Client extends openapi_core_1.default {
|
|
|
3668
3705
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTaskInfoResponse({}));
|
|
3669
3706
|
}
|
|
3670
3707
|
/**
|
|
3671
|
-
*
|
|
3708
|
+
* Queries the details of a cluster task, such as the task type, running status, and running stage.
|
|
3672
3709
|
* @returns DescribeTaskInfoResponse
|
|
3673
3710
|
*/
|
|
3674
3711
|
async describeTaskInfo(taskId) {
|
|
@@ -3677,7 +3714,7 @@ class Client extends openapi_core_1.default {
|
|
|
3677
3714
|
return await this.describeTaskInfoWithOptions(taskId, headers, runtime);
|
|
3678
3715
|
}
|
|
3679
3716
|
/**
|
|
3680
|
-
* An orchestration template defines and describes a
|
|
3717
|
+
* 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.
|
|
3681
3718
|
*
|
|
3682
3719
|
* @param request - DescribeTemplateAttributeRequest
|
|
3683
3720
|
* @param headers - map
|
|
@@ -3708,7 +3745,7 @@ class Client extends openapi_core_1.default {
|
|
|
3708
3745
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTemplateAttributeResponse({}));
|
|
3709
3746
|
}
|
|
3710
3747
|
/**
|
|
3711
|
-
* An orchestration template defines and describes a
|
|
3748
|
+
* 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.
|
|
3712
3749
|
*
|
|
3713
3750
|
* @param request - DescribeTemplateAttributeRequest
|
|
3714
3751
|
* @returns DescribeTemplateAttributeResponse
|
|
@@ -3719,7 +3756,7 @@ class Client extends openapi_core_1.default {
|
|
|
3719
3756
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
3720
3757
|
}
|
|
3721
3758
|
/**
|
|
3722
|
-
* An orchestration template defines and describes a
|
|
3759
|
+
* 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.
|
|
3723
3760
|
*
|
|
3724
3761
|
* @param request - DescribeTemplatesRequest
|
|
3725
3762
|
* @param headers - map
|
|
@@ -3756,7 +3793,7 @@ class Client extends openapi_core_1.default {
|
|
|
3756
3793
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTemplatesResponse({}));
|
|
3757
3794
|
}
|
|
3758
3795
|
/**
|
|
3759
|
-
* An orchestration template defines and describes a
|
|
3796
|
+
* 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.
|
|
3760
3797
|
*
|
|
3761
3798
|
* @param request - DescribeTemplatesRequest
|
|
3762
3799
|
* @returns DescribeTemplatesResponse
|
|
@@ -3767,7 +3804,7 @@ class Client extends openapi_core_1.default {
|
|
|
3767
3804
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
3768
3805
|
}
|
|
3769
3806
|
/**
|
|
3770
|
-
* Queries triggers that
|
|
3807
|
+
* Queries triggers that meet the specified conditions.
|
|
3771
3808
|
*
|
|
3772
3809
|
* @param request - DescribeTriggerRequest
|
|
3773
3810
|
* @param headers - map
|
|
@@ -3807,7 +3844,7 @@ class Client extends openapi_core_1.default {
|
|
|
3807
3844
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTriggerResponse({}));
|
|
3808
3845
|
}
|
|
3809
3846
|
/**
|
|
3810
|
-
* Queries triggers that
|
|
3847
|
+
* Queries triggers that meet the specified conditions.
|
|
3811
3848
|
*
|
|
3812
3849
|
* @param request - DescribeTriggerRequest
|
|
3813
3850
|
* @returns DescribeTriggerResponse
|
|
@@ -3818,7 +3855,7 @@ class Client extends openapi_core_1.default {
|
|
|
3818
3855
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
3819
3856
|
}
|
|
3820
3857
|
/**
|
|
3821
|
-
*
|
|
3858
|
+
* 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.
|
|
3822
3859
|
*
|
|
3823
3860
|
* @param headers - map
|
|
3824
3861
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3842,7 +3879,7 @@ class Client extends openapi_core_1.default {
|
|
|
3842
3879
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserClusterNamespacesResponse({}));
|
|
3843
3880
|
}
|
|
3844
3881
|
/**
|
|
3845
|
-
*
|
|
3882
|
+
* 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.
|
|
3846
3883
|
* @returns DescribeUserClusterNamespacesResponse
|
|
3847
3884
|
*/
|
|
3848
3885
|
async describeUserClusterNamespaces(ClusterId) {
|
|
@@ -3851,11 +3888,11 @@ class Client extends openapi_core_1.default {
|
|
|
3851
3888
|
return await this.describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
3852
3889
|
}
|
|
3853
3890
|
/**
|
|
3854
|
-
* In
|
|
3891
|
+
* 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.
|
|
3855
3892
|
*
|
|
3856
3893
|
* @remarks
|
|
3857
|
-
* *
|
|
3858
|
-
*
|
|
3894
|
+
* *Before you begin**:
|
|
3895
|
+
* - 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.
|
|
3859
3896
|
*
|
|
3860
3897
|
* @param headers - map
|
|
3861
3898
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3879,11 +3916,11 @@ class Client extends openapi_core_1.default {
|
|
|
3879
3916
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserPermissionResponse({}));
|
|
3880
3917
|
}
|
|
3881
3918
|
/**
|
|
3882
|
-
* In
|
|
3919
|
+
* 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.
|
|
3883
3920
|
*
|
|
3884
3921
|
* @remarks
|
|
3885
|
-
* *
|
|
3886
|
-
*
|
|
3922
|
+
* *Before you begin**:
|
|
3923
|
+
* - 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.
|
|
3887
3924
|
* @returns DescribeUserPermissionResponse
|
|
3888
3925
|
*/
|
|
3889
3926
|
async describeUserPermission(uid) {
|
|
@@ -3892,7 +3929,7 @@ class Client extends openapi_core_1.default {
|
|
|
3892
3929
|
return await this.describeUserPermissionWithOptions(uid, headers, runtime);
|
|
3893
3930
|
}
|
|
3894
3931
|
/**
|
|
3895
|
-
* Queries quotas
|
|
3932
|
+
* Queries the quotas of ACK clusters, node pools, and nodes. To increase a quota, go to Quota Center to submit a request.
|
|
3896
3933
|
*
|
|
3897
3934
|
* @param headers - map
|
|
3898
3935
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3916,7 +3953,7 @@ class Client extends openapi_core_1.default {
|
|
|
3916
3953
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserQuotaResponse({}));
|
|
3917
3954
|
}
|
|
3918
3955
|
/**
|
|
3919
|
-
* Queries quotas
|
|
3956
|
+
* Queries the quotas of ACK clusters, node pools, and nodes. To increase a quota, go to Quota Center to submit a request.
|
|
3920
3957
|
* @returns DescribeUserQuotaResponse
|
|
3921
3958
|
*/
|
|
3922
3959
|
async describeUserQuota() {
|
|
@@ -3925,13 +3962,12 @@ class Client extends openapi_core_1.default {
|
|
|
3925
3962
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
3926
3963
|
}
|
|
3927
3964
|
/**
|
|
3928
|
-
*
|
|
3965
|
+
* 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.
|
|
3929
3966
|
*
|
|
3930
3967
|
* @remarks
|
|
3931
|
-
*
|
|
3932
|
-
*
|
|
3933
|
-
*
|
|
3934
|
-
* 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.
|
|
3968
|
+
* - 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).
|
|
3969
|
+
* - 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.
|
|
3970
|
+
* - 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.
|
|
3935
3971
|
*
|
|
3936
3972
|
* @param request - FixNodePoolVulsRequest
|
|
3937
3973
|
* @param headers - map
|
|
@@ -3971,13 +4007,12 @@ class Client extends openapi_core_1.default {
|
|
|
3971
4007
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FixNodePoolVulsResponse({}));
|
|
3972
4008
|
}
|
|
3973
4009
|
/**
|
|
3974
|
-
*
|
|
4010
|
+
* 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.
|
|
3975
4011
|
*
|
|
3976
4012
|
* @remarks
|
|
3977
|
-
*
|
|
3978
|
-
*
|
|
3979
|
-
*
|
|
3980
|
-
* 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.
|
|
4013
|
+
* - 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).
|
|
4014
|
+
* - 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.
|
|
4015
|
+
* - 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.
|
|
3981
4016
|
*
|
|
3982
4017
|
* @param request - FixNodePoolVulsRequest
|
|
3983
4018
|
* @returns FixNodePoolVulsResponse
|
|
@@ -3988,7 +4023,7 @@ class Client extends openapi_core_1.default {
|
|
|
3988
4023
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
3989
4024
|
}
|
|
3990
4025
|
/**
|
|
3991
|
-
*
|
|
4026
|
+
* Queries the details of a specified component instance in a cluster, including the version, parameter settings, and logging feature status of the component instance.
|
|
3992
4027
|
*
|
|
3993
4028
|
* @param headers - map
|
|
3994
4029
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4012,7 +4047,7 @@ class Client extends openapi_core_1.default {
|
|
|
4012
4047
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterAddonInstanceResponse({}));
|
|
4013
4048
|
}
|
|
4014
4049
|
/**
|
|
4015
|
-
*
|
|
4050
|
+
* Queries the details of a specified component instance in a cluster, including the version, parameter settings, and logging feature status of the component instance.
|
|
4016
4051
|
* @returns GetClusterAddonInstanceResponse
|
|
4017
4052
|
*/
|
|
4018
4053
|
async getClusterAddonInstance(clusterId, instanceName) {
|
|
@@ -4021,7 +4056,7 @@ class Client extends openapi_core_1.default {
|
|
|
4021
4056
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
4022
4057
|
}
|
|
4023
4058
|
/**
|
|
4024
|
-
*
|
|
4059
|
+
* 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.
|
|
4025
4060
|
*
|
|
4026
4061
|
* @param headers - map
|
|
4027
4062
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4045,7 +4080,7 @@ class Client extends openapi_core_1.default {
|
|
|
4045
4080
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterAuditProjectResponse({}));
|
|
4046
4081
|
}
|
|
4047
4082
|
/**
|
|
4048
|
-
*
|
|
4083
|
+
* 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.
|
|
4049
4084
|
* @returns GetClusterAuditProjectResponse
|
|
4050
4085
|
*/
|
|
4051
4086
|
async getClusterAuditProject(clusterid) {
|
|
@@ -4054,7 +4089,7 @@ class Client extends openapi_core_1.default {
|
|
|
4054
4089
|
return await this.getClusterAuditProjectWithOptions(clusterid, headers, runtime);
|
|
4055
4090
|
}
|
|
4056
4091
|
/**
|
|
4057
|
-
*
|
|
4092
|
+
* 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.
|
|
4058
4093
|
*
|
|
4059
4094
|
* @param headers - map
|
|
4060
4095
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4078,7 +4113,7 @@ class Client extends openapi_core_1.default {
|
|
|
4078
4113
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterCheckResponse({}));
|
|
4079
4114
|
}
|
|
4080
4115
|
/**
|
|
4081
|
-
*
|
|
4116
|
+
* 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.
|
|
4082
4117
|
* @returns GetClusterCheckResponse
|
|
4083
4118
|
*/
|
|
4084
4119
|
async getClusterCheck(clusterId, checkId) {
|
|
@@ -4087,7 +4122,7 @@ class Client extends openapi_core_1.default {
|
|
|
4087
4122
|
return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
|
|
4088
4123
|
}
|
|
4089
4124
|
/**
|
|
4090
|
-
*
|
|
4125
|
+
* Retrieves the diagnostic check items of a cluster.
|
|
4091
4126
|
*
|
|
4092
4127
|
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
4093
4128
|
* @param headers - map
|
|
@@ -4118,7 +4153,7 @@ class Client extends openapi_core_1.default {
|
|
|
4118
4153
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterDiagnosisCheckItemsResponse({}));
|
|
4119
4154
|
}
|
|
4120
4155
|
/**
|
|
4121
|
-
*
|
|
4156
|
+
* Retrieves the diagnostic check items of a cluster.
|
|
4122
4157
|
*
|
|
4123
4158
|
* @param request - GetClusterDiagnosisCheckItemsRequest
|
|
4124
4159
|
* @returns GetClusterDiagnosisCheckItemsResponse
|
|
@@ -4129,7 +4164,7 @@ class Client extends openapi_core_1.default {
|
|
|
4129
4164
|
return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
4130
4165
|
}
|
|
4131
4166
|
/**
|
|
4132
|
-
*
|
|
4167
|
+
* Retrieves the diagnosis result of a cluster.
|
|
4133
4168
|
*
|
|
4134
4169
|
* @param request - GetClusterDiagnosisResultRequest
|
|
4135
4170
|
* @param headers - map
|
|
@@ -4160,7 +4195,7 @@ class Client extends openapi_core_1.default {
|
|
|
4160
4195
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterDiagnosisResultResponse({}));
|
|
4161
4196
|
}
|
|
4162
4197
|
/**
|
|
4163
|
-
*
|
|
4198
|
+
* Retrieves the diagnosis result of a cluster.
|
|
4164
4199
|
*
|
|
4165
4200
|
* @param request - GetClusterDiagnosisResultRequest
|
|
4166
4201
|
* @returns GetClusterDiagnosisResultResponse
|
|
@@ -4171,7 +4206,7 @@ class Client extends openapi_core_1.default {
|
|
|
4171
4206
|
return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, request, headers, runtime);
|
|
4172
4207
|
}
|
|
4173
4208
|
/**
|
|
4174
|
-
* Retrieves
|
|
4209
|
+
* Retrieves the inspection configuration of a cluster.
|
|
4175
4210
|
*
|
|
4176
4211
|
* @param headers - map
|
|
4177
4212
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4195,7 +4230,7 @@ class Client extends openapi_core_1.default {
|
|
|
4195
4230
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterInspectConfigResponse({}));
|
|
4196
4231
|
}
|
|
4197
4232
|
/**
|
|
4198
|
-
* Retrieves
|
|
4233
|
+
* Retrieves the inspection configuration of a cluster.
|
|
4199
4234
|
* @returns GetClusterInspectConfigResponse
|
|
4200
4235
|
*/
|
|
4201
4236
|
async getClusterInspectConfig(clusterId) {
|
|
@@ -4204,7 +4239,7 @@ class Client extends openapi_core_1.default {
|
|
|
4204
4239
|
return await this.getClusterInspectConfigWithOptions(clusterId, headers, runtime);
|
|
4205
4240
|
}
|
|
4206
4241
|
/**
|
|
4207
|
-
*
|
|
4242
|
+
* Retrieves the details of a cluster inspection report.
|
|
4208
4243
|
*
|
|
4209
4244
|
* @param request - GetClusterInspectReportDetailRequest
|
|
4210
4245
|
* @param headers - map
|
|
@@ -4253,7 +4288,7 @@ class Client extends openapi_core_1.default {
|
|
|
4253
4288
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterInspectReportDetailResponse({}));
|
|
4254
4289
|
}
|
|
4255
4290
|
/**
|
|
4256
|
-
*
|
|
4291
|
+
* Retrieves the details of a cluster inspection report.
|
|
4257
4292
|
*
|
|
4258
4293
|
* @param request - GetClusterInspectReportDetailRequest
|
|
4259
4294
|
* @returns GetClusterInspectReportDetailResponse
|
|
@@ -4264,7 +4299,7 @@ class Client extends openapi_core_1.default {
|
|
|
4264
4299
|
return await this.getClusterInspectReportDetailWithOptions(clusterId, reportId, request, headers, runtime);
|
|
4265
4300
|
}
|
|
4266
4301
|
/**
|
|
4267
|
-
*
|
|
4302
|
+
* Queries the triggers of an application by application name.
|
|
4268
4303
|
*
|
|
4269
4304
|
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
4270
4305
|
*
|
|
@@ -4306,7 +4341,7 @@ class Client extends openapi_core_1.default {
|
|
|
4306
4341
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetKubernetesTriggerResponse({}));
|
|
4307
4342
|
}
|
|
4308
4343
|
/**
|
|
4309
|
-
*
|
|
4344
|
+
* Queries the triggers of an application by application name.
|
|
4310
4345
|
*
|
|
4311
4346
|
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
4312
4347
|
*
|
|
@@ -4320,7 +4355,7 @@ class Client extends openapi_core_1.default {
|
|
|
4320
4355
|
return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
|
|
4321
4356
|
}
|
|
4322
4357
|
/**
|
|
4323
|
-
*
|
|
4358
|
+
* Queries the upgrade status of a cluster by cluster ID.
|
|
4324
4359
|
*
|
|
4325
4360
|
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
4326
4361
|
*
|
|
@@ -4346,7 +4381,7 @@ class Client extends openapi_core_1.default {
|
|
|
4346
4381
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUpgradeStatusResponse({}));
|
|
4347
4382
|
}
|
|
4348
4383
|
/**
|
|
4349
|
-
*
|
|
4384
|
+
* Queries the upgrade status of a cluster by cluster ID.
|
|
4350
4385
|
*
|
|
4351
4386
|
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
4352
4387
|
* @returns GetUpgradeStatusResponse
|
|
@@ -4358,11 +4393,11 @@ class Client extends openapi_core_1.default {
|
|
|
4358
4393
|
return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
|
|
4359
4394
|
}
|
|
4360
4395
|
/**
|
|
4361
|
-
* By default,
|
|
4396
|
+
* 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.
|
|
4362
4397
|
*
|
|
4363
4398
|
* @remarks
|
|
4364
|
-
* - If
|
|
4365
|
-
* -
|
|
4399
|
+
* - 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).
|
|
4400
|
+
* - 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.
|
|
4366
4401
|
*
|
|
4367
4402
|
* @param request - GrantPermissionsRequest
|
|
4368
4403
|
* @param headers - map
|
|
@@ -4389,11 +4424,11 @@ class Client extends openapi_core_1.default {
|
|
|
4389
4424
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GrantPermissionsResponse({}));
|
|
4390
4425
|
}
|
|
4391
4426
|
/**
|
|
4392
|
-
* By default,
|
|
4427
|
+
* 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.
|
|
4393
4428
|
*
|
|
4394
4429
|
* @remarks
|
|
4395
|
-
* - If
|
|
4396
|
-
* -
|
|
4430
|
+
* - 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).
|
|
4431
|
+
* - 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.
|
|
4397
4432
|
*
|
|
4398
4433
|
* @param request - GrantPermissionsRequest
|
|
4399
4434
|
* @returns GrantPermissionsResponse
|
|
@@ -4404,7 +4439,7 @@ class Client extends openapi_core_1.default {
|
|
|
4404
4439
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
4405
4440
|
}
|
|
4406
4441
|
/**
|
|
4407
|
-
*
|
|
4442
|
+
* 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.
|
|
4408
4443
|
*
|
|
4409
4444
|
* @param request - InstallClusterAddonsRequest
|
|
4410
4445
|
* @param headers - map
|
|
@@ -4431,7 +4466,7 @@ class Client extends openapi_core_1.default {
|
|
|
4431
4466
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallClusterAddonsResponse({}));
|
|
4432
4467
|
}
|
|
4433
4468
|
/**
|
|
4434
|
-
*
|
|
4469
|
+
* 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.
|
|
4435
4470
|
*
|
|
4436
4471
|
* @param request - InstallClusterAddonsRequest
|
|
4437
4472
|
* @returns InstallClusterAddonsResponse
|
|
@@ -4442,7 +4477,7 @@ class Client extends openapi_core_1.default {
|
|
|
4442
4477
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
4443
4478
|
}
|
|
4444
4479
|
/**
|
|
4445
|
-
* Installs components
|
|
4480
|
+
* Installs components on nodes. You can configure and specify nodes on which to install components.
|
|
4446
4481
|
*
|
|
4447
4482
|
* @param request - InstallNodePoolComponentsRequest
|
|
4448
4483
|
* @param headers - map
|
|
@@ -4479,7 +4514,7 @@ class Client extends openapi_core_1.default {
|
|
|
4479
4514
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallNodePoolComponentsResponse({}));
|
|
4480
4515
|
}
|
|
4481
4516
|
/**
|
|
4482
|
-
* Installs components
|
|
4517
|
+
* Installs components on nodes. You can configure and specify nodes on which to install components.
|
|
4483
4518
|
*
|
|
4484
4519
|
* @param request - InstallNodePoolComponentsRequest
|
|
4485
4520
|
* @returns InstallNodePoolComponentsResponse
|
|
@@ -4490,7 +4525,7 @@ class Client extends openapi_core_1.default {
|
|
|
4490
4525
|
return await this.installNodePoolComponentsWithOptions(clusterId, nodePoolId, request, headers, runtime);
|
|
4491
4526
|
}
|
|
4492
4527
|
/**
|
|
4493
|
-
* Queries the available components based on
|
|
4528
|
+
* 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.
|
|
4494
4529
|
*
|
|
4495
4530
|
* @param request - ListAddonsRequest
|
|
4496
4531
|
* @param headers - map
|
|
@@ -4536,7 +4571,7 @@ class Client extends openapi_core_1.default {
|
|
|
4536
4571
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAddonsResponse({}));
|
|
4537
4572
|
}
|
|
4538
4573
|
/**
|
|
4539
|
-
* Queries the available components based on
|
|
4574
|
+
* 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.
|
|
4540
4575
|
*
|
|
4541
4576
|
* @param request - ListAddonsRequest
|
|
4542
4577
|
* @returns ListAddonsResponse
|
|
@@ -4547,11 +4582,10 @@ class Client extends openapi_core_1.default {
|
|
|
4547
4582
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
4548
4583
|
}
|
|
4549
4584
|
/**
|
|
4550
|
-
*
|
|
4585
|
+
* Retrieves the list of auto-repair policies.
|
|
4551
4586
|
*
|
|
4552
4587
|
* @remarks
|
|
4553
|
-
* >Notice:
|
|
4554
|
-
* This API will be available in a future release.
|
|
4588
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
4555
4589
|
*
|
|
4556
4590
|
* @param headers - map
|
|
4557
4591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4575,11 +4609,10 @@ class Client extends openapi_core_1.default {
|
|
|
4575
4609
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAutoRepairPoliciesResponse({}));
|
|
4576
4610
|
}
|
|
4577
4611
|
/**
|
|
4578
|
-
*
|
|
4612
|
+
* Retrieves the list of auto-repair policies.
|
|
4579
4613
|
*
|
|
4580
4614
|
* @remarks
|
|
4581
|
-
* >Notice:
|
|
4582
|
-
* This API will be available in a future release.
|
|
4615
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
4583
4616
|
* @returns ListAutoRepairPoliciesResponse
|
|
4584
4617
|
*/
|
|
4585
4618
|
async listAutoRepairPolicies(clusterId) {
|
|
@@ -4588,7 +4621,7 @@ class Client extends openapi_core_1.default {
|
|
|
4588
4621
|
return await this.listAutoRepairPoliciesWithOptions(clusterId, headers, runtime);
|
|
4589
4622
|
}
|
|
4590
4623
|
/**
|
|
4591
|
-
* Queries the list of resources
|
|
4624
|
+
* Queries the list of resources contained in an installed cluster component instance, including Kubernetes cluster resources and Helm release instances.
|
|
4592
4625
|
*
|
|
4593
4626
|
* @param headers - map
|
|
4594
4627
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4612,7 +4645,7 @@ class Client extends openapi_core_1.default {
|
|
|
4612
4645
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterAddonInstanceResourcesResponse({}));
|
|
4613
4646
|
}
|
|
4614
4647
|
/**
|
|
4615
|
-
* Queries the list of resources
|
|
4648
|
+
* Queries the list of resources contained in an installed cluster component instance, including Kubernetes cluster resources and Helm release instances.
|
|
4616
4649
|
* @returns ListClusterAddonInstanceResourcesResponse
|
|
4617
4650
|
*/
|
|
4618
4651
|
async listClusterAddonInstanceResources(clusterId, instanceName) {
|
|
@@ -4621,7 +4654,7 @@ class Client extends openapi_core_1.default {
|
|
|
4621
4654
|
return await this.listClusterAddonInstanceResourcesWithOptions(clusterId, instanceName, headers, runtime);
|
|
4622
4655
|
}
|
|
4623
4656
|
/**
|
|
4624
|
-
*
|
|
4657
|
+
* Lists the component instances installed in a specified cluster and queries related information about the component instances, such as the component version and status.
|
|
4625
4658
|
*
|
|
4626
4659
|
* @param headers - map
|
|
4627
4660
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4645,7 +4678,7 @@ class Client extends openapi_core_1.default {
|
|
|
4645
4678
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterAddonInstancesResponse({}));
|
|
4646
4679
|
}
|
|
4647
4680
|
/**
|
|
4648
|
-
*
|
|
4681
|
+
* Lists the component instances installed in a specified cluster and queries related information about the component instances, such as the component version and status.
|
|
4649
4682
|
* @returns ListClusterAddonInstancesResponse
|
|
4650
4683
|
*/
|
|
4651
4684
|
async listClusterAddonInstances(clusterId) {
|
|
@@ -4654,7 +4687,7 @@ class Client extends openapi_core_1.default {
|
|
|
4654
4687
|
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
4655
4688
|
}
|
|
4656
4689
|
/**
|
|
4657
|
-
* You can call the ListClusterChecks operation to query
|
|
4690
|
+
* 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.
|
|
4658
4691
|
*
|
|
4659
4692
|
* @param request - ListClusterChecksRequest
|
|
4660
4693
|
* @param headers - map
|
|
@@ -4688,7 +4721,7 @@ class Client extends openapi_core_1.default {
|
|
|
4688
4721
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterChecksResponse({}));
|
|
4689
4722
|
}
|
|
4690
4723
|
/**
|
|
4691
|
-
* You can call the ListClusterChecks operation to query
|
|
4724
|
+
* 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.
|
|
4692
4725
|
*
|
|
4693
4726
|
* @param request - ListClusterChecksRequest
|
|
4694
4727
|
* @returns ListClusterChecksResponse
|
|
@@ -4699,7 +4732,7 @@ class Client extends openapi_core_1.default {
|
|
|
4699
4732
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
4700
4733
|
}
|
|
4701
4734
|
/**
|
|
4702
|
-
*
|
|
4735
|
+
* Retrieves a list of cluster inspection reports.
|
|
4703
4736
|
*
|
|
4704
4737
|
* @param request - ListClusterInspectReportsRequest
|
|
4705
4738
|
* @param headers - map
|
|
@@ -4733,7 +4766,7 @@ class Client extends openapi_core_1.default {
|
|
|
4733
4766
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterInspectReportsResponse({}));
|
|
4734
4767
|
}
|
|
4735
4768
|
/**
|
|
4736
|
-
*
|
|
4769
|
+
* Retrieves a list of cluster inspection reports.
|
|
4737
4770
|
*
|
|
4738
4771
|
* @param request - ListClusterInspectReportsRequest
|
|
4739
4772
|
* @returns ListClusterInspectReportsResponse
|
|
@@ -4744,11 +4777,11 @@ class Client extends openapi_core_1.default {
|
|
|
4744
4777
|
return await this.listClusterInspectReportsWithOptions(clusterId, request, headers, runtime);
|
|
4745
4778
|
}
|
|
4746
4779
|
/**
|
|
4747
|
-
*
|
|
4780
|
+
* 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.
|
|
4748
4781
|
*
|
|
4749
4782
|
* @remarks
|
|
4750
|
-
* > -
|
|
4751
|
-
* > -
|
|
4783
|
+
* > - To call this operation, you must have the ram:ListUsers and ram:ListRoles permissions.
|
|
4784
|
+
* > - To call this operation, you must have full access to Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
4752
4785
|
*
|
|
4753
4786
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
4754
4787
|
* @param headers - map
|
|
@@ -4785,11 +4818,11 @@ class Client extends openapi_core_1.default {
|
|
|
4785
4818
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterKubeconfigStatesResponse({}));
|
|
4786
4819
|
}
|
|
4787
4820
|
/**
|
|
4788
|
-
*
|
|
4821
|
+
* 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.
|
|
4789
4822
|
*
|
|
4790
4823
|
* @remarks
|
|
4791
|
-
* > -
|
|
4792
|
-
* > -
|
|
4824
|
+
* > - To call this operation, you must have the ram:ListUsers and ram:ListRoles permissions.
|
|
4825
|
+
* > - To call this operation, you must have full access to Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
4793
4826
|
*
|
|
4794
4827
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
4795
4828
|
* @returns ListClusterKubeconfigStatesResponse
|
|
@@ -4800,7 +4833,7 @@ class Client extends openapi_core_1.default {
|
|
|
4800
4833
|
return await this.listClusterKubeconfigStatesWithOptions(ClusterId, request, headers, runtime);
|
|
4801
4834
|
}
|
|
4802
4835
|
/**
|
|
4803
|
-
*
|
|
4836
|
+
* Retrieves a list of automated O&M execution plans.
|
|
4804
4837
|
*
|
|
4805
4838
|
* @param request - ListOperationPlansRequest
|
|
4806
4839
|
* @param headers - map
|
|
@@ -4834,7 +4867,7 @@ class Client extends openapi_core_1.default {
|
|
|
4834
4867
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOperationPlansResponse({}));
|
|
4835
4868
|
}
|
|
4836
4869
|
/**
|
|
4837
|
-
*
|
|
4870
|
+
* Retrieves a list of automated O&M execution plans.
|
|
4838
4871
|
*
|
|
4839
4872
|
* @param request - ListOperationPlansRequest
|
|
4840
4873
|
* @returns ListOperationPlansResponse
|
|
@@ -4845,7 +4878,7 @@ class Client extends openapi_core_1.default {
|
|
|
4845
4878
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
4846
4879
|
}
|
|
4847
4880
|
/**
|
|
4848
|
-
*
|
|
4881
|
+
* 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.
|
|
4849
4882
|
*
|
|
4850
4883
|
* @param request - ListOperationPlansForRegionRequest
|
|
4851
4884
|
* @param headers - map
|
|
@@ -4882,7 +4915,7 @@ class Client extends openapi_core_1.default {
|
|
|
4882
4915
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOperationPlansForRegionResponse({}));
|
|
4883
4916
|
}
|
|
4884
4917
|
/**
|
|
4885
|
-
*
|
|
4918
|
+
* 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.
|
|
4886
4919
|
*
|
|
4887
4920
|
* @param request - ListOperationPlansForRegionRequest
|
|
4888
4921
|
* @returns ListOperationPlansForRegionResponse
|
|
@@ -4893,7 +4926,7 @@ class Client extends openapi_core_1.default {
|
|
|
4893
4926
|
return await this.listOperationPlansForRegionWithOptions(regionId, request, headers, runtime);
|
|
4894
4927
|
}
|
|
4895
4928
|
/**
|
|
4896
|
-
*
|
|
4929
|
+
* 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.
|
|
4897
4930
|
*
|
|
4898
4931
|
* @param tmpReq - ListTagResourcesRequest
|
|
4899
4932
|
* @param headers - map
|
|
@@ -4944,7 +4977,7 @@ class Client extends openapi_core_1.default {
|
|
|
4944
4977
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
|
|
4945
4978
|
}
|
|
4946
4979
|
/**
|
|
4947
|
-
*
|
|
4980
|
+
* 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.
|
|
4948
4981
|
*
|
|
4949
4982
|
* @param request - ListTagResourcesRequest
|
|
4950
4983
|
* @returns ListTagResourcesResponse
|
|
@@ -4955,10 +4988,10 @@ class Client extends openapi_core_1.default {
|
|
|
4955
4988
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
4956
4989
|
}
|
|
4957
4990
|
/**
|
|
4958
|
-
*
|
|
4991
|
+
* 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.
|
|
4959
4992
|
*
|
|
4960
4993
|
* @remarks
|
|
4961
|
-
* >
|
|
4994
|
+
* > To call this operation, you must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
4962
4995
|
*
|
|
4963
4996
|
* @param request - ListUserKubeConfigStatesRequest
|
|
4964
4997
|
* @param headers - map
|
|
@@ -4992,10 +5025,10 @@ class Client extends openapi_core_1.default {
|
|
|
4992
5025
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUserKubeConfigStatesResponse({}));
|
|
4993
5026
|
}
|
|
4994
5027
|
/**
|
|
4995
|
-
*
|
|
5028
|
+
* 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.
|
|
4996
5029
|
*
|
|
4997
5030
|
* @remarks
|
|
4998
|
-
* >
|
|
5031
|
+
* > To call this operation, you must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
4999
5032
|
*
|
|
5000
5033
|
* @param request - ListUserKubeConfigStatesRequest
|
|
5001
5034
|
* @returns ListUserKubeConfigStatesResponse
|
|
@@ -5006,10 +5039,10 @@ class Client extends openapi_core_1.default {
|
|
|
5006
5039
|
return await this.listUserKubeConfigStatesWithOptions(Uid, request, headers, runtime);
|
|
5007
5040
|
}
|
|
5008
5041
|
/**
|
|
5009
|
-
*
|
|
5042
|
+
* 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.
|
|
5010
5043
|
*
|
|
5011
5044
|
* @remarks
|
|
5012
|
-
* ACK
|
|
5045
|
+
* 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.
|
|
5013
5046
|
*
|
|
5014
5047
|
* @param request - MigrateClusterRequest
|
|
5015
5048
|
* @param headers - map
|
|
@@ -5043,10 +5076,10 @@ class Client extends openapi_core_1.default {
|
|
|
5043
5076
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MigrateClusterResponse({}));
|
|
5044
5077
|
}
|
|
5045
5078
|
/**
|
|
5046
|
-
*
|
|
5079
|
+
* 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.
|
|
5047
5080
|
*
|
|
5048
5081
|
* @remarks
|
|
5049
|
-
* ACK
|
|
5082
|
+
* 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.
|
|
5050
5083
|
*
|
|
5051
5084
|
* @param request - MigrateClusterRequest
|
|
5052
5085
|
* @returns MigrateClusterResponse
|
|
@@ -5057,11 +5090,10 @@ class Client extends openapi_core_1.default {
|
|
|
5057
5090
|
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
5058
5091
|
}
|
|
5059
5092
|
/**
|
|
5060
|
-
*
|
|
5093
|
+
* Modifies a self-healing rule.
|
|
5061
5094
|
*
|
|
5062
5095
|
* @remarks
|
|
5063
|
-
* >Notice:
|
|
5064
|
-
* This API is not yet available.
|
|
5096
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
5065
5097
|
*
|
|
5066
5098
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
5067
5099
|
* @param headers - map
|
|
@@ -5095,11 +5127,10 @@ class Client extends openapi_core_1.default {
|
|
|
5095
5127
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAutoRepairPolicyResponse({}));
|
|
5096
5128
|
}
|
|
5097
5129
|
/**
|
|
5098
|
-
*
|
|
5130
|
+
* Modifies a self-healing rule.
|
|
5099
5131
|
*
|
|
5100
5132
|
* @remarks
|
|
5101
|
-
* >Notice:
|
|
5102
|
-
* This API is not yet available.
|
|
5133
|
+
* >Notice: This API is not yet available. Stay tuned..
|
|
5103
5134
|
*
|
|
5104
5135
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
5105
5136
|
* @returns ModifyAutoRepairPolicyResponse
|
|
@@ -5113,8 +5144,7 @@ class Client extends openapi_core_1.default {
|
|
|
5113
5144
|
* You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
|
|
5114
5145
|
*
|
|
5115
5146
|
* @remarks
|
|
5116
|
-
* >
|
|
5117
|
-
* 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).
|
|
5147
|
+
* <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>
|
|
5118
5148
|
*
|
|
5119
5149
|
* @param request - ModifyClusterRequest
|
|
5120
5150
|
* @param headers - map
|
|
@@ -5205,8 +5235,7 @@ class Client extends openapi_core_1.default {
|
|
|
5205
5235
|
* You can call the ModifyCluster operation to modify the configuration of an ACK cluster.
|
|
5206
5236
|
*
|
|
5207
5237
|
* @remarks
|
|
5208
|
-
* >
|
|
5209
|
-
* 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).
|
|
5238
|
+
* <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>
|
|
5210
5239
|
*
|
|
5211
5240
|
* @param request - ModifyClusterRequest
|
|
5212
5241
|
* @returns ModifyClusterResponse
|
|
@@ -5217,13 +5246,13 @@ class Client extends openapi_core_1.default {
|
|
|
5217
5246
|
return await this.modifyClusterWithOptions(ClusterId, request, headers, runtime);
|
|
5218
5247
|
}
|
|
5219
5248
|
/**
|
|
5220
|
-
* Modifies the configuration of
|
|
5249
|
+
* 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.
|
|
5221
5250
|
*
|
|
5222
5251
|
* @remarks
|
|
5223
|
-
* You can call this API operation to modify the
|
|
5224
|
-
*
|
|
5225
|
-
*
|
|
5226
|
-
*
|
|
5252
|
+
* You can call this API operation to modify the configuration of common clusters components and the control plane parameter settings of ACK Pro clusters:
|
|
5253
|
+
* - 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).
|
|
5254
|
+
* - 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).
|
|
5255
|
+
* Modifying configurations may cause the component to be redeployed and restarted. Evaluate the impact before performing this operation.
|
|
5227
5256
|
*
|
|
5228
5257
|
* @param request - ModifyClusterAddonRequest
|
|
5229
5258
|
* @param headers - map
|
|
@@ -5254,13 +5283,13 @@ class Client extends openapi_core_1.default {
|
|
|
5254
5283
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterAddonResponse({}));
|
|
5255
5284
|
}
|
|
5256
5285
|
/**
|
|
5257
|
-
* Modifies the configuration of
|
|
5286
|
+
* 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.
|
|
5258
5287
|
*
|
|
5259
5288
|
* @remarks
|
|
5260
|
-
* You can call this API operation to modify the
|
|
5261
|
-
*
|
|
5262
|
-
*
|
|
5263
|
-
*
|
|
5289
|
+
* You can call this API operation to modify the configuration of common clusters components and the control plane parameter settings of ACK Pro clusters:
|
|
5290
|
+
* - 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).
|
|
5291
|
+
* - 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).
|
|
5292
|
+
* Modifying configurations may cause the component to be redeployed and restarted. Evaluate the impact before performing this operation.
|
|
5264
5293
|
*
|
|
5265
5294
|
* @param request - ModifyClusterAddonRequest
|
|
5266
5295
|
* @returns ModifyClusterAddonResponse
|
|
@@ -5271,7 +5300,7 @@ class Client extends openapi_core_1.default {
|
|
|
5271
5300
|
return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
|
|
5272
5301
|
}
|
|
5273
5302
|
/**
|
|
5274
|
-
* You can call the ModifyClusterNodePool API to update the configuration of a node pool by specifying its node pool ID.
|
|
5303
|
+
* You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
|
|
5275
5304
|
*
|
|
5276
5305
|
* @param request - ModifyClusterNodePoolRequest
|
|
5277
5306
|
* @param headers - map
|
|
@@ -5323,7 +5352,7 @@ class Client extends openapi_core_1.default {
|
|
|
5323
5352
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterNodePoolResponse({}));
|
|
5324
5353
|
}
|
|
5325
5354
|
/**
|
|
5326
|
-
* You can call the ModifyClusterNodePool API to update the configuration of a node pool by specifying its node pool ID.
|
|
5355
|
+
* You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
|
|
5327
5356
|
*
|
|
5328
5357
|
* @param request - ModifyClusterNodePoolRequest
|
|
5329
5358
|
* @returns ModifyClusterNodePoolResponse
|
|
@@ -5334,10 +5363,10 @@ class Client extends openapi_core_1.default {
|
|
|
5334
5363
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
5335
5364
|
}
|
|
5336
5365
|
/**
|
|
5337
|
-
* You can add
|
|
5366
|
+
* 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.
|
|
5338
5367
|
*
|
|
5339
5368
|
* @remarks
|
|
5340
|
-
* -
|
|
5369
|
+
* - 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).
|
|
5341
5370
|
*
|
|
5342
5371
|
* @param request - ModifyClusterTagsRequest
|
|
5343
5372
|
* @param headers - map
|
|
@@ -5364,10 +5393,10 @@ class Client extends openapi_core_1.default {
|
|
|
5364
5393
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterTagsResponse({}));
|
|
5365
5394
|
}
|
|
5366
5395
|
/**
|
|
5367
|
-
* You can add
|
|
5396
|
+
* 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.
|
|
5368
5397
|
*
|
|
5369
5398
|
* @remarks
|
|
5370
|
-
* -
|
|
5399
|
+
* - 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).
|
|
5371
5400
|
*
|
|
5372
5401
|
* @param request - ModifyClusterTagsRequest
|
|
5373
5402
|
* @returns ModifyClusterTagsResponse
|
|
@@ -5378,10 +5407,10 @@ class Client extends openapi_core_1.default {
|
|
|
5378
5407
|
return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
|
|
5379
5408
|
}
|
|
5380
5409
|
/**
|
|
5381
|
-
*
|
|
5410
|
+
* 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.
|
|
5382
5411
|
*
|
|
5383
5412
|
* @remarks
|
|
5384
|
-
* >
|
|
5413
|
+
* > 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.
|
|
5385
5414
|
*
|
|
5386
5415
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
5387
5416
|
* @param headers - map
|
|
@@ -5424,10 +5453,10 @@ class Client extends openapi_core_1.default {
|
|
|
5424
5453
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyNodePoolNodeConfigResponse({}));
|
|
5425
5454
|
}
|
|
5426
5455
|
/**
|
|
5427
|
-
*
|
|
5456
|
+
* 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.
|
|
5428
5457
|
*
|
|
5429
5458
|
* @remarks
|
|
5430
|
-
* >
|
|
5459
|
+
* > 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.
|
|
5431
5460
|
*
|
|
5432
5461
|
* @param request - ModifyNodePoolNodeConfigRequest
|
|
5433
5462
|
* @returns ModifyNodePoolNodeConfigResponse
|
|
@@ -5438,7 +5467,7 @@ class Client extends openapi_core_1.default {
|
|
|
5438
5467
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
5439
5468
|
}
|
|
5440
5469
|
/**
|
|
5441
|
-
* Updates a policy in a
|
|
5470
|
+
* 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.
|
|
5442
5471
|
*
|
|
5443
5472
|
* @param request - ModifyPolicyInstanceRequest
|
|
5444
5473
|
* @param headers - map
|
|
@@ -5478,7 +5507,7 @@ class Client extends openapi_core_1.default {
|
|
|
5478
5507
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPolicyInstanceResponse({}));
|
|
5479
5508
|
}
|
|
5480
5509
|
/**
|
|
5481
|
-
* Updates a policy in a
|
|
5510
|
+
* 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.
|
|
5482
5511
|
*
|
|
5483
5512
|
* @param request - ModifyPolicyInstanceRequest
|
|
5484
5513
|
* @returns ModifyPolicyInstanceResponse
|
|
@@ -5489,11 +5518,11 @@ class Client extends openapi_core_1.default {
|
|
|
5489
5518
|
return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
5490
5519
|
}
|
|
5491
5520
|
/**
|
|
5492
|
-
* When
|
|
5521
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
|
|
5493
5522
|
*
|
|
5494
5523
|
* @remarks
|
|
5495
|
-
*
|
|
5496
|
-
*
|
|
5524
|
+
* - An Alibaba Cloud account can activate ACK.
|
|
5525
|
+
* - A Resource Access Management (RAM) user that has the AdministratorAccess permission can activate the service.
|
|
5497
5526
|
*
|
|
5498
5527
|
* @param request - OpenAckServiceRequest
|
|
5499
5528
|
* @param headers - map
|
|
@@ -5524,11 +5553,11 @@ class Client extends openapi_core_1.default {
|
|
|
5524
5553
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OpenAckServiceResponse({}));
|
|
5525
5554
|
}
|
|
5526
5555
|
/**
|
|
5527
|
-
* When
|
|
5556
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
|
|
5528
5557
|
*
|
|
5529
5558
|
* @remarks
|
|
5530
|
-
*
|
|
5531
|
-
*
|
|
5559
|
+
* - An Alibaba Cloud account can activate ACK.
|
|
5560
|
+
* - A Resource Access Management (RAM) user that has the AdministratorAccess permission can activate the service.
|
|
5532
5561
|
*
|
|
5533
5562
|
* @param request - OpenAckServiceRequest
|
|
5534
5563
|
* @returns OpenAckServiceResponse
|
|
@@ -5539,7 +5568,7 @@ class Client extends openapi_core_1.default {
|
|
|
5539
5568
|
return await this.openAckServiceWithOptions(request, headers, runtime);
|
|
5540
5569
|
}
|
|
5541
5570
|
/**
|
|
5542
|
-
*
|
|
5571
|
+
* Pauses a cluster upgrade.
|
|
5543
5572
|
*
|
|
5544
5573
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
5545
5574
|
*
|
|
@@ -5565,7 +5594,7 @@ class Client extends openapi_core_1.default {
|
|
|
5565
5594
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseClusterUpgradeResponse({}));
|
|
5566
5595
|
}
|
|
5567
5596
|
/**
|
|
5568
|
-
*
|
|
5597
|
+
* Pauses a cluster upgrade.
|
|
5569
5598
|
*
|
|
5570
5599
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
5571
5600
|
* @returns PauseClusterUpgradeResponse
|
|
@@ -5577,7 +5606,7 @@ class Client extends openapi_core_1.default {
|
|
|
5577
5606
|
return await this.pauseClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
5578
5607
|
}
|
|
5579
5608
|
/**
|
|
5580
|
-
*
|
|
5609
|
+
* Pauses a component upgrade.
|
|
5581
5610
|
*
|
|
5582
5611
|
* @deprecated OpenAPI PauseComponentUpgrade is deprecated
|
|
5583
5612
|
*
|
|
@@ -5603,7 +5632,7 @@ class Client extends openapi_core_1.default {
|
|
|
5603
5632
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseComponentUpgradeResponse({}));
|
|
5604
5633
|
}
|
|
5605
5634
|
/**
|
|
5606
|
-
*
|
|
5635
|
+
* Pauses a component upgrade.
|
|
5607
5636
|
*
|
|
5608
5637
|
* @deprecated OpenAPI PauseComponentUpgrade is deprecated
|
|
5609
5638
|
* @returns PauseComponentUpgradeResponse
|
|
@@ -5615,7 +5644,7 @@ class Client extends openapi_core_1.default {
|
|
|
5615
5644
|
return await this.pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
5616
5645
|
}
|
|
5617
5646
|
/**
|
|
5618
|
-
*
|
|
5647
|
+
* You can call the PauseTask operation to pause a running cluster task.
|
|
5619
5648
|
*
|
|
5620
5649
|
* @param headers - map
|
|
5621
5650
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5639,7 +5668,7 @@ class Client extends openapi_core_1.default {
|
|
|
5639
5668
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseTaskResponse({}));
|
|
5640
5669
|
}
|
|
5641
5670
|
/**
|
|
5642
|
-
*
|
|
5671
|
+
* You can call the PauseTask operation to pause a running cluster task.
|
|
5643
5672
|
* @returns PauseTaskResponse
|
|
5644
5673
|
*/
|
|
5645
5674
|
async pauseTask(taskId) {
|
|
@@ -5701,14 +5730,14 @@ class Client extends openapi_core_1.default {
|
|
|
5701
5730
|
return await this.removeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
5702
5731
|
}
|
|
5703
5732
|
/**
|
|
5704
|
-
* Removes nodes from a node pool.
|
|
5733
|
+
* 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.
|
|
5705
5734
|
*
|
|
5706
5735
|
* @remarks
|
|
5707
|
-
*
|
|
5708
|
-
*
|
|
5709
|
-
*
|
|
5710
|
-
*
|
|
5711
|
-
*
|
|
5736
|
+
* - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
|
|
5737
|
+
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
5738
|
+
* - During the operation, the nodes being removed are set to the unschedulable state in the background.
|
|
5739
|
+
* - This operation removes only worker nodes, not master nodes.
|
|
5740
|
+
* - 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/).
|
|
5712
5741
|
*
|
|
5713
5742
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
5714
5743
|
* @param headers - map
|
|
@@ -5759,14 +5788,14 @@ class Client extends openapi_core_1.default {
|
|
|
5759
5788
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveNodePoolNodesResponse({}));
|
|
5760
5789
|
}
|
|
5761
5790
|
/**
|
|
5762
|
-
* Removes nodes from a node pool.
|
|
5791
|
+
* 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.
|
|
5763
5792
|
*
|
|
5764
5793
|
* @remarks
|
|
5765
|
-
*
|
|
5766
|
-
*
|
|
5767
|
-
*
|
|
5768
|
-
*
|
|
5769
|
-
*
|
|
5794
|
+
* - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
|
|
5795
|
+
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
5796
|
+
* - During the operation, the nodes being removed are set to the unschedulable state in the background.
|
|
5797
|
+
* - This operation removes only worker nodes, not master nodes.
|
|
5798
|
+
* - 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/).
|
|
5770
5799
|
*
|
|
5771
5800
|
* @param request - RemoveNodePoolNodesRequest
|
|
5772
5801
|
* @returns RemoveNodePoolNodesResponse
|
|
@@ -5777,7 +5806,7 @@ class Client extends openapi_core_1.default {
|
|
|
5777
5806
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
5778
5807
|
}
|
|
5779
5808
|
/**
|
|
5780
|
-
* Repairs a node pool.
|
|
5809
|
+
* Repairs nodes in a cluster node pool.
|
|
5781
5810
|
*
|
|
5782
5811
|
* @param request - RepairClusterNodePoolRequest
|
|
5783
5812
|
* @param headers - map
|
|
@@ -5814,7 +5843,7 @@ class Client extends openapi_core_1.default {
|
|
|
5814
5843
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RepairClusterNodePoolResponse({}));
|
|
5815
5844
|
}
|
|
5816
5845
|
/**
|
|
5817
|
-
* Repairs a node pool.
|
|
5846
|
+
* Repairs nodes in a cluster node pool.
|
|
5818
5847
|
*
|
|
5819
5848
|
* @param request - RepairClusterNodePoolRequest
|
|
5820
5849
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -5825,7 +5854,7 @@ class Client extends openapi_core_1.default {
|
|
|
5825
5854
|
return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
5826
5855
|
}
|
|
5827
5856
|
/**
|
|
5828
|
-
*
|
|
5857
|
+
* Calls ResumeComponentUpgrade to restart a paused component upgrade task.
|
|
5829
5858
|
*
|
|
5830
5859
|
* @deprecated OpenAPI ResumeComponentUpgrade is deprecated
|
|
5831
5860
|
*
|
|
@@ -5851,7 +5880,7 @@ class Client extends openapi_core_1.default {
|
|
|
5851
5880
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResumeComponentUpgradeResponse({}));
|
|
5852
5881
|
}
|
|
5853
5882
|
/**
|
|
5854
|
-
*
|
|
5883
|
+
* Calls ResumeComponentUpgrade to restart a paused component upgrade task.
|
|
5855
5884
|
*
|
|
5856
5885
|
* @deprecated OpenAPI ResumeComponentUpgrade is deprecated
|
|
5857
5886
|
* @returns ResumeComponentUpgradeResponse
|
|
@@ -5863,7 +5892,7 @@ class Client extends openapi_core_1.default {
|
|
|
5863
5892
|
return await this.resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
5864
5893
|
}
|
|
5865
5894
|
/**
|
|
5866
|
-
* Resumes a task.
|
|
5895
|
+
* Resumes a paused cluster task.
|
|
5867
5896
|
*
|
|
5868
5897
|
* @param headers - map
|
|
5869
5898
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5887,7 +5916,7 @@ class Client extends openapi_core_1.default {
|
|
|
5887
5916
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResumeTaskResponse({}));
|
|
5888
5917
|
}
|
|
5889
5918
|
/**
|
|
5890
|
-
* Resumes a task.
|
|
5919
|
+
* Resumes a paused cluster task.
|
|
5891
5920
|
* @returns ResumeTaskResponse
|
|
5892
5921
|
*/
|
|
5893
5922
|
async resumeTask(taskId) {
|
|
@@ -5896,7 +5925,7 @@ class Client extends openapi_core_1.default {
|
|
|
5896
5925
|
return await this.resumeTaskWithOptions(taskId, headers, runtime);
|
|
5897
5926
|
}
|
|
5898
5927
|
/**
|
|
5899
|
-
*
|
|
5928
|
+
* Resumes the upgrade of a cluster that is in the upgrade-paused state based on the cluster ID.
|
|
5900
5929
|
*
|
|
5901
5930
|
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
5902
5931
|
*
|
|
@@ -5922,7 +5951,7 @@ class Client extends openapi_core_1.default {
|
|
|
5922
5951
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResumeUpgradeClusterResponse({}));
|
|
5923
5952
|
}
|
|
5924
5953
|
/**
|
|
5925
|
-
*
|
|
5954
|
+
* Resumes the upgrade of a cluster that is in the upgrade-paused state based on the cluster ID.
|
|
5926
5955
|
*
|
|
5927
5956
|
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
5928
5957
|
* @returns ResumeUpgradeClusterResponse
|
|
@@ -5934,7 +5963,7 @@ class Client extends openapi_core_1.default {
|
|
|
5934
5963
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
5935
5964
|
}
|
|
5936
5965
|
/**
|
|
5937
|
-
*
|
|
5966
|
+
* 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.
|
|
5938
5967
|
*
|
|
5939
5968
|
* @param headers - map
|
|
5940
5969
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5958,7 +5987,7 @@ class Client extends openapi_core_1.default {
|
|
|
5958
5987
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevokeK8sClusterKubeConfigResponse({}));
|
|
5959
5988
|
}
|
|
5960
5989
|
/**
|
|
5961
|
-
*
|
|
5990
|
+
* 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.
|
|
5962
5991
|
* @returns RevokeK8sClusterKubeConfigResponse
|
|
5963
5992
|
*/
|
|
5964
5993
|
async revokeK8sClusterKubeConfig(ClusterId) {
|
|
@@ -5967,7 +5996,7 @@ class Client extends openapi_core_1.default {
|
|
|
5967
5996
|
return await this.revokeK8sClusterKubeConfigWithOptions(ClusterId, headers, runtime);
|
|
5968
5997
|
}
|
|
5969
5998
|
/**
|
|
5970
|
-
*
|
|
5999
|
+
* 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.
|
|
5971
6000
|
*
|
|
5972
6001
|
* @param request - RunClusterCheckRequest
|
|
5973
6002
|
* @param headers - map
|
|
@@ -6004,7 +6033,7 @@ class Client extends openapi_core_1.default {
|
|
|
6004
6033
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunClusterCheckResponse({}));
|
|
6005
6034
|
}
|
|
6006
6035
|
/**
|
|
6007
|
-
*
|
|
6036
|
+
* 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.
|
|
6008
6037
|
*
|
|
6009
6038
|
* @param request - RunClusterCheckRequest
|
|
6010
6039
|
* @returns RunClusterCheckResponse
|
|
@@ -6015,7 +6044,7 @@ class Client extends openapi_core_1.default {
|
|
|
6015
6044
|
return await this.runClusterCheckWithOptions(clusterId, request, headers, runtime);
|
|
6016
6045
|
}
|
|
6017
6046
|
/**
|
|
6018
|
-
*
|
|
6047
|
+
* Initiates a cluster inspection and creates an inspection report.
|
|
6019
6048
|
*
|
|
6020
6049
|
* @param request - RunClusterInspectRequest
|
|
6021
6050
|
* @param headers - map
|
|
@@ -6046,7 +6075,7 @@ class Client extends openapi_core_1.default {
|
|
|
6046
6075
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunClusterInspectResponse({}));
|
|
6047
6076
|
}
|
|
6048
6077
|
/**
|
|
6049
|
-
*
|
|
6078
|
+
* Initiates a cluster inspection and creates an inspection report.
|
|
6050
6079
|
*
|
|
6051
6080
|
* @param request - RunClusterInspectRequest
|
|
6052
6081
|
* @returns RunClusterInspectResponse
|
|
@@ -6057,7 +6086,52 @@ class Client extends openapi_core_1.default {
|
|
|
6057
6086
|
return await this.runClusterInspectWithOptions(clusterId, request, headers, runtime);
|
|
6058
6087
|
}
|
|
6059
6088
|
/**
|
|
6060
|
-
*
|
|
6089
|
+
* 执行节点上的运维操作
|
|
6090
|
+
*
|
|
6091
|
+
* @param request - RunNodeOperationRequest
|
|
6092
|
+
* @param headers - map
|
|
6093
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6094
|
+
* @returns RunNodeOperationResponse
|
|
6095
|
+
*/
|
|
6096
|
+
async runNodeOperationWithOptions(clusterId, nodepoolId, nodeName, request, headers, runtime) {
|
|
6097
|
+
request.validate();
|
|
6098
|
+
let body = {};
|
|
6099
|
+
if (!$dara.isNull(request.operationAction)) {
|
|
6100
|
+
body["operationAction"] = request.operationAction;
|
|
6101
|
+
}
|
|
6102
|
+
if (!$dara.isNull(request.operationArgs)) {
|
|
6103
|
+
body["operationArgs"] = request.operationArgs;
|
|
6104
|
+
}
|
|
6105
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6106
|
+
headers: headers,
|
|
6107
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6108
|
+
});
|
|
6109
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6110
|
+
action: "RunNodeOperation",
|
|
6111
|
+
version: "2015-12-15",
|
|
6112
|
+
protocol: "HTTPS",
|
|
6113
|
+
pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/nodepools/${$dara.URL.percentEncode(nodepoolId)}/nodes/${$dara.URL.percentEncode(nodeName)}/operation`,
|
|
6114
|
+
method: "POST",
|
|
6115
|
+
authType: "AK",
|
|
6116
|
+
style: "ROA",
|
|
6117
|
+
reqBodyType: "json",
|
|
6118
|
+
bodyType: "json",
|
|
6119
|
+
});
|
|
6120
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunNodeOperationResponse({}));
|
|
6121
|
+
}
|
|
6122
|
+
/**
|
|
6123
|
+
* 执行节点上的运维操作
|
|
6124
|
+
*
|
|
6125
|
+
* @param request - RunNodeOperationRequest
|
|
6126
|
+
* @returns RunNodeOperationResponse
|
|
6127
|
+
*/
|
|
6128
|
+
async runNodeOperation(clusterId, nodepoolId, nodeName, request) {
|
|
6129
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6130
|
+
let headers = {};
|
|
6131
|
+
return await this.runNodeOperationWithOptions(clusterId, nodepoolId, nodeName, request, headers, runtime);
|
|
6132
|
+
}
|
|
6133
|
+
/**
|
|
6134
|
+
* Scales out a node pool by adding nodes to ensure that the number of nodes is sufficient to support your workloads.
|
|
6061
6135
|
*
|
|
6062
6136
|
* @param request - ScaleClusterNodePoolRequest
|
|
6063
6137
|
* @param headers - map
|
|
@@ -6088,7 +6162,7 @@ class Client extends openapi_core_1.default {
|
|
|
6088
6162
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ScaleClusterNodePoolResponse({}));
|
|
6089
6163
|
}
|
|
6090
6164
|
/**
|
|
6091
|
-
* Scales out a node pool.
|
|
6165
|
+
* Scales out a node pool by adding nodes to ensure that the number of nodes is sufficient to support your workloads.
|
|
6092
6166
|
*
|
|
6093
6167
|
* @param request - ScaleClusterNodePoolRequest
|
|
6094
6168
|
* @returns ScaleClusterNodePoolResponse
|
|
@@ -6201,7 +6275,7 @@ class Client extends openapi_core_1.default {
|
|
|
6201
6275
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
6202
6276
|
}
|
|
6203
6277
|
/**
|
|
6204
|
-
*
|
|
6278
|
+
* 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.
|
|
6205
6279
|
*
|
|
6206
6280
|
* @param headers - map
|
|
6207
6281
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6225,7 +6299,7 @@ class Client extends openapi_core_1.default {
|
|
|
6225
6299
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ScanClusterVulsResponse({}));
|
|
6226
6300
|
}
|
|
6227
6301
|
/**
|
|
6228
|
-
*
|
|
6302
|
+
* 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.
|
|
6229
6303
|
* @returns ScanClusterVulsResponse
|
|
6230
6304
|
*/
|
|
6231
6305
|
async scanClusterVuls(clusterId) {
|
|
@@ -6234,7 +6308,7 @@ class Client extends openapi_core_1.default {
|
|
|
6234
6308
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
6235
6309
|
}
|
|
6236
6310
|
/**
|
|
6237
|
-
*
|
|
6311
|
+
* Starts a specified alert rule.
|
|
6238
6312
|
*
|
|
6239
6313
|
* @param request - StartAlertRequest
|
|
6240
6314
|
* @param headers - map
|
|
@@ -6268,7 +6342,7 @@ class Client extends openapi_core_1.default {
|
|
|
6268
6342
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartAlertResponse({}));
|
|
6269
6343
|
}
|
|
6270
6344
|
/**
|
|
6271
|
-
*
|
|
6345
|
+
* Starts a specified alert rule.
|
|
6272
6346
|
*
|
|
6273
6347
|
* @param request - StartAlertRequest
|
|
6274
6348
|
* @returns StartAlertResponse
|
|
@@ -6279,7 +6353,7 @@ class Client extends openapi_core_1.default {
|
|
|
6279
6353
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
6280
6354
|
}
|
|
6281
6355
|
/**
|
|
6282
|
-
*
|
|
6356
|
+
* Stops alert rules in the ACK alert center. You can stop an entire alert rule group or a single alert rule.
|
|
6283
6357
|
*
|
|
6284
6358
|
* @param request - StopAlertRequest
|
|
6285
6359
|
* @param headers - map
|
|
@@ -6313,7 +6387,7 @@ class Client extends openapi_core_1.default {
|
|
|
6313
6387
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StopAlertResponse({}));
|
|
6314
6388
|
}
|
|
6315
6389
|
/**
|
|
6316
|
-
*
|
|
6390
|
+
* Stops alert rules in the ACK alert center. You can stop an entire alert rule group or a single alert rule.
|
|
6317
6391
|
*
|
|
6318
6392
|
* @param request - StopAlertRequest
|
|
6319
6393
|
* @returns StopAlertResponse
|
|
@@ -6324,7 +6398,7 @@ class Client extends openapi_core_1.default {
|
|
|
6324
6398
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
6325
6399
|
}
|
|
6326
6400
|
/**
|
|
6327
|
-
* Synchronizes
|
|
6401
|
+
* Synchronizes a cluster node pool, including node pool metadata and information about the nodes in the node pool.
|
|
6328
6402
|
*
|
|
6329
6403
|
* @param headers - map
|
|
6330
6404
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6348,7 +6422,7 @@ class Client extends openapi_core_1.default {
|
|
|
6348
6422
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncClusterNodePoolResponse({}));
|
|
6349
6423
|
}
|
|
6350
6424
|
/**
|
|
6351
|
-
* Synchronizes
|
|
6425
|
+
* Synchronizes a cluster node pool, including node pool metadata and information about the nodes in the node pool.
|
|
6352
6426
|
* @returns SyncClusterNodePoolResponse
|
|
6353
6427
|
*/
|
|
6354
6428
|
async syncClusterNodePool(ClusterId) {
|
|
@@ -6357,7 +6431,7 @@ class Client extends openapi_core_1.default {
|
|
|
6357
6431
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
6358
6432
|
}
|
|
6359
6433
|
/**
|
|
6360
|
-
*
|
|
6434
|
+
* 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.
|
|
6361
6435
|
*
|
|
6362
6436
|
* @param request - TagResourcesRequest
|
|
6363
6437
|
* @param headers - map
|
|
@@ -6397,7 +6471,7 @@ class Client extends openapi_core_1.default {
|
|
|
6397
6471
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
6398
6472
|
}
|
|
6399
6473
|
/**
|
|
6400
|
-
*
|
|
6474
|
+
* 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.
|
|
6401
6475
|
*
|
|
6402
6476
|
* @param request - TagResourcesRequest
|
|
6403
6477
|
* @returns TagResourcesResponse
|
|
@@ -6408,7 +6482,7 @@ class Client extends openapi_core_1.default {
|
|
|
6408
6482
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
6409
6483
|
}
|
|
6410
6484
|
/**
|
|
6411
|
-
* Uninstalls components
|
|
6485
|
+
* Uninstalls specified components from a cluster when they are no longer needed, with the option to delete associated Alibaba Cloud resources.
|
|
6412
6486
|
*
|
|
6413
6487
|
* @param request - UnInstallClusterAddonsRequest
|
|
6414
6488
|
* @param headers - map
|
|
@@ -6435,7 +6509,7 @@ class Client extends openapi_core_1.default {
|
|
|
6435
6509
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnInstallClusterAddonsResponse({}));
|
|
6436
6510
|
}
|
|
6437
6511
|
/**
|
|
6438
|
-
* Uninstalls components
|
|
6512
|
+
* Uninstalls specified components from a cluster when they are no longer needed, with the option to delete associated Alibaba Cloud resources.
|
|
6439
6513
|
*
|
|
6440
6514
|
* @param request - UnInstallClusterAddonsRequest
|
|
6441
6515
|
* @returns UnInstallClusterAddonsResponse
|
|
@@ -6446,7 +6520,7 @@ class Client extends openapi_core_1.default {
|
|
|
6446
6520
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
6447
6521
|
}
|
|
6448
6522
|
/**
|
|
6449
|
-
*
|
|
6523
|
+
* 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.
|
|
6450
6524
|
*
|
|
6451
6525
|
* @param tmpReq - UntagResourcesRequest
|
|
6452
6526
|
* @param headers - map
|
|
@@ -6497,7 +6571,7 @@ class Client extends openapi_core_1.default {
|
|
|
6497
6571
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
|
|
6498
6572
|
}
|
|
6499
6573
|
/**
|
|
6500
|
-
*
|
|
6574
|
+
* 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.
|
|
6501
6575
|
*
|
|
6502
6576
|
* @param request - UntagResourcesRequest
|
|
6503
6577
|
* @returns UntagResourcesResponse
|
|
@@ -6508,10 +6582,10 @@ class Client extends openapi_core_1.default {
|
|
|
6508
6582
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
6509
6583
|
}
|
|
6510
6584
|
/**
|
|
6511
|
-
*
|
|
6585
|
+
* 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.
|
|
6512
6586
|
*
|
|
6513
6587
|
* @remarks
|
|
6514
|
-
* Before you
|
|
6588
|
+
* 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).
|
|
6515
6589
|
*
|
|
6516
6590
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
6517
6591
|
* @param headers - map
|
|
@@ -6545,10 +6619,10 @@ class Client extends openapi_core_1.default {
|
|
|
6545
6619
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateClusterAuditLogConfigResponse({}));
|
|
6546
6620
|
}
|
|
6547
6621
|
/**
|
|
6548
|
-
*
|
|
6622
|
+
* 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.
|
|
6549
6623
|
*
|
|
6550
6624
|
* @remarks
|
|
6551
|
-
* Before you
|
|
6625
|
+
* 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).
|
|
6552
6626
|
*
|
|
6553
6627
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
6554
6628
|
* @returns UpdateClusterAuditLogConfigResponse
|
|
@@ -6559,7 +6633,7 @@ class Client extends openapi_core_1.default {
|
|
|
6559
6633
|
return await this.updateClusterAuditLogConfigWithOptions(clusterid, request, headers, runtime);
|
|
6560
6634
|
}
|
|
6561
6635
|
/**
|
|
6562
|
-
*
|
|
6636
|
+
* Updates the cluster inspection configuration.
|
|
6563
6637
|
*
|
|
6564
6638
|
* @param request - UpdateClusterInspectConfigRequest
|
|
6565
6639
|
* @param headers - map
|
|
@@ -6596,7 +6670,7 @@ class Client extends openapi_core_1.default {
|
|
|
6596
6670
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateClusterInspectConfigResponse({}));
|
|
6597
6671
|
}
|
|
6598
6672
|
/**
|
|
6599
|
-
*
|
|
6673
|
+
* Updates the cluster inspection configuration.
|
|
6600
6674
|
*
|
|
6601
6675
|
* @param request - UpdateClusterInspectConfigRequest
|
|
6602
6676
|
* @returns UpdateClusterInspectConfigResponse
|
|
@@ -6607,7 +6681,7 @@ class Client extends openapi_core_1.default {
|
|
|
6607
6681
|
return await this.updateClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
|
|
6608
6682
|
}
|
|
6609
6683
|
/**
|
|
6610
|
-
*
|
|
6684
|
+
* Updates the contact group for an alert rule set in an ACK cluster.
|
|
6611
6685
|
*
|
|
6612
6686
|
* @param request - UpdateContactGroupForAlertRequest
|
|
6613
6687
|
* @param headers - map
|
|
@@ -6647,7 +6721,7 @@ class Client extends openapi_core_1.default {
|
|
|
6647
6721
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContactGroupForAlertResponse({}));
|
|
6648
6722
|
}
|
|
6649
6723
|
/**
|
|
6650
|
-
*
|
|
6724
|
+
* Updates the contact group for an alert rule set in an ACK cluster.
|
|
6651
6725
|
*
|
|
6652
6726
|
* @param request - UpdateContactGroupForAlertRequest
|
|
6653
6727
|
* @returns UpdateContactGroupForAlertResponse
|
|
@@ -6658,7 +6732,7 @@ class Client extends openapi_core_1.default {
|
|
|
6658
6732
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, request, headers, runtime);
|
|
6659
6733
|
}
|
|
6660
6734
|
/**
|
|
6661
|
-
*
|
|
6735
|
+
* 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.
|
|
6662
6736
|
*
|
|
6663
6737
|
* @param request - UpdateControlPlaneLogRequest
|
|
6664
6738
|
* @param headers - map
|
|
@@ -6698,7 +6772,7 @@ class Client extends openapi_core_1.default {
|
|
|
6698
6772
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateControlPlaneLogResponse({}));
|
|
6699
6773
|
}
|
|
6700
6774
|
/**
|
|
6701
|
-
*
|
|
6775
|
+
* 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.
|
|
6702
6776
|
*
|
|
6703
6777
|
* @param request - UpdateControlPlaneLogRequest
|
|
6704
6778
|
* @returns UpdateControlPlaneLogResponse
|
|
@@ -6709,11 +6783,11 @@ class Client extends openapi_core_1.default {
|
|
|
6709
6783
|
return await this.updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime);
|
|
6710
6784
|
}
|
|
6711
6785
|
/**
|
|
6712
|
-
*
|
|
6786
|
+
* 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.
|
|
6713
6787
|
*
|
|
6714
6788
|
* @remarks
|
|
6715
|
-
*
|
|
6716
|
-
*
|
|
6789
|
+
* - This operation can be called only by an Alibaba Cloud account.
|
|
6790
|
+
* - 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.
|
|
6717
6791
|
*
|
|
6718
6792
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
6719
6793
|
* @param headers - map
|
|
@@ -6747,11 +6821,11 @@ class Client extends openapi_core_1.default {
|
|
|
6747
6821
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateK8sClusterUserConfigExpireResponse({}));
|
|
6748
6822
|
}
|
|
6749
6823
|
/**
|
|
6750
|
-
*
|
|
6824
|
+
* 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.
|
|
6751
6825
|
*
|
|
6752
6826
|
* @remarks
|
|
6753
|
-
*
|
|
6754
|
-
*
|
|
6827
|
+
* - This operation can be called only by an Alibaba Cloud account.
|
|
6828
|
+
* - 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.
|
|
6755
6829
|
*
|
|
6756
6830
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
6757
6831
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|
|
@@ -6762,12 +6836,12 @@ class Client extends openapi_core_1.default {
|
|
|
6762
6836
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
6763
6837
|
}
|
|
6764
6838
|
/**
|
|
6765
|
-
*
|
|
6839
|
+
* Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
|
|
6766
6840
|
*
|
|
6767
6841
|
* @remarks
|
|
6768
|
-
*
|
|
6769
|
-
* *
|
|
6770
|
-
* *
|
|
6842
|
+
* 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).
|
|
6843
|
+
* * 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.
|
|
6844
|
+
* * 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.
|
|
6771
6845
|
*
|
|
6772
6846
|
* @param request - UpdateKMSEncryptionRequest
|
|
6773
6847
|
* @param headers - map
|
|
@@ -6801,12 +6875,12 @@ class Client extends openapi_core_1.default {
|
|
|
6801
6875
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKMSEncryptionResponse({}));
|
|
6802
6876
|
}
|
|
6803
6877
|
/**
|
|
6804
|
-
*
|
|
6878
|
+
* Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
|
|
6805
6879
|
*
|
|
6806
6880
|
* @remarks
|
|
6807
|
-
*
|
|
6808
|
-
* *
|
|
6809
|
-
* *
|
|
6881
|
+
* 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).
|
|
6882
|
+
* * 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.
|
|
6883
|
+
* * 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.
|
|
6810
6884
|
*
|
|
6811
6885
|
* @param request - UpdateKMSEncryptionRequest
|
|
6812
6886
|
* @returns UpdateKMSEncryptionResponse
|
|
@@ -6817,7 +6891,7 @@ class Client extends openapi_core_1.default {
|
|
|
6817
6891
|
return await this.updateKMSEncryptionWithOptions(ClusterId, request, headers, runtime);
|
|
6818
6892
|
}
|
|
6819
6893
|
/**
|
|
6820
|
-
* Updates a
|
|
6894
|
+
* Updates a node component.
|
|
6821
6895
|
*
|
|
6822
6896
|
* @param request - UpdateNodePoolComponentRequest
|
|
6823
6897
|
* @param headers - map
|
|
@@ -6863,7 +6937,7 @@ class Client extends openapi_core_1.default {
|
|
|
6863
6937
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateNodePoolComponentResponse({}));
|
|
6864
6938
|
}
|
|
6865
6939
|
/**
|
|
6866
|
-
* Updates a
|
|
6940
|
+
* Updates a node component.
|
|
6867
6941
|
*
|
|
6868
6942
|
* @param request - UpdateNodePoolComponentRequest
|
|
6869
6943
|
* @returns UpdateNodePoolComponentResponse
|
|
@@ -6874,10 +6948,11 @@ class Client extends openapi_core_1.default {
|
|
|
6874
6948
|
return await this.updateNodePoolComponentWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
6875
6949
|
}
|
|
6876
6950
|
/**
|
|
6877
|
-
* Updates the deletion protection status of
|
|
6951
|
+
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services.
|
|
6952
|
+
* 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.
|
|
6878
6953
|
*
|
|
6879
6954
|
* @remarks
|
|
6880
|
-
*
|
|
6955
|
+
* 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).
|
|
6881
6956
|
*
|
|
6882
6957
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
6883
6958
|
* @param headers - map
|
|
@@ -6917,10 +6992,11 @@ class Client extends openapi_core_1.default {
|
|
|
6917
6992
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateResourcesDeleteProtectionResponse({}));
|
|
6918
6993
|
}
|
|
6919
6994
|
/**
|
|
6920
|
-
* Updates the deletion protection status of
|
|
6995
|
+
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services.
|
|
6996
|
+
* 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.
|
|
6921
6997
|
*
|
|
6922
6998
|
* @remarks
|
|
6923
|
-
*
|
|
6999
|
+
* 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).
|
|
6924
7000
|
*
|
|
6925
7001
|
* @param request - UpdateResourcesDeleteProtectionRequest
|
|
6926
7002
|
* @returns UpdateResourcesDeleteProtectionResponse
|
|
@@ -6931,7 +7007,7 @@ class Client extends openapi_core_1.default {
|
|
|
6931
7007
|
return await this.updateResourcesDeleteProtectionWithOptions(ClusterId, request, headers, runtime);
|
|
6932
7008
|
}
|
|
6933
7009
|
/**
|
|
6934
|
-
*
|
|
7010
|
+
* 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.
|
|
6935
7011
|
*
|
|
6936
7012
|
* @param request - UpdateTemplateRequest
|
|
6937
7013
|
* @param headers - map
|
|
@@ -6974,7 +7050,7 @@ class Client extends openapi_core_1.default {
|
|
|
6974
7050
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTemplateResponse({}));
|
|
6975
7051
|
}
|
|
6976
7052
|
/**
|
|
6977
|
-
*
|
|
7053
|
+
* 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.
|
|
6978
7054
|
*
|
|
6979
7055
|
* @param request - UpdateTemplateRequest
|
|
6980
7056
|
* @returns UpdateTemplateResponse
|
|
@@ -6985,11 +7061,10 @@ class Client extends openapi_core_1.default {
|
|
|
6985
7061
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
6986
7062
|
}
|
|
6987
7063
|
/**
|
|
6988
|
-
* In
|
|
7064
|
+
* 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.
|
|
6989
7065
|
*
|
|
6990
7066
|
* @remarks
|
|
6991
|
-
*
|
|
6992
|
-
* * 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.
|
|
7067
|
+
* 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.
|
|
6993
7068
|
*
|
|
6994
7069
|
* @param request - UpdateUserPermissionsRequest
|
|
6995
7070
|
* @param headers - map
|
|
@@ -7021,11 +7096,10 @@ class Client extends openapi_core_1.default {
|
|
|
7021
7096
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserPermissionsResponse({}));
|
|
7022
7097
|
}
|
|
7023
7098
|
/**
|
|
7024
|
-
* In
|
|
7099
|
+
* 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.
|
|
7025
7100
|
*
|
|
7026
7101
|
* @remarks
|
|
7027
|
-
*
|
|
7028
|
-
* * 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.
|
|
7102
|
+
* 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.
|
|
7029
7103
|
*
|
|
7030
7104
|
* @param request - UpdateUserPermissionsRequest
|
|
7031
7105
|
* @returns UpdateUserPermissionsResponse
|
|
@@ -7036,14 +7110,15 @@ class Client extends openapi_core_1.default {
|
|
|
7036
7110
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
7037
7111
|
}
|
|
7038
7112
|
/**
|
|
7039
|
-
*
|
|
7113
|
+
* 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.
|
|
7040
7114
|
*
|
|
7041
7115
|
* @remarks
|
|
7042
|
-
* After successfully
|
|
7116
|
+
* 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:
|
|
7043
7117
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7044
7118
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7045
|
-
* - [Call ResumeTask to resume a task
|
|
7046
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7119
|
+
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7120
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
|
|
7121
|
+
* >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>.
|
|
7047
7122
|
*
|
|
7048
7123
|
* @param request - UpgradeClusterRequest
|
|
7049
7124
|
* @param headers - map
|
|
@@ -7086,14 +7161,15 @@ class Client extends openapi_core_1.default {
|
|
|
7086
7161
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterResponse({}));
|
|
7087
7162
|
}
|
|
7088
7163
|
/**
|
|
7089
|
-
*
|
|
7164
|
+
* 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.
|
|
7090
7165
|
*
|
|
7091
7166
|
* @remarks
|
|
7092
|
-
* After successfully
|
|
7167
|
+
* 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:
|
|
7093
7168
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7094
7169
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7095
|
-
* - [Call ResumeTask to resume a task
|
|
7096
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7170
|
+
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7171
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
|
|
7172
|
+
* >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>.
|
|
7097
7173
|
*
|
|
7098
7174
|
* @param request - UpgradeClusterRequest
|
|
7099
7175
|
* @returns UpgradeClusterResponse
|
|
@@ -7104,12 +7180,12 @@ class Client extends openapi_core_1.default {
|
|
|
7104
7180
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
7105
7181
|
}
|
|
7106
7182
|
/**
|
|
7107
|
-
*
|
|
7183
|
+
* Upgrades the versions of cluster component instances so that you can benefit from the feature optimizations in the new versions.
|
|
7108
7184
|
*
|
|
7109
7185
|
* @remarks
|
|
7110
|
-
* -
|
|
7111
|
-
* -
|
|
7112
|
-
* -
|
|
7186
|
+
* - 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.
|
|
7187
|
+
* - 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.
|
|
7188
|
+
* - Upgrade components one at a time. Confirm that one component has been upgraded successfully before upgrading the next one.
|
|
7113
7189
|
*
|
|
7114
7190
|
* @param request - UpgradeClusterAddonsRequest
|
|
7115
7191
|
* @param headers - map
|
|
@@ -7136,12 +7212,12 @@ class Client extends openapi_core_1.default {
|
|
|
7136
7212
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterAddonsResponse({}));
|
|
7137
7213
|
}
|
|
7138
7214
|
/**
|
|
7139
|
-
*
|
|
7215
|
+
* Upgrades the versions of cluster component instances so that you can benefit from the feature optimizations in the new versions.
|
|
7140
7216
|
*
|
|
7141
7217
|
* @remarks
|
|
7142
|
-
* -
|
|
7143
|
-
* -
|
|
7144
|
-
* -
|
|
7218
|
+
* - 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.
|
|
7219
|
+
* - 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.
|
|
7220
|
+
* - Upgrade components one at a time. Confirm that one component has been upgraded successfully before upgrading the next one.
|
|
7145
7221
|
*
|
|
7146
7222
|
* @param request - UpgradeClusterAddonsRequest
|
|
7147
7223
|
* @returns UpgradeClusterAddonsResponse
|
|
@@ -7152,10 +7228,14 @@ class Client extends openapi_core_1.default {
|
|
|
7152
7228
|
return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
7153
7229
|
}
|
|
7154
7230
|
/**
|
|
7155
|
-
*
|
|
7231
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7156
7232
|
*
|
|
7157
7233
|
* @remarks
|
|
7158
|
-
*
|
|
7234
|
+
* 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:
|
|
7235
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7236
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7237
|
+
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7238
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
|
|
7159
7239
|
*
|
|
7160
7240
|
* @param request - UpgradeClusterNodepoolRequest
|
|
7161
7241
|
* @param headers - map
|
|
@@ -7204,10 +7284,14 @@ class Client extends openapi_core_1.default {
|
|
|
7204
7284
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterNodepoolResponse({}));
|
|
7205
7285
|
}
|
|
7206
7286
|
/**
|
|
7207
|
-
*
|
|
7287
|
+
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7208
7288
|
*
|
|
7209
7289
|
* @remarks
|
|
7210
|
-
*
|
|
7290
|
+
* 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:
|
|
7291
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7292
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7293
|
+
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7294
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html).
|
|
7211
7295
|
*
|
|
7212
7296
|
* @param request - UpgradeClusterNodepoolRequest
|
|
7213
7297
|
* @returns UpgradeClusterNodepoolResponse
|