@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
|
@@ -12,12 +12,10 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Whether to enable intelligent managed mode.
|
|
16
16
|
* Valid values:
|
|
17
|
-
*
|
|
18
|
-
* -
|
|
19
|
-
*
|
|
20
|
-
* - false: Disables the intelligent managed mode.
|
|
17
|
+
* - true: enable intelligent managed mode. Can only be enabled when the cluster has intelligent managed mode enabled.
|
|
18
|
+
* - false: disable intelligent managed mode.
|
|
21
19
|
*
|
|
22
20
|
* @example
|
|
23
21
|
* true
|
|
@@ -47,9 +45,9 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
47
45
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
48
46
|
/**
|
|
49
47
|
* @remarks
|
|
50
|
-
* [
|
|
48
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
51
49
|
*
|
|
52
|
-
*
|
|
50
|
+
* Maximum EIP bandwidth. Unit: Mbps.
|
|
53
51
|
*
|
|
54
52
|
* @example
|
|
55
53
|
* null
|
|
@@ -59,12 +57,10 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
59
57
|
eipBandwidth?: number;
|
|
60
58
|
/**
|
|
61
59
|
* @remarks
|
|
62
|
-
* [
|
|
63
|
-
*
|
|
64
|
-
* The billing method of the EIP. Valid values:
|
|
60
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
65
61
|
*
|
|
62
|
+
* EIP billing method. Valid values:
|
|
66
63
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
67
|
-
*
|
|
68
64
|
* - `PayByTraffic`: pay-by-traffic.
|
|
69
65
|
*
|
|
70
66
|
* Default value: `PayByBandwidth`.
|
|
@@ -77,13 +73,14 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
77
73
|
eipInternetChargeType?: string;
|
|
78
74
|
/**
|
|
79
75
|
* @remarks
|
|
80
|
-
*
|
|
76
|
+
* Whether to enable auto scaling. Valid values:
|
|
81
77
|
*
|
|
82
|
-
* - `true`:
|
|
78
|
+
* - `true`: enables auto scaling for the node pool. When cluster capacity cannot meet Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later enable instant node scaling by default;
|
|
79
|
+
* clusters of versions earlier than 1.24 enable node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
83
80
|
*
|
|
84
|
-
* - `false`:
|
|
81
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count, always maintaining the node count at the desired number.
|
|
85
82
|
*
|
|
86
|
-
*
|
|
83
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
87
84
|
*
|
|
88
85
|
* Default value: `false`.
|
|
89
86
|
*
|
|
@@ -93,13 +90,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
93
90
|
enable?: boolean;
|
|
94
91
|
/**
|
|
95
92
|
* @remarks
|
|
96
|
-
* [
|
|
93
|
+
* [Deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
97
94
|
*
|
|
98
|
-
*
|
|
95
|
+
* Whether to bind an EIP. Valid values:
|
|
99
96
|
*
|
|
100
|
-
* - `true`:
|
|
97
|
+
* - `true`: bind an EIP.
|
|
101
98
|
*
|
|
102
|
-
* - `false`:
|
|
99
|
+
* - `false`: do not bind an EIP.
|
|
103
100
|
*
|
|
104
101
|
* Default value: `false`.
|
|
105
102
|
*
|
|
@@ -111,9 +108,9 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
111
108
|
isBondEip?: boolean;
|
|
112
109
|
/**
|
|
113
110
|
* @remarks
|
|
114
|
-
*
|
|
111
|
+
* Maximum number of instances that can be scaled in the node pool, excluding existing instances. Takes effect only when `enable=true`.
|
|
115
112
|
*
|
|
116
|
-
*
|
|
113
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
117
114
|
*
|
|
118
115
|
* @example
|
|
119
116
|
* 10
|
|
@@ -121,13 +118,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
121
118
|
maxInstances?: number;
|
|
122
119
|
/**
|
|
123
120
|
* @remarks
|
|
124
|
-
*
|
|
121
|
+
* Minimum number of instances that can be scaled in the node pool, excluding existing instances. Takes effect only when `enable=true`.
|
|
125
122
|
*
|
|
126
|
-
*
|
|
123
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
127
124
|
*
|
|
128
|
-
* > -
|
|
129
|
-
* >
|
|
130
|
-
* > - We recommend that you set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after auto scaling is enabled.
|
|
125
|
+
* > - 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.
|
|
126
|
+
* > - It is recommended that the maximum number of instances is not smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be directly scaled in after auto scaling takes effect.
|
|
131
127
|
*
|
|
132
128
|
* @example
|
|
133
129
|
* 1
|
|
@@ -135,18 +131,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
135
131
|
minInstances?: number;
|
|
136
132
|
/**
|
|
137
133
|
* @remarks
|
|
138
|
-
*
|
|
134
|
+
* Auto scaling instance type. Takes effect only when `enable=true`. Valid values:
|
|
139
135
|
*
|
|
140
|
-
* - `cpu`:
|
|
136
|
+
* - `cpu`: standard instance type.
|
|
141
137
|
*
|
|
142
|
-
* - `gpu`: GPU
|
|
138
|
+
* - `gpu`: GPU instance type.
|
|
143
139
|
*
|
|
144
|
-
* - `gpushare`:
|
|
140
|
+
* - `gpushare`: GPU sharing type.
|
|
145
141
|
*
|
|
146
|
-
* - `spot`:
|
|
142
|
+
* - `spot`: preemptible instance type.
|
|
147
143
|
*
|
|
148
144
|
* Default value: `cpu`.
|
|
149
|
-
* >Notice:
|
|
145
|
+
* >Notice: This field cannot be modified after the node pool is created.
|
|
150
146
|
*
|
|
151
147
|
* @example
|
|
152
148
|
* cpu
|
|
@@ -188,7 +184,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
188
184
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
189
185
|
/**
|
|
190
186
|
* @remarks
|
|
191
|
-
*
|
|
187
|
+
* Lingjun cluster ID to associate when creating a Lingjun node pool.
|
|
192
188
|
*
|
|
193
189
|
* @example
|
|
194
190
|
* i1169130516633730****
|
|
@@ -196,7 +192,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
196
192
|
clusterId?: string;
|
|
197
193
|
/**
|
|
198
194
|
* @remarks
|
|
199
|
-
*
|
|
195
|
+
* Lingjun group ID of the Lingjun cluster to associate when creating a Lingjun node pool.
|
|
200
196
|
*
|
|
201
197
|
* @example
|
|
202
198
|
* ng-ec3c96ff0aa****
|
|
@@ -228,9 +224,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
228
224
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
229
225
|
/**
|
|
230
226
|
* @remarks
|
|
231
|
-
* [
|
|
227
|
+
* [Deprecated]
|
|
232
228
|
*
|
|
233
|
-
*
|
|
229
|
+
* Network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
234
230
|
*
|
|
235
231
|
* @example
|
|
236
232
|
* null
|
|
@@ -238,9 +234,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
238
234
|
bandwidth?: number;
|
|
239
235
|
/**
|
|
240
236
|
* @remarks
|
|
241
|
-
* [
|
|
237
|
+
* [Deprecated]
|
|
242
238
|
*
|
|
243
|
-
*
|
|
239
|
+
* CCN instance ID (CCN ID) bound to the enhanced edge node pool.
|
|
244
240
|
*
|
|
245
241
|
* @example
|
|
246
242
|
* null
|
|
@@ -248,9 +244,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
248
244
|
ccnId?: string;
|
|
249
245
|
/**
|
|
250
246
|
* @remarks
|
|
251
|
-
* [
|
|
247
|
+
* [Deprecated]
|
|
252
248
|
*
|
|
253
|
-
*
|
|
249
|
+
* Region of the CCN instance bound to the enhanced edge node pool.
|
|
254
250
|
*
|
|
255
251
|
* @example
|
|
256
252
|
* null
|
|
@@ -258,9 +254,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
258
254
|
ccnRegionId?: string;
|
|
259
255
|
/**
|
|
260
256
|
* @remarks
|
|
261
|
-
* [
|
|
257
|
+
* [Deprecated]
|
|
262
258
|
*
|
|
263
|
-
*
|
|
259
|
+
* CEN instance ID (CEN ID) bound to the enhanced edge node pool.
|
|
264
260
|
*
|
|
265
261
|
* @example
|
|
266
262
|
* null
|
|
@@ -268,9 +264,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
268
264
|
cenId?: string;
|
|
269
265
|
/**
|
|
270
266
|
* @remarks
|
|
271
|
-
* [
|
|
267
|
+
* [Deprecated]
|
|
272
268
|
*
|
|
273
|
-
*
|
|
269
|
+
* Subscription duration of the enhanced edge node pool. Unit: months.
|
|
274
270
|
*
|
|
275
271
|
* @example
|
|
276
272
|
* null
|
|
@@ -308,11 +304,11 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
308
304
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
309
305
|
/**
|
|
310
306
|
* @remarks
|
|
311
|
-
*
|
|
307
|
+
* Whether to install CloudMonitor on ECS nodes. After installation, you can view monitoring information for created ECS instances in the CloudMonitor console. We recommend enabling this. Valid values:
|
|
312
308
|
*
|
|
313
|
-
* - `true`:
|
|
309
|
+
* - `true`: install CloudMonitor on ECS nodes.
|
|
314
310
|
*
|
|
315
|
-
* - `false`:
|
|
311
|
+
* - `false`: do not install CloudMonitor on ECS nodes.
|
|
316
312
|
*
|
|
317
313
|
* Default value: `false`.
|
|
318
314
|
*
|
|
@@ -322,11 +318,10 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
322
318
|
cmsEnabled?: boolean;
|
|
323
319
|
/**
|
|
324
320
|
* @remarks
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
321
|
+
* Node CPU management policy. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
328
322
|
*
|
|
329
|
-
* - `
|
|
323
|
+
* - `static`: allows enhanced CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
324
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
330
325
|
*
|
|
331
326
|
* Default value: `none`.
|
|
332
327
|
*
|
|
@@ -336,30 +331,27 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
336
331
|
cpuPolicy?: string;
|
|
337
332
|
/**
|
|
338
333
|
* @remarks
|
|
339
|
-
*
|
|
334
|
+
* Node labels. Add labels to Kubernetes cluster nodes.
|
|
340
335
|
*/
|
|
341
336
|
labels?: Tag[];
|
|
342
337
|
/**
|
|
343
338
|
* @remarks
|
|
344
|
-
*
|
|
339
|
+
* Custom node name. After setting a custom node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
340
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with "-" replacing "." in the IP address, and does not include the prefix or suffix.
|
|
345
341
|
*
|
|
346
|
-
*
|
|
342
|
+
* A node name consists of three parts: prefix, node IP address, and suffix:
|
|
347
343
|
*
|
|
348
|
-
*
|
|
344
|
+
* - Total length: 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
349
345
|
*
|
|
350
|
-
* - The
|
|
346
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with a letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
347
|
+
* - The prefix is required (ECS restriction) and the suffix is optional.
|
|
348
|
+
* - The node IP is the complete private IP address of the node.
|
|
351
349
|
*
|
|
352
|
-
*
|
|
350
|
+
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
353
351
|
*
|
|
354
|
-
* -
|
|
352
|
+
* - For Linux nodes, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
355
353
|
*
|
|
356
|
-
* -
|
|
357
|
-
*
|
|
358
|
-
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
|
|
359
|
-
*
|
|
360
|
-
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
361
|
-
*
|
|
362
|
-
* - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
354
|
+
* - For Windows nodes, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
363
355
|
*
|
|
364
356
|
* @example
|
|
365
357
|
* aliyun.com192.XX.YY.55test
|
|
@@ -367,7 +359,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
367
359
|
nodeNameMode?: string;
|
|
368
360
|
/**
|
|
369
361
|
* @remarks
|
|
370
|
-
*
|
|
362
|
+
* Instance pre-custom data. Before a node joins the cluster, the specified instance pre-custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
371
363
|
*
|
|
372
364
|
* @example
|
|
373
365
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -375,13 +367,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
375
367
|
preUserData?: string;
|
|
376
368
|
/**
|
|
377
369
|
* @remarks
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
381
|
-
*
|
|
382
|
-
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 or earlier.
|
|
370
|
+
* Container runtime name. ACK supports the following three container runtimes.
|
|
383
371
|
*
|
|
384
|
-
* -
|
|
372
|
+
* - containerd: recommended, supported by all cluster versions.
|
|
373
|
+
* - Sandboxed-Container.runv: sandboxed container with higher isolation, supported by clusters of version 1.31 or earlier.
|
|
374
|
+
* - docker: no longer maintained, supported by clusters of version 1.22 or earlier.
|
|
385
375
|
*
|
|
386
376
|
* Default value: containerd.
|
|
387
377
|
*
|
|
@@ -391,7 +381,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
391
381
|
runtime?: string;
|
|
392
382
|
/**
|
|
393
383
|
* @remarks
|
|
394
|
-
*
|
|
384
|
+
* Container runtime version.
|
|
395
385
|
*
|
|
396
386
|
* @example
|
|
397
387
|
* 1.6.38
|
|
@@ -399,16 +389,16 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
399
389
|
runtimeVersion?: string;
|
|
400
390
|
/**
|
|
401
391
|
* @remarks
|
|
402
|
-
*
|
|
392
|
+
* Taint configuration.
|
|
403
393
|
*/
|
|
404
394
|
taints?: Taint[];
|
|
405
395
|
/**
|
|
406
396
|
* @remarks
|
|
407
|
-
*
|
|
397
|
+
* Whether scaled-out nodes are unschedulable.
|
|
408
398
|
*
|
|
409
|
-
* - true:
|
|
399
|
+
* - true: unschedulable.
|
|
410
400
|
*
|
|
411
|
-
* - false:
|
|
401
|
+
* - false: schedulable.
|
|
412
402
|
*
|
|
413
403
|
* @example
|
|
414
404
|
* true
|
|
@@ -416,7 +406,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
416
406
|
unschedulable?: boolean;
|
|
417
407
|
/**
|
|
418
408
|
* @remarks
|
|
419
|
-
*
|
|
409
|
+
* Instance custom data. After a node joins the cluster, the specified instance custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
420
410
|
*
|
|
421
411
|
* @example
|
|
422
412
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -470,16 +460,15 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
470
460
|
export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
471
461
|
/**
|
|
472
462
|
* @remarks
|
|
473
|
-
*
|
|
463
|
+
* Whether node repair requires manual approval.
|
|
474
464
|
*/
|
|
475
465
|
approvalRequired?: boolean;
|
|
476
466
|
/**
|
|
477
467
|
* @remarks
|
|
478
|
-
*
|
|
468
|
+
* Whether to allow node restart. Takes effect only when `auto_repair=true`. Valid values:
|
|
479
469
|
*
|
|
480
|
-
* - `true`:
|
|
481
|
-
*
|
|
482
|
-
* - `false`: Disallows node restart.
|
|
470
|
+
* - `true`: allow node restart
|
|
471
|
+
* - `false`: do not allow node restart
|
|
483
472
|
*
|
|
484
473
|
* Default value: `true`
|
|
485
474
|
*
|
|
@@ -513,11 +502,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
513
502
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
514
503
|
/**
|
|
515
504
|
* @remarks
|
|
516
|
-
*
|
|
517
|
-
*
|
|
518
|
-
* - `
|
|
519
|
-
*
|
|
520
|
-
* - `false`: Disallows auto kubelet upgrade.
|
|
505
|
+
* Whether to allow automatic kubelet upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
506
|
+
* - `true`: allow automatic kubelet upgrade.
|
|
507
|
+
* - `false`: do not allow automatic kubelet upgrade.
|
|
521
508
|
*
|
|
522
509
|
* Default value: `true`.
|
|
523
510
|
*
|
|
@@ -527,11 +514,10 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
527
514
|
autoUpgradeKubelet?: boolean;
|
|
528
515
|
/**
|
|
529
516
|
* @remarks
|
|
530
|
-
*
|
|
517
|
+
* Whether to allow automatic OS upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
518
|
+
* - `true`: allow automatic OS upgrade.
|
|
519
|
+
* - `false`: do not allow automatic OS upgrade.
|
|
531
520
|
*
|
|
532
|
-
* - `true`: Allows auto OS upgrade.
|
|
533
|
-
*
|
|
534
|
-
* - `false`: Disallows auto OS upgrade.
|
|
535
521
|
*
|
|
536
522
|
* Default value: `false`.
|
|
537
523
|
*
|
|
@@ -541,11 +527,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
541
527
|
autoUpgradeOs?: boolean;
|
|
542
528
|
/**
|
|
543
529
|
* @remarks
|
|
544
|
-
*
|
|
545
|
-
*
|
|
546
|
-
* - `
|
|
547
|
-
*
|
|
548
|
-
* - `false`: Disallows auto runtime upgrade.
|
|
530
|
+
* Whether to allow automatic runtime upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
531
|
+
* - `true`: allow automatic runtime upgrade.
|
|
532
|
+
* - `false`: do not allow automatic runtime upgrade.
|
|
549
533
|
*
|
|
550
534
|
* Default value: `true`.
|
|
551
535
|
*
|
|
@@ -581,7 +565,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
581
565
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
582
566
|
/**
|
|
583
567
|
* @remarks
|
|
584
|
-
*
|
|
568
|
+
* Packages to exclude during vulnerability patching.
|
|
585
569
|
*
|
|
586
570
|
* Default value: `kernel`.
|
|
587
571
|
*
|
|
@@ -591,11 +575,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
591
575
|
excludePackages?: string;
|
|
592
576
|
/**
|
|
593
577
|
* @remarks
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
* - `
|
|
597
|
-
*
|
|
598
|
-
* - `false`: Disallows node restart.
|
|
578
|
+
* Whether to allow node restart. Takes effect only when `auto_vul_fix=true`. Valid values:
|
|
579
|
+
* - `true`: allow node restart
|
|
580
|
+
* - `false`: do not allow node restart
|
|
599
581
|
*
|
|
600
582
|
* Default value: `true`
|
|
601
583
|
*
|
|
@@ -605,12 +587,10 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
605
587
|
restartNode?: boolean;
|
|
606
588
|
/**
|
|
607
589
|
* @remarks
|
|
608
|
-
*
|
|
590
|
+
* Vulnerability levels allowed for automatic fixing, separated by commas, for example: `asap,later`. Supported vulnerability levels:
|
|
609
591
|
*
|
|
610
592
|
* - `asap`: high
|
|
611
|
-
*
|
|
612
593
|
* - `later`: medium
|
|
613
|
-
*
|
|
614
594
|
* - `nntf`: low
|
|
615
595
|
*
|
|
616
596
|
* Default value: `asap`.
|
|
@@ -647,13 +627,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
647
627
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
648
628
|
/**
|
|
649
629
|
* @remarks
|
|
650
|
-
* [
|
|
630
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the parent level instead.
|
|
651
631
|
*
|
|
652
|
-
*
|
|
632
|
+
* Whether to enable auto upgrade. Valid values:
|
|
653
633
|
*
|
|
654
|
-
* - `true`:
|
|
634
|
+
* - `true`: enable auto upgrade.
|
|
655
635
|
*
|
|
656
|
-
* - `false`:
|
|
636
|
+
* - `false`: disable auto upgrade.
|
|
657
637
|
*
|
|
658
638
|
* @example
|
|
659
639
|
* null
|
|
@@ -663,8 +643,8 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
663
643
|
autoUpgrade?: boolean;
|
|
664
644
|
/**
|
|
665
645
|
* @remarks
|
|
666
|
-
*
|
|
667
|
-
*
|
|
646
|
+
* Maximum number of unavailable nodes.
|
|
647
|
+
* Valid values: [1,1000\\]
|
|
668
648
|
*
|
|
669
649
|
* Default value: 1.
|
|
670
650
|
*
|
|
@@ -674,11 +654,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
674
654
|
maxUnavailable?: number;
|
|
675
655
|
/**
|
|
676
656
|
* @remarks
|
|
677
|
-
*
|
|
657
|
+
* Number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
678
658
|
*
|
|
679
|
-
* Nodes become unavailable during
|
|
659
|
+
* Nodes become unavailable during upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
680
660
|
*
|
|
681
|
-
* >
|
|
661
|
+
* > It is recommended that the number of extra nodes does not exceed the current number of nodes.
|
|
682
662
|
*
|
|
683
663
|
* @example
|
|
684
664
|
* 0
|
|
@@ -686,9 +666,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
686
666
|
surge?: number;
|
|
687
667
|
/**
|
|
688
668
|
* @remarks
|
|
689
|
-
*
|
|
669
|
+
* Percentage of extra nodes. Mutually exclusive with `surge`.
|
|
690
670
|
*
|
|
691
|
-
* Number of extra nodes =
|
|
671
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
692
672
|
*
|
|
693
673
|
* @example
|
|
694
674
|
* 0
|
|
@@ -725,11 +705,11 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
725
705
|
autoFaultDiagnosis?: boolean;
|
|
726
706
|
/**
|
|
727
707
|
* @remarks
|
|
728
|
-
*
|
|
708
|
+
* Whether to automatically repair nodes. Takes effect only when `enable=true`.
|
|
729
709
|
*
|
|
730
|
-
* - `true`:
|
|
710
|
+
* - `true`: auto repair
|
|
731
711
|
*
|
|
732
|
-
* - `false`:
|
|
712
|
+
* - `false`: no auto repair
|
|
733
713
|
*
|
|
734
714
|
* Default value: `true`
|
|
735
715
|
*
|
|
@@ -739,16 +719,14 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
739
719
|
autoRepair?: boolean;
|
|
740
720
|
/**
|
|
741
721
|
* @remarks
|
|
742
|
-
*
|
|
722
|
+
* Auto repair node policy.
|
|
743
723
|
*/
|
|
744
724
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
745
725
|
/**
|
|
746
726
|
* @remarks
|
|
747
|
-
*
|
|
748
|
-
*
|
|
749
|
-
* - `
|
|
750
|
-
*
|
|
751
|
-
* - `false`: Disables auto node upgrade.
|
|
727
|
+
* Whether to automatically upgrade nodes. Takes effect only when `enable=true`.
|
|
728
|
+
* - `true`: enable auto upgrade.
|
|
729
|
+
* - `false`: disable auto upgrade.
|
|
752
730
|
*
|
|
753
731
|
* Default value: `true`.
|
|
754
732
|
*
|
|
@@ -758,16 +736,15 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
758
736
|
autoUpgrade?: boolean;
|
|
759
737
|
/**
|
|
760
738
|
* @remarks
|
|
761
|
-
*
|
|
739
|
+
* Auto node upgrade policy.
|
|
762
740
|
*/
|
|
763
741
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
764
742
|
/**
|
|
765
743
|
* @remarks
|
|
766
|
-
*
|
|
744
|
+
* Whether to automatically fix CVE vulnerabilities. Takes effect only when `enable=true`.
|
|
767
745
|
*
|
|
768
|
-
* - `true`:
|
|
769
|
-
*
|
|
770
|
-
* - `false`: Does not automatically fix CVE vulnerabilities.
|
|
746
|
+
* - `true`: allow automatic CVE fixing.
|
|
747
|
+
* - `false`: do not allow automatic CVE fixing.
|
|
771
748
|
*
|
|
772
749
|
* Default value: `true`.
|
|
773
750
|
*
|
|
@@ -777,16 +754,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
777
754
|
autoVulFix?: boolean;
|
|
778
755
|
/**
|
|
779
756
|
* @remarks
|
|
780
|
-
*
|
|
757
|
+
* Auto CVE fix policy.
|
|
781
758
|
*/
|
|
782
759
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
783
760
|
/**
|
|
784
761
|
* @remarks
|
|
785
|
-
*
|
|
762
|
+
* Whether to enable the managed feature for the node pool. Valid values:
|
|
786
763
|
*
|
|
787
|
-
* - `true`:
|
|
764
|
+
* - `true`: enable the managed feature.
|
|
788
765
|
*
|
|
789
|
-
* - `false`:
|
|
766
|
+
* - `false`: disable the managed feature. Other related configurations take effect only when enable=true.
|
|
790
767
|
*
|
|
791
768
|
* Default value: false.
|
|
792
769
|
*
|
|
@@ -796,9 +773,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
796
773
|
enable?: boolean;
|
|
797
774
|
/**
|
|
798
775
|
* @remarks
|
|
799
|
-
* [
|
|
776
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the parent level instead.
|
|
800
777
|
*
|
|
801
|
-
*
|
|
778
|
+
* Auto upgrade configuration. Takes effect only when `enable=true`.
|
|
802
779
|
*
|
|
803
780
|
* @deprecated
|
|
804
781
|
*/
|
|
@@ -855,9 +832,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
855
832
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
856
833
|
/**
|
|
857
834
|
* @remarks
|
|
858
|
-
*
|
|
835
|
+
* Node component custom configuration.
|
|
836
|
+
*
|
|
837
|
+
* @example
|
|
838
|
+
* {"cpuManagerPolicy":"static"}
|
|
859
839
|
*/
|
|
860
|
-
customConfig?: { [key: string]:
|
|
840
|
+
customConfig?: { [key: string]: any };
|
|
861
841
|
static names(): { [key: string]: string } {
|
|
862
842
|
return {
|
|
863
843
|
customConfig: 'custom_config',
|
|
@@ -866,7 +846,7 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
866
846
|
|
|
867
847
|
static types(): { [key: string]: any } {
|
|
868
848
|
return {
|
|
869
|
-
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': '
|
|
849
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
870
850
|
};
|
|
871
851
|
}
|
|
872
852
|
|
|
@@ -885,12 +865,12 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
885
865
|
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
886
866
|
/**
|
|
887
867
|
* @remarks
|
|
888
|
-
*
|
|
868
|
+
* Node component configuration.
|
|
889
869
|
*/
|
|
890
870
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
891
871
|
/**
|
|
892
872
|
* @remarks
|
|
893
|
-
*
|
|
873
|
+
* Node component name.
|
|
894
874
|
*
|
|
895
875
|
* @example
|
|
896
876
|
* kubelet
|
|
@@ -898,7 +878,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
898
878
|
name?: string;
|
|
899
879
|
/**
|
|
900
880
|
* @remarks
|
|
901
|
-
*
|
|
881
|
+
* Node component version.
|
|
902
882
|
*
|
|
903
883
|
* @example
|
|
904
884
|
* 1.33.3-aliyun.1
|
|
@@ -935,7 +915,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
935
915
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
936
916
|
/**
|
|
937
917
|
* @remarks
|
|
938
|
-
*
|
|
918
|
+
* Kubelet parameter configuration.
|
|
939
919
|
*/
|
|
940
920
|
kubeletConfiguration?: KubeletConfig;
|
|
941
921
|
static names(): { [key: string]: string } {
|
|
@@ -965,7 +945,7 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
965
945
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
966
946
|
/**
|
|
967
947
|
* @remarks
|
|
968
|
-
*
|
|
948
|
+
* Node pool name.
|
|
969
949
|
*
|
|
970
950
|
* This parameter is required.
|
|
971
951
|
*
|
|
@@ -975,9 +955,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
975
955
|
name?: string;
|
|
976
956
|
/**
|
|
977
957
|
* @remarks
|
|
978
|
-
*
|
|
958
|
+
* Resource group ID of the node pool. Instances created by the node pool will belong to this resource group.
|
|
979
959
|
*
|
|
980
|
-
* A resource can belong to
|
|
960
|
+
* A resource can only belong to one resource group. Based on different business scenarios, you can map resource groups to concepts such as projects, applications, or organizations.
|
|
981
961
|
*
|
|
982
962
|
* @example
|
|
983
963
|
* rg-acfmyvw3wjmb****
|
|
@@ -985,15 +965,12 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
985
965
|
resourceGroupId?: string;
|
|
986
966
|
/**
|
|
987
967
|
* @remarks
|
|
988
|
-
*
|
|
989
|
-
*
|
|
990
|
-
* - `ess`: a regular node pool. This type of node pool provides managed features and auto scaling.
|
|
991
|
-
*
|
|
992
|
-
* - `edge`: an edge node pool.
|
|
968
|
+
* Node pool type. Valid values:
|
|
993
969
|
*
|
|
994
|
-
* - `
|
|
995
|
-
*
|
|
996
|
-
* - `
|
|
970
|
+
* - `ess`: standard node pool (includes managed and auto scaling features).
|
|
971
|
+
* - `edge`: edge node pool.
|
|
972
|
+
* - `lingjun`: Lingjun node pool.
|
|
973
|
+
* - `hybrid`: hybrid cloud node pool.
|
|
997
974
|
*
|
|
998
975
|
* @example
|
|
999
976
|
* ess
|
|
@@ -1027,7 +1004,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1027
1004
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1028
1005
|
/**
|
|
1029
1006
|
* @remarks
|
|
1030
|
-
*
|
|
1007
|
+
* Private pool ID. When `match_criteria` is set to `Target`, you must further specify the private pool ID.
|
|
1031
1008
|
*
|
|
1032
1009
|
* @example
|
|
1033
1010
|
* eap-bp67acfmxazb4****
|
|
@@ -1035,13 +1012,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1035
1012
|
id?: string;
|
|
1036
1013
|
/**
|
|
1037
1014
|
* @remarks
|
|
1038
|
-
*
|
|
1039
|
-
*
|
|
1040
|
-
* - `
|
|
1041
|
-
*
|
|
1042
|
-
* - `Target`: Target mode. The instance is launched using the capacity of the specified private pool. If the capacity of the private pool is unavailable, the instance fails to be launched.
|
|
1043
|
-
*
|
|
1044
|
-
* - `None`: The instance is launched without using the capacity of a private pool.
|
|
1015
|
+
* Private pool type. Private pool capacity option for instance startup. After an Elasticity Assurance or Capacity Reservation takes effect, private pool capacity is generated for instance startup. Valid values:
|
|
1016
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no eligible private pool capacity is available, public pool resources are used.
|
|
1017
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified capacity is unavailable, instance creation fails.
|
|
1018
|
+
* - `None`: do not use mode. Instances will not use private pool capacity.
|
|
1045
1019
|
*
|
|
1046
1020
|
* @example
|
|
1047
1021
|
* Target
|
|
@@ -1073,15 +1047,15 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1073
1047
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1074
1048
|
/**
|
|
1075
1049
|
* @remarks
|
|
1076
|
-
*
|
|
1050
|
+
* 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 of N: 1 to 20.
|
|
1077
1051
|
*/
|
|
1078
1052
|
privatePoolIds?: string[];
|
|
1079
1053
|
/**
|
|
1080
1054
|
* @remarks
|
|
1081
|
-
*
|
|
1082
|
-
* PrivatePoolFirst:
|
|
1083
|
-
* PrivatePoolOnly:
|
|
1084
|
-
* None:
|
|
1055
|
+
* Resource pool policy used when creating instances. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, and public pools, for instance startup selection. Valid values:
|
|
1056
|
+
* PrivatePoolFirst: private pool first. When this policy is selected and resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no eligible private pool is available, public pools are used to create instances.
|
|
1057
|
+
* PrivatePoolOnly: private pool only. When this policy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance creation fails.
|
|
1058
|
+
* None: do not use resource pool policy.
|
|
1085
1059
|
* Default value: None.
|
|
1086
1060
|
*
|
|
1087
1061
|
* @example
|
|
@@ -1117,7 +1091,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1117
1091
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1118
1092
|
/**
|
|
1119
1093
|
* @remarks
|
|
1120
|
-
*
|
|
1094
|
+
* Preemptible instance type.
|
|
1121
1095
|
*
|
|
1122
1096
|
* @example
|
|
1123
1097
|
* ecs.c6.large
|
|
@@ -1125,11 +1099,12 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1125
1099
|
instanceType?: string;
|
|
1126
1100
|
/**
|
|
1127
1101
|
* @remarks
|
|
1128
|
-
*
|
|
1102
|
+
* Maximum price per instance.
|
|
1103
|
+
* <props="china">Unit: CNY/hour.
|
|
1104
|
+
*
|
|
1129
1105
|
*
|
|
1130
|
-
* <props="intl">
|
|
1131
1106
|
*
|
|
1132
|
-
* Unit: USD/hour.
|
|
1107
|
+
* <props="intl">Unit: USD/hour.
|
|
1133
1108
|
*
|
|
1134
1109
|
* @example
|
|
1135
1110
|
* 0.39
|
|
@@ -1161,7 +1136,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1161
1136
|
export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
1162
1137
|
/**
|
|
1163
1138
|
* @remarks
|
|
1164
|
-
*
|
|
1139
|
+
* Tag key.
|
|
1165
1140
|
*
|
|
1166
1141
|
* @example
|
|
1167
1142
|
* node-k-1
|
|
@@ -1169,7 +1144,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1169
1144
|
key?: string;
|
|
1170
1145
|
/**
|
|
1171
1146
|
* @remarks
|
|
1172
|
-
*
|
|
1147
|
+
* Tag value.
|
|
1173
1148
|
*
|
|
1174
1149
|
* @example
|
|
1175
1150
|
* node-v-1
|
|
@@ -1201,11 +1176,10 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1201
1176
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1202
1177
|
/**
|
|
1203
1178
|
* @remarks
|
|
1204
|
-
*
|
|
1179
|
+
* Whether to enable auto-renewal for nodes in the node pool. Takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1205
1180
|
*
|
|
1206
|
-
* - `true`:
|
|
1207
|
-
*
|
|
1208
|
-
* - `false`: disables auto-renewal.
|
|
1181
|
+
* - `true`: enable auto-renewal.
|
|
1182
|
+
* - `false`: disable auto-renewal.
|
|
1209
1183
|
*
|
|
1210
1184
|
* Default value: `false`.
|
|
1211
1185
|
*
|
|
@@ -1215,11 +1189,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1215
1189
|
autoRenew?: boolean;
|
|
1216
1190
|
/**
|
|
1217
1191
|
* @remarks
|
|
1218
|
-
*
|
|
1219
|
-
*
|
|
1220
|
-
* -
|
|
1221
|
-
*
|
|
1222
|
-
* - If \\`PeriodUnit\\` is set to \\`Month\\`: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1192
|
+
* Duration of each auto-renewal. Valid values:
|
|
1193
|
+
* - When PeriodUnit=Week: 1, 2, 3.
|
|
1194
|
+
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1223
1195
|
*
|
|
1224
1196
|
* Default value: 1.
|
|
1225
1197
|
*
|
|
@@ -1229,7 +1201,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1229
1201
|
autoRenewPeriod?: number;
|
|
1230
1202
|
/**
|
|
1231
1203
|
* @remarks
|
|
1232
|
-
* [Deprecated] Use the
|
|
1204
|
+
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
1233
1205
|
*
|
|
1234
1206
|
* @example
|
|
1235
1207
|
* null
|
|
@@ -1239,11 +1211,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1239
1211
|
cisEnabled?: boolean;
|
|
1240
1212
|
/**
|
|
1241
1213
|
* @remarks
|
|
1242
|
-
*
|
|
1243
|
-
*
|
|
1244
|
-
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
1214
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when preemptible instances cannot be created due to price or inventory constraints. Valid values:
|
|
1245
1215
|
*
|
|
1246
|
-
* - `
|
|
1216
|
+
* - `true`: allow automatic creation of pay-as-you-go instances.
|
|
1217
|
+
* - `false`: do not allow automatic creation of pay-as-you-go instances.
|
|
1247
1218
|
*
|
|
1248
1219
|
* @example
|
|
1249
1220
|
* true
|
|
@@ -1251,16 +1222,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1251
1222
|
compensateWithOnDemand?: boolean;
|
|
1252
1223
|
/**
|
|
1253
1224
|
* @remarks
|
|
1254
|
-
*
|
|
1225
|
+
* Data disk configuration for nodes in the node pool.
|
|
1255
1226
|
*/
|
|
1256
1227
|
dataDisks?: DataDisk[];
|
|
1257
1228
|
/**
|
|
1258
1229
|
* @remarks
|
|
1259
|
-
*
|
|
1230
|
+
* Deployment set ID. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and disaster recovery capabilities. When creating ECS instances in a deployment set, instances are distributed across the specified region based on the pre-configured deployment policy.
|
|
1260
1231
|
*
|
|
1261
|
-
* >Notice:
|
|
1262
1232
|
*
|
|
1263
|
-
* After
|
|
1233
|
+
* >Notice: After a deployment set is selected, the maximum number of nodes in the node pool is limited. The default upper limit for nodes in a deployment set is 20 × number of zones (the number of zones is determined by vSwitches). Choose carefully and ensure sufficient quota in the deployment set to avoid node creation failures.
|
|
1264
1234
|
*
|
|
1265
1235
|
* @example
|
|
1266
1236
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1268,11 +1238,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1268
1238
|
deploymentsetId?: string;
|
|
1269
1239
|
/**
|
|
1270
1240
|
* @remarks
|
|
1271
|
-
*
|
|
1241
|
+
* Desired number of nodes in the node pool.
|
|
1272
1242
|
*
|
|
1273
|
-
* The total number of nodes that the node pool should maintain. We recommend
|
|
1243
|
+
* The total number of nodes that the node pool should maintain. We recommend configuring at least 2 nodes to ensure proper running of cluster components. You can scale in or out the node pool by adjusting the desired node count.
|
|
1274
1244
|
*
|
|
1275
|
-
* If
|
|
1245
|
+
* If no nodes need to be created, set this to 0 and manually adjust the node count later.
|
|
1276
1246
|
*
|
|
1277
1247
|
* @example
|
|
1278
1248
|
* 0
|
|
@@ -1280,12 +1250,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1280
1250
|
desiredSize?: number;
|
|
1281
1251
|
/**
|
|
1282
1252
|
* @remarks
|
|
1283
|
-
*
|
|
1253
|
+
* Block device initialization configuration.
|
|
1284
1254
|
*/
|
|
1285
1255
|
diskInit?: DiskInit[];
|
|
1286
1256
|
/**
|
|
1287
1257
|
* @remarks
|
|
1288
|
-
*
|
|
1258
|
+
* Custom image ID. The system-provided image is used by default.
|
|
1289
1259
|
*
|
|
1290
1260
|
* @example
|
|
1291
1261
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1293,27 +1263,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1293
1263
|
imageId?: string;
|
|
1294
1264
|
/**
|
|
1295
1265
|
* @remarks
|
|
1296
|
-
*
|
|
1266
|
+
* OS image type. Valid values:
|
|
1297
1267
|
*
|
|
1298
1268
|
* - `AliyunLinux`: Alinux2 image.
|
|
1299
|
-
*
|
|
1300
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1301
|
-
*
|
|
1269
|
+
* - `AliyunLinuxSecurity`: Alinux2 image UEFI version.
|
|
1302
1270
|
* - `AliyunLinux3`: Alinux3 image.
|
|
1303
|
-
*
|
|
1304
|
-
* - `
|
|
1305
|
-
*
|
|
1306
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1307
|
-
*
|
|
1271
|
+
* - `AliyunLinux3Arm64`: Alinux3 image ARM version.
|
|
1272
|
+
* - `AliyunLinux3Security`: Alinux3 image UEFI version.
|
|
1308
1273
|
* - `CentOS`: CentOS image.
|
|
1309
|
-
*
|
|
1310
1274
|
* - `Windows`: Windows image.
|
|
1311
|
-
*
|
|
1312
1275
|
* - `WindowsCore`: WindowsCore image.
|
|
1313
|
-
*
|
|
1314
|
-
* - `
|
|
1315
|
-
*
|
|
1316
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
|
|
1276
|
+
* - `ContainerOS`: container-optimized image.
|
|
1277
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1317
1278
|
*
|
|
1318
1279
|
* @example
|
|
1319
1280
|
* AliyunLinux3
|
|
@@ -1321,11 +1282,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1321
1282
|
imageType?: string;
|
|
1322
1283
|
/**
|
|
1323
1284
|
* @remarks
|
|
1324
|
-
*
|
|
1325
|
-
*
|
|
1326
|
-
* - `PrePaid`: subscription.
|
|
1285
|
+
* Billing method for nodes in the node pool. Valid values:
|
|
1286
|
+
*
|
|
1287
|
+
* - `PrePaid`: subscription instance.
|
|
1327
1288
|
*
|
|
1328
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1289
|
+
* - `PostPaid`: pay-as-you-go instance.
|
|
1329
1290
|
*
|
|
1330
1291
|
* Default value: `PostPaid`.
|
|
1331
1292
|
*
|
|
@@ -1337,31 +1298,31 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1337
1298
|
instanceChargeType?: string;
|
|
1338
1299
|
/**
|
|
1339
1300
|
* @remarks
|
|
1340
|
-
*
|
|
1301
|
+
* ECS instance metadata access configuration.
|
|
1341
1302
|
*/
|
|
1342
1303
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1343
1304
|
/**
|
|
1344
1305
|
* @remarks
|
|
1345
|
-
*
|
|
1306
|
+
* Instance attribute configuration.
|
|
1346
1307
|
*/
|
|
1347
1308
|
instancePatterns?: InstancePatterns[];
|
|
1348
1309
|
/**
|
|
1349
1310
|
* @remarks
|
|
1350
|
-
*
|
|
1311
|
+
* List of node instance types for the node pool. When the node pool scales out, instance types that meet the requirements are selected from the specified list to create instances.
|
|
1351
1312
|
*
|
|
1352
|
-
*
|
|
1313
|
+
* Supported number of instance types: [1,10]
|
|
1353
1314
|
*
|
|
1354
|
-
*
|
|
1315
|
+
*
|
|
1316
|
+
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
1355
1317
|
*
|
|
1356
1318
|
* This parameter is required.
|
|
1357
1319
|
*/
|
|
1358
1320
|
instanceTypes?: string[];
|
|
1359
1321
|
/**
|
|
1360
1322
|
* @remarks
|
|
1361
|
-
*
|
|
1323
|
+
* Public IP billing method. Valid values:
|
|
1362
1324
|
*
|
|
1363
1325
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1364
|
-
*
|
|
1365
1326
|
* - PayByTraffic: pay-by-traffic.
|
|
1366
1327
|
*
|
|
1367
1328
|
* @example
|
|
@@ -1370,7 +1331,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1370
1331
|
internetChargeType?: string;
|
|
1371
1332
|
/**
|
|
1372
1333
|
* @remarks
|
|
1373
|
-
*
|
|
1334
|
+
* Maximum outbound public bandwidth for nodes. Unit: Mbps (Megabits per second). Valid values: [1,100\\].
|
|
1374
1335
|
*
|
|
1375
1336
|
* @example
|
|
1376
1337
|
* 5
|
|
@@ -1378,9 +1339,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1378
1339
|
internetMaxBandwidthOut?: number;
|
|
1379
1340
|
/**
|
|
1380
1341
|
* @remarks
|
|
1381
|
-
*
|
|
1342
|
+
* Key pair name for passwordless login. Mutually exclusive with `login_password`.
|
|
1382
1343
|
*
|
|
1383
|
-
* > If
|
|
1344
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1384
1345
|
*
|
|
1385
1346
|
* @example
|
|
1386
1347
|
* np-key-name
|
|
@@ -1388,11 +1349,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1388
1349
|
keyPair?: string;
|
|
1389
1350
|
/**
|
|
1390
1351
|
* @remarks
|
|
1391
|
-
*
|
|
1352
|
+
* Whether the created ECS instances use a non-root user for login.
|
|
1353
|
+
*
|
|
1354
|
+
* - true: log on as a non-root user (ecs-user).
|
|
1392
1355
|
*
|
|
1393
|
-
* -
|
|
1394
|
-
*
|
|
1395
|
-
* - false: Logs on as the root user.
|
|
1356
|
+
* - false: log on as the root user.
|
|
1396
1357
|
*
|
|
1397
1358
|
* @example
|
|
1398
1359
|
* true
|
|
@@ -1400,7 +1361,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1400
1361
|
loginAsNonRoot?: boolean;
|
|
1401
1362
|
/**
|
|
1402
1363
|
* @remarks
|
|
1403
|
-
*
|
|
1364
|
+
* SSH login password. Mutually exclusive with `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1404
1365
|
*
|
|
1405
1366
|
* @example
|
|
1406
1367
|
* ****
|
|
@@ -1408,15 +1369,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1408
1369
|
loginPassword?: string;
|
|
1409
1370
|
/**
|
|
1410
1371
|
* @remarks
|
|
1411
|
-
*
|
|
1372
|
+
* Multi-zone scaling group ECS instance scaling policy. Valid values:
|
|
1412
1373
|
*
|
|
1413
|
-
* - `PRIORITY`:
|
|
1374
|
+
* - `PRIORITY`: scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the next-priority vSwitch is automatically used.
|
|
1414
1375
|
*
|
|
1415
|
-
* - `COST_OPTIMIZED`:
|
|
1376
|
+
* - `COST_OPTIMIZED`: attempts to create instances from lowest to highest vCPU unit price. When multiple instance types with preemptible billing are configured, preemptible instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt creating pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
1416
1377
|
*
|
|
1417
|
-
* > `COST_OPTIMIZED` takes effect only when multiple instance types
|
|
1378
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types or preemptible instances are configured.
|
|
1418
1379
|
*
|
|
1419
|
-
* - `BALANCE`:
|
|
1380
|
+
* - `BALANCE`: evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the API [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) to rebalance resources.
|
|
1420
1381
|
*
|
|
1421
1382
|
* Default value: `PRIORITY`.
|
|
1422
1383
|
*
|
|
@@ -1426,7 +1387,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1426
1387
|
multiAzPolicy?: string;
|
|
1427
1388
|
/**
|
|
1428
1389
|
* @remarks
|
|
1429
|
-
*
|
|
1390
|
+
* Minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
|
|
1430
1391
|
*
|
|
1431
1392
|
* @example
|
|
1432
1393
|
* 0
|
|
@@ -1434,7 +1395,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1434
1395
|
onDemandBaseCapacity?: number;
|
|
1435
1396
|
/**
|
|
1436
1397
|
* @remarks
|
|
1437
|
-
*
|
|
1398
|
+
* Percentage of pay-as-you-go instances among the excess instances after the scaling group meets the minimum pay-as-you-go instance requirement (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1438
1399
|
*
|
|
1439
1400
|
* @example
|
|
1440
1401
|
* 20
|
|
@@ -1442,11 +1403,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1442
1403
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1443
1404
|
/**
|
|
1444
1405
|
* @remarks
|
|
1445
|
-
*
|
|
1446
|
-
*
|
|
1447
|
-
* - If \\`period_unit\\` is set to \\`Week\\`, the valid values of \\`period\\` are 1, 2, 3, and 4.
|
|
1406
|
+
* Subscription duration for nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1448
1407
|
*
|
|
1449
|
-
* -
|
|
1408
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1409
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1450
1410
|
*
|
|
1451
1411
|
* @example
|
|
1452
1412
|
* 1
|
|
@@ -1454,11 +1414,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1454
1414
|
period?: number;
|
|
1455
1415
|
/**
|
|
1456
1416
|
* @remarks
|
|
1457
|
-
*
|
|
1458
|
-
*
|
|
1459
|
-
* - `Month`: The billing cycle is measured in months.
|
|
1417
|
+
* Billing period unit for nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1460
1418
|
*
|
|
1461
|
-
* - `
|
|
1419
|
+
* - `Month`: billed on a monthly basis.
|
|
1420
|
+
* - `Week`: billed on a weekly basis.
|
|
1462
1421
|
*
|
|
1463
1422
|
* Default value: `Month`.
|
|
1464
1423
|
*
|
|
@@ -1468,16 +1427,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1468
1427
|
periodUnit?: string;
|
|
1469
1428
|
/**
|
|
1470
1429
|
* @remarks
|
|
1471
|
-
* [
|
|
1472
|
-
*
|
|
1473
|
-
* The OS distribution. Valid values:
|
|
1430
|
+
* [Deprecated] Use the `image_type` parameter instead.
|
|
1474
1431
|
*
|
|
1432
|
+
* OS distribution. Valid values:
|
|
1475
1433
|
* - `CentOS`
|
|
1476
|
-
*
|
|
1477
1434
|
* - `AliyunLinux`
|
|
1478
|
-
*
|
|
1479
1435
|
* - `Windows`
|
|
1480
|
-
*
|
|
1481
1436
|
* - `WindowsCore`
|
|
1482
1437
|
*
|
|
1483
1438
|
* Default value: `AliyunLinux`.
|
|
@@ -1490,20 +1445,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1490
1445
|
platform?: string;
|
|
1491
1446
|
/**
|
|
1492
1447
|
* @remarks
|
|
1493
|
-
*
|
|
1448
|
+
* Private pool configuration.
|
|
1494
1449
|
*/
|
|
1495
1450
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1496
1451
|
/**
|
|
1497
1452
|
* @remarks
|
|
1498
|
-
*
|
|
1499
|
-
*
|
|
1500
|
-
* - If this parameter is left empty, the default worker RAM role of the cluster is used.
|
|
1501
|
-
*
|
|
1502
|
-
* - If this parameter is not empty, the specified RAM role must be a **service role**, and its **trusted service** must be **Elastic Compute Service**. For more information, see [Create a service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role of the cluster, the name of the role cannot start with \\`KubernetesMasterRole-\\` or \\`KubernetesWorkerRole-\\`.
|
|
1453
|
+
* Worker RAM role name.
|
|
1503
1454
|
*
|
|
1504
|
-
*
|
|
1455
|
+
* * When left empty, the default Worker RAM role created by the cluster is used.
|
|
1456
|
+
* * When specified, the RAM role must be a **normal service role**, and its **trusted service** must be set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). When the specified RAM role is not the default Worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1505
1457
|
*
|
|
1506
|
-
* This parameter is supported only
|
|
1458
|
+
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later.
|
|
1507
1459
|
*
|
|
1508
1460
|
* @example
|
|
1509
1461
|
* example-role
|
|
@@ -1511,23 +1463,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1511
1463
|
ramRoleName?: string;
|
|
1512
1464
|
/**
|
|
1513
1465
|
* @remarks
|
|
1514
|
-
*
|
|
1466
|
+
* RDS instance list.
|
|
1515
1467
|
*/
|
|
1516
1468
|
rdsInstances?: string[];
|
|
1517
1469
|
/**
|
|
1518
1470
|
* @remarks
|
|
1519
|
-
*
|
|
1520
|
-
* This parameter takes effect only when
|
|
1521
|
-
* This parameter cannot be set
|
|
1471
|
+
* Resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1472
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1473
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1522
1474
|
*/
|
|
1523
1475
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1524
1476
|
/**
|
|
1525
1477
|
* @remarks
|
|
1526
|
-
*
|
|
1478
|
+
* Scaling group mode. Valid values:
|
|
1527
1479
|
*
|
|
1528
|
-
* - `release`: standard mode.
|
|
1529
|
-
*
|
|
1530
|
-
* - `recycle`: accelerated mode. The system creates, stops, and starts ECS instances to scale the group. This improves the scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instances with local disks.
|
|
1480
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1481
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting ECS instances, improving the speed of subsequent scaling (compute resources are not charged when stopped, only storage fees are charged, except for local disk instance types).
|
|
1531
1482
|
*
|
|
1532
1483
|
* Default value: `release`.
|
|
1533
1484
|
*
|
|
@@ -1537,7 +1488,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1537
1488
|
scalingPolicy?: string;
|
|
1538
1489
|
/**
|
|
1539
1490
|
* @remarks
|
|
1540
|
-
*
|
|
1491
|
+
* Security group ID for the node pool. Mutually exclusive with `security_group_ids`. We recommend using `security_group_ids`.
|
|
1541
1492
|
*
|
|
1542
1493
|
* @example
|
|
1543
1494
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1547,16 +1498,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1547
1498
|
securityGroupId?: string;
|
|
1548
1499
|
/**
|
|
1549
1500
|
* @remarks
|
|
1550
|
-
*
|
|
1501
|
+
* List of security group IDs. Mutually exclusive with `security_group_id`. We recommend using `security_group_ids`. When both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes priority.
|
|
1551
1502
|
*/
|
|
1552
1503
|
securityGroupIds?: string[];
|
|
1553
1504
|
/**
|
|
1554
1505
|
* @remarks
|
|
1555
1506
|
* Alibaba Cloud OS security hardening. Valid values:
|
|
1556
1507
|
*
|
|
1557
|
-
* - `true`:
|
|
1558
|
-
*
|
|
1559
|
-
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
1508
|
+
* - `true`: enable Alibaba Cloud OS security hardening.
|
|
1509
|
+
* - `false`: disable Alibaba Cloud OS security hardening.
|
|
1560
1510
|
*
|
|
1561
1511
|
* Default value: `false`.
|
|
1562
1512
|
*
|
|
@@ -1566,7 +1516,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1566
1516
|
securityHardeningOs?: boolean;
|
|
1567
1517
|
/**
|
|
1568
1518
|
* @remarks
|
|
1569
|
-
*
|
|
1519
|
+
* Whether to enable China classified protection of cybersecurity (China MLPS) hardening. China MLPS hardening can be enabled for nodes only when the system image is set to Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides China MLPS 2.0 Level III baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images.
|
|
1570
1520
|
*
|
|
1571
1521
|
* @example
|
|
1572
1522
|
* false
|
|
@@ -1574,7 +1524,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1574
1524
|
socEnabled?: boolean;
|
|
1575
1525
|
/**
|
|
1576
1526
|
* @remarks
|
|
1577
|
-
*
|
|
1527
|
+
* Number of available instance types. The scaling group creates preemptible instances in a balanced manner among the lowest-cost instance types. Valid values: [1,10\\].
|
|
1578
1528
|
*
|
|
1579
1529
|
* @example
|
|
1580
1530
|
* 5
|
|
@@ -1582,11 +1532,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1582
1532
|
spotInstancePools?: number;
|
|
1583
1533
|
/**
|
|
1584
1534
|
* @remarks
|
|
1585
|
-
*
|
|
1586
|
-
*
|
|
1587
|
-
* - `true`: Enables the instance reclaim mode.
|
|
1535
|
+
* 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. Valid values:
|
|
1588
1536
|
*
|
|
1589
|
-
* - `
|
|
1537
|
+
* - `true`: enable supplementing preemptible instances.
|
|
1538
|
+
* - `false`: disable supplementing preemptible instances.
|
|
1590
1539
|
*
|
|
1591
1540
|
* @example
|
|
1592
1541
|
* false
|
|
@@ -1594,20 +1543,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1594
1543
|
spotInstanceRemedy?: boolean;
|
|
1595
1544
|
/**
|
|
1596
1545
|
* @remarks
|
|
1597
|
-
*
|
|
1546
|
+
* Market price range configuration for a single preemptible instance type.
|
|
1598
1547
|
*/
|
|
1599
1548
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1600
1549
|
/**
|
|
1601
1550
|
* @remarks
|
|
1602
|
-
*
|
|
1551
|
+
* Preemptible instance type. Valid values:
|
|
1603
1552
|
*
|
|
1604
|
-
* - `NoSpot`:
|
|
1553
|
+
* - `NoSpot`: non-preemptible instance.
|
|
1605
1554
|
*
|
|
1606
|
-
* - `SpotWithPriceLimit`:
|
|
1555
|
+
* - `SpotWithPriceLimit`: set a maximum price for preemptible instances.
|
|
1607
1556
|
*
|
|
1608
|
-
* - `SpotAsPriceGo`:
|
|
1557
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1609
1558
|
*
|
|
1610
|
-
* For more information, see [
|
|
1559
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1611
1560
|
*
|
|
1612
1561
|
* @example
|
|
1613
1562
|
* NoSpot
|
|
@@ -1615,13 +1564,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1615
1564
|
spotStrategy?: string;
|
|
1616
1565
|
/**
|
|
1617
1566
|
* @remarks
|
|
1618
|
-
*
|
|
1619
|
-
*
|
|
1620
|
-
* -
|
|
1621
|
-
*
|
|
1622
|
-
* - false: No.
|
|
1567
|
+
* Whether to enable burst (performance bursting) for the node system disk. Valid values:
|
|
1568
|
+
* - true: enable.
|
|
1569
|
+
* - false: disable.
|
|
1623
1570
|
*
|
|
1624
|
-
* This parameter
|
|
1571
|
+
* 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).
|
|
1625
1572
|
*
|
|
1626
1573
|
* @example
|
|
1627
1574
|
* true
|
|
@@ -1629,21 +1576,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1629
1576
|
systemDiskBurstingEnabled?: boolean;
|
|
1630
1577
|
/**
|
|
1631
1578
|
* @remarks
|
|
1632
|
-
*
|
|
1579
|
+
* Multiple disk types for the system disk. When a higher-priority disk type is unavailable, the next-priority disk type is automatically used to create the system disk.
|
|
1633
1580
|
*/
|
|
1634
1581
|
systemDiskCategories?: string[];
|
|
1635
1582
|
/**
|
|
1636
1583
|
* @remarks
|
|
1637
|
-
*
|
|
1638
|
-
*
|
|
1584
|
+
* Node system disk type. Valid values:
|
|
1639
1585
|
* - `cloud_efficiency`: ultra disk.
|
|
1640
|
-
*
|
|
1641
1586
|
* - `cloud_ssd`: standard SSD.
|
|
1642
|
-
*
|
|
1643
1587
|
* - `cloud_essd`: ESSD.
|
|
1644
|
-
*
|
|
1645
1588
|
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1646
|
-
*
|
|
1647
1589
|
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1648
1590
|
*
|
|
1649
1591
|
* Default value: `cloud_efficiency`.
|
|
@@ -1654,7 +1596,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1654
1596
|
systemDiskCategory?: string;
|
|
1655
1597
|
/**
|
|
1656
1598
|
* @remarks
|
|
1657
|
-
*
|
|
1599
|
+
* Encryption algorithm used by the system disk. Valid values: aes-256.
|
|
1658
1600
|
*
|
|
1659
1601
|
* @example
|
|
1660
1602
|
* aes-256
|
|
@@ -1662,11 +1604,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1662
1604
|
systemDiskEncryptAlgorithm?: string;
|
|
1663
1605
|
/**
|
|
1664
1606
|
* @remarks
|
|
1665
|
-
*
|
|
1607
|
+
* Whether to encrypt the system disk. Valid values:
|
|
1666
1608
|
*
|
|
1667
|
-
* - true:
|
|
1609
|
+
* - true: encrypt.
|
|
1668
1610
|
*
|
|
1669
|
-
* - false:
|
|
1611
|
+
* - false: do not encrypt.
|
|
1670
1612
|
*
|
|
1671
1613
|
* @example
|
|
1672
1614
|
* false
|
|
@@ -1674,7 +1616,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1674
1616
|
systemDiskEncrypted?: boolean;
|
|
1675
1617
|
/**
|
|
1676
1618
|
* @remarks
|
|
1677
|
-
*
|
|
1619
|
+
* KMS key ID used by the system disk.
|
|
1678
1620
|
*
|
|
1679
1621
|
* @example
|
|
1680
1622
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1682,15 +1624,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1682
1624
|
systemDiskKmsKeyId?: string;
|
|
1683
1625
|
/**
|
|
1684
1626
|
* @remarks
|
|
1685
|
-
*
|
|
1686
|
-
*
|
|
1687
|
-
* -
|
|
1688
|
-
*
|
|
1689
|
-
* -
|
|
1690
|
-
*
|
|
1691
|
-
* - PL2: A high maximum concurrent I/O performance and a stable read/write latency.
|
|
1692
|
-
*
|
|
1693
|
-
* - PL3: A very high maximum concurrent I/O performance and a very stable read/write latency.
|
|
1627
|
+
* Node system disk performance level. Only applicable to ESSD disks. The performance level is related to disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1628
|
+
* - PL0: moderate peak concurrent I/O performance with relatively stable read/write latency.
|
|
1629
|
+
* - PL1: moderate peak concurrent I/O performance with relatively stable read/write latency.
|
|
1630
|
+
* - PL2: high peak concurrent I/O performance with stable read/write latency.
|
|
1631
|
+
* - PL3: ultra-high peak concurrent I/O performance with extremely stable read/write latency.
|
|
1694
1632
|
*
|
|
1695
1633
|
* @example
|
|
1696
1634
|
* PL1
|
|
@@ -1698,11 +1636,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1698
1636
|
systemDiskPerformanceLevel?: string;
|
|
1699
1637
|
/**
|
|
1700
1638
|
* @remarks
|
|
1701
|
-
*
|
|
1639
|
+
* Pre-configured read/write IOPS for the node system disk.
|
|
1702
1640
|
*
|
|
1703
|
-
* Valid values: 0 to min{50,000,
|
|
1641
|
+
* Valid values: 0 to min{50,000, 1000\\*capacity - baseline performance}. Baseline performance = min{1,800+50\\*capacity, 50000}.
|
|
1704
1642
|
*
|
|
1705
|
-
* This parameter
|
|
1643
|
+
* 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).
|
|
1706
1644
|
*
|
|
1707
1645
|
* @example
|
|
1708
1646
|
* 1000
|
|
@@ -1710,9 +1648,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1710
1648
|
systemDiskProvisionedIops?: number;
|
|
1711
1649
|
/**
|
|
1712
1650
|
* @remarks
|
|
1713
|
-
*
|
|
1651
|
+
* Node system disk size. Unit: GiB.
|
|
1714
1652
|
*
|
|
1715
|
-
*
|
|
1653
|
+
* Valid values: [20,2048\\].
|
|
1716
1654
|
*
|
|
1717
1655
|
* @example
|
|
1718
1656
|
* 120
|
|
@@ -1720,7 +1658,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1720
1658
|
systemDiskSize?: number;
|
|
1721
1659
|
/**
|
|
1722
1660
|
* @remarks
|
|
1723
|
-
*
|
|
1661
|
+
* System disk snapshot policy.
|
|
1724
1662
|
*
|
|
1725
1663
|
* @example
|
|
1726
1664
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1728,16 +1666,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1728
1666
|
systemDiskSnapshotPolicyId?: string;
|
|
1729
1667
|
/**
|
|
1730
1668
|
* @remarks
|
|
1731
|
-
*
|
|
1669
|
+
* Tags added only to ECS instances.
|
|
1732
1670
|
*
|
|
1733
|
-
*
|
|
1671
|
+
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with “aliyun” or “acs:”, or contain “https://” or “http://”.
|
|
1734
1672
|
*/
|
|
1735
1673
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1736
1674
|
/**
|
|
1737
1675
|
* @remarks
|
|
1738
|
-
*
|
|
1676
|
+
* List of vSwitch IDs. Valid values: [1,8\\].
|
|
1739
1677
|
*
|
|
1740
|
-
* >
|
|
1678
|
+
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1741
1679
|
*
|
|
1742
1680
|
* This parameter is required.
|
|
1743
1681
|
*/
|
|
@@ -1903,11 +1841,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1903
1841
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1904
1842
|
/**
|
|
1905
1843
|
* @remarks
|
|
1906
|
-
*
|
|
1844
|
+
* Whether to enable confidential computing for the cluster.
|
|
1907
1845
|
*
|
|
1908
|
-
* - true:
|
|
1846
|
+
* - true: enable confidential computing.
|
|
1909
1847
|
*
|
|
1910
|
-
* - false:
|
|
1848
|
+
* - false: disable confidential computing.
|
|
1911
1849
|
*
|
|
1912
1850
|
* @example
|
|
1913
1851
|
* true
|
|
@@ -1937,19 +1875,19 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1937
1875
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1938
1876
|
/**
|
|
1939
1877
|
* @remarks
|
|
1940
|
-
*
|
|
1878
|
+
* Node pool intelligent managed configuration.
|
|
1941
1879
|
*/
|
|
1942
1880
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1943
1881
|
/**
|
|
1944
1882
|
* @remarks
|
|
1945
|
-
*
|
|
1883
|
+
* Auto scaling configuration.
|
|
1946
1884
|
*/
|
|
1947
1885
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1948
1886
|
/**
|
|
1949
1887
|
* @remarks
|
|
1950
|
-
* [
|
|
1888
|
+
* [Deprecated] Use desired_size instead.
|
|
1951
1889
|
*
|
|
1952
|
-
*
|
|
1890
|
+
* Number of nodes in the node pool.
|
|
1953
1891
|
*
|
|
1954
1892
|
* @example
|
|
1955
1893
|
* null
|
|
@@ -1959,15 +1897,13 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1959
1897
|
count?: number;
|
|
1960
1898
|
/**
|
|
1961
1899
|
* @remarks
|
|
1962
|
-
*
|
|
1900
|
+
* Lingjun node pool configuration.
|
|
1963
1901
|
*/
|
|
1964
1902
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1965
1903
|
/**
|
|
1966
1904
|
* @remarks
|
|
1967
|
-
*
|
|
1968
|
-
*
|
|
1969
|
-
* - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
1970
|
-
*
|
|
1905
|
+
* Whether the Pod network mode uses host network mode.
|
|
1906
|
+
* - `true`: host network. Pods directly use the host network stack, sharing the IP address and ports with the host.
|
|
1971
1907
|
* - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
|
|
1972
1908
|
*
|
|
1973
1909
|
* @example
|
|
@@ -1976,20 +1912,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1976
1912
|
hostNetwork?: boolean;
|
|
1977
1913
|
/**
|
|
1978
1914
|
* @remarks
|
|
1979
|
-
* [
|
|
1915
|
+
* [Deprecated]
|
|
1980
1916
|
*
|
|
1981
|
-
*
|
|
1917
|
+
* Edge node pool configuration.
|
|
1982
1918
|
*
|
|
1983
1919
|
* @deprecated
|
|
1984
1920
|
*/
|
|
1985
1921
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1986
1922
|
/**
|
|
1987
1923
|
* @remarks
|
|
1988
|
-
*
|
|
1989
|
-
*
|
|
1990
|
-
* - `basic`: public network. Nodes in the node pool interact with cloud nodes over the Internet. Applications in the node pool cannot directly access the VPC in the cloud.
|
|
1924
|
+
* Network type of the edge node pool. This parameter takes effect only for node pools of `edge` type. Valid values:
|
|
1991
1925
|
*
|
|
1992
|
-
* - `
|
|
1926
|
+
* - `basic`: public network. Nodes in the node pool communicate with cloud nodes over the public network. Applications in the node pool cannot directly access the cloud VPC internal network.
|
|
1927
|
+
* - `private`: private network. Nodes in the node pool connect cloud and on-premises networks through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1993
1928
|
*
|
|
1994
1929
|
* @example
|
|
1995
1930
|
* basic
|
|
@@ -1997,11 +1932,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1997
1932
|
interconnectMode?: string;
|
|
1998
1933
|
/**
|
|
1999
1934
|
* @remarks
|
|
2000
|
-
*
|
|
2001
|
-
*
|
|
2002
|
-
* - `
|
|
2003
|
-
*
|
|
2004
|
-
* - `false`: All hosts in the node pool cannot communicate with each other at Layer 3.
|
|
1935
|
+
* Whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1936
|
+
* - `true`: connected. All nodes in this node pool have Layer 3 network connectivity.
|
|
1937
|
+
* - `false`: not connected. All hosts in this node pool do not have Layer 3 network connectivity.
|
|
2005
1938
|
*
|
|
2006
1939
|
* @example
|
|
2007
1940
|
* true
|
|
@@ -2009,19 +1942,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2009
1942
|
intranet?: boolean;
|
|
2010
1943
|
/**
|
|
2011
1944
|
* @remarks
|
|
2012
|
-
*
|
|
1945
|
+
* Cluster-related configuration.
|
|
2013
1946
|
*/
|
|
2014
1947
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2015
1948
|
/**
|
|
2016
1949
|
* @remarks
|
|
2017
|
-
*
|
|
1950
|
+
* Node pool managed feature configuration.
|
|
2018
1951
|
*/
|
|
2019
1952
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2020
1953
|
/**
|
|
2021
1954
|
* @remarks
|
|
2022
|
-
* [
|
|
1955
|
+
* [Deprecated]
|
|
2023
1956
|
*
|
|
2024
|
-
*
|
|
1957
|
+
* Maximum number of nodes allowed in the edge node pool.
|
|
2025
1958
|
*
|
|
2026
1959
|
* @example
|
|
2027
1960
|
* null
|
|
@@ -2031,27 +1964,27 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2031
1964
|
maxNodes?: number;
|
|
2032
1965
|
/**
|
|
2033
1966
|
* @remarks
|
|
2034
|
-
*
|
|
1967
|
+
* Node component list.
|
|
2035
1968
|
*/
|
|
2036
1969
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
2037
1970
|
/**
|
|
2038
1971
|
* @remarks
|
|
2039
|
-
*
|
|
1972
|
+
* Node configuration.
|
|
2040
1973
|
*/
|
|
2041
1974
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
2042
1975
|
/**
|
|
2043
1976
|
* @remarks
|
|
2044
|
-
*
|
|
1977
|
+
* Node pool configuration.
|
|
2045
1978
|
*/
|
|
2046
1979
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
2047
1980
|
/**
|
|
2048
1981
|
* @remarks
|
|
2049
|
-
*
|
|
1982
|
+
* Node pool scaling group configuration.
|
|
2050
1983
|
*/
|
|
2051
1984
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
2052
1985
|
/**
|
|
2053
1986
|
* @remarks
|
|
2054
|
-
*
|
|
1987
|
+
* Confidential computing cluster configuration.
|
|
2055
1988
|
*/
|
|
2056
1989
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
2057
1990
|
static names(): { [key: string]: string } {
|