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