@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
|
@@ -9,12 +9,10 @@ import { Taint } from "./Taint";
|
|
|
9
9
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
*
|
|
12
|
+
* Whether to enable intelligent managed mode.
|
|
13
13
|
* Valid values:
|
|
14
|
-
*
|
|
15
|
-
* -
|
|
16
|
-
*
|
|
17
|
-
* - false: Disables the intelligent managed mode.
|
|
14
|
+
* - true: enable intelligent managed mode. Can only be enabled when the cluster has intelligent managed mode enabled.
|
|
15
|
+
* - false: disable intelligent managed mode.
|
|
18
16
|
*
|
|
19
17
|
* @example
|
|
20
18
|
* true
|
|
@@ -34,9 +32,9 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
34
32
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
35
33
|
/**
|
|
36
34
|
* @remarks
|
|
37
|
-
* [
|
|
35
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
38
36
|
*
|
|
39
|
-
*
|
|
37
|
+
* Maximum EIP bandwidth. Unit: Mbps.
|
|
40
38
|
*
|
|
41
39
|
* @example
|
|
42
40
|
* null
|
|
@@ -46,12 +44,10 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
46
44
|
eipBandwidth?: number;
|
|
47
45
|
/**
|
|
48
46
|
* @remarks
|
|
49
|
-
* [
|
|
50
|
-
*
|
|
51
|
-
* The billing method of the EIP. Valid values:
|
|
47
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
52
48
|
*
|
|
49
|
+
* EIP billing method. Valid values:
|
|
53
50
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
54
|
-
*
|
|
55
51
|
* - `PayByTraffic`: pay-by-traffic.
|
|
56
52
|
*
|
|
57
53
|
* Default value: `PayByBandwidth`.
|
|
@@ -64,13 +60,14 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
64
60
|
eipInternetChargeType?: string;
|
|
65
61
|
/**
|
|
66
62
|
* @remarks
|
|
67
|
-
*
|
|
63
|
+
* Whether to enable auto scaling. Valid values:
|
|
68
64
|
*
|
|
69
|
-
* - `true`:
|
|
65
|
+
* - `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;
|
|
66
|
+
* 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).
|
|
70
67
|
*
|
|
71
|
-
* - `false`:
|
|
68
|
+
* - `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.
|
|
72
69
|
*
|
|
73
|
-
*
|
|
70
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
74
71
|
*
|
|
75
72
|
* Default value: `false`.
|
|
76
73
|
*
|
|
@@ -80,13 +77,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
80
77
|
enable?: boolean;
|
|
81
78
|
/**
|
|
82
79
|
* @remarks
|
|
83
|
-
* [
|
|
80
|
+
* [Deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
84
81
|
*
|
|
85
|
-
*
|
|
82
|
+
* Whether to bind an EIP. Valid values:
|
|
86
83
|
*
|
|
87
|
-
* - `true`:
|
|
84
|
+
* - `true`: bind an EIP.
|
|
88
85
|
*
|
|
89
|
-
* - `false`:
|
|
86
|
+
* - `false`: do not bind an EIP.
|
|
90
87
|
*
|
|
91
88
|
* Default value: `false`.
|
|
92
89
|
*
|
|
@@ -98,9 +95,9 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
98
95
|
isBondEip?: boolean;
|
|
99
96
|
/**
|
|
100
97
|
* @remarks
|
|
101
|
-
*
|
|
98
|
+
* Maximum number of instances that can be scaled in the node pool, excluding existing instances. Takes effect only when `enable=true`.
|
|
102
99
|
*
|
|
103
|
-
*
|
|
100
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
104
101
|
*
|
|
105
102
|
* @example
|
|
106
103
|
* 10
|
|
@@ -108,13 +105,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
108
105
|
maxInstances?: number;
|
|
109
106
|
/**
|
|
110
107
|
* @remarks
|
|
111
|
-
*
|
|
108
|
+
* Minimum number of instances that can be scaled in the node pool, excluding existing instances. Takes effect only when `enable=true`.
|
|
112
109
|
*
|
|
113
|
-
*
|
|
110
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
114
111
|
*
|
|
115
|
-
* > -
|
|
116
|
-
* >
|
|
117
|
-
* > - 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.
|
|
112
|
+
* > - 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.
|
|
113
|
+
* > - 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.
|
|
118
114
|
*
|
|
119
115
|
* @example
|
|
120
116
|
* 1
|
|
@@ -122,18 +118,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
122
118
|
minInstances?: number;
|
|
123
119
|
/**
|
|
124
120
|
* @remarks
|
|
125
|
-
*
|
|
121
|
+
* Auto scaling instance type. Takes effect only when `enable=true`. Valid values:
|
|
126
122
|
*
|
|
127
|
-
* - `cpu`:
|
|
123
|
+
* - `cpu`: standard instance type.
|
|
128
124
|
*
|
|
129
|
-
* - `gpu`: GPU
|
|
125
|
+
* - `gpu`: GPU instance type.
|
|
130
126
|
*
|
|
131
|
-
* - `gpushare`:
|
|
127
|
+
* - `gpushare`: GPU sharing type.
|
|
132
128
|
*
|
|
133
|
-
* - `spot`:
|
|
129
|
+
* - `spot`: preemptible instance type.
|
|
134
130
|
*
|
|
135
131
|
* Default value: `cpu`.
|
|
136
|
-
* >Notice:
|
|
132
|
+
* >Notice: This field cannot be modified after the node pool is created.
|
|
137
133
|
*
|
|
138
134
|
* @example
|
|
139
135
|
* cpu
|
|
@@ -153,7 +149,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
153
149
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
154
150
|
/**
|
|
155
151
|
* @remarks
|
|
156
|
-
*
|
|
152
|
+
* Lingjun cluster ID to associate when creating a Lingjun node pool.
|
|
157
153
|
*
|
|
158
154
|
* @example
|
|
159
155
|
* i1169130516633730****
|
|
@@ -161,7 +157,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
161
157
|
clusterId?: string;
|
|
162
158
|
/**
|
|
163
159
|
* @remarks
|
|
164
|
-
*
|
|
160
|
+
* Lingjun group ID of the Lingjun cluster to associate when creating a Lingjun node pool.
|
|
165
161
|
*
|
|
166
162
|
* @example
|
|
167
163
|
* ng-ec3c96ff0aa****
|
|
@@ -181,9 +177,9 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
181
177
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
182
178
|
/**
|
|
183
179
|
* @remarks
|
|
184
|
-
* [
|
|
180
|
+
* [Deprecated]
|
|
185
181
|
*
|
|
186
|
-
*
|
|
182
|
+
* Network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
187
183
|
*
|
|
188
184
|
* @example
|
|
189
185
|
* null
|
|
@@ -191,9 +187,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
191
187
|
bandwidth?: number;
|
|
192
188
|
/**
|
|
193
189
|
* @remarks
|
|
194
|
-
* [
|
|
190
|
+
* [Deprecated]
|
|
195
191
|
*
|
|
196
|
-
*
|
|
192
|
+
* CCN instance ID (CCN ID) bound to the enhanced edge node pool.
|
|
197
193
|
*
|
|
198
194
|
* @example
|
|
199
195
|
* null
|
|
@@ -201,9 +197,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
201
197
|
ccnId?: string;
|
|
202
198
|
/**
|
|
203
199
|
* @remarks
|
|
204
|
-
* [
|
|
200
|
+
* [Deprecated]
|
|
205
201
|
*
|
|
206
|
-
*
|
|
202
|
+
* Region of the CCN instance bound to the enhanced edge node pool.
|
|
207
203
|
*
|
|
208
204
|
* @example
|
|
209
205
|
* null
|
|
@@ -211,9 +207,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
211
207
|
ccnRegionId?: string;
|
|
212
208
|
/**
|
|
213
209
|
* @remarks
|
|
214
|
-
* [
|
|
210
|
+
* [Deprecated]
|
|
215
211
|
*
|
|
216
|
-
*
|
|
212
|
+
* CEN instance ID (CEN ID) bound to the enhanced edge node pool.
|
|
217
213
|
*
|
|
218
214
|
* @example
|
|
219
215
|
* null
|
|
@@ -221,9 +217,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
221
217
|
cenId?: string;
|
|
222
218
|
/**
|
|
223
219
|
* @remarks
|
|
224
|
-
* [
|
|
220
|
+
* [Deprecated]
|
|
225
221
|
*
|
|
226
|
-
*
|
|
222
|
+
* Subscription duration of the enhanced edge node pool. Unit: months.
|
|
227
223
|
*
|
|
228
224
|
* @example
|
|
229
225
|
* null
|
|
@@ -243,11 +239,11 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
243
239
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
244
240
|
/**
|
|
245
241
|
* @remarks
|
|
246
|
-
*
|
|
242
|
+
* 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:
|
|
247
243
|
*
|
|
248
|
-
* - `true`:
|
|
244
|
+
* - `true`: install CloudMonitor on ECS nodes.
|
|
249
245
|
*
|
|
250
|
-
* - `false`:
|
|
246
|
+
* - `false`: do not install CloudMonitor on ECS nodes.
|
|
251
247
|
*
|
|
252
248
|
* Default value: `false`.
|
|
253
249
|
*
|
|
@@ -257,11 +253,10 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
257
253
|
cmsEnabled?: boolean;
|
|
258
254
|
/**
|
|
259
255
|
* @remarks
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
256
|
+
* Node CPU management policy. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
263
257
|
*
|
|
264
|
-
* - `
|
|
258
|
+
* - `static`: allows enhanced CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
259
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
265
260
|
*
|
|
266
261
|
* Default value: `none`.
|
|
267
262
|
*
|
|
@@ -271,30 +266,27 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
271
266
|
cpuPolicy?: string;
|
|
272
267
|
/**
|
|
273
268
|
* @remarks
|
|
274
|
-
*
|
|
269
|
+
* Node labels. Add labels to Kubernetes cluster nodes.
|
|
275
270
|
*/
|
|
276
271
|
labels?: Tag[];
|
|
277
272
|
/**
|
|
278
273
|
* @remarks
|
|
279
|
-
*
|
|
274
|
+
* Custom node name. After setting a custom node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
275
|
+
* > 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.
|
|
280
276
|
*
|
|
281
|
-
*
|
|
277
|
+
* A node name consists of three parts: prefix, node IP address, and suffix:
|
|
282
278
|
*
|
|
283
|
-
*
|
|
279
|
+
* - Total length: 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
284
280
|
*
|
|
285
|
-
* - The
|
|
281
|
+
* - 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.
|
|
282
|
+
* - The prefix is required (ECS restriction) and the suffix is optional.
|
|
283
|
+
* - The node IP is the complete private IP address of the node.
|
|
286
284
|
*
|
|
287
|
-
*
|
|
285
|
+
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
288
286
|
*
|
|
289
|
-
* -
|
|
287
|
+
* - For Linux nodes, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
290
288
|
*
|
|
291
|
-
* -
|
|
292
|
-
*
|
|
293
|
-
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
|
|
294
|
-
*
|
|
295
|
-
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
296
|
-
*
|
|
297
|
-
* - 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.
|
|
289
|
+
* - 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.
|
|
298
290
|
*
|
|
299
291
|
* @example
|
|
300
292
|
* aliyun.com192.XX.YY.55test
|
|
@@ -302,7 +294,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
302
294
|
nodeNameMode?: string;
|
|
303
295
|
/**
|
|
304
296
|
* @remarks
|
|
305
|
-
*
|
|
297
|
+
* 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).
|
|
306
298
|
*
|
|
307
299
|
* @example
|
|
308
300
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -310,13 +302,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
310
302
|
preUserData?: string;
|
|
311
303
|
/**
|
|
312
304
|
* @remarks
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
316
|
-
*
|
|
317
|
-
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 or earlier.
|
|
305
|
+
* Container runtime name. ACK supports the following three container runtimes.
|
|
318
306
|
*
|
|
319
|
-
* -
|
|
307
|
+
* - containerd: recommended, supported by all cluster versions.
|
|
308
|
+
* - Sandboxed-Container.runv: sandboxed container with higher isolation, supported by clusters of version 1.31 or earlier.
|
|
309
|
+
* - docker: no longer maintained, supported by clusters of version 1.22 or earlier.
|
|
320
310
|
*
|
|
321
311
|
* Default value: containerd.
|
|
322
312
|
*
|
|
@@ -326,7 +316,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
326
316
|
runtime?: string;
|
|
327
317
|
/**
|
|
328
318
|
* @remarks
|
|
329
|
-
*
|
|
319
|
+
* Container runtime version.
|
|
330
320
|
*
|
|
331
321
|
* @example
|
|
332
322
|
* 1.6.38
|
|
@@ -334,16 +324,16 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
334
324
|
runtimeVersion?: string;
|
|
335
325
|
/**
|
|
336
326
|
* @remarks
|
|
337
|
-
*
|
|
327
|
+
* Taint configuration.
|
|
338
328
|
*/
|
|
339
329
|
taints?: Taint[];
|
|
340
330
|
/**
|
|
341
331
|
* @remarks
|
|
342
|
-
*
|
|
332
|
+
* Whether scaled-out nodes are unschedulable.
|
|
343
333
|
*
|
|
344
|
-
* - true:
|
|
334
|
+
* - true: unschedulable.
|
|
345
335
|
*
|
|
346
|
-
* - false:
|
|
336
|
+
* - false: schedulable.
|
|
347
337
|
*
|
|
348
338
|
* @example
|
|
349
339
|
* true
|
|
@@ -351,7 +341,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
351
341
|
unschedulable?: boolean;
|
|
352
342
|
/**
|
|
353
343
|
* @remarks
|
|
354
|
-
*
|
|
344
|
+
* 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).
|
|
355
345
|
*
|
|
356
346
|
* @example
|
|
357
347
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -371,16 +361,15 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
371
361
|
export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
372
362
|
/**
|
|
373
363
|
* @remarks
|
|
374
|
-
*
|
|
364
|
+
* Whether node repair requires manual approval.
|
|
375
365
|
*/
|
|
376
366
|
approvalRequired?: boolean;
|
|
377
367
|
/**
|
|
378
368
|
* @remarks
|
|
379
|
-
*
|
|
369
|
+
* Whether to allow node restart. Takes effect only when `auto_repair=true`. Valid values:
|
|
380
370
|
*
|
|
381
|
-
* - `true`:
|
|
382
|
-
*
|
|
383
|
-
* - `false`: Disallows node restart.
|
|
371
|
+
* - `true`: allow node restart
|
|
372
|
+
* - `false`: do not allow node restart
|
|
384
373
|
*
|
|
385
374
|
* Default value: `true`
|
|
386
375
|
*
|
|
@@ -402,11 +391,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
402
391
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
403
392
|
/**
|
|
404
393
|
* @remarks
|
|
405
|
-
*
|
|
406
|
-
*
|
|
407
|
-
* - `
|
|
408
|
-
*
|
|
409
|
-
* - `false`: Disallows auto kubelet upgrade.
|
|
394
|
+
* Whether to allow automatic kubelet upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
395
|
+
* - `true`: allow automatic kubelet upgrade.
|
|
396
|
+
* - `false`: do not allow automatic kubelet upgrade.
|
|
410
397
|
*
|
|
411
398
|
* Default value: `true`.
|
|
412
399
|
*
|
|
@@ -416,11 +403,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
416
403
|
autoUpgradeKubelet?: boolean;
|
|
417
404
|
/**
|
|
418
405
|
* @remarks
|
|
419
|
-
*
|
|
406
|
+
* Whether to allow automatic OS upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
407
|
+
* - `true`: allow automatic OS upgrade.
|
|
408
|
+
* - `false`: do not allow automatic OS upgrade.
|
|
420
409
|
*
|
|
421
|
-
* - `true`: Allows auto OS upgrade.
|
|
422
|
-
*
|
|
423
|
-
* - `false`: Disallows auto OS upgrade.
|
|
424
410
|
*
|
|
425
411
|
* Default value: `false`.
|
|
426
412
|
*
|
|
@@ -430,11 +416,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
430
416
|
autoUpgradeOs?: boolean;
|
|
431
417
|
/**
|
|
432
418
|
* @remarks
|
|
433
|
-
*
|
|
434
|
-
*
|
|
435
|
-
* - `
|
|
436
|
-
*
|
|
437
|
-
* - `false`: Disallows auto runtime upgrade.
|
|
419
|
+
* Whether to allow automatic runtime upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
420
|
+
* - `true`: allow automatic runtime upgrade.
|
|
421
|
+
* - `false`: do not allow automatic runtime upgrade.
|
|
438
422
|
*
|
|
439
423
|
* Default value: `true`.
|
|
440
424
|
*
|
|
@@ -456,7 +440,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
456
440
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
457
441
|
/**
|
|
458
442
|
* @remarks
|
|
459
|
-
*
|
|
443
|
+
* Packages to exclude during vulnerability patching.
|
|
460
444
|
*
|
|
461
445
|
* Default value: `kernel`.
|
|
462
446
|
*
|
|
@@ -466,11 +450,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
466
450
|
excludePackages?: string;
|
|
467
451
|
/**
|
|
468
452
|
* @remarks
|
|
469
|
-
*
|
|
470
|
-
*
|
|
471
|
-
* - `
|
|
472
|
-
*
|
|
473
|
-
* - `false`: Disallows node restart.
|
|
453
|
+
* Whether to allow node restart. Takes effect only when `auto_vul_fix=true`. Valid values:
|
|
454
|
+
* - `true`: allow node restart
|
|
455
|
+
* - `false`: do not allow node restart
|
|
474
456
|
*
|
|
475
457
|
* Default value: `true`
|
|
476
458
|
*
|
|
@@ -480,12 +462,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
480
462
|
restartNode?: boolean;
|
|
481
463
|
/**
|
|
482
464
|
* @remarks
|
|
483
|
-
*
|
|
465
|
+
* Vulnerability levels allowed for automatic fixing, separated by commas, for example: `asap,later`. Supported vulnerability levels:
|
|
484
466
|
*
|
|
485
467
|
* - `asap`: high
|
|
486
|
-
*
|
|
487
468
|
* - `later`: medium
|
|
488
|
-
*
|
|
489
469
|
* - `nntf`: low
|
|
490
470
|
*
|
|
491
471
|
* Default value: `asap`.
|
|
@@ -508,13 +488,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
508
488
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
509
489
|
/**
|
|
510
490
|
* @remarks
|
|
511
|
-
* [
|
|
491
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the parent level instead.
|
|
512
492
|
*
|
|
513
|
-
*
|
|
493
|
+
* Whether to enable auto upgrade. Valid values:
|
|
514
494
|
*
|
|
515
|
-
* - `true`:
|
|
495
|
+
* - `true`: enable auto upgrade.
|
|
516
496
|
*
|
|
517
|
-
* - `false`:
|
|
497
|
+
* - `false`: disable auto upgrade.
|
|
518
498
|
*
|
|
519
499
|
* @example
|
|
520
500
|
* null
|
|
@@ -524,8 +504,8 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
524
504
|
autoUpgrade?: boolean;
|
|
525
505
|
/**
|
|
526
506
|
* @remarks
|
|
527
|
-
*
|
|
528
|
-
*
|
|
507
|
+
* Maximum number of unavailable nodes.
|
|
508
|
+
* Valid values: [1,1000\\]
|
|
529
509
|
*
|
|
530
510
|
* Default value: 1.
|
|
531
511
|
*
|
|
@@ -535,11 +515,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
535
515
|
maxUnavailable?: number;
|
|
536
516
|
/**
|
|
537
517
|
* @remarks
|
|
538
|
-
*
|
|
518
|
+
* Number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
539
519
|
*
|
|
540
|
-
* Nodes become unavailable during
|
|
520
|
+
* Nodes become unavailable during upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
541
521
|
*
|
|
542
|
-
* >
|
|
522
|
+
* > It is recommended that the number of extra nodes does not exceed the current number of nodes.
|
|
543
523
|
*
|
|
544
524
|
* @example
|
|
545
525
|
* 0
|
|
@@ -547,9 +527,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
547
527
|
surge?: number;
|
|
548
528
|
/**
|
|
549
529
|
* @remarks
|
|
550
|
-
*
|
|
530
|
+
* Percentage of extra nodes. Mutually exclusive with `surge`.
|
|
551
531
|
*
|
|
552
|
-
* Number of extra nodes =
|
|
532
|
+
* 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.
|
|
553
533
|
*
|
|
554
534
|
* @example
|
|
555
535
|
* 0
|
|
@@ -570,11 +550,11 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
570
550
|
autoFaultDiagnosis?: boolean;
|
|
571
551
|
/**
|
|
572
552
|
* @remarks
|
|
573
|
-
*
|
|
553
|
+
* Whether to automatically repair nodes. Takes effect only when `enable=true`.
|
|
574
554
|
*
|
|
575
|
-
* - `true`:
|
|
555
|
+
* - `true`: auto repair
|
|
576
556
|
*
|
|
577
|
-
* - `false`:
|
|
557
|
+
* - `false`: no auto repair
|
|
578
558
|
*
|
|
579
559
|
* Default value: `true`
|
|
580
560
|
*
|
|
@@ -584,16 +564,14 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
584
564
|
autoRepair?: boolean;
|
|
585
565
|
/**
|
|
586
566
|
* @remarks
|
|
587
|
-
*
|
|
567
|
+
* Auto repair node policy.
|
|
588
568
|
*/
|
|
589
569
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
590
570
|
/**
|
|
591
571
|
* @remarks
|
|
592
|
-
*
|
|
593
|
-
*
|
|
594
|
-
* - `
|
|
595
|
-
*
|
|
596
|
-
* - `false`: Disables auto node upgrade.
|
|
572
|
+
* Whether to automatically upgrade nodes. Takes effect only when `enable=true`.
|
|
573
|
+
* - `true`: enable auto upgrade.
|
|
574
|
+
* - `false`: disable auto upgrade.
|
|
597
575
|
*
|
|
598
576
|
* Default value: `true`.
|
|
599
577
|
*
|
|
@@ -603,16 +581,15 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
603
581
|
autoUpgrade?: boolean;
|
|
604
582
|
/**
|
|
605
583
|
* @remarks
|
|
606
|
-
*
|
|
584
|
+
* Auto node upgrade policy.
|
|
607
585
|
*/
|
|
608
586
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
609
587
|
/**
|
|
610
588
|
* @remarks
|
|
611
|
-
*
|
|
589
|
+
* Whether to automatically fix CVE vulnerabilities. Takes effect only when `enable=true`.
|
|
612
590
|
*
|
|
613
|
-
* - `true`:
|
|
614
|
-
*
|
|
615
|
-
* - `false`: Does not automatically fix CVE vulnerabilities.
|
|
591
|
+
* - `true`: allow automatic CVE fixing.
|
|
592
|
+
* - `false`: do not allow automatic CVE fixing.
|
|
616
593
|
*
|
|
617
594
|
* Default value: `true`.
|
|
618
595
|
*
|
|
@@ -622,16 +599,16 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
622
599
|
autoVulFix?: boolean;
|
|
623
600
|
/**
|
|
624
601
|
* @remarks
|
|
625
|
-
*
|
|
602
|
+
* Auto CVE fix policy.
|
|
626
603
|
*/
|
|
627
604
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
628
605
|
/**
|
|
629
606
|
* @remarks
|
|
630
|
-
*
|
|
607
|
+
* Whether to enable the managed feature for the node pool. Valid values:
|
|
631
608
|
*
|
|
632
|
-
* - `true`:
|
|
609
|
+
* - `true`: enable the managed feature.
|
|
633
610
|
*
|
|
634
|
-
* - `false`:
|
|
611
|
+
* - `false`: disable the managed feature. Other related configurations take effect only when enable=true.
|
|
635
612
|
*
|
|
636
613
|
* Default value: false.
|
|
637
614
|
*
|
|
@@ -641,9 +618,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
641
618
|
enable?: boolean;
|
|
642
619
|
/**
|
|
643
620
|
* @remarks
|
|
644
|
-
* [
|
|
621
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the parent level instead.
|
|
645
622
|
*
|
|
646
|
-
*
|
|
623
|
+
* Auto upgrade configuration. Takes effect only when `enable=true`.
|
|
647
624
|
*
|
|
648
625
|
* @deprecated
|
|
649
626
|
*/
|
|
@@ -662,10 +639,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
662
639
|
export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
663
640
|
/**
|
|
664
641
|
* @remarks
|
|
665
|
-
*
|
|
642
|
+
* Node component custom configuration.
|
|
643
|
+
*
|
|
644
|
+
* @example
|
|
645
|
+
* {"cpuManagerPolicy":"static"}
|
|
666
646
|
*/
|
|
667
647
|
customConfig?: {
|
|
668
|
-
[key: string]:
|
|
648
|
+
[key: string]: any;
|
|
669
649
|
};
|
|
670
650
|
static names(): {
|
|
671
651
|
[key: string]: string;
|
|
@@ -681,12 +661,12 @@ export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $d
|
|
|
681
661
|
export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
682
662
|
/**
|
|
683
663
|
* @remarks
|
|
684
|
-
*
|
|
664
|
+
* Node component configuration.
|
|
685
665
|
*/
|
|
686
666
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
687
667
|
/**
|
|
688
668
|
* @remarks
|
|
689
|
-
*
|
|
669
|
+
* Node component name.
|
|
690
670
|
*
|
|
691
671
|
* @example
|
|
692
672
|
* kubelet
|
|
@@ -694,7 +674,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
694
674
|
name?: string;
|
|
695
675
|
/**
|
|
696
676
|
* @remarks
|
|
697
|
-
*
|
|
677
|
+
* Node component version.
|
|
698
678
|
*
|
|
699
679
|
* @example
|
|
700
680
|
* 1.33.3-aliyun.1
|
|
@@ -714,7 +694,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
714
694
|
export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
715
695
|
/**
|
|
716
696
|
* @remarks
|
|
717
|
-
*
|
|
697
|
+
* Kubelet parameter configuration.
|
|
718
698
|
*/
|
|
719
699
|
kubeletConfiguration?: KubeletConfig;
|
|
720
700
|
static names(): {
|
|
@@ -731,7 +711,7 @@ export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model
|
|
|
731
711
|
export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
732
712
|
/**
|
|
733
713
|
* @remarks
|
|
734
|
-
*
|
|
714
|
+
* Node pool name.
|
|
735
715
|
*
|
|
736
716
|
* This parameter is required.
|
|
737
717
|
*
|
|
@@ -741,9 +721,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
741
721
|
name?: string;
|
|
742
722
|
/**
|
|
743
723
|
* @remarks
|
|
744
|
-
*
|
|
724
|
+
* Resource group ID of the node pool. Instances created by the node pool will belong to this resource group.
|
|
745
725
|
*
|
|
746
|
-
* A resource can belong to
|
|
726
|
+
* 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.
|
|
747
727
|
*
|
|
748
728
|
* @example
|
|
749
729
|
* rg-acfmyvw3wjmb****
|
|
@@ -751,15 +731,12 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
751
731
|
resourceGroupId?: string;
|
|
752
732
|
/**
|
|
753
733
|
* @remarks
|
|
754
|
-
*
|
|
755
|
-
*
|
|
756
|
-
* - `ess`: a regular node pool. This type of node pool provides managed features and auto scaling.
|
|
757
|
-
*
|
|
758
|
-
* - `edge`: an edge node pool.
|
|
734
|
+
* Node pool type. Valid values:
|
|
759
735
|
*
|
|
760
|
-
* - `
|
|
761
|
-
*
|
|
762
|
-
* - `
|
|
736
|
+
* - `ess`: standard node pool (includes managed and auto scaling features).
|
|
737
|
+
* - `edge`: edge node pool.
|
|
738
|
+
* - `lingjun`: Lingjun node pool.
|
|
739
|
+
* - `hybrid`: hybrid cloud node pool.
|
|
763
740
|
*
|
|
764
741
|
* @example
|
|
765
742
|
* ess
|
|
@@ -779,7 +756,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
779
756
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
780
757
|
/**
|
|
781
758
|
* @remarks
|
|
782
|
-
*
|
|
759
|
+
* Private pool ID. When `match_criteria` is set to `Target`, you must further specify the private pool ID.
|
|
783
760
|
*
|
|
784
761
|
* @example
|
|
785
762
|
* eap-bp67acfmxazb4****
|
|
@@ -787,13 +764,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
787
764
|
id?: string;
|
|
788
765
|
/**
|
|
789
766
|
* @remarks
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
* - `
|
|
793
|
-
*
|
|
794
|
-
* - `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.
|
|
795
|
-
*
|
|
796
|
-
* - `None`: The instance is launched without using the capacity of a private pool.
|
|
767
|
+
* 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:
|
|
768
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no eligible private pool capacity is available, public pool resources are used.
|
|
769
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified capacity is unavailable, instance creation fails.
|
|
770
|
+
* - `None`: do not use mode. Instances will not use private pool capacity.
|
|
797
771
|
*
|
|
798
772
|
* @example
|
|
799
773
|
* Target
|
|
@@ -813,15 +787,15 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
813
787
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
814
788
|
/**
|
|
815
789
|
* @remarks
|
|
816
|
-
*
|
|
790
|
+
* 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.
|
|
817
791
|
*/
|
|
818
792
|
privatePoolIds?: string[];
|
|
819
793
|
/**
|
|
820
794
|
* @remarks
|
|
821
|
-
*
|
|
822
|
-
* PrivatePoolFirst:
|
|
823
|
-
* PrivatePoolOnly:
|
|
824
|
-
* None:
|
|
795
|
+
* 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:
|
|
796
|
+
* 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.
|
|
797
|
+
* 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.
|
|
798
|
+
* None: do not use resource pool policy.
|
|
825
799
|
* Default value: None.
|
|
826
800
|
*
|
|
827
801
|
* @example
|
|
@@ -842,7 +816,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
842
816
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
843
817
|
/**
|
|
844
818
|
* @remarks
|
|
845
|
-
*
|
|
819
|
+
* Preemptible instance type.
|
|
846
820
|
*
|
|
847
821
|
* @example
|
|
848
822
|
* ecs.c6.large
|
|
@@ -850,11 +824,12 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
850
824
|
instanceType?: string;
|
|
851
825
|
/**
|
|
852
826
|
* @remarks
|
|
853
|
-
*
|
|
827
|
+
* Maximum price per instance.
|
|
828
|
+
* <props="china">Unit: CNY/hour.
|
|
829
|
+
*
|
|
854
830
|
*
|
|
855
|
-
* <props="intl">
|
|
856
831
|
*
|
|
857
|
-
* Unit: USD/hour.
|
|
832
|
+
* <props="intl">Unit: USD/hour.
|
|
858
833
|
*
|
|
859
834
|
* @example
|
|
860
835
|
* 0.39
|
|
@@ -874,7 +849,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
874
849
|
export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
875
850
|
/**
|
|
876
851
|
* @remarks
|
|
877
|
-
*
|
|
852
|
+
* Tag key.
|
|
878
853
|
*
|
|
879
854
|
* @example
|
|
880
855
|
* node-k-1
|
|
@@ -882,7 +857,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
882
857
|
key?: string;
|
|
883
858
|
/**
|
|
884
859
|
* @remarks
|
|
885
|
-
*
|
|
860
|
+
* Tag value.
|
|
886
861
|
*
|
|
887
862
|
* @example
|
|
888
863
|
* node-v-1
|
|
@@ -902,11 +877,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
902
877
|
export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
903
878
|
/**
|
|
904
879
|
* @remarks
|
|
905
|
-
*
|
|
880
|
+
* Whether to enable auto-renewal for nodes in the node pool. Takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
906
881
|
*
|
|
907
|
-
* - `true`:
|
|
908
|
-
*
|
|
909
|
-
* - `false`: disables auto-renewal.
|
|
882
|
+
* - `true`: enable auto-renewal.
|
|
883
|
+
* - `false`: disable auto-renewal.
|
|
910
884
|
*
|
|
911
885
|
* Default value: `false`.
|
|
912
886
|
*
|
|
@@ -916,11 +890,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
916
890
|
autoRenew?: boolean;
|
|
917
891
|
/**
|
|
918
892
|
* @remarks
|
|
919
|
-
*
|
|
920
|
-
*
|
|
921
|
-
* -
|
|
922
|
-
*
|
|
923
|
-
* - If \\`PeriodUnit\\` is set to \\`Month\\`: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
893
|
+
* Duration of each auto-renewal. Valid values:
|
|
894
|
+
* - When PeriodUnit=Week: 1, 2, 3.
|
|
895
|
+
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
924
896
|
*
|
|
925
897
|
* Default value: 1.
|
|
926
898
|
*
|
|
@@ -930,7 +902,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
930
902
|
autoRenewPeriod?: number;
|
|
931
903
|
/**
|
|
932
904
|
* @remarks
|
|
933
|
-
* [Deprecated] Use the
|
|
905
|
+
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
934
906
|
*
|
|
935
907
|
* @example
|
|
936
908
|
* null
|
|
@@ -940,11 +912,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
940
912
|
cisEnabled?: boolean;
|
|
941
913
|
/**
|
|
942
914
|
* @remarks
|
|
943
|
-
*
|
|
944
|
-
*
|
|
945
|
-
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
915
|
+
* 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:
|
|
946
916
|
*
|
|
947
|
-
* - `
|
|
917
|
+
* - `true`: allow automatic creation of pay-as-you-go instances.
|
|
918
|
+
* - `false`: do not allow automatic creation of pay-as-you-go instances.
|
|
948
919
|
*
|
|
949
920
|
* @example
|
|
950
921
|
* true
|
|
@@ -952,16 +923,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
952
923
|
compensateWithOnDemand?: boolean;
|
|
953
924
|
/**
|
|
954
925
|
* @remarks
|
|
955
|
-
*
|
|
926
|
+
* Data disk configuration for nodes in the node pool.
|
|
956
927
|
*/
|
|
957
928
|
dataDisks?: DataDisk[];
|
|
958
929
|
/**
|
|
959
930
|
* @remarks
|
|
960
|
-
*
|
|
931
|
+
* 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.
|
|
961
932
|
*
|
|
962
|
-
* >Notice:
|
|
963
933
|
*
|
|
964
|
-
* After
|
|
934
|
+
* >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.
|
|
965
935
|
*
|
|
966
936
|
* @example
|
|
967
937
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -969,11 +939,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
969
939
|
deploymentsetId?: string;
|
|
970
940
|
/**
|
|
971
941
|
* @remarks
|
|
972
|
-
*
|
|
942
|
+
* Desired number of nodes in the node pool.
|
|
973
943
|
*
|
|
974
|
-
* The total number of nodes that the node pool should maintain. We recommend
|
|
944
|
+
* 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.
|
|
975
945
|
*
|
|
976
|
-
* If
|
|
946
|
+
* If no nodes need to be created, set this to 0 and manually adjust the node count later.
|
|
977
947
|
*
|
|
978
948
|
* @example
|
|
979
949
|
* 0
|
|
@@ -981,12 +951,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
981
951
|
desiredSize?: number;
|
|
982
952
|
/**
|
|
983
953
|
* @remarks
|
|
984
|
-
*
|
|
954
|
+
* Block device initialization configuration.
|
|
985
955
|
*/
|
|
986
956
|
diskInit?: DiskInit[];
|
|
987
957
|
/**
|
|
988
958
|
* @remarks
|
|
989
|
-
*
|
|
959
|
+
* Custom image ID. The system-provided image is used by default.
|
|
990
960
|
*
|
|
991
961
|
* @example
|
|
992
962
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -994,27 +964,18 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
994
964
|
imageId?: string;
|
|
995
965
|
/**
|
|
996
966
|
* @remarks
|
|
997
|
-
*
|
|
967
|
+
* OS image type. Valid values:
|
|
998
968
|
*
|
|
999
969
|
* - `AliyunLinux`: Alinux2 image.
|
|
1000
|
-
*
|
|
1001
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1002
|
-
*
|
|
970
|
+
* - `AliyunLinuxSecurity`: Alinux2 image UEFI version.
|
|
1003
971
|
* - `AliyunLinux3`: Alinux3 image.
|
|
1004
|
-
*
|
|
1005
|
-
* - `
|
|
1006
|
-
*
|
|
1007
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1008
|
-
*
|
|
972
|
+
* - `AliyunLinux3Arm64`: Alinux3 image ARM version.
|
|
973
|
+
* - `AliyunLinux3Security`: Alinux3 image UEFI version.
|
|
1009
974
|
* - `CentOS`: CentOS image.
|
|
1010
|
-
*
|
|
1011
975
|
* - `Windows`: Windows image.
|
|
1012
|
-
*
|
|
1013
976
|
* - `WindowsCore`: WindowsCore image.
|
|
1014
|
-
*
|
|
1015
|
-
* - `
|
|
1016
|
-
*
|
|
1017
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
|
|
977
|
+
* - `ContainerOS`: container-optimized image.
|
|
978
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1018
979
|
*
|
|
1019
980
|
* @example
|
|
1020
981
|
* AliyunLinux3
|
|
@@ -1022,11 +983,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1022
983
|
imageType?: string;
|
|
1023
984
|
/**
|
|
1024
985
|
* @remarks
|
|
1025
|
-
*
|
|
986
|
+
* Billing method for nodes in the node pool. Valid values:
|
|
1026
987
|
*
|
|
1027
|
-
* - `PrePaid`: subscription.
|
|
988
|
+
* - `PrePaid`: subscription instance.
|
|
1028
989
|
*
|
|
1029
|
-
* - `PostPaid`: pay-as-you-go.
|
|
990
|
+
* - `PostPaid`: pay-as-you-go instance.
|
|
1030
991
|
*
|
|
1031
992
|
* Default value: `PostPaid`.
|
|
1032
993
|
*
|
|
@@ -1038,31 +999,31 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1038
999
|
instanceChargeType?: string;
|
|
1039
1000
|
/**
|
|
1040
1001
|
* @remarks
|
|
1041
|
-
*
|
|
1002
|
+
* ECS instance metadata access configuration.
|
|
1042
1003
|
*/
|
|
1043
1004
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1044
1005
|
/**
|
|
1045
1006
|
* @remarks
|
|
1046
|
-
*
|
|
1007
|
+
* Instance attribute configuration.
|
|
1047
1008
|
*/
|
|
1048
1009
|
instancePatterns?: InstancePatterns[];
|
|
1049
1010
|
/**
|
|
1050
1011
|
* @remarks
|
|
1051
|
-
*
|
|
1012
|
+
* 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.
|
|
1013
|
+
*
|
|
1014
|
+
* Supported number of instance types: [1,10]
|
|
1052
1015
|
*
|
|
1053
|
-
* The number of instance types must be in the range of [1, 10].
|
|
1054
1016
|
*
|
|
1055
|
-
* >
|
|
1017
|
+
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
1056
1018
|
*
|
|
1057
1019
|
* This parameter is required.
|
|
1058
1020
|
*/
|
|
1059
1021
|
instanceTypes?: string[];
|
|
1060
1022
|
/**
|
|
1061
1023
|
* @remarks
|
|
1062
|
-
*
|
|
1024
|
+
* Public IP billing method. Valid values:
|
|
1063
1025
|
*
|
|
1064
1026
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1065
|
-
*
|
|
1066
1027
|
* - PayByTraffic: pay-by-traffic.
|
|
1067
1028
|
*
|
|
1068
1029
|
* @example
|
|
@@ -1071,7 +1032,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1071
1032
|
internetChargeType?: string;
|
|
1072
1033
|
/**
|
|
1073
1034
|
* @remarks
|
|
1074
|
-
*
|
|
1035
|
+
* Maximum outbound public bandwidth for nodes. Unit: Mbps (Megabits per second). Valid values: [1,100\\].
|
|
1075
1036
|
*
|
|
1076
1037
|
* @example
|
|
1077
1038
|
* 5
|
|
@@ -1079,9 +1040,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1079
1040
|
internetMaxBandwidthOut?: number;
|
|
1080
1041
|
/**
|
|
1081
1042
|
* @remarks
|
|
1082
|
-
*
|
|
1043
|
+
* Key pair name for passwordless login. Mutually exclusive with `login_password`.
|
|
1083
1044
|
*
|
|
1084
|
-
* > If
|
|
1045
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1085
1046
|
*
|
|
1086
1047
|
* @example
|
|
1087
1048
|
* np-key-name
|
|
@@ -1089,11 +1050,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1089
1050
|
keyPair?: string;
|
|
1090
1051
|
/**
|
|
1091
1052
|
* @remarks
|
|
1092
|
-
*
|
|
1053
|
+
* Whether the created ECS instances use a non-root user for login.
|
|
1093
1054
|
*
|
|
1094
|
-
* - true:
|
|
1055
|
+
* - true: log on as a non-root user (ecs-user).
|
|
1095
1056
|
*
|
|
1096
|
-
* - false:
|
|
1057
|
+
* - false: log on as the root user.
|
|
1097
1058
|
*
|
|
1098
1059
|
* @example
|
|
1099
1060
|
* true
|
|
@@ -1101,7 +1062,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1101
1062
|
loginAsNonRoot?: boolean;
|
|
1102
1063
|
/**
|
|
1103
1064
|
* @remarks
|
|
1104
|
-
*
|
|
1065
|
+
* 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.
|
|
1105
1066
|
*
|
|
1106
1067
|
* @example
|
|
1107
1068
|
* ****
|
|
@@ -1109,15 +1070,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1109
1070
|
loginPassword?: string;
|
|
1110
1071
|
/**
|
|
1111
1072
|
* @remarks
|
|
1112
|
-
*
|
|
1073
|
+
* Multi-zone scaling group ECS instance scaling policy. Valid values:
|
|
1113
1074
|
*
|
|
1114
|
-
* - `PRIORITY`:
|
|
1075
|
+
* - `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.
|
|
1115
1076
|
*
|
|
1116
|
-
* - `COST_OPTIMIZED`:
|
|
1077
|
+
* - `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.
|
|
1117
1078
|
*
|
|
1118
|
-
* > `COST_OPTIMIZED` takes effect only when multiple instance types
|
|
1079
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types or preemptible instances are configured.
|
|
1119
1080
|
*
|
|
1120
|
-
* - `BALANCE`:
|
|
1081
|
+
* - `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.
|
|
1121
1082
|
*
|
|
1122
1083
|
* Default value: `PRIORITY`.
|
|
1123
1084
|
*
|
|
@@ -1127,7 +1088,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1127
1088
|
multiAzPolicy?: string;
|
|
1128
1089
|
/**
|
|
1129
1090
|
* @remarks
|
|
1130
|
-
*
|
|
1091
|
+
* 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.
|
|
1131
1092
|
*
|
|
1132
1093
|
* @example
|
|
1133
1094
|
* 0
|
|
@@ -1135,7 +1096,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1135
1096
|
onDemandBaseCapacity?: number;
|
|
1136
1097
|
/**
|
|
1137
1098
|
* @remarks
|
|
1138
|
-
*
|
|
1099
|
+
* 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\\].
|
|
1139
1100
|
*
|
|
1140
1101
|
* @example
|
|
1141
1102
|
* 20
|
|
@@ -1143,11 +1104,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1143
1104
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1144
1105
|
/**
|
|
1145
1106
|
* @remarks
|
|
1146
|
-
*
|
|
1147
|
-
*
|
|
1148
|
-
* - If \\`period_unit\\` is set to \\`Week\\`, the valid values of \\`period\\` are 1, 2, 3, and 4.
|
|
1107
|
+
* Subscription duration for nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1149
1108
|
*
|
|
1150
|
-
* -
|
|
1109
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1110
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1151
1111
|
*
|
|
1152
1112
|
* @example
|
|
1153
1113
|
* 1
|
|
@@ -1155,11 +1115,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1155
1115
|
period?: number;
|
|
1156
1116
|
/**
|
|
1157
1117
|
* @remarks
|
|
1158
|
-
*
|
|
1159
|
-
*
|
|
1160
|
-
* - `Month`: The billing cycle is measured in months.
|
|
1118
|
+
* Billing period unit for nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1161
1119
|
*
|
|
1162
|
-
* - `
|
|
1120
|
+
* - `Month`: billed on a monthly basis.
|
|
1121
|
+
* - `Week`: billed on a weekly basis.
|
|
1163
1122
|
*
|
|
1164
1123
|
* Default value: `Month`.
|
|
1165
1124
|
*
|
|
@@ -1169,16 +1128,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1169
1128
|
periodUnit?: string;
|
|
1170
1129
|
/**
|
|
1171
1130
|
* @remarks
|
|
1172
|
-
* [
|
|
1173
|
-
*
|
|
1174
|
-
* The OS distribution. Valid values:
|
|
1131
|
+
* [Deprecated] Use the `image_type` parameter instead.
|
|
1175
1132
|
*
|
|
1133
|
+
* OS distribution. Valid values:
|
|
1176
1134
|
* - `CentOS`
|
|
1177
|
-
*
|
|
1178
1135
|
* - `AliyunLinux`
|
|
1179
|
-
*
|
|
1180
1136
|
* - `Windows`
|
|
1181
|
-
*
|
|
1182
1137
|
* - `WindowsCore`
|
|
1183
1138
|
*
|
|
1184
1139
|
* Default value: `AliyunLinux`.
|
|
@@ -1191,20 +1146,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1191
1146
|
platform?: string;
|
|
1192
1147
|
/**
|
|
1193
1148
|
* @remarks
|
|
1194
|
-
*
|
|
1149
|
+
* Private pool configuration.
|
|
1195
1150
|
*/
|
|
1196
1151
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1197
1152
|
/**
|
|
1198
1153
|
* @remarks
|
|
1199
|
-
*
|
|
1200
|
-
*
|
|
1201
|
-
* - If this parameter is left empty, the default worker RAM role of the cluster is used.
|
|
1202
|
-
*
|
|
1203
|
-
* - 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-\\`.
|
|
1154
|
+
* Worker RAM role name.
|
|
1204
1155
|
*
|
|
1205
|
-
*
|
|
1156
|
+
* * When left empty, the default Worker RAM role created by the cluster is used.
|
|
1157
|
+
* * 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-`.
|
|
1206
1158
|
*
|
|
1207
|
-
* This parameter is supported only
|
|
1159
|
+
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later.
|
|
1208
1160
|
*
|
|
1209
1161
|
* @example
|
|
1210
1162
|
* example-role
|
|
@@ -1212,23 +1164,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1212
1164
|
ramRoleName?: string;
|
|
1213
1165
|
/**
|
|
1214
1166
|
* @remarks
|
|
1215
|
-
*
|
|
1167
|
+
* RDS instance list.
|
|
1216
1168
|
*/
|
|
1217
1169
|
rdsInstances?: string[];
|
|
1218
1170
|
/**
|
|
1219
1171
|
* @remarks
|
|
1220
|
-
*
|
|
1221
|
-
* This parameter takes effect only when
|
|
1222
|
-
* This parameter cannot be set
|
|
1172
|
+
* Resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1173
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1174
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1223
1175
|
*/
|
|
1224
1176
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1225
1177
|
/**
|
|
1226
1178
|
* @remarks
|
|
1227
|
-
*
|
|
1179
|
+
* Scaling group mode. Valid values:
|
|
1228
1180
|
*
|
|
1229
|
-
* - `release`: standard mode.
|
|
1230
|
-
*
|
|
1231
|
-
* - `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.
|
|
1181
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1182
|
+
* - `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).
|
|
1232
1183
|
*
|
|
1233
1184
|
* Default value: `release`.
|
|
1234
1185
|
*
|
|
@@ -1238,7 +1189,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1238
1189
|
scalingPolicy?: string;
|
|
1239
1190
|
/**
|
|
1240
1191
|
* @remarks
|
|
1241
|
-
*
|
|
1192
|
+
* Security group ID for the node pool. Mutually exclusive with `security_group_ids`. We recommend using `security_group_ids`.
|
|
1242
1193
|
*
|
|
1243
1194
|
* @example
|
|
1244
1195
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1248,16 +1199,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1248
1199
|
securityGroupId?: string;
|
|
1249
1200
|
/**
|
|
1250
1201
|
* @remarks
|
|
1251
|
-
*
|
|
1202
|
+
* 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.
|
|
1252
1203
|
*/
|
|
1253
1204
|
securityGroupIds?: string[];
|
|
1254
1205
|
/**
|
|
1255
1206
|
* @remarks
|
|
1256
1207
|
* Alibaba Cloud OS security hardening. Valid values:
|
|
1257
1208
|
*
|
|
1258
|
-
* - `true`:
|
|
1259
|
-
*
|
|
1260
|
-
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
1209
|
+
* - `true`: enable Alibaba Cloud OS security hardening.
|
|
1210
|
+
* - `false`: disable Alibaba Cloud OS security hardening.
|
|
1261
1211
|
*
|
|
1262
1212
|
* Default value: `false`.
|
|
1263
1213
|
*
|
|
@@ -1267,7 +1217,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1267
1217
|
securityHardeningOs?: boolean;
|
|
1268
1218
|
/**
|
|
1269
1219
|
* @remarks
|
|
1270
|
-
*
|
|
1220
|
+
* 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.
|
|
1271
1221
|
*
|
|
1272
1222
|
* @example
|
|
1273
1223
|
* false
|
|
@@ -1275,7 +1225,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1275
1225
|
socEnabled?: boolean;
|
|
1276
1226
|
/**
|
|
1277
1227
|
* @remarks
|
|
1278
|
-
*
|
|
1228
|
+
* 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\\].
|
|
1279
1229
|
*
|
|
1280
1230
|
* @example
|
|
1281
1231
|
* 5
|
|
@@ -1283,11 +1233,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1283
1233
|
spotInstancePools?: number;
|
|
1284
1234
|
/**
|
|
1285
1235
|
* @remarks
|
|
1286
|
-
*
|
|
1287
|
-
*
|
|
1288
|
-
* - `true`: Enables the instance reclaim mode.
|
|
1236
|
+
* 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:
|
|
1289
1237
|
*
|
|
1290
|
-
* - `
|
|
1238
|
+
* - `true`: enable supplementing preemptible instances.
|
|
1239
|
+
* - `false`: disable supplementing preemptible instances.
|
|
1291
1240
|
*
|
|
1292
1241
|
* @example
|
|
1293
1242
|
* false
|
|
@@ -1295,20 +1244,20 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1295
1244
|
spotInstanceRemedy?: boolean;
|
|
1296
1245
|
/**
|
|
1297
1246
|
* @remarks
|
|
1298
|
-
*
|
|
1247
|
+
* Market price range configuration for a single preemptible instance type.
|
|
1299
1248
|
*/
|
|
1300
1249
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1301
1250
|
/**
|
|
1302
1251
|
* @remarks
|
|
1303
|
-
*
|
|
1252
|
+
* Preemptible instance type. Valid values:
|
|
1304
1253
|
*
|
|
1305
|
-
* - `NoSpot`:
|
|
1254
|
+
* - `NoSpot`: non-preemptible instance.
|
|
1306
1255
|
*
|
|
1307
|
-
* - `SpotWithPriceLimit`:
|
|
1256
|
+
* - `SpotWithPriceLimit`: set a maximum price for preemptible instances.
|
|
1308
1257
|
*
|
|
1309
|
-
* - `SpotAsPriceGo`:
|
|
1258
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1310
1259
|
*
|
|
1311
|
-
* For more information, see [
|
|
1260
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1312
1261
|
*
|
|
1313
1262
|
* @example
|
|
1314
1263
|
* NoSpot
|
|
@@ -1316,13 +1265,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1316
1265
|
spotStrategy?: string;
|
|
1317
1266
|
/**
|
|
1318
1267
|
* @remarks
|
|
1319
|
-
*
|
|
1320
|
-
*
|
|
1321
|
-
* -
|
|
1322
|
-
*
|
|
1323
|
-
* - false: No.
|
|
1268
|
+
* Whether to enable burst (performance bursting) for the node system disk. Valid values:
|
|
1269
|
+
* - true: enable.
|
|
1270
|
+
* - false: disable.
|
|
1324
1271
|
*
|
|
1325
|
-
* This parameter
|
|
1272
|
+
* 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).
|
|
1326
1273
|
*
|
|
1327
1274
|
* @example
|
|
1328
1275
|
* true
|
|
@@ -1330,21 +1277,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1330
1277
|
systemDiskBurstingEnabled?: boolean;
|
|
1331
1278
|
/**
|
|
1332
1279
|
* @remarks
|
|
1333
|
-
*
|
|
1280
|
+
* 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.
|
|
1334
1281
|
*/
|
|
1335
1282
|
systemDiskCategories?: string[];
|
|
1336
1283
|
/**
|
|
1337
1284
|
* @remarks
|
|
1338
|
-
*
|
|
1339
|
-
*
|
|
1285
|
+
* Node system disk type. Valid values:
|
|
1340
1286
|
* - `cloud_efficiency`: ultra disk.
|
|
1341
|
-
*
|
|
1342
1287
|
* - `cloud_ssd`: standard SSD.
|
|
1343
|
-
*
|
|
1344
1288
|
* - `cloud_essd`: ESSD.
|
|
1345
|
-
*
|
|
1346
1289
|
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1347
|
-
*
|
|
1348
1290
|
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1349
1291
|
*
|
|
1350
1292
|
* Default value: `cloud_efficiency`.
|
|
@@ -1355,7 +1297,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1355
1297
|
systemDiskCategory?: string;
|
|
1356
1298
|
/**
|
|
1357
1299
|
* @remarks
|
|
1358
|
-
*
|
|
1300
|
+
* Encryption algorithm used by the system disk. Valid values: aes-256.
|
|
1359
1301
|
*
|
|
1360
1302
|
* @example
|
|
1361
1303
|
* aes-256
|
|
@@ -1363,11 +1305,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1363
1305
|
systemDiskEncryptAlgorithm?: string;
|
|
1364
1306
|
/**
|
|
1365
1307
|
* @remarks
|
|
1366
|
-
*
|
|
1308
|
+
* Whether to encrypt the system disk. Valid values:
|
|
1367
1309
|
*
|
|
1368
|
-
* - true:
|
|
1310
|
+
* - true: encrypt.
|
|
1369
1311
|
*
|
|
1370
|
-
* - false:
|
|
1312
|
+
* - false: do not encrypt.
|
|
1371
1313
|
*
|
|
1372
1314
|
* @example
|
|
1373
1315
|
* false
|
|
@@ -1375,7 +1317,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1375
1317
|
systemDiskEncrypted?: boolean;
|
|
1376
1318
|
/**
|
|
1377
1319
|
* @remarks
|
|
1378
|
-
*
|
|
1320
|
+
* KMS key ID used by the system disk.
|
|
1379
1321
|
*
|
|
1380
1322
|
* @example
|
|
1381
1323
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1383,15 +1325,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1383
1325
|
systemDiskKmsKeyId?: string;
|
|
1384
1326
|
/**
|
|
1385
1327
|
* @remarks
|
|
1386
|
-
*
|
|
1387
|
-
*
|
|
1388
|
-
* -
|
|
1389
|
-
*
|
|
1390
|
-
* -
|
|
1391
|
-
*
|
|
1392
|
-
* - PL2: A high maximum concurrent I/O performance and a stable read/write latency.
|
|
1393
|
-
*
|
|
1394
|
-
* - PL3: A very high maximum concurrent I/O performance and a very stable read/write latency.
|
|
1328
|
+
* 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).
|
|
1329
|
+
* - PL0: moderate peak concurrent I/O performance with relatively stable read/write latency.
|
|
1330
|
+
* - PL1: moderate peak concurrent I/O performance with relatively stable read/write latency.
|
|
1331
|
+
* - PL2: high peak concurrent I/O performance with stable read/write latency.
|
|
1332
|
+
* - PL3: ultra-high peak concurrent I/O performance with extremely stable read/write latency.
|
|
1395
1333
|
*
|
|
1396
1334
|
* @example
|
|
1397
1335
|
* PL1
|
|
@@ -1399,11 +1337,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1399
1337
|
systemDiskPerformanceLevel?: string;
|
|
1400
1338
|
/**
|
|
1401
1339
|
* @remarks
|
|
1402
|
-
*
|
|
1340
|
+
* Pre-configured read/write IOPS for the node system disk.
|
|
1403
1341
|
*
|
|
1404
|
-
* Valid values: 0 to min{50,000,
|
|
1342
|
+
* Valid values: 0 to min{50,000, 1000\\*capacity - baseline performance}. Baseline performance = min{1,800+50\\*capacity, 50000}.
|
|
1405
1343
|
*
|
|
1406
|
-
* This parameter
|
|
1344
|
+
* 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).
|
|
1407
1345
|
*
|
|
1408
1346
|
* @example
|
|
1409
1347
|
* 1000
|
|
@@ -1411,9 +1349,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1411
1349
|
systemDiskProvisionedIops?: number;
|
|
1412
1350
|
/**
|
|
1413
1351
|
* @remarks
|
|
1414
|
-
*
|
|
1352
|
+
* Node system disk size. Unit: GiB.
|
|
1415
1353
|
*
|
|
1416
|
-
*
|
|
1354
|
+
* Valid values: [20,2048\\].
|
|
1417
1355
|
*
|
|
1418
1356
|
* @example
|
|
1419
1357
|
* 120
|
|
@@ -1421,7 +1359,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1421
1359
|
systemDiskSize?: number;
|
|
1422
1360
|
/**
|
|
1423
1361
|
* @remarks
|
|
1424
|
-
*
|
|
1362
|
+
* System disk snapshot policy.
|
|
1425
1363
|
*
|
|
1426
1364
|
* @example
|
|
1427
1365
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1429,16 +1367,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1429
1367
|
systemDiskSnapshotPolicyId?: string;
|
|
1430
1368
|
/**
|
|
1431
1369
|
* @remarks
|
|
1432
|
-
*
|
|
1370
|
+
* Tags added only to ECS instances.
|
|
1433
1371
|
*
|
|
1434
|
-
*
|
|
1372
|
+
* 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://”.
|
|
1435
1373
|
*/
|
|
1436
1374
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1437
1375
|
/**
|
|
1438
1376
|
* @remarks
|
|
1439
|
-
*
|
|
1377
|
+
* List of vSwitch IDs. Valid values: [1,8\\].
|
|
1440
1378
|
*
|
|
1441
|
-
* >
|
|
1379
|
+
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1442
1380
|
*
|
|
1443
1381
|
* This parameter is required.
|
|
1444
1382
|
*/
|
|
@@ -1457,11 +1395,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1457
1395
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1458
1396
|
/**
|
|
1459
1397
|
* @remarks
|
|
1460
|
-
*
|
|
1398
|
+
* Whether to enable confidential computing for the cluster.
|
|
1461
1399
|
*
|
|
1462
|
-
* - true:
|
|
1400
|
+
* - true: enable confidential computing.
|
|
1463
1401
|
*
|
|
1464
|
-
* - false:
|
|
1402
|
+
* - false: disable confidential computing.
|
|
1465
1403
|
*
|
|
1466
1404
|
* @example
|
|
1467
1405
|
* true
|
|
@@ -1481,19 +1419,19 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1481
1419
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1482
1420
|
/**
|
|
1483
1421
|
* @remarks
|
|
1484
|
-
*
|
|
1422
|
+
* Node pool intelligent managed configuration.
|
|
1485
1423
|
*/
|
|
1486
1424
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1487
1425
|
/**
|
|
1488
1426
|
* @remarks
|
|
1489
|
-
*
|
|
1427
|
+
* Auto scaling configuration.
|
|
1490
1428
|
*/
|
|
1491
1429
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1492
1430
|
/**
|
|
1493
1431
|
* @remarks
|
|
1494
|
-
* [
|
|
1432
|
+
* [Deprecated] Use desired_size instead.
|
|
1495
1433
|
*
|
|
1496
|
-
*
|
|
1434
|
+
* Number of nodes in the node pool.
|
|
1497
1435
|
*
|
|
1498
1436
|
* @example
|
|
1499
1437
|
* null
|
|
@@ -1503,15 +1441,13 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1503
1441
|
count?: number;
|
|
1504
1442
|
/**
|
|
1505
1443
|
* @remarks
|
|
1506
|
-
*
|
|
1444
|
+
* Lingjun node pool configuration.
|
|
1507
1445
|
*/
|
|
1508
1446
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1509
1447
|
/**
|
|
1510
1448
|
* @remarks
|
|
1511
|
-
*
|
|
1512
|
-
*
|
|
1513
|
-
* - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
1514
|
-
*
|
|
1449
|
+
* Whether the Pod network mode uses host network mode.
|
|
1450
|
+
* - `true`: host network. Pods directly use the host network stack, sharing the IP address and ports with the host.
|
|
1515
1451
|
* - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
|
|
1516
1452
|
*
|
|
1517
1453
|
* @example
|
|
@@ -1520,20 +1456,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1520
1456
|
hostNetwork?: boolean;
|
|
1521
1457
|
/**
|
|
1522
1458
|
* @remarks
|
|
1523
|
-
* [
|
|
1459
|
+
* [Deprecated]
|
|
1524
1460
|
*
|
|
1525
|
-
*
|
|
1461
|
+
* Edge node pool configuration.
|
|
1526
1462
|
*
|
|
1527
1463
|
* @deprecated
|
|
1528
1464
|
*/
|
|
1529
1465
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1530
1466
|
/**
|
|
1531
1467
|
* @remarks
|
|
1532
|
-
*
|
|
1533
|
-
*
|
|
1534
|
-
* - `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.
|
|
1468
|
+
* Network type of the edge node pool. This parameter takes effect only for node pools of `edge` type. Valid values:
|
|
1535
1469
|
*
|
|
1536
|
-
* - `
|
|
1470
|
+
* - `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.
|
|
1471
|
+
* - `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.
|
|
1537
1472
|
*
|
|
1538
1473
|
* @example
|
|
1539
1474
|
* basic
|
|
@@ -1541,11 +1476,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1541
1476
|
interconnectMode?: string;
|
|
1542
1477
|
/**
|
|
1543
1478
|
* @remarks
|
|
1544
|
-
*
|
|
1545
|
-
*
|
|
1546
|
-
* - `
|
|
1547
|
-
*
|
|
1548
|
-
* - `false`: All hosts in the node pool cannot communicate with each other at Layer 3.
|
|
1479
|
+
* Whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1480
|
+
* - `true`: connected. All nodes in this node pool have Layer 3 network connectivity.
|
|
1481
|
+
* - `false`: not connected. All hosts in this node pool do not have Layer 3 network connectivity.
|
|
1549
1482
|
*
|
|
1550
1483
|
* @example
|
|
1551
1484
|
* true
|
|
@@ -1553,19 +1486,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1553
1486
|
intranet?: boolean;
|
|
1554
1487
|
/**
|
|
1555
1488
|
* @remarks
|
|
1556
|
-
*
|
|
1489
|
+
* Cluster-related configuration.
|
|
1557
1490
|
*/
|
|
1558
1491
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1559
1492
|
/**
|
|
1560
1493
|
* @remarks
|
|
1561
|
-
*
|
|
1494
|
+
* Node pool managed feature configuration.
|
|
1562
1495
|
*/
|
|
1563
1496
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1564
1497
|
/**
|
|
1565
1498
|
* @remarks
|
|
1566
|
-
* [
|
|
1499
|
+
* [Deprecated]
|
|
1567
1500
|
*
|
|
1568
|
-
*
|
|
1501
|
+
* Maximum number of nodes allowed in the edge node pool.
|
|
1569
1502
|
*
|
|
1570
1503
|
* @example
|
|
1571
1504
|
* null
|
|
@@ -1575,27 +1508,27 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1575
1508
|
maxNodes?: number;
|
|
1576
1509
|
/**
|
|
1577
1510
|
* @remarks
|
|
1578
|
-
*
|
|
1511
|
+
* Node component list.
|
|
1579
1512
|
*/
|
|
1580
1513
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1581
1514
|
/**
|
|
1582
1515
|
* @remarks
|
|
1583
|
-
*
|
|
1516
|
+
* Node configuration.
|
|
1584
1517
|
*/
|
|
1585
1518
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1586
1519
|
/**
|
|
1587
1520
|
* @remarks
|
|
1588
|
-
*
|
|
1521
|
+
* Node pool configuration.
|
|
1589
1522
|
*/
|
|
1590
1523
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1591
1524
|
/**
|
|
1592
1525
|
* @remarks
|
|
1593
|
-
*
|
|
1526
|
+
* Node pool scaling group configuration.
|
|
1594
1527
|
*/
|
|
1595
1528
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1596
1529
|
/**
|
|
1597
1530
|
* @remarks
|
|
1598
|
-
*
|
|
1531
|
+
* Confidential computing cluster configuration.
|
|
1599
1532
|
*/
|
|
1600
1533
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1601
1534
|
static names(): {
|