@alicloud/cs20151215 6.6.5 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +456 -446
- package/dist/client.js +530 -446
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +59 -38
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesResponseBody.d.ts +4 -4
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +14 -12
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -6
- package/dist/models/CheckControlPlaneLogEnableResponseBody.js.map +1 -1
- package/dist/models/CheckServiceRoleRequest.d.ts +2 -2
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -9
- package/dist/models/CheckServiceRoleResponseBody.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +3 -4
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsShrinkRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +17 -17
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +42 -55
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +20 -24
- package/dist/models/CreateClusterDiagnosisRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisResponseBody.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +2 -2
- package/dist/models/CreateClusterNodePoolRequest.d.ts +349 -311
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/CreateClusterRequest.d.ts +270 -347
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +10 -9
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +8 -7
- package/dist/models/CreateTriggerRequest.js.map +1 -1
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteAlertContactGroupShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +5 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +10 -13
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +18 -27
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterShrinkRequest.d.ts +9 -11
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeletePolicyInstanceRequest.d.ts +1 -1
- package/dist/models/DeletePolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +5 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonRequest.d.ts +18 -7
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +14 -13
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +13 -11
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +4 -4
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +19 -19
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +11 -11
- package/dist/models/DescribeClusterAddonMetadataResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -16
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +96 -123
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +3 -3
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +22 -41
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +231 -310
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +251 -329
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +24 -9
- package/dist/models/DescribeClusterNodesRequest.js +6 -0
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +51 -38
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +3 -3
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -48
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -10
- package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +13 -19
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -30
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +40 -67
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +18 -26
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +52 -77
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -2
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +7 -11
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +22 -38
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +31 -50
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +6 -4
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeExternalAgentResponseBody.d.ts +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +24 -25
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +31 -32
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +4 -4
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +13 -18
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +17 -21
- package/dist/models/DescribePolicyDetailsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +30 -34
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesRequest.d.ts +2 -2
- package/dist/models/DescribePolicyInstancesResponse.d.ts +20 -19
- package/dist/models/DescribePolicyInstancesResponse.js.map +1 -1
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +7 -7
- package/dist/models/DescribeRegionsRequest.d.ts +3 -21
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +6 -5
- package/dist/models/DescribeResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +5 -6
- package/dist/models/DescribeResourcesDeleteProtectionResponse.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +6 -7
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +20 -26
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +16 -14
- package/dist/models/DescribeTemplateAttributeResponse.js.map +1 -1
- package/dist/models/DescribeTemplatesRequest.d.ts +7 -6
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +19 -20
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeTriggerRequest.d.ts +8 -7
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +12 -13
- package/dist/models/DescribeTriggerResponse.js.map +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +9 -4
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/FixNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +21 -14
- package/dist/models/GetClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +5 -4
- package/dist/models/GetClusterAuditProjectResponseBody.js.map +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +7 -7
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +6 -12
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.js.map +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +14 -26
- package/dist/models/GetClusterDiagnosisResultResponseBody.js.map +1 -1
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +2 -2
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +15 -18
- package/dist/models/GetClusterInspectReportDetailRequest.js.map +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +30 -34
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +11 -10
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +18 -19
- package/dist/models/GetUpgradeStatusResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +19 -26
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +4 -4
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +10 -10
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListAddonsRequest.d.ts +17 -6
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +24 -15
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +20 -20
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +7 -8
- package/dist/models/ListClusterAddonInstancesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksRequest.d.ts +9 -2
- package/dist/models/ListClusterChecksRequest.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +7 -7
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +11 -11
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +9 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +32 -28
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +14 -14
- package/dist/models/ListOperationPlansRequest.d.ts +1 -1
- package/dist/models/ListOperationPlansResponseBody.d.ts +13 -15
- package/dist/models/ListOperationPlansResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +8 -6
- package/dist/models/ListUserKubeConfigStatesRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +24 -25
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/MigrateClusterRequest.d.ts +2 -2
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyClusterAddonRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +205 -267
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterRequest.d.ts +106 -139
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +11 -7
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +6 -6
- package/dist/models/ModifyPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/Nodepool.d.ts +215 -262
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/QuotasValue.d.ts +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +14 -9
- package/dist/models/RepairClusterNodePoolRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/RunClusterCheckRequest.d.ts +4 -9
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +10 -9
- package/dist/models/StandardComponentsValue.js.map +1 -1
- package/dist/models/StartAlertRequest.d.ts +2 -2
- package/dist/models/StartAlertResponseBody.d.ts +1 -1
- package/dist/models/StopAlertRequest.d.ts +2 -2
- package/dist/models/StopAlertResponseBody.d.ts +4 -5
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +9 -7
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +5 -6
- package/dist/models/UnInstallClusterAddonsRequest.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +9 -7
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesShrinkRequest.d.ts +9 -7
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +9 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +2 -2
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +3 -3
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +4 -5
- package/dist/models/UpdateContactGroupForAlertResponseBody.js.map +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +5 -5
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +3 -3
- package/dist/models/UpdateKmsencryptionRequest.d.ts +6 -6
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +8 -8
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +2 -2
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +16 -4
- package/dist/models/UpdateResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +5 -5
- package/dist/models/UpdateTemplateRequest.d.ts +10 -7
- package/dist/models/UpdateTemplateRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +30 -23
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +7 -8
- package/dist/models/UpgradeClusterAddonsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +22 -16
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +10 -9
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/UpgradeClusterResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +539 -448
- package/src/models/AttachInstancesRequest.ts +59 -38
- package/src/models/AttachInstancesResponseBody.ts +4 -4
- package/src/models/AttachInstancesToNodePoolRequest.ts +14 -12
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -6
- package/src/models/CheckServiceRoleRequest.ts +2 -2
- package/src/models/CheckServiceRoleResponseBody.ts +4 -9
- package/src/models/CleanClusterUserPermissionsRequest.ts +3 -4
- package/src/models/CleanUserPermissionsRequest.ts +4 -5
- package/src/models/CleanUserPermissionsShrinkRequest.ts +4 -5
- package/src/models/CreateAutoRepairPolicyRequest.ts +17 -17
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/CreateAutoscalingConfigRequest.ts +42 -55
- package/src/models/CreateClusterDiagnosisRequest.ts +20 -24
- package/src/models/CreateClusterDiagnosisResponseBody.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +2 -2
- package/src/models/CreateClusterNodePoolRequest.ts +350 -312
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- package/src/models/CreateClusterRequest.ts +270 -347
- package/src/models/CreateKubernetesTriggerRequest.ts +8 -7
- package/src/models/CreateKubernetesTriggerResponseBody.ts +8 -7
- package/src/models/CreateTemplateRequest.ts +10 -9
- package/src/models/CreateTriggerRequest.ts +8 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupRequest.ts +1 -1
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteAlertContactGroupShrinkRequest.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteClusterNodepoolRequest.ts +5 -1
- package/src/models/DeleteClusterNodepoolResponseBody.ts +1 -1
- package/src/models/DeleteClusterNodesRequest.ts +10 -13
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +18 -27
- package/src/models/DeleteClusterShrinkRequest.ts +9 -11
- package/src/models/DeletePolicyInstanceRequest.ts +1 -1
- package/src/models/DeletePolicyInstanceResponseBody.ts +1 -1
- package/src/models/DeployPolicyInstanceRequest.ts +5 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonRequest.ts +18 -7
- package/src/models/DescribeAddonResponseBody.ts +14 -13
- package/src/models/DescribeAddonsRequest.ts +13 -11
- package/src/models/DescribeAddonsResponseBody.ts +4 -4
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +19 -19
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +11 -11
- package/src/models/DescribeClusterAddonMetadataResponseBody.ts +1 -1
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -16
- package/src/models/DescribeClusterDetailResponseBody.ts +101 -128
- package/src/models/DescribeClusterEventsRequest.ts +3 -3
- package/src/models/DescribeClusterEventsResponseBody.ts +22 -41
- package/src/models/DescribeClusterLogsResponse.ts +5 -5
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +233 -312
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +253 -331
- package/src/models/DescribeClusterNodesRequest.ts +30 -9
- package/src/models/DescribeClusterNodesResponseBody.ts +51 -38
- package/src/models/DescribeClusterResourcesRequest.ts +3 -3
- package/src/models/DescribeClusterResourcesResponse.ts +37 -48
- package/src/models/DescribeClusterTasksRequest.ts +1 -1
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -7
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -10
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterVulsResponseBody.ts +13 -19
- package/src/models/DescribeClustersForRegionRequest.ts +19 -30
- package/src/models/DescribeClustersForRegionResponseBody.ts +40 -67
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +18 -26
- package/src/models/DescribeClustersV1responseBody.ts +52 -77
- package/src/models/DescribeEventsForRegionRequest.ts +2 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +7 -11
- package/src/models/DescribeEventsRequest.ts +22 -38
- package/src/models/DescribeEventsResponseBody.ts +31 -50
- package/src/models/DescribeExternalAgentRequest.ts +6 -4
- package/src/models/DescribeExternalAgentResponseBody.ts +1 -1
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +24 -25
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +31 -32
- package/src/models/DescribeNodePoolVulsRequest.ts +4 -4
- package/src/models/DescribeNodePoolVulsResponseBody.ts +13 -18
- package/src/models/DescribePolicyDetailsResponseBody.ts +17 -21
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +30 -34
- package/src/models/DescribePolicyInstancesRequest.ts +2 -2
- package/src/models/DescribePolicyInstancesResponse.ts +20 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +7 -7
- package/src/models/DescribeRegionsRequest.ts +3 -21
- package/src/models/DescribeRegionsResponseBody.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +6 -5
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +5 -6
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +6 -7
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +20 -26
- package/src/models/DescribeTemplateAttributeRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeResponse.ts +16 -14
- package/src/models/DescribeTemplatesRequest.ts +7 -6
- package/src/models/DescribeTemplatesResponseBody.ts +19 -20
- package/src/models/DescribeTriggerRequest.ts +8 -7
- package/src/models/DescribeTriggerResponse.ts +12 -13
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +9 -4
- package/src/models/FixNodePoolVulsResponseBody.ts +1 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +21 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +5 -4
- package/src/models/GetClusterCheckResponseBody.ts +7 -7
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +6 -12
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +14 -26
- package/src/models/GetClusterInspectConfigResponseBody.ts +2 -2
- package/src/models/GetClusterInspectReportDetailRequest.ts +15 -18
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +30 -34
- package/src/models/GetKubernetesTriggerRequest.ts +8 -7
- package/src/models/GetKubernetesTriggerResponse.ts +11 -10
- package/src/models/GetUpgradeStatusResponseBody.ts +18 -19
- package/src/models/GrantPermissionsRequest.ts +19 -26
- package/src/models/InstallClusterAddonsRequest.ts +4 -4
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/InstallNodePoolComponentsRequest.ts +10 -10
- package/src/models/InstallNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListAddonsRequest.ts +17 -6
- package/src/models/ListAddonsResponseBody.ts +24 -15
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +20 -20
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +7 -7
- package/src/models/ListClusterAddonInstancesResponseBody.ts +7 -8
- package/src/models/ListClusterChecksRequest.ts +9 -2
- package/src/models/ListClusterChecksResponseBody.ts +7 -7
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +11 -11
- package/src/models/ListClusterKubeconfigStatesRequest.ts +9 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +32 -28
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +14 -14
- package/src/models/ListOperationPlansRequest.ts +1 -1
- package/src/models/ListOperationPlansResponseBody.ts +13 -15
- package/src/models/ListTagResourcesRequest.ts +6 -4
- package/src/models/ListTagResourcesResponseBody.ts +7 -7
- package/src/models/ListTagResourcesShrinkRequest.ts +6 -4
- package/src/models/ListUserKubeConfigStatesRequest.ts +8 -6
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +24 -25
- package/src/models/MigrateClusterRequest.ts +2 -2
- package/src/models/ModifyAutoRepairPolicyRequest.ts +15 -15
- package/src/models/ModifyClusterAddonRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +205 -267
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyClusterRequest.ts +106 -139
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -7
- package/src/models/ModifyPolicyInstanceRequest.ts +6 -6
- package/src/models/ModifyPolicyInstanceResponseBody.ts +1 -1
- package/src/models/Nodepool.ts +215 -262
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/QuotasValue.ts +1 -1
- package/src/models/RemoveNodePoolNodesRequest.ts +17 -13
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +17 -13
- package/src/models/RepairClusterNodePoolRequest.ts +14 -9
- package/src/models/RepairClusterNodePoolResponseBody.ts +1 -1
- package/src/models/RunClusterCheckRequest.ts +4 -9
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/StandardComponentsValue.ts +10 -9
- package/src/models/StartAlertRequest.ts +2 -2
- package/src/models/StartAlertResponseBody.ts +1 -1
- package/src/models/StopAlertRequest.ts +2 -2
- package/src/models/StopAlertResponseBody.ts +4 -5
- package/src/models/TagResourcesRequest.ts +9 -7
- package/src/models/UnInstallClusterAddonsRequest.ts +5 -6
- package/src/models/UntagResourcesRequest.ts +9 -7
- package/src/models/UntagResourcesShrinkRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +2 -2
- package/src/models/UpdateClusterInspectConfigRequest.ts +3 -3
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +4 -5
- package/src/models/UpdateControlPlaneLogRequest.ts +5 -5
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +3 -3
- package/src/models/UpdateKmsencryptionRequest.ts +6 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +8 -8
- package/src/models/UpdateNodePoolComponentResponseBody.ts +2 -2
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +16 -4
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +5 -5
- package/src/models/UpdateTemplateRequest.ts +10 -7
- package/src/models/UpdateUserPermissionsRequest.ts +30 -23
- package/src/models/UpgradeClusterAddonsRequest.ts +7 -8
- package/src/models/UpgradeClusterNodepoolRequest.ts +22 -16
- package/src/models/UpgradeClusterRequest.ts +10 -9
- package/src/models/UpgradeClusterResponseBody.ts +3 -3
- package/src/models/model.ts +3 -0
|
@@ -12,10 +12,10 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
16
|
-
* Valid values:
|
|
17
|
-
* - true:
|
|
18
|
-
* - false:
|
|
15
|
+
* Specifies whether to enable intelligent managed mode.
|
|
16
|
+
* Valid values:
|
|
17
|
+
* - true: enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
18
|
+
* - false: does not enable intelligent managed mode.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* true
|
|
@@ -45,13 +45,9 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
45
45
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* This parameter is deprecated.
|
|
48
|
+
* [This parameter is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
49
49
|
*
|
|
50
|
-
* The
|
|
51
|
-
*
|
|
52
|
-
* **
|
|
53
|
-
*
|
|
54
|
-
* **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
50
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
55
51
|
*
|
|
56
52
|
* @example
|
|
57
53
|
* null
|
|
@@ -61,19 +57,14 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
61
57
|
eipBandwidth?: number;
|
|
62
58
|
/**
|
|
63
59
|
* @remarks
|
|
64
|
-
* This parameter is deprecated.
|
|
65
|
-
*
|
|
66
|
-
* The metering method of the EIP. Valid values:
|
|
60
|
+
* [This parameter is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
67
61
|
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
62
|
+
* The billing method for the EIP. Valid values:
|
|
63
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
64
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
70
65
|
*
|
|
71
66
|
* Default value: `PayByBandwidth`.
|
|
72
67
|
*
|
|
73
|
-
* **
|
|
74
|
-
*
|
|
75
|
-
* **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
76
|
-
*
|
|
77
68
|
* @example
|
|
78
69
|
* null
|
|
79
70
|
*
|
|
@@ -82,10 +73,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
82
73
|
eipInternetChargeType?: string;
|
|
83
74
|
/**
|
|
84
75
|
* @remarks
|
|
85
|
-
* Specifies whether to enable
|
|
76
|
+
* Specifies whether to enable automatic scaling. Valid values:
|
|
86
77
|
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
78
|
+
* - `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).
|
|
79
|
+
*
|
|
80
|
+
* - `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.
|
|
81
|
+
*
|
|
82
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
89
83
|
*
|
|
90
84
|
* Default value: `false`.
|
|
91
85
|
*
|
|
@@ -95,18 +89,15 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
95
89
|
enable?: boolean;
|
|
96
90
|
/**
|
|
97
91
|
* @remarks
|
|
98
|
-
* This parameter is deprecated.
|
|
92
|
+
* [This parameter is deprecated] This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
99
93
|
*
|
|
100
|
-
* Specifies whether to associate an
|
|
94
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
101
95
|
*
|
|
102
|
-
*
|
|
103
|
-
* * `false`: does not associate an EIP with the node pool.
|
|
104
|
-
*
|
|
105
|
-
* Default value: `false`.
|
|
96
|
+
* - `true`: associates an EIP.
|
|
106
97
|
*
|
|
107
|
-
*
|
|
98
|
+
* - `false`: does not associate an EIP.
|
|
108
99
|
*
|
|
109
|
-
*
|
|
100
|
+
* Default value: `false`.
|
|
110
101
|
*
|
|
111
102
|
* @example
|
|
112
103
|
* null
|
|
@@ -116,7 +107,9 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
116
107
|
isBondEip?: boolean;
|
|
117
108
|
/**
|
|
118
109
|
* @remarks
|
|
119
|
-
* The maximum number
|
|
110
|
+
* 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`.
|
|
111
|
+
*
|
|
112
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
120
113
|
*
|
|
121
114
|
* @example
|
|
122
115
|
* 10
|
|
@@ -124,7 +117,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
124
117
|
maxInstances?: number;
|
|
125
118
|
/**
|
|
126
119
|
* @remarks
|
|
127
|
-
* The minimum number
|
|
120
|
+
* 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`.
|
|
121
|
+
*
|
|
122
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
123
|
+
*
|
|
124
|
+
* > - 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.
|
|
125
|
+
* > - 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.
|
|
128
126
|
*
|
|
129
127
|
* @example
|
|
130
128
|
* 1
|
|
@@ -132,16 +130,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
132
130
|
minInstances?: number;
|
|
133
131
|
/**
|
|
134
132
|
* @remarks
|
|
135
|
-
* The instance type
|
|
133
|
+
* The elastic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
136
134
|
*
|
|
137
|
-
*
|
|
138
|
-
* * `gpu`: GPU-accelerated instance.
|
|
139
|
-
* * `gpushare`: shared GPU-accelerated instance.
|
|
140
|
-
* * `spot`: preemptible instance.
|
|
135
|
+
* - `cpu`: regular instance type.
|
|
141
136
|
*
|
|
142
|
-
*
|
|
137
|
+
* - `gpu`: GPU instance type.
|
|
138
|
+
*
|
|
139
|
+
* - `gpushare`: GPU-shared instance type.
|
|
143
140
|
*
|
|
144
|
-
*
|
|
141
|
+
* - `spot`: spot instance type.
|
|
142
|
+
*
|
|
143
|
+
* Default value: `cpu`.
|
|
144
|
+
* >Notice: This parameter cannot be modified after the node pool is created.
|
|
145
145
|
*
|
|
146
146
|
* @example
|
|
147
147
|
* cpu
|
|
@@ -183,7 +183,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
183
183
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
184
184
|
/**
|
|
185
185
|
* @remarks
|
|
186
|
-
* The Lingjun cluster
|
|
186
|
+
* The ID of the Lingjun cluster to associate with when creating a Lingjun node pool.
|
|
187
187
|
*
|
|
188
188
|
* @example
|
|
189
189
|
* i1169130516633730****
|
|
@@ -191,7 +191,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
191
191
|
clusterId?: string;
|
|
192
192
|
/**
|
|
193
193
|
* @remarks
|
|
194
|
-
* The ID of the Lingjun
|
|
194
|
+
* The group ID of the Lingjun cluster to associate with when creating a Lingjun node pool.
|
|
195
195
|
*
|
|
196
196
|
* @example
|
|
197
197
|
* ng-ec3c96ff0aa****
|
|
@@ -223,9 +223,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
223
223
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
224
224
|
/**
|
|
225
225
|
* @remarks
|
|
226
|
-
* This
|
|
226
|
+
* [This field is deprecated]
|
|
227
227
|
*
|
|
228
|
-
* The bandwidth of the enhanced edge node pool
|
|
228
|
+
* The network bandwidth of the enhanced edge node pool, in Mbit/s.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* null
|
|
@@ -233,9 +233,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
233
233
|
bandwidth?: number;
|
|
234
234
|
/**
|
|
235
235
|
* @remarks
|
|
236
|
-
* This
|
|
236
|
+
* [This field is deprecated]
|
|
237
237
|
*
|
|
238
|
-
* The
|
|
238
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
239
239
|
*
|
|
240
240
|
* @example
|
|
241
241
|
* null
|
|
@@ -243,9 +243,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
243
243
|
ccnId?: string;
|
|
244
244
|
/**
|
|
245
245
|
* @remarks
|
|
246
|
-
* This
|
|
246
|
+
* [This field is deprecated]
|
|
247
247
|
*
|
|
248
|
-
* The region
|
|
248
|
+
* The region of the Cloud Connect Network (CCN) instance associated with the enhanced edge node pool.
|
|
249
249
|
*
|
|
250
250
|
* @example
|
|
251
251
|
* null
|
|
@@ -253,9 +253,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
253
253
|
ccnRegionId?: string;
|
|
254
254
|
/**
|
|
255
255
|
* @remarks
|
|
256
|
-
* This
|
|
256
|
+
* [This field is deprecated]
|
|
257
257
|
*
|
|
258
|
-
* The
|
|
258
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
259
259
|
*
|
|
260
260
|
* @example
|
|
261
261
|
* null
|
|
@@ -263,9 +263,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
263
263
|
cenId?: string;
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* This
|
|
266
|
+
* [This field is deprecated]
|
|
267
267
|
*
|
|
268
|
-
* The subscription duration of the enhanced edge node pool
|
|
268
|
+
* The subscription duration of the enhanced edge node pool, in months.
|
|
269
269
|
*
|
|
270
270
|
* @example
|
|
271
271
|
* null
|
|
@@ -303,12 +303,13 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
303
303
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
304
304
|
/**
|
|
305
305
|
* @remarks
|
|
306
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After
|
|
306
|
+
* 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:
|
|
307
307
|
*
|
|
308
|
-
*
|
|
309
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
308
|
+
* - `true`: installs the CloudMonitor agent on ECS nodes.
|
|
310
309
|
*
|
|
311
|
-
*
|
|
310
|
+
* - `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
311
|
+
*
|
|
312
|
+
* Default value: `false`.
|
|
312
313
|
*
|
|
313
314
|
* @example
|
|
314
315
|
* false
|
|
@@ -316,10 +317,10 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
316
317
|
cmsEnabled?: boolean;
|
|
317
318
|
/**
|
|
318
319
|
* @remarks
|
|
319
|
-
* The CPU management policy
|
|
320
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
320
321
|
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
322
|
+
* - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
323
|
+
* - `none`: uses the existing default CPU affinity scheme.
|
|
323
324
|
*
|
|
324
325
|
* Default value: `none`.
|
|
325
326
|
*
|
|
@@ -329,17 +330,27 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
329
330
|
cpuPolicy?: string;
|
|
330
331
|
/**
|
|
331
332
|
* @remarks
|
|
332
|
-
* The labels
|
|
333
|
+
* The node labels. Adds labels to Kubernetes cluster nodes.
|
|
333
334
|
*/
|
|
334
335
|
labels?: Tag[];
|
|
335
336
|
/**
|
|
336
337
|
* @remarks
|
|
337
|
-
*
|
|
338
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
339
|
+
* > 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.
|
|
340
|
+
*
|
|
341
|
+
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
342
|
+
*
|
|
343
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
344
|
+
*
|
|
345
|
+
* - 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.
|
|
346
|
+
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
347
|
+
* - The node IP is the full private IP address of the node.
|
|
338
348
|
*
|
|
339
|
-
*
|
|
340
|
-
* * The node IP address in a custom node name is the private IP address of the node.
|
|
349
|
+
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
341
350
|
*
|
|
342
|
-
*
|
|
351
|
+
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
352
|
+
*
|
|
353
|
+
* - 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.
|
|
343
354
|
*
|
|
344
355
|
* @example
|
|
345
356
|
* aliyun.com192.XX.YY.55test
|
|
@@ -347,7 +358,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
347
358
|
nodeNameMode?: string;
|
|
348
359
|
/**
|
|
349
360
|
* @remarks
|
|
350
|
-
* The user
|
|
361
|
+
* 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).
|
|
351
362
|
*
|
|
352
363
|
* @example
|
|
353
364
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -355,11 +366,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
355
366
|
preUserData?: string;
|
|
356
367
|
/**
|
|
357
368
|
* @remarks
|
|
358
|
-
* The
|
|
369
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
359
370
|
*
|
|
360
|
-
*
|
|
361
|
-
*
|
|
362
|
-
*
|
|
371
|
+
* - containerd: recommended. Supported by all cluster versions.
|
|
372
|
+
* - Sandboxed-Container.runv: sandboxed container runtime that provides higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
373
|
+
* - docker: no longer maintained. Supported by clusters of version 1.22 and earlier.
|
|
363
374
|
*
|
|
364
375
|
* Default value: containerd.
|
|
365
376
|
*
|
|
@@ -369,7 +380,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
369
380
|
runtime?: string;
|
|
370
381
|
/**
|
|
371
382
|
* @remarks
|
|
372
|
-
* The
|
|
383
|
+
* The container runtime version.
|
|
373
384
|
*
|
|
374
385
|
* @example
|
|
375
386
|
* 1.6.38
|
|
@@ -377,12 +388,16 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
377
388
|
runtimeVersion?: string;
|
|
378
389
|
/**
|
|
379
390
|
* @remarks
|
|
380
|
-
* The
|
|
391
|
+
* The taint configuration.
|
|
381
392
|
*/
|
|
382
393
|
taints?: Taint[];
|
|
383
394
|
/**
|
|
384
395
|
* @remarks
|
|
385
|
-
* Specifies whether the nodes
|
|
396
|
+
* Specifies whether the nodes added through scale-out are unschedulable.
|
|
397
|
+
*
|
|
398
|
+
* - true: unschedulable.
|
|
399
|
+
*
|
|
400
|
+
* - false: schedulable.
|
|
386
401
|
*
|
|
387
402
|
* @example
|
|
388
403
|
* true
|
|
@@ -390,7 +405,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
390
405
|
unschedulable?: boolean;
|
|
391
406
|
/**
|
|
392
407
|
* @remarks
|
|
393
|
-
* The user
|
|
408
|
+
* 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).
|
|
394
409
|
*
|
|
395
410
|
* @example
|
|
396
411
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -444,17 +459,17 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
444
459
|
export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
445
460
|
/**
|
|
446
461
|
* @remarks
|
|
447
|
-
*
|
|
462
|
+
* Specifies whether manual approval is required for node repair.
|
|
448
463
|
*/
|
|
449
464
|
approvalRequired?: boolean;
|
|
450
465
|
/**
|
|
451
466
|
* @remarks
|
|
452
|
-
* Specifies whether to allow node
|
|
467
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
453
468
|
*
|
|
454
|
-
*
|
|
455
|
-
*
|
|
469
|
+
* - `true`: allows node restarts.
|
|
470
|
+
* - `false`: does not allow node restarts.
|
|
456
471
|
*
|
|
457
|
-
*
|
|
472
|
+
* Default value: `true`.
|
|
458
473
|
*
|
|
459
474
|
* @example
|
|
460
475
|
* true
|
|
@@ -486,12 +501,11 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
486
501
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
487
502
|
/**
|
|
488
503
|
* @remarks
|
|
489
|
-
* Specifies whether to allow
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
* * `false`: does not allow the auto upgrade of the kubelet.
|
|
504
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
505
|
+
* - `true`: allows automatic kubelet upgrades.
|
|
506
|
+
* - `false`: does not allow automatic kubelet upgrades.
|
|
493
507
|
*
|
|
494
|
-
*
|
|
508
|
+
* Default value: `true`.
|
|
495
509
|
*
|
|
496
510
|
* @example
|
|
497
511
|
* true
|
|
@@ -499,10 +513,10 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
499
513
|
autoUpgradeKubelet?: boolean;
|
|
500
514
|
/**
|
|
501
515
|
* @remarks
|
|
502
|
-
* Specifies whether to allow
|
|
516
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
517
|
+
* - `true`: allows automatic operating system upgrades.
|
|
518
|
+
* - `false`: does not allow automatic operating system upgrades.
|
|
503
519
|
*
|
|
504
|
-
* * `true`: allows the auto upgrade of the OS.
|
|
505
|
-
* * `false`: does not allow the auto upgrade of the OS.
|
|
506
520
|
*
|
|
507
521
|
* Default value: `false`.
|
|
508
522
|
*
|
|
@@ -512,12 +526,11 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
512
526
|
autoUpgradeOs?: boolean;
|
|
513
527
|
/**
|
|
514
528
|
* @remarks
|
|
515
|
-
* Specifies whether to allow
|
|
529
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
530
|
+
* - `true`: allows automatic runtime upgrades.
|
|
531
|
+
* - `false`: does not allow automatic runtime upgrades.
|
|
516
532
|
*
|
|
517
|
-
*
|
|
518
|
-
* * `false`: does not allow the auto upgrade of the runtime.
|
|
519
|
-
*
|
|
520
|
-
* Default value: `false`.
|
|
533
|
+
* Default value: `true`.
|
|
521
534
|
*
|
|
522
535
|
* @example
|
|
523
536
|
* false
|
|
@@ -551,9 +564,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
551
564
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
552
565
|
/**
|
|
553
566
|
* @remarks
|
|
554
|
-
*
|
|
567
|
+
* The packages to exclude during vulnerability fixes.
|
|
555
568
|
*
|
|
556
|
-
* Default
|
|
569
|
+
* Default value: `kernel`.
|
|
557
570
|
*
|
|
558
571
|
* @example
|
|
559
572
|
* kernel
|
|
@@ -561,10 +574,11 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
561
574
|
excludePackages?: string;
|
|
562
575
|
/**
|
|
563
576
|
* @remarks
|
|
564
|
-
* Specifies whether to allow node
|
|
577
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
578
|
+
* - `true`: allows node restarts.
|
|
579
|
+
* - `false`: does not allow node restarts.
|
|
565
580
|
*
|
|
566
|
-
*
|
|
567
|
-
* * `false`: does not allow node restart. If `auto_vul_fix` is set to true, the default value of this parameter is `false`. If `auto_vul_fix` is set to false, the default value of this parameter is `false`.
|
|
581
|
+
* Default value: `true`.
|
|
568
582
|
*
|
|
569
583
|
* @example
|
|
570
584
|
* false
|
|
@@ -572,13 +586,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
572
586
|
restartNode?: boolean;
|
|
573
587
|
/**
|
|
574
588
|
* @remarks
|
|
575
|
-
* The
|
|
589
|
+
* The vulnerability levels that are allowed for automatic fixes, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
576
590
|
*
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
*
|
|
591
|
+
* - `asap`: high
|
|
592
|
+
* - `later`: medium
|
|
593
|
+
* - `nntf`: low
|
|
580
594
|
*
|
|
581
|
-
*
|
|
595
|
+
* Default value: `asap`.
|
|
582
596
|
*
|
|
583
597
|
* @example
|
|
584
598
|
* asap,nntf
|
|
@@ -612,14 +626,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
612
626
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
613
627
|
/**
|
|
614
628
|
* @remarks
|
|
615
|
-
*
|
|
629
|
+
* [This parameter is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
616
630
|
*
|
|
617
|
-
*
|
|
618
|
-
* * `false`: disables auto OS upgrade.
|
|
631
|
+
* Specifies whether to enable automatic upgrades. Valid values:
|
|
619
632
|
*
|
|
620
|
-
*
|
|
633
|
+
* - `true`: enables automatic upgrades.
|
|
621
634
|
*
|
|
622
|
-
*
|
|
635
|
+
* - `false`: disables automatic upgrades.
|
|
623
636
|
*
|
|
624
637
|
* @example
|
|
625
638
|
* null
|
|
@@ -629,7 +642,8 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
629
642
|
autoUpgrade?: boolean;
|
|
630
643
|
/**
|
|
631
644
|
* @remarks
|
|
632
|
-
* The maximum number of nodes
|
|
645
|
+
* The maximum number of unavailable nodes.
|
|
646
|
+
* Valid values: [1,1000\\].
|
|
633
647
|
*
|
|
634
648
|
* Default value: 1.
|
|
635
649
|
*
|
|
@@ -639,7 +653,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
639
653
|
maxUnavailable?: number;
|
|
640
654
|
/**
|
|
641
655
|
* @remarks
|
|
642
|
-
* The number of nodes
|
|
656
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
657
|
+
*
|
|
658
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster workload.
|
|
659
|
+
*
|
|
660
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
643
661
|
*
|
|
644
662
|
* @example
|
|
645
663
|
* 0
|
|
@@ -647,7 +665,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
647
665
|
surge?: number;
|
|
648
666
|
/**
|
|
649
667
|
* @remarks
|
|
650
|
-
* The percentage of
|
|
668
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
669
|
+
*
|
|
670
|
+
* 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.
|
|
651
671
|
*
|
|
652
672
|
* @example
|
|
653
673
|
* 0
|
|
@@ -684,12 +704,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
684
704
|
autoFaultDiagnosis?: boolean;
|
|
685
705
|
/**
|
|
686
706
|
* @remarks
|
|
687
|
-
* Specifies whether to
|
|
707
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
708
|
+
*
|
|
709
|
+
* - `true`: automatically repairs nodes.
|
|
688
710
|
*
|
|
689
|
-
*
|
|
690
|
-
* * `false`: disables auto node repair.
|
|
711
|
+
* - `false`: does not automatically repair nodes.
|
|
691
712
|
*
|
|
692
|
-
*
|
|
713
|
+
* Default value: `true`.
|
|
693
714
|
*
|
|
694
715
|
* @example
|
|
695
716
|
* true
|
|
@@ -697,17 +718,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
697
718
|
autoRepair?: boolean;
|
|
698
719
|
/**
|
|
699
720
|
* @remarks
|
|
700
|
-
* The
|
|
721
|
+
* The automatic node repair policy.
|
|
701
722
|
*/
|
|
702
723
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
703
724
|
/**
|
|
704
725
|
* @remarks
|
|
705
|
-
* Specifies whether to
|
|
726
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
727
|
+
* - `true`: enables automatic upgrades.
|
|
728
|
+
* - `false`: disables automatic upgrades.
|
|
706
729
|
*
|
|
707
|
-
*
|
|
708
|
-
* * `false`: disables auto node upgrade.
|
|
709
|
-
*
|
|
710
|
-
* If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
|
|
730
|
+
* Default value: `true`.
|
|
711
731
|
*
|
|
712
732
|
* @example
|
|
713
733
|
* true
|
|
@@ -715,17 +735,17 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
715
735
|
autoUpgrade?: boolean;
|
|
716
736
|
/**
|
|
717
737
|
* @remarks
|
|
718
|
-
* The
|
|
738
|
+
* The automatic node upgrade policy.
|
|
719
739
|
*/
|
|
720
740
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
721
741
|
/**
|
|
722
742
|
* @remarks
|
|
723
|
-
* Specifies whether to
|
|
743
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
724
744
|
*
|
|
725
|
-
*
|
|
726
|
-
*
|
|
745
|
+
* - `true`: allows automatic CVE fixes.
|
|
746
|
+
* - `false`: does not allow automatic CVE fixes.
|
|
727
747
|
*
|
|
728
|
-
*
|
|
748
|
+
* Default value: `true`.
|
|
729
749
|
*
|
|
730
750
|
* @example
|
|
731
751
|
* true
|
|
@@ -733,15 +753,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
733
753
|
autoVulFix?: boolean;
|
|
734
754
|
/**
|
|
735
755
|
* @remarks
|
|
736
|
-
* The
|
|
756
|
+
* The automatic CVE fix policy.
|
|
737
757
|
*/
|
|
738
758
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
739
759
|
/**
|
|
740
760
|
* @remarks
|
|
741
|
-
* Specifies whether to enable the managed node pool
|
|
761
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
762
|
+
*
|
|
763
|
+
* - `true`: enables the managed feature.
|
|
742
764
|
*
|
|
743
|
-
*
|
|
744
|
-
* * `false`: disables the managed node pool feature. Other parameters in this section take effect only when enable is set to true.
|
|
765
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
745
766
|
*
|
|
746
767
|
* Default value: false.
|
|
747
768
|
*
|
|
@@ -751,7 +772,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
751
772
|
enable?: boolean;
|
|
752
773
|
/**
|
|
753
774
|
* @remarks
|
|
754
|
-
*
|
|
775
|
+
* [This parameter is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
776
|
+
*
|
|
777
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
755
778
|
*
|
|
756
779
|
* @deprecated
|
|
757
780
|
*/
|
|
@@ -808,7 +831,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
808
831
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
809
832
|
/**
|
|
810
833
|
* @remarks
|
|
811
|
-
*
|
|
834
|
+
* The custom configuration of the node component.
|
|
812
835
|
*/
|
|
813
836
|
customConfig?: { [key: string]: string };
|
|
814
837
|
static names(): { [key: string]: string } {
|
|
@@ -838,12 +861,12 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
838
861
|
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
839
862
|
/**
|
|
840
863
|
* @remarks
|
|
841
|
-
*
|
|
864
|
+
* The node component configuration.
|
|
842
865
|
*/
|
|
843
866
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
844
867
|
/**
|
|
845
868
|
* @remarks
|
|
846
|
-
*
|
|
869
|
+
* The node component name.
|
|
847
870
|
*
|
|
848
871
|
* @example
|
|
849
872
|
* kubelet
|
|
@@ -851,7 +874,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
851
874
|
name?: string;
|
|
852
875
|
/**
|
|
853
876
|
* @remarks
|
|
854
|
-
*
|
|
877
|
+
* The node component version.
|
|
855
878
|
*
|
|
856
879
|
* @example
|
|
857
880
|
* 1.33.3-aliyun.1
|
|
@@ -888,7 +911,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
888
911
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
889
912
|
/**
|
|
890
913
|
* @remarks
|
|
891
|
-
*
|
|
914
|
+
* Kubelet parameter configuration.
|
|
892
915
|
*/
|
|
893
916
|
kubeletConfiguration?: KubeletConfig;
|
|
894
917
|
static names(): { [key: string]: string } {
|
|
@@ -918,7 +941,7 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
918
941
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
919
942
|
/**
|
|
920
943
|
* @remarks
|
|
921
|
-
* The
|
|
944
|
+
* The node pool name.
|
|
922
945
|
*
|
|
923
946
|
* This parameter is required.
|
|
924
947
|
*
|
|
@@ -928,7 +951,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
928
951
|
name?: string;
|
|
929
952
|
/**
|
|
930
953
|
* @remarks
|
|
931
|
-
* The
|
|
954
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
955
|
+
*
|
|
956
|
+
* 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.
|
|
932
957
|
*
|
|
933
958
|
* @example
|
|
934
959
|
* rg-acfmyvw3wjmb****
|
|
@@ -936,11 +961,12 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
936
961
|
resourceGroupId?: string;
|
|
937
962
|
/**
|
|
938
963
|
* @remarks
|
|
939
|
-
* The
|
|
964
|
+
* The node pool type. Valid values:
|
|
940
965
|
*
|
|
941
|
-
*
|
|
942
|
-
*
|
|
943
|
-
*
|
|
966
|
+
* - `ess`: regular node pool (includes managed features and elastic scaling features).
|
|
967
|
+
* - `edge`: edge node pool.
|
|
968
|
+
* - `lingjun`: Lingjun node pool.
|
|
969
|
+
* - `hybrid`: hybrid cloud node pool.
|
|
944
970
|
*
|
|
945
971
|
* @example
|
|
946
972
|
* ess
|
|
@@ -974,7 +1000,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
974
1000
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
975
1001
|
/**
|
|
976
1002
|
* @remarks
|
|
977
|
-
* The ID
|
|
1003
|
+
* The private pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
978
1004
|
*
|
|
979
1005
|
* @example
|
|
980
1006
|
* eap-bp67acfmxazb4****
|
|
@@ -982,11 +1008,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
982
1008
|
id?: string;
|
|
983
1009
|
/**
|
|
984
1010
|
* @remarks
|
|
985
|
-
* The
|
|
986
|
-
*
|
|
987
|
-
*
|
|
988
|
-
*
|
|
989
|
-
* * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
|
|
1011
|
+
* 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:
|
|
1012
|
+
* - `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.
|
|
1013
|
+
* - `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.
|
|
1014
|
+
* - `None`: none mode. Private pool capacity is not used to launch instances.
|
|
990
1015
|
*
|
|
991
1016
|
* @example
|
|
992
1017
|
* Target
|
|
@@ -1018,16 +1043,16 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1018
1043
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1019
1044
|
/**
|
|
1020
1045
|
* @remarks
|
|
1021
|
-
*
|
|
1046
|
+
* 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.
|
|
1022
1047
|
*/
|
|
1023
1048
|
privatePoolIds?: string[];
|
|
1024
1049
|
/**
|
|
1025
1050
|
* @remarks
|
|
1026
|
-
* The resource pool policy used when creating
|
|
1027
|
-
* PrivatePoolFirst:
|
|
1028
|
-
* PrivatePoolOnly:
|
|
1029
|
-
* None:
|
|
1030
|
-
* Default
|
|
1051
|
+
* 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:
|
|
1052
|
+
* 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.
|
|
1053
|
+
* 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.
|
|
1054
|
+
* None: no resource pool policy is used.
|
|
1055
|
+
* Default value: None.
|
|
1031
1056
|
*
|
|
1032
1057
|
* @example
|
|
1033
1058
|
* PrivatePoolFirst
|
|
@@ -1062,7 +1087,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1062
1087
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1063
1088
|
/**
|
|
1064
1089
|
* @remarks
|
|
1065
|
-
* The instance type
|
|
1090
|
+
* The spot instance type.
|
|
1066
1091
|
*
|
|
1067
1092
|
* @example
|
|
1068
1093
|
* ecs.c6.large
|
|
@@ -1070,7 +1095,12 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1070
1095
|
instanceType?: string;
|
|
1071
1096
|
/**
|
|
1072
1097
|
* @remarks
|
|
1073
|
-
* The price
|
|
1098
|
+
* The maximum price per instance.
|
|
1099
|
+
* <props="china">Unit: CNY/hour.
|
|
1100
|
+
*
|
|
1101
|
+
*
|
|
1102
|
+
*
|
|
1103
|
+
* <props="intl">Unit: USD/hour..
|
|
1074
1104
|
*
|
|
1075
1105
|
* @example
|
|
1076
1106
|
* 0.39
|
|
@@ -1142,10 +1172,10 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1142
1172
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1143
1173
|
/**
|
|
1144
1174
|
* @remarks
|
|
1145
|
-
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when
|
|
1175
|
+
* 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:
|
|
1146
1176
|
*
|
|
1147
|
-
*
|
|
1148
|
-
*
|
|
1177
|
+
* - `true`: enables auto-renewal.
|
|
1178
|
+
* - `false`: disables auto-renewal.
|
|
1149
1179
|
*
|
|
1150
1180
|
* Default value: `false`.
|
|
1151
1181
|
*
|
|
@@ -1156,9 +1186,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1156
1186
|
/**
|
|
1157
1187
|
* @remarks
|
|
1158
1188
|
* The auto-renewal period. Valid values:
|
|
1159
|
-
*
|
|
1160
|
-
*
|
|
1161
|
-
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1189
|
+
* - When PeriodUnit=Week: 1, 2, 3.
|
|
1190
|
+
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1162
1191
|
*
|
|
1163
1192
|
* Default value: 1.
|
|
1164
1193
|
*
|
|
@@ -1168,7 +1197,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1168
1197
|
autoRenewPeriod?: number;
|
|
1169
1198
|
/**
|
|
1170
1199
|
* @remarks
|
|
1171
|
-
* This parameter is deprecated
|
|
1200
|
+
* [This parameter is deprecated] Use the security_hardening_os parameter instead.
|
|
1172
1201
|
*
|
|
1173
1202
|
* @example
|
|
1174
1203
|
* null
|
|
@@ -1178,10 +1207,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1178
1207
|
cisEnabled?: boolean;
|
|
1179
1208
|
/**
|
|
1180
1209
|
* @remarks
|
|
1181
|
-
*
|
|
1210
|
+
* 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:
|
|
1182
1211
|
*
|
|
1183
|
-
*
|
|
1184
|
-
*
|
|
1212
|
+
* - `true`: allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1213
|
+
* - `false`: does not allow automatic creation of pay-as-you-go instances.
|
|
1185
1214
|
*
|
|
1186
1215
|
* @example
|
|
1187
1216
|
* true
|
|
@@ -1189,12 +1218,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1189
1218
|
compensateWithOnDemand?: boolean;
|
|
1190
1219
|
/**
|
|
1191
1220
|
* @remarks
|
|
1192
|
-
* The
|
|
1221
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1193
1222
|
*/
|
|
1194
1223
|
dataDisks?: DataDisk[];
|
|
1195
1224
|
/**
|
|
1196
1225
|
* @remarks
|
|
1197
|
-
* The ID
|
|
1226
|
+
* 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.
|
|
1227
|
+
*
|
|
1228
|
+
*
|
|
1229
|
+
* >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..
|
|
1198
1230
|
*
|
|
1199
1231
|
* @example
|
|
1200
1232
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1202,7 +1234,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1202
1234
|
deploymentsetId?: string;
|
|
1203
1235
|
/**
|
|
1204
1236
|
* @remarks
|
|
1205
|
-
* The
|
|
1237
|
+
* The desired number of nodes in the node pool.
|
|
1238
|
+
*
|
|
1239
|
+
* 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.
|
|
1240
|
+
*
|
|
1241
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
1206
1242
|
*
|
|
1207
1243
|
* @example
|
|
1208
1244
|
* 0
|
|
@@ -1210,12 +1246,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1210
1246
|
desiredSize?: number;
|
|
1211
1247
|
/**
|
|
1212
1248
|
* @remarks
|
|
1213
|
-
*
|
|
1249
|
+
* The block device initialization configuration.
|
|
1214
1250
|
*/
|
|
1215
1251
|
diskInit?: DiskInit[];
|
|
1216
1252
|
/**
|
|
1217
1253
|
* @remarks
|
|
1218
|
-
* The custom image ID.
|
|
1254
|
+
* The custom image ID. The system-provided image is used by default.
|
|
1219
1255
|
*
|
|
1220
1256
|
* @example
|
|
1221
1257
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1223,18 +1259,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1223
1259
|
imageId?: string;
|
|
1224
1260
|
/**
|
|
1225
1261
|
* @remarks
|
|
1226
|
-
* The
|
|
1262
|
+
* The operating system image type. Valid values:
|
|
1227
1263
|
*
|
|
1228
|
-
*
|
|
1229
|
-
*
|
|
1230
|
-
*
|
|
1231
|
-
*
|
|
1232
|
-
*
|
|
1233
|
-
*
|
|
1234
|
-
*
|
|
1235
|
-
*
|
|
1236
|
-
*
|
|
1237
|
-
*
|
|
1264
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1265
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1266
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1267
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1268
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1269
|
+
* - `CentOS`: CentOS image.
|
|
1270
|
+
* - `Windows`: Windows image.
|
|
1271
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1272
|
+
* - `ContainerOS`: container-optimized image.
|
|
1273
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1238
1274
|
*
|
|
1239
1275
|
* @example
|
|
1240
1276
|
* AliyunLinux3
|
|
@@ -1242,12 +1278,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1242
1278
|
imageType?: string;
|
|
1243
1279
|
/**
|
|
1244
1280
|
* @remarks
|
|
1245
|
-
* The billing method
|
|
1281
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
1282
|
+
*
|
|
1283
|
+
* - `PrePaid`: subscription.
|
|
1246
1284
|
*
|
|
1247
|
-
*
|
|
1248
|
-
* * `PostPaid`: pay-as-you-go.
|
|
1285
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1249
1286
|
*
|
|
1250
|
-
* Default value: `PostPaid
|
|
1287
|
+
* Default value: `PostPaid`.
|
|
1251
1288
|
*
|
|
1252
1289
|
* This parameter is required.
|
|
1253
1290
|
*
|
|
@@ -1257,29 +1294,32 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1257
1294
|
instanceChargeType?: string;
|
|
1258
1295
|
/**
|
|
1259
1296
|
* @remarks
|
|
1260
|
-
*
|
|
1297
|
+
* The ECS instance metadata access configuration.
|
|
1261
1298
|
*/
|
|
1262
1299
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1263
1300
|
/**
|
|
1264
1301
|
* @remarks
|
|
1265
|
-
* The instance
|
|
1302
|
+
* The instance attribute configuration.
|
|
1266
1303
|
*/
|
|
1267
1304
|
instancePatterns?: InstancePatterns[];
|
|
1268
1305
|
/**
|
|
1269
1306
|
* @remarks
|
|
1270
|
-
* The instance types
|
|
1307
|
+
* 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.
|
|
1308
|
+
*
|
|
1309
|
+
* The number of supported instance types ranges from 1 to 10.
|
|
1310
|
+
*
|
|
1271
1311
|
*
|
|
1272
|
-
* >
|
|
1312
|
+
* > To ensure high availability, select multiple instance types.
|
|
1273
1313
|
*
|
|
1274
1314
|
* This parameter is required.
|
|
1275
1315
|
*/
|
|
1276
1316
|
instanceTypes?: string[];
|
|
1277
1317
|
/**
|
|
1278
1318
|
* @remarks
|
|
1279
|
-
* The
|
|
1319
|
+
* The billing method for public IP addresses. Valid values:
|
|
1280
1320
|
*
|
|
1281
|
-
*
|
|
1282
|
-
*
|
|
1321
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1322
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1283
1323
|
*
|
|
1284
1324
|
* @example
|
|
1285
1325
|
* PayByTraffic
|
|
@@ -1287,7 +1327,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1287
1327
|
internetChargeType?: string;
|
|
1288
1328
|
/**
|
|
1289
1329
|
* @remarks
|
|
1290
|
-
* The maximum outbound bandwidth
|
|
1330
|
+
* The maximum outbound bandwidth for the public IP address of a node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1291
1331
|
*
|
|
1292
1332
|
* @example
|
|
1293
1333
|
* 5
|
|
@@ -1295,9 +1335,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1295
1335
|
internetMaxBandwidthOut?: number;
|
|
1296
1336
|
/**
|
|
1297
1337
|
* @remarks
|
|
1298
|
-
* The name of the key pair
|
|
1338
|
+
* The name of the key pair for passwordless logon. You can specify either this parameter or `login_password`.
|
|
1299
1339
|
*
|
|
1300
|
-
* >
|
|
1340
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1301
1341
|
*
|
|
1302
1342
|
* @example
|
|
1303
1343
|
* np-key-name
|
|
@@ -1305,7 +1345,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1305
1345
|
keyPair?: string;
|
|
1306
1346
|
/**
|
|
1307
1347
|
* @remarks
|
|
1308
|
-
* Specifies whether to
|
|
1348
|
+
* Specifies whether to log on to the ECS instance as a non-root user.
|
|
1349
|
+
*
|
|
1350
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1351
|
+
*
|
|
1352
|
+
* - false: logs on as the root user.
|
|
1309
1353
|
*
|
|
1310
1354
|
* @example
|
|
1311
1355
|
* true
|
|
@@ -1313,7 +1357,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1313
1357
|
loginAsNonRoot?: boolean;
|
|
1314
1358
|
/**
|
|
1315
1359
|
* @remarks
|
|
1316
|
-
* The
|
|
1360
|
+
* 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.
|
|
1317
1361
|
*
|
|
1318
1362
|
* @example
|
|
1319
1363
|
* ****
|
|
@@ -1321,17 +1365,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1321
1365
|
loginPassword?: string;
|
|
1322
1366
|
/**
|
|
1323
1367
|
* @remarks
|
|
1324
|
-
* The
|
|
1325
|
-
*
|
|
1326
|
-
* * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
|
|
1368
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1327
1369
|
*
|
|
1328
|
-
*
|
|
1370
|
+
* - `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.
|
|
1329
1371
|
*
|
|
1330
|
-
*
|
|
1372
|
+
* - `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.
|
|
1331
1373
|
*
|
|
1332
|
-
*
|
|
1374
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1333
1375
|
*
|
|
1334
|
-
*
|
|
1376
|
+
* - `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.
|
|
1335
1377
|
*
|
|
1336
1378
|
* Default value: `PRIORITY`.
|
|
1337
1379
|
*
|
|
@@ -1341,7 +1383,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1341
1383
|
multiAzPolicy?: string;
|
|
1342
1384
|
/**
|
|
1343
1385
|
* @remarks
|
|
1344
|
-
* The minimum number of pay-as-you-go instances
|
|
1386
|
+
* 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.
|
|
1345
1387
|
*
|
|
1346
1388
|
* @example
|
|
1347
1389
|
* 0
|
|
@@ -1349,7 +1391,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1349
1391
|
onDemandBaseCapacity?: number;
|
|
1350
1392
|
/**
|
|
1351
1393
|
* @remarks
|
|
1352
|
-
* The percentage of pay-as-you-go instances among the
|
|
1394
|
+
* 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\\].
|
|
1353
1395
|
*
|
|
1354
1396
|
* @example
|
|
1355
1397
|
* 20
|
|
@@ -1357,10 +1399,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1357
1399
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1358
1400
|
/**
|
|
1359
1401
|
* @remarks
|
|
1360
|
-
* The subscription duration
|
|
1402
|
+
* 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`.
|
|
1361
1403
|
*
|
|
1362
|
-
*
|
|
1363
|
-
*
|
|
1404
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1405
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1364
1406
|
*
|
|
1365
1407
|
* @example
|
|
1366
1408
|
* 1
|
|
@@ -1368,10 +1410,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1368
1410
|
period?: number;
|
|
1369
1411
|
/**
|
|
1370
1412
|
* @remarks
|
|
1371
|
-
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when
|
|
1413
|
+
* 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`.
|
|
1372
1414
|
*
|
|
1373
|
-
*
|
|
1374
|
-
*
|
|
1415
|
+
* - `Month`: billed on a monthly basis.
|
|
1416
|
+
* - `Week`: billed on a weekly basis.
|
|
1375
1417
|
*
|
|
1376
1418
|
* Default value: `Month`.
|
|
1377
1419
|
*
|
|
@@ -1381,12 +1423,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1381
1423
|
periodUnit?: string;
|
|
1382
1424
|
/**
|
|
1383
1425
|
* @remarks
|
|
1384
|
-
*
|
|
1426
|
+
* [This parameter is deprecated] Use the `image_type` parameter instead.
|
|
1385
1427
|
*
|
|
1386
|
-
*
|
|
1387
|
-
*
|
|
1388
|
-
*
|
|
1389
|
-
*
|
|
1428
|
+
* The operating system distribution. Valid values:
|
|
1429
|
+
* - `CentOS`
|
|
1430
|
+
* - `AliyunLinux`
|
|
1431
|
+
* - `Windows`
|
|
1432
|
+
* - `WindowsCore`
|
|
1390
1433
|
*
|
|
1391
1434
|
* Default value: `AliyunLinux`.
|
|
1392
1435
|
*
|
|
@@ -1398,17 +1441,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1398
1441
|
platform?: string;
|
|
1399
1442
|
/**
|
|
1400
1443
|
* @remarks
|
|
1401
|
-
* The
|
|
1444
|
+
* The private pool configuration.
|
|
1402
1445
|
*/
|
|
1403
1446
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1404
1447
|
/**
|
|
1405
1448
|
* @remarks
|
|
1406
|
-
* The
|
|
1449
|
+
* The Worker RAM role name.
|
|
1407
1450
|
*
|
|
1408
|
-
* *
|
|
1409
|
-
* *
|
|
1451
|
+
* * If left empty, the default Worker RAM role created by the cluster is used.
|
|
1452
|
+
* * 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-`.
|
|
1410
1453
|
*
|
|
1411
|
-
* >
|
|
1454
|
+
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later..
|
|
1412
1455
|
*
|
|
1413
1456
|
* @example
|
|
1414
1457
|
* example-role
|
|
@@ -1416,24 +1459,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1416
1459
|
ramRoleName?: string;
|
|
1417
1460
|
/**
|
|
1418
1461
|
* @remarks
|
|
1419
|
-
* The
|
|
1462
|
+
* The list of ApsaraDB RDS instances.
|
|
1420
1463
|
*/
|
|
1421
1464
|
rdsInstances?: string[];
|
|
1422
1465
|
/**
|
|
1423
1466
|
* @remarks
|
|
1424
|
-
* The resource pool and resource pool policy used when creating instances.
|
|
1425
|
-
*
|
|
1426
|
-
* This parameter
|
|
1427
|
-
*
|
|
1428
|
-
* This parameter cannot be set together with `private_pool_options.match_criteria` or `private_pool_options.id`.
|
|
1467
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1468
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1469
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1429
1470
|
*/
|
|
1430
1471
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1431
1472
|
/**
|
|
1432
1473
|
* @remarks
|
|
1433
|
-
* The scaling mode
|
|
1474
|
+
* The scaling group mode. Valid values:
|
|
1434
1475
|
*
|
|
1435
|
-
*
|
|
1436
|
-
*
|
|
1476
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1477
|
+
* - `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.
|
|
1437
1478
|
*
|
|
1438
1479
|
* Default value: `release`.
|
|
1439
1480
|
*
|
|
@@ -1443,7 +1484,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1443
1484
|
scalingPolicy?: string;
|
|
1444
1485
|
/**
|
|
1445
1486
|
* @remarks
|
|
1446
|
-
* The
|
|
1487
|
+
* 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`.
|
|
1447
1488
|
*
|
|
1448
1489
|
* @example
|
|
1449
1490
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1453,15 +1494,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1453
1494
|
securityGroupId?: string;
|
|
1454
1495
|
/**
|
|
1455
1496
|
* @remarks
|
|
1456
|
-
* The
|
|
1497
|
+
* 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.
|
|
1457
1498
|
*/
|
|
1458
1499
|
securityGroupIds?: string[];
|
|
1459
1500
|
/**
|
|
1460
1501
|
* @remarks
|
|
1461
|
-
*
|
|
1502
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1462
1503
|
*
|
|
1463
|
-
*
|
|
1464
|
-
*
|
|
1504
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1505
|
+
* - `false`: does not enable Alibaba Cloud OS security hardening.
|
|
1465
1506
|
*
|
|
1466
1507
|
* Default value: `false`.
|
|
1467
1508
|
*
|
|
@@ -1471,7 +1512,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1471
1512
|
securityHardeningOs?: boolean;
|
|
1472
1513
|
/**
|
|
1473
1514
|
* @remarks
|
|
1474
|
-
* Specifies whether to enable MLPS
|
|
1515
|
+
* 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.
|
|
1475
1516
|
*
|
|
1476
1517
|
* @example
|
|
1477
1518
|
* false
|
|
@@ -1479,7 +1520,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1479
1520
|
socEnabled?: boolean;
|
|
1480
1521
|
/**
|
|
1481
1522
|
* @remarks
|
|
1482
|
-
* The number of instance types
|
|
1523
|
+
* The number of available instance types. The scaling group creates spot instances across multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1483
1524
|
*
|
|
1484
1525
|
* @example
|
|
1485
1526
|
* 5
|
|
@@ -1487,10 +1528,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1487
1528
|
spotInstancePools?: number;
|
|
1488
1529
|
/**
|
|
1489
1530
|
* @remarks
|
|
1490
|
-
*
|
|
1531
|
+
* 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:
|
|
1491
1532
|
*
|
|
1492
|
-
*
|
|
1493
|
-
*
|
|
1533
|
+
* - `true`: enables supplemental spot instances.
|
|
1534
|
+
* - `false`: disables supplemental spot instances.
|
|
1494
1535
|
*
|
|
1495
1536
|
* @example
|
|
1496
1537
|
* false
|
|
@@ -1498,18 +1539,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1498
1539
|
spotInstanceRemedy?: boolean;
|
|
1499
1540
|
/**
|
|
1500
1541
|
* @remarks
|
|
1501
|
-
* The
|
|
1542
|
+
* The price range configuration for the current spot instance type.
|
|
1502
1543
|
*/
|
|
1503
1544
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1504
1545
|
/**
|
|
1505
1546
|
* @remarks
|
|
1506
|
-
* The bidding policy
|
|
1547
|
+
* The bidding policy for spot instances. Valid values:
|
|
1548
|
+
*
|
|
1549
|
+
* - `NoSpot`: non-spot instance.
|
|
1550
|
+
*
|
|
1551
|
+
* - `SpotWithPriceLimit`: sets a maximum price for the spot instance.
|
|
1507
1552
|
*
|
|
1508
|
-
*
|
|
1509
|
-
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
1510
|
-
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
1553
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1511
1554
|
*
|
|
1512
|
-
* For more information, see [
|
|
1555
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1513
1556
|
*
|
|
1514
1557
|
* @example
|
|
1515
1558
|
* NoSpot
|
|
@@ -1517,12 +1560,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1517
1560
|
spotStrategy?: string;
|
|
1518
1561
|
/**
|
|
1519
1562
|
* @remarks
|
|
1520
|
-
* Specifies whether to enable
|
|
1563
|
+
* Specifies whether to enable burst (performance burst) for the system cloud disk. Valid values:
|
|
1564
|
+
* - true: enables burst.
|
|
1565
|
+
* - false: disables burst.
|
|
1521
1566
|
*
|
|
1522
|
-
*
|
|
1523
|
-
* * false: disables the burst feature.
|
|
1524
|
-
*
|
|
1525
|
-
* This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1567
|
+
* 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).
|
|
1526
1568
|
*
|
|
1527
1569
|
* @example
|
|
1528
1570
|
* true
|
|
@@ -1530,26 +1572,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1530
1572
|
systemDiskBurstingEnabled?: boolean;
|
|
1531
1573
|
/**
|
|
1532
1574
|
* @remarks
|
|
1533
|
-
* The
|
|
1534
|
-
*
|
|
1535
|
-
* * `cloud`: basic disk.
|
|
1536
|
-
* * `cloud_efficiency`: ultra disk.
|
|
1537
|
-
* * `cloud_ssd`: standard SSD.
|
|
1538
|
-
* * `cloud_essd`: ESSD.
|
|
1539
|
-
* * `cloud_auto`: ESSD AutoPL disk.
|
|
1540
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1575
|
+
* 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.
|
|
1541
1576
|
*/
|
|
1542
1577
|
systemDiskCategories?: string[];
|
|
1543
1578
|
/**
|
|
1544
1579
|
* @remarks
|
|
1545
|
-
* The
|
|
1546
|
-
*
|
|
1547
|
-
*
|
|
1548
|
-
*
|
|
1549
|
-
*
|
|
1550
|
-
*
|
|
1551
|
-
* * `cloud_auto`: ESSD AutoPL disk.
|
|
1552
|
-
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1580
|
+
* The system cloud disk type for nodes. Valid values:
|
|
1581
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1582
|
+
* - `cloud_ssd`: standard SSD.
|
|
1583
|
+
* - `cloud_essd`: Enterprise SSD (ESSD).
|
|
1584
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1585
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1553
1586
|
*
|
|
1554
1587
|
* Default value: `cloud_efficiency`.
|
|
1555
1588
|
*
|
|
@@ -1559,7 +1592,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1559
1592
|
systemDiskCategory?: string;
|
|
1560
1593
|
/**
|
|
1561
1594
|
* @remarks
|
|
1562
|
-
* The encryption algorithm
|
|
1595
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1563
1596
|
*
|
|
1564
1597
|
* @example
|
|
1565
1598
|
* aes-256
|
|
@@ -1567,7 +1600,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1567
1600
|
systemDiskEncryptAlgorithm?: string;
|
|
1568
1601
|
/**
|
|
1569
1602
|
* @remarks
|
|
1570
|
-
* Specifies whether to encrypt the system disk.
|
|
1603
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1604
|
+
*
|
|
1605
|
+
* - true: encrypts the system cloud disk.
|
|
1606
|
+
*
|
|
1607
|
+
* - false: does not encrypt the system cloud disk.
|
|
1571
1608
|
*
|
|
1572
1609
|
* @example
|
|
1573
1610
|
* false
|
|
@@ -1575,7 +1612,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1575
1612
|
systemDiskEncrypted?: boolean;
|
|
1576
1613
|
/**
|
|
1577
1614
|
* @remarks
|
|
1578
|
-
* The
|
|
1615
|
+
* The KMS key ID used for the system cloud disk.
|
|
1579
1616
|
*
|
|
1580
1617
|
* @example
|
|
1581
1618
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1583,14 +1620,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1583
1620
|
systemDiskKmsKeyId?: string;
|
|
1584
1621
|
/**
|
|
1585
1622
|
* @remarks
|
|
1586
|
-
* The
|
|
1587
|
-
*
|
|
1588
|
-
*
|
|
1589
|
-
*
|
|
1590
|
-
*
|
|
1591
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1592
|
-
*
|
|
1593
|
-
* > Alibaba Cloud disks support the preceding PLs. However, when you create a disk, the available PLs vary based on the ECS instance type that you selected. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1623
|
+
* 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.
|
|
1624
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1625
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1626
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1627
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1594
1628
|
*
|
|
1595
1629
|
* @example
|
|
1596
1630
|
* PL1
|
|
@@ -1598,9 +1632,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1598
1632
|
systemDiskPerformanceLevel?: string;
|
|
1599
1633
|
/**
|
|
1600
1634
|
* @remarks
|
|
1601
|
-
* The
|
|
1635
|
+
* The provisioned read/write IOPS for the system cloud disk.
|
|
1636
|
+
*
|
|
1637
|
+
* Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50000}.
|
|
1602
1638
|
*
|
|
1603
|
-
* This parameter is supported only when `
|
|
1639
|
+
* 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).
|
|
1604
1640
|
*
|
|
1605
1641
|
* @example
|
|
1606
1642
|
* 1000
|
|
@@ -1608,9 +1644,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1608
1644
|
systemDiskProvisionedIops?: number;
|
|
1609
1645
|
/**
|
|
1610
1646
|
* @remarks
|
|
1611
|
-
* The
|
|
1647
|
+
* The system cloud disk size for nodes. Unit: GiB.
|
|
1612
1648
|
*
|
|
1613
|
-
* Valid values: 20
|
|
1649
|
+
* Valid values: [20,2048\\].
|
|
1614
1650
|
*
|
|
1615
1651
|
* @example
|
|
1616
1652
|
* 120
|
|
@@ -1618,7 +1654,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1618
1654
|
systemDiskSize?: number;
|
|
1619
1655
|
/**
|
|
1620
1656
|
* @remarks
|
|
1621
|
-
*
|
|
1657
|
+
* The snapshot policy for the system cloud disk.
|
|
1622
1658
|
*
|
|
1623
1659
|
* @example
|
|
1624
1660
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1626,16 +1662,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1626
1662
|
systemDiskSnapshotPolicyId?: string;
|
|
1627
1663
|
/**
|
|
1628
1664
|
* @remarks
|
|
1629
|
-
*
|
|
1665
|
+
* Tags that are added only to ECS instances.
|
|
1630
1666
|
*
|
|
1631
|
-
*
|
|
1667
|
+
* 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://".
|
|
1632
1668
|
*/
|
|
1633
1669
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1634
1670
|
/**
|
|
1635
1671
|
* @remarks
|
|
1636
|
-
* The vSwitch IDs.
|
|
1672
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1637
1673
|
*
|
|
1638
|
-
* >
|
|
1674
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1639
1675
|
*
|
|
1640
1676
|
* This parameter is required.
|
|
1641
1677
|
*/
|
|
@@ -1803,6 +1839,10 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1803
1839
|
* @remarks
|
|
1804
1840
|
* Specifies whether to enable confidential computing for the cluster.
|
|
1805
1841
|
*
|
|
1842
|
+
* - true: enables confidential computing.
|
|
1843
|
+
*
|
|
1844
|
+
* - false: does not enable confidential computing.
|
|
1845
|
+
*
|
|
1806
1846
|
* @example
|
|
1807
1847
|
* true
|
|
1808
1848
|
*/
|
|
@@ -1831,17 +1871,17 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1831
1871
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1832
1872
|
/**
|
|
1833
1873
|
* @remarks
|
|
1834
|
-
*
|
|
1874
|
+
* The intelligent managed mode configuration for the node pool.
|
|
1835
1875
|
*/
|
|
1836
1876
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1837
1877
|
/**
|
|
1838
1878
|
* @remarks
|
|
1839
|
-
* The
|
|
1879
|
+
* The elastic scaling configuration.
|
|
1840
1880
|
*/
|
|
1841
1881
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1842
1882
|
/**
|
|
1843
1883
|
* @remarks
|
|
1844
|
-
* This
|
|
1884
|
+
* [This field is deprecated] Use desired_size instead.
|
|
1845
1885
|
*
|
|
1846
1886
|
* The number of nodes in the node pool.
|
|
1847
1887
|
*
|
|
@@ -1853,15 +1893,14 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1853
1893
|
count?: number;
|
|
1854
1894
|
/**
|
|
1855
1895
|
* @remarks
|
|
1856
|
-
* Lingjun node pool configuration.
|
|
1896
|
+
* The Lingjun node pool configuration.
|
|
1857
1897
|
*/
|
|
1858
1898
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1859
1899
|
/**
|
|
1860
1900
|
* @remarks
|
|
1861
|
-
* Specifies whether
|
|
1862
|
-
*
|
|
1863
|
-
*
|
|
1864
|
-
* * `false`: sets to container network.
|
|
1901
|
+
* Specifies whether the pod network uses host network mode.
|
|
1902
|
+
* - `true`: host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1903
|
+
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1865
1904
|
*
|
|
1866
1905
|
* @example
|
|
1867
1906
|
* true
|
|
@@ -1869,19 +1908,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1869
1908
|
hostNetwork?: boolean;
|
|
1870
1909
|
/**
|
|
1871
1910
|
* @remarks
|
|
1872
|
-
* This
|
|
1911
|
+
* [This field is deprecated]
|
|
1873
1912
|
*
|
|
1874
|
-
* The
|
|
1913
|
+
* The edge node pool configuration.
|
|
1875
1914
|
*
|
|
1876
1915
|
* @deprecated
|
|
1877
1916
|
*/
|
|
1878
1917
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1879
1918
|
/**
|
|
1880
1919
|
* @remarks
|
|
1881
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
1920
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1882
1921
|
*
|
|
1883
|
-
*
|
|
1884
|
-
*
|
|
1922
|
+
* - `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.
|
|
1923
|
+
* - `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.
|
|
1885
1924
|
*
|
|
1886
1925
|
* @example
|
|
1887
1926
|
* basic
|
|
@@ -1889,10 +1928,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1889
1928
|
interconnectMode?: string;
|
|
1890
1929
|
/**
|
|
1891
1930
|
* @remarks
|
|
1892
|
-
* Specifies whether
|
|
1893
|
-
*
|
|
1894
|
-
*
|
|
1895
|
-
* * `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
|
|
1931
|
+
* Specifies whether Layer 3 network connectivity is enabled among nodes within the edge node pool.
|
|
1932
|
+
* - `true`: enabled. All nodes in the node pool have Layer 3 network connectivity with each other.
|
|
1933
|
+
* - `false`: disabled. All nodes in the node pool do not have Layer 3 network connectivity with each other.
|
|
1896
1934
|
*
|
|
1897
1935
|
* @example
|
|
1898
1936
|
* true
|
|
@@ -1900,19 +1938,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1900
1938
|
intranet?: boolean;
|
|
1901
1939
|
/**
|
|
1902
1940
|
* @remarks
|
|
1903
|
-
* The
|
|
1941
|
+
* The cluster-related configuration.
|
|
1904
1942
|
*/
|
|
1905
1943
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1906
1944
|
/**
|
|
1907
1945
|
* @remarks
|
|
1908
|
-
* The
|
|
1946
|
+
* The managed node pool configuration.
|
|
1909
1947
|
*/
|
|
1910
1948
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1911
1949
|
/**
|
|
1912
1950
|
* @remarks
|
|
1913
|
-
* This
|
|
1951
|
+
* [This field is deprecated]
|
|
1914
1952
|
*
|
|
1915
|
-
* The maximum number of nodes
|
|
1953
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
1916
1954
|
*
|
|
1917
1955
|
* @example
|
|
1918
1956
|
* null
|
|
@@ -1922,27 +1960,27 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1922
1960
|
maxNodes?: number;
|
|
1923
1961
|
/**
|
|
1924
1962
|
* @remarks
|
|
1925
|
-
*
|
|
1963
|
+
* The list of node components.
|
|
1926
1964
|
*/
|
|
1927
1965
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1928
1966
|
/**
|
|
1929
1967
|
* @remarks
|
|
1930
|
-
* The node
|
|
1968
|
+
* The node configuration.
|
|
1931
1969
|
*/
|
|
1932
1970
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1933
1971
|
/**
|
|
1934
1972
|
* @remarks
|
|
1935
|
-
* The
|
|
1973
|
+
* The node pool configuration.
|
|
1936
1974
|
*/
|
|
1937
1975
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1938
1976
|
/**
|
|
1939
1977
|
* @remarks
|
|
1940
|
-
* The
|
|
1978
|
+
* The scaling group configuration for the node pool.
|
|
1941
1979
|
*/
|
|
1942
1980
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1943
1981
|
/**
|
|
1944
1982
|
* @remarks
|
|
1945
|
-
* The
|
|
1983
|
+
* The confidential computing cluster configuration.
|
|
1946
1984
|
*/
|
|
1947
1985
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1948
1986
|
static names(): { [key: string]: string } {
|