@alicloud/cs20151215 6.6.5 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +456 -446
- package/dist/client.js +530 -446
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +59 -38
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesResponseBody.d.ts +4 -4
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +14 -12
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -6
- package/dist/models/CheckControlPlaneLogEnableResponseBody.js.map +1 -1
- package/dist/models/CheckServiceRoleRequest.d.ts +2 -2
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -9
- package/dist/models/CheckServiceRoleResponseBody.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +3 -4
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsShrinkRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +17 -17
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +42 -55
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +20 -24
- package/dist/models/CreateClusterDiagnosisRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisResponseBody.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +2 -2
- package/dist/models/CreateClusterNodePoolRequest.d.ts +349 -311
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/CreateClusterRequest.d.ts +270 -347
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +10 -9
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +8 -7
- package/dist/models/CreateTriggerRequest.js.map +1 -1
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteAlertContactGroupShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +5 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +10 -13
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +18 -27
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterShrinkRequest.d.ts +9 -11
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeletePolicyInstanceRequest.d.ts +1 -1
- package/dist/models/DeletePolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +5 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonRequest.d.ts +18 -7
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +14 -13
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +13 -11
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +4 -4
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +19 -19
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +11 -11
- package/dist/models/DescribeClusterAddonMetadataResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -16
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +96 -123
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +3 -3
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +22 -41
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +231 -310
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +251 -329
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +24 -9
- package/dist/models/DescribeClusterNodesRequest.js +6 -0
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +51 -38
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +3 -3
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -48
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -10
- package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +13 -19
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -30
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +40 -67
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +18 -26
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +52 -77
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -2
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +7 -11
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +22 -38
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +31 -50
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +6 -4
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeExternalAgentResponseBody.d.ts +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +24 -25
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +31 -32
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +4 -4
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +13 -18
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +17 -21
- package/dist/models/DescribePolicyDetailsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +30 -34
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesRequest.d.ts +2 -2
- package/dist/models/DescribePolicyInstancesResponse.d.ts +20 -19
- package/dist/models/DescribePolicyInstancesResponse.js.map +1 -1
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +7 -7
- package/dist/models/DescribeRegionsRequest.d.ts +3 -21
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +6 -5
- package/dist/models/DescribeResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +5 -6
- package/dist/models/DescribeResourcesDeleteProtectionResponse.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +6 -7
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +20 -26
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +16 -14
- package/dist/models/DescribeTemplateAttributeResponse.js.map +1 -1
- package/dist/models/DescribeTemplatesRequest.d.ts +7 -6
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +19 -20
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeTriggerRequest.d.ts +8 -7
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +12 -13
- package/dist/models/DescribeTriggerResponse.js.map +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +9 -4
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/FixNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +21 -14
- package/dist/models/GetClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +5 -4
- package/dist/models/GetClusterAuditProjectResponseBody.js.map +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +7 -7
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +6 -12
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.js.map +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +14 -26
- package/dist/models/GetClusterDiagnosisResultResponseBody.js.map +1 -1
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +2 -2
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +15 -18
- package/dist/models/GetClusterInspectReportDetailRequest.js.map +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +30 -34
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +11 -10
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +18 -19
- package/dist/models/GetUpgradeStatusResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +19 -26
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +4 -4
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +10 -10
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListAddonsRequest.d.ts +17 -6
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +24 -15
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +20 -20
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +7 -8
- package/dist/models/ListClusterAddonInstancesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksRequest.d.ts +9 -2
- package/dist/models/ListClusterChecksRequest.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +7 -7
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +11 -11
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +9 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +32 -28
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +14 -14
- package/dist/models/ListOperationPlansRequest.d.ts +1 -1
- package/dist/models/ListOperationPlansResponseBody.d.ts +13 -15
- package/dist/models/ListOperationPlansResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +8 -6
- package/dist/models/ListUserKubeConfigStatesRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +24 -25
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/MigrateClusterRequest.d.ts +2 -2
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyClusterAddonRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +205 -267
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterRequest.d.ts +106 -139
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +11 -7
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +6 -6
- package/dist/models/ModifyPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/Nodepool.d.ts +215 -262
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/QuotasValue.d.ts +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +14 -9
- package/dist/models/RepairClusterNodePoolRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/RunClusterCheckRequest.d.ts +4 -9
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +10 -9
- package/dist/models/StandardComponentsValue.js.map +1 -1
- package/dist/models/StartAlertRequest.d.ts +2 -2
- package/dist/models/StartAlertResponseBody.d.ts +1 -1
- package/dist/models/StopAlertRequest.d.ts +2 -2
- package/dist/models/StopAlertResponseBody.d.ts +4 -5
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +9 -7
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +5 -6
- package/dist/models/UnInstallClusterAddonsRequest.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +9 -7
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesShrinkRequest.d.ts +9 -7
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +9 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +2 -2
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +3 -3
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +4 -5
- package/dist/models/UpdateContactGroupForAlertResponseBody.js.map +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +5 -5
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +3 -3
- package/dist/models/UpdateKmsencryptionRequest.d.ts +6 -6
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +8 -8
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +2 -2
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +16 -4
- package/dist/models/UpdateResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +5 -5
- package/dist/models/UpdateTemplateRequest.d.ts +10 -7
- package/dist/models/UpdateTemplateRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +30 -23
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +7 -8
- package/dist/models/UpgradeClusterAddonsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +22 -16
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +10 -9
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/UpgradeClusterResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +539 -448
- package/src/models/AttachInstancesRequest.ts +59 -38
- package/src/models/AttachInstancesResponseBody.ts +4 -4
- package/src/models/AttachInstancesToNodePoolRequest.ts +14 -12
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -6
- package/src/models/CheckServiceRoleRequest.ts +2 -2
- package/src/models/CheckServiceRoleResponseBody.ts +4 -9
- package/src/models/CleanClusterUserPermissionsRequest.ts +3 -4
- package/src/models/CleanUserPermissionsRequest.ts +4 -5
- package/src/models/CleanUserPermissionsShrinkRequest.ts +4 -5
- package/src/models/CreateAutoRepairPolicyRequest.ts +17 -17
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/CreateAutoscalingConfigRequest.ts +42 -55
- package/src/models/CreateClusterDiagnosisRequest.ts +20 -24
- package/src/models/CreateClusterDiagnosisResponseBody.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +2 -2
- package/src/models/CreateClusterNodePoolRequest.ts +350 -312
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- package/src/models/CreateClusterRequest.ts +270 -347
- package/src/models/CreateKubernetesTriggerRequest.ts +8 -7
- package/src/models/CreateKubernetesTriggerResponseBody.ts +8 -7
- package/src/models/CreateTemplateRequest.ts +10 -9
- package/src/models/CreateTriggerRequest.ts +8 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupRequest.ts +1 -1
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteAlertContactGroupShrinkRequest.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteClusterNodepoolRequest.ts +5 -1
- package/src/models/DeleteClusterNodepoolResponseBody.ts +1 -1
- package/src/models/DeleteClusterNodesRequest.ts +10 -13
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +18 -27
- package/src/models/DeleteClusterShrinkRequest.ts +9 -11
- package/src/models/DeletePolicyInstanceRequest.ts +1 -1
- package/src/models/DeletePolicyInstanceResponseBody.ts +1 -1
- package/src/models/DeployPolicyInstanceRequest.ts +5 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonRequest.ts +18 -7
- package/src/models/DescribeAddonResponseBody.ts +14 -13
- package/src/models/DescribeAddonsRequest.ts +13 -11
- package/src/models/DescribeAddonsResponseBody.ts +4 -4
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +19 -19
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +11 -11
- package/src/models/DescribeClusterAddonMetadataResponseBody.ts +1 -1
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -16
- package/src/models/DescribeClusterDetailResponseBody.ts +101 -128
- package/src/models/DescribeClusterEventsRequest.ts +3 -3
- package/src/models/DescribeClusterEventsResponseBody.ts +22 -41
- package/src/models/DescribeClusterLogsResponse.ts +5 -5
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +233 -312
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +253 -331
- package/src/models/DescribeClusterNodesRequest.ts +30 -9
- package/src/models/DescribeClusterNodesResponseBody.ts +51 -38
- package/src/models/DescribeClusterResourcesRequest.ts +3 -3
- package/src/models/DescribeClusterResourcesResponse.ts +37 -48
- package/src/models/DescribeClusterTasksRequest.ts +1 -1
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -7
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -10
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterVulsResponseBody.ts +13 -19
- package/src/models/DescribeClustersForRegionRequest.ts +19 -30
- package/src/models/DescribeClustersForRegionResponseBody.ts +40 -67
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +18 -26
- package/src/models/DescribeClustersV1responseBody.ts +52 -77
- package/src/models/DescribeEventsForRegionRequest.ts +2 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +7 -11
- package/src/models/DescribeEventsRequest.ts +22 -38
- package/src/models/DescribeEventsResponseBody.ts +31 -50
- package/src/models/DescribeExternalAgentRequest.ts +6 -4
- package/src/models/DescribeExternalAgentResponseBody.ts +1 -1
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +24 -25
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +31 -32
- package/src/models/DescribeNodePoolVulsRequest.ts +4 -4
- package/src/models/DescribeNodePoolVulsResponseBody.ts +13 -18
- package/src/models/DescribePolicyDetailsResponseBody.ts +17 -21
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +30 -34
- package/src/models/DescribePolicyInstancesRequest.ts +2 -2
- package/src/models/DescribePolicyInstancesResponse.ts +20 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +7 -7
- package/src/models/DescribeRegionsRequest.ts +3 -21
- package/src/models/DescribeRegionsResponseBody.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +6 -5
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +5 -6
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +6 -7
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +20 -26
- package/src/models/DescribeTemplateAttributeRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeResponse.ts +16 -14
- package/src/models/DescribeTemplatesRequest.ts +7 -6
- package/src/models/DescribeTemplatesResponseBody.ts +19 -20
- package/src/models/DescribeTriggerRequest.ts +8 -7
- package/src/models/DescribeTriggerResponse.ts +12 -13
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +9 -4
- package/src/models/FixNodePoolVulsResponseBody.ts +1 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +21 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +5 -4
- package/src/models/GetClusterCheckResponseBody.ts +7 -7
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +6 -12
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +14 -26
- package/src/models/GetClusterInspectConfigResponseBody.ts +2 -2
- package/src/models/GetClusterInspectReportDetailRequest.ts +15 -18
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +30 -34
- package/src/models/GetKubernetesTriggerRequest.ts +8 -7
- package/src/models/GetKubernetesTriggerResponse.ts +11 -10
- package/src/models/GetUpgradeStatusResponseBody.ts +18 -19
- package/src/models/GrantPermissionsRequest.ts +19 -26
- package/src/models/InstallClusterAddonsRequest.ts +4 -4
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/InstallNodePoolComponentsRequest.ts +10 -10
- package/src/models/InstallNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListAddonsRequest.ts +17 -6
- package/src/models/ListAddonsResponseBody.ts +24 -15
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +20 -20
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +7 -7
- package/src/models/ListClusterAddonInstancesResponseBody.ts +7 -8
- package/src/models/ListClusterChecksRequest.ts +9 -2
- package/src/models/ListClusterChecksResponseBody.ts +7 -7
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +11 -11
- package/src/models/ListClusterKubeconfigStatesRequest.ts +9 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +32 -28
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +14 -14
- package/src/models/ListOperationPlansRequest.ts +1 -1
- package/src/models/ListOperationPlansResponseBody.ts +13 -15
- package/src/models/ListTagResourcesRequest.ts +6 -4
- package/src/models/ListTagResourcesResponseBody.ts +7 -7
- package/src/models/ListTagResourcesShrinkRequest.ts +6 -4
- package/src/models/ListUserKubeConfigStatesRequest.ts +8 -6
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +24 -25
- package/src/models/MigrateClusterRequest.ts +2 -2
- package/src/models/ModifyAutoRepairPolicyRequest.ts +15 -15
- package/src/models/ModifyClusterAddonRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +205 -267
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyClusterRequest.ts +106 -139
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -7
- package/src/models/ModifyPolicyInstanceRequest.ts +6 -6
- package/src/models/ModifyPolicyInstanceResponseBody.ts +1 -1
- package/src/models/Nodepool.ts +215 -262
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/QuotasValue.ts +1 -1
- package/src/models/RemoveNodePoolNodesRequest.ts +17 -13
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +17 -13
- package/src/models/RepairClusterNodePoolRequest.ts +14 -9
- package/src/models/RepairClusterNodePoolResponseBody.ts +1 -1
- package/src/models/RunClusterCheckRequest.ts +4 -9
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/StandardComponentsValue.ts +10 -9
- package/src/models/StartAlertRequest.ts +2 -2
- package/src/models/StartAlertResponseBody.ts +1 -1
- package/src/models/StopAlertRequest.ts +2 -2
- package/src/models/StopAlertResponseBody.ts +4 -5
- package/src/models/TagResourcesRequest.ts +9 -7
- package/src/models/UnInstallClusterAddonsRequest.ts +5 -6
- package/src/models/UntagResourcesRequest.ts +9 -7
- package/src/models/UntagResourcesShrinkRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +2 -2
- package/src/models/UpdateClusterInspectConfigRequest.ts +3 -3
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +4 -5
- package/src/models/UpdateControlPlaneLogRequest.ts +5 -5
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +3 -3
- package/src/models/UpdateKmsencryptionRequest.ts +6 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +8 -8
- package/src/models/UpdateNodePoolComponentResponseBody.ts +2 -2
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +16 -4
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +5 -5
- package/src/models/UpdateTemplateRequest.ts +10 -7
- package/src/models/UpdateUserPermissionsRequest.ts +30 -23
- package/src/models/UpgradeClusterAddonsRequest.ts +7 -8
- package/src/models/UpgradeClusterNodepoolRequest.ts +22 -16
- package/src/models/UpgradeClusterRequest.ts +10 -9
- package/src/models/UpgradeClusterResponseBody.ts +3 -3
- package/src/models/model.ts +3 -0
|
@@ -10,9 +10,10 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* This field is deprecated
|
|
13
|
+
* [This field is deprecated] Please use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
+
* EIP peak bandwidth.
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
|
+
* Valid values: [1,100]. Unit: Mbps.
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
19
|
* null
|
|
@@ -22,13 +23,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
22
23
|
eipBandwidth?: number;
|
|
23
24
|
/**
|
|
24
25
|
* @remarks
|
|
25
|
-
* [
|
|
26
|
+
* [This field is deprecated] Please use internet_charge_type and internet_max_bandwidth_out instead.
|
|
26
27
|
*
|
|
27
|
-
*
|
|
28
|
+
* EIP billing type. Valid values:
|
|
28
29
|
*
|
|
29
|
-
* - `PayByBandwidth`: Pay by bandwidth.
|
|
30
|
-
*
|
|
31
|
-
* - `PayByTraffic`: Pay by traffic.
|
|
30
|
+
* - `PayByBandwidth`: Pay by fixed bandwidth.
|
|
31
|
+
* - `PayByTraffic`: Pay by traffic usage.
|
|
32
32
|
*
|
|
33
33
|
* Default value: `PayByBandwidth`.
|
|
34
34
|
*
|
|
@@ -40,13 +40,14 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
40
40
|
eipInternetChargeType?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
*
|
|
43
|
+
* Whether to enable auto scaling. Valid values:
|
|
44
44
|
*
|
|
45
|
-
* - `true`: Enable auto scaling. When cluster capacity
|
|
45
|
+
* - `true`: Enable node pool auto scaling. When the cluster\\"s capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters with version 1.24 and above enable instant node elasticity by default;
|
|
46
|
+
* clusters with versions below 1.24 enable node auto scaling by default. For more information, see [Node Scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
46
47
|
*
|
|
47
|
-
* - `false`: Disable auto scaling. ACK adjusts the number of nodes in the node pool to
|
|
48
|
+
* - `false`: Disable auto scaling. ACK adjusts the number of nodes in the node pool according to the configured desired node count, always maintaining the node count at the desired number.
|
|
48
49
|
*
|
|
49
|
-
* When
|
|
50
|
+
* When the value is false, other configuration parameters in `auto_scaling` will not take effect.
|
|
50
51
|
*
|
|
51
52
|
* Default value: `false`.
|
|
52
53
|
*
|
|
@@ -56,11 +57,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
56
57
|
enable?: boolean;
|
|
57
58
|
/**
|
|
58
59
|
* @remarks
|
|
59
|
-
* [
|
|
60
|
-
*
|
|
61
|
-
* - `true`: Bind an EIP.
|
|
60
|
+
* [This field is deprecated] This field is deprecated. Please use internet_charge_type and internet_max_bandwidth_out instead.
|
|
62
61
|
*
|
|
63
|
-
* - `
|
|
62
|
+
* - `true`: Bindpublic EIP.
|
|
63
|
+
* - `false`: Do not bind EIP.
|
|
64
64
|
*
|
|
65
65
|
* Default value: `false`.
|
|
66
66
|
*
|
|
@@ -72,7 +72,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
72
72
|
isBondEip?: boolean;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The maximum number of scalable instances in the node pool, excluding existing instances.
|
|
75
|
+
* The maximum number of scalable instances in the node pool, excluding your existing instances. Only takes effect when `enable=true`.
|
|
76
76
|
*
|
|
77
77
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
78
78
|
*
|
|
@@ -82,13 +82,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
82
82
|
maxInstances?: number;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The minimum number of scalable instances in the node pool, excluding existing instances.
|
|
85
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances. Only takes effect when `enable=true`.
|
|
86
86
|
*
|
|
87
87
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
88
88
|
*
|
|
89
|
-
* > -
|
|
90
|
-
* >
|
|
91
|
-
* > - To avoid unintended scale-in, set the maximum instance count to at least the current number of nodes in the node pool.
|
|
89
|
+
* > - When the minimum number of instances is not 0, the corresponding number of ECS instances will be automatically created after the scaling group takes effect.
|
|
90
|
+
* > - It is recommended that the configured maximum number of instances is not less than the current number of nodes in the node pool. Otherwise, the elastic scaling function will directly cause the node pool to scale in after taking effect.
|
|
92
91
|
*
|
|
93
92
|
* @example
|
|
94
93
|
* 2
|
|
@@ -96,15 +95,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
96
95
|
minInstances?: number;
|
|
97
96
|
/**
|
|
98
97
|
* @remarks
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
* - `cpu`: Standard instance.
|
|
102
|
-
*
|
|
103
|
-
* - `gpu`: GPU instance.
|
|
104
|
-
*
|
|
105
|
-
* - `gpushare`: GPU shared instance.
|
|
98
|
+
* Auto scaling type, classified by auto scaling instance type. Valid values:
|
|
106
99
|
*
|
|
107
|
-
* - `
|
|
100
|
+
* - `cpu`: Regular instance type.
|
|
101
|
+
* - `gpu`: GPU instance type.
|
|
102
|
+
* - `gpushare`: GPU sharing type.
|
|
103
|
+
* - `spot`: Preemptible instance type.
|
|
108
104
|
*
|
|
109
105
|
* Default value: `cpu`.
|
|
110
106
|
*
|
|
@@ -150,11 +146,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
150
146
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
151
147
|
/**
|
|
152
148
|
* @remarks
|
|
153
|
-
*
|
|
149
|
+
* Whether to install CloudMonitor on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. Recommended to enable. Valid values:
|
|
154
150
|
*
|
|
155
|
-
* - `true`: Install
|
|
156
|
-
*
|
|
157
|
-
* - `false`: Do not install Cloud Monitor on ECS nodes.
|
|
151
|
+
* - `true`: Install CloudMonitor on ECS nodes.
|
|
152
|
+
* - `false`: Do not install CloudMonitor on ECS nodes.
|
|
158
153
|
*
|
|
159
154
|
* Default value: `false`.
|
|
160
155
|
*
|
|
@@ -164,10 +159,9 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
164
159
|
cmsEnabled?: boolean;
|
|
165
160
|
/**
|
|
166
161
|
* @remarks
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* - `static`: Allows pods with certain resource characteristics on the node to have enhanced CPU affinity and exclusivity.
|
|
162
|
+
* Node CPU management policy. Supported when the cluster version is 1.12.6 or above:
|
|
170
163
|
*
|
|
164
|
+
* - `static`: Allows enhancing CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
171
165
|
* - `none`: Enables the existing default CPU affinity scheme.
|
|
172
166
|
*
|
|
173
167
|
* Default value: `none`.
|
|
@@ -178,20 +172,19 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
178
172
|
cpuPolicy?: string;
|
|
179
173
|
/**
|
|
180
174
|
* @remarks
|
|
181
|
-
* Node labels. Add labels to Kubernetes cluster nodes. Label rules:
|
|
175
|
+
* Node labels. Add labels to Kubernetes cluster nodes. Label definition rules:
|
|
182
176
|
*
|
|
183
177
|
* - Labels are case-sensitive key-value pairs. You can set up to 20 labels.
|
|
184
|
-
*
|
|
185
|
-
* - Tag keys must be unique and up to 64 characters long. Tag values can be empty and up to 128 characters long. Neither tag keys nor tag values can 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).
|
|
178
|
+
* - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and up to 128 characters. Label keys and 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).
|
|
186
179
|
*/
|
|
187
180
|
labels?: Tag[];
|
|
188
181
|
/**
|
|
189
182
|
* @remarks
|
|
190
|
-
*
|
|
183
|
+
* Custom node name parameter. The node name consists of three parts: prefix + node IP + suffix.
|
|
191
184
|
*
|
|
192
|
-
*
|
|
185
|
+
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can use lowercase letters, digits, and "-". 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.
|
|
193
186
|
*
|
|
194
|
-
* The parameter
|
|
187
|
+
* The parameter includes four parts separated by commas. For example, passing "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, aliyun is the prefix, and com is the suffix), the node name will be: aliyun.192.168.xxx.xxx.com.
|
|
195
188
|
*
|
|
196
189
|
* @example
|
|
197
190
|
* customized,aliyun,ip,com
|
|
@@ -199,7 +192,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
199
192
|
nodeNameMode?: string;
|
|
200
193
|
/**
|
|
201
194
|
* @remarks
|
|
202
|
-
*
|
|
195
|
+
* Instance pre-custom data. Before the node joins the cluster, the specified instance pre-custom data script will be run. See [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
203
196
|
*
|
|
204
197
|
* @example
|
|
205
198
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -207,13 +200,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
207
200
|
preUserData?: string;
|
|
208
201
|
/**
|
|
209
202
|
* @remarks
|
|
210
|
-
*
|
|
203
|
+
* Container runtime name. ACK supports the following three container runtimes:
|
|
211
204
|
*
|
|
212
205
|
* - containerd: Recommended. Supports all cluster versions.
|
|
213
|
-
*
|
|
214
|
-
* -
|
|
215
|
-
*
|
|
216
|
-
* - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
|
|
206
|
+
* - Sandboxed-Container.runv: Sandboxed container, providing higher isolation. Supports clusters with version 1.31 and below.
|
|
207
|
+
* - docker: Maintenance discontinued. Supports clusters with version 1.22 and below.
|
|
217
208
|
*
|
|
218
209
|
* Default value: containerd.
|
|
219
210
|
*
|
|
@@ -223,7 +214,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
223
214
|
runtime?: string;
|
|
224
215
|
/**
|
|
225
216
|
* @remarks
|
|
226
|
-
*
|
|
217
|
+
* Container runtime version.
|
|
227
218
|
*
|
|
228
219
|
* @example
|
|
229
220
|
* 1.6.38
|
|
@@ -231,12 +222,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
231
222
|
runtimeVersion?: string;
|
|
232
223
|
/**
|
|
233
224
|
* @remarks
|
|
234
|
-
*
|
|
225
|
+
* Node taint configuration.
|
|
235
226
|
*/
|
|
236
227
|
taints?: Taint[];
|
|
237
228
|
/**
|
|
238
229
|
* @remarks
|
|
239
|
-
* Whether
|
|
230
|
+
* Whether the node is unschedulable after scaling out.
|
|
240
231
|
*
|
|
241
232
|
* - true: Unschedulable.
|
|
242
233
|
*
|
|
@@ -248,7 +239,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
248
239
|
unschedulable?: boolean;
|
|
249
240
|
/**
|
|
250
241
|
* @remarks
|
|
251
|
-
*
|
|
242
|
+
* Instance custom data. After the node joins the cluster, the specified instance custom data script will be run. See [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
252
243
|
*
|
|
253
244
|
* @example
|
|
254
245
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -302,12 +293,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
302
293
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
303
294
|
/**
|
|
304
295
|
* @remarks
|
|
305
|
-
*
|
|
296
|
+
* Whether node repair requires manual approval.
|
|
306
297
|
*/
|
|
307
298
|
approvalRequired?: boolean;
|
|
308
299
|
/**
|
|
309
300
|
* @remarks
|
|
310
|
-
*
|
|
301
|
+
* Auto repair policy ID.
|
|
311
302
|
*
|
|
312
303
|
* @example
|
|
313
304
|
* r-xxxxxxxxxx
|
|
@@ -315,11 +306,10 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
315
306
|
autoRepairPolicyId?: string;
|
|
316
307
|
/**
|
|
317
308
|
* @remarks
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
* - `true`: Allow node restart.
|
|
309
|
+
* Whether to allow restarting nodes. Only takes effect when `auto_repair=true`. Valid values:
|
|
321
310
|
*
|
|
322
|
-
* - `
|
|
311
|
+
* - `true`: Allow restarting nodes.
|
|
312
|
+
* - `false`: Do not allow restarting nodes.
|
|
323
313
|
*
|
|
324
314
|
* Default value: `true`.
|
|
325
315
|
*
|
|
@@ -355,11 +345,9 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
355
345
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
356
346
|
/**
|
|
357
347
|
* @remarks
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
* - `
|
|
361
|
-
*
|
|
362
|
-
* - `false`: Disable automatic kubelet upgrades.
|
|
348
|
+
* Whether to allow auto upgrading kubelet. Only takes effect when `auto_upgrade=true`. Valid values:
|
|
349
|
+
* - `true`: Allow auto upgrading kubelet.
|
|
350
|
+
* - `false`: Do not allow auto upgrading kubelet.
|
|
363
351
|
*
|
|
364
352
|
* Default value: `true`.
|
|
365
353
|
*
|
|
@@ -369,11 +357,9 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
369
357
|
autoUpgradeKubelet?: boolean;
|
|
370
358
|
/**
|
|
371
359
|
* @remarks
|
|
372
|
-
*
|
|
373
|
-
*
|
|
374
|
-
* - `
|
|
375
|
-
*
|
|
376
|
-
* - `false`: Disable automatic OS upgrades.
|
|
360
|
+
* Whether to allow auto upgrading the operating system. Only takes effect when `auto_upgrade=true`. Valid values:
|
|
361
|
+
* - `true`: Allow auto upgrading the operating system.
|
|
362
|
+
* - `false`: Do not allow auto upgrading the operating system.
|
|
377
363
|
*
|
|
378
364
|
* Default value: `false`.
|
|
379
365
|
*
|
|
@@ -383,11 +369,9 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
383
369
|
autoUpgradeOs?: boolean;
|
|
384
370
|
/**
|
|
385
371
|
* @remarks
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
* - `
|
|
389
|
-
*
|
|
390
|
-
* - `false`: Disable automatic runtime upgrades.
|
|
372
|
+
* Whether to allow auto upgrading the runtime. Only takes effect when `auto_upgrade=true`. Valid values:
|
|
373
|
+
* - `true`: Allow auto upgrading the runtime.
|
|
374
|
+
* - `false`: Do not allow auto upgrading the runtime.
|
|
391
375
|
*
|
|
392
376
|
* Default value: `true`.
|
|
393
377
|
*
|
|
@@ -423,7 +407,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
423
407
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
424
408
|
/**
|
|
425
409
|
* @remarks
|
|
426
|
-
*
|
|
410
|
+
* Specifies the packages to be excluded during vulnerability fix.
|
|
427
411
|
*
|
|
428
412
|
* Default value: `kernel`.
|
|
429
413
|
*
|
|
@@ -433,11 +417,9 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
433
417
|
excludePackages?: string;
|
|
434
418
|
/**
|
|
435
419
|
* @remarks
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
* - `
|
|
439
|
-
*
|
|
440
|
-
* - `false`: Disallow node restart.
|
|
420
|
+
* Whether to allow restarting nodes. Only takes effect when `auto_vul_fix=true`. Valid values:
|
|
421
|
+
* - `true`: Allow restarting nodes.
|
|
422
|
+
* - `false`: Do not allow restarting nodes.
|
|
441
423
|
*
|
|
442
424
|
* Default value: `true`.
|
|
443
425
|
*
|
|
@@ -447,12 +429,10 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
447
429
|
restartNode?: boolean;
|
|
448
430
|
/**
|
|
449
431
|
* @remarks
|
|
450
|
-
*
|
|
432
|
+
* Vulnerability levels allowed for automatic fixing, separated by commas. For example: `asap,later`. Supported vulnerability levels:
|
|
451
433
|
*
|
|
452
434
|
* - `asap`: High
|
|
453
|
-
*
|
|
454
435
|
* - `later`: Medium
|
|
455
|
-
*
|
|
456
436
|
* - `nntf`: Low
|
|
457
437
|
*
|
|
458
438
|
* Default value: `asap`.
|
|
@@ -489,12 +469,11 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
489
469
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
490
470
|
/**
|
|
491
471
|
* @remarks
|
|
492
|
-
* [
|
|
472
|
+
* [This field is deprecated] Please use the `auto_upgrade` parameter at the parent level instead.
|
|
493
473
|
*
|
|
494
|
-
*
|
|
474
|
+
* Whether to enable auto upgrade:
|
|
495
475
|
*
|
|
496
476
|
* - true: Enable.
|
|
497
|
-
*
|
|
498
477
|
* - false: Disable.
|
|
499
478
|
*
|
|
500
479
|
* Default value: `true`.
|
|
@@ -507,9 +486,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
507
486
|
autoUpgrade?: boolean;
|
|
508
487
|
/**
|
|
509
488
|
* @remarks
|
|
510
|
-
*
|
|
489
|
+
* Maximum number of unavailable nodes.
|
|
511
490
|
*
|
|
512
|
-
* Valid values: [1,
|
|
491
|
+
* Valid values: [1,1000\\]
|
|
513
492
|
*
|
|
514
493
|
* Default value: 1.
|
|
515
494
|
*
|
|
@@ -519,11 +498,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
519
498
|
maxUnavailable?: number;
|
|
520
499
|
/**
|
|
521
500
|
* @remarks
|
|
522
|
-
*
|
|
501
|
+
* Number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
523
502
|
*
|
|
524
|
-
*
|
|
503
|
+
* During upgrade, nodes will be unavailable. You can create extra nodes to compensate for the cluster workload.
|
|
525
504
|
*
|
|
526
|
-
* >
|
|
505
|
+
* > It is recommended that the number of extra nodes does not exceed the current number of nodes.
|
|
527
506
|
*
|
|
528
507
|
* @example
|
|
529
508
|
* 5
|
|
@@ -531,9 +510,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
531
510
|
surge?: number;
|
|
532
511
|
/**
|
|
533
512
|
* @remarks
|
|
534
|
-
*
|
|
513
|
+
* Percentage of extra nodes. Mutually exclusive with `surge`.
|
|
535
514
|
*
|
|
536
|
-
*
|
|
515
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage of extra nodes is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6, which produces 3 extra nodes.
|
|
537
516
|
*
|
|
538
517
|
* @example
|
|
539
518
|
* 0
|
|
@@ -570,11 +549,11 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
570
549
|
autoFaultDiagnosis?: boolean;
|
|
571
550
|
/**
|
|
572
551
|
* @remarks
|
|
573
|
-
*
|
|
552
|
+
* Whether to automatically repair nodes. Only takes effect when `enable=true`.
|
|
574
553
|
*
|
|
575
|
-
* - `true`:
|
|
554
|
+
* - `true`: Auto repair.
|
|
576
555
|
*
|
|
577
|
-
* - `false`:
|
|
556
|
+
* - `false`: Do not auto repair.
|
|
578
557
|
*
|
|
579
558
|
* Default value: `true`.
|
|
580
559
|
*
|
|
@@ -584,16 +563,14 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
584
563
|
autoRepair?: boolean;
|
|
585
564
|
/**
|
|
586
565
|
* @remarks
|
|
587
|
-
*
|
|
566
|
+
* Auto repair node policy.
|
|
588
567
|
*/
|
|
589
568
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
590
569
|
/**
|
|
591
570
|
* @remarks
|
|
592
|
-
*
|
|
593
|
-
*
|
|
594
|
-
* - `
|
|
595
|
-
*
|
|
596
|
-
* - `false`: Disable automatic upgrades.
|
|
571
|
+
* Whether to automatically upgrade nodes. Only takes effect when `enable=true`.
|
|
572
|
+
* - `true`: Enable auto upgrade.
|
|
573
|
+
* - `false`: Disable auto upgrade.
|
|
597
574
|
*
|
|
598
575
|
* Default value: `true`.
|
|
599
576
|
*
|
|
@@ -603,16 +580,15 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
603
580
|
autoUpgrade?: boolean;
|
|
604
581
|
/**
|
|
605
582
|
* @remarks
|
|
606
|
-
*
|
|
583
|
+
* Auto upgrade policy.
|
|
607
584
|
*/
|
|
608
585
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
609
586
|
/**
|
|
610
587
|
* @remarks
|
|
611
|
-
*
|
|
588
|
+
* Whether to automatically fix CVE vulnerabilities. Only takes effect when `enable=true`.
|
|
612
589
|
*
|
|
613
|
-
* - `true`:
|
|
614
|
-
*
|
|
615
|
-
* - `false`: Disable automatic CVE fixes.
|
|
590
|
+
* - `true`: Allow automatic CVE fixing.
|
|
591
|
+
* - `false`: Do not allow automatic CVE fixing.
|
|
616
592
|
*
|
|
617
593
|
* Default value: `true`.
|
|
618
594
|
*
|
|
@@ -622,16 +598,15 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
622
598
|
autoVulFix?: boolean;
|
|
623
599
|
/**
|
|
624
600
|
* @remarks
|
|
625
|
-
*
|
|
601
|
+
* Auto CVE fix policy.
|
|
626
602
|
*/
|
|
627
603
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
628
604
|
/**
|
|
629
605
|
* @remarks
|
|
630
|
-
*
|
|
631
|
-
*
|
|
632
|
-
* - `true`: Enable the managed node pool.
|
|
606
|
+
* Whether to enable managed node pool. Valid values:
|
|
633
607
|
*
|
|
634
|
-
* - `
|
|
608
|
+
* - `true`: Enable managed node pool.
|
|
609
|
+
* - `false`: Disable managed node pool. Other related configurations only take effect when `enable=true`.
|
|
635
610
|
*
|
|
636
611
|
* Default value: `false`.
|
|
637
612
|
*
|
|
@@ -641,9 +616,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
641
616
|
enable?: boolean;
|
|
642
617
|
/**
|
|
643
618
|
* @remarks
|
|
644
|
-
* [
|
|
619
|
+
* [This field is deprecated] Please use the `auto_upgrade` parameter at the parent level instead.
|
|
645
620
|
*
|
|
646
|
-
*
|
|
621
|
+
* Auto upgrade configuration. Only takes effect when `enable=true`.
|
|
647
622
|
*
|
|
648
623
|
* @deprecated
|
|
649
624
|
*/
|
|
@@ -700,9 +675,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
700
675
|
export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
701
676
|
/**
|
|
702
677
|
* @remarks
|
|
703
|
-
*
|
|
678
|
+
* Node pool name.
|
|
704
679
|
*
|
|
705
|
-
*
|
|
680
|
+
* Naming rules: The name can contain digits, Chinese characters, English letters, or hyphens (-), must be 1 to 63 characters in length, and cannot start with a hyphen (-).
|
|
706
681
|
*
|
|
707
682
|
* @example
|
|
708
683
|
* default-nodepool
|
|
@@ -710,9 +685,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
710
685
|
name?: string;
|
|
711
686
|
/**
|
|
712
687
|
* @remarks
|
|
713
|
-
* The resource group ID
|
|
688
|
+
* The resource group ID of the node pool. Instances created by the node pool will belong to this resource group.
|
|
714
689
|
*
|
|
715
|
-
* A resource can belong to
|
|
690
|
+
* A resource can only belong to one resource group. Depending on different business scenarios, you can map a resource group to concepts such as projects, applications, or organizations.
|
|
716
691
|
*
|
|
717
692
|
* @example
|
|
718
693
|
* rg-acfmyvw3wjm****
|
|
@@ -744,7 +719,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
744
719
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
745
720
|
/**
|
|
746
721
|
* @remarks
|
|
747
|
-
*
|
|
722
|
+
* Private node pool ID. When `match_criteria` is `Target`, you need to further specify the private pool ID.
|
|
748
723
|
*
|
|
749
724
|
* @example
|
|
750
725
|
* eap-bp67acfmxazb4****
|
|
@@ -752,13 +727,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
752
727
|
id?: string;
|
|
753
728
|
/**
|
|
754
729
|
* @remarks
|
|
755
|
-
*
|
|
756
|
-
*
|
|
757
|
-
* - `
|
|
758
|
-
*
|
|
759
|
-
* - `Target`: Specified mode. Starts instances using the specified private pool capacity. If the capacity is unavailable, the instance startup fails.
|
|
760
|
-
*
|
|
761
|
-
* - `None`: No mode. The instance startup does not use private pool capacity.
|
|
730
|
+
* Private node pool type. Private pool capacity option for instance launch. After an Elasticity Assurance or Capacity Reservation takes effect, a private pool capacity is generated for instance launch selection. Valid values:
|
|
731
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for launch.
|
|
732
|
+
* - `Target`: Targeted mode. Uses specified private pool capacity to launch instances. If the private pool capacity is unavailable, instance launch fails.
|
|
733
|
+
* - `None`: Do not use mode. Instance launch will not use private pool capacity.
|
|
762
734
|
*
|
|
763
735
|
* @example
|
|
764
736
|
* Open
|
|
@@ -790,12 +762,16 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
790
762
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
791
763
|
/**
|
|
792
764
|
* @remarks
|
|
793
|
-
*
|
|
765
|
+
* List of private pool IDs, i.e., Elasticity Assurance IDs or Capacity Reservation IDs. Only Target mode private pool IDs can be passed. Valid values for N: 1~20.
|
|
794
766
|
*/
|
|
795
767
|
privatePoolIds?: string[];
|
|
796
768
|
/**
|
|
797
769
|
* @remarks
|
|
798
|
-
*
|
|
770
|
+
* Resource pool policy used when creating instances. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, as well as public pools, for instance launch selection. Valid values:
|
|
771
|
+
* PrivatePoolFirst: Private pool first. When specified private_pool_ids are set, the specified private pools are used preferentially. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances.
|
|
772
|
+
* PrivatePoolOnly: Private pool only. private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance launch fails.
|
|
773
|
+
* None: Do not use resource pool policy.
|
|
774
|
+
* Default value: None.
|
|
799
775
|
*
|
|
800
776
|
* @example
|
|
801
777
|
* PrivatePoolFirst
|
|
@@ -830,7 +806,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
830
806
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
831
807
|
/**
|
|
832
808
|
* @remarks
|
|
833
|
-
*
|
|
809
|
+
* Preemptible instance type.
|
|
834
810
|
*
|
|
835
811
|
* @example
|
|
836
812
|
* ecs.c6.large
|
|
@@ -838,17 +814,13 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
838
814
|
instanceType?: string;
|
|
839
815
|
/**
|
|
840
816
|
* @remarks
|
|
841
|
-
*
|
|
842
|
-
*
|
|
843
|
-
* <props="china">
|
|
817
|
+
* Maximum price per instance.
|
|
844
818
|
*
|
|
845
|
-
* Unit: CNY/hour.
|
|
819
|
+
* <props="china">Unit: CNY/hour.
|
|
846
820
|
*
|
|
847
821
|
*
|
|
848
822
|
*
|
|
849
|
-
* <props="intl">
|
|
850
|
-
*
|
|
851
|
-
* Unit: USD/hour.
|
|
823
|
+
* <props="intl">Unit: USD/hour.
|
|
852
824
|
*
|
|
853
825
|
* @example
|
|
854
826
|
* 0.39
|
|
@@ -880,11 +852,10 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
880
852
|
export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
881
853
|
/**
|
|
882
854
|
* @remarks
|
|
883
|
-
*
|
|
884
|
-
*
|
|
885
|
-
* - `true`: Enable automatic renewal.
|
|
855
|
+
* Whether to enable auto renewal for nodes. Only takes effect when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
886
856
|
*
|
|
887
|
-
* - `
|
|
857
|
+
* - `true`: Enable auto renewal.
|
|
858
|
+
* - `false`: Disable auto renewal.
|
|
888
859
|
*
|
|
889
860
|
* Default value: `false`.
|
|
890
861
|
*
|
|
@@ -894,10 +865,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
894
865
|
autoRenew?: boolean;
|
|
895
866
|
/**
|
|
896
867
|
* @remarks
|
|
897
|
-
*
|
|
898
|
-
*
|
|
868
|
+
* Duration of each auto renewal. Valid values:
|
|
899
869
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
900
|
-
*
|
|
901
870
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
902
871
|
*
|
|
903
872
|
* Default value: 1.
|
|
@@ -908,11 +877,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
908
877
|
autoRenewPeriod?: number;
|
|
909
878
|
/**
|
|
910
879
|
* @remarks
|
|
911
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`,
|
|
880
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatically creating pay-as-you-go instances to meet ECS instance count requirements when sufficient preemptible instances cannot be created due to price, inventory, or other reasons. Valid values:
|
|
912
881
|
*
|
|
913
|
-
* - `true`: Allow
|
|
914
|
-
*
|
|
915
|
-
* - `false`: Disallow automatic creation of on-demand instances.
|
|
882
|
+
* - `true`: Allow automatically creating pay-as-you-go instances to meet ECS instance count requirements.
|
|
883
|
+
* - `false`: Do not allow automatically creating pay-as-you-go instances to meet ECS instance count requirements.
|
|
916
884
|
*
|
|
917
885
|
* @example
|
|
918
886
|
* true
|
|
@@ -920,12 +888,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
920
888
|
compensateWithOnDemand?: boolean;
|
|
921
889
|
/**
|
|
922
890
|
* @remarks
|
|
923
|
-
*
|
|
891
|
+
* Node data disk configuration. Valid values: [0,10\\]. You can add up to 10 data disks.
|
|
924
892
|
*/
|
|
925
893
|
dataDisks?: DataDisk[];
|
|
926
894
|
/**
|
|
927
895
|
* @remarks
|
|
928
|
-
* The deployment set
|
|
896
|
+
* The deployment set that the ECS instances created by the node pool belong to. Only takes effect for incremental nodes; the deployment set of existing nodes will not be changed.
|
|
929
897
|
*
|
|
930
898
|
* @example
|
|
931
899
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -933,11 +901,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
933
901
|
deploymentsetId?: string;
|
|
934
902
|
/**
|
|
935
903
|
* @remarks
|
|
936
|
-
*
|
|
904
|
+
* Desired number of nodes in the node pool.
|
|
937
905
|
*
|
|
938
|
-
*
|
|
906
|
+
* The total number of nodes that the node pool should maintain. It is recommended to configure at least 2 nodes to ensure cluster components run normally. You can scale the node pool in or out by adjusting the desired node count.
|
|
939
907
|
*
|
|
940
|
-
* If you do not need to create nodes, set this to 0 and adjust it
|
|
908
|
+
* If you do not need to create nodes, you can set this to 0 and manually adjust it later to add nodes.
|
|
941
909
|
*
|
|
942
910
|
* @example
|
|
943
911
|
* 2
|
|
@@ -945,12 +913,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
945
913
|
desiredSize?: number;
|
|
946
914
|
/**
|
|
947
915
|
* @remarks
|
|
948
|
-
*
|
|
916
|
+
* Block device initialization configuration.
|
|
949
917
|
*/
|
|
950
918
|
diskInit?: DiskInit[];
|
|
951
919
|
/**
|
|
952
920
|
* @remarks
|
|
953
|
-
*
|
|
921
|
+
* Custom image ID. You can query system-supported images through `DescribeKubernetesVersionMetadata`. The latest system image is used by default.
|
|
954
922
|
*
|
|
955
923
|
* @example
|
|
956
924
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -958,27 +926,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
958
926
|
imageId?: string;
|
|
959
927
|
/**
|
|
960
928
|
* @remarks
|
|
961
|
-
*
|
|
962
|
-
*
|
|
963
|
-
* - `AliyunLinux`: Alibaba Cloud Linux 2 image.
|
|
964
|
-
*
|
|
965
|
-
* - `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 UEFI image.
|
|
966
|
-
*
|
|
967
|
-
* - `AliyunLinux3`: Alibaba Cloud Linux 3 image.
|
|
968
|
-
*
|
|
969
|
-
* - `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 ARM image.
|
|
970
|
-
*
|
|
971
|
-
* - `AliyunLinux3Security`: Alibaba Cloud Linux 3 UEFI image.
|
|
929
|
+
* Operating system distribution type. It is recommended to use this field to specify the node operating system. Valid values:
|
|
972
930
|
*
|
|
931
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
932
|
+
* - `AliyunLinuxSecurity`: Alinux2 image UEFI version.
|
|
933
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
934
|
+
* - `AliyunLinux3Arm64`: Alinux3 image ARM version.
|
|
935
|
+
* - `AliyunLinux3Security`: Alinux3 image UEFI version.
|
|
973
936
|
* - `CentOS`: CentOS image.
|
|
974
|
-
*
|
|
975
937
|
* - `Windows`: Windows image.
|
|
976
|
-
*
|
|
977
|
-
* - `WindowsCore`: Windows Core image.
|
|
978
|
-
*
|
|
938
|
+
* - `WindowsCore`: WindowsCore image.
|
|
979
939
|
* - `ContainerOS`: Container-optimized image.
|
|
980
|
-
*
|
|
981
|
-
* - `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 container-optimized image.
|
|
940
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 image container-optimized version.
|
|
982
941
|
*
|
|
983
942
|
* @example
|
|
984
943
|
* AliyunLinux3
|
|
@@ -986,10 +945,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
986
945
|
imageType?: string;
|
|
987
946
|
/**
|
|
988
947
|
* @remarks
|
|
989
|
-
*
|
|
948
|
+
* Billing type for node pool nodes. Valid values:
|
|
990
949
|
*
|
|
991
950
|
* - `PrePaid`: Subscription.
|
|
992
|
-
*
|
|
993
951
|
* - `PostPaid`: Pay-as-you-go.
|
|
994
952
|
*
|
|
995
953
|
* Default value: `PostPaid`.
|
|
@@ -1000,23 +958,22 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1000
958
|
instanceChargeType?: string;
|
|
1001
959
|
/**
|
|
1002
960
|
* @remarks
|
|
1003
|
-
*
|
|
961
|
+
* Instance attribute configuration.
|
|
1004
962
|
*/
|
|
1005
963
|
instancePatterns?: InstancePatterns[];
|
|
1006
964
|
/**
|
|
1007
965
|
* @remarks
|
|
1008
|
-
*
|
|
966
|
+
* List of node instance types. You can select multiple instance types as alternatives. When creating each node, the system attempts to purchase starting from the first type until successful. The final purchased instance type may vary depending on inventory.
|
|
1009
967
|
*
|
|
1010
|
-
*
|
|
968
|
+
* Supported number of instance types: [1,10].
|
|
1011
969
|
*/
|
|
1012
970
|
instanceTypes?: string[];
|
|
1013
971
|
/**
|
|
1014
972
|
* @remarks
|
|
1015
|
-
*
|
|
973
|
+
* Public IP billing type. Valid values:
|
|
1016
974
|
*
|
|
1017
|
-
* - `PayByBandwidth`: Pay by bandwidth.
|
|
1018
|
-
*
|
|
1019
|
-
* - `PayByTraffic`: Pay by traffic.
|
|
975
|
+
* - `PayByBandwidth`: Pay by fixed bandwidth.
|
|
976
|
+
* - `PayByTraffic`: Pay by traffic usage.
|
|
1020
977
|
*
|
|
1021
978
|
* @example
|
|
1022
979
|
* PayByBandwidth
|
|
@@ -1024,7 +981,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1024
981
|
internetChargeType?: string;
|
|
1025
982
|
/**
|
|
1026
983
|
* @remarks
|
|
1027
|
-
*
|
|
984
|
+
* Maximum outbound bandwidth for node public IP, in Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
1028
985
|
*
|
|
1029
986
|
* @example
|
|
1030
987
|
* 5
|
|
@@ -1032,7 +989,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1032
989
|
internetMaxBandwidthOut?: number;
|
|
1033
990
|
/**
|
|
1034
991
|
* @remarks
|
|
1035
|
-
*
|
|
992
|
+
* Key pair name. Mutually exclusive with `login_password`. When the node pool is a managed node pool, only `key_pair` is supported.
|
|
1036
993
|
*
|
|
1037
994
|
* @example
|
|
1038
995
|
* pro-nodepool
|
|
@@ -1040,7 +997,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1040
997
|
keyPair?: string;
|
|
1041
998
|
/**
|
|
1042
999
|
* @remarks
|
|
1043
|
-
*
|
|
1000
|
+
* SSH login password. Mutually exclusive with `key_pair`. Password must be 8 to 30 characters and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters.
|
|
1044
1001
|
*
|
|
1045
1002
|
* @example
|
|
1046
1003
|
* Hello1234
|
|
@@ -1048,15 +1005,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1048
1005
|
loginPassword?: string;
|
|
1049
1006
|
/**
|
|
1050
1007
|
* @remarks
|
|
1051
|
-
*
|
|
1008
|
+
* Multi-AZ scaling group ECS instance scaling policy. Valid values:
|
|
1052
1009
|
*
|
|
1053
|
-
* - `PRIORITY`:
|
|
1010
|
+
* - `PRIORITY`: Scale based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the availability zone of the higher-priority vSwitch, the next priority vSwitch is automatically used to create ECS instances.
|
|
1054
1011
|
*
|
|
1055
|
-
* - `COST_OPTIMIZED`:
|
|
1012
|
+
* - `COST_OPTIMIZED`: Create instances by trying from the lowest vCPU unit price. When the scaling configuration has set preemptible billing with multiple instance types, preemptible instances are created preferentially. You can further use the `CompensateWithOnDemand` parameter to specify whether to automatically try creating pay-as-you-go instances when preemptible instances cannot be created due to inventory or other reasons.
|
|
1056
1013
|
*
|
|
1057
|
-
* > `COST_OPTIMIZED` takes effect
|
|
1014
|
+
* > `COST_OPTIMIZED` only takes effect when the scaling configuration has set multiple instance types or selected preemptible instances.
|
|
1058
1015
|
*
|
|
1059
|
-
* - `BALANCE`: Evenly
|
|
1016
|
+
* - `BALANCE`: Evenly distribute ECS instances across multiple availability zones specified by the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can use the API `RebalanceInstances` to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1060
1017
|
*
|
|
1061
1018
|
* Default value: `PRIORITY`.
|
|
1062
1019
|
*
|
|
@@ -1066,7 +1023,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1066
1023
|
multiAzPolicy?: string;
|
|
1067
1024
|
/**
|
|
1068
1025
|
* @remarks
|
|
1069
|
-
*
|
|
1026
|
+
* Minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created preferentially when the number of pay-as-you-go instances is less than this value.
|
|
1070
1027
|
*
|
|
1071
1028
|
* @example
|
|
1072
1029
|
* 0
|
|
@@ -1074,7 +1031,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1074
1031
|
onDemandBaseCapacity?: number;
|
|
1075
1032
|
/**
|
|
1076
1033
|
* @remarks
|
|
1077
|
-
*
|
|
1034
|
+
* After the scaling group meets the minimum pay-as-you-go instance requirement (`on_demand_base_capacity`), the proportion of pay-as-you-go instances among the excess instances. Valid values: [0,100\\].
|
|
1078
1035
|
*
|
|
1079
1036
|
* @example
|
|
1080
1037
|
* 20
|
|
@@ -1082,11 +1039,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1082
1039
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1083
1040
|
/**
|
|
1084
1041
|
* @remarks
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
1087
|
-
* - When `period_unit=Week`, valid values: {1, 2, 3, 4}.
|
|
1042
|
+
* Subscription duration for node pool nodes. Only takes effect when `instance_charge_type` is set to `PrePaid`, and is required.
|
|
1088
1043
|
*
|
|
1089
|
-
* - When `period_unit=
|
|
1044
|
+
* - When `period_unit=Week`, valid values for `period`: {1, 2, 3, 4}.
|
|
1045
|
+
* - When `period_unit=Month`, valid values for `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1090
1046
|
*
|
|
1091
1047
|
* @example
|
|
1092
1048
|
* 1
|
|
@@ -1094,11 +1050,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1094
1050
|
period?: number;
|
|
1095
1051
|
/**
|
|
1096
1052
|
* @remarks
|
|
1097
|
-
*
|
|
1053
|
+
* Billing cycle for node pool nodes. Only takes effect when `instance_charge_type` is set to `PrePaid`, and is required.
|
|
1098
1054
|
*
|
|
1099
|
-
* - `Month`: Billed
|
|
1100
|
-
*
|
|
1101
|
-
* - `Week`: Billed weekly.
|
|
1055
|
+
* - `Month`: Billed by month.
|
|
1056
|
+
* - `Week`: Billed by week.
|
|
1102
1057
|
*
|
|
1103
1058
|
* Default value: `Month`.
|
|
1104
1059
|
*
|
|
@@ -1108,16 +1063,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1108
1063
|
periodUnit?: string;
|
|
1109
1064
|
/**
|
|
1110
1065
|
* @remarks
|
|
1111
|
-
* [
|
|
1066
|
+
* [This field is deprecated] Please use the `image_type` parameter instead.
|
|
1112
1067
|
*
|
|
1113
|
-
*
|
|
1068
|
+
* Operating system platform. Valid values:
|
|
1114
1069
|
*
|
|
1115
1070
|
* - `AliyunLinux`
|
|
1116
|
-
*
|
|
1117
1071
|
* - `CentOS`
|
|
1118
|
-
*
|
|
1119
1072
|
* - `Windows`
|
|
1120
|
-
*
|
|
1121
1073
|
* - `WindowsCore`
|
|
1122
1074
|
*
|
|
1123
1075
|
* @example
|
|
@@ -1128,26 +1080,27 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1128
1080
|
platform?: string;
|
|
1129
1081
|
/**
|
|
1130
1082
|
* @remarks
|
|
1131
|
-
*
|
|
1083
|
+
* Private node pool configuration.
|
|
1132
1084
|
*/
|
|
1133
1085
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1134
1086
|
/**
|
|
1135
1087
|
* @remarks
|
|
1136
|
-
*
|
|
1088
|
+
* RDS instance list.
|
|
1137
1089
|
*/
|
|
1138
1090
|
rdsInstances?: string[];
|
|
1139
1091
|
/**
|
|
1140
1092
|
* @remarks
|
|
1141
|
-
*
|
|
1093
|
+
* Resource pool and resource pool policy used when creating instances. Note the following when setting this parameter:
|
|
1094
|
+
* This parameter only takes effect when creating pay-as-you-go instances.
|
|
1095
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1142
1096
|
*/
|
|
1143
1097
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1144
1098
|
/**
|
|
1145
1099
|
* @remarks
|
|
1146
|
-
*
|
|
1100
|
+
* Scaling group mode. Valid values:
|
|
1147
1101
|
*
|
|
1148
|
-
* - `release`: Standard mode.
|
|
1149
|
-
*
|
|
1150
|
-
* - `recycle`: Fast mode. Scales by creating, stopping, and starting instances to improve scaling speed. You are not charged for compute resources when instances are stopped, only for storage fees (except for local disk models).
|
|
1102
|
+
* - `release`: Standard mode. Scale by creating and releasing ECS instances based on resource usage.
|
|
1103
|
+
* - `recycle`: Swift mode. Scale by creating, stopping, and starting instances to improve subsequent scaling speed (compute resources are not charged during shutdown, only storage fees apply, except for local disk instance types).
|
|
1151
1104
|
*
|
|
1152
1105
|
* @example
|
|
1153
1106
|
* release
|
|
@@ -1155,12 +1108,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1155
1108
|
scalingPolicy?: string;
|
|
1156
1109
|
/**
|
|
1157
1110
|
* @remarks
|
|
1158
|
-
*
|
|
1111
|
+
* List of security group IDs.
|
|
1159
1112
|
*/
|
|
1160
1113
|
securityGroupIds?: string[];
|
|
1161
1114
|
/**
|
|
1162
1115
|
* @remarks
|
|
1163
|
-
*
|
|
1116
|
+
* Number of available instance types. The scaling group creates preemptible instances evenly across the lowest-cost instance types. Valid values: [1,10\\].
|
|
1164
1117
|
*
|
|
1165
1118
|
* @example
|
|
1166
1119
|
* 5
|
|
@@ -1168,11 +1121,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1168
1121
|
spotInstancePools?: number;
|
|
1169
1122
|
/**
|
|
1170
1123
|
* @remarks
|
|
1171
|
-
*
|
|
1172
|
-
*
|
|
1173
|
-
* - `true`: Enable spot instance replenishment.
|
|
1124
|
+
* Whether to enable supplementing preemptible instances. When enabled, the scaling group attempts to create new instances to replace preemptible instances that are about to be reclaimed upon receiving a system notification. Valid values:
|
|
1174
1125
|
*
|
|
1175
|
-
* - `
|
|
1126
|
+
* - `true`: Enable supplementing preemptible instances.
|
|
1127
|
+
* - `false`: Disable supplementing preemptible instances.
|
|
1176
1128
|
*
|
|
1177
1129
|
* @example
|
|
1178
1130
|
* false
|
|
@@ -1180,20 +1132,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1180
1132
|
spotInstanceRemedy?: boolean;
|
|
1181
1133
|
/**
|
|
1182
1134
|
* @remarks
|
|
1183
|
-
*
|
|
1135
|
+
* Preemptible instance market price range configuration.
|
|
1184
1136
|
*/
|
|
1185
1137
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1186
1138
|
/**
|
|
1187
1139
|
* @remarks
|
|
1188
|
-
*
|
|
1189
|
-
*
|
|
1190
|
-
* - `NoSpot`: On-demand instance.
|
|
1191
|
-
*
|
|
1192
|
-
* - `SpotWithPriceLimit`: Set a price limit for spot instances.
|
|
1140
|
+
* Preemptible instance type. Valid values:
|
|
1193
1141
|
*
|
|
1194
|
-
* - `
|
|
1142
|
+
* - `NoSpot`: Non-preemptible instance.
|
|
1143
|
+
* - `SpotWithPriceLimit`: Set a maximum price for the preemptible instance.
|
|
1144
|
+
* - `SpotAsPriceGo`: System automatically bids, following the current market price.
|
|
1195
1145
|
*
|
|
1196
|
-
* For more information, see [
|
|
1146
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1197
1147
|
*
|
|
1198
1148
|
* @example
|
|
1199
1149
|
* SpotWithPriceLimit
|
|
@@ -1201,13 +1151,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1201
1151
|
spotStrategy?: string;
|
|
1202
1152
|
/**
|
|
1203
1153
|
* @remarks
|
|
1204
|
-
*
|
|
1205
|
-
*
|
|
1206
|
-
* - true: Enable. During sudden spikes in read/write activity, the disk temporarily boosts performance until workloads return to normal.
|
|
1207
|
-
*
|
|
1154
|
+
* Whether to enable burst (performance burst) for the node system disk. Valid values:
|
|
1155
|
+
* - true: Enable. When enabled, cloud disks can temporarily boost performance based on actual business conditions when facing sudden data read/write pressure from volatile workloads, until the business returns to a steady state.
|
|
1208
1156
|
* - false: Disable.
|
|
1209
1157
|
*
|
|
1210
|
-
*
|
|
1158
|
+
* Only supported when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1211
1159
|
*
|
|
1212
1160
|
* @example
|
|
1213
1161
|
* true
|
|
@@ -1215,21 +1163,16 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1215
1163
|
systemDiskBurstingEnabled?: boolean;
|
|
1216
1164
|
/**
|
|
1217
1165
|
* @remarks
|
|
1218
|
-
*
|
|
1166
|
+
* Multiple disk types for the system disk. When the higher-priority disk type is unavailable, the system automatically tries the next priority disk type to create the system disk.
|
|
1219
1167
|
*/
|
|
1220
1168
|
systemDiskCategories?: string[];
|
|
1221
1169
|
/**
|
|
1222
1170
|
* @remarks
|
|
1223
|
-
*
|
|
1224
|
-
*
|
|
1171
|
+
* Node system disk type. Valid values:
|
|
1225
1172
|
* - `cloud_efficiency`: Ultra disk.
|
|
1226
|
-
*
|
|
1227
|
-
* - `
|
|
1228
|
-
*
|
|
1229
|
-
* - `cloud_essd`: Enhanced SSD (ESSD).
|
|
1230
|
-
*
|
|
1173
|
+
* - `cloud_ssd`: SSD disk.
|
|
1174
|
+
* - `cloud_essd`: ESSD disk.
|
|
1231
1175
|
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1232
|
-
*
|
|
1233
1176
|
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1234
1177
|
*
|
|
1235
1178
|
* Default value: `cloud_efficiency`.
|
|
@@ -1240,7 +1183,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1240
1183
|
systemDiskCategory?: string;
|
|
1241
1184
|
/**
|
|
1242
1185
|
* @remarks
|
|
1243
|
-
*
|
|
1186
|
+
* Encryption algorithm used for the system disk. Valid values: aes-256.
|
|
1244
1187
|
*
|
|
1245
1188
|
* @example
|
|
1246
1189
|
* aes-256
|
|
@@ -1248,7 +1191,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1248
1191
|
systemDiskEncryptAlgorithm?: string;
|
|
1249
1192
|
/**
|
|
1250
1193
|
* @remarks
|
|
1251
|
-
*
|
|
1194
|
+
* Whether to encrypt the system disk. Valid values:
|
|
1252
1195
|
*
|
|
1253
1196
|
* - true: Encrypt.
|
|
1254
1197
|
*
|
|
@@ -1260,7 +1203,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1260
1203
|
systemDiskEncrypted?: boolean;
|
|
1261
1204
|
/**
|
|
1262
1205
|
* @remarks
|
|
1263
|
-
*
|
|
1206
|
+
* KMS key ID used for the system disk.
|
|
1264
1207
|
*
|
|
1265
1208
|
* @example
|
|
1266
1209
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1268,15 +1211,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1268
1211
|
systemDiskKmsKeyId?: string;
|
|
1269
1212
|
/**
|
|
1270
1213
|
* @remarks
|
|
1271
|
-
*
|
|
1272
|
-
*
|
|
1273
|
-
* -
|
|
1274
|
-
*
|
|
1275
|
-
* -
|
|
1276
|
-
*
|
|
1277
|
-
* - PL2: High I/O performance with stable read/write latency.
|
|
1278
|
-
*
|
|
1279
|
-
* - PL3: Extremely high I/O performance with extremely stable read/write latency.
|
|
1214
|
+
* Node system disk performance level. Only takes effect for ESSD disks. The performance level is related to the disk size. For more information, see [ESSD disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1215
|
+
* - PL0: Medium concurrent extreme I/O performance, relatively stable read/write latency.
|
|
1216
|
+
* - PL1: Medium concurrent extreme I/O performance, relatively stable read/write latency.
|
|
1217
|
+
* - PL2: High concurrent extreme I/O performance, stable read/write latency.
|
|
1218
|
+
* - PL3: Extremely high concurrent extreme I/O performance, extremely stable read/write latency.
|
|
1280
1219
|
*
|
|
1281
1220
|
* @example
|
|
1282
1221
|
* PL1
|
|
@@ -1284,11 +1223,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1284
1223
|
systemDiskPerformanceLevel?: string;
|
|
1285
1224
|
/**
|
|
1286
1225
|
* @remarks
|
|
1287
|
-
*
|
|
1226
|
+
* Provisioned read/write IOPS for the node system disk.
|
|
1288
1227
|
*
|
|
1289
|
-
*
|
|
1228
|
+
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1290
1229
|
*
|
|
1291
|
-
*
|
|
1230
|
+
* Only supported when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1292
1231
|
*
|
|
1293
1232
|
* @example
|
|
1294
1233
|
* 1000
|
|
@@ -1296,13 +1235,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1296
1235
|
systemDiskProvisionedIops?: number;
|
|
1297
1236
|
/**
|
|
1298
1237
|
* @remarks
|
|
1299
|
-
*
|
|
1238
|
+
* Node system disk size, in GiB.
|
|
1300
1239
|
*
|
|
1301
|
-
* Valid values: [20,
|
|
1240
|
+
* Valid values: [20,2048\\].
|
|
1302
1241
|
*
|
|
1303
|
-
*
|
|
1242
|
+
* The value of this parameter must be greater than or equal to max{20, ImageSize}.
|
|
1304
1243
|
*
|
|
1305
|
-
* Default value: max{40, image size corresponding to ImageId}.
|
|
1244
|
+
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1306
1245
|
*
|
|
1307
1246
|
* @example
|
|
1308
1247
|
* 120
|
|
@@ -1310,7 +1249,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1310
1249
|
systemDiskSize?: number;
|
|
1311
1250
|
/**
|
|
1312
1251
|
* @remarks
|
|
1313
|
-
*
|
|
1252
|
+
* System disk snapshot policy.
|
|
1314
1253
|
*
|
|
1315
1254
|
* @example
|
|
1316
1255
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1318,16 +1257,16 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1318
1257
|
systemDiskSnapshotPolicyId?: string;
|
|
1319
1258
|
/**
|
|
1320
1259
|
* @remarks
|
|
1321
|
-
*
|
|
1260
|
+
* Tags added only to ECS instances.
|
|
1322
1261
|
*
|
|
1323
|
-
* Tag keys
|
|
1262
|
+
* Tag keys cannot be duplicated and can be up to 128 characters. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1324
1263
|
*/
|
|
1325
1264
|
tags?: Tag[];
|
|
1326
1265
|
/**
|
|
1327
1266
|
* @remarks
|
|
1328
|
-
*
|
|
1267
|
+
* List of vSwitch IDs. Valid values: [1,8\\].
|
|
1329
1268
|
*
|
|
1330
|
-
* > To ensure high availability, select
|
|
1269
|
+
* > To ensure high availability, it is recommended to select vSwitches in different availability zones.
|
|
1331
1270
|
*/
|
|
1332
1271
|
vswitchIds?: string[];
|
|
1333
1272
|
static names(): { [key: string]: string } {
|
|
@@ -1474,10 +1413,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1474
1413
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1475
1414
|
/**
|
|
1476
1415
|
* @remarks
|
|
1477
|
-
*
|
|
1416
|
+
* Whether to enable confidential computing cluster. Valid values:
|
|
1478
1417
|
*
|
|
1479
1418
|
* - `true`: Enable.
|
|
1480
|
-
*
|
|
1481
1419
|
* - `false`: Disable.
|
|
1482
1420
|
*
|
|
1483
1421
|
* Default value: `false`.
|
|
@@ -1510,7 +1448,7 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1510
1448
|
export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1511
1449
|
/**
|
|
1512
1450
|
* @remarks
|
|
1513
|
-
*
|
|
1451
|
+
* Auto scaling configuration.
|
|
1514
1452
|
*/
|
|
1515
1453
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1516
1454
|
/**
|
|
@@ -1523,17 +1461,17 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1523
1461
|
concurrency?: boolean;
|
|
1524
1462
|
/**
|
|
1525
1463
|
* @remarks
|
|
1526
|
-
*
|
|
1464
|
+
* Cluster-related configuration.
|
|
1527
1465
|
*/
|
|
1528
1466
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1529
1467
|
/**
|
|
1530
1468
|
* @remarks
|
|
1531
|
-
*
|
|
1469
|
+
* Managed node pool configuration.
|
|
1532
1470
|
*/
|
|
1533
1471
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1534
1472
|
/**
|
|
1535
1473
|
* @remarks
|
|
1536
|
-
*
|
|
1474
|
+
* Node pool configuration.
|
|
1537
1475
|
*/
|
|
1538
1476
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1539
1477
|
/**
|
|
@@ -1543,7 +1481,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1543
1481
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1544
1482
|
/**
|
|
1545
1483
|
* @remarks
|
|
1546
|
-
*
|
|
1484
|
+
* Confidential computing cluster configuration.
|
|
1547
1485
|
*/
|
|
1548
1486
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1549
1487
|
/**
|