@alicloud/cs20151215 6.7.0 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +438 -446
- package/dist/client.js +485 -446
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +59 -38
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesResponseBody.d.ts +4 -4
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +14 -12
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -6
- package/dist/models/CheckControlPlaneLogEnableResponseBody.js.map +1 -1
- package/dist/models/CheckServiceRoleRequest.d.ts +2 -2
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -9
- package/dist/models/CheckServiceRoleResponseBody.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +3 -4
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +4 -5
- package/dist/models/CleanUserPermissionsShrinkRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +17 -17
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +42 -55
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +20 -24
- package/dist/models/CreateClusterDiagnosisRequest.js.map +1 -1
- package/dist/models/CreateClusterDiagnosisResponseBody.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +2 -2
- package/dist/models/CreateClusterNodePoolRequest.d.ts +277 -348
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +270 -347
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +8 -7
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +10 -9
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +8 -7
- package/dist/models/CreateTriggerRequest.js.map +1 -1
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteAlertContactGroupShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +5 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +10 -13
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +18 -27
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterShrinkRequest.d.ts +9 -11
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeletePolicyInstanceRequest.d.ts +1 -1
- package/dist/models/DeletePolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +5 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonRequest.d.ts +18 -7
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +14 -13
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +13 -11
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +4 -4
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +19 -19
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +11 -11
- package/dist/models/DescribeClusterAddonMetadataResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -16
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +96 -123
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +3 -3
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +22 -41
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +5 -5
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +224 -300
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +228 -306
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +24 -9
- package/dist/models/DescribeClusterNodesRequest.js +6 -0
- package/dist/models/DescribeClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +51 -38
- package/dist/models/DescribeClusterNodesResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +3 -3
- package/dist/models/DescribeClusterResourcesResponse.d.ts +37 -48
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -7
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -10
- package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +13 -19
- package/dist/models/DescribeClusterVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -30
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +40 -67
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersRequest.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +18 -26
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +52 -77
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -2
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +7 -11
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +22 -38
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +31 -50
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +6 -4
- package/dist/models/DescribeExternalAgentRequest.js.map +1 -1
- package/dist/models/DescribeExternalAgentResponseBody.d.ts +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +24 -25
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +31 -32
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +4 -4
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +13 -18
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +17 -21
- package/dist/models/DescribePolicyDetailsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +30 -34
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesRequest.d.ts +2 -2
- package/dist/models/DescribePolicyInstancesResponse.d.ts +20 -19
- package/dist/models/DescribePolicyInstancesResponse.js.map +1 -1
- package/dist/models/DescribePolicyInstancesStatusResponseBody.d.ts +7 -7
- package/dist/models/DescribeRegionsRequest.d.ts +3 -21
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +4 -4
- package/dist/models/DescribeResourcesDeleteProtectionRequest.d.ts +6 -5
- package/dist/models/DescribeResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +5 -6
- package/dist/models/DescribeResourcesDeleteProtectionResponse.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +6 -7
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.js.map +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +20 -26
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +16 -14
- package/dist/models/DescribeTemplateAttributeResponse.js.map +1 -1
- package/dist/models/DescribeTemplatesRequest.d.ts +7 -6
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +19 -20
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeTriggerRequest.d.ts +8 -7
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +12 -13
- package/dist/models/DescribeTriggerResponse.js.map +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +21 -21
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +9 -4
- package/dist/models/FixNodePoolVulsRequest.js.map +1 -1
- package/dist/models/FixNodePoolVulsResponseBody.d.ts +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +21 -14
- package/dist/models/GetClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +5 -4
- package/dist/models/GetClusterAuditProjectResponseBody.js.map +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +7 -7
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +6 -12
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.js.map +1 -1
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +14 -26
- package/dist/models/GetClusterDiagnosisResultResponseBody.js.map +1 -1
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +2 -2
- package/dist/models/GetClusterInspectReportDetailRequest.d.ts +15 -18
- package/dist/models/GetClusterInspectReportDetailRequest.js.map +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +30 -34
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +8 -7
- package/dist/models/GetKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/GetKubernetesTriggerResponse.d.ts +11 -10
- package/dist/models/GetKubernetesTriggerResponse.js.map +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +18 -19
- package/dist/models/GetUpgradeStatusResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +19 -26
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +4 -4
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +10 -10
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListAddonsRequest.d.ts +17 -6
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +24 -15
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +20 -20
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +7 -8
- package/dist/models/ListClusterAddonInstancesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksRequest.d.ts +9 -2
- package/dist/models/ListClusterChecksRequest.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +7 -7
- package/dist/models/ListClusterInspectReportsRequest.d.ts +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +11 -11
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +9 -8
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +32 -28
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +3 -3
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +14 -14
- package/dist/models/ListOperationPlansRequest.d.ts +1 -1
- package/dist/models/ListOperationPlansResponseBody.d.ts +13 -15
- package/dist/models/ListOperationPlansResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +7 -7
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +6 -4
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +8 -6
- package/dist/models/ListUserKubeConfigStatesRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +24 -25
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/MigrateClusterRequest.d.ts +2 -2
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyClusterAddonRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +229 -298
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterRequest.d.ts +106 -139
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +11 -7
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +6 -6
- package/dist/models/ModifyPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/Nodepool.d.ts +225 -272
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/QuotasValue.d.ts +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +17 -13
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +14 -9
- package/dist/models/RepairClusterNodePoolRequest.js.map +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/RunClusterCheckRequest.d.ts +4 -9
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +10 -9
- package/dist/models/StandardComponentsValue.js.map +1 -1
- package/dist/models/StartAlertRequest.d.ts +2 -2
- package/dist/models/StartAlertResponseBody.d.ts +1 -1
- package/dist/models/StopAlertRequest.d.ts +2 -2
- package/dist/models/StopAlertResponseBody.d.ts +4 -5
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +9 -7
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +5 -6
- package/dist/models/UnInstallClusterAddonsRequest.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +9 -7
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesShrinkRequest.d.ts +9 -7
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +9 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +2 -2
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +3 -3
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +4 -5
- package/dist/models/UpdateContactGroupForAlertResponseBody.js.map +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +5 -5
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +3 -3
- package/dist/models/UpdateKmsencryptionRequest.d.ts +6 -6
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +8 -8
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +2 -2
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +16 -4
- package/dist/models/UpdateResourcesDeleteProtectionRequest.js.map +1 -1
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +5 -5
- package/dist/models/UpdateTemplateRequest.d.ts +10 -7
- package/dist/models/UpdateTemplateRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +30 -23
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +7 -8
- package/dist/models/UpgradeClusterAddonsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +22 -16
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +10 -9
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/UpgradeClusterResponseBody.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +490 -448
- package/src/models/AttachInstancesRequest.ts +59 -38
- package/src/models/AttachInstancesResponseBody.ts +4 -4
- package/src/models/AttachInstancesToNodePoolRequest.ts +14 -12
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -6
- package/src/models/CheckServiceRoleRequest.ts +2 -2
- package/src/models/CheckServiceRoleResponseBody.ts +4 -9
- package/src/models/CleanClusterUserPermissionsRequest.ts +3 -4
- package/src/models/CleanUserPermissionsRequest.ts +4 -5
- package/src/models/CleanUserPermissionsShrinkRequest.ts +4 -5
- package/src/models/CreateAutoRepairPolicyRequest.ts +17 -17
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +1 -1
- package/src/models/CreateAutoscalingConfigRequest.ts +42 -55
- package/src/models/CreateClusterDiagnosisRequest.ts +20 -24
- package/src/models/CreateClusterDiagnosisResponseBody.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +2 -2
- package/src/models/CreateClusterNodePoolRequest.ts +279 -350
- package/src/models/CreateClusterRequest.ts +270 -347
- package/src/models/CreateKubernetesTriggerRequest.ts +8 -7
- package/src/models/CreateKubernetesTriggerResponseBody.ts +8 -7
- package/src/models/CreateTemplateRequest.ts +10 -9
- package/src/models/CreateTriggerRequest.ts +8 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupRequest.ts +1 -1
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteAlertContactGroupShrinkRequest.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteClusterNodepoolRequest.ts +5 -1
- package/src/models/DeleteClusterNodepoolResponseBody.ts +1 -1
- package/src/models/DeleteClusterNodesRequest.ts +10 -13
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +18 -27
- package/src/models/DeleteClusterShrinkRequest.ts +9 -11
- package/src/models/DeletePolicyInstanceRequest.ts +1 -1
- package/src/models/DeletePolicyInstanceResponseBody.ts +1 -1
- package/src/models/DeployPolicyInstanceRequest.ts +5 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonRequest.ts +18 -7
- package/src/models/DescribeAddonResponseBody.ts +14 -13
- package/src/models/DescribeAddonsRequest.ts +13 -11
- package/src/models/DescribeAddonsResponseBody.ts +4 -4
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +19 -19
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +11 -11
- package/src/models/DescribeClusterAddonMetadataResponseBody.ts +1 -1
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -16
- package/src/models/DescribeClusterDetailResponseBody.ts +101 -128
- package/src/models/DescribeClusterEventsRequest.ts +3 -3
- package/src/models/DescribeClusterEventsResponseBody.ts +22 -41
- package/src/models/DescribeClusterLogsResponse.ts +5 -5
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +226 -302
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +230 -308
- package/src/models/DescribeClusterNodesRequest.ts +30 -9
- package/src/models/DescribeClusterNodesResponseBody.ts +51 -38
- package/src/models/DescribeClusterResourcesRequest.ts +3 -3
- package/src/models/DescribeClusterResourcesResponse.ts +37 -48
- package/src/models/DescribeClusterTasksRequest.ts +1 -1
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -7
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -10
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterVulsResponseBody.ts +13 -19
- package/src/models/DescribeClustersForRegionRequest.ts +19 -30
- package/src/models/DescribeClustersForRegionResponseBody.ts +40 -67
- package/src/models/DescribeClustersRequest.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +18 -26
- package/src/models/DescribeClustersV1responseBody.ts +52 -77
- package/src/models/DescribeEventsForRegionRequest.ts +2 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +7 -11
- package/src/models/DescribeEventsRequest.ts +22 -38
- package/src/models/DescribeEventsResponseBody.ts +31 -50
- package/src/models/DescribeExternalAgentRequest.ts +6 -4
- package/src/models/DescribeExternalAgentResponseBody.ts +1 -1
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +24 -25
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +31 -32
- package/src/models/DescribeNodePoolVulsRequest.ts +4 -4
- package/src/models/DescribeNodePoolVulsResponseBody.ts +13 -18
- package/src/models/DescribePolicyDetailsResponseBody.ts +17 -21
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +30 -34
- package/src/models/DescribePolicyInstancesRequest.ts +2 -2
- package/src/models/DescribePolicyInstancesResponse.ts +20 -19
- package/src/models/DescribePolicyInstancesStatusResponseBody.ts +7 -7
- package/src/models/DescribeRegionsRequest.ts +3 -21
- package/src/models/DescribeRegionsResponseBody.ts +4 -4
- package/src/models/DescribeResourcesDeleteProtectionRequest.ts +6 -5
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +5 -6
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +6 -7
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +20 -26
- package/src/models/DescribeTemplateAttributeRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeResponse.ts +16 -14
- package/src/models/DescribeTemplatesRequest.ts +7 -6
- package/src/models/DescribeTemplatesResponseBody.ts +19 -20
- package/src/models/DescribeTriggerRequest.ts +8 -7
- package/src/models/DescribeTriggerResponse.ts +12 -13
- package/src/models/DescribeUserPermissionResponse.ts +21 -21
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +9 -4
- package/src/models/FixNodePoolVulsResponseBody.ts +1 -1
- package/src/models/GetClusterAddonInstanceResponseBody.ts +21 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +5 -4
- package/src/models/GetClusterCheckResponseBody.ts +7 -7
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +6 -12
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +14 -26
- package/src/models/GetClusterInspectConfigResponseBody.ts +2 -2
- package/src/models/GetClusterInspectReportDetailRequest.ts +15 -18
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +30 -34
- package/src/models/GetKubernetesTriggerRequest.ts +8 -7
- package/src/models/GetKubernetesTriggerResponse.ts +11 -10
- package/src/models/GetUpgradeStatusResponseBody.ts +18 -19
- package/src/models/GrantPermissionsRequest.ts +19 -26
- package/src/models/InstallClusterAddonsRequest.ts +4 -4
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/InstallNodePoolComponentsRequest.ts +10 -10
- package/src/models/InstallNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListAddonsRequest.ts +17 -6
- package/src/models/ListAddonsResponseBody.ts +24 -15
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +20 -20
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +7 -7
- package/src/models/ListClusterAddonInstancesResponseBody.ts +7 -8
- package/src/models/ListClusterChecksRequest.ts +9 -2
- package/src/models/ListClusterChecksResponseBody.ts +7 -7
- package/src/models/ListClusterInspectReportsRequest.ts +1 -1
- package/src/models/ListClusterInspectReportsResponseBody.ts +11 -11
- package/src/models/ListClusterKubeconfigStatesRequest.ts +9 -8
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +32 -28
- package/src/models/ListOperationPlansForRegionRequest.ts +3 -3
- package/src/models/ListOperationPlansForRegionResponseBody.ts +14 -14
- package/src/models/ListOperationPlansRequest.ts +1 -1
- package/src/models/ListOperationPlansResponseBody.ts +13 -15
- package/src/models/ListTagResourcesRequest.ts +6 -4
- package/src/models/ListTagResourcesResponseBody.ts +7 -7
- package/src/models/ListTagResourcesShrinkRequest.ts +6 -4
- package/src/models/ListUserKubeConfigStatesRequest.ts +8 -6
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +24 -25
- package/src/models/MigrateClusterRequest.ts +2 -2
- package/src/models/ModifyAutoRepairPolicyRequest.ts +15 -15
- package/src/models/ModifyClusterAddonRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +229 -298
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyClusterRequest.ts +106 -139
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -7
- package/src/models/ModifyPolicyInstanceRequest.ts +6 -6
- package/src/models/ModifyPolicyInstanceResponseBody.ts +1 -1
- package/src/models/Nodepool.ts +225 -272
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/QuotasValue.ts +1 -1
- package/src/models/RemoveNodePoolNodesRequest.ts +17 -13
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +17 -13
- package/src/models/RepairClusterNodePoolRequest.ts +14 -9
- package/src/models/RepairClusterNodePoolResponseBody.ts +1 -1
- package/src/models/RunClusterCheckRequest.ts +4 -9
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/StandardComponentsValue.ts +10 -9
- package/src/models/StartAlertRequest.ts +2 -2
- package/src/models/StartAlertResponseBody.ts +1 -1
- package/src/models/StopAlertRequest.ts +2 -2
- package/src/models/StopAlertResponseBody.ts +4 -5
- package/src/models/TagResourcesRequest.ts +9 -7
- package/src/models/UnInstallClusterAddonsRequest.ts +5 -6
- package/src/models/UntagResourcesRequest.ts +9 -7
- package/src/models/UntagResourcesShrinkRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +9 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +2 -2
- package/src/models/UpdateClusterInspectConfigRequest.ts +3 -3
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +4 -5
- package/src/models/UpdateControlPlaneLogRequest.ts +5 -5
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +3 -3
- package/src/models/UpdateKmsencryptionRequest.ts +6 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +8 -8
- package/src/models/UpdateNodePoolComponentResponseBody.ts +2 -2
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +16 -4
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +5 -5
- package/src/models/UpdateTemplateRequest.ts +10 -7
- package/src/models/UpdateUserPermissionsRequest.ts +30 -23
- package/src/models/UpgradeClusterAddonsRequest.ts +7 -8
- package/src/models/UpgradeClusterNodepoolRequest.ts +22 -16
- package/src/models/UpgradeClusterRequest.ts +10 -9
- package/src/models/UpgradeClusterResponseBody.ts +3 -3
|
@@ -12,12 +12,10 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Specifies whether to enable
|
|
15
|
+
* Specifies whether to enable intelligent managed mode.
|
|
16
16
|
* Valid values:
|
|
17
|
-
*
|
|
18
|
-
* -
|
|
19
|
-
*
|
|
20
|
-
* - false: Disables the intelligent managed mode.
|
|
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.
|
|
21
19
|
*
|
|
22
20
|
* @example
|
|
23
21
|
* true
|
|
@@ -47,9 +45,9 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
47
45
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
48
46
|
/**
|
|
49
47
|
* @remarks
|
|
50
|
-
* [This parameter is deprecated] Use
|
|
48
|
+
* [This parameter is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
51
49
|
*
|
|
52
|
-
* The peak bandwidth of the EIP. Unit:
|
|
50
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
53
51
|
*
|
|
54
52
|
* @example
|
|
55
53
|
* null
|
|
@@ -59,13 +57,11 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
59
57
|
eipBandwidth?: number;
|
|
60
58
|
/**
|
|
61
59
|
* @remarks
|
|
62
|
-
* [This parameter is deprecated] Use
|
|
63
|
-
*
|
|
64
|
-
* The billing method of the EIP. Valid values:
|
|
60
|
+
* [This parameter is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
65
61
|
*
|
|
62
|
+
* The billing method for the EIP. Valid values:
|
|
66
63
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
67
|
-
*
|
|
68
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
64
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
69
65
|
*
|
|
70
66
|
* Default value: `PayByBandwidth`.
|
|
71
67
|
*
|
|
@@ -77,13 +73,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
77
73
|
eipInternetChargeType?: string;
|
|
78
74
|
/**
|
|
79
75
|
* @remarks
|
|
80
|
-
* Specifies whether to enable
|
|
76
|
+
* Specifies whether to enable automatic scaling. Valid values:
|
|
81
77
|
*
|
|
82
|
-
* - `true`:
|
|
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).
|
|
83
79
|
*
|
|
84
|
-
* - `false`:
|
|
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.
|
|
85
81
|
*
|
|
86
|
-
*
|
|
82
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
87
83
|
*
|
|
88
84
|
* Default value: `false`.
|
|
89
85
|
*
|
|
@@ -93,13 +89,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
93
89
|
enable?: boolean;
|
|
94
90
|
/**
|
|
95
91
|
* @remarks
|
|
96
|
-
* [This parameter is deprecated] This parameter is deprecated. Use
|
|
92
|
+
* [This parameter is deprecated] This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
97
93
|
*
|
|
98
|
-
* Specifies whether to associate an EIP
|
|
94
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
99
95
|
*
|
|
100
|
-
* - `true`: associates an EIP
|
|
96
|
+
* - `true`: associates an EIP.
|
|
101
97
|
*
|
|
102
|
-
* - `false`: does not associate an EIP
|
|
98
|
+
* - `false`: does not associate an EIP.
|
|
103
99
|
*
|
|
104
100
|
* Default value: `false`.
|
|
105
101
|
*
|
|
@@ -111,9 +107,9 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
111
107
|
isBondEip?: boolean;
|
|
112
108
|
/**
|
|
113
109
|
* @remarks
|
|
114
|
-
* The maximum number of instances that can be
|
|
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`.
|
|
115
111
|
*
|
|
116
|
-
*
|
|
112
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
117
113
|
*
|
|
118
114
|
* @example
|
|
119
115
|
* 10
|
|
@@ -121,13 +117,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
121
117
|
maxInstances?: number;
|
|
122
118
|
/**
|
|
123
119
|
* @remarks
|
|
124
|
-
* The minimum number of instances that can be
|
|
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`.
|
|
125
121
|
*
|
|
126
|
-
*
|
|
122
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
127
123
|
*
|
|
128
|
-
* > - If the minimum number of instances is not 0, the
|
|
129
|
-
* >
|
|
130
|
-
* > - We recommend that you set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after auto scaling is enabled.
|
|
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.
|
|
131
126
|
*
|
|
132
127
|
* @example
|
|
133
128
|
* 1
|
|
@@ -135,18 +130,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
135
130
|
minInstances?: number;
|
|
136
131
|
/**
|
|
137
132
|
* @remarks
|
|
138
|
-
* The
|
|
133
|
+
* The elastic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
139
134
|
*
|
|
140
|
-
* - `cpu`: regular instance.
|
|
135
|
+
* - `cpu`: regular instance type.
|
|
141
136
|
*
|
|
142
|
-
* - `gpu`: GPU
|
|
137
|
+
* - `gpu`: GPU instance type.
|
|
143
138
|
*
|
|
144
|
-
* - `gpushare`:
|
|
139
|
+
* - `gpushare`: GPU-shared instance type.
|
|
145
140
|
*
|
|
146
|
-
* - `spot`: spot instance.
|
|
141
|
+
* - `spot`: spot instance type.
|
|
147
142
|
*
|
|
148
143
|
* Default value: `cpu`.
|
|
149
|
-
* >Notice:
|
|
144
|
+
* >Notice: This parameter cannot be modified after the node pool is created.
|
|
150
145
|
*
|
|
151
146
|
* @example
|
|
152
147
|
* cpu
|
|
@@ -188,7 +183,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
188
183
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
189
184
|
/**
|
|
190
185
|
* @remarks
|
|
191
|
-
* The ID of the Lingjun cluster
|
|
186
|
+
* The ID of the Lingjun cluster to associate with when creating a Lingjun node pool.
|
|
192
187
|
*
|
|
193
188
|
* @example
|
|
194
189
|
* i1169130516633730****
|
|
@@ -196,7 +191,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
196
191
|
clusterId?: string;
|
|
197
192
|
/**
|
|
198
193
|
* @remarks
|
|
199
|
-
* The ID of the Lingjun
|
|
194
|
+
* The group ID of the Lingjun cluster to associate with when creating a Lingjun node pool.
|
|
200
195
|
*
|
|
201
196
|
* @example
|
|
202
197
|
* ng-ec3c96ff0aa****
|
|
@@ -228,9 +223,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
228
223
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
229
224
|
/**
|
|
230
225
|
* @remarks
|
|
231
|
-
* [This
|
|
226
|
+
* [This field is deprecated]
|
|
232
227
|
*
|
|
233
|
-
* The network bandwidth of the enhanced edge node pool
|
|
228
|
+
* The network bandwidth of the enhanced edge node pool, in Mbit/s.
|
|
234
229
|
*
|
|
235
230
|
* @example
|
|
236
231
|
* null
|
|
@@ -238,9 +233,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
238
233
|
bandwidth?: number;
|
|
239
234
|
/**
|
|
240
235
|
* @remarks
|
|
241
|
-
* [This
|
|
236
|
+
* [This field is deprecated]
|
|
242
237
|
*
|
|
243
|
-
* The
|
|
238
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
244
239
|
*
|
|
245
240
|
* @example
|
|
246
241
|
* null
|
|
@@ -248,9 +243,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
248
243
|
ccnId?: string;
|
|
249
244
|
/**
|
|
250
245
|
* @remarks
|
|
251
|
-
* [This
|
|
246
|
+
* [This field is deprecated]
|
|
252
247
|
*
|
|
253
|
-
* The region of the CCN instance
|
|
248
|
+
* The region of the Cloud Connect Network (CCN) instance associated with the enhanced edge node pool.
|
|
254
249
|
*
|
|
255
250
|
* @example
|
|
256
251
|
* null
|
|
@@ -258,9 +253,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
258
253
|
ccnRegionId?: string;
|
|
259
254
|
/**
|
|
260
255
|
* @remarks
|
|
261
|
-
* [This
|
|
256
|
+
* [This field is deprecated]
|
|
262
257
|
*
|
|
263
|
-
* The
|
|
258
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
264
259
|
*
|
|
265
260
|
* @example
|
|
266
261
|
* null
|
|
@@ -268,9 +263,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
268
263
|
cenId?: string;
|
|
269
264
|
/**
|
|
270
265
|
* @remarks
|
|
271
|
-
* [This
|
|
266
|
+
* [This field is deprecated]
|
|
272
267
|
*
|
|
273
|
-
* The subscription duration of the enhanced edge node pool
|
|
268
|
+
* The subscription duration of the enhanced edge node pool, in months.
|
|
274
269
|
*
|
|
275
270
|
* @example
|
|
276
271
|
* null
|
|
@@ -308,11 +303,11 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
308
303
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
309
304
|
/**
|
|
310
305
|
* @remarks
|
|
311
|
-
* Specifies whether to install
|
|
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:
|
|
312
307
|
*
|
|
313
|
-
* - `true`:
|
|
308
|
+
* - `true`: installs the CloudMonitor agent on ECS nodes.
|
|
314
309
|
*
|
|
315
|
-
* - `false`:
|
|
310
|
+
* - `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
316
311
|
*
|
|
317
312
|
* Default value: `false`.
|
|
318
313
|
*
|
|
@@ -322,11 +317,10 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
322
317
|
cmsEnabled?: boolean;
|
|
323
318
|
/**
|
|
324
319
|
* @remarks
|
|
325
|
-
* The CPU management policy
|
|
326
|
-
*
|
|
327
|
-
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
320
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
328
321
|
*
|
|
329
|
-
* - `
|
|
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.
|
|
330
324
|
*
|
|
331
325
|
* Default value: `none`.
|
|
332
326
|
*
|
|
@@ -336,30 +330,27 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
336
330
|
cpuPolicy?: string;
|
|
337
331
|
/**
|
|
338
332
|
* @remarks
|
|
339
|
-
* The labels
|
|
333
|
+
* The node labels. Adds labels to Kubernetes cluster nodes.
|
|
340
334
|
*/
|
|
341
335
|
labels?: Tag[];
|
|
342
336
|
/**
|
|
343
337
|
* @remarks
|
|
344
|
-
* The custom node name.
|
|
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.
|
|
345
340
|
*
|
|
346
|
-
*
|
|
341
|
+
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
347
342
|
*
|
|
348
|
-
*
|
|
343
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
349
344
|
*
|
|
350
|
-
* - The
|
|
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.
|
|
351
348
|
*
|
|
352
|
-
*
|
|
349
|
+
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
353
350
|
*
|
|
354
|
-
* -
|
|
351
|
+
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
355
352
|
*
|
|
356
|
-
* -
|
|
357
|
-
*
|
|
358
|
-
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
|
|
359
|
-
*
|
|
360
|
-
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
361
|
-
*
|
|
362
|
-
* - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
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.
|
|
363
354
|
*
|
|
364
355
|
* @example
|
|
365
356
|
* aliyun.com192.XX.YY.55test
|
|
@@ -367,7 +358,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
367
358
|
nodeNameMode?: string;
|
|
368
359
|
/**
|
|
369
360
|
* @remarks
|
|
370
|
-
* The pre-
|
|
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).
|
|
371
362
|
*
|
|
372
363
|
* @example
|
|
373
364
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -375,13 +366,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
375
366
|
preUserData?: string;
|
|
376
367
|
/**
|
|
377
368
|
* @remarks
|
|
378
|
-
* The
|
|
379
|
-
*
|
|
380
|
-
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
381
|
-
*
|
|
382
|
-
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 or earlier.
|
|
369
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
383
370
|
*
|
|
384
|
-
* -
|
|
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.
|
|
385
374
|
*
|
|
386
375
|
* Default value: containerd.
|
|
387
376
|
*
|
|
@@ -391,7 +380,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
391
380
|
runtime?: string;
|
|
392
381
|
/**
|
|
393
382
|
* @remarks
|
|
394
|
-
* The
|
|
383
|
+
* The container runtime version.
|
|
395
384
|
*
|
|
396
385
|
* @example
|
|
397
386
|
* 1.6.38
|
|
@@ -399,16 +388,16 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
399
388
|
runtimeVersion?: string;
|
|
400
389
|
/**
|
|
401
390
|
* @remarks
|
|
402
|
-
* The taint
|
|
391
|
+
* The taint configuration.
|
|
403
392
|
*/
|
|
404
393
|
taints?: Taint[];
|
|
405
394
|
/**
|
|
406
395
|
* @remarks
|
|
407
|
-
* Specifies whether the
|
|
396
|
+
* Specifies whether the nodes added through scale-out are unschedulable.
|
|
408
397
|
*
|
|
409
|
-
* - true:
|
|
398
|
+
* - true: unschedulable.
|
|
410
399
|
*
|
|
411
|
-
* - false:
|
|
400
|
+
* - false: schedulable.
|
|
412
401
|
*
|
|
413
402
|
* @example
|
|
414
403
|
* true
|
|
@@ -416,7 +405,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
416
405
|
unschedulable?: boolean;
|
|
417
406
|
/**
|
|
418
407
|
* @remarks
|
|
419
|
-
* The instance user data. After
|
|
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).
|
|
420
409
|
*
|
|
421
410
|
* @example
|
|
422
411
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -475,13 +464,12 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
475
464
|
approvalRequired?: boolean;
|
|
476
465
|
/**
|
|
477
466
|
* @remarks
|
|
478
|
-
* Specifies whether to allow node
|
|
467
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
479
468
|
*
|
|
480
|
-
* - `true`:
|
|
469
|
+
* - `true`: allows node restarts.
|
|
470
|
+
* - `false`: does not allow node restarts.
|
|
481
471
|
*
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
* Default value: `true`
|
|
472
|
+
* Default value: `true`.
|
|
485
473
|
*
|
|
486
474
|
* @example
|
|
487
475
|
* true
|
|
@@ -513,11 +501,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
513
501
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
514
502
|
/**
|
|
515
503
|
* @remarks
|
|
516
|
-
* Specifies whether to allow
|
|
517
|
-
*
|
|
518
|
-
* - `
|
|
519
|
-
*
|
|
520
|
-
* - `false`: Disallows auto kubelet upgrade.
|
|
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.
|
|
521
507
|
*
|
|
522
508
|
* Default value: `true`.
|
|
523
509
|
*
|
|
@@ -527,11 +513,10 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
527
513
|
autoUpgradeKubelet?: boolean;
|
|
528
514
|
/**
|
|
529
515
|
* @remarks
|
|
530
|
-
* Specifies whether to allow
|
|
531
|
-
*
|
|
532
|
-
* - `
|
|
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.
|
|
533
519
|
*
|
|
534
|
-
* - `false`: Disallows auto OS upgrade.
|
|
535
520
|
*
|
|
536
521
|
* Default value: `false`.
|
|
537
522
|
*
|
|
@@ -541,11 +526,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
541
526
|
autoUpgradeOs?: boolean;
|
|
542
527
|
/**
|
|
543
528
|
* @remarks
|
|
544
|
-
* Specifies whether to allow
|
|
545
|
-
*
|
|
546
|
-
* - `
|
|
547
|
-
*
|
|
548
|
-
* - `false`: Disallows auto runtime upgrade.
|
|
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.
|
|
549
532
|
*
|
|
550
533
|
* Default value: `true`.
|
|
551
534
|
*
|
|
@@ -581,7 +564,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
581
564
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
582
565
|
/**
|
|
583
566
|
* @remarks
|
|
584
|
-
* The packages
|
|
567
|
+
* The packages to exclude during vulnerability fixes.
|
|
585
568
|
*
|
|
586
569
|
* Default value: `kernel`.
|
|
587
570
|
*
|
|
@@ -591,13 +574,11 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
591
574
|
excludePackages?: string;
|
|
592
575
|
/**
|
|
593
576
|
* @remarks
|
|
594
|
-
* Specifies whether to allow node
|
|
595
|
-
*
|
|
596
|
-
* - `
|
|
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.
|
|
597
580
|
*
|
|
598
|
-
*
|
|
599
|
-
*
|
|
600
|
-
* Default value: `true`
|
|
581
|
+
* Default value: `true`.
|
|
601
582
|
*
|
|
602
583
|
* @example
|
|
603
584
|
* false
|
|
@@ -605,12 +586,10 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
605
586
|
restartNode?: boolean;
|
|
606
587
|
/**
|
|
607
588
|
* @remarks
|
|
608
|
-
* The vulnerability levels that are allowed
|
|
589
|
+
* The vulnerability levels that are allowed for automatic fixes, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
609
590
|
*
|
|
610
591
|
* - `asap`: high
|
|
611
|
-
*
|
|
612
592
|
* - `later`: medium
|
|
613
|
-
*
|
|
614
593
|
* - `nntf`: low
|
|
615
594
|
*
|
|
616
595
|
* Default value: `asap`.
|
|
@@ -647,13 +626,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
647
626
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
648
627
|
/**
|
|
649
628
|
* @remarks
|
|
650
|
-
* [This parameter is deprecated] Use the
|
|
629
|
+
* [This parameter is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
651
630
|
*
|
|
652
|
-
* Specifies whether to enable
|
|
631
|
+
* Specifies whether to enable automatic upgrades. Valid values:
|
|
653
632
|
*
|
|
654
|
-
* - `true`: enables
|
|
633
|
+
* - `true`: enables automatic upgrades.
|
|
655
634
|
*
|
|
656
|
-
* - `false`: disables
|
|
635
|
+
* - `false`: disables automatic upgrades.
|
|
657
636
|
*
|
|
658
637
|
* @example
|
|
659
638
|
* null
|
|
@@ -664,7 +643,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
664
643
|
/**
|
|
665
644
|
* @remarks
|
|
666
645
|
* The maximum number of unavailable nodes.
|
|
667
|
-
*
|
|
646
|
+
* Valid values: [1,1000\\].
|
|
668
647
|
*
|
|
669
648
|
* Default value: 1.
|
|
670
649
|
*
|
|
@@ -674,11 +653,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
674
653
|
maxUnavailable?: number;
|
|
675
654
|
/**
|
|
676
655
|
* @remarks
|
|
677
|
-
* The number of extra nodes. You can specify
|
|
656
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
678
657
|
*
|
|
679
|
-
* Nodes become unavailable during
|
|
658
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster workload.
|
|
680
659
|
*
|
|
681
|
-
* >
|
|
660
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
682
661
|
*
|
|
683
662
|
* @example
|
|
684
663
|
* 0
|
|
@@ -686,9 +665,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
686
665
|
surge?: number;
|
|
687
666
|
/**
|
|
688
667
|
* @remarks
|
|
689
|
-
* The percentage of extra nodes. You can specify
|
|
668
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
690
669
|
*
|
|
691
|
-
* Number of extra nodes =
|
|
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.
|
|
692
671
|
*
|
|
693
672
|
* @example
|
|
694
673
|
* 0
|
|
@@ -725,13 +704,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
725
704
|
autoFaultDiagnosis?: boolean;
|
|
726
705
|
/**
|
|
727
706
|
* @remarks
|
|
728
|
-
* Specifies whether to
|
|
707
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
729
708
|
*
|
|
730
|
-
* - `true`:
|
|
709
|
+
* - `true`: automatically repairs nodes.
|
|
731
710
|
*
|
|
732
|
-
* - `false`:
|
|
711
|
+
* - `false`: does not automatically repair nodes.
|
|
733
712
|
*
|
|
734
|
-
* Default value: `true
|
|
713
|
+
* Default value: `true`.
|
|
735
714
|
*
|
|
736
715
|
* @example
|
|
737
716
|
* true
|
|
@@ -739,16 +718,14 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
739
718
|
autoRepair?: boolean;
|
|
740
719
|
/**
|
|
741
720
|
* @remarks
|
|
742
|
-
* The
|
|
721
|
+
* The automatic node repair policy.
|
|
743
722
|
*/
|
|
744
723
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
745
724
|
/**
|
|
746
725
|
* @remarks
|
|
747
|
-
* Specifies whether to
|
|
748
|
-
*
|
|
749
|
-
* - `
|
|
750
|
-
*
|
|
751
|
-
* - `false`: Disables auto node upgrade.
|
|
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.
|
|
752
729
|
*
|
|
753
730
|
* Default value: `true`.
|
|
754
731
|
*
|
|
@@ -758,16 +735,15 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
758
735
|
autoUpgrade?: boolean;
|
|
759
736
|
/**
|
|
760
737
|
* @remarks
|
|
761
|
-
* The
|
|
738
|
+
* The automatic node upgrade policy.
|
|
762
739
|
*/
|
|
763
740
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
764
741
|
/**
|
|
765
742
|
* @remarks
|
|
766
|
-
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only
|
|
743
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
767
744
|
*
|
|
768
|
-
* - `true`:
|
|
769
|
-
*
|
|
770
|
-
* - `false`: Does not automatically fix CVE vulnerabilities.
|
|
745
|
+
* - `true`: allows automatic CVE fixes.
|
|
746
|
+
* - `false`: does not allow automatic CVE fixes.
|
|
771
747
|
*
|
|
772
748
|
* Default value: `true`.
|
|
773
749
|
*
|
|
@@ -777,16 +753,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
777
753
|
autoVulFix?: boolean;
|
|
778
754
|
/**
|
|
779
755
|
* @remarks
|
|
780
|
-
* The
|
|
756
|
+
* The automatic CVE fix policy.
|
|
781
757
|
*/
|
|
782
758
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
783
759
|
/**
|
|
784
760
|
* @remarks
|
|
785
|
-
* Specifies whether to enable the managed node pool
|
|
761
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
786
762
|
*
|
|
787
|
-
* - `true`:
|
|
763
|
+
* - `true`: enables the managed feature.
|
|
788
764
|
*
|
|
789
|
-
* - `false`:
|
|
765
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
790
766
|
*
|
|
791
767
|
* Default value: false.
|
|
792
768
|
*
|
|
@@ -796,9 +772,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
796
772
|
enable?: boolean;
|
|
797
773
|
/**
|
|
798
774
|
* @remarks
|
|
799
|
-
* [This parameter is deprecated] Use the
|
|
775
|
+
* [This parameter is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
800
776
|
*
|
|
801
|
-
* The
|
|
777
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
802
778
|
*
|
|
803
779
|
* @deprecated
|
|
804
780
|
*/
|
|
@@ -855,7 +831,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
855
831
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
856
832
|
/**
|
|
857
833
|
* @remarks
|
|
858
|
-
* The custom
|
|
834
|
+
* The custom configuration of the node component.
|
|
859
835
|
*/
|
|
860
836
|
customConfig?: { [key: string]: string };
|
|
861
837
|
static names(): { [key: string]: string } {
|
|
@@ -885,12 +861,12 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
885
861
|
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
886
862
|
/**
|
|
887
863
|
* @remarks
|
|
888
|
-
* The
|
|
864
|
+
* The node component configuration.
|
|
889
865
|
*/
|
|
890
866
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
891
867
|
/**
|
|
892
868
|
* @remarks
|
|
893
|
-
* The
|
|
869
|
+
* The node component name.
|
|
894
870
|
*
|
|
895
871
|
* @example
|
|
896
872
|
* kubelet
|
|
@@ -898,7 +874,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
898
874
|
name?: string;
|
|
899
875
|
/**
|
|
900
876
|
* @remarks
|
|
901
|
-
* The
|
|
877
|
+
* The node component version.
|
|
902
878
|
*
|
|
903
879
|
* @example
|
|
904
880
|
* 1.33.3-aliyun.1
|
|
@@ -935,7 +911,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
935
911
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
936
912
|
/**
|
|
937
913
|
* @remarks
|
|
938
|
-
*
|
|
914
|
+
* Kubelet parameter configuration.
|
|
939
915
|
*/
|
|
940
916
|
kubeletConfiguration?: KubeletConfig;
|
|
941
917
|
static names(): { [key: string]: string } {
|
|
@@ -965,7 +941,7 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
965
941
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
966
942
|
/**
|
|
967
943
|
* @remarks
|
|
968
|
-
* The
|
|
944
|
+
* The node pool name.
|
|
969
945
|
*
|
|
970
946
|
* This parameter is required.
|
|
971
947
|
*
|
|
@@ -975,9 +951,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
975
951
|
name?: string;
|
|
976
952
|
/**
|
|
977
953
|
* @remarks
|
|
978
|
-
* The ID of the
|
|
954
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
979
955
|
*
|
|
980
|
-
* 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
|
|
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.
|
|
981
957
|
*
|
|
982
958
|
* @example
|
|
983
959
|
* rg-acfmyvw3wjmb****
|
|
@@ -985,15 +961,12 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
985
961
|
resourceGroupId?: string;
|
|
986
962
|
/**
|
|
987
963
|
* @remarks
|
|
988
|
-
* The
|
|
989
|
-
*
|
|
990
|
-
* - `ess`: a regular node pool. This type of node pool provides managed features and auto scaling.
|
|
991
|
-
*
|
|
992
|
-
* - `edge`: an edge node pool.
|
|
964
|
+
* The node pool type. Valid values:
|
|
993
965
|
*
|
|
994
|
-
* - `
|
|
995
|
-
*
|
|
996
|
-
* - `
|
|
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.
|
|
997
970
|
*
|
|
998
971
|
* @example
|
|
999
972
|
* ess
|
|
@@ -1027,7 +1000,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1027
1000
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1028
1001
|
/**
|
|
1029
1002
|
* @remarks
|
|
1030
|
-
* The ID
|
|
1003
|
+
* The private pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
1031
1004
|
*
|
|
1032
1005
|
* @example
|
|
1033
1006
|
* eap-bp67acfmxazb4****
|
|
@@ -1035,13 +1008,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1035
1008
|
id?: string;
|
|
1036
1009
|
/**
|
|
1037
1010
|
* @remarks
|
|
1038
|
-
* The
|
|
1039
|
-
*
|
|
1040
|
-
* - `
|
|
1041
|
-
*
|
|
1042
|
-
* - `Target`: Target mode. The instance is launched using the capacity of the specified private pool. If the capacity of the private pool is unavailable, the instance fails to be launched.
|
|
1043
|
-
*
|
|
1044
|
-
* - `None`: The instance is launched without using the capacity of a private pool.
|
|
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.
|
|
1045
1015
|
*
|
|
1046
1016
|
* @example
|
|
1047
1017
|
* Target
|
|
@@ -1073,15 +1043,15 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1073
1043
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1074
1044
|
/**
|
|
1075
1045
|
* @remarks
|
|
1076
|
-
*
|
|
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.
|
|
1077
1047
|
*/
|
|
1078
1048
|
privatePoolIds?: string[];
|
|
1079
1049
|
/**
|
|
1080
1050
|
* @remarks
|
|
1081
|
-
* The resource pool policy
|
|
1082
|
-
* PrivatePoolFirst:
|
|
1083
|
-
* PrivatePoolOnly:
|
|
1084
|
-
* None:
|
|
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.
|
|
1085
1055
|
* Default value: None.
|
|
1086
1056
|
*
|
|
1087
1057
|
* @example
|
|
@@ -1117,7 +1087,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1117
1087
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1118
1088
|
/**
|
|
1119
1089
|
* @remarks
|
|
1120
|
-
* The instance type
|
|
1090
|
+
* The spot instance type.
|
|
1121
1091
|
*
|
|
1122
1092
|
* @example
|
|
1123
1093
|
* ecs.c6.large
|
|
@@ -1125,11 +1095,12 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1125
1095
|
instanceType?: string;
|
|
1126
1096
|
/**
|
|
1127
1097
|
* @remarks
|
|
1128
|
-
* The maximum
|
|
1098
|
+
* The maximum price per instance.
|
|
1099
|
+
* <props="china">Unit: CNY/hour.
|
|
1100
|
+
*
|
|
1129
1101
|
*
|
|
1130
|
-
* <props="intl">
|
|
1131
1102
|
*
|
|
1132
|
-
* Unit: USD/hour
|
|
1103
|
+
* <props="intl">Unit: USD/hour..
|
|
1133
1104
|
*
|
|
1134
1105
|
* @example
|
|
1135
1106
|
* 0.39
|
|
@@ -1161,7 +1132,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1161
1132
|
export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
1162
1133
|
/**
|
|
1163
1134
|
* @remarks
|
|
1164
|
-
* The
|
|
1135
|
+
* The tag key.
|
|
1165
1136
|
*
|
|
1166
1137
|
* @example
|
|
1167
1138
|
* node-k-1
|
|
@@ -1201,10 +1172,9 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1201
1172
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1202
1173
|
/**
|
|
1203
1174
|
* @remarks
|
|
1204
|
-
* Specifies whether to enable auto-renewal for
|
|
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:
|
|
1205
1176
|
*
|
|
1206
1177
|
* - `true`: enables auto-renewal.
|
|
1207
|
-
*
|
|
1208
1178
|
* - `false`: disables auto-renewal.
|
|
1209
1179
|
*
|
|
1210
1180
|
* Default value: `false`.
|
|
@@ -1216,10 +1186,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1216
1186
|
/**
|
|
1217
1187
|
* @remarks
|
|
1218
1188
|
* The auto-renewal period. Valid values:
|
|
1219
|
-
*
|
|
1220
|
-
* -
|
|
1221
|
-
*
|
|
1222
|
-
* - If \\`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.
|
|
1223
1191
|
*
|
|
1224
1192
|
* Default value: 1.
|
|
1225
1193
|
*
|
|
@@ -1229,7 +1197,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1229
1197
|
autoRenewPeriod?: number;
|
|
1230
1198
|
/**
|
|
1231
1199
|
* @remarks
|
|
1232
|
-
* [
|
|
1200
|
+
* [This parameter is deprecated] Use the security_hardening_os parameter instead.
|
|
1233
1201
|
*
|
|
1234
1202
|
* @example
|
|
1235
1203
|
* null
|
|
@@ -1239,11 +1207,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1239
1207
|
cisEnabled?: boolean;
|
|
1240
1208
|
/**
|
|
1241
1209
|
* @remarks
|
|
1242
|
-
*
|
|
1243
|
-
*
|
|
1244
|
-
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
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:
|
|
1245
1211
|
*
|
|
1246
|
-
* - `
|
|
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.
|
|
1247
1214
|
*
|
|
1248
1215
|
* @example
|
|
1249
1216
|
* true
|
|
@@ -1251,16 +1218,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1251
1218
|
compensateWithOnDemand?: boolean;
|
|
1252
1219
|
/**
|
|
1253
1220
|
* @remarks
|
|
1254
|
-
* The data disk
|
|
1221
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1255
1222
|
*/
|
|
1256
1223
|
dataDisks?: DataDisk[];
|
|
1257
1224
|
/**
|
|
1258
1225
|
* @remarks
|
|
1259
|
-
* The
|
|
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.
|
|
1260
1227
|
*
|
|
1261
|
-
* >Notice:
|
|
1262
1228
|
*
|
|
1263
|
-
* After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
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..
|
|
1264
1230
|
*
|
|
1265
1231
|
* @example
|
|
1266
1232
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1268,11 +1234,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1268
1234
|
deploymentsetId?: string;
|
|
1269
1235
|
/**
|
|
1270
1236
|
* @remarks
|
|
1271
|
-
* The
|
|
1237
|
+
* The desired number of nodes in the node pool.
|
|
1272
1238
|
*
|
|
1273
|
-
*
|
|
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.
|
|
1274
1240
|
*
|
|
1275
|
-
* If you do not need to create nodes, set this parameter to 0
|
|
1241
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
1276
1242
|
*
|
|
1277
1243
|
* @example
|
|
1278
1244
|
* 0
|
|
@@ -1280,12 +1246,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1280
1246
|
desiredSize?: number;
|
|
1281
1247
|
/**
|
|
1282
1248
|
* @remarks
|
|
1283
|
-
* The block device initialization
|
|
1249
|
+
* The block device initialization configuration.
|
|
1284
1250
|
*/
|
|
1285
1251
|
diskInit?: DiskInit[];
|
|
1286
1252
|
/**
|
|
1287
1253
|
* @remarks
|
|
1288
|
-
* The
|
|
1254
|
+
* The custom image ID. The system-provided image is used by default.
|
|
1289
1255
|
*
|
|
1290
1256
|
* @example
|
|
1291
1257
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1293,27 +1259,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1293
1259
|
imageId?: string;
|
|
1294
1260
|
/**
|
|
1295
1261
|
* @remarks
|
|
1296
|
-
* The
|
|
1262
|
+
* The operating system image type. Valid values:
|
|
1297
1263
|
*
|
|
1298
1264
|
* - `AliyunLinux`: Alinux2 image.
|
|
1299
|
-
*
|
|
1300
1265
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1301
|
-
*
|
|
1302
1266
|
* - `AliyunLinux3`: Alinux3 image.
|
|
1303
|
-
*
|
|
1304
1267
|
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1305
|
-
*
|
|
1306
1268
|
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1307
|
-
*
|
|
1308
1269
|
* - `CentOS`: CentOS image.
|
|
1309
|
-
*
|
|
1310
1270
|
* - `Windows`: Windows image.
|
|
1311
|
-
*
|
|
1312
1271
|
* - `WindowsCore`: WindowsCore image.
|
|
1313
|
-
*
|
|
1314
|
-
* - `
|
|
1315
|
-
*
|
|
1316
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
|
|
1272
|
+
* - `ContainerOS`: container-optimized image.
|
|
1273
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1317
1274
|
*
|
|
1318
1275
|
* @example
|
|
1319
1276
|
* AliyunLinux3
|
|
@@ -1321,8 +1278,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1321
1278
|
imageType?: string;
|
|
1322
1279
|
/**
|
|
1323
1280
|
* @remarks
|
|
1324
|
-
* The billing method
|
|
1325
|
-
*
|
|
1281
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
1282
|
+
*
|
|
1326
1283
|
* - `PrePaid`: subscription.
|
|
1327
1284
|
*
|
|
1328
1285
|
* - `PostPaid`: pay-as-you-go.
|
|
@@ -1337,32 +1294,32 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1337
1294
|
instanceChargeType?: string;
|
|
1338
1295
|
/**
|
|
1339
1296
|
* @remarks
|
|
1340
|
-
* The ECS instance metadata access
|
|
1297
|
+
* The ECS instance metadata access configuration.
|
|
1341
1298
|
*/
|
|
1342
1299
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1343
1300
|
/**
|
|
1344
1301
|
* @remarks
|
|
1345
|
-
* The instance
|
|
1302
|
+
* The instance attribute configuration.
|
|
1346
1303
|
*/
|
|
1347
1304
|
instancePatterns?: InstancePatterns[];
|
|
1348
1305
|
/**
|
|
1349
1306
|
* @remarks
|
|
1350
|
-
*
|
|
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.
|
|
1351
1308
|
*
|
|
1352
|
-
* The number of instance types
|
|
1309
|
+
* The number of supported instance types ranges from 1 to 10.
|
|
1353
1310
|
*
|
|
1354
|
-
*
|
|
1311
|
+
*
|
|
1312
|
+
* > To ensure high availability, select multiple instance types.
|
|
1355
1313
|
*
|
|
1356
1314
|
* This parameter is required.
|
|
1357
1315
|
*/
|
|
1358
1316
|
instanceTypes?: string[];
|
|
1359
1317
|
/**
|
|
1360
1318
|
* @remarks
|
|
1361
|
-
* The billing method
|
|
1319
|
+
* The billing method for public IP addresses. Valid values:
|
|
1362
1320
|
*
|
|
1363
1321
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1364
|
-
*
|
|
1365
|
-
* - PayByTraffic: pay-by-traffic.
|
|
1322
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1366
1323
|
*
|
|
1367
1324
|
* @example
|
|
1368
1325
|
* PayByTraffic
|
|
@@ -1370,7 +1327,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1370
1327
|
internetChargeType?: string;
|
|
1371
1328
|
/**
|
|
1372
1329
|
* @remarks
|
|
1373
|
-
* The maximum outbound public
|
|
1330
|
+
* The maximum outbound bandwidth for the public IP address of a node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1374
1331
|
*
|
|
1375
1332
|
* @example
|
|
1376
1333
|
* 5
|
|
@@ -1378,9 +1335,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1378
1335
|
internetMaxBandwidthOut?: number;
|
|
1379
1336
|
/**
|
|
1380
1337
|
* @remarks
|
|
1381
|
-
* 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`.
|
|
1382
1339
|
*
|
|
1383
|
-
* > If
|
|
1340
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1384
1341
|
*
|
|
1385
1342
|
* @example
|
|
1386
1343
|
* np-key-name
|
|
@@ -1388,11 +1345,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1388
1345
|
keyPair?: string;
|
|
1389
1346
|
/**
|
|
1390
1347
|
* @remarks
|
|
1391
|
-
* Specifies whether to log on to the
|
|
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).
|
|
1392
1351
|
*
|
|
1393
|
-
* -
|
|
1394
|
-
*
|
|
1395
|
-
* - false: Logs on as the root user.
|
|
1352
|
+
* - false: logs on as the root user.
|
|
1396
1353
|
*
|
|
1397
1354
|
* @example
|
|
1398
1355
|
* true
|
|
@@ -1400,7 +1357,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1400
1357
|
loginAsNonRoot?: boolean;
|
|
1401
1358
|
/**
|
|
1402
1359
|
* @remarks
|
|
1403
|
-
* The SSH logon password. You
|
|
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.
|
|
1404
1361
|
*
|
|
1405
1362
|
* @example
|
|
1406
1363
|
* ****
|
|
@@ -1408,15 +1365,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1408
1365
|
loginPassword?: string;
|
|
1409
1366
|
/**
|
|
1410
1367
|
* @remarks
|
|
1411
|
-
* The scaling policy for
|
|
1368
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1412
1369
|
*
|
|
1413
|
-
* - `PRIORITY`:
|
|
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.
|
|
1414
1371
|
*
|
|
1415
|
-
* - `COST_OPTIMIZED`:
|
|
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.
|
|
1416
1373
|
*
|
|
1417
|
-
*
|
|
1374
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1418
1375
|
*
|
|
1419
|
-
* - `BALANCE`:
|
|
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.
|
|
1420
1377
|
*
|
|
1421
1378
|
* Default value: `PRIORITY`.
|
|
1422
1379
|
*
|
|
@@ -1426,7 +1383,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1426
1383
|
multiAzPolicy?: string;
|
|
1427
1384
|
/**
|
|
1428
1385
|
* @remarks
|
|
1429
|
-
* 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.
|
|
1430
1387
|
*
|
|
1431
1388
|
* @example
|
|
1432
1389
|
* 0
|
|
@@ -1434,7 +1391,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1434
1391
|
onDemandBaseCapacity?: number;
|
|
1435
1392
|
/**
|
|
1436
1393
|
* @remarks
|
|
1437
|
-
* 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\\].
|
|
1438
1395
|
*
|
|
1439
1396
|
* @example
|
|
1440
1397
|
* 20
|
|
@@ -1442,11 +1399,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1442
1399
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1443
1400
|
/**
|
|
1444
1401
|
* @remarks
|
|
1445
|
-
* The subscription duration
|
|
1446
|
-
*
|
|
1447
|
-
* - If \\`period_unit\\` is set to \\`Week\\`, the valid values of \\`period\\` are 1, 2, 3, and 4.
|
|
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`.
|
|
1448
1403
|
*
|
|
1449
|
-
* -
|
|
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}.
|
|
1450
1406
|
*
|
|
1451
1407
|
* @example
|
|
1452
1408
|
* 1
|
|
@@ -1454,11 +1410,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1454
1410
|
period?: number;
|
|
1455
1411
|
/**
|
|
1456
1412
|
* @remarks
|
|
1457
|
-
* The billing cycle of
|
|
1458
|
-
*
|
|
1459
|
-
* - `Month`: The billing cycle is measured in months.
|
|
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`.
|
|
1460
1414
|
*
|
|
1461
|
-
* - `
|
|
1415
|
+
* - `Month`: billed on a monthly basis.
|
|
1416
|
+
* - `Week`: billed on a weekly basis.
|
|
1462
1417
|
*
|
|
1463
1418
|
* Default value: `Month`.
|
|
1464
1419
|
*
|
|
@@ -1468,16 +1423,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1468
1423
|
periodUnit?: string;
|
|
1469
1424
|
/**
|
|
1470
1425
|
* @remarks
|
|
1471
|
-
* [This parameter is deprecated] Use the
|
|
1472
|
-
*
|
|
1473
|
-
* The OS distribution. Valid values:
|
|
1426
|
+
* [This parameter is deprecated] Use the `image_type` parameter instead.
|
|
1474
1427
|
*
|
|
1428
|
+
* The operating system distribution. Valid values:
|
|
1475
1429
|
* - `CentOS`
|
|
1476
|
-
*
|
|
1477
1430
|
* - `AliyunLinux`
|
|
1478
|
-
*
|
|
1479
1431
|
* - `Windows`
|
|
1480
|
-
*
|
|
1481
1432
|
* - `WindowsCore`
|
|
1482
1433
|
*
|
|
1483
1434
|
* Default value: `AliyunLinux`.
|
|
@@ -1490,20 +1441,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1490
1441
|
platform?: string;
|
|
1491
1442
|
/**
|
|
1492
1443
|
* @remarks
|
|
1493
|
-
* The private pool
|
|
1444
|
+
* The private pool configuration.
|
|
1494
1445
|
*/
|
|
1495
1446
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1496
1447
|
/**
|
|
1497
1448
|
* @remarks
|
|
1498
|
-
* The
|
|
1499
|
-
*
|
|
1500
|
-
* - If this parameter is left empty, the default worker RAM role of the cluster is used.
|
|
1501
|
-
*
|
|
1502
|
-
* - If this parameter is not empty, the specified RAM role must be a **service role**, and its **trusted service** must be **Elastic Compute Service**. For more information, see [Create a service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role of the cluster, the name of the role cannot start with \\`KubernetesMasterRole-\\` or \\`KubernetesWorkerRole-\\`.
|
|
1449
|
+
* The Worker RAM role name.
|
|
1503
1450
|
*
|
|
1504
|
-
*
|
|
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-`.
|
|
1505
1453
|
*
|
|
1506
|
-
* This parameter is supported only
|
|
1454
|
+
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later..
|
|
1507
1455
|
*
|
|
1508
1456
|
* @example
|
|
1509
1457
|
* example-role
|
|
@@ -1511,23 +1459,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1511
1459
|
ramRoleName?: string;
|
|
1512
1460
|
/**
|
|
1513
1461
|
* @remarks
|
|
1514
|
-
*
|
|
1462
|
+
* The list of ApsaraDB RDS instances.
|
|
1515
1463
|
*/
|
|
1516
1464
|
rdsInstances?: string[];
|
|
1517
1465
|
/**
|
|
1518
1466
|
* @remarks
|
|
1519
|
-
* The resource pool and policy used
|
|
1520
|
-
* This parameter takes effect only when
|
|
1521
|
-
* This parameter cannot be set
|
|
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.
|
|
1522
1470
|
*/
|
|
1523
1471
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1524
1472
|
/**
|
|
1525
1473
|
* @remarks
|
|
1526
|
-
* The scaling mode
|
|
1474
|
+
* The scaling group mode. Valid values:
|
|
1527
1475
|
*
|
|
1528
|
-
* - `release`: standard mode.
|
|
1529
|
-
*
|
|
1530
|
-
* - `recycle`: accelerated mode. The system creates, stops, and starts ECS instances to scale the group. This improves the scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instances with local disks.
|
|
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.
|
|
1531
1478
|
*
|
|
1532
1479
|
* Default value: `release`.
|
|
1533
1480
|
*
|
|
@@ -1537,7 +1484,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1537
1484
|
scalingPolicy?: string;
|
|
1538
1485
|
/**
|
|
1539
1486
|
* @remarks
|
|
1540
|
-
* 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`.
|
|
1541
1488
|
*
|
|
1542
1489
|
* @example
|
|
1543
1490
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1547,16 +1494,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1547
1494
|
securityGroupId?: string;
|
|
1548
1495
|
/**
|
|
1549
1496
|
* @remarks
|
|
1550
|
-
*
|
|
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.
|
|
1551
1498
|
*/
|
|
1552
1499
|
securityGroupIds?: string[];
|
|
1553
1500
|
/**
|
|
1554
1501
|
* @remarks
|
|
1555
|
-
* Alibaba Cloud OS security hardening. Valid values:
|
|
1556
|
-
*
|
|
1557
|
-
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1502
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1558
1503
|
*
|
|
1559
|
-
* - `
|
|
1504
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1505
|
+
* - `false`: does not enable Alibaba Cloud OS security hardening.
|
|
1560
1506
|
*
|
|
1561
1507
|
* Default value: `false`.
|
|
1562
1508
|
*
|
|
@@ -1566,7 +1512,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1566
1512
|
securityHardeningOs?: boolean;
|
|
1567
1513
|
/**
|
|
1568
1514
|
* @remarks
|
|
1569
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
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.
|
|
1570
1516
|
*
|
|
1571
1517
|
* @example
|
|
1572
1518
|
* false
|
|
@@ -1574,7 +1520,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1574
1520
|
socEnabled?: boolean;
|
|
1575
1521
|
/**
|
|
1576
1522
|
* @remarks
|
|
1577
|
-
* 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\\].
|
|
1578
1524
|
*
|
|
1579
1525
|
* @example
|
|
1580
1526
|
* 5
|
|
@@ -1582,11 +1528,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1582
1528
|
spotInstancePools?: number;
|
|
1583
1529
|
/**
|
|
1584
1530
|
* @remarks
|
|
1585
|
-
* Specifies whether to enable
|
|
1586
|
-
*
|
|
1587
|
-
* - `true`: Enables the instance reclaim mode.
|
|
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:
|
|
1588
1532
|
*
|
|
1589
|
-
* - `
|
|
1533
|
+
* - `true`: enables supplemental spot instances.
|
|
1534
|
+
* - `false`: disables supplemental spot instances.
|
|
1590
1535
|
*
|
|
1591
1536
|
* @example
|
|
1592
1537
|
* false
|
|
@@ -1594,18 +1539,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1594
1539
|
spotInstanceRemedy?: boolean;
|
|
1595
1540
|
/**
|
|
1596
1541
|
* @remarks
|
|
1597
|
-
* The
|
|
1542
|
+
* The price range configuration for the current spot instance type.
|
|
1598
1543
|
*/
|
|
1599
1544
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1600
1545
|
/**
|
|
1601
1546
|
* @remarks
|
|
1602
|
-
* The bidding policy for
|
|
1547
|
+
* The bidding policy for spot instances. Valid values:
|
|
1603
1548
|
*
|
|
1604
|
-
* - `NoSpot`:
|
|
1549
|
+
* - `NoSpot`: non-spot instance.
|
|
1605
1550
|
*
|
|
1606
|
-
* - `SpotWithPriceLimit`:
|
|
1551
|
+
* - `SpotWithPriceLimit`: sets a maximum price for the spot instance.
|
|
1607
1552
|
*
|
|
1608
|
-
* - `SpotAsPriceGo`:
|
|
1553
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1609
1554
|
*
|
|
1610
1555
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1611
1556
|
*
|
|
@@ -1615,13 +1560,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1615
1560
|
spotStrategy?: string;
|
|
1616
1561
|
/**
|
|
1617
1562
|
* @remarks
|
|
1618
|
-
* Specifies whether to enable
|
|
1619
|
-
*
|
|
1620
|
-
* -
|
|
1621
|
-
*
|
|
1622
|
-
* - false: No.
|
|
1563
|
+
* Specifies whether to enable burst (performance burst) for the system cloud disk. Valid values:
|
|
1564
|
+
* - true: enables burst.
|
|
1565
|
+
* - false: disables burst.
|
|
1623
1566
|
*
|
|
1624
|
-
* This parameter
|
|
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).
|
|
1625
1568
|
*
|
|
1626
1569
|
* @example
|
|
1627
1570
|
* true
|
|
@@ -1629,22 +1572,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1629
1572
|
systemDiskBurstingEnabled?: boolean;
|
|
1630
1573
|
/**
|
|
1631
1574
|
* @remarks
|
|
1632
|
-
* The
|
|
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.
|
|
1633
1576
|
*/
|
|
1634
1577
|
systemDiskCategories?: string[];
|
|
1635
1578
|
/**
|
|
1636
1579
|
* @remarks
|
|
1637
|
-
* The
|
|
1638
|
-
*
|
|
1639
|
-
* - `cloud_efficiency`: ultra disk.
|
|
1640
|
-
*
|
|
1580
|
+
* The system cloud disk type for nodes. Valid values:
|
|
1581
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1641
1582
|
* - `cloud_ssd`: standard SSD.
|
|
1642
|
-
*
|
|
1643
|
-
* - `
|
|
1644
|
-
*
|
|
1645
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1646
|
-
*
|
|
1647
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1583
|
+
* - `cloud_essd`: Enterprise SSD (ESSD).
|
|
1584
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1585
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1648
1586
|
*
|
|
1649
1587
|
* Default value: `cloud_efficiency`.
|
|
1650
1588
|
*
|
|
@@ -1654,7 +1592,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1654
1592
|
systemDiskCategory?: string;
|
|
1655
1593
|
/**
|
|
1656
1594
|
* @remarks
|
|
1657
|
-
* The encryption algorithm
|
|
1595
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1658
1596
|
*
|
|
1659
1597
|
* @example
|
|
1660
1598
|
* aes-256
|
|
@@ -1662,11 +1600,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1662
1600
|
systemDiskEncryptAlgorithm?: string;
|
|
1663
1601
|
/**
|
|
1664
1602
|
* @remarks
|
|
1665
|
-
* Specifies whether to encrypt the system disk. Valid values:
|
|
1603
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1666
1604
|
*
|
|
1667
|
-
* - true: encrypts the system disk.
|
|
1605
|
+
* - true: encrypts the system cloud disk.
|
|
1668
1606
|
*
|
|
1669
|
-
* - false: does not encrypt the system disk.
|
|
1607
|
+
* - false: does not encrypt the system cloud disk.
|
|
1670
1608
|
*
|
|
1671
1609
|
* @example
|
|
1672
1610
|
* false
|
|
@@ -1674,7 +1612,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1674
1612
|
systemDiskEncrypted?: boolean;
|
|
1675
1613
|
/**
|
|
1676
1614
|
* @remarks
|
|
1677
|
-
* The
|
|
1615
|
+
* The KMS key ID used for the system cloud disk.
|
|
1678
1616
|
*
|
|
1679
1617
|
* @example
|
|
1680
1618
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1682,15 +1620,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1682
1620
|
systemDiskKmsKeyId?: string;
|
|
1683
1621
|
/**
|
|
1684
1622
|
* @remarks
|
|
1685
|
-
* The performance level of the system disk
|
|
1686
|
-
*
|
|
1687
|
-
* -
|
|
1688
|
-
*
|
|
1689
|
-
* -
|
|
1690
|
-
*
|
|
1691
|
-
* - PL2: A high maximum concurrent I/O performance and a stable read/write latency.
|
|
1692
|
-
*
|
|
1693
|
-
* - PL3: A very high maximum concurrent I/O performance and a very stable read/write latency.
|
|
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.
|
|
1694
1628
|
*
|
|
1695
1629
|
* @example
|
|
1696
1630
|
* PL1
|
|
@@ -1698,11 +1632,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1698
1632
|
systemDiskPerformanceLevel?: string;
|
|
1699
1633
|
/**
|
|
1700
1634
|
* @remarks
|
|
1701
|
-
* The provisioned read/write IOPS
|
|
1635
|
+
* The provisioned read/write IOPS for the system cloud disk.
|
|
1702
1636
|
*
|
|
1703
|
-
* Valid values: 0 to min{50,000,
|
|
1637
|
+
* Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50000}.
|
|
1704
1638
|
*
|
|
1705
|
-
* This parameter
|
|
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).
|
|
1706
1640
|
*
|
|
1707
1641
|
* @example
|
|
1708
1642
|
* 1000
|
|
@@ -1710,9 +1644,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1710
1644
|
systemDiskProvisionedIops?: number;
|
|
1711
1645
|
/**
|
|
1712
1646
|
* @remarks
|
|
1713
|
-
* The
|
|
1647
|
+
* The system cloud disk size for nodes. Unit: GiB.
|
|
1714
1648
|
*
|
|
1715
|
-
*
|
|
1649
|
+
* Valid values: [20,2048\\].
|
|
1716
1650
|
*
|
|
1717
1651
|
* @example
|
|
1718
1652
|
* 120
|
|
@@ -1720,7 +1654,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1720
1654
|
systemDiskSize?: number;
|
|
1721
1655
|
/**
|
|
1722
1656
|
* @remarks
|
|
1723
|
-
* The snapshot policy for the system disk.
|
|
1657
|
+
* The snapshot policy for the system cloud disk.
|
|
1724
1658
|
*
|
|
1725
1659
|
* @example
|
|
1726
1660
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1728,16 +1662,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1728
1662
|
systemDiskSnapshotPolicyId?: string;
|
|
1729
1663
|
/**
|
|
1730
1664
|
* @remarks
|
|
1731
|
-
*
|
|
1665
|
+
* Tags that are added only to ECS instances.
|
|
1732
1666
|
*
|
|
1733
|
-
*
|
|
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://".
|
|
1734
1668
|
*/
|
|
1735
1669
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1736
1670
|
/**
|
|
1737
1671
|
* @remarks
|
|
1738
|
-
*
|
|
1672
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1739
1673
|
*
|
|
1740
|
-
* >
|
|
1674
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1741
1675
|
*
|
|
1742
1676
|
* This parameter is required.
|
|
1743
1677
|
*/
|
|
@@ -1903,11 +1837,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1903
1837
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1904
1838
|
/**
|
|
1905
1839
|
* @remarks
|
|
1906
|
-
* Specifies whether to enable
|
|
1840
|
+
* Specifies whether to enable confidential computing for the cluster.
|
|
1907
1841
|
*
|
|
1908
|
-
* - true:
|
|
1842
|
+
* - true: enables confidential computing.
|
|
1909
1843
|
*
|
|
1910
|
-
* - false:
|
|
1844
|
+
* - false: does not enable confidential computing.
|
|
1911
1845
|
*
|
|
1912
1846
|
* @example
|
|
1913
1847
|
* true
|
|
@@ -1937,17 +1871,17 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1937
1871
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1938
1872
|
/**
|
|
1939
1873
|
* @remarks
|
|
1940
|
-
* The intelligent managed node pool
|
|
1874
|
+
* The intelligent managed mode configuration for the node pool.
|
|
1941
1875
|
*/
|
|
1942
1876
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1943
1877
|
/**
|
|
1944
1878
|
* @remarks
|
|
1945
|
-
* The
|
|
1879
|
+
* The elastic scaling configuration.
|
|
1946
1880
|
*/
|
|
1947
1881
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1948
1882
|
/**
|
|
1949
1883
|
* @remarks
|
|
1950
|
-
* [This
|
|
1884
|
+
* [This field is deprecated] Use desired_size instead.
|
|
1951
1885
|
*
|
|
1952
1886
|
* The number of nodes in the node pool.
|
|
1953
1887
|
*
|
|
@@ -1959,16 +1893,14 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1959
1893
|
count?: number;
|
|
1960
1894
|
/**
|
|
1961
1895
|
* @remarks
|
|
1962
|
-
* The Lingjun node pool
|
|
1896
|
+
* The Lingjun node pool configuration.
|
|
1963
1897
|
*/
|
|
1964
1898
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1965
1899
|
/**
|
|
1966
1900
|
* @remarks
|
|
1967
|
-
* Specifies whether
|
|
1968
|
-
*
|
|
1969
|
-
* - `
|
|
1970
|
-
*
|
|
1971
|
-
* - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
|
|
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.
|
|
1972
1904
|
*
|
|
1973
1905
|
* @example
|
|
1974
1906
|
* true
|
|
@@ -1976,20 +1908,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1976
1908
|
hostNetwork?: boolean;
|
|
1977
1909
|
/**
|
|
1978
1910
|
* @remarks
|
|
1979
|
-
* [This
|
|
1911
|
+
* [This field is deprecated]
|
|
1980
1912
|
*
|
|
1981
|
-
* The
|
|
1913
|
+
* The edge node pool configuration.
|
|
1982
1914
|
*
|
|
1983
1915
|
* @deprecated
|
|
1984
1916
|
*/
|
|
1985
1917
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1986
1918
|
/**
|
|
1987
1919
|
* @remarks
|
|
1988
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1989
|
-
*
|
|
1990
|
-
* - `basic`: public network. Nodes in the node pool interact with cloud nodes over the Internet. Applications in the node pool cannot directly access the VPC in the cloud.
|
|
1920
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1991
1921
|
*
|
|
1992
|
-
* - `
|
|
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.
|
|
1993
1924
|
*
|
|
1994
1925
|
* @example
|
|
1995
1926
|
* basic
|
|
@@ -1997,11 +1928,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1997
1928
|
interconnectMode?: string;
|
|
1998
1929
|
/**
|
|
1999
1930
|
* @remarks
|
|
2000
|
-
* Specifies whether
|
|
2001
|
-
*
|
|
2002
|
-
* - `
|
|
2003
|
-
*
|
|
2004
|
-
* - `false`: All hosts in the 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.
|
|
2005
1934
|
*
|
|
2006
1935
|
* @example
|
|
2007
1936
|
* true
|
|
@@ -2009,19 +1938,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2009
1938
|
intranet?: boolean;
|
|
2010
1939
|
/**
|
|
2011
1940
|
* @remarks
|
|
2012
|
-
* The cluster-related
|
|
1941
|
+
* The cluster-related configuration.
|
|
2013
1942
|
*/
|
|
2014
1943
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2015
1944
|
/**
|
|
2016
1945
|
* @remarks
|
|
2017
|
-
* The
|
|
1946
|
+
* The managed node pool configuration.
|
|
2018
1947
|
*/
|
|
2019
1948
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2020
1949
|
/**
|
|
2021
1950
|
* @remarks
|
|
2022
|
-
* [This
|
|
1951
|
+
* [This field is deprecated]
|
|
2023
1952
|
*
|
|
2024
|
-
* The maximum number of nodes
|
|
1953
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
2025
1954
|
*
|
|
2026
1955
|
* @example
|
|
2027
1956
|
* null
|
|
@@ -2031,27 +1960,27 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2031
1960
|
maxNodes?: number;
|
|
2032
1961
|
/**
|
|
2033
1962
|
* @remarks
|
|
2034
|
-
*
|
|
1963
|
+
* The list of node components.
|
|
2035
1964
|
*/
|
|
2036
1965
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
2037
1966
|
/**
|
|
2038
1967
|
* @remarks
|
|
2039
|
-
* The node
|
|
1968
|
+
* The node configuration.
|
|
2040
1969
|
*/
|
|
2041
1970
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
2042
1971
|
/**
|
|
2043
1972
|
* @remarks
|
|
2044
|
-
* The node pool
|
|
1973
|
+
* The node pool configuration.
|
|
2045
1974
|
*/
|
|
2046
1975
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
2047
1976
|
/**
|
|
2048
1977
|
* @remarks
|
|
2049
|
-
* The
|
|
1978
|
+
* The scaling group configuration for the node pool.
|
|
2050
1979
|
*/
|
|
2051
1980
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
2052
1981
|
/**
|
|
2053
1982
|
* @remarks
|
|
2054
|
-
* The
|
|
1983
|
+
* The confidential computing cluster configuration.
|
|
2055
1984
|
*/
|
|
2056
1985
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
2057
1986
|
static names(): { [key: string]: string } {
|