@alicloud/cs20151215 6.7.0 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +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 +277 -348
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +270 -347
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +10 -9
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +8 -7
- package/dist/models/CreateTriggerRequest.js.map +1 -1
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteAlertContactGroupShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +5 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +10 -13
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +18 -27
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterShrinkRequest.d.ts +9 -11
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeletePolicyInstanceRequest.d.ts +1 -1
- package/dist/models/DeletePolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +5 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonRequest.d.ts +18 -7
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +14 -13
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +13 -11
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +4 -4
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +19 -19
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +11 -11
- package/dist/models/DescribeClusterAddonMetadataResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -16
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +96 -123
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +3 -3
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +22 -41
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +224 -300
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +228 -306
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +24 -9
- package/dist/models/DescribeClusterNodesRequest.js +6 -0
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +51 -38
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +3 -3
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -48
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -10
- package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +13 -19
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -30
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +40 -67
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +18 -26
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +52 -77
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -2
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +7 -11
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +22 -38
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +31 -50
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +6 -4
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeExternalAgentResponseBody.d.ts +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +24 -25
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +31 -32
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +4 -4
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +13 -18
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +17 -21
- package/dist/models/DescribePolicyDetailsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +30 -34
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesRequest.d.ts +2 -2
- package/dist/models/DescribePolicyInstancesResponse.d.ts +20 -19
- package/dist/models/DescribePolicyInstancesResponse.js.map +1 -1
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +7 -7
- package/dist/models/DescribeRegionsRequest.d.ts +3 -21
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +6 -5
- package/dist/models/DescribeResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +5 -6
- package/dist/models/DescribeResourcesDeleteProtectionResponse.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +6 -7
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +20 -26
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +16 -14
- package/dist/models/DescribeTemplateAttributeResponse.js.map +1 -1
- package/dist/models/DescribeTemplatesRequest.d.ts +7 -6
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +19 -20
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeTriggerRequest.d.ts +8 -7
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +12 -13
- package/dist/models/DescribeTriggerResponse.js.map +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +9 -4
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/FixNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +21 -14
- package/dist/models/GetClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +5 -4
- package/dist/models/GetClusterAuditProjectResponseBody.js.map +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +7 -7
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +6 -12
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.js.map +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +14 -26
- package/dist/models/GetClusterDiagnosisResultResponseBody.js.map +1 -1
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +2 -2
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +15 -18
- package/dist/models/GetClusterInspectReportDetailRequest.js.map +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +30 -34
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +11 -10
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +18 -19
- package/dist/models/GetUpgradeStatusResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +19 -26
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +4 -4
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +10 -10
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListAddonsRequest.d.ts +17 -6
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +24 -15
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +20 -20
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +7 -8
- package/dist/models/ListClusterAddonInstancesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksRequest.d.ts +9 -2
- package/dist/models/ListClusterChecksRequest.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +7 -7
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +11 -11
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +9 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +32 -28
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +14 -14
- package/dist/models/ListOperationPlansRequest.d.ts +1 -1
- package/dist/models/ListOperationPlansResponseBody.d.ts +13 -15
- package/dist/models/ListOperationPlansResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +8 -6
- package/dist/models/ListUserKubeConfigStatesRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +24 -25
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/MigrateClusterRequest.d.ts +2 -2
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyClusterAddonRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +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 +225 -272
- 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 +8 -8
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +2 -2
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +16 -4
- package/dist/models/UpdateResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +5 -5
- package/dist/models/UpdateTemplateRequest.d.ts +10 -7
- package/dist/models/UpdateTemplateRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +30 -23
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +7 -8
- package/dist/models/UpgradeClusterAddonsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +22 -16
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +10 -9
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/UpgradeClusterResponseBody.d.ts +3 -3
- package/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 +279 -350
- 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 +226 -302
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +230 -308
- package/src/models/DescribeClusterNodesRequest.ts +30 -9
- package/src/models/DescribeClusterNodesResponseBody.ts +51 -38
- package/src/models/DescribeClusterResourcesRequest.ts +3 -3
- package/src/models/DescribeClusterResourcesResponse.ts +37 -48
- package/src/models/DescribeClusterTasksRequest.ts +1 -1
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -7
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -10
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterVulsResponseBody.ts +13 -19
- package/src/models/DescribeClustersForRegionRequest.ts +19 -30
- package/src/models/DescribeClustersForRegionResponseBody.ts +40 -67
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +18 -26
- package/src/models/DescribeClustersV1responseBody.ts +52 -77
- package/src/models/DescribeEventsForRegionRequest.ts +2 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +7 -11
- package/src/models/DescribeEventsRequest.ts +22 -38
- package/src/models/DescribeEventsResponseBody.ts +31 -50
- package/src/models/DescribeExternalAgentRequest.ts +6 -4
- package/src/models/DescribeExternalAgentResponseBody.ts +1 -1
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +24 -25
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +31 -32
- package/src/models/DescribeNodePoolVulsRequest.ts +4 -4
- package/src/models/DescribeNodePoolVulsResponseBody.ts +13 -18
- package/src/models/DescribePolicyDetailsResponseBody.ts +17 -21
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +30 -34
- package/src/models/DescribePolicyInstancesRequest.ts +2 -2
- package/src/models/DescribePolicyInstancesResponse.ts +20 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +7 -7
- package/src/models/DescribeRegionsRequest.ts +3 -21
- package/src/models/DescribeRegionsResponseBody.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +6 -5
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +5 -6
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +6 -7
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +20 -26
- package/src/models/DescribeTemplateAttributeRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeResponse.ts +16 -14
- package/src/models/DescribeTemplatesRequest.ts +7 -6
- package/src/models/DescribeTemplatesResponseBody.ts +19 -20
- package/src/models/DescribeTriggerRequest.ts +8 -7
- package/src/models/DescribeTriggerResponse.ts +12 -13
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +9 -4
- package/src/models/FixNodePoolVulsResponseBody.ts +1 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +21 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +5 -4
- package/src/models/GetClusterCheckResponseBody.ts +7 -7
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +6 -12
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +14 -26
- package/src/models/GetClusterInspectConfigResponseBody.ts +2 -2
- package/src/models/GetClusterInspectReportDetailRequest.ts +15 -18
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +30 -34
- package/src/models/GetKubernetesTriggerRequest.ts +8 -7
- package/src/models/GetKubernetesTriggerResponse.ts +11 -10
- package/src/models/GetUpgradeStatusResponseBody.ts +18 -19
- package/src/models/GrantPermissionsRequest.ts +19 -26
- package/src/models/InstallClusterAddonsRequest.ts +4 -4
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/InstallNodePoolComponentsRequest.ts +10 -10
- package/src/models/InstallNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListAddonsRequest.ts +17 -6
- package/src/models/ListAddonsResponseBody.ts +24 -15
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +20 -20
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +7 -7
- package/src/models/ListClusterAddonInstancesResponseBody.ts +7 -8
- package/src/models/ListClusterChecksRequest.ts +9 -2
- package/src/models/ListClusterChecksResponseBody.ts +7 -7
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +11 -11
- package/src/models/ListClusterKubeconfigStatesRequest.ts +9 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +32 -28
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +14 -14
- package/src/models/ListOperationPlansRequest.ts +1 -1
- package/src/models/ListOperationPlansResponseBody.ts +13 -15
- package/src/models/ListTagResourcesRequest.ts +6 -4
- package/src/models/ListTagResourcesResponseBody.ts +7 -7
- package/src/models/ListTagResourcesShrinkRequest.ts +6 -4
- package/src/models/ListUserKubeConfigStatesRequest.ts +8 -6
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +24 -25
- package/src/models/MigrateClusterRequest.ts +2 -2
- package/src/models/ModifyAutoRepairPolicyRequest.ts +15 -15
- package/src/models/ModifyClusterAddonRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +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 +225 -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 +8 -8
- package/src/models/UpdateNodePoolComponentResponseBody.ts +2 -2
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +16 -4
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +5 -5
- package/src/models/UpdateTemplateRequest.ts +10 -7
- package/src/models/UpdateUserPermissionsRequest.ts +30 -23
- package/src/models/UpgradeClusterAddonsRequest.ts +7 -8
- package/src/models/UpgradeClusterNodepoolRequest.ts +22 -16
- package/src/models/UpgradeClusterRequest.ts +10 -9
- package/src/models/UpgradeClusterResponseBody.ts +3 -3
|
@@ -9,12 +9,10 @@ import { Taint } from "./Taint";
|
|
|
9
9
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* Specifies whether to enable
|
|
12
|
+
* Specifies whether to enable intelligent managed mode.
|
|
13
13
|
* Valid values:
|
|
14
|
-
*
|
|
15
|
-
* -
|
|
16
|
-
*
|
|
17
|
-
* - false: Disables the intelligent managed mode.
|
|
14
|
+
* - true: enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
15
|
+
* - false: does not enable 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
|
-
* [This parameter is deprecated] Use
|
|
35
|
+
* [This parameter is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
38
36
|
*
|
|
39
|
-
* The peak bandwidth of the EIP. Unit:
|
|
37
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
40
38
|
*
|
|
41
39
|
* @example
|
|
42
40
|
* null
|
|
@@ -46,13 +44,11 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
46
44
|
eipBandwidth?: number;
|
|
47
45
|
/**
|
|
48
46
|
* @remarks
|
|
49
|
-
* [This parameter is deprecated] Use
|
|
50
|
-
*
|
|
51
|
-
* The billing method of the EIP. Valid values:
|
|
47
|
+
* [This parameter is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
52
48
|
*
|
|
49
|
+
* The billing method for the EIP. Valid values:
|
|
53
50
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
54
|
-
*
|
|
55
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
51
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
56
52
|
*
|
|
57
53
|
* Default value: `PayByBandwidth`.
|
|
58
54
|
*
|
|
@@ -64,13 +60,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
64
60
|
eipInternetChargeType?: string;
|
|
65
61
|
/**
|
|
66
62
|
* @remarks
|
|
67
|
-
* Specifies whether to enable
|
|
63
|
+
* Specifies whether to enable automatic scaling. Valid values:
|
|
68
64
|
*
|
|
69
|
-
* - `true`:
|
|
65
|
+
* - `true`: enables the automatic scaling feature for the node pool. When the cluster capacity planning cannot meet application pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later use instant node elastic scaling by default. Clusters of versions earlier than 1.24 use node automatic scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
70
66
|
*
|
|
71
|
-
* - `false`:
|
|
67
|
+
* - `false`: disables automatic scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and always maintains the node count at the desired value.
|
|
72
68
|
*
|
|
73
|
-
*
|
|
69
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
74
70
|
*
|
|
75
71
|
* Default value: `false`.
|
|
76
72
|
*
|
|
@@ -80,13 +76,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
80
76
|
enable?: boolean;
|
|
81
77
|
/**
|
|
82
78
|
* @remarks
|
|
83
|
-
* [This parameter is deprecated] This parameter is deprecated. Use
|
|
79
|
+
* [This parameter is deprecated] This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
84
80
|
*
|
|
85
|
-
* Specifies whether to associate an EIP
|
|
81
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
86
82
|
*
|
|
87
|
-
* - `true`: associates an EIP
|
|
83
|
+
* - `true`: associates an EIP.
|
|
88
84
|
*
|
|
89
|
-
* - `false`: does not associate an EIP
|
|
85
|
+
* - `false`: does not associate an EIP.
|
|
90
86
|
*
|
|
91
87
|
* Default value: `false`.
|
|
92
88
|
*
|
|
@@ -98,9 +94,9 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
98
94
|
isBondEip?: boolean;
|
|
99
95
|
/**
|
|
100
96
|
* @remarks
|
|
101
|
-
* The maximum number of instances that can be
|
|
97
|
+
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
102
98
|
*
|
|
103
|
-
*
|
|
99
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
104
100
|
*
|
|
105
101
|
* @example
|
|
106
102
|
* 10
|
|
@@ -108,13 +104,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
108
104
|
maxInstances?: number;
|
|
109
105
|
/**
|
|
110
106
|
* @remarks
|
|
111
|
-
* The minimum number of instances that can be
|
|
107
|
+
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
112
108
|
*
|
|
113
|
-
*
|
|
109
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
114
110
|
*
|
|
115
|
-
* > - If the minimum number of instances is not 0, the
|
|
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.
|
|
111
|
+
* > - If the minimum number of instances is not 0, the scaling group performs automatic creation of the corresponding number of ECS instances after the elastic scaling feature takes effect.
|
|
112
|
+
* > - Do not set the maximum number of instances to a value smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in immediately after the elastic scaling feature takes effect.
|
|
118
113
|
*
|
|
119
114
|
* @example
|
|
120
115
|
* 1
|
|
@@ -122,18 +117,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
122
117
|
minInstances?: number;
|
|
123
118
|
/**
|
|
124
119
|
* @remarks
|
|
125
|
-
* The
|
|
120
|
+
* The elastic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
126
121
|
*
|
|
127
|
-
* - `cpu`: regular instance.
|
|
122
|
+
* - `cpu`: regular instance type.
|
|
128
123
|
*
|
|
129
|
-
* - `gpu`: GPU
|
|
124
|
+
* - `gpu`: GPU instance type.
|
|
130
125
|
*
|
|
131
|
-
* - `gpushare`:
|
|
126
|
+
* - `gpushare`: GPU-shared instance type.
|
|
132
127
|
*
|
|
133
|
-
* - `spot`: spot instance.
|
|
128
|
+
* - `spot`: spot instance type.
|
|
134
129
|
*
|
|
135
130
|
* Default value: `cpu`.
|
|
136
|
-
* >Notice:
|
|
131
|
+
* >Notice: This parameter cannot be modified after the node pool is created.
|
|
137
132
|
*
|
|
138
133
|
* @example
|
|
139
134
|
* cpu
|
|
@@ -153,7 +148,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
153
148
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
154
149
|
/**
|
|
155
150
|
* @remarks
|
|
156
|
-
* The ID of the Lingjun cluster
|
|
151
|
+
* The ID of the Lingjun cluster to associate with when creating a Lingjun node pool.
|
|
157
152
|
*
|
|
158
153
|
* @example
|
|
159
154
|
* i1169130516633730****
|
|
@@ -161,7 +156,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
161
156
|
clusterId?: string;
|
|
162
157
|
/**
|
|
163
158
|
* @remarks
|
|
164
|
-
* The ID of the Lingjun
|
|
159
|
+
* The group ID of the Lingjun cluster to associate with when creating a Lingjun node pool.
|
|
165
160
|
*
|
|
166
161
|
* @example
|
|
167
162
|
* ng-ec3c96ff0aa****
|
|
@@ -181,9 +176,9 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
181
176
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
182
177
|
/**
|
|
183
178
|
* @remarks
|
|
184
|
-
* [This
|
|
179
|
+
* [This field is deprecated]
|
|
185
180
|
*
|
|
186
|
-
* The network bandwidth of the enhanced edge node pool
|
|
181
|
+
* The network bandwidth of the enhanced edge node pool, in Mbit/s.
|
|
187
182
|
*
|
|
188
183
|
* @example
|
|
189
184
|
* null
|
|
@@ -191,9 +186,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
191
186
|
bandwidth?: number;
|
|
192
187
|
/**
|
|
193
188
|
* @remarks
|
|
194
|
-
* [This
|
|
189
|
+
* [This field is deprecated]
|
|
195
190
|
*
|
|
196
|
-
* The
|
|
191
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
197
192
|
*
|
|
198
193
|
* @example
|
|
199
194
|
* null
|
|
@@ -201,9 +196,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
201
196
|
ccnId?: string;
|
|
202
197
|
/**
|
|
203
198
|
* @remarks
|
|
204
|
-
* [This
|
|
199
|
+
* [This field is deprecated]
|
|
205
200
|
*
|
|
206
|
-
* The region of the CCN instance
|
|
201
|
+
* The region of the Cloud Connect Network (CCN) instance associated with the enhanced edge node pool.
|
|
207
202
|
*
|
|
208
203
|
* @example
|
|
209
204
|
* null
|
|
@@ -211,9 +206,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
211
206
|
ccnRegionId?: string;
|
|
212
207
|
/**
|
|
213
208
|
* @remarks
|
|
214
|
-
* [This
|
|
209
|
+
* [This field is deprecated]
|
|
215
210
|
*
|
|
216
|
-
* The
|
|
211
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
217
212
|
*
|
|
218
213
|
* @example
|
|
219
214
|
* null
|
|
@@ -221,9 +216,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
221
216
|
cenId?: string;
|
|
222
217
|
/**
|
|
223
218
|
* @remarks
|
|
224
|
-
* [This
|
|
219
|
+
* [This field is deprecated]
|
|
225
220
|
*
|
|
226
|
-
* The subscription duration of the enhanced edge node pool
|
|
221
|
+
* The subscription duration of the enhanced edge node pool, in months.
|
|
227
222
|
*
|
|
228
223
|
* @example
|
|
229
224
|
* null
|
|
@@ -243,11 +238,11 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
243
238
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
244
239
|
/**
|
|
245
240
|
* @remarks
|
|
246
|
-
* Specifies whether to install
|
|
241
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
247
242
|
*
|
|
248
|
-
* - `true`:
|
|
243
|
+
* - `true`: installs the CloudMonitor agent on ECS nodes.
|
|
249
244
|
*
|
|
250
|
-
* - `false`:
|
|
245
|
+
* - `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
251
246
|
*
|
|
252
247
|
* Default value: `false`.
|
|
253
248
|
*
|
|
@@ -257,11 +252,10 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
257
252
|
cmsEnabled?: boolean;
|
|
258
253
|
/**
|
|
259
254
|
* @remarks
|
|
260
|
-
* The CPU management policy
|
|
261
|
-
*
|
|
262
|
-
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
255
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
263
256
|
*
|
|
264
|
-
* - `
|
|
257
|
+
* - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
258
|
+
* - `none`: uses the existing default CPU affinity scheme.
|
|
265
259
|
*
|
|
266
260
|
* Default value: `none`.
|
|
267
261
|
*
|
|
@@ -271,30 +265,27 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
271
265
|
cpuPolicy?: string;
|
|
272
266
|
/**
|
|
273
267
|
* @remarks
|
|
274
|
-
* The labels
|
|
268
|
+
* The node labels. Adds labels to Kubernetes cluster nodes.
|
|
275
269
|
*/
|
|
276
270
|
labels?: Tag[];
|
|
277
271
|
/**
|
|
278
272
|
* @remarks
|
|
279
|
-
* The custom node name.
|
|
273
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
274
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing the periods (.) in the IP address, and does not include the prefix or suffix.
|
|
280
275
|
*
|
|
281
|
-
*
|
|
276
|
+
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
282
277
|
*
|
|
283
|
-
*
|
|
278
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
284
279
|
*
|
|
285
|
-
* - The
|
|
280
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
281
|
+
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
282
|
+
* - The node IP is the full private IP address of the node.
|
|
286
283
|
*
|
|
287
|
-
*
|
|
284
|
+
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
288
285
|
*
|
|
289
|
-
* -
|
|
286
|
+
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
290
287
|
*
|
|
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.
|
|
288
|
+
* - For 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.
|
|
298
289
|
*
|
|
299
290
|
* @example
|
|
300
291
|
* aliyun.com192.XX.YY.55test
|
|
@@ -302,7 +293,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
302
293
|
nodeNameMode?: string;
|
|
303
294
|
/**
|
|
304
295
|
* @remarks
|
|
305
|
-
* The pre-
|
|
296
|
+
* The pre-user data for the instance. Before a node joins the cluster, the specified pre-user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
306
297
|
*
|
|
307
298
|
* @example
|
|
308
299
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -310,13 +301,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
310
301
|
preUserData?: string;
|
|
311
302
|
/**
|
|
312
303
|
* @remarks
|
|
313
|
-
* The
|
|
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.
|
|
304
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
318
305
|
*
|
|
319
|
-
* -
|
|
306
|
+
* - containerd: recommended. Supported by all cluster versions.
|
|
307
|
+
* - Sandboxed-Container.runv: sandboxed container runtime that provides higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
308
|
+
* - docker: no longer maintained. Supported by clusters of version 1.22 and earlier.
|
|
320
309
|
*
|
|
321
310
|
* Default value: containerd.
|
|
322
311
|
*
|
|
@@ -326,7 +315,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
326
315
|
runtime?: string;
|
|
327
316
|
/**
|
|
328
317
|
* @remarks
|
|
329
|
-
* The
|
|
318
|
+
* The container runtime version.
|
|
330
319
|
*
|
|
331
320
|
* @example
|
|
332
321
|
* 1.6.38
|
|
@@ -334,16 +323,16 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
334
323
|
runtimeVersion?: string;
|
|
335
324
|
/**
|
|
336
325
|
* @remarks
|
|
337
|
-
* The taint
|
|
326
|
+
* The taint configuration.
|
|
338
327
|
*/
|
|
339
328
|
taints?: Taint[];
|
|
340
329
|
/**
|
|
341
330
|
* @remarks
|
|
342
|
-
* Specifies whether the
|
|
331
|
+
* Specifies whether the nodes added through scale-out are unschedulable.
|
|
343
332
|
*
|
|
344
|
-
* - true:
|
|
333
|
+
* - true: unschedulable.
|
|
345
334
|
*
|
|
346
|
-
* - false:
|
|
335
|
+
* - false: schedulable.
|
|
347
336
|
*
|
|
348
337
|
* @example
|
|
349
338
|
* true
|
|
@@ -351,7 +340,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
351
340
|
unschedulable?: boolean;
|
|
352
341
|
/**
|
|
353
342
|
* @remarks
|
|
354
|
-
* The instance user data. After
|
|
343
|
+
* The instance user data. After a node joins the cluster, the specified user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
355
344
|
*
|
|
356
345
|
* @example
|
|
357
346
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -376,13 +365,12 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
376
365
|
approvalRequired?: boolean;
|
|
377
366
|
/**
|
|
378
367
|
* @remarks
|
|
379
|
-
* Specifies whether to allow node
|
|
368
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
380
369
|
*
|
|
381
|
-
* - `true`:
|
|
370
|
+
* - `true`: allows node restarts.
|
|
371
|
+
* - `false`: does not allow node restarts.
|
|
382
372
|
*
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
* Default value: `true`
|
|
373
|
+
* Default value: `true`.
|
|
386
374
|
*
|
|
387
375
|
* @example
|
|
388
376
|
* true
|
|
@@ -402,11 +390,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
402
390
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
403
391
|
/**
|
|
404
392
|
* @remarks
|
|
405
|
-
* Specifies whether to allow
|
|
406
|
-
*
|
|
407
|
-
* - `
|
|
408
|
-
*
|
|
409
|
-
* - `false`: Disallows auto kubelet upgrade.
|
|
393
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
394
|
+
* - `true`: allows automatic kubelet upgrades.
|
|
395
|
+
* - `false`: does not allow automatic kubelet upgrades.
|
|
410
396
|
*
|
|
411
397
|
* Default value: `true`.
|
|
412
398
|
*
|
|
@@ -416,11 +402,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
416
402
|
autoUpgradeKubelet?: boolean;
|
|
417
403
|
/**
|
|
418
404
|
* @remarks
|
|
419
|
-
* Specifies whether to allow
|
|
420
|
-
*
|
|
421
|
-
* - `
|
|
405
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
406
|
+
* - `true`: allows automatic operating system upgrades.
|
|
407
|
+
* - `false`: does not allow automatic operating system upgrades.
|
|
422
408
|
*
|
|
423
|
-
* - `false`: Disallows auto OS upgrade.
|
|
424
409
|
*
|
|
425
410
|
* Default value: `false`.
|
|
426
411
|
*
|
|
@@ -430,11 +415,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
430
415
|
autoUpgradeOs?: boolean;
|
|
431
416
|
/**
|
|
432
417
|
* @remarks
|
|
433
|
-
* Specifies whether to allow
|
|
434
|
-
*
|
|
435
|
-
* - `
|
|
436
|
-
*
|
|
437
|
-
* - `false`: Disallows auto runtime upgrade.
|
|
418
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
419
|
+
* - `true`: allows automatic runtime upgrades.
|
|
420
|
+
* - `false`: does not allow automatic runtime upgrades.
|
|
438
421
|
*
|
|
439
422
|
* Default value: `true`.
|
|
440
423
|
*
|
|
@@ -456,7 +439,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
456
439
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
457
440
|
/**
|
|
458
441
|
* @remarks
|
|
459
|
-
* The packages
|
|
442
|
+
* The packages to exclude during vulnerability fixes.
|
|
460
443
|
*
|
|
461
444
|
* Default value: `kernel`.
|
|
462
445
|
*
|
|
@@ -466,13 +449,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
466
449
|
excludePackages?: string;
|
|
467
450
|
/**
|
|
468
451
|
* @remarks
|
|
469
|
-
* Specifies whether to allow node
|
|
470
|
-
*
|
|
471
|
-
* - `
|
|
472
|
-
*
|
|
473
|
-
* - `false`: Disallows node restart.
|
|
452
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
453
|
+
* - `true`: allows node restarts.
|
|
454
|
+
* - `false`: does not allow node restarts.
|
|
474
455
|
*
|
|
475
|
-
* Default value: `true
|
|
456
|
+
* Default value: `true`.
|
|
476
457
|
*
|
|
477
458
|
* @example
|
|
478
459
|
* false
|
|
@@ -480,12 +461,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
480
461
|
restartNode?: boolean;
|
|
481
462
|
/**
|
|
482
463
|
* @remarks
|
|
483
|
-
* The vulnerability levels that are allowed
|
|
464
|
+
* The vulnerability levels that are allowed for automatic fixes, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
484
465
|
*
|
|
485
466
|
* - `asap`: high
|
|
486
|
-
*
|
|
487
467
|
* - `later`: medium
|
|
488
|
-
*
|
|
489
468
|
* - `nntf`: low
|
|
490
469
|
*
|
|
491
470
|
* Default value: `asap`.
|
|
@@ -508,13 +487,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
508
487
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
509
488
|
/**
|
|
510
489
|
* @remarks
|
|
511
|
-
* [This parameter is deprecated] Use the
|
|
490
|
+
* [This parameter is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
512
491
|
*
|
|
513
|
-
* Specifies whether to enable
|
|
492
|
+
* Specifies whether to enable automatic upgrades. Valid values:
|
|
514
493
|
*
|
|
515
|
-
* - `true`: enables
|
|
494
|
+
* - `true`: enables automatic upgrades.
|
|
516
495
|
*
|
|
517
|
-
* - `false`: disables
|
|
496
|
+
* - `false`: disables automatic upgrades.
|
|
518
497
|
*
|
|
519
498
|
* @example
|
|
520
499
|
* null
|
|
@@ -525,7 +504,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
525
504
|
/**
|
|
526
505
|
* @remarks
|
|
527
506
|
* The maximum number of unavailable nodes.
|
|
528
|
-
*
|
|
507
|
+
* Valid values: [1,1000\\].
|
|
529
508
|
*
|
|
530
509
|
* Default value: 1.
|
|
531
510
|
*
|
|
@@ -535,11 +514,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
535
514
|
maxUnavailable?: number;
|
|
536
515
|
/**
|
|
537
516
|
* @remarks
|
|
538
|
-
* The number of extra nodes. You can specify
|
|
517
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
539
518
|
*
|
|
540
|
-
* Nodes become unavailable during
|
|
519
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster workload.
|
|
541
520
|
*
|
|
542
|
-
* >
|
|
521
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
543
522
|
*
|
|
544
523
|
* @example
|
|
545
524
|
* 0
|
|
@@ -547,9 +526,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
547
526
|
surge?: number;
|
|
548
527
|
/**
|
|
549
528
|
* @remarks
|
|
550
|
-
* The percentage of extra nodes. You can specify
|
|
529
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
551
530
|
*
|
|
552
|
-
* Number of extra nodes =
|
|
531
|
+
* Number of extra nodes = Extra node percentage × Number of nodes. For example, if the extra node percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
553
532
|
*
|
|
554
533
|
* @example
|
|
555
534
|
* 0
|
|
@@ -570,13 +549,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
570
549
|
autoFaultDiagnosis?: boolean;
|
|
571
550
|
/**
|
|
572
551
|
* @remarks
|
|
573
|
-
* Specifies whether to
|
|
552
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
574
553
|
*
|
|
575
|
-
* - `true`:
|
|
554
|
+
* - `true`: automatically repairs nodes.
|
|
576
555
|
*
|
|
577
|
-
* - `false`:
|
|
556
|
+
* - `false`: does not automatically repair nodes.
|
|
578
557
|
*
|
|
579
|
-
* Default value: `true
|
|
558
|
+
* Default value: `true`.
|
|
580
559
|
*
|
|
581
560
|
* @example
|
|
582
561
|
* true
|
|
@@ -584,16 +563,14 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
584
563
|
autoRepair?: boolean;
|
|
585
564
|
/**
|
|
586
565
|
* @remarks
|
|
587
|
-
* The
|
|
566
|
+
* The automatic node repair policy.
|
|
588
567
|
*/
|
|
589
568
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
590
569
|
/**
|
|
591
570
|
* @remarks
|
|
592
|
-
* Specifies whether to
|
|
593
|
-
*
|
|
594
|
-
* - `
|
|
595
|
-
*
|
|
596
|
-
* - `false`: Disables auto node upgrade.
|
|
571
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
572
|
+
* - `true`: enables automatic upgrades.
|
|
573
|
+
* - `false`: disables automatic upgrades.
|
|
597
574
|
*
|
|
598
575
|
* Default value: `true`.
|
|
599
576
|
*
|
|
@@ -603,16 +580,15 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
603
580
|
autoUpgrade?: boolean;
|
|
604
581
|
/**
|
|
605
582
|
* @remarks
|
|
606
|
-
* The
|
|
583
|
+
* The automatic node upgrade policy.
|
|
607
584
|
*/
|
|
608
585
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
609
586
|
/**
|
|
610
587
|
* @remarks
|
|
611
|
-
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only
|
|
612
|
-
*
|
|
613
|
-
* - `true`: Automatically fixes CVE vulnerabilities.
|
|
588
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
614
589
|
*
|
|
615
|
-
* - `
|
|
590
|
+
* - `true`: allows automatic CVE fixes.
|
|
591
|
+
* - `false`: does not allow automatic CVE fixes.
|
|
616
592
|
*
|
|
617
593
|
* Default value: `true`.
|
|
618
594
|
*
|
|
@@ -622,16 +598,16 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
622
598
|
autoVulFix?: boolean;
|
|
623
599
|
/**
|
|
624
600
|
* @remarks
|
|
625
|
-
* The
|
|
601
|
+
* The automatic CVE fix policy.
|
|
626
602
|
*/
|
|
627
603
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
628
604
|
/**
|
|
629
605
|
* @remarks
|
|
630
|
-
* Specifies whether to enable the managed node pool
|
|
606
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
631
607
|
*
|
|
632
|
-
* - `true`:
|
|
608
|
+
* - `true`: enables the managed feature.
|
|
633
609
|
*
|
|
634
|
-
* - `false`:
|
|
610
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
635
611
|
*
|
|
636
612
|
* Default value: false.
|
|
637
613
|
*
|
|
@@ -641,9 +617,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
641
617
|
enable?: boolean;
|
|
642
618
|
/**
|
|
643
619
|
* @remarks
|
|
644
|
-
* [This parameter is deprecated] Use the
|
|
620
|
+
* [This parameter is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
645
621
|
*
|
|
646
|
-
* The
|
|
622
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
647
623
|
*
|
|
648
624
|
* @deprecated
|
|
649
625
|
*/
|
|
@@ -662,7 +638,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
662
638
|
export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
663
639
|
/**
|
|
664
640
|
* @remarks
|
|
665
|
-
* The custom
|
|
641
|
+
* The custom configuration of the node component.
|
|
666
642
|
*/
|
|
667
643
|
customConfig?: {
|
|
668
644
|
[key: string]: string;
|
|
@@ -681,12 +657,12 @@ export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $d
|
|
|
681
657
|
export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
682
658
|
/**
|
|
683
659
|
* @remarks
|
|
684
|
-
* The
|
|
660
|
+
* The node component configuration.
|
|
685
661
|
*/
|
|
686
662
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
687
663
|
/**
|
|
688
664
|
* @remarks
|
|
689
|
-
* The
|
|
665
|
+
* The node component name.
|
|
690
666
|
*
|
|
691
667
|
* @example
|
|
692
668
|
* kubelet
|
|
@@ -694,7 +670,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
694
670
|
name?: string;
|
|
695
671
|
/**
|
|
696
672
|
* @remarks
|
|
697
|
-
* The
|
|
673
|
+
* The node component version.
|
|
698
674
|
*
|
|
699
675
|
* @example
|
|
700
676
|
* 1.33.3-aliyun.1
|
|
@@ -714,7 +690,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
714
690
|
export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
715
691
|
/**
|
|
716
692
|
* @remarks
|
|
717
|
-
*
|
|
693
|
+
* Kubelet parameter configuration.
|
|
718
694
|
*/
|
|
719
695
|
kubeletConfiguration?: KubeletConfig;
|
|
720
696
|
static names(): {
|
|
@@ -731,7 +707,7 @@ export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model
|
|
|
731
707
|
export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
732
708
|
/**
|
|
733
709
|
* @remarks
|
|
734
|
-
* The
|
|
710
|
+
* The node pool name.
|
|
735
711
|
*
|
|
736
712
|
* This parameter is required.
|
|
737
713
|
*
|
|
@@ -741,9 +717,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
741
717
|
name?: string;
|
|
742
718
|
/**
|
|
743
719
|
* @remarks
|
|
744
|
-
* The ID of the
|
|
720
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
745
721
|
*
|
|
746
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business
|
|
722
|
+
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business requirements.
|
|
747
723
|
*
|
|
748
724
|
* @example
|
|
749
725
|
* rg-acfmyvw3wjmb****
|
|
@@ -751,15 +727,12 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
751
727
|
resourceGroupId?: string;
|
|
752
728
|
/**
|
|
753
729
|
* @remarks
|
|
754
|
-
* The
|
|
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.
|
|
759
|
-
*
|
|
760
|
-
* - `lingjun`: a Lingjun node pool.
|
|
730
|
+
* The node pool type. Valid values:
|
|
761
731
|
*
|
|
762
|
-
* - `
|
|
732
|
+
* - `ess`: regular node pool (includes managed features and elastic scaling features).
|
|
733
|
+
* - `edge`: edge node pool.
|
|
734
|
+
* - `lingjun`: Lingjun node pool.
|
|
735
|
+
* - `hybrid`: hybrid cloud node pool.
|
|
763
736
|
*
|
|
764
737
|
* @example
|
|
765
738
|
* ess
|
|
@@ -779,7 +752,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
779
752
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
780
753
|
/**
|
|
781
754
|
* @remarks
|
|
782
|
-
* The ID
|
|
755
|
+
* The private pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
783
756
|
*
|
|
784
757
|
* @example
|
|
785
758
|
* eap-bp67acfmxazb4****
|
|
@@ -787,13 +760,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
787
760
|
id?: string;
|
|
788
761
|
/**
|
|
789
762
|
* @remarks
|
|
790
|
-
* The
|
|
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.
|
|
763
|
+
* The private pool type. Specifies the capacity option for the private pool used to launch instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launches. Valid values:
|
|
764
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used to launch instances.
|
|
765
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
766
|
+
* - `None`: none mode. Private pool capacity is not used to launch instances.
|
|
797
767
|
*
|
|
798
768
|
* @example
|
|
799
769
|
* Target
|
|
@@ -813,15 +783,15 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
813
783
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
814
784
|
/**
|
|
815
785
|
* @remarks
|
|
816
|
-
*
|
|
786
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target-mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
817
787
|
*/
|
|
818
788
|
privatePoolIds?: string[];
|
|
819
789
|
/**
|
|
820
790
|
* @remarks
|
|
821
|
-
* The resource pool policy
|
|
822
|
-
* PrivatePoolFirst:
|
|
823
|
-
* PrivatePoolOnly:
|
|
824
|
-
* None:
|
|
791
|
+
* The resource pool policy used when creating instances. Resource pools include private pools generated by elasticity assurance or capacity reservation services and public pools. Valid values:
|
|
792
|
+
* 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 pools are specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pools are available, public pool resources are used to create instances.
|
|
793
|
+
* PrivatePoolOnly: private pool only. When this policy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
|
|
794
|
+
* None: no resource pool policy is used.
|
|
825
795
|
* Default value: None.
|
|
826
796
|
*
|
|
827
797
|
* @example
|
|
@@ -842,7 +812,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
842
812
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
843
813
|
/**
|
|
844
814
|
* @remarks
|
|
845
|
-
* The instance type
|
|
815
|
+
* The spot instance type.
|
|
846
816
|
*
|
|
847
817
|
* @example
|
|
848
818
|
* ecs.c6.large
|
|
@@ -850,11 +820,12 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
850
820
|
instanceType?: string;
|
|
851
821
|
/**
|
|
852
822
|
* @remarks
|
|
853
|
-
* The maximum
|
|
823
|
+
* The maximum price per instance.
|
|
824
|
+
* <props="china">Unit: CNY/hour.
|
|
854
825
|
*
|
|
855
|
-
* <props="intl">
|
|
856
826
|
*
|
|
857
|
-
*
|
|
827
|
+
*
|
|
828
|
+
* <props="intl">Unit: USD/hour..
|
|
858
829
|
*
|
|
859
830
|
* @example
|
|
860
831
|
* 0.39
|
|
@@ -874,7 +845,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
874
845
|
export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
875
846
|
/**
|
|
876
847
|
* @remarks
|
|
877
|
-
* The
|
|
848
|
+
* The tag key.
|
|
878
849
|
*
|
|
879
850
|
* @example
|
|
880
851
|
* node-k-1
|
|
@@ -902,10 +873,9 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
902
873
|
export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
903
874
|
/**
|
|
904
875
|
* @remarks
|
|
905
|
-
* Specifies whether to enable auto-renewal for
|
|
876
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
906
877
|
*
|
|
907
878
|
* - `true`: enables auto-renewal.
|
|
908
|
-
*
|
|
909
879
|
* - `false`: disables auto-renewal.
|
|
910
880
|
*
|
|
911
881
|
* Default value: `false`.
|
|
@@ -917,10 +887,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
917
887
|
/**
|
|
918
888
|
* @remarks
|
|
919
889
|
* The auto-renewal period. Valid values:
|
|
920
|
-
*
|
|
921
|
-
* -
|
|
922
|
-
*
|
|
923
|
-
* - If \\`PeriodUnit\\` is set to \\`Month\\`: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
890
|
+
* - When PeriodUnit=Week: 1, 2, 3.
|
|
891
|
+
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
924
892
|
*
|
|
925
893
|
* Default value: 1.
|
|
926
894
|
*
|
|
@@ -930,7 +898,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
930
898
|
autoRenewPeriod?: number;
|
|
931
899
|
/**
|
|
932
900
|
* @remarks
|
|
933
|
-
* [
|
|
901
|
+
* [This parameter is deprecated] Use the security_hardening_os parameter instead.
|
|
934
902
|
*
|
|
935
903
|
* @example
|
|
936
904
|
* null
|
|
@@ -940,11 +908,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
940
908
|
cisEnabled?: boolean;
|
|
941
909
|
/**
|
|
942
910
|
* @remarks
|
|
943
|
-
*
|
|
911
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to automatically create pay-as-you-go instances when spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
944
912
|
*
|
|
945
|
-
* - `true`:
|
|
946
|
-
*
|
|
947
|
-
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
913
|
+
* - `true`: allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
914
|
+
* - `false`: does not allow automatic creation of pay-as-you-go instances.
|
|
948
915
|
*
|
|
949
916
|
* @example
|
|
950
917
|
* true
|
|
@@ -952,16 +919,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
952
919
|
compensateWithOnDemand?: boolean;
|
|
953
920
|
/**
|
|
954
921
|
* @remarks
|
|
955
|
-
* The data disk
|
|
922
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
956
923
|
*/
|
|
957
924
|
dataDisks?: DataDisk[];
|
|
958
925
|
/**
|
|
959
926
|
* @remarks
|
|
960
|
-
* The
|
|
927
|
+
* The 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 fault tolerance. When ECS instances are created in a deployment set, they are launched in the specified region based on the preconfigured deployment policy.
|
|
961
928
|
*
|
|
962
|
-
* >Notice:
|
|
963
929
|
*
|
|
964
|
-
* After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
930
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. The default maximum number of nodes supported by a deployment set is 20 × number of zones (the number of zones is determined by the vSwitches). Select carefully and ensure that the deployment set has sufficient quota to avoid node creation failures..
|
|
965
931
|
*
|
|
966
932
|
* @example
|
|
967
933
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -969,11 +935,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
969
935
|
deploymentsetId?: string;
|
|
970
936
|
/**
|
|
971
937
|
* @remarks
|
|
972
|
-
* The
|
|
938
|
+
* The desired number of nodes in the node pool.
|
|
973
939
|
*
|
|
974
|
-
*
|
|
940
|
+
* This is the total number of nodes that the node pool should maintain. Configure at least 2 nodes to ensure that cluster components run properly. You can adjust the desired node count to scale the node pool in or out.
|
|
975
941
|
*
|
|
976
|
-
* If you do not need to create nodes, set this parameter to 0
|
|
942
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
977
943
|
*
|
|
978
944
|
* @example
|
|
979
945
|
* 0
|
|
@@ -981,12 +947,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
981
947
|
desiredSize?: number;
|
|
982
948
|
/**
|
|
983
949
|
* @remarks
|
|
984
|
-
* The block device initialization
|
|
950
|
+
* The block device initialization configuration.
|
|
985
951
|
*/
|
|
986
952
|
diskInit?: DiskInit[];
|
|
987
953
|
/**
|
|
988
954
|
* @remarks
|
|
989
|
-
* The
|
|
955
|
+
* The custom image ID. The system-provided image is used by default.
|
|
990
956
|
*
|
|
991
957
|
* @example
|
|
992
958
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -994,27 +960,18 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
994
960
|
imageId?: string;
|
|
995
961
|
/**
|
|
996
962
|
* @remarks
|
|
997
|
-
* The
|
|
963
|
+
* The operating system image type. Valid values:
|
|
998
964
|
*
|
|
999
965
|
* - `AliyunLinux`: Alinux2 image.
|
|
1000
|
-
*
|
|
1001
966
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1002
|
-
*
|
|
1003
967
|
* - `AliyunLinux3`: Alinux3 image.
|
|
1004
|
-
*
|
|
1005
968
|
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1006
|
-
*
|
|
1007
969
|
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1008
|
-
*
|
|
1009
970
|
* - `CentOS`: CentOS image.
|
|
1010
|
-
*
|
|
1011
971
|
* - `Windows`: Windows image.
|
|
1012
|
-
*
|
|
1013
972
|
* - `WindowsCore`: WindowsCore image.
|
|
1014
|
-
*
|
|
1015
|
-
* - `
|
|
1016
|
-
*
|
|
1017
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
|
|
973
|
+
* - `ContainerOS`: container-optimized image.
|
|
974
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1018
975
|
*
|
|
1019
976
|
* @example
|
|
1020
977
|
* AliyunLinux3
|
|
@@ -1022,7 +979,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1022
979
|
imageType?: string;
|
|
1023
980
|
/**
|
|
1024
981
|
* @remarks
|
|
1025
|
-
* The billing method
|
|
982
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
1026
983
|
*
|
|
1027
984
|
* - `PrePaid`: subscription.
|
|
1028
985
|
*
|
|
@@ -1038,32 +995,32 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1038
995
|
instanceChargeType?: string;
|
|
1039
996
|
/**
|
|
1040
997
|
* @remarks
|
|
1041
|
-
* The ECS instance metadata access
|
|
998
|
+
* The ECS instance metadata access configuration.
|
|
1042
999
|
*/
|
|
1043
1000
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1044
1001
|
/**
|
|
1045
1002
|
* @remarks
|
|
1046
|
-
* The instance
|
|
1003
|
+
* The instance attribute configuration.
|
|
1047
1004
|
*/
|
|
1048
1005
|
instancePatterns?: InstancePatterns[];
|
|
1049
1006
|
/**
|
|
1050
1007
|
* @remarks
|
|
1051
|
-
*
|
|
1008
|
+
* The list of instance types for the node pool. When the node pool scales out, instances are created from the specified instance types that meet the requirements.
|
|
1052
1009
|
*
|
|
1053
|
-
* The number of instance types
|
|
1010
|
+
* The number of supported instance types ranges from 1 to 10.
|
|
1054
1011
|
*
|
|
1055
|
-
*
|
|
1012
|
+
*
|
|
1013
|
+
* > To ensure high availability, select multiple instance types.
|
|
1056
1014
|
*
|
|
1057
1015
|
* This parameter is required.
|
|
1058
1016
|
*/
|
|
1059
1017
|
instanceTypes?: string[];
|
|
1060
1018
|
/**
|
|
1061
1019
|
* @remarks
|
|
1062
|
-
* The billing method
|
|
1020
|
+
* The billing method for public IP addresses. Valid values:
|
|
1063
1021
|
*
|
|
1064
1022
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1065
|
-
*
|
|
1066
|
-
* - PayByTraffic: pay-by-traffic.
|
|
1023
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1067
1024
|
*
|
|
1068
1025
|
* @example
|
|
1069
1026
|
* PayByTraffic
|
|
@@ -1071,7 +1028,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1071
1028
|
internetChargeType?: string;
|
|
1072
1029
|
/**
|
|
1073
1030
|
* @remarks
|
|
1074
|
-
* The maximum outbound public
|
|
1031
|
+
* The maximum outbound bandwidth for the public IP address of a node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1075
1032
|
*
|
|
1076
1033
|
* @example
|
|
1077
1034
|
* 5
|
|
@@ -1079,9 +1036,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1079
1036
|
internetMaxBandwidthOut?: number;
|
|
1080
1037
|
/**
|
|
1081
1038
|
* @remarks
|
|
1082
|
-
* The name of the key pair
|
|
1039
|
+
* The name of the key pair for passwordless logon. You can specify either this parameter or `login_password`.
|
|
1083
1040
|
*
|
|
1084
|
-
* > If
|
|
1041
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1085
1042
|
*
|
|
1086
1043
|
* @example
|
|
1087
1044
|
* np-key-name
|
|
@@ -1089,11 +1046,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1089
1046
|
keyPair?: string;
|
|
1090
1047
|
/**
|
|
1091
1048
|
* @remarks
|
|
1092
|
-
* Specifies whether to log on to the
|
|
1049
|
+
* Specifies whether to log on to the ECS instance as a non-root user.
|
|
1093
1050
|
*
|
|
1094
|
-
* - true:
|
|
1051
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1095
1052
|
*
|
|
1096
|
-
* - false:
|
|
1053
|
+
* - false: logs on as the root user.
|
|
1097
1054
|
*
|
|
1098
1055
|
* @example
|
|
1099
1056
|
* true
|
|
@@ -1101,7 +1058,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1101
1058
|
loginAsNonRoot?: boolean;
|
|
1102
1059
|
/**
|
|
1103
1060
|
* @remarks
|
|
1104
|
-
* The SSH logon password. You
|
|
1061
|
+
* The SSH logon password. You can specify either this parameter or `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
1062
|
*
|
|
1106
1063
|
* @example
|
|
1107
1064
|
* ****
|
|
@@ -1109,15 +1066,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1109
1066
|
loginPassword?: string;
|
|
1110
1067
|
/**
|
|
1111
1068
|
* @remarks
|
|
1112
|
-
* The scaling policy for
|
|
1069
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1113
1070
|
*
|
|
1114
|
-
* - `PRIORITY`:
|
|
1071
|
+
* - `PRIORITY`: scales instances based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1115
1072
|
*
|
|
1116
|
-
* - `COST_OPTIMIZED`:
|
|
1073
|
+
* - `COST_OPTIMIZED`: attempts to create instances in ascending order of vCPU unit price. When the scaling configuration sets the billing method of multiple instance types to spot, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1117
1074
|
*
|
|
1118
|
-
*
|
|
1075
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1119
1076
|
*
|
|
1120
|
-
* - `BALANCE`:
|
|
1077
|
+
* - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1121
1078
|
*
|
|
1122
1079
|
* Default value: `PRIORITY`.
|
|
1123
1080
|
*
|
|
@@ -1127,7 +1084,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1127
1084
|
multiAzPolicy?: string;
|
|
1128
1085
|
/**
|
|
1129
1086
|
* @remarks
|
|
1130
|
-
* The minimum number of pay-as-you-go instances
|
|
1087
|
+
* The minimum number of pay-as-you-go instances required in 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
1088
|
*
|
|
1132
1089
|
* @example
|
|
1133
1090
|
* 0
|
|
@@ -1135,7 +1092,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1135
1092
|
onDemandBaseCapacity?: number;
|
|
1136
1093
|
/**
|
|
1137
1094
|
* @remarks
|
|
1138
|
-
* The percentage of pay-as-you-go instances among the
|
|
1095
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum pay-as-you-go instance count (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1139
1096
|
*
|
|
1140
1097
|
* @example
|
|
1141
1098
|
* 20
|
|
@@ -1143,11 +1100,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1143
1100
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1144
1101
|
/**
|
|
1145
1102
|
* @remarks
|
|
1146
|
-
* The subscription duration
|
|
1103
|
+
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1147
1104
|
*
|
|
1148
|
-
* -
|
|
1149
|
-
*
|
|
1150
|
-
* - If \\`period_unit\\` is set to \\`Month\\`, the valid values of \\`period\\` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1105
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1106
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1151
1107
|
*
|
|
1152
1108
|
* @example
|
|
1153
1109
|
* 1
|
|
@@ -1155,11 +1111,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1155
1111
|
period?: number;
|
|
1156
1112
|
/**
|
|
1157
1113
|
* @remarks
|
|
1158
|
-
* The billing cycle of
|
|
1159
|
-
*
|
|
1160
|
-
* - `Month`: The billing cycle is measured in months.
|
|
1114
|
+
* The compute unit (CU) for the billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1161
1115
|
*
|
|
1162
|
-
* - `
|
|
1116
|
+
* - `Month`: billed on a monthly basis.
|
|
1117
|
+
* - `Week`: billed on a weekly basis.
|
|
1163
1118
|
*
|
|
1164
1119
|
* Default value: `Month`.
|
|
1165
1120
|
*
|
|
@@ -1169,16 +1124,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1169
1124
|
periodUnit?: string;
|
|
1170
1125
|
/**
|
|
1171
1126
|
* @remarks
|
|
1172
|
-
* [This parameter is deprecated] Use the
|
|
1173
|
-
*
|
|
1174
|
-
* The OS distribution. Valid values:
|
|
1127
|
+
* [This parameter is deprecated] Use the `image_type` parameter instead.
|
|
1175
1128
|
*
|
|
1129
|
+
* The operating system distribution. Valid values:
|
|
1176
1130
|
* - `CentOS`
|
|
1177
|
-
*
|
|
1178
1131
|
* - `AliyunLinux`
|
|
1179
|
-
*
|
|
1180
1132
|
* - `Windows`
|
|
1181
|
-
*
|
|
1182
1133
|
* - `WindowsCore`
|
|
1183
1134
|
*
|
|
1184
1135
|
* Default value: `AliyunLinux`.
|
|
@@ -1191,20 +1142,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1191
1142
|
platform?: string;
|
|
1192
1143
|
/**
|
|
1193
1144
|
* @remarks
|
|
1194
|
-
* The private pool
|
|
1145
|
+
* The private pool configuration.
|
|
1195
1146
|
*/
|
|
1196
1147
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1197
1148
|
/**
|
|
1198
1149
|
* @remarks
|
|
1199
|
-
* The
|
|
1200
|
-
*
|
|
1201
|
-
* - If this parameter is left empty, the default worker RAM role of the cluster is used.
|
|
1150
|
+
* The Worker RAM role name.
|
|
1202
1151
|
*
|
|
1203
|
-
*
|
|
1152
|
+
* * If left empty, the default Worker RAM role created by the cluster is used.
|
|
1153
|
+
* * If specified, the RAM role must be a **regular service role** with its **trusted service** configured as **Elastic Compute Service**. For more information, see [Create a regular 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-`.
|
|
1204
1154
|
*
|
|
1205
|
-
* >Notice:
|
|
1206
|
-
*
|
|
1207
|
-
* This parameter is supported only by ACK managed clusters of Kubernetes 1.22 or later.
|
|
1155
|
+
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later..
|
|
1208
1156
|
*
|
|
1209
1157
|
* @example
|
|
1210
1158
|
* example-role
|
|
@@ -1212,23 +1160,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1212
1160
|
ramRoleName?: string;
|
|
1213
1161
|
/**
|
|
1214
1162
|
* @remarks
|
|
1215
|
-
*
|
|
1163
|
+
* The list of ApsaraDB RDS instances.
|
|
1216
1164
|
*/
|
|
1217
1165
|
rdsInstances?: string[];
|
|
1218
1166
|
/**
|
|
1219
1167
|
* @remarks
|
|
1220
|
-
* The resource pool and policy used
|
|
1221
|
-
* This parameter takes effect only when
|
|
1222
|
-
* This parameter cannot be set
|
|
1168
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1169
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1170
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1223
1171
|
*/
|
|
1224
1172
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1225
1173
|
/**
|
|
1226
1174
|
* @remarks
|
|
1227
|
-
* The scaling mode
|
|
1228
|
-
*
|
|
1229
|
-
* - `release`: standard mode. The system creates and releases ECS instances to scale the group.
|
|
1175
|
+
* The scaling group mode. Valid values:
|
|
1230
1176
|
*
|
|
1231
|
-
* - `
|
|
1177
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1178
|
+
* - `recycle`: swift mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Compute resources are not charged during the stop period. Only storage fees are charged, except for instances with local disks.
|
|
1232
1179
|
*
|
|
1233
1180
|
* Default value: `release`.
|
|
1234
1181
|
*
|
|
@@ -1238,7 +1185,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1238
1185
|
scalingPolicy?: string;
|
|
1239
1186
|
/**
|
|
1240
1187
|
* @remarks
|
|
1241
|
-
* The
|
|
1188
|
+
* The security group ID for the node pool. You can specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
1242
1189
|
*
|
|
1243
1190
|
* @example
|
|
1244
1191
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1248,16 +1195,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1248
1195
|
securityGroupId?: string;
|
|
1249
1196
|
/**
|
|
1250
1197
|
* @remarks
|
|
1251
|
-
*
|
|
1198
|
+
* The list of security group IDs. You can specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1252
1199
|
*/
|
|
1253
1200
|
securityGroupIds?: string[];
|
|
1254
1201
|
/**
|
|
1255
1202
|
* @remarks
|
|
1256
|
-
* Alibaba Cloud OS security hardening. Valid values:
|
|
1203
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1257
1204
|
*
|
|
1258
|
-
* - `true`:
|
|
1259
|
-
*
|
|
1260
|
-
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
1205
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1206
|
+
* - `false`: does not enable Alibaba Cloud OS security hardening.
|
|
1261
1207
|
*
|
|
1262
1208
|
* Default value: `false`.
|
|
1263
1209
|
*
|
|
@@ -1267,7 +1213,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1267
1213
|
securityHardeningOs?: boolean;
|
|
1268
1214
|
/**
|
|
1269
1215
|
* @remarks
|
|
1270
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1216
|
+
* Specifies whether to enable MLPS 2.0 security hardening. This parameter is available only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1271
1217
|
*
|
|
1272
1218
|
* @example
|
|
1273
1219
|
* false
|
|
@@ -1275,7 +1221,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1275
1221
|
socEnabled?: boolean;
|
|
1276
1222
|
/**
|
|
1277
1223
|
* @remarks
|
|
1278
|
-
* The number of instance types
|
|
1224
|
+
* The number of available instance types. The scaling group creates spot instances across multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1279
1225
|
*
|
|
1280
1226
|
* @example
|
|
1281
1227
|
* 5
|
|
@@ -1283,11 +1229,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1283
1229
|
spotInstancePools?: number;
|
|
1284
1230
|
/**
|
|
1285
1231
|
* @remarks
|
|
1286
|
-
* Specifies whether to enable
|
|
1287
|
-
*
|
|
1288
|
-
* - `true`: Enables the instance reclaim mode.
|
|
1232
|
+
* Specifies whether to enable supplemental spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1289
1233
|
*
|
|
1290
|
-
* - `
|
|
1234
|
+
* - `true`: enables supplemental spot instances.
|
|
1235
|
+
* - `false`: disables supplemental spot instances.
|
|
1291
1236
|
*
|
|
1292
1237
|
* @example
|
|
1293
1238
|
* false
|
|
@@ -1295,18 +1240,18 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1295
1240
|
spotInstanceRemedy?: boolean;
|
|
1296
1241
|
/**
|
|
1297
1242
|
* @remarks
|
|
1298
|
-
* The
|
|
1243
|
+
* The price range configuration for the current spot instance type.
|
|
1299
1244
|
*/
|
|
1300
1245
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1301
1246
|
/**
|
|
1302
1247
|
* @remarks
|
|
1303
|
-
* The bidding policy for
|
|
1248
|
+
* The bidding policy for spot instances. Valid values:
|
|
1304
1249
|
*
|
|
1305
|
-
* - `NoSpot`:
|
|
1250
|
+
* - `NoSpot`: non-spot instance.
|
|
1306
1251
|
*
|
|
1307
|
-
* - `SpotWithPriceLimit`:
|
|
1252
|
+
* - `SpotWithPriceLimit`: sets a maximum price for the spot instance.
|
|
1308
1253
|
*
|
|
1309
|
-
* - `SpotAsPriceGo`:
|
|
1254
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1310
1255
|
*
|
|
1311
1256
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1312
1257
|
*
|
|
@@ -1316,13 +1261,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1316
1261
|
spotStrategy?: string;
|
|
1317
1262
|
/**
|
|
1318
1263
|
* @remarks
|
|
1319
|
-
* Specifies whether to enable
|
|
1320
|
-
*
|
|
1321
|
-
* -
|
|
1264
|
+
* Specifies whether to enable burst (performance burst) for the system cloud disk. Valid values:
|
|
1265
|
+
* - true: enables burst.
|
|
1266
|
+
* - false: disables burst.
|
|
1322
1267
|
*
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
1325
|
-
* This parameter can be set 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).
|
|
1268
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1326
1269
|
*
|
|
1327
1270
|
* @example
|
|
1328
1271
|
* true
|
|
@@ -1330,22 +1273,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1330
1273
|
systemDiskBurstingEnabled?: boolean;
|
|
1331
1274
|
/**
|
|
1332
1275
|
* @remarks
|
|
1333
|
-
* The
|
|
1276
|
+
* The list of cloud disk types for the system cloud disk. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
|
|
1334
1277
|
*/
|
|
1335
1278
|
systemDiskCategories?: string[];
|
|
1336
1279
|
/**
|
|
1337
1280
|
* @remarks
|
|
1338
|
-
* The
|
|
1339
|
-
*
|
|
1340
|
-
* - `cloud_efficiency`: ultra disk.
|
|
1341
|
-
*
|
|
1281
|
+
* The system cloud disk type for nodes. Valid values:
|
|
1282
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1342
1283
|
* - `cloud_ssd`: standard SSD.
|
|
1343
|
-
*
|
|
1344
|
-
* - `
|
|
1345
|
-
*
|
|
1346
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1347
|
-
*
|
|
1348
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1284
|
+
* - `cloud_essd`: Enterprise SSD (ESSD).
|
|
1285
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1286
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1349
1287
|
*
|
|
1350
1288
|
* Default value: `cloud_efficiency`.
|
|
1351
1289
|
*
|
|
@@ -1355,7 +1293,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1355
1293
|
systemDiskCategory?: string;
|
|
1356
1294
|
/**
|
|
1357
1295
|
* @remarks
|
|
1358
|
-
* The encryption algorithm
|
|
1296
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1359
1297
|
*
|
|
1360
1298
|
* @example
|
|
1361
1299
|
* aes-256
|
|
@@ -1363,11 +1301,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1363
1301
|
systemDiskEncryptAlgorithm?: string;
|
|
1364
1302
|
/**
|
|
1365
1303
|
* @remarks
|
|
1366
|
-
* Specifies whether to encrypt the system disk. Valid values:
|
|
1304
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1367
1305
|
*
|
|
1368
|
-
* - true: encrypts the system disk.
|
|
1306
|
+
* - true: encrypts the system cloud disk.
|
|
1369
1307
|
*
|
|
1370
|
-
* - false: does not encrypt the system disk.
|
|
1308
|
+
* - false: does not encrypt the system cloud disk.
|
|
1371
1309
|
*
|
|
1372
1310
|
* @example
|
|
1373
1311
|
* false
|
|
@@ -1375,7 +1313,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1375
1313
|
systemDiskEncrypted?: boolean;
|
|
1376
1314
|
/**
|
|
1377
1315
|
* @remarks
|
|
1378
|
-
* The
|
|
1316
|
+
* The KMS key ID used for the system cloud disk.
|
|
1379
1317
|
*
|
|
1380
1318
|
* @example
|
|
1381
1319
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1383,15 +1321,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1383
1321
|
systemDiskKmsKeyId?: string;
|
|
1384
1322
|
/**
|
|
1385
1323
|
* @remarks
|
|
1386
|
-
* The performance level of the system disk
|
|
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.
|
|
1324
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html). The standard SSD does not support performance levels.
|
|
1325
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1326
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1327
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1328
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1395
1329
|
*
|
|
1396
1330
|
* @example
|
|
1397
1331
|
* PL1
|
|
@@ -1399,11 +1333,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1399
1333
|
systemDiskPerformanceLevel?: string;
|
|
1400
1334
|
/**
|
|
1401
1335
|
* @remarks
|
|
1402
|
-
* The provisioned read/write IOPS
|
|
1336
|
+
* The provisioned read/write IOPS for the system cloud disk.
|
|
1403
1337
|
*
|
|
1404
|
-
* Valid values: 0 to min{50,000,
|
|
1338
|
+
* Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50000}.
|
|
1405
1339
|
*
|
|
1406
|
-
* This parameter
|
|
1340
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1407
1341
|
*
|
|
1408
1342
|
* @example
|
|
1409
1343
|
* 1000
|
|
@@ -1411,9 +1345,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1411
1345
|
systemDiskProvisionedIops?: number;
|
|
1412
1346
|
/**
|
|
1413
1347
|
* @remarks
|
|
1414
|
-
* The
|
|
1348
|
+
* The system cloud disk size for nodes. Unit: GiB.
|
|
1415
1349
|
*
|
|
1416
|
-
*
|
|
1350
|
+
* Valid values: [20,2048\\].
|
|
1417
1351
|
*
|
|
1418
1352
|
* @example
|
|
1419
1353
|
* 120
|
|
@@ -1421,7 +1355,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1421
1355
|
systemDiskSize?: number;
|
|
1422
1356
|
/**
|
|
1423
1357
|
* @remarks
|
|
1424
|
-
* The snapshot policy for the system disk.
|
|
1358
|
+
* The snapshot policy for the system cloud disk.
|
|
1425
1359
|
*
|
|
1426
1360
|
* @example
|
|
1427
1361
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1429,16 +1363,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1429
1363
|
systemDiskSnapshotPolicyId?: string;
|
|
1430
1364
|
/**
|
|
1431
1365
|
* @remarks
|
|
1432
|
-
*
|
|
1366
|
+
* Tags that are added only to ECS instances.
|
|
1433
1367
|
*
|
|
1434
|
-
*
|
|
1368
|
+
* 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
1369
|
*/
|
|
1436
1370
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1437
1371
|
/**
|
|
1438
1372
|
* @remarks
|
|
1439
|
-
*
|
|
1373
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1440
1374
|
*
|
|
1441
|
-
* >
|
|
1375
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1442
1376
|
*
|
|
1443
1377
|
* This parameter is required.
|
|
1444
1378
|
*/
|
|
@@ -1457,11 +1391,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1457
1391
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1458
1392
|
/**
|
|
1459
1393
|
* @remarks
|
|
1460
|
-
* Specifies whether to enable
|
|
1394
|
+
* Specifies whether to enable confidential computing for the cluster.
|
|
1461
1395
|
*
|
|
1462
|
-
* - true:
|
|
1396
|
+
* - true: enables confidential computing.
|
|
1463
1397
|
*
|
|
1464
|
-
* - false:
|
|
1398
|
+
* - false: does not enable confidential computing.
|
|
1465
1399
|
*
|
|
1466
1400
|
* @example
|
|
1467
1401
|
* true
|
|
@@ -1481,17 +1415,17 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1481
1415
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1482
1416
|
/**
|
|
1483
1417
|
* @remarks
|
|
1484
|
-
* The intelligent managed node pool
|
|
1418
|
+
* The intelligent managed mode configuration for the node pool.
|
|
1485
1419
|
*/
|
|
1486
1420
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1487
1421
|
/**
|
|
1488
1422
|
* @remarks
|
|
1489
|
-
* The
|
|
1423
|
+
* The elastic scaling configuration.
|
|
1490
1424
|
*/
|
|
1491
1425
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1492
1426
|
/**
|
|
1493
1427
|
* @remarks
|
|
1494
|
-
* [This
|
|
1428
|
+
* [This field is deprecated] Use desired_size instead.
|
|
1495
1429
|
*
|
|
1496
1430
|
* The number of nodes in the node pool.
|
|
1497
1431
|
*
|
|
@@ -1503,16 +1437,14 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1503
1437
|
count?: number;
|
|
1504
1438
|
/**
|
|
1505
1439
|
* @remarks
|
|
1506
|
-
* The Lingjun node pool
|
|
1440
|
+
* The Lingjun node pool configuration.
|
|
1507
1441
|
*/
|
|
1508
1442
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1509
1443
|
/**
|
|
1510
1444
|
* @remarks
|
|
1511
|
-
* Specifies whether
|
|
1512
|
-
*
|
|
1513
|
-
* - `
|
|
1514
|
-
*
|
|
1515
|
-
* - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
|
|
1445
|
+
* Specifies whether the pod network uses host network mode.
|
|
1446
|
+
* - `true`: host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1447
|
+
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1516
1448
|
*
|
|
1517
1449
|
* @example
|
|
1518
1450
|
* true
|
|
@@ -1520,20 +1452,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1520
1452
|
hostNetwork?: boolean;
|
|
1521
1453
|
/**
|
|
1522
1454
|
* @remarks
|
|
1523
|
-
* [This
|
|
1455
|
+
* [This field is deprecated]
|
|
1524
1456
|
*
|
|
1525
|
-
* The
|
|
1457
|
+
* The edge node pool configuration.
|
|
1526
1458
|
*
|
|
1527
1459
|
* @deprecated
|
|
1528
1460
|
*/
|
|
1529
1461
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1530
1462
|
/**
|
|
1531
1463
|
* @remarks
|
|
1532
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
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.
|
|
1464
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1535
1465
|
*
|
|
1536
|
-
* - `
|
|
1466
|
+
* - `basic`: public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
1467
|
+
* - `private`: private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1537
1468
|
*
|
|
1538
1469
|
* @example
|
|
1539
1470
|
* basic
|
|
@@ -1541,11 +1472,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1541
1472
|
interconnectMode?: string;
|
|
1542
1473
|
/**
|
|
1543
1474
|
* @remarks
|
|
1544
|
-
* Specifies whether
|
|
1545
|
-
*
|
|
1546
|
-
* - `
|
|
1547
|
-
*
|
|
1548
|
-
* - `false`: All hosts in the node pool cannot communicate with each other at Layer 3.
|
|
1475
|
+
* Specifies whether Layer 3 network connectivity is enabled among nodes within the edge node pool.
|
|
1476
|
+
* - `true`: enabled. All nodes in the node pool have Layer 3 network connectivity with each other.
|
|
1477
|
+
* - `false`: disabled. All nodes in the node pool do not have Layer 3 network connectivity with each other.
|
|
1549
1478
|
*
|
|
1550
1479
|
* @example
|
|
1551
1480
|
* true
|
|
@@ -1553,19 +1482,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1553
1482
|
intranet?: boolean;
|
|
1554
1483
|
/**
|
|
1555
1484
|
* @remarks
|
|
1556
|
-
* The cluster-related
|
|
1485
|
+
* The cluster-related configuration.
|
|
1557
1486
|
*/
|
|
1558
1487
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1559
1488
|
/**
|
|
1560
1489
|
* @remarks
|
|
1561
|
-
* The
|
|
1490
|
+
* The managed node pool configuration.
|
|
1562
1491
|
*/
|
|
1563
1492
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1564
1493
|
/**
|
|
1565
1494
|
* @remarks
|
|
1566
|
-
* [This
|
|
1495
|
+
* [This field is deprecated]
|
|
1567
1496
|
*
|
|
1568
|
-
* The maximum number of nodes
|
|
1497
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
1569
1498
|
*
|
|
1570
1499
|
* @example
|
|
1571
1500
|
* null
|
|
@@ -1575,27 +1504,27 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1575
1504
|
maxNodes?: number;
|
|
1576
1505
|
/**
|
|
1577
1506
|
* @remarks
|
|
1578
|
-
*
|
|
1507
|
+
* The list of node components.
|
|
1579
1508
|
*/
|
|
1580
1509
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1581
1510
|
/**
|
|
1582
1511
|
* @remarks
|
|
1583
|
-
* The node
|
|
1512
|
+
* The node configuration.
|
|
1584
1513
|
*/
|
|
1585
1514
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1586
1515
|
/**
|
|
1587
1516
|
* @remarks
|
|
1588
|
-
* The node pool
|
|
1517
|
+
* The node pool configuration.
|
|
1589
1518
|
*/
|
|
1590
1519
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1591
1520
|
/**
|
|
1592
1521
|
* @remarks
|
|
1593
|
-
* The
|
|
1522
|
+
* The scaling group configuration for the node pool.
|
|
1594
1523
|
*/
|
|
1595
1524
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1596
1525
|
/**
|
|
1597
1526
|
* @remarks
|
|
1598
|
-
* The
|
|
1527
|
+
* The confidential computing cluster configuration.
|
|
1599
1528
|
*/
|
|
1600
1529
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1601
1530
|
static names(): {
|