@alicloud/cs20151215 7.1.3 → 7.2.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 +290 -274
- package/dist/client.js +334 -314
- package/dist/client.js.map +1 -1
- package/dist/models/Addon.d.ts +4 -4
- package/dist/models/AttachInstancesRequest.d.ts +18 -17
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -3
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +1 -1
- package/dist/models/CheckServiceRoleResponseBody.d.ts +2 -2
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -0
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +9 -9
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +31 -31
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +3 -3
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +65 -60
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +414 -180
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +7 -8
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +5 -8
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +43 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +9 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +6 -6
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- 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/DeleteClusterNodepoolRequest.d.ts +2 -2
- package/dist/models/DeleteClusterNodesRequest.d.ts +8 -8
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +11 -11
- package/dist/models/DeleteClusterShrinkRequest.d.ts +7 -7
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +20 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +9 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +20 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +16 -6
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +3 -1
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +2 -2
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +14 -14
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +15 -15
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +92 -95
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +9 -1
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +29 -25
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +234 -282
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +99 -99
- package/dist/models/DescribeClusterNodesRequest.d.ts +17 -8
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +34 -41
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +2 -2
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -37
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +6 -15
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +6 -6
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +11 -11
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +20 -23
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +56 -58
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +10 -2
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +6 -2
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +21 -21
- package/dist/models/DescribeEventsResponseBody.d.ts +23 -23
- package/dist/models/DescribeExternalAgentRequest.d.ts +7 -6
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +18 -18
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +11 -11
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +2 -2
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +8 -8
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +34 -31
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesResponse.d.ts +19 -19
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +4 -4
- package/dist/models/DescribeRegionsRequest.d.ts +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +3 -3
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -2
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +21 -17
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +2 -2
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +15 -15
- package/dist/models/DescribeTemplatesRequest.d.ts +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +9 -9
- package/dist/models/DescribeTriggerResponse.d.ts +12 -12
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/DiskInit.d.ts +22 -0
- package/dist/models/DiskInit.js.map +1 -1
- package/dist/models/FixNodePoolVulsRequest.d.ts +2 -1
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +7 -7
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +6 -6
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +8 -8
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +19 -19
- package/dist/models/GetKubernetesTriggerRequest.d.ts +5 -11
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +4 -8
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +8 -8
- package/dist/models/GrantPermissionsRequest.d.ts +4 -5
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +8 -8
- package/dist/models/InstanceMetadataOptions.d.ts +7 -7
- package/dist/models/KubeletConfig.d.ts +39 -33
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAddonsRequest.d.ts +2 -2
- package/dist/models/ListAddonsResponseBody.d.ts +2 -2
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +17 -17
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +3 -3
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +2 -2
- package/dist/models/ListClusterChecksRequest.d.ts +5 -5
- package/dist/models/ListClusterChecksResponseBody.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +6 -6
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +24 -24
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +53 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js +69 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +135 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js +143 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +53 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js +66 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +6 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +39 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentsRequest.d.ts +21 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +21 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +6 -6
- package/dist/models/ListOperationPlansResponseBody.d.ts +4 -4
- package/dist/models/ListTagResourcesRequest.d.ts +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +3 -3
- package/dist/models/MaintenanceWindow.d.ts +69 -15
- package/dist/models/MaintenanceWindow.js +33 -1
- package/dist/models/MaintenanceWindow.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +8 -8
- package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +255 -80
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +62 -62
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +176 -175
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/QuotasValue.d.ts +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +2 -2
- package/dist/models/RepairClusterNodePoolRequest.d.ts +9 -9
- package/dist/models/RunClusterCheckRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +6 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -1
- package/dist/models/RunNodeOperationResponseBody.d.ts +9 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -1
- package/dist/models/Runtime.d.ts +7 -9
- package/dist/models/Runtime.js.map +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +6 -6
- package/dist/models/StopAlertResponseBody.d.ts +2 -1
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/Tag.d.ts +2 -2
- package/dist/models/TagResourcesRequest.d.ts +1 -1
- package/dist/models/Taint.d.ts +7 -5
- package/dist/models/Taint.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +2 -2
- package/dist/models/UntagResourcesShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +2 -2
- package/dist/models/UpdateKmsencryptionRequest.d.ts +4 -4
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +43 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +9 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +6 -6
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +8 -8
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +4 -4
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterRequest.d.ts +7 -6
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +32 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +343 -314
- package/src/models/Addon.ts +4 -4
- package/src/models/AttachInstancesRequest.ts +18 -17
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -3
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +1 -1
- package/src/models/CheckServiceRoleResponseBody.ts +2 -2
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -0
- package/src/models/CreateAutoRepairPolicyRequest.ts +9 -9
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/CreateAutoscalingConfigRequest.ts +31 -31
- package/src/models/CreateClusterDiagnosisRequest.ts +3 -3
- package/src/models/CreateClusterInspectConfigRequest.ts +1 -1
- package/src/models/CreateClusterNodePoolRequest.ts +65 -60
- package/src/models/CreateClusterRequest.ts +416 -180
- package/src/models/CreateKubernetesTriggerRequest.ts +7 -8
- package/src/models/CreateKubernetesTriggerResponseBody.ts +5 -8
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +43 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +9 -0
- package/src/models/CreateTemplateRequest.ts +6 -6
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/DeleteAlertContactGroupRequest.ts +1 -1
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteAlertContactGroupShrinkRequest.ts +1 -1
- package/src/models/DeleteClusterNodepoolRequest.ts +2 -2
- package/src/models/DeleteClusterNodesRequest.ts +8 -8
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +11 -11
- package/src/models/DeleteClusterShrinkRequest.ts +7 -7
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +20 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +9 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +20 -0
- package/src/models/DeployPolicyInstanceRequest.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +16 -6
- package/src/models/DescribeAddonsRequest.ts +3 -1
- package/src/models/DescribeAddonsResponseBody.ts +2 -2
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +14 -14
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +7 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +15 -15
- package/src/models/DescribeClusterDetailResponseBody.ts +92 -95
- package/src/models/DescribeClusterEventsRequest.ts +9 -1
- package/src/models/DescribeClusterEventsResponseBody.ts +29 -25
- package/src/models/DescribeClusterLogsResponse.ts +5 -5
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +234 -282
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +99 -99
- package/src/models/DescribeClusterNodesRequest.ts +17 -8
- package/src/models/DescribeClusterNodesResponseBody.ts +34 -41
- package/src/models/DescribeClusterResourcesRequest.ts +2 -2
- package/src/models/DescribeClusterResourcesResponse.ts +37 -37
- package/src/models/DescribeClusterVulsResponseBody.ts +6 -15
- package/src/models/DescribeClustersForRegionRequest.ts +6 -6
- package/src/models/DescribeClustersForRegionResponseBody.ts +11 -11
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +20 -23
- package/src/models/DescribeClustersV1responseBody.ts +56 -58
- package/src/models/DescribeEventsForRegionRequest.ts +10 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +6 -2
- package/src/models/DescribeEventsRequest.ts +21 -21
- package/src/models/DescribeEventsResponseBody.ts +23 -23
- package/src/models/DescribeExternalAgentRequest.ts +7 -6
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +18 -18
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +11 -11
- package/src/models/DescribeNodePoolVulsRequest.ts +2 -2
- package/src/models/DescribeNodePoolVulsResponseBody.ts +1 -1
- package/src/models/DescribePolicyDetailsResponseBody.ts +8 -8
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +34 -31
- package/src/models/DescribePolicyInstancesResponse.ts +19 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +4 -4
- package/src/models/DescribeRegionsRequest.ts +1 -1
- package/src/models/DescribeRegionsResponseBody.ts +1 -1
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +3 -3
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +21 -17
- package/src/models/DescribeTemplateAttributeRequest.ts +2 -2
- package/src/models/DescribeTemplateAttributeResponse.ts +15 -15
- package/src/models/DescribeTemplatesRequest.ts +1 -1
- package/src/models/DescribeTemplatesResponseBody.ts +9 -9
- package/src/models/DescribeTriggerResponse.ts +12 -12
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/DiskInit.ts +22 -0
- package/src/models/FixNodePoolVulsRequest.ts +2 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +7 -7
- package/src/models/GetClusterAuditProjectResponseBody.ts +1 -1
- package/src/models/GetClusterCheckResponseBody.ts +1 -1
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +6 -6
- package/src/models/GetClusterInspectReportDetailRequest.ts +8 -8
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +19 -19
- package/src/models/GetKubernetesTriggerRequest.ts +5 -11
- package/src/models/GetKubernetesTriggerResponse.ts +4 -8
- package/src/models/GetUpgradeStatusResponseBody.ts +8 -8
- package/src/models/GrantPermissionsRequest.ts +4 -5
- package/src/models/InstallNodePoolComponentsRequest.ts +8 -8
- package/src/models/InstanceMetadataOptions.ts +9 -9
- package/src/models/KubeletConfig.ts +39 -33
- package/src/models/ListAddonsRequest.ts +2 -2
- package/src/models/ListAddonsResponseBody.ts +2 -2
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +17 -17
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +3 -3
- package/src/models/ListClusterAddonInstancesResponseBody.ts +2 -2
- package/src/models/ListClusterChecksRequest.ts +5 -5
- package/src/models/ListClusterChecksResponseBody.ts +1 -1
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +6 -6
- package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +24 -24
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +77 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +204 -0
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +74 -0
- package/src/models/ListNodePoolComponentInstancesRequest.ts +6 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +39 -0
- package/src/models/ListNodePoolComponentsRequest.ts +21 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +19 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +21 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +6 -6
- package/src/models/ListOperationPlansResponseBody.ts +4 -4
- package/src/models/ListTagResourcesRequest.ts +1 -1
- package/src/models/ListTagResourcesResponseBody.ts +1 -1
- package/src/models/ListTagResourcesShrinkRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +3 -3
- package/src/models/MaintenanceWindow.ts +92 -15
- package/src/models/ModifyAutoRepairPolicyRequest.ts +8 -8
- package/src/models/ModifyAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +255 -80
- package/src/models/ModifyClusterRequest.ts +62 -62
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +1 -1
- package/src/models/ModifyPolicyInstanceRequest.ts +5 -5
- package/src/models/Nodepool.ts +176 -175
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/QuotasValue.ts +1 -1
- package/src/models/RemoveNodePoolNodesRequest.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +2 -2
- package/src/models/RepairClusterNodePoolRequest.ts +9 -9
- package/src/models/RunClusterCheckRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +6 -0
- package/src/models/RunNodeOperationResponseBody.ts +9 -0
- package/src/models/Runtime.ts +7 -9
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/StandardComponentsValue.ts +6 -6
- package/src/models/StopAlertResponseBody.ts +2 -1
- package/src/models/Tag.ts +2 -2
- package/src/models/TagResourcesRequest.ts +1 -1
- package/src/models/Taint.ts +7 -5
- package/src/models/UntagResourcesRequest.ts +2 -2
- package/src/models/UntagResourcesShrinkRequest.ts +2 -2
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +1 -1
- package/src/models/UpdateControlPlaneLogRequest.ts +1 -1
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +2 -2
- package/src/models/UpdateKmsencryptionRequest.ts +4 -4
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +43 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +9 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +6 -6
- package/src/models/UpdateNodePoolComponentResponseBody.ts +1 -1
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +1 -1
- package/src/models/UpdateUserPermissionsRequest.ts +8 -8
- package/src/models/UpgradeClusterAddonsRequest.ts +4 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
- package/src/models/UpgradeClusterRequest.ts +7 -6
- package/src/models/model.ts +8 -0
package/dist/client.js
CHANGED
|
@@ -80,46 +80,6 @@ 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
|
-
'cn-beijing': "cs.cn-beijing.aliyuncs.com",
|
|
84
|
-
'cn-zhengzhou-jva': "cs.cn-zhengzhou-jva.aliyuncs.com",
|
|
85
|
-
'cn-heyuan': "cs.cn-heyuan.aliyuncs.com",
|
|
86
|
-
'cn-zhangjiakou': "cs.cn-zhangjiakou.aliyuncs.com",
|
|
87
|
-
'ap-northeast-2': "cs.ap-northeast-2.aliyuncs.com",
|
|
88
|
-
'ap-northeast-1': "cs.ap-northeast-1.aliyuncs.com",
|
|
89
|
-
'ap-southeast-1': "cs.ap-southeast-1.aliyuncs.com",
|
|
90
|
-
'ap-southeast-3': "cs.ap-southeast-3.aliyuncs.com",
|
|
91
|
-
'ap-southeast-5': "cs.ap-southeast-5.aliyuncs.com",
|
|
92
|
-
'ap-southeast-7': "cs.ap-southeast-7.aliyuncs.com",
|
|
93
|
-
'cn-wulanchabu': "cs.cn-wulanchabu.aliyuncs.com",
|
|
94
|
-
'cn-qingdao': "cs.cn-qingdao.aliyuncs.com",
|
|
95
|
-
'cn-wuhan-lr': "cs.cn-wuhan-lr.aliyuncs.com",
|
|
96
|
-
'cn-shanghai': "cs.cn-shanghai.aliyuncs.com",
|
|
97
|
-
'cn-hongkong': "cs.cn-hongkong.aliyuncs.com",
|
|
98
|
-
'cn-shenzhen': "cs.cn-shenzhen.aliyuncs.com",
|
|
99
|
-
'cn-nanjing': "cs.cn-nanjing.aliyuncs.com",
|
|
100
|
-
'cn-fuzhou': "cs.cn-fuzhou.aliyuncs.com",
|
|
101
|
-
'cn-chengdu': "cs.cn-chengdu.aliyuncs.com",
|
|
102
|
-
'cn-guangzhou': "cs.cn-guangzhou.aliyuncs.com",
|
|
103
|
-
'cn-huhehaote': "cs.cn-huhehaote.aliyuncs.com",
|
|
104
|
-
'cn-hangzhou': "cs.cn-hangzhou.aliyuncs.com",
|
|
105
|
-
'ap-southeast-8': "cs.ap-southeast-8.aliyuncs.com",
|
|
106
|
-
'cn-zhongwei': "cs.cn-zhongwei.aliyuncs.com",
|
|
107
|
-
'eu-west-2': "cs.eu-west-2.aliyuncs.com",
|
|
108
|
-
'na-south-1': "cs.na-south-1.aliyuncs.com",
|
|
109
|
-
'us-west-1': "cs.us-west-1.aliyuncs.com",
|
|
110
|
-
'us-east-1': "cs.us-east-1.aliyuncs.com",
|
|
111
|
-
'eu-central-1': "cs.eu-central-1.aliyuncs.com",
|
|
112
|
-
'eu-west-1': "cs.eu-west-1.aliyuncs.com",
|
|
113
|
-
'us-southeast-1': "cs.us-southeast-1.aliyuncs.com",
|
|
114
|
-
'me-central-1': "cs.me-central-1.aliyuncs.com",
|
|
115
|
-
'me-east-1': "cs.me-east-1.aliyuncs.com",
|
|
116
|
-
'cn-north-2-gov-1': "cs.cn-north-2-gov-1.aliyuncs.com",
|
|
117
|
-
'cn-heyuan-acdr-1': "cs.cn-heyuan-acdr-1.aliyuncs.com",
|
|
118
|
-
'cn-wulanchabu-gic-1': "cs.cn-wulanchabu-gic-1.aliyuncs.com",
|
|
119
|
-
'cn-shanghai-finance-1': "cs.cn-shanghai-finance-1.aliyuncs.com",
|
|
120
|
-
'cn-beijing-finance-1': "cs.cn-beijing-finance-1.aliyuncs.com",
|
|
121
|
-
'cn-shenzhen-finance-1': "cs.cn-shenzhen-finance-1.aliyuncs.com",
|
|
122
|
-
'cn-hangzhou-finance': "cs.cn-hangzhou-finance.aliyuncs.com",
|
|
123
83
|
};
|
|
124
84
|
this.checkConfig(config);
|
|
125
85
|
this._endpoint = this.getEndpoint("cs", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -134,7 +94,7 @@ class Client extends openapi_core_1.default {
|
|
|
134
94
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
135
95
|
}
|
|
136
96
|
/**
|
|
137
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. You can call
|
|
97
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. You can call this operation to add ECS instances as worker nodes to an ACK cluster after purchasing them, or to re-add node instances to a node pool after they have been removed.
|
|
138
98
|
*
|
|
139
99
|
* @remarks
|
|
140
100
|
* 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.
|
|
@@ -204,7 +164,7 @@ class Client extends openapi_core_1.default {
|
|
|
204
164
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachInstancesResponse({}));
|
|
205
165
|
}
|
|
206
166
|
/**
|
|
207
|
-
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. You can call
|
|
167
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. You can call this operation to add ECS instances as worker nodes to an ACK cluster after purchasing them, or to re-add node instances to a node pool after they have been removed.
|
|
208
168
|
*
|
|
209
169
|
* @remarks
|
|
210
170
|
* 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.
|
|
@@ -218,7 +178,7 @@ class Client extends openapi_core_1.default {
|
|
|
218
178
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
219
179
|
}
|
|
220
180
|
/**
|
|
221
|
-
* 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
|
|
181
|
+
* 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 re-add node instances to a node pool after they are removed.
|
|
222
182
|
*
|
|
223
183
|
* @param request - AttachInstancesToNodePoolRequest
|
|
224
184
|
* @param headers - map
|
|
@@ -258,7 +218,7 @@ class Client extends openapi_core_1.default {
|
|
|
258
218
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachInstancesToNodePoolResponse({}));
|
|
259
219
|
}
|
|
260
220
|
/**
|
|
261
|
-
* 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
|
|
221
|
+
* 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 re-add node instances to a node pool after they are removed.
|
|
262
222
|
*
|
|
263
223
|
* @param request - AttachInstancesToNodePoolRequest
|
|
264
224
|
* @returns AttachInstancesToNodePoolResponse
|
|
@@ -345,7 +305,7 @@ class Client extends openapi_core_1.default {
|
|
|
345
305
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
346
306
|
}
|
|
347
307
|
/**
|
|
348
|
-
* Cancels an existing but unexecuted automated O&M task execution plan
|
|
308
|
+
* Cancels an existing but unexecuted automated O&M task execution plan.
|
|
349
309
|
*
|
|
350
310
|
* @param headers - map
|
|
351
311
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -369,7 +329,7 @@ class Client extends openapi_core_1.default {
|
|
|
369
329
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelOperationPlanResponse({}));
|
|
370
330
|
}
|
|
371
331
|
/**
|
|
372
|
-
* Cancels an existing but unexecuted automated O&M task execution plan
|
|
332
|
+
* Cancels an existing but unexecuted automated O&M task execution plan.
|
|
373
333
|
* @returns CancelOperationPlanResponse
|
|
374
334
|
*/
|
|
375
335
|
async cancelOperationPlan(planId) {
|
|
@@ -411,7 +371,7 @@ class Client extends openapi_core_1.default {
|
|
|
411
371
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
412
372
|
}
|
|
413
373
|
/**
|
|
414
|
-
* 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,
|
|
374
|
+
* Queries the log configuration of control plane components for an ACK managed cluster. 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 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.
|
|
415
375
|
*
|
|
416
376
|
* @param headers - map
|
|
417
377
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -435,7 +395,7 @@ class Client extends openapi_core_1.default {
|
|
|
435
395
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckControlPlaneLogEnableResponse({}));
|
|
436
396
|
}
|
|
437
397
|
/**
|
|
438
|
-
* 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,
|
|
398
|
+
* Queries the log configuration of control plane components for an ACK managed cluster. 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 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.
|
|
439
399
|
* @returns CheckControlPlaneLogEnableResponse
|
|
440
400
|
*/
|
|
441
401
|
async checkControlPlaneLogEnable(ClusterId) {
|
|
@@ -538,12 +498,12 @@ class Client extends openapi_core_1.default {
|
|
|
538
498
|
return await this.cleanClusterUserPermissionsWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
539
499
|
}
|
|
540
500
|
/**
|
|
541
|
-
* Cleans up KubeConfig credentials and
|
|
501
|
+
* Cleans up KubeConfig credentials and RBAC permissions for a specified user. If you want to clean up and revoke KubeConfig for risky users (such as those who have left the company or whose accounts are frozen), you can call CleanUserPermissions to clean up the issued KubeConfig credentials and RBAC permissions for the specified user.
|
|
542
502
|
*
|
|
543
503
|
* @remarks
|
|
544
|
-
* >- You must have
|
|
504
|
+
* >- You must have the permission to manage Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
545
505
|
* >- Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
546
|
-
* >- Cleaning up the permissions of the user who performs
|
|
506
|
+
* >- Cleaning up the permissions of the user who performs the operation is not supported.
|
|
547
507
|
*
|
|
548
508
|
* @param tmpReq - CleanUserPermissionsRequest
|
|
549
509
|
* @param headers - map
|
|
@@ -582,12 +542,12 @@ class Client extends openapi_core_1.default {
|
|
|
582
542
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CleanUserPermissionsResponse({}));
|
|
583
543
|
}
|
|
584
544
|
/**
|
|
585
|
-
* Cleans up KubeConfig credentials and
|
|
545
|
+
* Cleans up KubeConfig credentials and RBAC permissions for a specified user. If you want to clean up and revoke KubeConfig for risky users (such as those who have left the company or whose accounts are frozen), you can call CleanUserPermissions to clean up the issued KubeConfig credentials and RBAC permissions for the specified user.
|
|
586
546
|
*
|
|
587
547
|
* @remarks
|
|
588
|
-
* >- You must have
|
|
548
|
+
* >- You must have the permission to manage Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
589
549
|
* >- Cleaning up permissions of an Alibaba Cloud account is not supported.
|
|
590
|
-
* >- Cleaning up the permissions of the user who performs
|
|
550
|
+
* >- Cleaning up the permissions of the user who performs the operation is not supported.
|
|
591
551
|
*
|
|
592
552
|
* @param request - CleanUserPermissionsRequest
|
|
593
553
|
* @returns CleanUserPermissionsResponse
|
|
@@ -601,7 +561,7 @@ class Client extends openapi_core_1.default {
|
|
|
601
561
|
* Creates a self-healing rule.
|
|
602
562
|
*
|
|
603
563
|
* @remarks
|
|
604
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
564
|
+
* >Notice: This API is not yet available. Stay tuned.</notice>
|
|
605
565
|
*
|
|
606
566
|
* @param request - CreateAutoRepairPolicyRequest
|
|
607
567
|
* @param headers - map
|
|
@@ -644,7 +604,7 @@ class Client extends openapi_core_1.default {
|
|
|
644
604
|
* Creates a self-healing rule.
|
|
645
605
|
*
|
|
646
606
|
* @remarks
|
|
647
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
607
|
+
* >Notice: This API is not yet available. Stay tuned.</notice>
|
|
648
608
|
*
|
|
649
609
|
* @param request - CreateAutoRepairPolicyRequest
|
|
650
610
|
* @returns CreateAutoRepairPolicyResponse
|
|
@@ -655,7 +615,7 @@ class Client extends openapi_core_1.default {
|
|
|
655
615
|
return await this.createAutoRepairPolicyWithOptions(clusterId, request, headers, runtime);
|
|
656
616
|
}
|
|
657
617
|
/**
|
|
658
|
-
* Creates an elastic scaling configuration that
|
|
618
|
+
* Creates an elastic scaling configuration that enables 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.
|
|
659
619
|
*
|
|
660
620
|
* @param request - CreateAutoscalingConfigRequest
|
|
661
621
|
* @param headers - map
|
|
@@ -731,7 +691,7 @@ class Client extends openapi_core_1.default {
|
|
|
731
691
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAutoscalingConfigResponse({}));
|
|
732
692
|
}
|
|
733
693
|
/**
|
|
734
|
-
* Creates an elastic scaling configuration that
|
|
694
|
+
* Creates an elastic scaling configuration that enables 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.
|
|
735
695
|
*
|
|
736
696
|
* @param request - CreateAutoscalingConfigRequest
|
|
737
697
|
* @returns CreateAutoscalingConfigResponse
|
|
@@ -745,13 +705,13 @@ class Client extends openapi_core_1.default {
|
|
|
745
705
|
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
|
|
746
706
|
*
|
|
747
707
|
* @remarks
|
|
748
|
-
* ### Generate OpenAPI request parameters
|
|
749
|
-
* When you call the CreateCluster operation to create a cluster, if the call fails due to
|
|
708
|
+
* ### Generate OpenAPI request parameters by using the console
|
|
709
|
+
* When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect combinations of request parameters, you can use the console to generate the required request parameter combinations. Perform the following steps:
|
|
750
710
|
* 1. Log on to the [Container Service for Kubernetes (ACK) console](https://csnew.console.aliyun.com) and choose **Clusters** in the left-side navigation pane.
|
|
751
711
|
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
752
712
|
* 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
753
|
-
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter
|
|
754
|
-
* >Notice: Starting from July 04, 2026, some request parameters will no longer take effect. For details about the changes and
|
|
713
|
+
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required for creating the cluster. You can copy and use them.
|
|
714
|
+
* >Notice: Starting from July 04, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameter descriptions, see [Notice on changes to OpenAPI request and response parameters for ACK cluster management and OpenAPI offline](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
755
715
|
*
|
|
756
716
|
* @param request - CreateClusterRequest
|
|
757
717
|
* @param headers - map
|
|
@@ -788,6 +748,9 @@ class Client extends openapi_core_1.default {
|
|
|
788
748
|
if (!$dara.isNull(request.cisEnabled)) {
|
|
789
749
|
body["cis_enabled"] = request.cisEnabled;
|
|
790
750
|
}
|
|
751
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
752
|
+
body["client_token"] = request.clientToken;
|
|
753
|
+
}
|
|
791
754
|
if (!$dara.isNull(request.cloudMonitorFlags)) {
|
|
792
755
|
body["cloud_monitor_flags"] = request.cloudMonitorFlags;
|
|
793
756
|
}
|
|
@@ -1091,13 +1054,13 @@ class Client extends openapi_core_1.default {
|
|
|
1091
1054
|
* Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
|
|
1092
1055
|
*
|
|
1093
1056
|
* @remarks
|
|
1094
|
-
* ### Generate OpenAPI request parameters
|
|
1095
|
-
* When you call the CreateCluster operation to create a cluster, if the call fails due to
|
|
1057
|
+
* ### Generate OpenAPI request parameters by using the console
|
|
1058
|
+
* When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect combinations of request parameters, you can use the console to generate the required request parameter combinations. Perform the following steps:
|
|
1096
1059
|
* 1. Log on to the [Container Service for Kubernetes (ACK) console](https://csnew.console.aliyun.com) and choose **Clusters** in the left-side navigation pane.
|
|
1097
1060
|
* 1. On the **Clusters** page, click **Cluster Template**.
|
|
1098
1061
|
* 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
|
|
1099
|
-
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter
|
|
1100
|
-
* >Notice: Starting from July 04, 2026, some request parameters will no longer take effect. For details about the changes and
|
|
1062
|
+
* 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required for creating the cluster. You can copy and use them.
|
|
1063
|
+
* >Notice: Starting from July 04, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameter descriptions, see [Notice on changes to OpenAPI request and response parameters for ACK cluster management and OpenAPI offline](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
1101
1064
|
*
|
|
1102
1065
|
* @param request - CreateClusterRequest
|
|
1103
1066
|
* @returns CreateClusterResponse
|
|
@@ -1344,7 +1307,7 @@ class Client extends openapi_core_1.default {
|
|
|
1344
1307
|
return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
|
|
1345
1308
|
}
|
|
1346
1309
|
/**
|
|
1347
|
-
*
|
|
1310
|
+
* Installs node components.
|
|
1348
1311
|
*
|
|
1349
1312
|
* @param request - CreateNodePoolComponentInstancesRequest
|
|
1350
1313
|
* @param headers - map
|
|
@@ -1381,7 +1344,7 @@ class Client extends openapi_core_1.default {
|
|
|
1381
1344
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateNodePoolComponentInstancesResponse({}));
|
|
1382
1345
|
}
|
|
1383
1346
|
/**
|
|
1384
|
-
*
|
|
1347
|
+
* Installs node components.
|
|
1385
1348
|
*
|
|
1386
1349
|
* @param request - CreateNodePoolComponentInstancesRequest
|
|
1387
1350
|
* @returns CreateNodePoolComponentInstancesResponse
|
|
@@ -1392,7 +1355,7 @@ class Client extends openapi_core_1.default {
|
|
|
1392
1355
|
return await this.createNodePoolComponentInstancesWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
1393
1356
|
}
|
|
1394
1357
|
/**
|
|
1395
|
-
* 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
|
|
1358
|
+
* 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.
|
|
1396
1359
|
*
|
|
1397
1360
|
* @param request - CreateTemplateRequest
|
|
1398
1361
|
* @param headers - map
|
|
@@ -1435,7 +1398,7 @@ class Client extends openapi_core_1.default {
|
|
|
1435
1398
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTemplateResponse({}));
|
|
1436
1399
|
}
|
|
1437
1400
|
/**
|
|
1438
|
-
* 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
|
|
1401
|
+
* 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.
|
|
1439
1402
|
*
|
|
1440
1403
|
* @param request - CreateTemplateRequest
|
|
1441
1404
|
* @returns CreateTemplateResponse
|
|
@@ -1449,7 +1412,7 @@ class Client extends openapi_core_1.default {
|
|
|
1449
1412
|
* Configures a trigger for a cluster application. The trigger redeploys pods when specified conditions are met.
|
|
1450
1413
|
*
|
|
1451
1414
|
* @remarks
|
|
1452
|
-
* > Creating a trigger only
|
|
1415
|
+
* > Creating a trigger supports only pod redeployment.
|
|
1453
1416
|
*
|
|
1454
1417
|
* @param request - CreateTriggerRequest
|
|
1455
1418
|
* @param headers - map
|
|
@@ -1492,7 +1455,7 @@ class Client extends openapi_core_1.default {
|
|
|
1492
1455
|
* Configures a trigger for a cluster application. The trigger redeploys pods when specified conditions are met.
|
|
1493
1456
|
*
|
|
1494
1457
|
* @remarks
|
|
1495
|
-
* > Creating a trigger only
|
|
1458
|
+
* > Creating a trigger supports only pod redeployment.
|
|
1496
1459
|
*
|
|
1497
1460
|
* @param request - CreateTriggerRequest
|
|
1498
1461
|
* @returns CreateTriggerResponse
|
|
@@ -1503,7 +1466,7 @@ class Client extends openapi_core_1.default {
|
|
|
1503
1466
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
1504
1467
|
}
|
|
1505
1468
|
/**
|
|
1506
|
-
* Deletes alert contacts
|
|
1469
|
+
* Deletes ACK alert contacts.
|
|
1507
1470
|
*
|
|
1508
1471
|
* @param tmpReq - DeleteAlertContactRequest
|
|
1509
1472
|
* @param headers - map
|
|
@@ -1539,7 +1502,7 @@ class Client extends openapi_core_1.default {
|
|
|
1539
1502
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAlertContactResponse({}));
|
|
1540
1503
|
}
|
|
1541
1504
|
/**
|
|
1542
|
-
* Deletes alert contacts
|
|
1505
|
+
* Deletes ACK alert contacts.
|
|
1543
1506
|
*
|
|
1544
1507
|
* @param request - DeleteAlertContactRequest
|
|
1545
1508
|
* @returns DeleteAlertContactResponse
|
|
@@ -1550,7 +1513,7 @@ class Client extends openapi_core_1.default {
|
|
|
1550
1513
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
1551
1514
|
}
|
|
1552
1515
|
/**
|
|
1553
|
-
*
|
|
1516
|
+
* Deletes alert contact groups in ACK.
|
|
1554
1517
|
*
|
|
1555
1518
|
* @param tmpReq - DeleteAlertContactGroupRequest
|
|
1556
1519
|
* @param headers - map
|
|
@@ -1586,7 +1549,7 @@ class Client extends openapi_core_1.default {
|
|
|
1586
1549
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAlertContactGroupResponse({}));
|
|
1587
1550
|
}
|
|
1588
1551
|
/**
|
|
1589
|
-
*
|
|
1552
|
+
* Deletes alert contact groups in ACK.
|
|
1590
1553
|
*
|
|
1591
1554
|
* @param request - DeleteAlertContactGroupRequest
|
|
1592
1555
|
* @returns DeleteAlertContactGroupResponse
|
|
@@ -1597,10 +1560,10 @@ class Client extends openapi_core_1.default {
|
|
|
1597
1560
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
1598
1561
|
}
|
|
1599
1562
|
/**
|
|
1600
|
-
* Deletes
|
|
1563
|
+
* Deletes a self-healing rule.
|
|
1601
1564
|
*
|
|
1602
1565
|
* @remarks
|
|
1603
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
1566
|
+
* >Notice: This API is not yet available. Stay tuned.</notice>
|
|
1604
1567
|
*
|
|
1605
1568
|
* @param headers - map
|
|
1606
1569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1624,10 +1587,10 @@ class Client extends openapi_core_1.default {
|
|
|
1624
1587
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAutoRepairPolicyResponse({}));
|
|
1625
1588
|
}
|
|
1626
1589
|
/**
|
|
1627
|
-
* Deletes
|
|
1590
|
+
* Deletes a self-healing rule.
|
|
1628
1591
|
*
|
|
1629
1592
|
* @remarks
|
|
1630
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
1593
|
+
* >Notice: This API is not yet available. Stay tuned.</notice>
|
|
1631
1594
|
* @returns DeleteAutoRepairPolicyResponse
|
|
1632
1595
|
*/
|
|
1633
1596
|
async deleteAutoRepairPolicy(clusterId, policyId) {
|
|
@@ -1636,15 +1599,15 @@ class Client extends openapi_core_1.default {
|
|
|
1636
1599
|
return await this.deleteAutoRepairPolicyWithOptions(clusterId, policyId, headers, runtime);
|
|
1637
1600
|
}
|
|
1638
1601
|
/**
|
|
1639
|
-
*
|
|
1602
|
+
* Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before deleting a cluster, manually clean up workloads (Deployments, StatefulSets, Jobs, and CronJobs). Otherwise, the cluster deletion may fail.
|
|
1640
1603
|
*
|
|
1641
1604
|
* @remarks
|
|
1642
1605
|
* Risk notice:
|
|
1643
|
-
* - 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
|
|
1644
|
-
* - Subscription APIServer SLB resources cannot be subject to automatic release. To avoid unnecessary billing, perform manual release
|
|
1645
|
-
* - VPCs, vSwitches, security groups, and RAM roles that are used by other resources cannot be deleted and are retained by default. Perform manual release
|
|
1646
|
-
* - Elastic Container
|
|
1647
|
-
* - 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
|
|
1606
|
+
* - Subscription ECS instances, Lingjun AI Computing Service compute nodes, and other subscription resources in the cluster cannot be subject to automatic release. To avoid unnecessary billing, perform manual release. For more information, see Cluster deletion and node release rules.
|
|
1607
|
+
* - Subscription APIServer SLB resources cannot be subject to automatic release. To avoid unnecessary billing, perform manual release.
|
|
1608
|
+
* - VPCs, vSwitches, security groups, and RAM roles that are used by other resources cannot be deleted and are retained by default. Perform manual release.
|
|
1609
|
+
* - Elastic Container Instance (ECI) instances created through virtual nodes are subject to automatic release.
|
|
1610
|
+
* - 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 dynamically provisioned storage volumes.
|
|
1648
1611
|
*
|
|
1649
1612
|
* @param tmpReq - DeleteClusterRequest
|
|
1650
1613
|
* @param headers - map
|
|
@@ -1692,15 +1655,15 @@ class Client extends openapi_core_1.default {
|
|
|
1692
1655
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterResponse({}));
|
|
1693
1656
|
}
|
|
1694
1657
|
/**
|
|
1695
|
-
*
|
|
1658
|
+
* Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before deleting a cluster, manually clean up workloads (Deployments, StatefulSets, Jobs, and CronJobs). Otherwise, the cluster deletion may fail.
|
|
1696
1659
|
*
|
|
1697
1660
|
* @remarks
|
|
1698
1661
|
* Risk notice:
|
|
1699
|
-
* - 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
|
|
1700
|
-
* - Subscription APIServer SLB resources cannot be subject to automatic release. To avoid unnecessary billing, perform manual release
|
|
1701
|
-
* - VPCs, vSwitches, security groups, and RAM roles that are used by other resources cannot be deleted and are retained by default. Perform manual release
|
|
1702
|
-
* - Elastic Container
|
|
1703
|
-
* - 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
|
|
1662
|
+
* - Subscription ECS instances, Lingjun AI Computing Service compute nodes, and other subscription resources in the cluster cannot be subject to automatic release. To avoid unnecessary billing, perform manual release. For more information, see Cluster deletion and node release rules.
|
|
1663
|
+
* - Subscription APIServer SLB resources cannot be subject to automatic release. To avoid unnecessary billing, perform manual release.
|
|
1664
|
+
* - VPCs, vSwitches, security groups, and RAM roles that are used by other resources cannot be deleted and are retained by default. Perform manual release.
|
|
1665
|
+
* - Elastic Container Instance (ECI) instances created through virtual nodes are subject to automatic release.
|
|
1666
|
+
* - 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 dynamically provisioned storage volumes.
|
|
1704
1667
|
*
|
|
1705
1668
|
* @param request - DeleteClusterRequest
|
|
1706
1669
|
* @returns DeleteClusterResponse
|
|
@@ -1786,15 +1749,15 @@ class Client extends openapi_core_1.default {
|
|
|
1786
1749
|
return await this.deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
1787
1750
|
}
|
|
1788
1751
|
/**
|
|
1789
|
-
* 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
|
|
1752
|
+
* Removes nodes from a cluster. 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 release the associated ECS instances and whether to automatically drain the nodes.
|
|
1790
1753
|
*
|
|
1791
1754
|
* @remarks
|
|
1792
|
-
* - When removing nodes,
|
|
1793
|
-
* - Do not directly release nodes
|
|
1794
|
-
* - If the node pool has a desired number of nodes configured, the node pool
|
|
1795
|
-
* - Removing nodes involves Pod migration, which may affect your
|
|
1796
|
-
* - When removing nodes, ACK
|
|
1797
|
-
* - Check the node affinity rules and scheduling policies of the Pods on the nodes to be removed to
|
|
1755
|
+
* - When removing nodes, perform standardized operations through this operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running `kubectl delete node`.
|
|
1756
|
+
* - Do not directly release nodes or remove instances in the ECS or ESS console (or through related API operations), or allow nodes to be passively released when a subscription instance expires. In these cases, the nodes are directly stopped and automatically removed from the Container Service console.
|
|
1757
|
+
* - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
|
|
1758
|
+
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
|
|
1759
|
+
* - When removing nodes, ACK executes a drain operation. Make sure that the remaining nodes in the cluster have sufficient resources to avoid application pods that cannot be scheduling.
|
|
1760
|
+
* - Check the node affinity rules and scheduling policies of the Pods on the nodes to be removed to make sure that the Pods can be scheduled to other nodes after the nodes are removed.
|
|
1798
1761
|
*
|
|
1799
1762
|
* @param request - DeleteClusterNodesRequest
|
|
1800
1763
|
* @param headers - map
|
|
@@ -1831,15 +1794,15 @@ class Client extends openapi_core_1.default {
|
|
|
1831
1794
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterNodesResponse({}));
|
|
1832
1795
|
}
|
|
1833
1796
|
/**
|
|
1834
|
-
* 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
|
|
1797
|
+
* Removes nodes from a cluster. 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 release the associated ECS instances and whether to automatically drain the nodes.
|
|
1835
1798
|
*
|
|
1836
1799
|
* @remarks
|
|
1837
|
-
* - When removing nodes,
|
|
1838
|
-
* - Do not directly release nodes
|
|
1839
|
-
* - If the node pool has a desired number of nodes configured, the node pool
|
|
1840
|
-
* - Removing nodes involves Pod migration, which may affect your
|
|
1841
|
-
* - When removing nodes, ACK
|
|
1842
|
-
* - Check the node affinity rules and scheduling policies of the Pods on the nodes to be removed to
|
|
1800
|
+
* - When removing nodes, perform standardized operations through this operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running `kubectl delete node`.
|
|
1801
|
+
* - Do not directly release nodes or remove instances in the ECS or ESS console (or through related API operations), or allow nodes to be passively released when a subscription instance expires. In these cases, the nodes are directly stopped and automatically removed from the Container Service console.
|
|
1802
|
+
* - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
|
|
1803
|
+
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
|
|
1804
|
+
* - When removing nodes, ACK executes a drain operation. Make sure that the remaining nodes in the cluster have sufficient resources to avoid application pods that cannot be scheduling.
|
|
1805
|
+
* - Check the node affinity rules and scheduling policies of the Pods on the nodes to be removed to make sure that the Pods can be scheduled to other nodes after the nodes are removed.
|
|
1843
1806
|
*
|
|
1844
1807
|
* @param request - DeleteClusterNodesRequest
|
|
1845
1808
|
* @returns DeleteClusterNodesResponse
|
|
@@ -1850,7 +1813,7 @@ class Client extends openapi_core_1.default {
|
|
|
1850
1813
|
return await this.deleteClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
1851
1814
|
}
|
|
1852
1815
|
/**
|
|
1853
|
-
* Deletes an application trigger
|
|
1816
|
+
* Deletes an application trigger based on the application trigger ID.
|
|
1854
1817
|
*
|
|
1855
1818
|
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
1856
1819
|
*
|
|
@@ -1876,7 +1839,7 @@ class Client extends openapi_core_1.default {
|
|
|
1876
1839
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKubernetesTriggerResponse({}));
|
|
1877
1840
|
}
|
|
1878
1841
|
/**
|
|
1879
|
-
* Deletes an application trigger
|
|
1842
|
+
* Deletes an application trigger based on the application trigger ID.
|
|
1880
1843
|
*
|
|
1881
1844
|
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
1882
1845
|
* @returns DeleteKubernetesTriggerResponse
|
|
@@ -1888,7 +1851,7 @@ class Client extends openapi_core_1.default {
|
|
|
1888
1851
|
return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
|
|
1889
1852
|
}
|
|
1890
1853
|
/**
|
|
1891
|
-
*
|
|
1854
|
+
* Uninstalls a node component.
|
|
1892
1855
|
*
|
|
1893
1856
|
* @param tmpReq - DeleteNodePoolComponentInstanceRequest
|
|
1894
1857
|
* @param headers - map
|
|
@@ -1936,7 +1899,7 @@ class Client extends openapi_core_1.default {
|
|
|
1936
1899
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteNodePoolComponentInstanceResponse({}));
|
|
1937
1900
|
}
|
|
1938
1901
|
/**
|
|
1939
|
-
*
|
|
1902
|
+
* Uninstalls a node component.
|
|
1940
1903
|
*
|
|
1941
1904
|
* @param request - DeleteNodePoolComponentInstanceRequest
|
|
1942
1905
|
* @returns DeleteNodePoolComponentInstanceResponse
|
|
@@ -1989,7 +1952,7 @@ class Client extends openapi_core_1.default {
|
|
|
1989
1952
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
1990
1953
|
}
|
|
1991
1954
|
/**
|
|
1992
|
-
* Deletes an orchestration template when
|
|
1955
|
+
* Deletes an orchestration template when it is no longer needed.
|
|
1993
1956
|
*
|
|
1994
1957
|
* @param headers - map
|
|
1995
1958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2013,7 +1976,7 @@ class Client extends openapi_core_1.default {
|
|
|
2013
1976
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTemplateResponse({}));
|
|
2014
1977
|
}
|
|
2015
1978
|
/**
|
|
2016
|
-
* Deletes an orchestration template when
|
|
1979
|
+
* Deletes an orchestration template when it is no longer needed.
|
|
2017
1980
|
* @returns DeleteTemplateResponse
|
|
2018
1981
|
*/
|
|
2019
1982
|
async deleteTemplate(TemplateId) {
|
|
@@ -2055,7 +2018,7 @@ class Client extends openapi_core_1.default {
|
|
|
2055
2018
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
2056
2019
|
}
|
|
2057
2020
|
/**
|
|
2058
|
-
* Deploys a policy instance in a specified namespace of a
|
|
2021
|
+
* Deploys a policy instance in a specified namespace of a cluster. You can select a security policy type in an ACK cluster, configure the governance action (alert or block) of the policy instance, specify the namespace scope, and then create and deploy a policy instance.
|
|
2059
2022
|
*
|
|
2060
2023
|
* @param request - DeployPolicyInstanceRequest
|
|
2061
2024
|
* @param headers - map
|
|
@@ -2092,7 +2055,7 @@ class Client extends openapi_core_1.default {
|
|
|
2092
2055
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeployPolicyInstanceResponse({}));
|
|
2093
2056
|
}
|
|
2094
2057
|
/**
|
|
2095
|
-
* Deploys a policy instance in a specified namespace of a
|
|
2058
|
+
* Deploys a policy instance in a specified namespace of a cluster. You can select a security policy type in an ACK cluster, configure the governance action (alert or block) of the policy instance, specify the namespace scope, and then create and deploy a policy instance.
|
|
2096
2059
|
*
|
|
2097
2060
|
* @param request - DeployPolicyInstanceRequest
|
|
2098
2061
|
* @returns DeployPolicyInstanceResponse
|
|
@@ -2103,7 +2066,7 @@ class Client extends openapi_core_1.default {
|
|
|
2103
2066
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
2104
2067
|
}
|
|
2105
2068
|
/**
|
|
2106
|
-
*
|
|
2069
|
+
* Queries 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, the component category, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
|
|
2107
2070
|
*
|
|
2108
2071
|
* @param request - DescribeAddonRequest
|
|
2109
2072
|
* @param headers - map
|
|
@@ -2152,7 +2115,7 @@ class Client extends openapi_core_1.default {
|
|
|
2152
2115
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAddonResponse({}));
|
|
2153
2116
|
}
|
|
2154
2117
|
/**
|
|
2155
|
-
*
|
|
2118
|
+
* Queries 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, the component category, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
|
|
2156
2119
|
*
|
|
2157
2120
|
* @param request - DescribeAddonRequest
|
|
2158
2121
|
* @returns DescribeAddonResponse
|
|
@@ -2222,7 +2185,7 @@ class Client extends openapi_core_1.default {
|
|
|
2222
2185
|
return await this.describeAddonsWithOptions(request, headers, runtime);
|
|
2223
2186
|
}
|
|
2224
2187
|
/**
|
|
2225
|
-
* Queries
|
|
2188
|
+
* Queries self-healing rules.
|
|
2226
2189
|
*
|
|
2227
2190
|
* @remarks
|
|
2228
2191
|
* >Notice: This API is not yet available. Stay tuned.
|
|
@@ -2249,7 +2212,7 @@ class Client extends openapi_core_1.default {
|
|
|
2249
2212
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAutoRepairPolicyResponse({}));
|
|
2250
2213
|
}
|
|
2251
2214
|
/**
|
|
2252
|
-
* Queries
|
|
2215
|
+
* Queries self-healing rules.
|
|
2253
2216
|
*
|
|
2254
2217
|
* @remarks
|
|
2255
2218
|
* >Notice: This API is not yet available. Stay tuned.
|
|
@@ -2261,7 +2224,7 @@ class Client extends openapi_core_1.default {
|
|
|
2261
2224
|
return await this.describeAutoRepairPolicyWithOptions(clusterId, policyId, headers, runtime);
|
|
2262
2225
|
}
|
|
2263
2226
|
/**
|
|
2264
|
-
*
|
|
2227
|
+
* Queries information about an installed cluster component, such as its version, status, and configuration.
|
|
2265
2228
|
*
|
|
2266
2229
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
2267
2230
|
*
|
|
@@ -2287,7 +2250,7 @@ class Client extends openapi_core_1.default {
|
|
|
2287
2250
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonInstanceResponse({}));
|
|
2288
2251
|
}
|
|
2289
2252
|
/**
|
|
2290
|
-
*
|
|
2253
|
+
* Queries information about an installed cluster component, such as its version, status, and configuration.
|
|
2291
2254
|
*
|
|
2292
2255
|
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
2293
2256
|
* @returns DescribeClusterAddonInstanceResponse
|
|
@@ -2299,7 +2262,7 @@ class Client extends openapi_core_1.default {
|
|
|
2299
2262
|
return await this.describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime);
|
|
2300
2263
|
}
|
|
2301
2264
|
/**
|
|
2302
|
-
* Queries the version information of a specified component
|
|
2265
|
+
* Queries the version information of a specified component available for a specific cluster, including the component version and configurable parameters.
|
|
2303
2266
|
*
|
|
2304
2267
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
2305
2268
|
*
|
|
@@ -2332,7 +2295,7 @@ class Client extends openapi_core_1.default {
|
|
|
2332
2295
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonMetadataResponse({}));
|
|
2333
2296
|
}
|
|
2334
2297
|
/**
|
|
2335
|
-
* Queries the version information of a specified component
|
|
2298
|
+
* Queries the version information of a specified component available for a specific cluster, including the component version and configurable parameters.
|
|
2336
2299
|
*
|
|
2337
2300
|
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
2338
2301
|
*
|
|
@@ -2346,7 +2309,7 @@ class Client extends openapi_core_1.default {
|
|
|
2346
2309
|
return await this.describeClusterAddonMetadataWithOptions(clusterId, componentId, request, headers, runtime);
|
|
2347
2310
|
}
|
|
2348
2311
|
/**
|
|
2349
|
-
* Queries the upgrade status of
|
|
2312
|
+
* Queries the upgrade status of cluster add-ons.
|
|
2350
2313
|
*
|
|
2351
2314
|
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
2352
2315
|
*
|
|
@@ -2372,7 +2335,7 @@ class Client extends openapi_core_1.default {
|
|
|
2372
2335
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonUpgradeStatusResponse({}));
|
|
2373
2336
|
}
|
|
2374
2337
|
/**
|
|
2375
|
-
* Queries the upgrade status of
|
|
2338
|
+
* Queries the upgrade status of cluster add-ons.
|
|
2376
2339
|
*
|
|
2377
2340
|
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
2378
2341
|
* @returns DescribeClusterAddonUpgradeStatusResponse
|
|
@@ -2384,7 +2347,7 @@ class Client extends openapi_core_1.default {
|
|
|
2384
2347
|
return await this.describeClusterAddonUpgradeStatusWithOptions(ClusterId, ComponentId, headers, runtime);
|
|
2385
2348
|
}
|
|
2386
2349
|
/**
|
|
2387
|
-
* Queries the upgrade status of a component by
|
|
2350
|
+
* Queries the upgrade status of a component by name.
|
|
2388
2351
|
*
|
|
2389
2352
|
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
2390
2353
|
*
|
|
@@ -2422,7 +2385,7 @@ class Client extends openapi_core_1.default {
|
|
|
2422
2385
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
2423
2386
|
}
|
|
2424
2387
|
/**
|
|
2425
|
-
* Queries the upgrade status of a component by
|
|
2388
|
+
* Queries the upgrade status of a component by name.
|
|
2426
2389
|
*
|
|
2427
2390
|
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
2428
2391
|
*
|
|
@@ -2474,7 +2437,7 @@ class Client extends openapi_core_1.default {
|
|
|
2474
2437
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
2475
2438
|
}
|
|
2476
2439
|
/**
|
|
2477
|
-
* 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
|
|
2440
|
+
* Retrieves the script for adding existing nodes to a cluster node pool. 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 removal, ACK supports manually adding existing nodes to a node pool. You can call the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
|
|
2478
2441
|
*
|
|
2479
2442
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
2480
2443
|
* @param headers - map
|
|
@@ -2526,7 +2489,7 @@ class Client extends openapi_core_1.default {
|
|
|
2526
2489
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterAttachScriptsResponse({}));
|
|
2527
2490
|
}
|
|
2528
2491
|
/**
|
|
2529
|
-
* 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
|
|
2492
|
+
* Retrieves the script for adding existing nodes to a cluster node pool. 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 removal, ACK supports manually adding existing nodes to a node pool. You can call the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
|
|
2530
2493
|
*
|
|
2531
2494
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
2532
2495
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -2570,7 +2533,7 @@ class Client extends openapi_core_1.default {
|
|
|
2570
2533
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
2571
2534
|
}
|
|
2572
2535
|
/**
|
|
2573
|
-
* Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out,
|
|
2536
|
+
* Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out, add-on installation, and cluster upgrade. This operation retrieves a list of events that occurred in the specified cluster and provides event details, such as the event level, event status, and event time.
|
|
2574
2537
|
*
|
|
2575
2538
|
* @param request - DescribeClusterEventsRequest
|
|
2576
2539
|
* @param headers - map
|
|
@@ -2613,7 +2576,7 @@ class Client extends openapi_core_1.default {
|
|
|
2613
2576
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterEventsResponse({}));
|
|
2614
2577
|
}
|
|
2615
2578
|
/**
|
|
2616
|
-
* Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out,
|
|
2579
|
+
* Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out, add-on installation, and cluster upgrade. This operation retrieves a list of events that occurred in the specified cluster and provides event details, such as the event level, event status, and event time.
|
|
2617
2580
|
*
|
|
2618
2581
|
* @param request - DescribeClusterEventsRequest
|
|
2619
2582
|
* @returns DescribeClusterEventsResponse
|
|
@@ -2694,10 +2657,10 @@ class Client extends openapi_core_1.default {
|
|
|
2694
2657
|
*
|
|
2695
2658
|
* @remarks
|
|
2696
2659
|
* - When removing nodes, perform standardized operations through this API or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by using `kubectl delete node`.
|
|
2697
|
-
* - 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 subscription instance expires. In these cases,
|
|
2660
|
+
* - 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 subscription instance expires. In these cases, the node is directly stopped and automatically removed from the Container Service console.
|
|
2698
2661
|
* - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
|
|
2699
|
-
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up
|
|
2700
|
-
* - When removing nodes, ACK executes a drain operation.
|
|
2662
|
+
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
|
|
2663
|
+
* - When removing nodes, ACK executes a drain operation. Make sure that other nodes in the cluster have sufficient resources to avoid application pods from being unable to be scheduled for scheduling.
|
|
2701
2664
|
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not unschedulable on other nodes after the node is removed.
|
|
2702
2665
|
*
|
|
2703
2666
|
* @param request - DescribeClusterNodePoolsRequest
|
|
@@ -2733,10 +2696,10 @@ class Client extends openapi_core_1.default {
|
|
|
2733
2696
|
*
|
|
2734
2697
|
* @remarks
|
|
2735
2698
|
* - When removing nodes, perform standardized operations through this API or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by using `kubectl delete node`.
|
|
2736
|
-
* - 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 subscription instance expires. In these cases,
|
|
2699
|
+
* - 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 subscription instance expires. In these cases, the node is directly stopped and automatically removed from the Container Service console.
|
|
2737
2700
|
* - If the node pool has a desired number of nodes configured, the node pool automatically scales out other instances based on the corresponding configuration to maintain the node count at the desired number.
|
|
2738
|
-
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up
|
|
2739
|
-
* - When removing nodes, ACK executes a drain operation.
|
|
2701
|
+
* - Removing nodes involves Pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
|
|
2702
|
+
* - When removing nodes, ACK executes a drain operation. Make sure that other nodes in the cluster have sufficient resources to avoid application pods from being unable to be scheduled for scheduling.
|
|
2740
2703
|
* - Check the node affinity rules and scheduling policies of Pods on the nodes to be removed to ensure that Pods are not unschedulable on other nodes after the node is removed.
|
|
2741
2704
|
*
|
|
2742
2705
|
* @param request - DescribeClusterNodePoolsRequest
|
|
@@ -2748,7 +2711,7 @@ class Client extends openapi_core_1.default {
|
|
|
2748
2711
|
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
2749
2712
|
}
|
|
2750
2713
|
/**
|
|
2751
|
-
* Queries the list of nodes that meet the specified conditions
|
|
2714
|
+
* Queries the list of nodes that meet the specified conditions.
|
|
2752
2715
|
*
|
|
2753
2716
|
* @param request - DescribeClusterNodesRequest
|
|
2754
2717
|
* @param headers - map
|
|
@@ -2800,7 +2763,7 @@ class Client extends openapi_core_1.default {
|
|
|
2800
2763
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodesResponse({}));
|
|
2801
2764
|
}
|
|
2802
2765
|
/**
|
|
2803
|
-
* Queries the list of nodes that meet the specified conditions
|
|
2766
|
+
* Queries the list of nodes that meet the specified conditions.
|
|
2804
2767
|
*
|
|
2805
2768
|
* @param request - DescribeClusterNodesRequest
|
|
2806
2769
|
* @returns DescribeClusterNodesResponse
|
|
@@ -2811,7 +2774,7 @@ class Client extends openapi_core_1.default {
|
|
|
2811
2774
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
2812
2775
|
}
|
|
2813
2776
|
/**
|
|
2814
|
-
* When you use Container Service for Kubernetes (ACK), you also use resources from other associated Alibaba Cloud services.
|
|
2777
|
+
* When you use Container Service for Kubernetes (ACK), you also use resources from other associated Alibaba Cloud services. Calls 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.
|
|
2815
2778
|
*
|
|
2816
2779
|
* @param request - DescribeClusterResourcesRequest
|
|
2817
2780
|
* @param headers - map
|
|
@@ -2842,7 +2805,7 @@ class Client extends openapi_core_1.default {
|
|
|
2842
2805
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterResourcesResponse({}));
|
|
2843
2806
|
}
|
|
2844
2807
|
/**
|
|
2845
|
-
* When you use Container Service for Kubernetes (ACK), you also use resources from other associated Alibaba Cloud services.
|
|
2808
|
+
* When you use Container Service for Kubernetes (ACK), you also use resources from other associated Alibaba Cloud services. Calls 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.
|
|
2846
2809
|
*
|
|
2847
2810
|
* @param request - DescribeClusterResourcesRequest
|
|
2848
2811
|
* @returns DescribeClusterResourcesResponse
|
|
@@ -2853,7 +2816,7 @@ class Client extends openapi_core_1.default {
|
|
|
2853
2816
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
2854
2817
|
}
|
|
2855
2818
|
/**
|
|
2856
|
-
* Queries the task list of a cluster
|
|
2819
|
+
* Queries the task list of a cluster.
|
|
2857
2820
|
*
|
|
2858
2821
|
* @param request - DescribeClusterTasksRequest
|
|
2859
2822
|
* @param headers - map
|
|
@@ -2893,7 +2856,7 @@ class Client extends openapi_core_1.default {
|
|
|
2893
2856
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterTasksResponse({}));
|
|
2894
2857
|
}
|
|
2895
2858
|
/**
|
|
2896
|
-
* Queries the task list of a cluster
|
|
2859
|
+
* Queries the task list of a cluster.
|
|
2897
2860
|
*
|
|
2898
2861
|
* @param request - DescribeClusterTasksRequest
|
|
2899
2862
|
* @returns DescribeClusterTasksResponse
|
|
@@ -3007,7 +2970,7 @@ class Client extends openapi_core_1.default {
|
|
|
3007
2970
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
3008
2971
|
}
|
|
3009
2972
|
/**
|
|
3010
|
-
*
|
|
2973
|
+
* Queries 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.
|
|
3011
2974
|
*
|
|
3012
2975
|
* @param headers - map
|
|
3013
2976
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3031,7 +2994,7 @@ class Client extends openapi_core_1.default {
|
|
|
3031
2994
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterVulsResponse({}));
|
|
3032
2995
|
}
|
|
3033
2996
|
/**
|
|
3034
|
-
*
|
|
2997
|
+
* Queries 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.
|
|
3035
2998
|
* @returns DescribeClusterVulsResponse
|
|
3036
2999
|
*/
|
|
3037
3000
|
async describeClusterVuls(clusterId) {
|
|
@@ -3040,7 +3003,7 @@ class Client extends openapi_core_1.default {
|
|
|
3040
3003
|
return await this.describeClusterVulsWithOptions(clusterId, headers, runtime);
|
|
3041
3004
|
}
|
|
3042
3005
|
/**
|
|
3043
|
-
*
|
|
3006
|
+
* Queries all clusters created in Container Service, including Swarm and Kubernetes clusters.
|
|
3044
3007
|
*
|
|
3045
3008
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
3046
3009
|
*
|
|
@@ -3079,7 +3042,7 @@ class Client extends openapi_core_1.default {
|
|
|
3079
3042
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClustersResponse({}));
|
|
3080
3043
|
}
|
|
3081
3044
|
/**
|
|
3082
|
-
*
|
|
3045
|
+
* Queries all clusters created in Container Service, including Swarm and Kubernetes clusters.
|
|
3083
3046
|
*
|
|
3084
3047
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
3085
3048
|
*
|
|
@@ -3153,7 +3116,7 @@ class Client extends openapi_core_1.default {
|
|
|
3153
3116
|
return await this.describeClustersForRegionWithOptions(regionId, request, headers, runtime);
|
|
3154
3117
|
}
|
|
3155
3118
|
/**
|
|
3156
|
-
*
|
|
3119
|
+
* Queries a list of ACK clusters that match specified conditions, such as cluster type and cluster specifications, under the current account.
|
|
3157
3120
|
*
|
|
3158
3121
|
* @param request - DescribeClustersV1Request
|
|
3159
3122
|
* @param headers - map
|
|
@@ -3205,7 +3168,7 @@ class Client extends openapi_core_1.default {
|
|
|
3205
3168
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClustersV1Response({}));
|
|
3206
3169
|
}
|
|
3207
3170
|
/**
|
|
3208
|
-
*
|
|
3171
|
+
* Queries a list of ACK clusters that match specified conditions, such as cluster type and cluster specifications, under the current account.
|
|
3209
3172
|
*
|
|
3210
3173
|
* @param request - DescribeClustersV1Request
|
|
3211
3174
|
* @returns DescribeClustersV1Response
|
|
@@ -3216,7 +3179,7 @@ class Client extends openapi_core_1.default {
|
|
|
3216
3179
|
return await this.describeClustersV1WithOptions(request, headers, runtime);
|
|
3217
3180
|
}
|
|
3218
3181
|
/**
|
|
3219
|
-
*
|
|
3182
|
+
* Queries the details of cluster operation events, such as cluster creation, cluster modification, node pool creation, node pool scale-out, add-on installation, and cluster upgrade. This operation allows you to query the details of specific events, including the event level, status, and occurrence time.
|
|
3220
3183
|
*
|
|
3221
3184
|
* @param request - DescribeEventsRequest
|
|
3222
3185
|
* @param headers - map
|
|
@@ -3262,7 +3225,7 @@ class Client extends openapi_core_1.default {
|
|
|
3262
3225
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeEventsResponse({}));
|
|
3263
3226
|
}
|
|
3264
3227
|
/**
|
|
3265
|
-
*
|
|
3228
|
+
* Queries the details of cluster operation events, such as cluster creation, cluster modification, node pool creation, node pool scale-out, add-on installation, and cluster upgrade. This operation allows you to query the details of specific events, including the event level, status, and occurrence time.
|
|
3266
3229
|
*
|
|
3267
3230
|
* @param request - DescribeEventsRequest
|
|
3268
3231
|
* @returns DescribeEventsResponse
|
|
@@ -3273,7 +3236,7 @@ class Client extends openapi_core_1.default {
|
|
|
3273
3236
|
return await this.describeEventsWithOptions(request, headers, runtime);
|
|
3274
3237
|
}
|
|
3275
3238
|
/**
|
|
3276
|
-
* Queries all events in a specified region.
|
|
3239
|
+
* Queries the list of all events in a specified region.
|
|
3277
3240
|
*
|
|
3278
3241
|
* @param request - DescribeEventsForRegionRequest
|
|
3279
3242
|
* @param headers - map
|
|
@@ -3316,7 +3279,7 @@ class Client extends openapi_core_1.default {
|
|
|
3316
3279
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeEventsForRegionResponse({}));
|
|
3317
3280
|
}
|
|
3318
3281
|
/**
|
|
3319
|
-
* Queries all events in a specified region.
|
|
3282
|
+
* Queries the list of all events in a specified region.
|
|
3320
3283
|
*
|
|
3321
3284
|
* @param request - DescribeEventsForRegionRequest
|
|
3322
3285
|
* @returns DescribeEventsForRegionResponse
|
|
@@ -3327,7 +3290,7 @@ class Client extends openapi_core_1.default {
|
|
|
3327
3290
|
return await this.describeEventsForRegionWithOptions(regionId, request, headers, runtime);
|
|
3328
3291
|
}
|
|
3329
3292
|
/**
|
|
3330
|
-
* Queries the agent configuration
|
|
3293
|
+
* Queries the agent configuration of a registered cluster based on the cluster ID.
|
|
3331
3294
|
*
|
|
3332
3295
|
* @remarks
|
|
3333
3296
|
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -3366,7 +3329,7 @@ class Client extends openapi_core_1.default {
|
|
|
3366
3329
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeExternalAgentResponse({}));
|
|
3367
3330
|
}
|
|
3368
3331
|
/**
|
|
3369
|
-
* Queries the agent configuration
|
|
3332
|
+
* Queries the agent configuration of a registered cluster based on the cluster ID.
|
|
3370
3333
|
*
|
|
3371
3334
|
* @remarks
|
|
3372
3335
|
* For more information about cluster registration, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -3383,7 +3346,7 @@ class Client extends openapi_core_1.default {
|
|
|
3383
3346
|
return await this.describeExternalAgentWithOptions(ClusterId, request, headers, runtime);
|
|
3384
3347
|
}
|
|
3385
3348
|
/**
|
|
3386
|
-
*
|
|
3349
|
+
* Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and supported runtimes.
|
|
3387
3350
|
*
|
|
3388
3351
|
* @param request - DescribeKubernetesVersionMetadataRequest
|
|
3389
3352
|
* @param headers - map
|
|
@@ -3432,7 +3395,7 @@ class Client extends openapi_core_1.default {
|
|
|
3432
3395
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKubernetesVersionMetadataResponse({}));
|
|
3433
3396
|
}
|
|
3434
3397
|
/**
|
|
3435
|
-
*
|
|
3398
|
+
* Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and supported runtimes.
|
|
3436
3399
|
*
|
|
3437
3400
|
* @param request - DescribeKubernetesVersionMetadataRequest
|
|
3438
3401
|
* @returns DescribeKubernetesVersionMetadataResponse
|
|
@@ -3443,7 +3406,7 @@ class Client extends openapi_core_1.default {
|
|
|
3443
3406
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
3444
3407
|
}
|
|
3445
3408
|
/**
|
|
3446
|
-
* 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.
|
|
3409
|
+
* 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. Scan node pool vulnerabilities regularly to improve cluster security.
|
|
3447
3410
|
*
|
|
3448
3411
|
* @param request - DescribeNodePoolVulsRequest
|
|
3449
3412
|
* @param headers - map
|
|
@@ -3474,7 +3437,7 @@ class Client extends openapi_core_1.default {
|
|
|
3474
3437
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNodePoolVulsResponse({}));
|
|
3475
3438
|
}
|
|
3476
3439
|
/**
|
|
3477
|
-
* 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.
|
|
3440
|
+
* 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. Scan node pool vulnerabilities regularly to improve cluster security.
|
|
3478
3441
|
*
|
|
3479
3442
|
* @param request - DescribeNodePoolVulsRequest
|
|
3480
3443
|
* @returns DescribeNodePoolVulsResponse
|
|
@@ -3485,7 +3448,7 @@ class Client extends openapi_core_1.default {
|
|
|
3485
3448
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
3486
3449
|
}
|
|
3487
3450
|
/**
|
|
3488
|
-
*
|
|
3451
|
+
* The container security policies for ACK clusters provide a rich set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, designed 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.
|
|
3489
3452
|
*
|
|
3490
3453
|
* @param headers - map
|
|
3491
3454
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3509,7 +3472,7 @@ class Client extends openapi_core_1.default {
|
|
|
3509
3472
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePoliciesResponse({}));
|
|
3510
3473
|
}
|
|
3511
3474
|
/**
|
|
3512
|
-
*
|
|
3475
|
+
* The container security policies for ACK clusters provide a rich set of built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, designed 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.
|
|
3513
3476
|
* @returns DescribePoliciesResponse
|
|
3514
3477
|
*/
|
|
3515
3478
|
async describePolicies() {
|
|
@@ -3518,7 +3481,7 @@ class Client extends openapi_core_1.default {
|
|
|
3518
3481
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
3519
3482
|
}
|
|
3520
3483
|
/**
|
|
3521
|
-
* 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
|
|
3484
|
+
* 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 running 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, rule governance action, and rule governance severity.
|
|
3522
3485
|
*
|
|
3523
3486
|
* @param headers - map
|
|
3524
3487
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3542,7 +3505,7 @@ class Client extends openapi_core_1.default {
|
|
|
3542
3505
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyDetailsResponse({}));
|
|
3543
3506
|
}
|
|
3544
3507
|
/**
|
|
3545
|
-
* 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
|
|
3508
|
+
* 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 running 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, rule governance action, and rule governance severity.
|
|
3546
3509
|
* @returns DescribePolicyDetailsResponse
|
|
3547
3510
|
*/
|
|
3548
3511
|
async describePolicyDetails(policyName) {
|
|
@@ -3551,7 +3514,7 @@ class Client extends openapi_core_1.default {
|
|
|
3551
3514
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
3552
3515
|
}
|
|
3553
3516
|
/**
|
|
3554
|
-
* ACK cluster
|
|
3517
|
+
* Queries the details of policy governance in a specified ACK cluster. Container security policies for ACK clusters provide a comprehensive built-in rule library that includes Compliance, Infra, K8s-general, and PSP to ensure the secure operation of containers in production environments. This operation retrieves details such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting statistics.
|
|
3555
3518
|
*
|
|
3556
3519
|
* @param headers - map
|
|
3557
3520
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3575,7 +3538,7 @@ class Client extends openapi_core_1.default {
|
|
|
3575
3538
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyGovernanceInClusterResponse({}));
|
|
3576
3539
|
}
|
|
3577
3540
|
/**
|
|
3578
|
-
* ACK cluster
|
|
3541
|
+
* Queries the details of policy governance in a specified ACK cluster. Container security policies for ACK clusters provide a comprehensive built-in rule library that includes Compliance, Infra, K8s-general, and PSP to ensure the secure operation of containers in production environments. This operation retrieves details such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting statistics.
|
|
3579
3542
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
3580
3543
|
*/
|
|
3581
3544
|
async describePolicyGovernanceInCluster(clusterId) {
|
|
@@ -3584,7 +3547,7 @@ class Client extends openapi_core_1.default {
|
|
|
3584
3547
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
3585
3548
|
}
|
|
3586
3549
|
/**
|
|
3587
|
-
* 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
|
|
3550
|
+
* 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 query the details of specified policy rule instances in a cluster, such as the policy description and governance level.
|
|
3588
3551
|
*
|
|
3589
3552
|
* @param request - DescribePolicyInstancesRequest
|
|
3590
3553
|
* @param headers - map
|
|
@@ -3618,7 +3581,7 @@ class Client extends openapi_core_1.default {
|
|
|
3618
3581
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyInstancesResponse({}));
|
|
3619
3582
|
}
|
|
3620
3583
|
/**
|
|
3621
|
-
* 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
|
|
3584
|
+
* 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 query the details of specified policy rule instances in a cluster, such as the policy description and governance level.
|
|
3622
3585
|
*
|
|
3623
3586
|
* @param request - DescribePolicyInstancesRequest
|
|
3624
3587
|
* @returns DescribePolicyInstancesResponse
|
|
@@ -3629,7 +3592,7 @@ class Client extends openapi_core_1.default {
|
|
|
3629
3592
|
return await this.describePolicyInstancesWithOptions(clusterId, request, headers, runtime);
|
|
3630
3593
|
}
|
|
3631
3594
|
/**
|
|
3632
|
-
* Queries the deployment status
|
|
3595
|
+
* Queries the instance deployment status 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.
|
|
3633
3596
|
*
|
|
3634
3597
|
* @param headers - map
|
|
3635
3598
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3653,7 +3616,7 @@ class Client extends openapi_core_1.default {
|
|
|
3653
3616
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyInstancesStatusResponse({}));
|
|
3654
3617
|
}
|
|
3655
3618
|
/**
|
|
3656
|
-
* Queries the deployment status
|
|
3619
|
+
* Queries the instance deployment status 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.
|
|
3657
3620
|
* @returns DescribePolicyInstancesStatusResponse
|
|
3658
3621
|
*/
|
|
3659
3622
|
async describePolicyInstancesStatus(clusterId) {
|
|
@@ -3710,7 +3673,7 @@ class Client extends openapi_core_1.default {
|
|
|
3710
3673
|
return await this.describeRegionsWithOptions(request, headers, runtime);
|
|
3711
3674
|
}
|
|
3712
3675
|
/**
|
|
3713
|
-
* Queries whether deletion protection is enabled for
|
|
3676
|
+
* Queries whether deletion protection is enabled for specified resources in a cluster. Supported resources include namespaces and services.
|
|
3714
3677
|
*
|
|
3715
3678
|
* @param request - DescribeResourcesDeleteProtectionRequest
|
|
3716
3679
|
* @param headers - map
|
|
@@ -3744,7 +3707,7 @@ class Client extends openapi_core_1.default {
|
|
|
3744
3707
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeResourcesDeleteProtectionResponse({}));
|
|
3745
3708
|
}
|
|
3746
3709
|
/**
|
|
3747
|
-
* Queries whether deletion protection is enabled for
|
|
3710
|
+
* Queries whether deletion protection is enabled for specified resources in a cluster. Supported resources include namespaces and services.
|
|
3748
3711
|
*
|
|
3749
3712
|
* @param request - DescribeResourcesDeleteProtectionRequest
|
|
3750
3713
|
* @returns DescribeResourcesDeleteProtectionResponse
|
|
@@ -3755,7 +3718,7 @@ class Client extends openapi_core_1.default {
|
|
|
3755
3718
|
return await this.describeResourcesDeleteProtectionWithOptions(ClusterId, ResourceType, request, headers, runtime);
|
|
3756
3719
|
}
|
|
3757
3720
|
/**
|
|
3758
|
-
* 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
|
|
3721
|
+
* 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 of any RAM user or role within the account.
|
|
3759
3722
|
*
|
|
3760
3723
|
* @remarks
|
|
3761
3724
|
* This operation can be called only by an Alibaba Cloud account.
|
|
@@ -3792,7 +3755,7 @@ class Client extends openapi_core_1.default {
|
|
|
3792
3755
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
3793
3756
|
}
|
|
3794
3757
|
/**
|
|
3795
|
-
* 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
|
|
3758
|
+
* 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 of any RAM user or role within the account.
|
|
3796
3759
|
*
|
|
3797
3760
|
* @remarks
|
|
3798
3761
|
* This operation can be called only by an Alibaba Cloud account.
|
|
@@ -3881,7 +3844,7 @@ class Client extends openapi_core_1.default {
|
|
|
3881
3844
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
3882
3845
|
}
|
|
3883
3846
|
/**
|
|
3884
|
-
* An orchestration template defines and describes a
|
|
3847
|
+
* An orchestration template defines and describes a group of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. Calls the DescribeTemplates operation to retrieve a list of created orchestration templates and query their details, including access permissions, YAML content, and tags.
|
|
3885
3848
|
*
|
|
3886
3849
|
* @param request - DescribeTemplatesRequest
|
|
3887
3850
|
* @param headers - map
|
|
@@ -3918,7 +3881,7 @@ class Client extends openapi_core_1.default {
|
|
|
3918
3881
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTemplatesResponse({}));
|
|
3919
3882
|
}
|
|
3920
3883
|
/**
|
|
3921
|
-
* An orchestration template defines and describes a
|
|
3884
|
+
* An orchestration template defines and describes a group of Kubernetes cluster resources in a declarative manner, specifying how applications should run or be configured. Calls the DescribeTemplates operation to retrieve a list of created orchestration templates and query their details, including access permissions, YAML content, and tags.
|
|
3922
3885
|
*
|
|
3923
3886
|
* @param request - DescribeTemplatesRequest
|
|
3924
3887
|
* @returns DescribeTemplatesResponse
|
|
@@ -3980,7 +3943,7 @@ class Client extends openapi_core_1.default {
|
|
|
3980
3943
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
3981
3944
|
}
|
|
3982
3945
|
/**
|
|
3983
|
-
* In ACK
|
|
3946
|
+
* In an ACK cluster, you can use Kubernetes namespaces to achieve logically isolated permissions and resources for cluster users. Users who are granted RBAC permissions only in specified namespaces cannot access resources in other namespaces of the cluster. You can invoke the DescribeUserClusterNamespaces operation to query the namespaces in which the current Resource Access Management (RAM) user or role is granted RBAC access permissions in a specified ACK cluster.
|
|
3984
3947
|
*
|
|
3985
3948
|
* @param headers - map
|
|
3986
3949
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4004,7 +3967,7 @@ class Client extends openapi_core_1.default {
|
|
|
4004
3967
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserClusterNamespacesResponse({}));
|
|
4005
3968
|
}
|
|
4006
3969
|
/**
|
|
4007
|
-
* In ACK
|
|
3970
|
+
* In an ACK cluster, you can use Kubernetes namespaces to achieve logically isolated permissions and resources for cluster users. Users who are granted RBAC permissions only in specified namespaces cannot access resources in other namespaces of the cluster. You can invoke the DescribeUserClusterNamespaces operation to query the namespaces in which the current Resource Access Management (RAM) user or role is granted RBAC access permissions in a specified ACK cluster.
|
|
4008
3971
|
* @returns DescribeUserClusterNamespacesResponse
|
|
4009
3972
|
*/
|
|
4010
3973
|
async describeUserClusterNamespaces(ClusterId) {
|
|
@@ -4013,11 +3976,11 @@ class Client extends openapi_core_1.default {
|
|
|
4013
3976
|
return await this.describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
4014
3977
|
}
|
|
4015
3978
|
/**
|
|
4016
|
-
* 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.
|
|
3979
|
+
* 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 Resource Access Management (RAM) user or role, including accessible resources, permission scope, preset role types, and permission sources.
|
|
4017
3980
|
*
|
|
4018
3981
|
* @remarks
|
|
4019
|
-
* *
|
|
4020
|
-
* - 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
|
|
3982
|
+
* *Precautions**:
|
|
3983
|
+
* - 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 on 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.
|
|
4021
3984
|
*
|
|
4022
3985
|
* @param headers - map
|
|
4023
3986
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4041,11 +4004,11 @@ class Client extends openapi_core_1.default {
|
|
|
4041
4004
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserPermissionResponse({}));
|
|
4042
4005
|
}
|
|
4043
4006
|
/**
|
|
4044
|
-
* 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.
|
|
4007
|
+
* 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 Resource Access Management (RAM) user or role, including accessible resources, permission scope, preset role types, and permission sources.
|
|
4045
4008
|
*
|
|
4046
4009
|
* @remarks
|
|
4047
|
-
* *
|
|
4048
|
-
* - 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
|
|
4010
|
+
* *Precautions**:
|
|
4011
|
+
* - 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 on 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.
|
|
4049
4012
|
* @returns DescribeUserPermissionResponse
|
|
4050
4013
|
*/
|
|
4051
4014
|
async describeUserPermission(uid) {
|
|
@@ -4087,12 +4050,12 @@ class Client extends openapi_core_1.default {
|
|
|
4087
4050
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
4088
4051
|
}
|
|
4089
4052
|
/**
|
|
4090
|
-
* Alibaba Cloud security products periodically scan
|
|
4053
|
+
* Alibaba Cloud security products periodically scan for security vulnerabilities on ECS nodes 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.
|
|
4091
4054
|
*
|
|
4092
4055
|
* @remarks
|
|
4093
|
-
* - CVE compatibility is
|
|
4094
|
-
* - Some CVE fixes require node restarts. Container Service drains the node before restarting it. Ensure that the cluster has sufficient spare node resources for
|
|
4095
|
-
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the CVE
|
|
4056
|
+
* - CVE compatibility is guaranteed by Security Center. Ensure that you have activated the Ultimate edition of Security Center or [purchased the vulnerability fixing feature (pay-as-you-go)](https://help.aliyun.com/document_detail/42308.html).
|
|
4057
|
+
* - Some CVE fixes require node restarts. Container Service drains the node before restarting it. Ensure that the cluster has sufficient spare node resources for drain operations. For example, scale out the node pool in advance.
|
|
4058
|
+
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the CVE fixing 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.
|
|
4096
4059
|
*
|
|
4097
4060
|
* @param request - FixNodePoolVulsRequest
|
|
4098
4061
|
* @param headers - map
|
|
@@ -4132,12 +4095,12 @@ class Client extends openapi_core_1.default {
|
|
|
4132
4095
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FixNodePoolVulsResponse({}));
|
|
4133
4096
|
}
|
|
4134
4097
|
/**
|
|
4135
|
-
* Alibaba Cloud security products periodically scan
|
|
4098
|
+
* Alibaba Cloud security products periodically scan for security vulnerabilities on ECS nodes 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.
|
|
4136
4099
|
*
|
|
4137
4100
|
* @remarks
|
|
4138
|
-
* - CVE compatibility is
|
|
4139
|
-
* - Some CVE fixes require node restarts. Container Service drains the node before restarting it. Ensure that the cluster has sufficient spare node resources for
|
|
4140
|
-
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the CVE
|
|
4101
|
+
* - CVE compatibility is guaranteed by Security Center. Ensure that you have activated the Ultimate edition of Security Center or [purchased the vulnerability fixing feature (pay-as-you-go)](https://help.aliyun.com/document_detail/42308.html).
|
|
4102
|
+
* - Some CVE fixes require node restarts. Container Service drains the node before restarting it. Ensure that the cluster has sufficient spare node resources for drain operations. For example, scale out the node pool in advance.
|
|
4103
|
+
* - Pay attention to the compatibility between your applications and CVEs. CVE fixes are performed in batches. During the CVE fixing 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.
|
|
4141
4104
|
*
|
|
4142
4105
|
* @param request - FixNodePoolVulsRequest
|
|
4143
4106
|
* @returns FixNodePoolVulsResponse
|
|
@@ -4148,7 +4111,7 @@ class Client extends openapi_core_1.default {
|
|
|
4148
4111
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
4149
4112
|
}
|
|
4150
4113
|
/**
|
|
4151
|
-
* Queries the details of a specified component instance in a cluster, including the version, parameter settings, and logging
|
|
4114
|
+
* Queries the details of a specified component instance in a cluster, including the version, parameter settings, and logging status of the component instance.
|
|
4152
4115
|
*
|
|
4153
4116
|
* @param headers - map
|
|
4154
4117
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4172,7 +4135,7 @@ class Client extends openapi_core_1.default {
|
|
|
4172
4135
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterAddonInstanceResponse({}));
|
|
4173
4136
|
}
|
|
4174
4137
|
/**
|
|
4175
|
-
* Queries the details of a specified component instance in a cluster, including the version, parameter settings, and logging
|
|
4138
|
+
* Queries the details of a specified component instance in a cluster, including the version, parameter settings, and logging status of the component instance.
|
|
4176
4139
|
* @returns GetClusterAddonInstanceResponse
|
|
4177
4140
|
*/
|
|
4178
4141
|
async getClusterAddonInstance(clusterId, instanceName) {
|
|
@@ -4214,7 +4177,7 @@ class Client extends openapi_core_1.default {
|
|
|
4214
4177
|
return await this.getClusterAuditProjectWithOptions(clusterid, headers, runtime);
|
|
4215
4178
|
}
|
|
4216
4179
|
/**
|
|
4217
|
-
* The intelligent O&M platform for containers provides comprehensive
|
|
4180
|
+
* Queries the details of a specific check task for a Kubernetes cluster. The intelligent O&M platform for containers provides comprehensive cluster check capabilities, including cluster upgrade, cluster migration, component installation, component upgrade, and node pool checks. You can retrieve information such as the check status, specific check items, and the creation and completion time of the check task.
|
|
4218
4181
|
*
|
|
4219
4182
|
* @param headers - map
|
|
4220
4183
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4238,7 +4201,7 @@ class Client extends openapi_core_1.default {
|
|
|
4238
4201
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetClusterCheckResponse({}));
|
|
4239
4202
|
}
|
|
4240
4203
|
/**
|
|
4241
|
-
* The intelligent O&M platform for containers provides comprehensive
|
|
4204
|
+
* Queries the details of a specific check task for a Kubernetes cluster. The intelligent O&M platform for containers provides comprehensive cluster check capabilities, including cluster upgrade, cluster migration, component installation, component upgrade, and node pool checks. You can retrieve information such as the check status, specific check items, and the creation and completion time of the check task.
|
|
4242
4205
|
* @returns GetClusterCheckResponse
|
|
4243
4206
|
*/
|
|
4244
4207
|
async getClusterCheck(clusterId, checkId) {
|
|
@@ -4424,7 +4387,7 @@ class Client extends openapi_core_1.default {
|
|
|
4424
4387
|
return await this.getClusterInspectReportDetailWithOptions(clusterId, reportId, request, headers, runtime);
|
|
4425
4388
|
}
|
|
4426
4389
|
/**
|
|
4427
|
-
* Queries the triggers of an application by
|
|
4390
|
+
* Queries the triggers of an application by name.
|
|
4428
4391
|
*
|
|
4429
4392
|
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
4430
4393
|
*
|
|
@@ -4466,7 +4429,7 @@ class Client extends openapi_core_1.default {
|
|
|
4466
4429
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetKubernetesTriggerResponse({}));
|
|
4467
4430
|
}
|
|
4468
4431
|
/**
|
|
4469
|
-
* Queries the triggers of an application by
|
|
4432
|
+
* Queries the triggers of an application by name.
|
|
4470
4433
|
*
|
|
4471
4434
|
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
4472
4435
|
*
|
|
@@ -4518,11 +4481,11 @@ class Client extends openapi_core_1.default {
|
|
|
4518
4481
|
return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
|
|
4519
4482
|
}
|
|
4520
4483
|
/**
|
|
4521
|
-
* By default, Resource Access Management (RAM) users or roles that are not cluster creators and have not been granted access permissions
|
|
4484
|
+
* By default, Resource Access Management (RAM) users or roles that are not cluster creators and have not been granted access permissions on 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 access control.
|
|
4522
4485
|
*
|
|
4523
4486
|
* @remarks
|
|
4524
|
-
* - If the account that invokes this API operation is a RAM user, make sure that the account has been granted
|
|
4525
|
-
* - The operation of
|
|
4487
|
+
* - If the account that invokes this API operation is a Resource Access Management (RAM) user, make sure that the account has been granted permissions to modify the cluster authorization information of other RAM users or RAM roles. Otherwise, the API returns the `StatusForbidden` or `ForbiddenGrantPermissions` fault code. For more information, see [Grant RBAC authorization to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
4488
|
+
* - The operation of updating all RBAC permissions of a RAM user or RAM role overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role.
|
|
4526
4489
|
*
|
|
4527
4490
|
* @param request - GrantPermissionsRequest
|
|
4528
4491
|
* @param headers - map
|
|
@@ -4549,11 +4512,11 @@ class Client extends openapi_core_1.default {
|
|
|
4549
4512
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GrantPermissionsResponse({}));
|
|
4550
4513
|
}
|
|
4551
4514
|
/**
|
|
4552
|
-
* By default, Resource Access Management (RAM) users or roles that are not cluster creators and have not been granted access permissions
|
|
4515
|
+
* By default, Resource Access Management (RAM) users or roles that are not cluster creators and have not been granted access permissions on 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 access control.
|
|
4553
4516
|
*
|
|
4554
4517
|
* @remarks
|
|
4555
|
-
* - If the account that invokes this API operation is a RAM user, make sure that the account has been granted
|
|
4556
|
-
* - The operation of
|
|
4518
|
+
* - If the account that invokes this API operation is a Resource Access Management (RAM) user, make sure that the account has been granted permissions to modify the cluster authorization information of other RAM users or RAM roles. Otherwise, the API returns the `StatusForbidden` or `ForbiddenGrantPermissions` fault code. For more information, see [Grant RBAC authorization to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
4519
|
+
* - The operation of updating all RBAC permissions of a RAM user or RAM role overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role.
|
|
4557
4520
|
*
|
|
4558
4521
|
* @param request - GrantPermissionsRequest
|
|
4559
4522
|
* @returns GrantPermissionsResponse
|
|
@@ -4602,7 +4565,7 @@ class Client extends openapi_core_1.default {
|
|
|
4602
4565
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
4603
4566
|
}
|
|
4604
4567
|
/**
|
|
4605
|
-
* Installs components on
|
|
4568
|
+
* Installs node components on specified nodes with custom configurations.
|
|
4606
4569
|
*
|
|
4607
4570
|
* @param request - InstallNodePoolComponentsRequest
|
|
4608
4571
|
* @param headers - map
|
|
@@ -4639,7 +4602,7 @@ class Client extends openapi_core_1.default {
|
|
|
4639
4602
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallNodePoolComponentsResponse({}));
|
|
4640
4603
|
}
|
|
4641
4604
|
/**
|
|
4642
|
-
* Installs components on
|
|
4605
|
+
* Installs node components on specified nodes with custom configurations.
|
|
4643
4606
|
*
|
|
4644
4607
|
* @param request - InstallNodePoolComponentsRequest
|
|
4645
4608
|
* @returns InstallNodePoolComponentsResponse
|
|
@@ -4650,7 +4613,7 @@ class Client extends openapi_core_1.default {
|
|
|
4650
4613
|
return await this.installNodePoolComponentsWithOptions(clusterId, nodePoolId, request, headers, runtime);
|
|
4651
4614
|
}
|
|
4652
4615
|
/**
|
|
4653
|
-
*
|
|
4616
|
+
* Invokes the ListAddons operation to retrieve a list of active components based on specified parameters such as region, cluster type, cluster child class (profile), and cluster version. You can also query detailed information about each component, including whether it is managed, the schema of supported custom parameters, and compatible operating system architectures.
|
|
4654
4617
|
*
|
|
4655
4618
|
* @param request - ListAddonsRequest
|
|
4656
4619
|
* @param headers - map
|
|
@@ -4696,7 +4659,7 @@ class Client extends openapi_core_1.default {
|
|
|
4696
4659
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAddonsResponse({}));
|
|
4697
4660
|
}
|
|
4698
4661
|
/**
|
|
4699
|
-
*
|
|
4662
|
+
* Invokes the ListAddons operation to retrieve a list of active components based on specified parameters such as region, cluster type, cluster child class (profile), and cluster version. You can also query detailed information about each component, including whether it is managed, the schema of supported custom parameters, and compatible operating system architectures.
|
|
4700
4663
|
*
|
|
4701
4664
|
* @param request - ListAddonsRequest
|
|
4702
4665
|
* @returns ListAddonsResponse
|
|
@@ -4707,7 +4670,7 @@ class Client extends openapi_core_1.default {
|
|
|
4707
4670
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
4708
4671
|
}
|
|
4709
4672
|
/**
|
|
4710
|
-
* Retrieves
|
|
4673
|
+
* Retrieves a list of self-healing rules.
|
|
4711
4674
|
*
|
|
4712
4675
|
* @remarks
|
|
4713
4676
|
* >Notice: This API is not yet available. Stay tuned.
|
|
@@ -4734,7 +4697,7 @@ class Client extends openapi_core_1.default {
|
|
|
4734
4697
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAutoRepairPoliciesResponse({}));
|
|
4735
4698
|
}
|
|
4736
4699
|
/**
|
|
4737
|
-
* Retrieves
|
|
4700
|
+
* Retrieves a list of self-healing rules.
|
|
4738
4701
|
*
|
|
4739
4702
|
* @remarks
|
|
4740
4703
|
* >Notice: This API is not yet available. Stay tuned.
|
|
@@ -4779,7 +4742,7 @@ class Client extends openapi_core_1.default {
|
|
|
4779
4742
|
return await this.listClusterAddonInstanceResourcesWithOptions(clusterId, instanceName, headers, runtime);
|
|
4780
4743
|
}
|
|
4781
4744
|
/**
|
|
4782
|
-
*
|
|
4745
|
+
* Queries the list of component instances installed in a specified cluster and retrieves related information, including the component version and status.
|
|
4783
4746
|
*
|
|
4784
4747
|
* @param headers - map
|
|
4785
4748
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4803,7 +4766,7 @@ class Client extends openapi_core_1.default {
|
|
|
4803
4766
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterAddonInstancesResponse({}));
|
|
4804
4767
|
}
|
|
4805
4768
|
/**
|
|
4806
|
-
*
|
|
4769
|
+
* Queries the list of component instances installed in a specified cluster and retrieves related information, including the component version and status.
|
|
4807
4770
|
* @returns ListClusterAddonInstancesResponse
|
|
4808
4771
|
*/
|
|
4809
4772
|
async listClusterAddonInstances(clusterId) {
|
|
@@ -4812,7 +4775,7 @@ class Client extends openapi_core_1.default {
|
|
|
4812
4775
|
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
4813
4776
|
}
|
|
4814
4777
|
/**
|
|
4815
|
-
* The intelligent O&M platform
|
|
4778
|
+
* Queries the list of cluster checks and related information, such as the check type, status, creation time, and completion time, based on the cluster ID. The container intelligent O&M platform provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks.
|
|
4816
4779
|
*
|
|
4817
4780
|
* @param request - ListClusterChecksRequest
|
|
4818
4781
|
* @param headers - map
|
|
@@ -4846,7 +4809,7 @@ class Client extends openapi_core_1.default {
|
|
|
4846
4809
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterChecksResponse({}));
|
|
4847
4810
|
}
|
|
4848
4811
|
/**
|
|
4849
|
-
* The intelligent O&M platform
|
|
4812
|
+
* Queries the list of cluster checks and related information, such as the check type, status, creation time, and completion time, based on the cluster ID. The container intelligent O&M platform provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks.
|
|
4850
4813
|
*
|
|
4851
4814
|
* @param request - ListClusterChecksRequest
|
|
4852
4815
|
* @returns ListClusterChecksResponse
|
|
@@ -4857,7 +4820,7 @@ class Client extends openapi_core_1.default {
|
|
|
4857
4820
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
4858
4821
|
}
|
|
4859
4822
|
/**
|
|
4860
|
-
* Retrieves
|
|
4823
|
+
* Retrieves the list of cluster inspection reports.
|
|
4861
4824
|
*
|
|
4862
4825
|
* @param request - ListClusterInspectReportsRequest
|
|
4863
4826
|
* @param headers - map
|
|
@@ -4891,7 +4854,7 @@ class Client extends openapi_core_1.default {
|
|
|
4891
4854
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterInspectReportsResponse({}));
|
|
4892
4855
|
}
|
|
4893
4856
|
/**
|
|
4894
|
-
* Retrieves
|
|
4857
|
+
* Retrieves the list of cluster inspection reports.
|
|
4895
4858
|
*
|
|
4896
4859
|
* @param request - ListClusterInspectReportsRequest
|
|
4897
4860
|
* @returns ListClusterInspectReportsResponse
|
|
@@ -4902,11 +4865,11 @@ class Client extends openapi_core_1.default {
|
|
|
4902
4865
|
return await this.listClusterInspectReportsWithOptions(clusterId, request, headers, runtime);
|
|
4903
4866
|
}
|
|
4904
4867
|
/**
|
|
4905
|
-
* Queries the list and status of KubeConfigs
|
|
4868
|
+
* Queries the list and status of user KubeConfigs issued for the current cluster.
|
|
4906
4869
|
*
|
|
4907
4870
|
* @remarks
|
|
4908
|
-
* > -
|
|
4909
|
-
* > -
|
|
4871
|
+
* > - You must have the ram:ListUsers and ram:ListRoles permissions.
|
|
4872
|
+
* > - You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
|
|
4910
4873
|
*
|
|
4911
4874
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
4912
4875
|
* @param headers - map
|
|
@@ -4943,11 +4906,11 @@ class Client extends openapi_core_1.default {
|
|
|
4943
4906
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterKubeconfigStatesResponse({}));
|
|
4944
4907
|
}
|
|
4945
4908
|
/**
|
|
4946
|
-
* Queries the list and status of KubeConfigs
|
|
4909
|
+
* Queries the list and status of user KubeConfigs issued for the current cluster.
|
|
4947
4910
|
*
|
|
4948
4911
|
* @remarks
|
|
4949
|
-
* > -
|
|
4950
|
-
* > -
|
|
4912
|
+
* > - You must have the ram:ListUsers and ram:ListRoles permissions.
|
|
4913
|
+
* > - You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
|
|
4951
4914
|
*
|
|
4952
4915
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
4953
4916
|
* @returns ListClusterKubeconfigStatesResponse
|
|
@@ -4958,7 +4921,66 @@ class Client extends openapi_core_1.default {
|
|
|
4958
4921
|
return await this.listClusterKubeconfigStatesWithOptions(ClusterId, request, headers, runtime);
|
|
4959
4922
|
}
|
|
4960
4923
|
/**
|
|
4961
|
-
*
|
|
4924
|
+
* Queries the status of node components on nodes.
|
|
4925
|
+
*
|
|
4926
|
+
* @param tmpReq - ListNodePoolComponentInstanceNodesRequest
|
|
4927
|
+
* @param headers - map
|
|
4928
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4929
|
+
* @returns ListNodePoolComponentInstanceNodesResponse
|
|
4930
|
+
*/
|
|
4931
|
+
async listNodePoolComponentInstanceNodesWithOptions(clusterId, nodepoolId, name, tmpReq, headers, runtime) {
|
|
4932
|
+
tmpReq.validate();
|
|
4933
|
+
let request = new $_model.ListNodePoolComponentInstanceNodesShrinkRequest({});
|
|
4934
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4935
|
+
if (!$dara.isNull(tmpReq.nodeNames)) {
|
|
4936
|
+
request.nodeNamesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.nodeNames, "node_names", "json");
|
|
4937
|
+
}
|
|
4938
|
+
let query = {};
|
|
4939
|
+
if (!$dara.isNull(request.configRevision)) {
|
|
4940
|
+
query["config_revision"] = request.configRevision;
|
|
4941
|
+
}
|
|
4942
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4943
|
+
query["max_results"] = request.maxResults;
|
|
4944
|
+
}
|
|
4945
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4946
|
+
query["next_token"] = request.nextToken;
|
|
4947
|
+
}
|
|
4948
|
+
if (!$dara.isNull(request.nodeNamesShrink)) {
|
|
4949
|
+
query["node_names"] = request.nodeNamesShrink;
|
|
4950
|
+
}
|
|
4951
|
+
if (!$dara.isNull(request.version)) {
|
|
4952
|
+
query["version"] = request.version;
|
|
4953
|
+
}
|
|
4954
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4955
|
+
headers: headers,
|
|
4956
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4957
|
+
});
|
|
4958
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4959
|
+
action: "ListNodePoolComponentInstanceNodes",
|
|
4960
|
+
version: "2015-12-15",
|
|
4961
|
+
protocol: "HTTPS",
|
|
4962
|
+
pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/nodepools/${$dara.URL.percentEncode(nodepoolId)}/component_instances/${$dara.URL.percentEncode(name)}/nodes`,
|
|
4963
|
+
method: "GET",
|
|
4964
|
+
authType: "AK",
|
|
4965
|
+
style: "ROA",
|
|
4966
|
+
reqBodyType: "json",
|
|
4967
|
+
bodyType: "json",
|
|
4968
|
+
});
|
|
4969
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListNodePoolComponentInstanceNodesResponse({}));
|
|
4970
|
+
}
|
|
4971
|
+
/**
|
|
4972
|
+
* Queries the status of node components on nodes.
|
|
4973
|
+
*
|
|
4974
|
+
* @param request - ListNodePoolComponentInstanceNodesRequest
|
|
4975
|
+
* @returns ListNodePoolComponentInstanceNodesResponse
|
|
4976
|
+
*/
|
|
4977
|
+
async listNodePoolComponentInstanceNodes(clusterId, nodepoolId, name, request) {
|
|
4978
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4979
|
+
let headers = {};
|
|
4980
|
+
return await this.listNodePoolComponentInstanceNodesWithOptions(clusterId, nodepoolId, name, request, headers, runtime);
|
|
4981
|
+
}
|
|
4982
|
+
/**
|
|
4983
|
+
* Queries node component instances.
|
|
4962
4984
|
*
|
|
4963
4985
|
* @param request - ListNodePoolComponentInstancesRequest
|
|
4964
4986
|
* @param headers - map
|
|
@@ -4992,7 +5014,7 @@ class Client extends openapi_core_1.default {
|
|
|
4992
5014
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListNodePoolComponentInstancesResponse({}));
|
|
4993
5015
|
}
|
|
4994
5016
|
/**
|
|
4995
|
-
*
|
|
5017
|
+
* Queries node component instances.
|
|
4996
5018
|
*
|
|
4997
5019
|
* @param request - ListNodePoolComponentInstancesRequest
|
|
4998
5020
|
* @returns ListNodePoolComponentInstancesResponse
|
|
@@ -5003,7 +5025,7 @@ class Client extends openapi_core_1.default {
|
|
|
5003
5025
|
return await this.listNodePoolComponentInstancesWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
5004
5026
|
}
|
|
5005
5027
|
/**
|
|
5006
|
-
*
|
|
5028
|
+
* Queries the node components that can be installed in a node pool.
|
|
5007
5029
|
*
|
|
5008
5030
|
* @param tmpReq - ListNodePoolComponentsRequest
|
|
5009
5031
|
* @param headers - map
|
|
@@ -5057,7 +5079,7 @@ class Client extends openapi_core_1.default {
|
|
|
5057
5079
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListNodePoolComponentsResponse({}));
|
|
5058
5080
|
}
|
|
5059
5081
|
/**
|
|
5060
|
-
*
|
|
5082
|
+
* Queries the node components that can be installed in a node pool.
|
|
5061
5083
|
*
|
|
5062
5084
|
* @param request - ListNodePoolComponentsRequest
|
|
5063
5085
|
* @returns ListNodePoolComponentsResponse
|
|
@@ -5113,7 +5135,7 @@ class Client extends openapi_core_1.default {
|
|
|
5113
5135
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
5114
5136
|
}
|
|
5115
5137
|
/**
|
|
5116
|
-
* Queries the
|
|
5138
|
+
* Queries the latest 100 automated O&M execution plans in a specified region. When features such as Auto Mode for intelligent cluster management, automatic cluster upgrades, and automated O&M for node pools are enabled, you can use this operation to query system-generated O&M plans and their execution status, such as cluster upgrades and node pool CVE fixes.
|
|
5117
5139
|
*
|
|
5118
5140
|
* @param request - ListOperationPlansForRegionRequest
|
|
5119
5141
|
* @param headers - map
|
|
@@ -5150,7 +5172,7 @@ class Client extends openapi_core_1.default {
|
|
|
5150
5172
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOperationPlansForRegionResponse({}));
|
|
5151
5173
|
}
|
|
5152
5174
|
/**
|
|
5153
|
-
* Queries the
|
|
5175
|
+
* Queries the latest 100 automated O&M execution plans in a specified region. When features such as Auto Mode for intelligent cluster management, automatic cluster upgrades, and automated O&M for node pools are enabled, you can use this operation to query system-generated O&M plans and their execution status, such as cluster upgrades and node pool CVE fixes.
|
|
5154
5176
|
*
|
|
5155
5177
|
* @param request - ListOperationPlansForRegionRequest
|
|
5156
5178
|
* @returns ListOperationPlansForRegionResponse
|
|
@@ -5161,7 +5183,7 @@ class Client extends openapi_core_1.default {
|
|
|
5161
5183
|
return await this.listOperationPlansForRegionWithOptions(regionId, request, headers, runtime);
|
|
5162
5184
|
}
|
|
5163
5185
|
/**
|
|
5164
|
-
* You can add tag key-value pairs to clusters so that cluster developers or O&M engineers can classify and manage clusters
|
|
5186
|
+
* You can add tag key-value pairs to clusters so that cluster developers or O&M engineers can more flexibly classify and manage clusters, and better support requirements such as monitoring, cost analysis, and multi-tenant data isolation. Calls the ListTagResources operation to retrieve a list of resource tags and query detailed tag information, such as key-value pairs and associated clusters.
|
|
5165
5187
|
*
|
|
5166
5188
|
* @param tmpReq - ListTagResourcesRequest
|
|
5167
5189
|
* @param headers - map
|
|
@@ -5212,7 +5234,7 @@ class Client extends openapi_core_1.default {
|
|
|
5212
5234
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
|
|
5213
5235
|
}
|
|
5214
5236
|
/**
|
|
5215
|
-
* You can add tag key-value pairs to clusters so that cluster developers or O&M engineers can classify and manage clusters
|
|
5237
|
+
* You can add tag key-value pairs to clusters so that cluster developers or O&M engineers can more flexibly classify and manage clusters, and better support requirements such as monitoring, cost analysis, and multi-tenant data isolation. Calls the ListTagResources operation to retrieve a list of resource tags and query detailed tag information, such as key-value pairs and associated clusters.
|
|
5216
5238
|
*
|
|
5217
5239
|
* @param request - ListTagResourcesRequest
|
|
5218
5240
|
* @returns ListTagResourcesResponse
|
|
@@ -5223,7 +5245,7 @@ class Client extends openapi_core_1.default {
|
|
|
5223
5245
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
5224
5246
|
}
|
|
5225
5247
|
/**
|
|
5226
|
-
* Queries the KubeConfig status list of all clusters for the current user.
|
|
5248
|
+
* Queries the KubeConfig status list of all clusters for the current user. You can call this operation to view the KubeConfig issuance status of each cluster for the current user.
|
|
5227
5249
|
*
|
|
5228
5250
|
* @remarks
|
|
5229
5251
|
* > To call this operation, you must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
@@ -5260,7 +5282,7 @@ class Client extends openapi_core_1.default {
|
|
|
5260
5282
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUserKubeConfigStatesResponse({}));
|
|
5261
5283
|
}
|
|
5262
5284
|
/**
|
|
5263
|
-
* Queries the KubeConfig status list of all clusters for the current user.
|
|
5285
|
+
* Queries the KubeConfig status list of all clusters for the current user. You can call this operation to view the KubeConfig issuance status of each cluster for the current user.
|
|
5264
5286
|
*
|
|
5265
5287
|
* @remarks
|
|
5266
5288
|
* > To call this operation, you must have full access permissions on Container Service for Kubernetes (ACK) (AliyunCSFullAccess).
|
|
@@ -5274,10 +5296,10 @@ class Client extends openapi_core_1.default {
|
|
|
5274
5296
|
return await this.listUserKubeConfigStatesWithOptions(Uid, request, headers, runtime);
|
|
5275
5297
|
}
|
|
5276
5298
|
/**
|
|
5277
|
-
*
|
|
5299
|
+
* Migrates a cluster.
|
|
5278
5300
|
*
|
|
5279
5301
|
* @remarks
|
|
5280
|
-
* After you migrate an ACK managed
|
|
5302
|
+
* After you migrate an ACK basic managed cluster to an ACK Pro managed cluster, a [cluster management fee](https://help.aliyun.com/document_detail/462278.html) charged by ACK is added. The billing of other cloud resources remains unchanged.
|
|
5281
5303
|
*
|
|
5282
5304
|
* @param request - MigrateClusterRequest
|
|
5283
5305
|
* @param headers - map
|
|
@@ -5311,10 +5333,10 @@ class Client extends openapi_core_1.default {
|
|
|
5311
5333
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MigrateClusterResponse({}));
|
|
5312
5334
|
}
|
|
5313
5335
|
/**
|
|
5314
|
-
*
|
|
5336
|
+
* Migrates a cluster.
|
|
5315
5337
|
*
|
|
5316
5338
|
* @remarks
|
|
5317
|
-
* After you migrate an ACK managed
|
|
5339
|
+
* After you migrate an ACK basic managed cluster to an ACK Pro managed cluster, a [cluster management fee](https://help.aliyun.com/document_detail/462278.html) charged by ACK is added. The billing of other cloud resources remains unchanged.
|
|
5318
5340
|
*
|
|
5319
5341
|
* @param request - MigrateClusterRequest
|
|
5320
5342
|
* @returns MigrateClusterResponse
|
|
@@ -5328,7 +5350,7 @@ class Client extends openapi_core_1.default {
|
|
|
5328
5350
|
* Modifies a self-healing rule.
|
|
5329
5351
|
*
|
|
5330
5352
|
* @remarks
|
|
5331
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
5353
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
5332
5354
|
*
|
|
5333
5355
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
5334
5356
|
* @param headers - map
|
|
@@ -5365,7 +5387,7 @@ class Client extends openapi_core_1.default {
|
|
|
5365
5387
|
* Modifies a self-healing rule.
|
|
5366
5388
|
*
|
|
5367
5389
|
* @remarks
|
|
5368
|
-
* >Notice: This API is not yet available. Stay tuned
|
|
5390
|
+
* >Notice: This API is not yet available. Stay tuned.
|
|
5369
5391
|
*
|
|
5370
5392
|
* @param request - ModifyAutoRepairPolicyRequest
|
|
5371
5393
|
* @returns ModifyAutoRepairPolicyResponse
|
|
@@ -5379,7 +5401,7 @@ class Client extends openapi_core_1.default {
|
|
|
5379
5401
|
* Modifies the configuration of an ACK cluster.
|
|
5380
5402
|
*
|
|
5381
5403
|
* @remarks
|
|
5382
|
-
* <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5404
|
+
* <notice>Starting from July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5383
5405
|
*
|
|
5384
5406
|
* @param request - ModifyClusterRequest
|
|
5385
5407
|
* @param headers - map
|
|
@@ -5473,7 +5495,7 @@ class Client extends openapi_core_1.default {
|
|
|
5473
5495
|
* Modifies the configuration of an ACK cluster.
|
|
5474
5496
|
*
|
|
5475
5497
|
* @remarks
|
|
5476
|
-
* <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5498
|
+
* <notice>Starting from July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5477
5499
|
*
|
|
5478
5500
|
* @param request - ModifyClusterRequest
|
|
5479
5501
|
* @returns ModifyClusterResponse
|
|
@@ -5484,13 +5506,13 @@ class Client extends openapi_core_1.default {
|
|
|
5484
5506
|
return await this.modifyClusterWithOptions(ClusterId, request, headers, runtime);
|
|
5485
5507
|
}
|
|
5486
5508
|
/**
|
|
5487
|
-
* Modifies the configuration of an installed cluster component instance. Modifying
|
|
5509
|
+
* Modifies the configuration of an installed cluster component instance. Modifying the configuration may affect your services. Evaluate the impact before performing this operation during off-peak hours and back up relevant data in advance.
|
|
5488
5510
|
*
|
|
5489
5511
|
* @remarks
|
|
5490
|
-
* You can
|
|
5512
|
+
* You can use this API operation to modify the configuration of common clusters components and the control plane parameter settings of ACK Pro clusters:
|
|
5491
5513
|
* - 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).
|
|
5492
|
-
* - For the configurable control plane parameter settings of ACK Pro clusters, see [Customize control plane parameters of ACK Pro
|
|
5493
|
-
* Modifying
|
|
5514
|
+
* - For the configurable control plane parameter settings of ACK Pro clusters, see [Customize control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
5515
|
+
* Modifying the configuration may cause the component to be redeployed and restarted. Evaluate the impact before performing this operation.
|
|
5494
5516
|
*
|
|
5495
5517
|
* @param request - ModifyClusterAddonRequest
|
|
5496
5518
|
* @param headers - map
|
|
@@ -5521,13 +5543,13 @@ class Client extends openapi_core_1.default {
|
|
|
5521
5543
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterAddonResponse({}));
|
|
5522
5544
|
}
|
|
5523
5545
|
/**
|
|
5524
|
-
* Modifies the configuration of an installed cluster component instance. Modifying
|
|
5546
|
+
* Modifies the configuration of an installed cluster component instance. Modifying the configuration may affect your services. Evaluate the impact before performing this operation during off-peak hours and back up relevant data in advance.
|
|
5525
5547
|
*
|
|
5526
5548
|
* @remarks
|
|
5527
|
-
* You can
|
|
5549
|
+
* You can use this API operation to modify the configuration of common clusters components and the control plane parameter settings of ACK Pro clusters:
|
|
5528
5550
|
* - 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).
|
|
5529
|
-
* - For the configurable control plane parameter settings of ACK Pro clusters, see [Customize control plane parameters of ACK Pro
|
|
5530
|
-
* Modifying
|
|
5551
|
+
* - For the configurable control plane parameter settings of ACK Pro clusters, see [Customize control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
5552
|
+
* Modifying the configuration may cause the component to be redeployed and restarted. Evaluate the impact before performing this operation.
|
|
5531
5553
|
*
|
|
5532
5554
|
* @param request - ModifyClusterAddonRequest
|
|
5533
5555
|
* @returns ModifyClusterAddonResponse
|
|
@@ -5541,7 +5563,7 @@ class Client extends openapi_core_1.default {
|
|
|
5541
5563
|
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
5542
5564
|
*
|
|
5543
5565
|
* @remarks
|
|
5544
|
-
* <notice>Starting July
|
|
5566
|
+
* <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of ACK cluster management OpenAPI operations and deprecation of OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5545
5567
|
*
|
|
5546
5568
|
* @param request - ModifyClusterNodePoolRequest
|
|
5547
5569
|
* @param headers - map
|
|
@@ -5599,7 +5621,7 @@ class Client extends openapi_core_1.default {
|
|
|
5599
5621
|
* Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
|
|
5600
5622
|
*
|
|
5601
5623
|
* @remarks
|
|
5602
|
-
* <notice>Starting July
|
|
5624
|
+
* <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of ACK cluster management OpenAPI operations and deprecation of OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
5603
5625
|
*
|
|
5604
5626
|
* @param request - ModifyClusterNodePoolRequest
|
|
5605
5627
|
* @returns ModifyClusterNodePoolResponse
|
|
@@ -5610,10 +5632,10 @@ class Client extends openapi_core_1.default {
|
|
|
5610
5632
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
5611
5633
|
}
|
|
5612
5634
|
/**
|
|
5613
|
-
* 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.
|
|
5635
|
+
* 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. Calls the ModifyClusterTags operation to update cluster tags.
|
|
5614
5636
|
*
|
|
5615
5637
|
* @remarks
|
|
5616
|
-
* - This operation performs a full update.
|
|
5638
|
+
* - This operation performs a full update. Specify the complete set of 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).
|
|
5617
5639
|
*
|
|
5618
5640
|
* @param request - ModifyClusterTagsRequest
|
|
5619
5641
|
* @param headers - map
|
|
@@ -5640,10 +5662,10 @@ class Client extends openapi_core_1.default {
|
|
|
5640
5662
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterTagsResponse({}));
|
|
5641
5663
|
}
|
|
5642
5664
|
/**
|
|
5643
|
-
* 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.
|
|
5665
|
+
* 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. Calls the ModifyClusterTags operation to update cluster tags.
|
|
5644
5666
|
*
|
|
5645
5667
|
* @remarks
|
|
5646
|
-
* - This operation performs a full update.
|
|
5668
|
+
* - This operation performs a full update. Specify the complete set of 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).
|
|
5647
5669
|
*
|
|
5648
5670
|
* @param request - ModifyClusterTagsRequest
|
|
5649
5671
|
* @returns ModifyClusterTagsResponse
|
|
@@ -5714,7 +5736,7 @@ class Client extends openapi_core_1.default {
|
|
|
5714
5736
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
5715
5737
|
}
|
|
5716
5738
|
/**
|
|
5717
|
-
* Updates a policy rule instance in a specified cluster
|
|
5739
|
+
* Updates a policy rule instance in a specified cluster, such as the governance action (alert or block) and the scope of namespaces to which the policy instance applies.
|
|
5718
5740
|
*
|
|
5719
5741
|
* @param request - ModifyPolicyInstanceRequest
|
|
5720
5742
|
* @param headers - map
|
|
@@ -5754,7 +5776,7 @@ class Client extends openapi_core_1.default {
|
|
|
5754
5776
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPolicyInstanceResponse({}));
|
|
5755
5777
|
}
|
|
5756
5778
|
/**
|
|
5757
|
-
* Updates a policy rule instance in a specified cluster
|
|
5779
|
+
* Updates a policy rule instance in a specified cluster, such as the governance action (alert or block) and the scope of namespaces to which the policy instance applies.
|
|
5758
5780
|
*
|
|
5759
5781
|
* @param request - ModifyPolicyInstanceRequest
|
|
5760
5782
|
* @returns ModifyPolicyInstanceResponse
|
|
@@ -5815,7 +5837,7 @@ class Client extends openapi_core_1.default {
|
|
|
5815
5837
|
return await this.openAckServiceWithOptions(request, headers, runtime);
|
|
5816
5838
|
}
|
|
5817
5839
|
/**
|
|
5818
|
-
* Pauses a cluster
|
|
5840
|
+
* Pauses the upgrade of a user cluster.
|
|
5819
5841
|
*
|
|
5820
5842
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
5821
5843
|
*
|
|
@@ -5841,7 +5863,7 @@ class Client extends openapi_core_1.default {
|
|
|
5841
5863
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseClusterUpgradeResponse({}));
|
|
5842
5864
|
}
|
|
5843
5865
|
/**
|
|
5844
|
-
* Pauses a cluster
|
|
5866
|
+
* Pauses the upgrade of a user cluster.
|
|
5845
5867
|
*
|
|
5846
5868
|
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
5847
5869
|
* @returns PauseClusterUpgradeResponse
|
|
@@ -5891,7 +5913,7 @@ class Client extends openapi_core_1.default {
|
|
|
5891
5913
|
return await this.pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
5892
5914
|
}
|
|
5893
5915
|
/**
|
|
5894
|
-
*
|
|
5916
|
+
* Pauses a running cluster task.
|
|
5895
5917
|
*
|
|
5896
5918
|
* @param headers - map
|
|
5897
5919
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5915,7 +5937,7 @@ class Client extends openapi_core_1.default {
|
|
|
5915
5937
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseTaskResponse({}));
|
|
5916
5938
|
}
|
|
5917
5939
|
/**
|
|
5918
|
-
*
|
|
5940
|
+
* Pauses a running cluster task.
|
|
5919
5941
|
* @returns PauseTaskResponse
|
|
5920
5942
|
*/
|
|
5921
5943
|
async pauseTask(taskId) {
|
|
@@ -5977,14 +5999,14 @@ class Client extends openapi_core_1.default {
|
|
|
5977
5999
|
return await this.removeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
5978
6000
|
}
|
|
5979
6001
|
/**
|
|
5980
|
-
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes. When removing nodes, you can
|
|
6002
|
+
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when you no longer need the cluster nodes. When removing nodes, you can choose whether to release the associated ECS instances and whether to automatically 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.
|
|
5981
6003
|
*
|
|
5982
6004
|
* @remarks
|
|
5983
6005
|
* - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
|
|
5984
6006
|
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
5985
6007
|
* - During the operation, the nodes being removed are set to the unschedulable state in the background.
|
|
5986
6008
|
* - This operation removes only worker nodes, not master nodes.
|
|
5987
|
-
* - Even if you choose to release nodes (nodes
|
|
6009
|
+
* - Even if you choose to release nodes (nodes with `release_node` set to `true`), subscription nodes are not released. After removing the nodes, release them in the [ECS console](https://ecs.console.aliyun.com/).
|
|
5988
6010
|
*
|
|
5989
6011
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
5990
6012
|
* @param headers - map
|
|
@@ -6035,14 +6057,14 @@ class Client extends openapi_core_1.default {
|
|
|
6035
6057
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveNodePoolNodesResponse({}));
|
|
6036
6058
|
}
|
|
6037
6059
|
/**
|
|
6038
|
-
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes. When removing nodes, you can
|
|
6060
|
+
* Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when you no longer need the cluster nodes. When removing nodes, you can choose whether to release the associated ECS instances and whether to automatically 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.
|
|
6039
6061
|
*
|
|
6040
6062
|
* @remarks
|
|
6041
6063
|
* - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
|
|
6042
6064
|
* - Unexpected risks may occur during the operation. Back up your data in advance.
|
|
6043
6065
|
* - During the operation, the nodes being removed are set to the unschedulable state in the background.
|
|
6044
6066
|
* - This operation removes only worker nodes, not master nodes.
|
|
6045
|
-
* - Even if you choose to release nodes (nodes
|
|
6067
|
+
* - Even if you choose to release nodes (nodes with `release_node` set to `true`), subscription nodes are not released. After removing the nodes, release them in the [ECS console](https://ecs.console.aliyun.com/).
|
|
6046
6068
|
*
|
|
6047
6069
|
* @param request - RemoveNodePoolNodesRequest
|
|
6048
6070
|
* @returns RemoveNodePoolNodesResponse
|
|
@@ -6101,7 +6123,7 @@ class Client extends openapi_core_1.default {
|
|
|
6101
6123
|
return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
6102
6124
|
}
|
|
6103
6125
|
/**
|
|
6104
|
-
*
|
|
6126
|
+
* Resumes a paused component upgrade task.
|
|
6105
6127
|
*
|
|
6106
6128
|
* @deprecated OpenAPI ResumeComponentUpgrade is deprecated
|
|
6107
6129
|
*
|
|
@@ -6127,7 +6149,7 @@ class Client extends openapi_core_1.default {
|
|
|
6127
6149
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResumeComponentUpgradeResponse({}));
|
|
6128
6150
|
}
|
|
6129
6151
|
/**
|
|
6130
|
-
*
|
|
6152
|
+
* Resumes a paused component upgrade task.
|
|
6131
6153
|
*
|
|
6132
6154
|
* @deprecated OpenAPI ResumeComponentUpgrade is deprecated
|
|
6133
6155
|
* @returns ResumeComponentUpgradeResponse
|
|
@@ -6243,7 +6265,7 @@ class Client extends openapi_core_1.default {
|
|
|
6243
6265
|
return await this.revokeK8sClusterKubeConfigWithOptions(ClusterId, headers, runtime);
|
|
6244
6266
|
}
|
|
6245
6267
|
/**
|
|
6246
|
-
* The
|
|
6268
|
+
* The Container Intelligence O&M platform 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 Container Intelligence O&M platform automatically triggers a check. You can perform the change operation only after the check passes. You can also manually call the RunClusterCheck operation to perform a cluster check. Regularly check and maintain your clusters to prevent security risks.
|
|
6247
6269
|
*
|
|
6248
6270
|
* @param request - RunClusterCheckRequest
|
|
6249
6271
|
* @param headers - map
|
|
@@ -6280,7 +6302,7 @@ class Client extends openapi_core_1.default {
|
|
|
6280
6302
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunClusterCheckResponse({}));
|
|
6281
6303
|
}
|
|
6282
6304
|
/**
|
|
6283
|
-
* The
|
|
6305
|
+
* The Container Intelligence O&M platform 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 Container Intelligence O&M platform automatically triggers a check. You can perform the change operation only after the check passes. You can also manually call the RunClusterCheck operation to perform a cluster check. Regularly check and maintain your clusters to prevent security risks.
|
|
6284
6306
|
*
|
|
6285
6307
|
* @param request - RunClusterCheckRequest
|
|
6286
6308
|
* @returns RunClusterCheckResponse
|
|
@@ -6333,7 +6355,7 @@ class Client extends openapi_core_1.default {
|
|
|
6333
6355
|
return await this.runClusterInspectWithOptions(clusterId, request, headers, runtime);
|
|
6334
6356
|
}
|
|
6335
6357
|
/**
|
|
6336
|
-
*
|
|
6358
|
+
* Executes O&M operations on a node.
|
|
6337
6359
|
*
|
|
6338
6360
|
* @param request - RunNodeOperationRequest
|
|
6339
6361
|
* @param headers - map
|
|
@@ -6367,7 +6389,7 @@ class Client extends openapi_core_1.default {
|
|
|
6367
6389
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunNodeOperationResponse({}));
|
|
6368
6390
|
}
|
|
6369
6391
|
/**
|
|
6370
|
-
*
|
|
6392
|
+
* Executes O&M operations on a node.
|
|
6371
6393
|
*
|
|
6372
6394
|
* @param request - RunNodeOperationRequest
|
|
6373
6395
|
* @returns RunNodeOperationResponse
|
|
@@ -6522,7 +6544,7 @@ class Client extends openapi_core_1.default {
|
|
|
6522
6544
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
6523
6545
|
}
|
|
6524
6546
|
/**
|
|
6525
|
-
*
|
|
6547
|
+
* Scans 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.
|
|
6526
6548
|
*
|
|
6527
6549
|
* @param headers - map
|
|
6528
6550
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6546,7 +6568,7 @@ class Client extends openapi_core_1.default {
|
|
|
6546
6568
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ScanClusterVulsResponse({}));
|
|
6547
6569
|
}
|
|
6548
6570
|
/**
|
|
6549
|
-
*
|
|
6571
|
+
* Scans 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.
|
|
6550
6572
|
* @returns ScanClusterVulsResponse
|
|
6551
6573
|
*/
|
|
6552
6574
|
async scanClusterVuls(clusterId) {
|
|
@@ -6645,7 +6667,7 @@ class Client extends openapi_core_1.default {
|
|
|
6645
6667
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
6646
6668
|
}
|
|
6647
6669
|
/**
|
|
6648
|
-
* Synchronizes a cluster node pool, including node pool metadata and information
|
|
6670
|
+
* Synchronizes a cluster node pool, including node pool metadata and node information within the node pool.
|
|
6649
6671
|
*
|
|
6650
6672
|
* @param headers - map
|
|
6651
6673
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6669,7 +6691,7 @@ class Client extends openapi_core_1.default {
|
|
|
6669
6691
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncClusterNodePoolResponse({}));
|
|
6670
6692
|
}
|
|
6671
6693
|
/**
|
|
6672
|
-
* Synchronizes a cluster node pool, including node pool metadata and information
|
|
6694
|
+
* Synchronizes a cluster node pool, including node pool metadata and node information within the node pool.
|
|
6673
6695
|
* @returns SyncClusterNodePoolResponse
|
|
6674
6696
|
*/
|
|
6675
6697
|
async syncClusterNodePool(ClusterId) {
|
|
@@ -6678,7 +6700,7 @@ class Client extends openapi_core_1.default {
|
|
|
6678
6700
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
6679
6701
|
}
|
|
6680
6702
|
/**
|
|
6681
|
-
* Adds tag key-value pairs to clusters so that cluster developers or O&M engineers can categorize and manage clusters
|
|
6703
|
+
* Adds tag key-value pairs to clusters so that cluster developers or O&M engineers can more flexibly categorize and manage clusters, and better support monitoring, cost analysis, and tenant isolation requirements. Calls the TagResources operation to attach tags to clusters.
|
|
6682
6704
|
*
|
|
6683
6705
|
* @param request - TagResourcesRequest
|
|
6684
6706
|
* @param headers - map
|
|
@@ -6718,7 +6740,7 @@ class Client extends openapi_core_1.default {
|
|
|
6718
6740
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
6719
6741
|
}
|
|
6720
6742
|
/**
|
|
6721
|
-
* Adds tag key-value pairs to clusters so that cluster developers or O&M engineers can categorize and manage clusters
|
|
6743
|
+
* Adds tag key-value pairs to clusters so that cluster developers or O&M engineers can more flexibly categorize and manage clusters, and better support monitoring, cost analysis, and tenant isolation requirements. Calls the TagResources operation to attach tags to clusters.
|
|
6722
6744
|
*
|
|
6723
6745
|
* @param request - TagResourcesRequest
|
|
6724
6746
|
* @returns TagResourcesResponse
|
|
@@ -6729,7 +6751,7 @@ class Client extends openapi_core_1.default {
|
|
|
6729
6751
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
6730
6752
|
}
|
|
6731
6753
|
/**
|
|
6732
|
-
* Uninstalls specified components from a cluster when they are no longer needed,
|
|
6754
|
+
* Uninstalls specified components from a cluster when they are no longer needed. You can call this operation to specify component names, delete components, and choose whether to delete associated Alibaba Cloud resources.
|
|
6733
6755
|
*
|
|
6734
6756
|
* @param request - UnInstallClusterAddonsRequest
|
|
6735
6757
|
* @param headers - map
|
|
@@ -6756,7 +6778,7 @@ class Client extends openapi_core_1.default {
|
|
|
6756
6778
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnInstallClusterAddonsResponse({}));
|
|
6757
6779
|
}
|
|
6758
6780
|
/**
|
|
6759
|
-
* Uninstalls specified components from a cluster when they are no longer needed,
|
|
6781
|
+
* Uninstalls specified components from a cluster when they are no longer needed. You can call this operation to specify component names, delete components, and choose whether to delete associated Alibaba Cloud resources.
|
|
6760
6782
|
*
|
|
6761
6783
|
* @param request - UnInstallClusterAddonsRequest
|
|
6762
6784
|
* @returns UnInstallClusterAddonsResponse
|
|
@@ -6767,7 +6789,7 @@ class Client extends openapi_core_1.default {
|
|
|
6767
6789
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
6768
6790
|
}
|
|
6769
6791
|
/**
|
|
6770
|
-
* Deletes resource tags when you no longer need the tag key-value pairs
|
|
6792
|
+
* Deletes resource tags when you no longer need the tag key-value pairs of a cluster.
|
|
6771
6793
|
*
|
|
6772
6794
|
* @param tmpReq - UntagResourcesRequest
|
|
6773
6795
|
* @param headers - map
|
|
@@ -6818,7 +6840,7 @@ class Client extends openapi_core_1.default {
|
|
|
6818
6840
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
|
|
6819
6841
|
}
|
|
6820
6842
|
/**
|
|
6821
|
-
* Deletes resource tags when you no longer need the tag key-value pairs
|
|
6843
|
+
* Deletes resource tags when you no longer need the tag key-value pairs of a cluster.
|
|
6822
6844
|
*
|
|
6823
6845
|
* @param request - UntagResourcesRequest
|
|
6824
6846
|
* @returns UntagResourcesResponse
|
|
@@ -6829,7 +6851,7 @@ class Client extends openapi_core_1.default {
|
|
|
6829
6851
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
6830
6852
|
}
|
|
6831
6853
|
/**
|
|
6832
|
-
* When you need to record Kubernetes API requests and their results to trace cluster operation history
|
|
6854
|
+
* When you need to record Kubernetes API requests and their results to trace cluster operation history and troubleshoot cluster issues, you can invoke the UpdateClusterAuditLogConfig operation to enable or shutdown the audit log feature of a specified ACK cluster and update the audit log configuration.
|
|
6833
6855
|
*
|
|
6834
6856
|
* @remarks
|
|
6835
6857
|
* 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).
|
|
@@ -6866,7 +6888,7 @@ class Client extends openapi_core_1.default {
|
|
|
6866
6888
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateClusterAuditLogConfigResponse({}));
|
|
6867
6889
|
}
|
|
6868
6890
|
/**
|
|
6869
|
-
* When you need to record Kubernetes API requests and their results to trace cluster operation history
|
|
6891
|
+
* When you need to record Kubernetes API requests and their results to trace cluster operation history and troubleshoot cluster issues, you can invoke the UpdateClusterAuditLogConfig operation to enable or shutdown the audit log feature of a specified ACK cluster and update the audit log configuration.
|
|
6870
6892
|
*
|
|
6871
6893
|
* @remarks
|
|
6872
6894
|
* 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).
|
|
@@ -6979,7 +7001,7 @@ class Client extends openapi_core_1.default {
|
|
|
6979
7001
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, request, headers, runtime);
|
|
6980
7002
|
}
|
|
6981
7003
|
/**
|
|
6982
|
-
* 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
|
|
7004
|
+
* ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) Log Project. Control plane components include core components such as Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call the UpdateControlPlaneLog operation to modify the control plane component log configuration, such as the log retention period and the components from which logs are collected.
|
|
6983
7005
|
*
|
|
6984
7006
|
* @param request - UpdateControlPlaneLogRequest
|
|
6985
7007
|
* @param headers - map
|
|
@@ -7019,7 +7041,7 @@ class Client extends openapi_core_1.default {
|
|
|
7019
7041
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateControlPlaneLogResponse({}));
|
|
7020
7042
|
}
|
|
7021
7043
|
/**
|
|
7022
|
-
* 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
|
|
7044
|
+
* ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) Log Project. Control plane components include core components such as Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call the UpdateControlPlaneLog operation to modify the control plane component log configuration, such as the log retention period and the components from which logs are collected.
|
|
7023
7045
|
*
|
|
7024
7046
|
* @param request - UpdateControlPlaneLogRequest
|
|
7025
7047
|
* @returns UpdateControlPlaneLogResponse
|
|
@@ -7030,11 +7052,11 @@ class Client extends openapi_core_1.default {
|
|
|
7030
7052
|
return await this.updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime);
|
|
7031
7053
|
}
|
|
7032
7054
|
/**
|
|
7033
|
-
* The default expiration time of
|
|
7055
|
+
* Updates the custom expiration time of a KubeConfig credential issued by an ACK cluster. The default expiration time of a KubeConfig credential issued by an ACK cluster is 3 years. You can use an Alibaba Cloud account to invoke the UpdateK8sClusterUserConfigExpire operation to specify the expiration time (1 to 876,000 hours) of a KubeConfig credential issued to a Resource Access Management (RAM) user or role in an ACK cluster.
|
|
7034
7056
|
*
|
|
7035
7057
|
* @remarks
|
|
7036
7058
|
* - This operation can be called only by an Alibaba Cloud account.
|
|
7037
|
-
* - If you revoke the KubeConfig credential used in the cluster, the custom expiration time configured for the KubeConfig
|
|
7059
|
+
* - If you revoke the KubeConfig credential used in the cluster, the custom expiration time configured for the KubeConfig credential in the cluster is also reset. You must call this operation to reconfigure the expiration time.
|
|
7038
7060
|
*
|
|
7039
7061
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
7040
7062
|
* @param headers - map
|
|
@@ -7068,11 +7090,11 @@ class Client extends openapi_core_1.default {
|
|
|
7068
7090
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateK8sClusterUserConfigExpireResponse({}));
|
|
7069
7091
|
}
|
|
7070
7092
|
/**
|
|
7071
|
-
* The default expiration time of
|
|
7093
|
+
* Updates the custom expiration time of a KubeConfig credential issued by an ACK cluster. The default expiration time of a KubeConfig credential issued by an ACK cluster is 3 years. You can use an Alibaba Cloud account to invoke the UpdateK8sClusterUserConfigExpire operation to specify the expiration time (1 to 876,000 hours) of a KubeConfig credential issued to a Resource Access Management (RAM) user or role in an ACK cluster.
|
|
7072
7094
|
*
|
|
7073
7095
|
* @remarks
|
|
7074
7096
|
* - This operation can be called only by an Alibaba Cloud account.
|
|
7075
|
-
* - If you revoke the KubeConfig credential used in the cluster, the custom expiration time configured for the KubeConfig
|
|
7097
|
+
* - If you revoke the KubeConfig credential used in the cluster, the custom expiration time configured for the KubeConfig credential in the cluster is also reset. You must call this operation to reconfigure the expiration time.
|
|
7076
7098
|
*
|
|
7077
7099
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
7078
7100
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|
|
@@ -7083,12 +7105,12 @@ class Client extends openapi_core_1.default {
|
|
|
7083
7105
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
7084
7106
|
}
|
|
7085
7107
|
/**
|
|
7086
|
-
* Updates the
|
|
7108
|
+
* Updates the encryption at rest configuration for Secrets in a specified cluster.
|
|
7087
7109
|
*
|
|
7088
7110
|
* @remarks
|
|
7089
|
-
*
|
|
7090
|
-
* * The user or role that calls this API
|
|
7091
|
-
* * After this API
|
|
7111
|
+
* Do not use the KMS console or OpenAPI to disable or delete the KMS key used for this feature while enabling or disabling encryption at rest, or after the feature is successfully enabled. Otherwise, the cluster API server becomes unavailable, which prevents you from retrieving objects such as Secrets and ServiceAccounts and affects the normal operation of your applications. For more information, see [Use Alibaba Cloud KMS to encrypt Secrets at rest](https://help.aliyun.com/document_detail/177372.html).
|
|
7112
|
+
* * The user or role that calls this API must be granted the required cluster RBAC permissions, such as O&M engineer or administrator permissions. Otherwise, the ForbiddenUpdateKMSState error code is returned.
|
|
7113
|
+
* * After this API is successfully called, the cluster status changes to Updating. After the update is complete, the cluster status changes back to Running. You must wait at least 5 minutes after an update is complete before you can call this API again for the same cluster. Otherwise, the 409 status code is returned.
|
|
7092
7114
|
*
|
|
7093
7115
|
* @param request - UpdateKMSEncryptionRequest
|
|
7094
7116
|
* @param headers - map
|
|
@@ -7122,12 +7144,12 @@ class Client extends openapi_core_1.default {
|
|
|
7122
7144
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKMSEncryptionResponse({}));
|
|
7123
7145
|
}
|
|
7124
7146
|
/**
|
|
7125
|
-
* Updates the
|
|
7147
|
+
* Updates the encryption at rest configuration for Secrets in a specified cluster.
|
|
7126
7148
|
*
|
|
7127
7149
|
* @remarks
|
|
7128
|
-
*
|
|
7129
|
-
* * The user or role that calls this API
|
|
7130
|
-
* * After this API
|
|
7150
|
+
* Do not use the KMS console or OpenAPI to disable or delete the KMS key used for this feature while enabling or disabling encryption at rest, or after the feature is successfully enabled. Otherwise, the cluster API server becomes unavailable, which prevents you from retrieving objects such as Secrets and ServiceAccounts and affects the normal operation of your applications. For more information, see [Use Alibaba Cloud KMS to encrypt Secrets at rest](https://help.aliyun.com/document_detail/177372.html).
|
|
7151
|
+
* * The user or role that calls this API must be granted the required cluster RBAC permissions, such as O&M engineer or administrator permissions. Otherwise, the ForbiddenUpdateKMSState error code is returned.
|
|
7152
|
+
* * After this API is successfully called, the cluster status changes to Updating. After the update is complete, the cluster status changes back to Running. You must wait at least 5 minutes after an update is complete before you can call this API again for the same cluster. Otherwise, the 409 status code is returned.
|
|
7131
7153
|
*
|
|
7132
7154
|
* @param request - UpdateKMSEncryptionRequest
|
|
7133
7155
|
* @returns UpdateKMSEncryptionResponse
|
|
@@ -7195,7 +7217,7 @@ class Client extends openapi_core_1.default {
|
|
|
7195
7217
|
return await this.updateNodePoolComponentWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
7196
7218
|
}
|
|
7197
7219
|
/**
|
|
7198
|
-
*
|
|
7220
|
+
* Updates a node component.
|
|
7199
7221
|
*
|
|
7200
7222
|
* @param request - UpdateNodePoolComponentInstanceRequest
|
|
7201
7223
|
* @param headers - map
|
|
@@ -7238,7 +7260,7 @@ class Client extends openapi_core_1.default {
|
|
|
7238
7260
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateNodePoolComponentInstanceResponse({}));
|
|
7239
7261
|
}
|
|
7240
7262
|
/**
|
|
7241
|
-
*
|
|
7263
|
+
* Updates a node component.
|
|
7242
7264
|
*
|
|
7243
7265
|
* @param request - UpdateNodePoolComponentInstanceRequest
|
|
7244
7266
|
* @returns UpdateNodePoolComponentInstanceResponse
|
|
@@ -7249,8 +7271,7 @@ class Client extends openapi_core_1.default {
|
|
|
7249
7271
|
return await this.updateNodePoolComponentInstanceWithOptions(clusterId, nodepoolId, name, request, headers, runtime);
|
|
7250
7272
|
}
|
|
7251
7273
|
/**
|
|
7252
|
-
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services.
|
|
7253
|
-
* 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.
|
|
7274
|
+
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services. You can use 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.
|
|
7254
7275
|
*
|
|
7255
7276
|
* @remarks
|
|
7256
7277
|
* 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).
|
|
@@ -7293,8 +7314,7 @@ class Client extends openapi_core_1.default {
|
|
|
7293
7314
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateResourcesDeleteProtectionResponse({}));
|
|
7294
7315
|
}
|
|
7295
7316
|
/**
|
|
7296
|
-
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services.
|
|
7297
|
-
* 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.
|
|
7317
|
+
* Updates the deletion protection status of a specified resource. Currently supported resource types include namespaces and services. You can use 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.
|
|
7298
7318
|
*
|
|
7299
7319
|
* @remarks
|
|
7300
7320
|
* 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).
|
|
@@ -7362,7 +7382,7 @@ class Client extends openapi_core_1.default {
|
|
|
7362
7382
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
7363
7383
|
}
|
|
7364
7384
|
/**
|
|
7365
|
-
* In an ACK cluster, non-cluster creators,
|
|
7385
|
+
* Updates the RBAC permissions of a specified Resource Access Management (RAM) user or RAM role in ACK clusters. In an ACK cluster, non-cluster creators, RAM users, and RAM roles have no RBAC permissions by default. You can invoke this operation to update the RBAC access permissions of a RAM user or role, including accessible resources, permission scopes, and preset role types, to better manage secure access control for cluster management.
|
|
7366
7386
|
*
|
|
7367
7387
|
* @remarks
|
|
7368
7388
|
* You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using full update or incremental update. A full update overwrites 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.
|
|
@@ -7397,7 +7417,7 @@ class Client extends openapi_core_1.default {
|
|
|
7397
7417
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserPermissionsResponse({}));
|
|
7398
7418
|
}
|
|
7399
7419
|
/**
|
|
7400
|
-
* In an ACK cluster, non-cluster creators,
|
|
7420
|
+
* Updates the RBAC permissions of a specified Resource Access Management (RAM) user or RAM role in ACK clusters. In an ACK cluster, non-cluster creators, RAM users, and RAM roles have no RBAC permissions by default. You can invoke this operation to update the RBAC access permissions of a RAM user or role, including accessible resources, permission scopes, and preset role types, to better manage secure access control for cluster management.
|
|
7401
7421
|
*
|
|
7402
7422
|
* @remarks
|
|
7403
7423
|
* You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using full update or incremental update. A full update overwrites 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.
|
|
@@ -7411,15 +7431,15 @@ class Client extends openapi_core_1.default {
|
|
|
7411
7431
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
7412
7432
|
}
|
|
7413
7433
|
/**
|
|
7414
|
-
* To avoid potential security and stability risks of expired cluster versions and to use new features of
|
|
7434
|
+
* Upgrades an ACK cluster. To avoid potential security and stability risks of expired cluster versions and to use new features of new cluster versions, upgrade your cluster in a timely manner following the ACK cluster version release schedule. You can call the UpgradeCluster operation to manually upgrade a cluster.
|
|
7415
7435
|
*
|
|
7416
7436
|
* @remarks
|
|
7417
7437
|
* After you successfully call the UpgradeCluster operation, the API returns the `task_id` of the upgrade task. You can manage the task by calling the following task API operations:
|
|
7418
7438
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7419
7439
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7420
7440
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7421
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7422
|
-
* >Notice: Starting July
|
|
7441
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7442
|
+
* >Notice: Starting from July 04, 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 request and response parameters of ACK cluster management OpenAPI operations and deprecation of OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
7423
7443
|
*
|
|
7424
7444
|
* @param request - UpgradeClusterRequest
|
|
7425
7445
|
* @param headers - map
|
|
@@ -7462,15 +7482,15 @@ class Client extends openapi_core_1.default {
|
|
|
7462
7482
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterResponse({}));
|
|
7463
7483
|
}
|
|
7464
7484
|
/**
|
|
7465
|
-
* To avoid potential security and stability risks of expired cluster versions and to use new features of
|
|
7485
|
+
* Upgrades an ACK cluster. To avoid potential security and stability risks of expired cluster versions and to use new features of new cluster versions, upgrade your cluster in a timely manner following the ACK cluster version release schedule. You can call the UpgradeCluster operation to manually upgrade a cluster.
|
|
7466
7486
|
*
|
|
7467
7487
|
* @remarks
|
|
7468
7488
|
* After you successfully call the UpgradeCluster operation, the API returns the `task_id` of the upgrade task. You can manage the task by calling the following task API operations:
|
|
7469
7489
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7470
7490
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7471
7491
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
7472
|
-
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7473
|
-
* >Notice: Starting July
|
|
7492
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
7493
|
+
* >Notice: Starting from July 04, 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 request and response parameters of ACK cluster management OpenAPI operations and deprecation of OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
|
|
7474
7494
|
*
|
|
7475
7495
|
* @param request - UpgradeClusterRequest
|
|
7476
7496
|
* @returns UpgradeClusterResponse
|
|
@@ -7484,9 +7504,9 @@ class Client extends openapi_core_1.default {
|
|
|
7484
7504
|
* Upgrades the versions of cluster component instances so that you can benefit from the feature optimizations in the new versions.
|
|
7485
7505
|
*
|
|
7486
7506
|
* @remarks
|
|
7487
|
-
* - Upgrading cluster component instance versions may affect your
|
|
7507
|
+
* - Upgrading cluster component instance versions may affect your business. Assess the impact before performing the operation during off-peak hours and back up relevant data in advance.
|
|
7488
7508
|
* - 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.
|
|
7489
|
-
* - Upgrade components one at a time. Confirm that one component has been upgraded
|
|
7509
|
+
* - Upgrade components one at a time. Confirm that one component has been successfully upgraded before upgrading the next.
|
|
7490
7510
|
*
|
|
7491
7511
|
* @param request - UpgradeClusterAddonsRequest
|
|
7492
7512
|
* @param headers - map
|
|
@@ -7516,9 +7536,9 @@ class Client extends openapi_core_1.default {
|
|
|
7516
7536
|
* Upgrades the versions of cluster component instances so that you can benefit from the feature optimizations in the new versions.
|
|
7517
7537
|
*
|
|
7518
7538
|
* @remarks
|
|
7519
|
-
* - Upgrading cluster component instance versions may affect your
|
|
7539
|
+
* - Upgrading cluster component instance versions may affect your business. Assess the impact before performing the operation during off-peak hours and back up relevant data in advance.
|
|
7520
7540
|
* - 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.
|
|
7521
|
-
* - Upgrade components one at a time. Confirm that one component has been upgraded
|
|
7541
|
+
* - Upgrade components one at a time. Confirm that one component has been successfully upgraded before upgrading the next.
|
|
7522
7542
|
*
|
|
7523
7543
|
* @param request - UpgradeClusterAddonsRequest
|
|
7524
7544
|
* @returns UpgradeClusterAddonsResponse
|
|
@@ -7532,7 +7552,7 @@ class Client extends openapi_core_1.default {
|
|
|
7532
7552
|
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7533
7553
|
*
|
|
7534
7554
|
* @remarks
|
|
7535
|
-
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully call the UpgradeClusterNodepool operation, the API returns a `task_id` for the upgrade task. You can manage the task by calling the following task
|
|
7555
|
+
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully 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:
|
|
7536
7556
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7537
7557
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7538
7558
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|
|
@@ -7591,7 +7611,7 @@ class Client extends openapi_core_1.default {
|
|
|
7591
7611
|
* Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7592
7612
|
*
|
|
7593
7613
|
* @remarks
|
|
7594
|
-
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully call the UpgradeClusterNodepool operation, the API returns a `task_id` for the upgrade task. You can manage the task by calling the following task
|
|
7614
|
+
* Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you successfully 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:
|
|
7595
7615
|
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
7596
7616
|
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
7597
7617
|
* - [Call ResumeTask to resume a paused task](https://help.aliyun.com/document_detail/2667987.html)
|