@alicloud/cs20151215 7.2.0 → 7.2.2
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 +274 -276
- package/dist/client.js +277 -316
- 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 +15 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +40 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +15 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js.map +1 -1
- 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 +1 -0
- package/dist/models/model.js +18 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +278 -316
- 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 +15 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +40 -0
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +15 -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 +1 -0
|
@@ -10,11 +10,9 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
-
*
|
|
15
|
-
* The peak bandwidth of the EIP.
|
|
13
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. The peak bandwidth of the EIP.
|
|
16
14
|
*
|
|
17
|
-
* Valid values: [1,100]. Unit: Mbit/s.
|
|
15
|
+
* Valid values: [1, 100]. Unit: Mbit/s.
|
|
18
16
|
*
|
|
19
17
|
* @example
|
|
20
18
|
* null
|
|
@@ -26,6 +24,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
26
24
|
* @remarks
|
|
27
25
|
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
28
26
|
*
|
|
27
|
+
* The billing method of the EIP. Valid values:
|
|
28
|
+
*
|
|
29
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
30
|
+
* - `PayByTraffic`: Pay-by-traffic.
|
|
31
|
+
*
|
|
32
|
+
* Default value: `PayByBandwidth`.
|
|
33
|
+
*
|
|
29
34
|
* @example
|
|
30
35
|
* null
|
|
31
36
|
*
|
|
@@ -36,6 +41,14 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
36
41
|
* @remarks
|
|
37
42
|
* Specifies whether to enable auto scaling. Valid values:
|
|
38
43
|
*
|
|
44
|
+
* - `true`: Enables the auto scaling feature for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant node scaling by default. Clusters of versions earlier than 1.24 use auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
45
|
+
*
|
|
46
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
47
|
+
*
|
|
48
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
49
|
+
*
|
|
50
|
+
* Default value: `false`.
|
|
51
|
+
*
|
|
39
52
|
* @example
|
|
40
53
|
* true
|
|
41
54
|
*/
|
|
@@ -44,6 +57,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
44
57
|
* @remarks
|
|
45
58
|
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
46
59
|
*
|
|
60
|
+
* - `true`: Associates an EIP.
|
|
61
|
+
* - `false`: Does not associate an EIP.
|
|
62
|
+
*
|
|
63
|
+
* Default value: `false`.
|
|
64
|
+
*
|
|
47
65
|
* @example
|
|
48
66
|
* null
|
|
49
67
|
*
|
|
@@ -52,7 +70,9 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
52
70
|
isBondEip?: boolean;
|
|
53
71
|
/**
|
|
54
72
|
* @remarks
|
|
55
|
-
* The maximum number of instances
|
|
73
|
+
* The maximum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
74
|
+
*
|
|
75
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
56
76
|
*
|
|
57
77
|
* @example
|
|
58
78
|
* 10
|
|
@@ -64,8 +84,8 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
64
84
|
*
|
|
65
85
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
66
86
|
*
|
|
67
|
-
* > - If the minimum number of instances is not 0, the
|
|
68
|
-
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the
|
|
87
|
+
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
88
|
+
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the elastic scaling feature takes effect.
|
|
69
89
|
*
|
|
70
90
|
* @example
|
|
71
91
|
* 2
|
|
@@ -75,6 +95,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
75
95
|
* @remarks
|
|
76
96
|
* The auto scaling type, classified by instance type. Valid values:
|
|
77
97
|
*
|
|
98
|
+
* - `cpu`: Regular instance type.
|
|
99
|
+
* - `gpu`: GPU instance type.
|
|
100
|
+
* - `gpushare`: GPU sharing type.
|
|
101
|
+
* - `spot`: Spot instance type.
|
|
102
|
+
*
|
|
103
|
+
* Default value: `cpu`.
|
|
104
|
+
*
|
|
78
105
|
* @example
|
|
79
106
|
* cpu
|
|
80
107
|
*
|
|
@@ -117,7 +144,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
117
144
|
export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
118
145
|
/**
|
|
119
146
|
* @remarks
|
|
120
|
-
* Specifies whether to enable automatic addition
|
|
147
|
+
* Specifies whether to enable automatic addition of the Lingjun AI Computing Service node pool. (Not effective)
|
|
121
148
|
*/
|
|
122
149
|
autoAttachEnabled?: string;
|
|
123
150
|
static names(): { [key: string]: string } {
|
|
@@ -144,7 +171,7 @@ export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
144
171
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
145
172
|
/**
|
|
146
173
|
* @remarks
|
|
147
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
174
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
148
175
|
*
|
|
149
176
|
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
150
177
|
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
@@ -157,7 +184,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
157
184
|
cmsEnabled?: boolean;
|
|
158
185
|
/**
|
|
159
186
|
* @remarks
|
|
160
|
-
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6
|
|
187
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
188
|
+
*
|
|
189
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
190
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
191
|
+
*
|
|
192
|
+
* Default value: `none`.
|
|
161
193
|
*
|
|
162
194
|
* @example
|
|
163
195
|
* none
|
|
@@ -166,11 +198,18 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
166
198
|
/**
|
|
167
199
|
* @remarks
|
|
168
200
|
* The node labels. You can add labels to the nodes in the Kubernetes cluster. Label definition rules:
|
|
201
|
+
*
|
|
202
|
+
* - Labels are case-sensitive key-value pairs. You can set up to 20 labels.
|
|
203
|
+
* - Label keys must be unique and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. Label keys and label values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
169
204
|
*/
|
|
170
205
|
labels?: Tag[];
|
|
171
206
|
/**
|
|
172
207
|
* @remarks
|
|
173
|
-
* The custom node name parameter. A node name consists of three parts: prefix + node IP
|
|
208
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
209
|
+
*
|
|
210
|
+
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit. The node IP is the complete private IP address of the node.
|
|
211
|
+
*
|
|
212
|
+
* The parameter contains four parts separated by commas. For example, if you pass in the string "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
|
|
174
213
|
*
|
|
175
214
|
* @example
|
|
176
215
|
* customized,aliyun,ip,com
|
|
@@ -186,11 +225,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
186
225
|
preUserData?: string;
|
|
187
226
|
/**
|
|
188
227
|
* @remarks
|
|
189
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
228
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
190
229
|
*
|
|
191
|
-
* - containerd: Recommended.
|
|
192
|
-
* - Sandboxed-Container.runv: Sandboxed container
|
|
193
|
-
* - docker: No longer maintained.
|
|
230
|
+
* - containerd: Recommended. Supported by all cluster versions.
|
|
231
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
232
|
+
* - docker: No longer maintained. Supported by clusters of version 1.22 and earlier.
|
|
194
233
|
*
|
|
195
234
|
* Default value: containerd.
|
|
196
235
|
*
|
|
@@ -208,12 +247,16 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
208
247
|
runtimeVersion?: string;
|
|
209
248
|
/**
|
|
210
249
|
* @remarks
|
|
211
|
-
* The
|
|
250
|
+
* The taint configuration for nodes.
|
|
212
251
|
*/
|
|
213
252
|
taints?: Taint[];
|
|
214
253
|
/**
|
|
215
254
|
* @remarks
|
|
216
|
-
* Specifies whether the nodes added
|
|
255
|
+
* Specifies whether the nodes added after the scale-out are unschedulable.
|
|
256
|
+
*
|
|
257
|
+
* - true: Unschedulable.
|
|
258
|
+
*
|
|
259
|
+
* - false: Schedulable.
|
|
217
260
|
*
|
|
218
261
|
* @example
|
|
219
262
|
* false
|
|
@@ -221,7 +264,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
221
264
|
unschedulable?: boolean;
|
|
222
265
|
/**
|
|
223
266
|
* @remarks
|
|
224
|
-
* The instance user data. After a node joins the cluster, the specified user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
267
|
+
* The instance user data. After a node joins the cluster, the specified instance user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
225
268
|
*
|
|
226
269
|
* @example
|
|
227
270
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -275,12 +318,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
275
318
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
276
319
|
/**
|
|
277
320
|
* @remarks
|
|
278
|
-
* Specifies whether
|
|
321
|
+
* Specifies whether manual approval is required for node repair.
|
|
279
322
|
*/
|
|
280
323
|
approvalRequired?: boolean;
|
|
281
324
|
/**
|
|
282
325
|
* @remarks
|
|
283
|
-
* The auto repair policy
|
|
326
|
+
* The ID of the auto repair policy.
|
|
284
327
|
*
|
|
285
328
|
* @example
|
|
286
329
|
* r-xxxxxxxxxx
|
|
@@ -288,7 +331,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
288
331
|
autoRepairPolicyId?: string;
|
|
289
332
|
/**
|
|
290
333
|
* @remarks
|
|
291
|
-
* The maximum number of
|
|
334
|
+
* The maximum number of parallel repairs. When a large number of unhealthy nodes exist in the node pool, this specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a quantity (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value on the backend: 1.
|
|
292
335
|
*
|
|
293
336
|
* @example
|
|
294
337
|
* 5
|
|
@@ -296,7 +339,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
296
339
|
maxParallelRepairingNodes?: string;
|
|
297
340
|
/**
|
|
298
341
|
* @remarks
|
|
299
|
-
* The circuit breaker condition
|
|
342
|
+
* The self-healing circuit breaker condition. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. You can specify a quantity (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default circuit breaker condition on the backend: 100%.
|
|
300
343
|
*
|
|
301
344
|
* @example
|
|
302
345
|
* 20%
|
|
@@ -304,7 +347,12 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
304
347
|
maxUnhealthyNodesThreshold?: string;
|
|
305
348
|
/**
|
|
306
349
|
* @remarks
|
|
307
|
-
* Specifies whether to allow node
|
|
350
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
351
|
+
*
|
|
352
|
+
* - `true`: Allows node restarts.
|
|
353
|
+
* - `false`: Does not allow node restarts.
|
|
354
|
+
*
|
|
355
|
+
* Default value: `true`.
|
|
308
356
|
*
|
|
309
357
|
* @example
|
|
310
358
|
* true
|
|
@@ -342,7 +390,11 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
342
390
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
343
391
|
/**
|
|
344
392
|
* @remarks
|
|
345
|
-
* Specifies whether to allow
|
|
393
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
394
|
+
* - `true`: Allows automatic kubelet upgrade.
|
|
395
|
+
* - `false`: Does not allow automatic kubelet upgrade.
|
|
396
|
+
*
|
|
397
|
+
* Default value: `true`.
|
|
346
398
|
*
|
|
347
399
|
* @example
|
|
348
400
|
* true
|
|
@@ -350,7 +402,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
350
402
|
autoUpgradeKubelet?: boolean;
|
|
351
403
|
/**
|
|
352
404
|
* @remarks
|
|
353
|
-
* Specifies whether to allow
|
|
405
|
+
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
406
|
+
* - `true`: Allows automatic operating system upgrade.
|
|
407
|
+
* - `false`: Does not allow automatic operating system upgrade.
|
|
408
|
+
*
|
|
409
|
+
* Default value: `false`.
|
|
354
410
|
*
|
|
355
411
|
* @example
|
|
356
412
|
* false
|
|
@@ -358,7 +414,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
358
414
|
autoUpgradeOs?: boolean;
|
|
359
415
|
/**
|
|
360
416
|
* @remarks
|
|
361
|
-
* Specifies whether to allow
|
|
417
|
+
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
418
|
+
* - `true`: Allows automatic runtime upgrade.
|
|
419
|
+
* - `false`: Does not allow automatic runtime upgrade.
|
|
420
|
+
*
|
|
421
|
+
* Default value: `true`.
|
|
362
422
|
*
|
|
363
423
|
* @example
|
|
364
424
|
* false
|
|
@@ -392,7 +452,9 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
392
452
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
393
453
|
/**
|
|
394
454
|
* @remarks
|
|
395
|
-
*
|
|
455
|
+
* The packages to exclude during vulnerability fix.
|
|
456
|
+
*
|
|
457
|
+
* Default value: `kernel`.
|
|
396
458
|
*
|
|
397
459
|
* @example
|
|
398
460
|
* kernel
|
|
@@ -401,10 +463,10 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
401
463
|
/**
|
|
402
464
|
* @remarks
|
|
403
465
|
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
404
|
-
* - `true`:
|
|
405
|
-
* - `false`:
|
|
466
|
+
* - `true`: Allows node restarts.
|
|
467
|
+
* - `false`: Does not allow node restarts.
|
|
406
468
|
*
|
|
407
|
-
* Default value: `true
|
|
469
|
+
* Default value: `true`.
|
|
408
470
|
*
|
|
409
471
|
* @example
|
|
410
472
|
* true
|
|
@@ -412,7 +474,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
412
474
|
restartNode?: boolean;
|
|
413
475
|
/**
|
|
414
476
|
* @remarks
|
|
415
|
-
* The vulnerability levels
|
|
477
|
+
* The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
478
|
+
*
|
|
479
|
+
* - `asap`: high
|
|
480
|
+
* - `later`: medium
|
|
481
|
+
* - `nntf`: low
|
|
482
|
+
*
|
|
483
|
+
* Default value: `asap`.
|
|
416
484
|
*
|
|
417
485
|
* @example
|
|
418
486
|
* asap,nntf
|
|
@@ -448,6 +516,13 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
448
516
|
* @remarks
|
|
449
517
|
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
450
518
|
*
|
|
519
|
+
* Specifies whether to enable automatic upgrade:
|
|
520
|
+
*
|
|
521
|
+
* - true: Enabled.
|
|
522
|
+
* - false: Disabled.
|
|
523
|
+
*
|
|
524
|
+
* Default value: `true`.
|
|
525
|
+
*
|
|
451
526
|
* @example
|
|
452
527
|
* true
|
|
453
528
|
*
|
|
@@ -458,13 +533,21 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
458
533
|
* @remarks
|
|
459
534
|
* The maximum number of unavailable nodes.
|
|
460
535
|
*
|
|
536
|
+
* Valid values: [1,1000\\]
|
|
537
|
+
*
|
|
538
|
+
* Default value: 1.
|
|
539
|
+
*
|
|
461
540
|
* @example
|
|
462
541
|
* 1
|
|
463
542
|
*/
|
|
464
543
|
maxUnavailable?: number;
|
|
465
544
|
/**
|
|
466
545
|
* @remarks
|
|
467
|
-
* The number of extra nodes.
|
|
546
|
+
* The number of extra nodes. Specify either this parameter or `surge_percentage`.
|
|
547
|
+
*
|
|
548
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster load.
|
|
549
|
+
*
|
|
550
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
468
551
|
*
|
|
469
552
|
* @example
|
|
470
553
|
* 5
|
|
@@ -472,7 +555,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
472
555
|
surge?: number;
|
|
473
556
|
/**
|
|
474
557
|
* @remarks
|
|
475
|
-
* The percentage of extra nodes.
|
|
558
|
+
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
559
|
+
*
|
|
560
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage of extra nodes is set to 50% and 6 nodes exist, the number of extra nodes = 50% × 6 = 3.
|
|
476
561
|
*
|
|
477
562
|
* @example
|
|
478
563
|
* 0
|
|
@@ -515,9 +600,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
515
600
|
* @remarks
|
|
516
601
|
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
517
602
|
*
|
|
518
|
-
* - `true`:
|
|
603
|
+
* - `true`: Enables automatic repair.
|
|
519
604
|
*
|
|
520
|
-
* - `false`:
|
|
605
|
+
* - `false`: Disables automatic repair.
|
|
521
606
|
*
|
|
522
607
|
* Default value: `true`.
|
|
523
608
|
*
|
|
@@ -533,6 +618,10 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
533
618
|
/**
|
|
534
619
|
* @remarks
|
|
535
620
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
621
|
+
* - `true`: Enables automatic upgrade.
|
|
622
|
+
* - `false`: Disables automatic upgrade.
|
|
623
|
+
*
|
|
624
|
+
* Default value: `true`.
|
|
536
625
|
*
|
|
537
626
|
* @example
|
|
538
627
|
* true
|
|
@@ -547,6 +636,11 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
547
636
|
* @remarks
|
|
548
637
|
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
549
638
|
*
|
|
639
|
+
* - `true`: Allows automatic CVE fixes.
|
|
640
|
+
* - `false`: Does not allow automatic CVE fixes.
|
|
641
|
+
*
|
|
642
|
+
* Default value: `true`.
|
|
643
|
+
*
|
|
550
644
|
* @example
|
|
551
645
|
* true
|
|
552
646
|
*/
|
|
@@ -565,6 +659,11 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
565
659
|
* @remarks
|
|
566
660
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
567
661
|
*
|
|
662
|
+
* - `true`: Enables the managed node pool.
|
|
663
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
664
|
+
*
|
|
665
|
+
* Default value: `false`.
|
|
666
|
+
*
|
|
568
667
|
* @example
|
|
569
668
|
* true
|
|
570
669
|
*/
|
|
@@ -573,7 +672,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
573
672
|
* @remarks
|
|
574
673
|
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
575
674
|
*
|
|
576
|
-
* The
|
|
675
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
577
676
|
*
|
|
578
677
|
* @deprecated
|
|
579
678
|
*/
|
|
@@ -642,7 +741,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
642
741
|
name?: string;
|
|
643
742
|
/**
|
|
644
743
|
* @remarks
|
|
645
|
-
* The resource group ID of the node pool. Instances scaled out
|
|
744
|
+
* The resource group ID of the node pool. Instances scaled out from the node pool belong to this resource group.
|
|
745
|
+
*
|
|
746
|
+
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on different business scenarios.
|
|
646
747
|
*
|
|
647
748
|
* @example
|
|
648
749
|
* rg-acfmyvw3wjm****
|
|
@@ -682,10 +783,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
682
783
|
id?: string;
|
|
683
784
|
/**
|
|
684
785
|
* @remarks
|
|
685
|
-
* The
|
|
686
|
-
* - `Open`:
|
|
687
|
-
* - `Target`:
|
|
688
|
-
* - `None`:
|
|
786
|
+
* The private node pool type, which specifies the private pool capacity option for launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launches. Valid values:
|
|
787
|
+
* - `Open`: Open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
788
|
+
* - `Target`: Targeted mode. The instance is launched using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
789
|
+
* - `None`: No private pool. The instance launch does not use private pool capacity.
|
|
689
790
|
*
|
|
690
791
|
* @example
|
|
691
792
|
* Open
|
|
@@ -722,12 +823,10 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
722
823
|
privatePoolIds?: string[];
|
|
723
824
|
/**
|
|
724
825
|
* @remarks
|
|
725
|
-
* The resource pool strategy used when instances
|
|
726
|
-
*
|
|
727
|
-
*
|
|
728
|
-
*
|
|
729
|
-
* - None: no resource pool strategy is used.
|
|
730
|
-
*
|
|
826
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, as well as public pools, for instance launches. Valid values:
|
|
827
|
+
* PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances.
|
|
828
|
+
* PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
|
|
829
|
+
* None: no resource pool strategy is used.
|
|
731
830
|
* Default value: None.
|
|
732
831
|
*
|
|
733
832
|
* @example
|
|
@@ -763,7 +862,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
763
862
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
764
863
|
/**
|
|
765
864
|
* @remarks
|
|
766
|
-
* The spot instance
|
|
865
|
+
* The instance type of the spot instance.
|
|
767
866
|
*
|
|
768
867
|
* @example
|
|
769
868
|
* ecs.c6.large
|
|
@@ -771,7 +870,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
771
870
|
instanceType?: string;
|
|
772
871
|
/**
|
|
773
872
|
* @remarks
|
|
774
|
-
* The
|
|
873
|
+
* The price limit per instance.
|
|
775
874
|
*
|
|
776
875
|
* <props="china">Unit: CNY/hour.
|
|
777
876
|
*
|
|
@@ -811,13 +910,22 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
811
910
|
* @remarks
|
|
812
911
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
813
912
|
*
|
|
913
|
+
* - `true`: Auto-renewal is enabled.
|
|
914
|
+
* - `false`: Auto-renewal is disabled.
|
|
915
|
+
*
|
|
916
|
+
* Default value: `false`.
|
|
917
|
+
*
|
|
814
918
|
* @example
|
|
815
919
|
* true
|
|
816
920
|
*/
|
|
817
921
|
autoRenew?: boolean;
|
|
818
922
|
/**
|
|
819
923
|
* @remarks
|
|
820
|
-
* The
|
|
924
|
+
* The auto-renewal period for a single renewal. Valid values:
|
|
925
|
+
* - When PeriodUnit=Week: 1, 2, and 3.
|
|
926
|
+
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
927
|
+
*
|
|
928
|
+
* Default value: 1.
|
|
821
929
|
*
|
|
822
930
|
* @example
|
|
823
931
|
* 1
|
|
@@ -825,10 +933,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
825
933
|
autoRenewPeriod?: number;
|
|
826
934
|
/**
|
|
827
935
|
* @remarks
|
|
828
|
-
*
|
|
936
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances if spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
829
937
|
*
|
|
830
|
-
* - `true`:
|
|
831
|
-
* - `false`:
|
|
938
|
+
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
939
|
+
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
832
940
|
*
|
|
833
941
|
* @example
|
|
834
942
|
* true
|
|
@@ -836,12 +944,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
836
944
|
compensateWithOnDemand?: boolean;
|
|
837
945
|
/**
|
|
838
946
|
* @remarks
|
|
839
|
-
* The data cloud disk configurations for nodes. Valid values: 0 to 10. You can
|
|
947
|
+
* The data cloud disk configurations for nodes. Valid values: 0 to 10. You can attach up to 10 data cloud disks.
|
|
840
948
|
*/
|
|
841
949
|
dataDisks?: DataDisk[];
|
|
842
950
|
/**
|
|
843
951
|
* @remarks
|
|
844
|
-
* The deployment set to which the ECS instances created by the node pool belong. This setting takes effect only
|
|
952
|
+
* The deployment set to which the ECS instances created by the node pool belong. This setting takes effect only for new nodes. The deployment set of existing nodes is not changed.
|
|
845
953
|
*
|
|
846
954
|
* @example
|
|
847
955
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -851,6 +959,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
851
959
|
* @remarks
|
|
852
960
|
* The desired number of nodes in the node pool.
|
|
853
961
|
*
|
|
962
|
+
* The total number of nodes that the node pool should maintain. Configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired number of nodes.
|
|
963
|
+
*
|
|
964
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
965
|
+
*
|
|
854
966
|
* @example
|
|
855
967
|
* 2
|
|
856
968
|
*/
|
|
@@ -870,7 +982,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
870
982
|
enableHighDensityMode?: boolean;
|
|
871
983
|
/**
|
|
872
984
|
* @remarks
|
|
873
|
-
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system.
|
|
985
|
+
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system. By default, the latest system image is used.
|
|
874
986
|
*
|
|
875
987
|
* @example
|
|
876
988
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -888,7 +1000,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
888
1000
|
* - `CentOS`: CentOS image.
|
|
889
1001
|
* - `Windows`: Windows image.
|
|
890
1002
|
* - `WindowsCore`: WindowsCore image.
|
|
891
|
-
* - `ContainerOS`:
|
|
1003
|
+
* - `ContainerOS`: container-optimized image.
|
|
892
1004
|
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
893
1005
|
*
|
|
894
1006
|
* @example
|
|
@@ -899,31 +1011,41 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
899
1011
|
* @remarks
|
|
900
1012
|
* The billing method of nodes in the node pool. Valid values:
|
|
901
1013
|
*
|
|
1014
|
+
* - `PrePaid`: subscription.
|
|
1015
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1016
|
+
*
|
|
1017
|
+
* Default value: `PostPaid`.
|
|
1018
|
+
*
|
|
902
1019
|
* @example
|
|
903
1020
|
* PostPaid
|
|
904
1021
|
*/
|
|
905
1022
|
instanceChargeType?: string;
|
|
906
1023
|
/**
|
|
907
1024
|
* @remarks
|
|
908
|
-
* The instance attribute
|
|
1025
|
+
* The instance attribute configuration.
|
|
909
1026
|
*/
|
|
910
1027
|
instancePatterns?: InstancePatterns[];
|
|
911
1028
|
/**
|
|
912
1029
|
* @remarks
|
|
913
|
-
* The list of node instance types. You can
|
|
1030
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first instance type until the creation succeeds. The actual instance type purchased may vary depending on inventory availability.
|
|
1031
|
+
*
|
|
1032
|
+
* Number of supported instance types: [1,10].
|
|
914
1033
|
*/
|
|
915
1034
|
instanceTypes?: string[];
|
|
916
1035
|
/**
|
|
917
1036
|
* @remarks
|
|
918
1037
|
* The billing method for public IP addresses. Valid values:
|
|
919
1038
|
*
|
|
1039
|
+
* - `PayByBandwidth`: billed by fixed bandwidth.
|
|
1040
|
+
* - `PayByTraffic`: billed by traffic usage.
|
|
1041
|
+
*
|
|
920
1042
|
* @example
|
|
921
1043
|
* PayByBandwidth
|
|
922
1044
|
*/
|
|
923
1045
|
internetChargeType?: string;
|
|
924
1046
|
/**
|
|
925
1047
|
* @remarks
|
|
926
|
-
* The maximum outbound bandwidth for
|
|
1048
|
+
* The maximum outbound public bandwidth for nodes, in Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
927
1049
|
*
|
|
928
1050
|
* @example
|
|
929
1051
|
* 5
|
|
@@ -931,7 +1053,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
931
1053
|
internetMaxBandwidthOut?: number;
|
|
932
1054
|
/**
|
|
933
1055
|
* @remarks
|
|
934
|
-
* The key pair name. Specify either this parameter or `login_password`.
|
|
1056
|
+
* The key pair name. Specify either this parameter or `login_password`. If the node pool is a managed node pool, only `key_pair` is supported.
|
|
935
1057
|
*
|
|
936
1058
|
* @example
|
|
937
1059
|
* pro-nodepool
|
|
@@ -949,13 +1071,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
949
1071
|
* @remarks
|
|
950
1072
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
951
1073
|
*
|
|
1074
|
+
* - `PRIORITY`: scales in or out based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1075
|
+
*
|
|
1076
|
+
* - `COST_OPTIMIZED`: attempts to create instances in ascending order of vCPU unit price. When the scaling configuration sets multiple instance types with the spot billable methods, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1077
|
+
*
|
|
1078
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
|
|
1079
|
+
*
|
|
1080
|
+
* - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1081
|
+
*
|
|
1082
|
+
* Default value: `PRIORITY`.
|
|
1083
|
+
*
|
|
952
1084
|
* @example
|
|
953
1085
|
* BALANCE
|
|
954
1086
|
*/
|
|
955
1087
|
multiAzPolicy?: string;
|
|
956
1088
|
/**
|
|
957
1089
|
* @remarks
|
|
958
|
-
* The minimum number of pay-as-you-go instances required
|
|
1090
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created first when the number of pay-as-you-go instances is less than this value.
|
|
959
1091
|
*
|
|
960
1092
|
* @example
|
|
961
1093
|
* 0
|
|
@@ -963,7 +1095,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
963
1095
|
onDemandBaseCapacity?: number;
|
|
964
1096
|
/**
|
|
965
1097
|
* @remarks
|
|
966
|
-
* The percentage of pay-as-you-go instances among the instances
|
|
1098
|
+
* The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) is met. Valid values: [0,100\\].
|
|
967
1099
|
*
|
|
968
1100
|
* @example
|
|
969
1101
|
* 20
|
|
@@ -971,7 +1103,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
971
1103
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
972
1104
|
/**
|
|
973
1105
|
* @remarks
|
|
974
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid
|
|
1106
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
975
1107
|
*
|
|
976
1108
|
* - When `period_unit=Week`, valid values of `period`: 1, 2, 3, and 4.
|
|
977
1109
|
* - When `period_unit=Month`, valid values of `period`: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
@@ -984,6 +1116,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
984
1116
|
* @remarks
|
|
985
1117
|
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
986
1118
|
*
|
|
1119
|
+
* - `Month`: the billing cycle is measured in months.
|
|
1120
|
+
* - `Week`: the billing cycle is measured in weeks.
|
|
1121
|
+
*
|
|
1122
|
+
* Default value: `Month`.
|
|
1123
|
+
*
|
|
987
1124
|
* @example
|
|
988
1125
|
* Month
|
|
989
1126
|
*/
|
|
@@ -1012,18 +1149,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1012
1149
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1013
1150
|
/**
|
|
1014
1151
|
* @remarks
|
|
1015
|
-
* The list of RDS instances.
|
|
1152
|
+
* The list of ApsaraDB RDS instances.
|
|
1016
1153
|
*/
|
|
1017
1154
|
rdsInstances?: string[];
|
|
1018
1155
|
/**
|
|
1019
1156
|
* @remarks
|
|
1020
|
-
* The resource
|
|
1157
|
+
* The resource pool and resource pool strategy used when creating instances. After you set this parameter, note the following:
|
|
1158
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1159
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1021
1160
|
*/
|
|
1022
1161
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1023
1162
|
/**
|
|
1024
1163
|
* @remarks
|
|
1025
1164
|
* The scaling group mode. Valid values:
|
|
1026
1165
|
*
|
|
1166
|
+
* - `release`: standard mode. Scales in or out by creating or releasing ECS instances based on resource usage.
|
|
1167
|
+
* - `recycle`: swift mode. Scales in or out by creating, stopping, or starting ECS instances, which improves the speed of subsequent scaling operations. Stopped instances are not charged for compute resources, but storage fees still apply, except for instances with local disks.
|
|
1168
|
+
*
|
|
1027
1169
|
* @example
|
|
1028
1170
|
* release
|
|
1029
1171
|
*/
|
|
@@ -1035,7 +1177,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1035
1177
|
securityGroupIds?: string[];
|
|
1036
1178
|
/**
|
|
1037
1179
|
* @remarks
|
|
1038
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1180
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1039
1181
|
*
|
|
1040
1182
|
* @example
|
|
1041
1183
|
* 5
|
|
@@ -1043,7 +1185,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1043
1185
|
spotInstancePools?: number;
|
|
1044
1186
|
/**
|
|
1045
1187
|
* @remarks
|
|
1046
|
-
* Specifies whether to enable spot instance supplementation. If enabled, when
|
|
1188
|
+
* Specifies whether to enable spot instance supplementation. If enabled, when a system message is received indicating that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that is to be reclaimed. Valid values:
|
|
1189
|
+
*
|
|
1190
|
+
* - `true`: Enables spot instance supplementation.
|
|
1191
|
+
* - `false`: Disables spot instance supplementation.
|
|
1047
1192
|
*
|
|
1048
1193
|
* @example
|
|
1049
1194
|
* false
|
|
@@ -1058,13 +1203,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1058
1203
|
* @remarks
|
|
1059
1204
|
* The type of spot instance. Valid values:
|
|
1060
1205
|
*
|
|
1206
|
+
* - `NoSpot`: non-spot instance.
|
|
1207
|
+
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1208
|
+
* - `SpotAsPriceGo`: spot instance priced at the market price at the time of purchase.
|
|
1209
|
+
*
|
|
1210
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1211
|
+
*
|
|
1061
1212
|
* @example
|
|
1062
1213
|
* SpotWithPriceLimit
|
|
1063
1214
|
*/
|
|
1064
1215
|
spotStrategy?: string;
|
|
1065
1216
|
/**
|
|
1066
1217
|
* @remarks
|
|
1067
|
-
* Specifies whether to enable burst (
|
|
1218
|
+
* Specifies whether to enable burst (performance bursting) for the node system cloud disk. Valid values:
|
|
1219
|
+
* - true: Enabled. After burst is enabled, the cloud disk temporarily improves its performance to handle sudden data read/write pressure from fluctuating workloads until the workload returns to a steady state.
|
|
1220
|
+
* - false: Disabled.
|
|
1221
|
+
*
|
|
1222
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1068
1223
|
*
|
|
1069
1224
|
* @example
|
|
1070
1225
|
* true
|
|
@@ -1072,17 +1227,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1072
1227
|
systemDiskBurstingEnabled?: boolean;
|
|
1073
1228
|
/**
|
|
1074
1229
|
* @remarks
|
|
1075
|
-
* The multiple cloud disk types for the system cloud disk. If
|
|
1230
|
+
* The multiple cloud disk types for the system cloud disk. If the cloud disk type with a higher priority cannot be used, the system automatically attempts the next priority cloud disk type to create the system cloud disk.
|
|
1076
1231
|
*/
|
|
1077
1232
|
systemDiskCategories?: string[];
|
|
1078
1233
|
/**
|
|
1079
1234
|
* @remarks
|
|
1080
|
-
* The type of the system cloud disk
|
|
1235
|
+
* The type of the node system cloud disk. Valid values:
|
|
1081
1236
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1082
1237
|
* - `cloud_ssd`: standard SSD.
|
|
1083
1238
|
* - `cloud_essd`: ESSD.
|
|
1084
1239
|
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1085
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1240
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1086
1241
|
*
|
|
1087
1242
|
* Default value: `cloud_efficiency`.
|
|
1088
1243
|
*
|
|
@@ -1092,7 +1247,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1092
1247
|
systemDiskCategory?: string;
|
|
1093
1248
|
/**
|
|
1094
1249
|
* @remarks
|
|
1095
|
-
* The encryption algorithm used by the system cloud disk. Valid
|
|
1250
|
+
* The encryption algorithm used by the system cloud disk. Valid value: aes-256.
|
|
1096
1251
|
*
|
|
1097
1252
|
* @example
|
|
1098
1253
|
* aes-256
|
|
@@ -1102,6 +1257,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1102
1257
|
* @remarks
|
|
1103
1258
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1104
1259
|
*
|
|
1260
|
+
* - true: Encrypted.
|
|
1261
|
+
*
|
|
1262
|
+
* - false: Not encrypted.
|
|
1263
|
+
*
|
|
1105
1264
|
* @example
|
|
1106
1265
|
* false
|
|
1107
1266
|
*/
|
|
@@ -1116,7 +1275,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1116
1275
|
systemDiskKmsKeyId?: string;
|
|
1117
1276
|
/**
|
|
1118
1277
|
* @remarks
|
|
1119
|
-
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level
|
|
1278
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1279
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1280
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1281
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1282
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1120
1283
|
*
|
|
1121
1284
|
* @example
|
|
1122
1285
|
* PL1
|
|
@@ -1124,7 +1287,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1124
1287
|
systemDiskPerformanceLevel?: string;
|
|
1125
1288
|
/**
|
|
1126
1289
|
* @remarks
|
|
1127
|
-
* The provisioned read/write IOPS
|
|
1290
|
+
* The provisioned read/write IOPS of the node system cloud disk.
|
|
1291
|
+
*
|
|
1292
|
+
* Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1293
|
+
*
|
|
1294
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1128
1295
|
*
|
|
1129
1296
|
* @example
|
|
1130
1297
|
* 1000
|
|
@@ -1132,7 +1299,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1132
1299
|
systemDiskProvisionedIops?: number;
|
|
1133
1300
|
/**
|
|
1134
1301
|
* @remarks
|
|
1135
|
-
* The size of the node system cloud disk
|
|
1302
|
+
* The size of the node system cloud disk, in GiB.
|
|
1303
|
+
*
|
|
1304
|
+
* Valid values: [20,2048\\].
|
|
1305
|
+
*
|
|
1306
|
+
* The value of this parameter must be greater than or equal to max{20, ImageSize}.
|
|
1307
|
+
*
|
|
1308
|
+
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1136
1309
|
*
|
|
1137
1310
|
* @example
|
|
1138
1311
|
* 120
|
|
@@ -1148,7 +1321,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1148
1321
|
systemDiskSnapshotPolicyId?: string;
|
|
1149
1322
|
/**
|
|
1150
1323
|
* @remarks
|
|
1151
|
-
*
|
|
1324
|
+
* The tags that are added only to ECS instances.
|
|
1325
|
+
*
|
|
1326
|
+
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1152
1327
|
*/
|
|
1153
1328
|
tags?: Tag[];
|
|
1154
1329
|
/**
|
|
@@ -1304,10 +1479,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1304
1479
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1305
1480
|
/**
|
|
1306
1481
|
* @remarks
|
|
1307
|
-
* Specifies whether to enable
|
|
1482
|
+
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1308
1483
|
*
|
|
1309
1484
|
* - `true`: Enabled.
|
|
1310
|
-
* - `false`:
|
|
1485
|
+
* - `false`: Disabled.
|
|
1311
1486
|
*
|
|
1312
1487
|
* Default value: `false`.
|
|
1313
1488
|
*
|
|
@@ -1352,7 +1527,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1352
1527
|
concurrency?: boolean;
|
|
1353
1528
|
/**
|
|
1354
1529
|
* @remarks
|
|
1355
|
-
* The Lingjun node pool configuration. (Not effective)
|
|
1530
|
+
* The Lingjun AI Computing Service node pool configuration. (Not effective)
|
|
1356
1531
|
*/
|
|
1357
1532
|
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1358
1533
|
/**
|