@alicloud/cs20151215 7.2.2 → 7.2.4
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 +270 -270
- package/dist/client.js +270 -270
- package/dist/models/Addon.d.ts +4 -5
- package/dist/models/Addon.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +30 -36
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +7 -7
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -4
- package/dist/models/CheckServiceRoleRequest.d.ts +1 -1
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -4
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -2
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +6 -6
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -298
- package/dist/models/CreateClusterNodePoolRequest.js +36 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +2 -9
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +2 -3
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +4 -4
- package/dist/models/CreateTemplateRequest.d.ts +8 -8
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +7 -7
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -5
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +4 -4
- package/dist/models/DeleteClusterRequest.d.ts +20 -19
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterShrinkRequest.d.ts +11 -10
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +3 -3
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +3 -3
- package/dist/models/DeployPolicyInstanceRequest.d.ts +4 -4
- package/dist/models/DescribeAddonRequest.d.ts +7 -17
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +7 -9
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +11 -13
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +5 -6
- package/dist/models/DescribeClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -13
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -6
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +24 -24
- package/dist/models/DescribeClusterLogsResponse.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +255 -242
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +5 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +244 -295
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +5 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +1 -3
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +19 -21
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +13 -2
- package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -3
- package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterV2userKubeconfigRequest.d.ts +4 -0
- package/dist/models/DescribeClusterV2userKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterV2userKubeconfigResponseBody.d.ts +4 -0
- package/dist/models/DescribeClusterV2userKubeconfigResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +7 -7
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -19
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +26 -26
- package/dist/models/DescribeClustersRequest.d.ts +8 -1
- package/dist/models/DescribeClustersRequest.js.map +1 -1
- package/dist/models/DescribeClustersResponse.d.ts +199 -0
- package/dist/models/DescribeClustersResponse.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +2 -2
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +1 -1
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +8 -9
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +12 -12
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +27 -18
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesResponse.d.ts +10 -10
- package/dist/models/DescribeRegionsRequest.d.ts +2 -2
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +6 -6
- package/dist/models/DescribeTemplatesRequest.d.ts +6 -6
- package/dist/models/DescribeTemplatesResponseBody.d.ts +10 -10
- package/dist/models/DescribeTriggerRequest.d.ts +5 -11
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +3 -3
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +2 -2
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +14 -14
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +2 -2
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +3 -3
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +6 -6
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +4 -4
- package/dist/models/GetKubernetesTriggerResponse.d.ts +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +10 -10
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/ListAddonsRequest.d.ts +6 -17
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +12 -17
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +17 -7
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +8 -8
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +1 -1
- package/dist/models/ListNodePoolComponentsRequest.d.ts +4 -4
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +4 -4
- package/dist/models/ListTagResourcesRequest.d.ts +3 -2
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +3 -2
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +2 -2
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +7 -9
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +5 -5
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/QuotasValue.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +10 -10
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +10 -10
- package/dist/models/RepairClusterNodePoolRequest.d.ts +6 -6
- package/dist/models/RunClusterCheckRequest.d.ts +1 -5
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +7 -7
- 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 +1 -2
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +5 -5
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UntagResourcesRequest.d.ts +6 -6
- package/dist/models/UntagResourcesShrinkRequest.d.ts +6 -6
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +6 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +4 -4
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +2 -2
- package/dist/models/UpdateKmsencryptionRequest.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +5 -5
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +3 -3
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +2 -2
- package/dist/models/UpdateTemplateRequest.d.ts +7 -7
- package/dist/models/UpdateUserPermissionsRequest.d.ts +24 -25
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +6 -7
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +26 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +270 -270
- package/src/models/Addon.ts +4 -5
- package/src/models/AttachInstancesRequest.ts +30 -36
- package/src/models/AttachInstancesToNodePoolRequest.ts +7 -7
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -4
- package/src/models/CheckServiceRoleRequest.ts +1 -1
- package/src/models/CheckServiceRoleResponseBody.ts +4 -4
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -2
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +6 -6
- package/src/models/CreateClusterDiagnosisRequest.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +1 -1
- package/src/models/CreateClusterNodePoolRequest.ts +290 -298
- package/src/models/CreateKubernetesTriggerRequest.ts +3 -10
- package/src/models/CreateKubernetesTriggerResponseBody.ts +3 -4
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +4 -4
- package/src/models/CreateTemplateRequest.ts +8 -8
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/CreateTriggerRequest.ts +7 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -5
- package/src/models/DeleteClusterNodesRequest.ts +4 -4
- package/src/models/DeleteClusterRequest.ts +20 -19
- package/src/models/DeleteClusterResponseBody.ts +3 -3
- package/src/models/DeleteClusterShrinkRequest.ts +11 -10
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +3 -3
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +3 -3
- package/src/models/DeployPolicyInstanceRequest.ts +4 -4
- package/src/models/DescribeAddonRequest.ts +7 -17
- package/src/models/DescribeAddonResponseBody.ts +7 -9
- package/src/models/DescribeAddonsRequest.ts +11 -13
- package/src/models/DescribeAddonsResponseBody.ts +1 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +5 -6
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -13
- package/src/models/DescribeClusterEventsRequest.ts +8 -6
- package/src/models/DescribeClusterEventsResponseBody.ts +24 -24
- package/src/models/DescribeClusterLogsResponse.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +258 -242
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +247 -295
- package/src/models/DescribeClusterResourcesRequest.ts +1 -3
- package/src/models/DescribeClusterResourcesResponse.ts +19 -21
- package/src/models/DescribeClusterTasksRequest.ts +13 -2
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -3
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterV2userKubeconfigRequest.ts +4 -0
- package/src/models/DescribeClusterV2userKubeconfigResponseBody.ts +4 -0
- package/src/models/DescribeClusterVulsResponseBody.ts +7 -7
- package/src/models/DescribeClustersForRegionRequest.ts +19 -19
- package/src/models/DescribeClustersForRegionResponseBody.ts +26 -26
- package/src/models/DescribeClustersRequest.ts +8 -1
- package/src/models/DescribeClustersResponse.ts +199 -0
- package/src/models/DescribeExternalAgentRequest.ts +2 -2
- package/src/models/DescribeNodePoolVulsRequest.ts +1 -1
- package/src/models/DescribeNodePoolVulsResponseBody.ts +8 -9
- package/src/models/DescribePolicyDetailsResponseBody.ts +12 -12
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +27 -18
- package/src/models/DescribePolicyInstancesResponse.ts +10 -10
- package/src/models/DescribeRegionsRequest.ts +2 -2
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeRequest.ts +3 -3
- package/src/models/DescribeTemplateAttributeResponse.ts +6 -6
- package/src/models/DescribeTemplatesRequest.ts +6 -6
- package/src/models/DescribeTemplatesResponseBody.ts +10 -10
- package/src/models/DescribeTriggerRequest.ts +5 -11
- package/src/models/DescribeTriggerResponse.ts +3 -3
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +2 -2
- package/src/models/GetClusterAddonInstanceResponseBody.ts +14 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +2 -2
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +3 -3
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +6 -6
- package/src/models/GetClusterInspectConfigResponseBody.ts +1 -1
- package/src/models/GetKubernetesTriggerRequest.ts +4 -4
- package/src/models/GetKubernetesTriggerResponse.ts +1 -1
- package/src/models/GetUpgradeStatusResponseBody.ts +10 -10
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/ListAddonsRequest.ts +6 -17
- package/src/models/ListAddonsResponseBody.ts +12 -17
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +19 -7
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +1 -1
- package/src/models/ListClusterAddonInstancesResponseBody.ts +8 -8
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +1 -1
- package/src/models/ListNodePoolComponentsRequest.ts +4 -4
- package/src/models/ListNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +4 -4
- package/src/models/ListTagResourcesRequest.ts +3 -2
- package/src/models/ListTagResourcesResponseBody.ts +2 -2
- package/src/models/ListTagResourcesShrinkRequest.ts +3 -2
- package/src/models/ListUserKubeConfigStatesRequest.ts +2 -2
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +7 -9
- package/src/models/ModifyAutoRepairPolicyRequest.ts +5 -5
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyPolicyInstanceRequest.ts +5 -5
- package/src/models/Nodepool.ts +152 -202
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/QuotasValue.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +10 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +10 -10
- package/src/models/RepairClusterNodePoolRequest.ts +6 -6
- package/src/models/RunClusterCheckRequest.ts +1 -5
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +1 -1
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/StandardComponentsValue.ts +7 -7
- 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 +1 -2
- package/src/models/TagResourcesRequest.ts +5 -5
- package/src/models/UnInstallClusterAddonsRequest.ts +2 -2
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UntagResourcesRequest.ts +6 -6
- package/src/models/UntagResourcesShrinkRequest.ts +6 -6
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +6 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +3 -3
- package/src/models/UpdateClusterInspectConfigRequest.ts +1 -1
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +1 -1
- package/src/models/UpdateControlPlaneLogRequest.ts +4 -4
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +2 -2
- package/src/models/UpdateKmsencryptionRequest.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +5 -5
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +3 -3
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +2 -2
- package/src/models/UpdateTemplateRequest.ts +7 -7
- package/src/models/UpdateUserPermissionsRequest.ts +24 -25
- package/src/models/UpgradeClusterRequest.ts +6 -7
- package/src/models/model.ts +1 -0
|
@@ -5,6 +5,7 @@ import { DiskInit } from "./DiskInit";
|
|
|
5
5
|
import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
|
|
6
6
|
import { InstancePatterns } from "./InstancePatterns";
|
|
7
7
|
import { KubeletConfig } from "./KubeletConfig";
|
|
8
|
+
import { Hugepage } from "./Hugepage";
|
|
8
9
|
import { Tag } from "./Tag";
|
|
9
10
|
import { Taint } from "./Taint";
|
|
10
11
|
|
|
@@ -12,10 +13,9 @@ import { Taint } from "./Taint";
|
|
|
12
13
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
14
|
/**
|
|
14
15
|
* @remarks
|
|
15
|
-
* Specifies whether to enable
|
|
16
|
-
*
|
|
17
|
-
* -
|
|
18
|
-
* - false: Does not enable intelligent managed mode.
|
|
16
|
+
* Specifies whether to enable auto mode. Valid values:
|
|
17
|
+
* - true: enables auto mode. This value is valid only when auto mode is enabled for the cluster.
|
|
18
|
+
* - false: disables auto mode.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* true
|
|
@@ -61,7 +61,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
61
61
|
*
|
|
62
62
|
* The billing method of the EIP. Valid values:
|
|
63
63
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
64
|
-
* - `PayByTraffic`: pay-by-
|
|
64
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
65
65
|
*
|
|
66
66
|
* Default value: `PayByBandwidth`.
|
|
67
67
|
*
|
|
@@ -75,11 +75,11 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
75
75
|
* @remarks
|
|
76
76
|
* Specifies whether to enable auto scaling. Valid values:
|
|
77
77
|
*
|
|
78
|
-
* - `true`: enables
|
|
78
|
+
* - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales node resources based on the configured minimum and maximum numbers of instances. For clusters of version 1.24 and later, node instant elasticity is enabled by default. For clusters earlier than version 1.24, node auto scaling is enabled by default. For more information, see [Node auto scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
79
79
|
*
|
|
80
|
-
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured
|
|
80
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes to keep the number of nodes at the expected value.
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
* If this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
83
83
|
*
|
|
84
84
|
* Default value: `false`.
|
|
85
85
|
*
|
|
@@ -89,9 +89,9 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
89
89
|
enable?: boolean;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
* **[Deprecated]**
|
|
92
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
93
93
|
*
|
|
94
|
-
* Specifies whether to associate an
|
|
94
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
95
95
|
*
|
|
96
96
|
* - `true`: associates an EIP.
|
|
97
97
|
*
|
|
@@ -107,7 +107,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
107
107
|
isBondEip?: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* The maximum number of scalable instances in the node pool, excluding
|
|
110
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
|
|
111
111
|
*
|
|
112
112
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
113
113
|
*
|
|
@@ -117,12 +117,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
117
117
|
maxInstances?: number;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The minimum number of scalable instances in the node pool, excluding
|
|
120
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
|
|
121
121
|
*
|
|
122
122
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
123
123
|
*
|
|
124
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
125
|
-
* > - Settings for the maximum number of instances should not be less than the current number of nodes in the node pool. Otherwise, nodes in the node pool
|
|
124
|
+
* > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances occurs after the scaling group takes effect.
|
|
125
|
+
* > - The recommended Settings for the maximum number of instances should not be less than the current number of nodes in the node pool. Otherwise, the elastic scaling feature scales in the nodes in the node pool immediately after it takes effect.
|
|
126
126
|
*
|
|
127
127
|
* @example
|
|
128
128
|
* 1
|
|
@@ -130,15 +130,15 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
130
130
|
minInstances?: number;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
* The elastic scaling
|
|
133
|
+
* The instance type for elastic scaling. This parameter takes effect only when `enable` is set to true. Valid values:
|
|
134
134
|
*
|
|
135
|
-
* - `cpu`: regular instance
|
|
135
|
+
* - `cpu`: regular instance.
|
|
136
136
|
*
|
|
137
|
-
* - `gpu`: GPU instance
|
|
137
|
+
* - `gpu`: GPU-accelerated instance.
|
|
138
138
|
*
|
|
139
|
-
* - `gpushare`: GPU
|
|
139
|
+
* - `gpushare`: GPU-shared instance.
|
|
140
140
|
*
|
|
141
|
-
* - `spot`: spot instance
|
|
141
|
+
* - `spot`: spot instance.
|
|
142
142
|
*
|
|
143
143
|
* Default value: `cpu`.
|
|
144
144
|
* >Notice: This parameter cannot be modified after the node pool is created.
|
|
@@ -183,12 +183,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
183
183
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
184
184
|
/**
|
|
185
185
|
* @remarks
|
|
186
|
-
* Specifies whether to enable
|
|
186
|
+
* Specifies whether to enable auto-attach for the Lingjun node pool.
|
|
187
187
|
*/
|
|
188
188
|
autoAttachEnabled?: boolean;
|
|
189
189
|
/**
|
|
190
190
|
* @remarks
|
|
191
|
-
* The Lingjun cluster
|
|
191
|
+
* The ID of the Lingjun cluster to associate when creating the Lingjun node pool.
|
|
192
192
|
*
|
|
193
193
|
* @example
|
|
194
194
|
* i1169130516633730****
|
|
@@ -196,7 +196,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
196
196
|
clusterId?: string;
|
|
197
197
|
/**
|
|
198
198
|
* @remarks
|
|
199
|
-
* The Lingjun group
|
|
199
|
+
* The ID of the Lingjun group in the Lingjun cluster to associate when creating the Lingjun node pool.
|
|
200
200
|
*
|
|
201
201
|
* @example
|
|
202
202
|
* ng-ec3c96ff0aa****
|
|
@@ -239,7 +239,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
239
239
|
* @remarks
|
|
240
240
|
* **[Deprecated]**
|
|
241
241
|
*
|
|
242
|
-
* The network bandwidth of the enhanced
|
|
242
|
+
* The network bandwidth of the edge-enhanced node pool. Unit: Mbit/s.
|
|
243
243
|
*
|
|
244
244
|
* @example
|
|
245
245
|
* null
|
|
@@ -249,7 +249,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
249
249
|
* @remarks
|
|
250
250
|
* **[Deprecated]**
|
|
251
251
|
*
|
|
252
|
-
* The Cloud Connect Network (CCN)
|
|
252
|
+
* The instance ID of the Cloud Connect Network (CCN) attached to the edge-enhanced node pool.
|
|
253
253
|
*
|
|
254
254
|
* @example
|
|
255
255
|
* null
|
|
@@ -259,7 +259,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
259
259
|
* @remarks
|
|
260
260
|
* **[Deprecated]**
|
|
261
261
|
*
|
|
262
|
-
* The region of the
|
|
262
|
+
* The region of the CCN instance associated with the edge-enhanced node pool.
|
|
263
263
|
*
|
|
264
264
|
* @example
|
|
265
265
|
* null
|
|
@@ -269,7 +269,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
269
269
|
* @remarks
|
|
270
270
|
* **[Deprecated]**
|
|
271
271
|
*
|
|
272
|
-
* The Cloud Enterprise Network (CEN)
|
|
272
|
+
* The instance ID of the Cloud Enterprise Network (CEN) attached to the edge-enhanced node pool.
|
|
273
273
|
*
|
|
274
274
|
* @example
|
|
275
275
|
* null
|
|
@@ -279,7 +279,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
279
279
|
* @remarks
|
|
280
280
|
* **[Deprecated]**
|
|
281
281
|
*
|
|
282
|
-
* The
|
|
282
|
+
* The subscription duration of the edge-enhanced node pool. Unit: months.
|
|
283
283
|
*
|
|
284
284
|
* @example
|
|
285
285
|
* null
|
|
@@ -317,12 +317,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
317
317
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
318
318
|
/**
|
|
319
319
|
* @remarks
|
|
320
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After
|
|
321
|
-
*
|
|
322
|
-
* - `
|
|
323
|
-
*
|
|
324
|
-
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
325
|
-
*
|
|
320
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After the agent is installed, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Valid values:
|
|
321
|
+
* - `true`: The CloudMonitor agent is installed on ECS nodes.
|
|
322
|
+
* - `false`: The CloudMonitor agent is not installed on ECS nodes.
|
|
326
323
|
* Default value: `false`.
|
|
327
324
|
*
|
|
328
325
|
* @example
|
|
@@ -331,11 +328,9 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
331
328
|
cmsEnabled?: boolean;
|
|
332
329
|
/**
|
|
333
330
|
* @remarks
|
|
334
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
335
|
-
*
|
|
336
|
-
* - `
|
|
337
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
338
|
-
*
|
|
331
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
332
|
+
* - `static`: Allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
333
|
+
* - `none`: Uses the default CPU affinity scheme.
|
|
339
334
|
* Default value: `none`.
|
|
340
335
|
*
|
|
341
336
|
* @example
|
|
@@ -344,27 +339,23 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
344
339
|
cpuPolicy?: string;
|
|
345
340
|
/**
|
|
346
341
|
* @remarks
|
|
347
|
-
* The
|
|
342
|
+
* The labels to be added to the nodes in the Kubernetes cluster.
|
|
348
343
|
*/
|
|
349
344
|
labels?: Tag[];
|
|
350
345
|
/**
|
|
351
346
|
* @remarks
|
|
352
|
-
* The custom node name. After you
|
|
353
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing
|
|
354
|
-
*
|
|
355
|
-
* A node name consists of three parts: prefix, node IP address, and suffix.
|
|
347
|
+
* The custom node name. After you specify a custom node name, the node name, ECS instance name, and ECS instance hostname are changed accordingly.
|
|
348
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing periods (.) in the IP address, and without prefixes or suffixes.
|
|
356
349
|
*
|
|
357
|
-
*
|
|
350
|
+
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
351
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
352
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with a letter and cannot start or end with a hyphen (-) or a period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
353
|
+
* - The prefix is required due to ECS limits, and the suffix is optional.
|
|
354
|
+
* - The node IP address is the complete private IP address of the node.
|
|
358
355
|
*
|
|
359
|
-
*
|
|
360
|
-
* -
|
|
361
|
-
* -
|
|
362
|
-
*
|
|
363
|
-
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
364
|
-
*
|
|
365
|
-
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
366
|
-
*
|
|
367
|
-
* - 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.
|
|
356
|
+
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
357
|
+
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
358
|
+
* - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and both the node name and ECS instance name are aliyun.com192.XX.YY.55test.
|
|
368
359
|
*
|
|
369
360
|
* @example
|
|
370
361
|
* aliyun.com192.XX.YY.55test
|
|
@@ -372,7 +363,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
372
363
|
nodeNameMode?: string;
|
|
373
364
|
/**
|
|
374
365
|
* @remarks
|
|
375
|
-
* The pre-
|
|
366
|
+
* The pre-custom data of the instance. Before the node is added to the cluster, the specified pre-custom data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
376
367
|
*
|
|
377
368
|
* @example
|
|
378
369
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -380,13 +371,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
380
371
|
preUserData?: string;
|
|
381
372
|
/**
|
|
382
373
|
* @remarks
|
|
383
|
-
* The container runtime
|
|
384
|
-
*
|
|
385
|
-
* -
|
|
386
|
-
* -
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
* Default value: containerd.
|
|
374
|
+
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
375
|
+
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
376
|
+
* - `Sandboxed-Container.runv`: Secure sandboxed containers that provide higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
377
|
+
* - `docker`: Deprecated. Supported by clusters of version 1.22 and earlier.
|
|
378
|
+
* Default value: `containerd`.
|
|
390
379
|
*
|
|
391
380
|
* @example
|
|
392
381
|
* containerd
|
|
@@ -407,11 +396,9 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
407
396
|
taints?: Taint[];
|
|
408
397
|
/**
|
|
409
398
|
* @remarks
|
|
410
|
-
* Specifies whether
|
|
411
|
-
*
|
|
412
|
-
* -
|
|
413
|
-
*
|
|
414
|
-
* - false: Schedulable.
|
|
399
|
+
* Specifies whether the scaled-out nodes are unschedulable. Valid values:
|
|
400
|
+
* - `true`: The nodes are unschedulable.
|
|
401
|
+
* - `false`: The nodes are schedulable.
|
|
415
402
|
*
|
|
416
403
|
* @example
|
|
417
404
|
* true
|
|
@@ -419,7 +406,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
419
406
|
unschedulable?: boolean;
|
|
420
407
|
/**
|
|
421
408
|
* @remarks
|
|
422
|
-
* The instance user data. After
|
|
409
|
+
* The instance user data. After the node is added to the cluster, the specified instance user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
423
410
|
*
|
|
424
411
|
* @example
|
|
425
412
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -478,7 +465,15 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
478
465
|
approvalRequired?: boolean;
|
|
479
466
|
/**
|
|
480
467
|
* @remarks
|
|
481
|
-
* The
|
|
468
|
+
* The ID of the auto-repair policy. If you do not specify this parameter or specify an empty string, no auto-healing rule is bound.
|
|
469
|
+
*
|
|
470
|
+
* @example
|
|
471
|
+
* r-xxxxxxxxxx
|
|
472
|
+
*/
|
|
473
|
+
autoRepairPolicyId?: string;
|
|
474
|
+
/**
|
|
475
|
+
* @remarks
|
|
476
|
+
* The maximum number of nodes or the percentage of nodes that can be repaired simultaneously when a large number of abnormal nodes exist in the node pool. You can specify a number (for example, 5, valid values: 1 to 100000) or a percentage (for example, 10%, valid values: 1% to 100%). Default value: 1.
|
|
482
477
|
*
|
|
483
478
|
* @example
|
|
484
479
|
* 5
|
|
@@ -486,7 +481,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
486
481
|
maxParallelRepairingNodes?: string;
|
|
487
482
|
/**
|
|
488
483
|
* @remarks
|
|
489
|
-
* The
|
|
484
|
+
* The circuit breaker threshold for auto-healing. When the number or percentage of faulty nodes exceeds this threshold, auto-healing enters the circuit breaker state and stops initiating new auto-healing repair actions. You can specify a number (for example, 10, valid values: 1 to 100000) or a percentage (for example, 20%, valid values: 1% to 100%). Default value: 100%.
|
|
490
485
|
*
|
|
491
486
|
* @example
|
|
492
487
|
* 20%
|
|
@@ -494,11 +489,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
494
489
|
maxUnhealthyNodesThreshold?: string;
|
|
495
490
|
/**
|
|
496
491
|
* @remarks
|
|
497
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when
|
|
498
|
-
*
|
|
499
|
-
* - `
|
|
500
|
-
* - `false`: Node restarts are not allowed.
|
|
501
|
-
*
|
|
492
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when auto_repair is set to true. Valid values:
|
|
493
|
+
* - `true`: Allows node restarts.
|
|
494
|
+
* - `false`: Does not allow node restarts.
|
|
502
495
|
* Default value: `true`.
|
|
503
496
|
*
|
|
504
497
|
* @example
|
|
@@ -508,6 +501,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
508
501
|
static names(): { [key: string]: string } {
|
|
509
502
|
return {
|
|
510
503
|
approvalRequired: 'approval_required',
|
|
504
|
+
autoRepairPolicyId: 'auto_repair_policy_id',
|
|
511
505
|
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
512
506
|
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
513
507
|
restartNode: 'restart_node',
|
|
@@ -517,6 +511,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
517
511
|
static types(): { [key: string]: any } {
|
|
518
512
|
return {
|
|
519
513
|
approvalRequired: 'boolean',
|
|
514
|
+
autoRepairPolicyId: 'string',
|
|
520
515
|
maxParallelRepairingNodes: 'string',
|
|
521
516
|
maxUnhealthyNodesThreshold: 'string',
|
|
522
517
|
restartNode: 'boolean',
|
|
@@ -535,10 +530,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
535
530
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
536
531
|
/**
|
|
537
532
|
* @remarks
|
|
538
|
-
* Specifies whether to allow automatic kubelet
|
|
539
|
-
* - `true`:
|
|
540
|
-
* - `false`:
|
|
541
|
-
*
|
|
533
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
534
|
+
* - `true`: Allows automatic kubelet upgrades.
|
|
535
|
+
* - `false`: Does not allow automatic kubelet upgrades.
|
|
542
536
|
* Default value: `true`.
|
|
543
537
|
*
|
|
544
538
|
* @example
|
|
@@ -547,11 +541,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
547
541
|
autoUpgradeKubelet?: boolean;
|
|
548
542
|
/**
|
|
549
543
|
* @remarks
|
|
550
|
-
* Specifies whether to allow automatic operating system
|
|
551
|
-
* - `true`:
|
|
552
|
-
* - `false`:
|
|
553
|
-
*
|
|
554
|
-
*
|
|
544
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
545
|
+
* - `true`: Allows automatic operating system upgrades.
|
|
546
|
+
* - `false`: Does not allow automatic operating system upgrades.
|
|
555
547
|
* Default value: `false`.
|
|
556
548
|
*
|
|
557
549
|
* @example
|
|
@@ -560,10 +552,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
560
552
|
autoUpgradeOs?: boolean;
|
|
561
553
|
/**
|
|
562
554
|
* @remarks
|
|
563
|
-
* Specifies whether to allow automatic runtime
|
|
564
|
-
* - `true`:
|
|
565
|
-
* - `false`:
|
|
566
|
-
*
|
|
555
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
556
|
+
* - `true`: Allows automatic runtime upgrades.
|
|
557
|
+
* - `false`: Does not allow automatic runtime upgrades.
|
|
567
558
|
* Default value: `true`.
|
|
568
559
|
*
|
|
569
560
|
* @example
|
|
@@ -598,9 +589,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
598
589
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
599
590
|
/**
|
|
600
591
|
* @remarks
|
|
601
|
-
* The packages to
|
|
602
|
-
*
|
|
603
|
-
* Default value: `kernel`.
|
|
592
|
+
* The packages to be excluded during vulnerability repair. Default value: `kernel`.
|
|
604
593
|
*
|
|
605
594
|
* @example
|
|
606
595
|
* kernel
|
|
@@ -608,10 +597,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
608
597
|
excludePackages?: string;
|
|
609
598
|
/**
|
|
610
599
|
* @remarks
|
|
611
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when
|
|
612
|
-
* - `true`:
|
|
613
|
-
* - `false`:
|
|
614
|
-
*
|
|
600
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when auto_vul_fix is set to true. Valid values:
|
|
601
|
+
* - `true`: Allows node restarts.
|
|
602
|
+
* - `false`: Does not allow node restarts.
|
|
615
603
|
* Default value: `true`.
|
|
616
604
|
*
|
|
617
605
|
* @example
|
|
@@ -620,12 +608,10 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
620
608
|
restartNode?: boolean;
|
|
621
609
|
/**
|
|
622
610
|
* @remarks
|
|
623
|
-
* The vulnerability levels allowed for automatic
|
|
624
|
-
*
|
|
625
|
-
* - `
|
|
626
|
-
* - `
|
|
627
|
-
* - `nntf`: low
|
|
628
|
-
*
|
|
611
|
+
* The vulnerability levels that are allowed for automatic repair, separated by commas. Example: `asap,later`. Valid values:
|
|
612
|
+
* - `asap`: High.
|
|
613
|
+
* - `later`: Medium.
|
|
614
|
+
* - `nntf`: Low.
|
|
629
615
|
* Default value: `asap`.
|
|
630
616
|
*
|
|
631
617
|
* @example
|
|
@@ -660,13 +646,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
660
646
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
661
647
|
/**
|
|
662
648
|
* @remarks
|
|
663
|
-
* **[Deprecated]** Use the
|
|
664
|
-
*
|
|
665
|
-
*
|
|
666
|
-
*
|
|
667
|
-
* - `true`: Automatic upgrade is enabled.
|
|
668
|
-
*
|
|
669
|
-
* - `false`: Automatic upgrade is disabled.
|
|
649
|
+
* **[Deprecated]** Use the auto_upgrade parameter at the upper level instead. Specifies whether to enable auto-upgrade. Valid values:
|
|
650
|
+
* - `true`: Enables auto-upgrade.
|
|
651
|
+
* - `false`: Disables auto-upgrade.
|
|
670
652
|
*
|
|
671
653
|
* @example
|
|
672
654
|
* null
|
|
@@ -676,10 +658,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
676
658
|
autoUpgrade?: boolean;
|
|
677
659
|
/**
|
|
678
660
|
* @remarks
|
|
679
|
-
* The maximum number of unavailable nodes.
|
|
680
|
-
* Valid range: [1,1000\\].
|
|
681
|
-
*
|
|
682
|
-
* Default value: 1.
|
|
661
|
+
* The maximum number of unavailable nodes. Valid values: 1 to 1000. Default value: 1.
|
|
683
662
|
*
|
|
684
663
|
* @example
|
|
685
664
|
* 1
|
|
@@ -687,10 +666,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
687
666
|
maxUnavailable?: number;
|
|
688
667
|
/**
|
|
689
668
|
* @remarks
|
|
690
|
-
* The number of extra nodes. You can
|
|
691
|
-
*
|
|
692
|
-
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
693
|
-
*
|
|
669
|
+
* The number of extra nodes. This parameter and surge_percentage are mutually exclusive. Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
694
670
|
* > The number of extra nodes should not exceed the current number of nodes.
|
|
695
671
|
*
|
|
696
672
|
* @example
|
|
@@ -699,9 +675,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
699
675
|
surge?: number;
|
|
700
676
|
/**
|
|
701
677
|
* @remarks
|
|
702
|
-
* The percentage of extra nodes.
|
|
703
|
-
*
|
|
704
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage of extra nodes is set to 50% and 6 nodes exist, the number of extra nodes = 50% × 6 = 3.
|
|
678
|
+
* The percentage of extra nodes. This parameter and surge are mutually exclusive. Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if the percentage of extra nodes is set to 50% and the current number of nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
|
|
705
679
|
*
|
|
706
680
|
* @example
|
|
707
681
|
* 0
|
|
@@ -737,17 +711,14 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
737
711
|
export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
738
712
|
/**
|
|
739
713
|
* @remarks
|
|
740
|
-
* Specifies whether to enable ECS fault detection for node
|
|
714
|
+
* Specifies whether to enable ECS fault detection for node auto-healing.
|
|
741
715
|
*/
|
|
742
716
|
autoFaultDiagnosis?: boolean;
|
|
743
717
|
/**
|
|
744
718
|
* @remarks
|
|
745
|
-
* Specifies whether to
|
|
746
|
-
*
|
|
747
|
-
* - `
|
|
748
|
-
*
|
|
749
|
-
* - `false`: Disabled.
|
|
750
|
-
*
|
|
719
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when enable is set to true. Valid values:
|
|
720
|
+
* - `true`: Automatically repairs nodes.
|
|
721
|
+
* - `false`: Does not automatically repair nodes.
|
|
751
722
|
* Default value: `true`.
|
|
752
723
|
*
|
|
753
724
|
* @example
|
|
@@ -756,15 +727,14 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
756
727
|
autoRepair?: boolean;
|
|
757
728
|
/**
|
|
758
729
|
* @remarks
|
|
759
|
-
* The
|
|
730
|
+
* The auto-repair policy for nodes.
|
|
760
731
|
*/
|
|
761
732
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
762
733
|
/**
|
|
763
734
|
* @remarks
|
|
764
|
-
* Specifies whether to
|
|
765
|
-
* - `true`:
|
|
766
|
-
* - `false`:
|
|
767
|
-
*
|
|
735
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when enable is set to true. Valid values:
|
|
736
|
+
* - `true`: Enables auto-upgrade.
|
|
737
|
+
* - `false`: Disables auto-upgrade.
|
|
768
738
|
* Default value: `true`.
|
|
769
739
|
*
|
|
770
740
|
* @example
|
|
@@ -773,16 +743,14 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
773
743
|
autoUpgrade?: boolean;
|
|
774
744
|
/**
|
|
775
745
|
* @remarks
|
|
776
|
-
* The
|
|
746
|
+
* The auto-upgrade policy for nodes.
|
|
777
747
|
*/
|
|
778
748
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
779
749
|
/**
|
|
780
750
|
* @remarks
|
|
781
|
-
* Specifies whether to
|
|
782
|
-
*
|
|
783
|
-
* - `
|
|
784
|
-
* - `false`: Automatic CVE fix is disabled.
|
|
785
|
-
*
|
|
751
|
+
* Specifies whether to automatically repair CVE vulnerabilities. This parameter takes effect only when enable is set to true. Valid values:
|
|
752
|
+
* - `true`: Allows automatic CVE repair.
|
|
753
|
+
* - `false`: Does not allow automatic CVE repair.
|
|
786
754
|
* Default value: `true`.
|
|
787
755
|
*
|
|
788
756
|
* @example
|
|
@@ -791,23 +759,20 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
791
759
|
autoVulFix?: boolean;
|
|
792
760
|
/**
|
|
793
761
|
* @remarks
|
|
794
|
-
* The
|
|
762
|
+
* The auto-repair policy for CVE vulnerabilities.
|
|
795
763
|
*/
|
|
796
764
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
797
765
|
/**
|
|
798
766
|
* @remarks
|
|
799
|
-
* Specifies whether to enable node rotation.
|
|
767
|
+
* Specifies whether to enable the node rotation feature. This feature is supported only by intelligent managed node pools and is enabled by default. It is not supported by regular node pools.
|
|
800
768
|
*/
|
|
801
769
|
driftEnabled?: boolean;
|
|
802
770
|
/**
|
|
803
771
|
* @remarks
|
|
804
772
|
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
805
|
-
*
|
|
806
|
-
* - `
|
|
807
|
-
*
|
|
808
|
-
* - `false`: Disabled. Other related configurations take effect only when enable is set to true.
|
|
809
|
-
*
|
|
810
|
-
* Default value: false.
|
|
773
|
+
* - `true`: Enables the managed node pool feature.
|
|
774
|
+
* - `false`: Disables the managed node pool feature. Other related configurations take effect only when this parameter is set to true.
|
|
775
|
+
* Default value: `false`.
|
|
811
776
|
*
|
|
812
777
|
* @example
|
|
813
778
|
* false
|
|
@@ -815,9 +780,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
815
780
|
enable?: boolean;
|
|
816
781
|
/**
|
|
817
782
|
* @remarks
|
|
818
|
-
* **[Deprecated]** Use the
|
|
819
|
-
*
|
|
820
|
-
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
783
|
+
* **[Deprecated]** Use the auto_upgrade parameter at the upper level instead. The auto-upgrade configuration. This parameter takes effect only when enable is set to true.
|
|
821
784
|
*
|
|
822
785
|
* @deprecated
|
|
823
786
|
*/
|
|
@@ -1006,21 +969,71 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
1006
969
|
}
|
|
1007
970
|
}
|
|
1008
971
|
|
|
972
|
+
export class CreateClusterNodePoolRequestNodeConfigNodeOsConfig extends $dara.Model {
|
|
973
|
+
/**
|
|
974
|
+
* @remarks
|
|
975
|
+
* The Transparent HugePages configuration.
|
|
976
|
+
*/
|
|
977
|
+
hugepage?: Hugepage;
|
|
978
|
+
/**
|
|
979
|
+
* @remarks
|
|
980
|
+
* The sysctl kernel parameter settings. Only specific kernel parameters are supported, and the cluster version must be 1.28 or later.
|
|
981
|
+
*
|
|
982
|
+
* @example
|
|
983
|
+
* {"fs.file-max":"1048576"}
|
|
984
|
+
*/
|
|
985
|
+
sysctl?: { [key: string]: any };
|
|
986
|
+
static names(): { [key: string]: string } {
|
|
987
|
+
return {
|
|
988
|
+
hugepage: 'hugepage',
|
|
989
|
+
sysctl: 'sysctl',
|
|
990
|
+
};
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
static types(): { [key: string]: any } {
|
|
994
|
+
return {
|
|
995
|
+
hugepage: Hugepage,
|
|
996
|
+
sysctl: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
997
|
+
};
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
validate() {
|
|
1001
|
+
if(this.hugepage && typeof (this.hugepage as any).validate === 'function') {
|
|
1002
|
+
(this.hugepage as any).validate();
|
|
1003
|
+
}
|
|
1004
|
+
if(this.sysctl) {
|
|
1005
|
+
$dara.Model.validateMap(this.sysctl);
|
|
1006
|
+
}
|
|
1007
|
+
super.validate();
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
constructor(map?: { [key: string]: any }) {
|
|
1011
|
+
super(map);
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1009
1015
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
1010
1016
|
/**
|
|
1011
1017
|
* @remarks
|
|
1012
|
-
* The
|
|
1018
|
+
* The Kubelet parameter settings.
|
|
1013
1019
|
*/
|
|
1014
1020
|
kubeletConfiguration?: KubeletConfig;
|
|
1021
|
+
/**
|
|
1022
|
+
* @remarks
|
|
1023
|
+
* The operating system configuration of the node.
|
|
1024
|
+
*/
|
|
1025
|
+
nodeOsConfig?: CreateClusterNodePoolRequestNodeConfigNodeOsConfig;
|
|
1015
1026
|
static names(): { [key: string]: string } {
|
|
1016
1027
|
return {
|
|
1017
1028
|
kubeletConfiguration: 'kubelet_configuration',
|
|
1029
|
+
nodeOsConfig: 'node_os_config',
|
|
1018
1030
|
};
|
|
1019
1031
|
}
|
|
1020
1032
|
|
|
1021
1033
|
static types(): { [key: string]: any } {
|
|
1022
1034
|
return {
|
|
1023
1035
|
kubeletConfiguration: KubeletConfig,
|
|
1036
|
+
nodeOsConfig: CreateClusterNodePoolRequestNodeConfigNodeOsConfig,
|
|
1024
1037
|
};
|
|
1025
1038
|
}
|
|
1026
1039
|
|
|
@@ -1028,6 +1041,9 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
1028
1041
|
if(this.kubeletConfiguration && typeof (this.kubeletConfiguration as any).validate === 'function') {
|
|
1029
1042
|
(this.kubeletConfiguration as any).validate();
|
|
1030
1043
|
}
|
|
1044
|
+
if(this.nodeOsConfig && typeof (this.nodeOsConfig as any).validate === 'function') {
|
|
1045
|
+
(this.nodeOsConfig as any).validate();
|
|
1046
|
+
}
|
|
1031
1047
|
super.validate();
|
|
1032
1048
|
}
|
|
1033
1049
|
|
|
@@ -1039,7 +1055,7 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
1039
1055
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
1040
1056
|
/**
|
|
1041
1057
|
* @remarks
|
|
1042
|
-
* The node pool
|
|
1058
|
+
* The name of the node pool.
|
|
1043
1059
|
*
|
|
1044
1060
|
* This parameter is required.
|
|
1045
1061
|
*
|
|
@@ -1049,9 +1065,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1049
1065
|
name?: string;
|
|
1050
1066
|
/**
|
|
1051
1067
|
* @remarks
|
|
1052
|
-
* The resource group
|
|
1068
|
+
* The ID of the resource group to which the node pool belongs. Instances added to the node pool belong to this resource group.
|
|
1053
1069
|
*
|
|
1054
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on
|
|
1070
|
+
* 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 scenarios.
|
|
1055
1071
|
*
|
|
1056
1072
|
* @example
|
|
1057
1073
|
* rg-acfmyvw3wjmb****
|
|
@@ -1059,9 +1075,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1059
1075
|
resourceGroupId?: string;
|
|
1060
1076
|
/**
|
|
1061
1077
|
* @remarks
|
|
1062
|
-
* The node pool
|
|
1078
|
+
* The type of the node pool. Valid values:
|
|
1063
1079
|
*
|
|
1064
|
-
* - `ess`:
|
|
1080
|
+
* - `ess`: standard node pool, which supports managed features and automatic elastic scaling.
|
|
1065
1081
|
* - `edge`: edge node pool.
|
|
1066
1082
|
* - `lingjun`: Lingjun node pool.
|
|
1067
1083
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -1098,7 +1114,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1098
1114
|
export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
1099
1115
|
/**
|
|
1100
1116
|
* @remarks
|
|
1101
|
-
* Specifies whether to enable nested virtualization. Valid values: disabled:
|
|
1117
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
1102
1118
|
*
|
|
1103
1119
|
* @example
|
|
1104
1120
|
* enabled
|
|
@@ -1128,7 +1144,7 @@ export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Mo
|
|
|
1128
1144
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1129
1145
|
/**
|
|
1130
1146
|
* @remarks
|
|
1131
|
-
* The private
|
|
1147
|
+
* The ID of the private pool. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
1132
1148
|
*
|
|
1133
1149
|
* @example
|
|
1134
1150
|
* eap-bp67acfmxazb4****
|
|
@@ -1136,10 +1152,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1136
1152
|
id?: string;
|
|
1137
1153
|
/**
|
|
1138
1154
|
* @remarks
|
|
1139
|
-
* The private
|
|
1140
|
-
* - `Open`:
|
|
1141
|
-
* - `Target`:
|
|
1142
|
-
* - `None`:
|
|
1155
|
+
* The private pool capacity matching mode for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for you to select when you start instances. Valid values:
|
|
1156
|
+
* - `Open`: open mode. The system automatically matches the capacity of an open private pool. If no eligible private pool capacity is available, the system uses public pool resources to start the instances.
|
|
1157
|
+
* - `Target`: specified mode. The system uses the capacity of the specified private pool to start instances. If the specified private pool capacity is unavailable, the instances fail to start.
|
|
1158
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start instances.
|
|
1143
1159
|
*
|
|
1144
1160
|
* @example
|
|
1145
1161
|
* Target
|
|
@@ -1171,15 +1187,15 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1171
1187
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1172
1188
|
/**
|
|
1173
1189
|
* @remarks
|
|
1174
|
-
* The list of private pool IDs, which are elasticity
|
|
1190
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can specify only the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
1175
1191
|
*/
|
|
1176
1192
|
privatePoolIds?: string[];
|
|
1177
1193
|
/**
|
|
1178
1194
|
* @remarks
|
|
1179
|
-
* The resource pool
|
|
1180
|
-
* PrivatePoolFirst: Private pool first. When this
|
|
1181
|
-
* PrivatePoolOnly: Private pool only. When this
|
|
1182
|
-
* None: No resource pool
|
|
1195
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools, which are available for selection during instance startup. Valid values:
|
|
1196
|
+
* PrivatePoolFirst: Private pool first. When this strategy is selected and resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pools have insufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create the instance.
|
|
1197
|
+
* PrivatePoolOnly: Private pool only. When this strategy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pools have insufficient capacity, the instance fails to start.
|
|
1198
|
+
* None: No resource pool strategy is used.
|
|
1183
1199
|
* Default value: None.
|
|
1184
1200
|
*
|
|
1185
1201
|
* @example
|
|
@@ -1215,7 +1231,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1215
1231
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1216
1232
|
/**
|
|
1217
1233
|
* @remarks
|
|
1218
|
-
* The instance type
|
|
1234
|
+
* The spot instance type.
|
|
1219
1235
|
*
|
|
1220
1236
|
* @example
|
|
1221
1237
|
* ecs.c6.large
|
|
@@ -1313,9 +1329,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1313
1329
|
autoRenew?: boolean;
|
|
1314
1330
|
/**
|
|
1315
1331
|
* @remarks
|
|
1316
|
-
* The
|
|
1317
|
-
* -
|
|
1318
|
-
* -
|
|
1332
|
+
* The duration of each auto-renewal cycle. Valid values:
|
|
1333
|
+
* - When PeriodUnit is set to Week: 1, 2, and 3.
|
|
1334
|
+
* - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1319
1335
|
*
|
|
1320
1336
|
* Default value: 1.
|
|
1321
1337
|
*
|
|
@@ -1325,7 +1341,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1325
1341
|
autoRenewPeriod?: number;
|
|
1326
1342
|
/**
|
|
1327
1343
|
* @remarks
|
|
1328
|
-
* **[Deprecated]** Use the security_hardening_os parameter instead.
|
|
1344
|
+
* **[Deprecated]** Use the `security_hardening_os` parameter instead.
|
|
1329
1345
|
*
|
|
1330
1346
|
* @example
|
|
1331
1347
|
* null
|
|
@@ -1335,10 +1351,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1335
1351
|
cisEnabled?: boolean;
|
|
1336
1352
|
/**
|
|
1337
1353
|
* @remarks
|
|
1338
|
-
* Specifies whether to
|
|
1354
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory issues, provided that `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1339
1355
|
*
|
|
1340
|
-
* - `true`:
|
|
1341
|
-
* - `false`:
|
|
1356
|
+
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
1357
|
+
* - `false`: does not automatically create pay-as-you-go instances.
|
|
1342
1358
|
*
|
|
1343
1359
|
* @example
|
|
1344
1360
|
* true
|
|
@@ -1351,15 +1367,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1351
1367
|
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1352
1368
|
/**
|
|
1353
1369
|
* @remarks
|
|
1354
|
-
* The data cloud disk
|
|
1370
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1355
1371
|
*/
|
|
1356
1372
|
dataDisks?: DataDisk[];
|
|
1357
1373
|
/**
|
|
1358
1374
|
* @remarks
|
|
1359
|
-
* The deployment set
|
|
1375
|
+
* The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When you create ECS instances in a deployment set, the instances are distributed and started in the specified region based on the predefined deployment policy.
|
|
1360
1376
|
*
|
|
1361
1377
|
*
|
|
1362
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
1378
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × the number of zones nodes. The number of zones is determined by the vSwitches. Proceed with caution and ensure that the quota in the deployment set is sufficient to prevent node scale-out failures.
|
|
1363
1379
|
*
|
|
1364
1380
|
* @example
|
|
1365
1381
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1367,11 +1383,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1367
1383
|
deploymentsetId?: string;
|
|
1368
1384
|
/**
|
|
1369
1385
|
* @remarks
|
|
1370
|
-
* The
|
|
1386
|
+
* The expected number of nodes in the node pool.
|
|
1371
1387
|
*
|
|
1372
|
-
*
|
|
1388
|
+
* This is the total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure the normal operation of cluster components. You can scale out or scale in the node pool by adjusting the expected number of nodes.
|
|
1373
1389
|
*
|
|
1374
|
-
* If you do not need to create nodes, set this parameter to 0
|
|
1390
|
+
* If you do not need to create nodes, set this parameter to 0 and manually increase the number of nodes later.
|
|
1375
1391
|
*
|
|
1376
1392
|
* @example
|
|
1377
1393
|
* 0
|
|
@@ -1384,7 +1400,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1384
1400
|
diskInit?: DiskInit[];
|
|
1385
1401
|
/**
|
|
1386
1402
|
* @remarks
|
|
1387
|
-
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types.
|
|
1403
|
+
* Specifies whether to enable the high-density cloud disk mode. This mode is supported only when the node pool uses instance types. After this mode is enabled, the total number of system cloud disks and data cloud disks does not exceed the maximum number of high-density cloud disks supported by the instance type.
|
|
1388
1404
|
*
|
|
1389
1405
|
* @example
|
|
1390
1406
|
* false
|
|
@@ -1392,7 +1408,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1392
1408
|
enableHighDensityMode?: boolean;
|
|
1393
1409
|
/**
|
|
1394
1410
|
* @remarks
|
|
1395
|
-
* The custom image
|
|
1411
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
1396
1412
|
*
|
|
1397
1413
|
* @example
|
|
1398
1414
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1400,7 +1416,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1400
1416
|
imageId?: string;
|
|
1401
1417
|
/**
|
|
1402
1418
|
* @remarks
|
|
1403
|
-
* The type of operating system image. Valid values:
|
|
1419
|
+
* The type of the operating system image. Valid values:
|
|
1404
1420
|
*
|
|
1405
1421
|
* - `AliyunLinux`: Alinux2 image.
|
|
1406
1422
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -1409,9 +1425,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1409
1425
|
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1410
1426
|
* - `CentOS`: CentOS image.
|
|
1411
1427
|
* - `Windows`: Windows image.
|
|
1412
|
-
* - `WindowsCore`:
|
|
1413
|
-
* - `ContainerOS`: container-
|
|
1414
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-
|
|
1428
|
+
* - `WindowsCore`: Windows Core image.
|
|
1429
|
+
* - `ContainerOS`: container-optimized image.
|
|
1430
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1415
1431
|
*
|
|
1416
1432
|
* @example
|
|
1417
1433
|
* AliyunLinux3
|
|
@@ -1435,21 +1451,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1435
1451
|
instanceChargeType?: string;
|
|
1436
1452
|
/**
|
|
1437
1453
|
* @remarks
|
|
1438
|
-
* The
|
|
1454
|
+
* The instance metadata access configuration for ECS instances.
|
|
1439
1455
|
*/
|
|
1440
1456
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1441
1457
|
/**
|
|
1442
1458
|
* @remarks
|
|
1443
|
-
* The instance
|
|
1459
|
+
* The instance property configuration.
|
|
1444
1460
|
*/
|
|
1445
1461
|
instancePatterns?: InstancePatterns[];
|
|
1446
1462
|
/**
|
|
1447
1463
|
* @remarks
|
|
1448
|
-
* The list of instance types for the node pool. When the node pool scales out,
|
|
1464
|
+
* The list of instance types for nodes in the node pool. When the node pool scales out nodes, it selects instance types that meet the requirements from the specified list to create instances.
|
|
1465
|
+
*
|
|
1466
|
+
* Valid values for the number of instance types: 1 to 10.
|
|
1449
1467
|
*
|
|
1450
|
-
* The number of supported instance types ranges from 1 to 10.
|
|
1451
1468
|
*
|
|
1452
|
-
* > To ensure high availability,
|
|
1469
|
+
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
1453
1470
|
*
|
|
1454
1471
|
* This parameter is required.
|
|
1455
1472
|
*/
|
|
@@ -1458,8 +1475,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1458
1475
|
* @remarks
|
|
1459
1476
|
* The billing method for public IP addresses. Valid values:
|
|
1460
1477
|
*
|
|
1461
|
-
* - PayByBandwidth:
|
|
1462
|
-
* - PayByTraffic:
|
|
1478
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1479
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1463
1480
|
*
|
|
1464
1481
|
* @example
|
|
1465
1482
|
* PayByTraffic
|
|
@@ -1467,7 +1484,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1467
1484
|
internetChargeType?: string;
|
|
1468
1485
|
/**
|
|
1469
1486
|
* @remarks
|
|
1470
|
-
* The maximum outbound public
|
|
1487
|
+
* The maximum outbound bandwidth for public IP addresses of nodes. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1471
1488
|
*
|
|
1472
1489
|
* @example
|
|
1473
1490
|
* 5
|
|
@@ -1475,9 +1492,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1475
1492
|
internetMaxBandwidthOut?: number;
|
|
1476
1493
|
/**
|
|
1477
1494
|
* @remarks
|
|
1478
|
-
* The name of the key pair for password-free logon. You must specify either this parameter or `login_password`.
|
|
1495
|
+
* The name of the key pair used for password-free logon. You must specify either this parameter or `login_password`.
|
|
1479
1496
|
*
|
|
1480
|
-
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1497
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1481
1498
|
*
|
|
1482
1499
|
* @example
|
|
1483
1500
|
* np-key-name
|
|
@@ -1485,7 +1502,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1485
1502
|
keyPair?: string;
|
|
1486
1503
|
/**
|
|
1487
1504
|
* @remarks
|
|
1488
|
-
* Specifies whether the
|
|
1505
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1489
1506
|
*
|
|
1490
1507
|
* - true: logs on as a non-root user (ecs-user).
|
|
1491
1508
|
*
|
|
@@ -1505,15 +1522,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1505
1522
|
loginPassword?: string;
|
|
1506
1523
|
/**
|
|
1507
1524
|
* @remarks
|
|
1508
|
-
* The
|
|
1525
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1509
1526
|
*
|
|
1510
|
-
* - `PRIORITY`:
|
|
1527
|
+
* - `PRIORITY`: scales ECS instances based on the vSwitches (VSwitchIds.N) that you specify. If 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.
|
|
1511
1528
|
*
|
|
1512
|
-
* - `COST_OPTIMIZED`:
|
|
1529
|
+
* - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order. When the scaling configuration specifies multiple instance types with the preemptible billing method, the system preferentially creates spot instances. You can use the `CompensateWithOnDemand` parameter to specify if it is to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages or other reasons.
|
|
1513
1530
|
*
|
|
1514
|
-
*
|
|
1531
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1515
1532
|
*
|
|
1516
|
-
* - `BALANCE`:
|
|
1533
|
+
* - `BALANCE`: evenly allocates ECS instances across the zones specified in the scaling group. If the zones become unbalanced due to inventory shortages or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
|
|
1517
1534
|
*
|
|
1518
1535
|
* Default value: `PRIORITY`.
|
|
1519
1536
|
*
|
|
@@ -1523,7 +1540,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1523
1540
|
multiAzPolicy?: string;
|
|
1524
1541
|
/**
|
|
1525
1542
|
* @remarks
|
|
1526
|
-
* The minimum number of pay-as-you-go instances required
|
|
1543
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than this value, the system preferentially creates pay-as-you-go instances.
|
|
1527
1544
|
*
|
|
1528
1545
|
* @example
|
|
1529
1546
|
* 0
|
|
@@ -1531,7 +1548,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1531
1548
|
onDemandBaseCapacity?: number;
|
|
1532
1549
|
/**
|
|
1533
1550
|
* @remarks
|
|
1534
|
-
* The percentage of pay-as-you-go instances among the
|
|
1551
|
+
* The percentage of pay-as-you-go instances among the excess instances after the scaling group meets the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: 0 to 100.
|
|
1535
1552
|
*
|
|
1536
1553
|
* @example
|
|
1537
1554
|
* 20
|
|
@@ -1539,10 +1556,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1539
1556
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1540
1557
|
/**
|
|
1541
1558
|
* @remarks
|
|
1542
|
-
* The subscription duration of nodes in the node pool. This parameter
|
|
1559
|
+
* The subscription duration of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1543
1560
|
*
|
|
1544
|
-
* -
|
|
1545
|
-
* -
|
|
1561
|
+
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1562
|
+
* - When `period_unit` is set to `Month`, valid values for `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1546
1563
|
*
|
|
1547
1564
|
* @example
|
|
1548
1565
|
* 1
|
|
@@ -1550,10 +1567,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1550
1567
|
period?: number;
|
|
1551
1568
|
/**
|
|
1552
1569
|
* @remarks
|
|
1553
|
-
* The billing
|
|
1570
|
+
* The billing cycle of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1554
1571
|
*
|
|
1555
|
-
* - `Month`:
|
|
1556
|
-
* - `Week`:
|
|
1572
|
+
* - `Month`: month.
|
|
1573
|
+
* - `Week`: week.
|
|
1557
1574
|
*
|
|
1558
1575
|
* Default value: `Month`.
|
|
1559
1576
|
*
|
|
@@ -1581,17 +1598,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1581
1598
|
platform?: string;
|
|
1582
1599
|
/**
|
|
1583
1600
|
* @remarks
|
|
1584
|
-
* The private
|
|
1601
|
+
* The private pool configuration.
|
|
1585
1602
|
*/
|
|
1586
1603
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1587
1604
|
/**
|
|
1588
1605
|
* @remarks
|
|
1589
|
-
* The worker RAM role
|
|
1606
|
+
* The name of the worker RAM role.
|
|
1590
1607
|
*
|
|
1591
|
-
* * If left empty, the default worker RAM role created
|
|
1592
|
-
* * If specified, the RAM role must be a **
|
|
1608
|
+
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1609
|
+
* * If this parameter is specified, the RAM role must be a **normal service role** and its **trusted service** must be set to **ECS**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created for the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1593
1610
|
*
|
|
1594
|
-
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22
|
|
1611
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 and later.
|
|
1595
1612
|
*
|
|
1596
1613
|
* @example
|
|
1597
1614
|
* example-role
|
|
@@ -1604,18 +1621,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1604
1621
|
rdsInstances?: string[];
|
|
1605
1622
|
/**
|
|
1606
1623
|
* @remarks
|
|
1607
|
-
* The resource pool and resource pool policy used
|
|
1608
|
-
* This parameter takes effect only when
|
|
1609
|
-
* This parameter cannot be
|
|
1624
|
+
* The resource pool and resource pool policy used for instance creation. Take note of the following items when you configure this parameter:
|
|
1625
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1626
|
+
* This parameter cannot be specified together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1610
1627
|
*/
|
|
1611
1628
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1612
1629
|
/**
|
|
1613
1630
|
* @remarks
|
|
1614
|
-
* The scaling group
|
|
1615
|
-
*
|
|
1616
|
-
* - `
|
|
1617
|
-
* - `recycle`: Swift pattern. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Stopped instances do not incur compute resource charges. Only storage charges apply, except for instances with local disks.
|
|
1618
|
-
*
|
|
1631
|
+
* The scaling group mode. Valid values:
|
|
1632
|
+
* - `release`: Standard mode. Instances are scaled by creating and releasing ECS instances based on the requested resource usage.
|
|
1633
|
+
* - `recycle`: Extreme mode. Instances are scaled by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, compute resources are not billed, and only storage fees are charged, except for instances with local disks.
|
|
1619
1634
|
* Default value: `release`.
|
|
1620
1635
|
*
|
|
1621
1636
|
* @example
|
|
@@ -1624,7 +1639,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1624
1639
|
scalingPolicy?: string;
|
|
1625
1640
|
/**
|
|
1626
1641
|
* @remarks
|
|
1627
|
-
* The security group ID of the node pool. Specify either this parameter or
|
|
1642
|
+
* The security group ID of the node pool. Specify either this parameter or security_group_ids. We recommend that you use security_group_ids.
|
|
1628
1643
|
*
|
|
1629
1644
|
* @example
|
|
1630
1645
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1634,16 +1649,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1634
1649
|
securityGroupId?: string;
|
|
1635
1650
|
/**
|
|
1636
1651
|
* @remarks
|
|
1637
|
-
* The list of security group IDs.
|
|
1652
|
+
* The list of security group IDs. 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.
|
|
1638
1653
|
*/
|
|
1639
1654
|
securityGroupIds?: string[];
|
|
1640
1655
|
/**
|
|
1641
1656
|
* @remarks
|
|
1642
1657
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1643
|
-
*
|
|
1644
|
-
* - `
|
|
1645
|
-
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1646
|
-
*
|
|
1658
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1659
|
+
* - `false`: Does not enable Alibaba Cloud OS security hardening.
|
|
1647
1660
|
* Default value: `false`.
|
|
1648
1661
|
*
|
|
1649
1662
|
* @example
|
|
@@ -1652,7 +1665,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1652
1665
|
securityHardeningOs?: boolean;
|
|
1653
1666
|
/**
|
|
1654
1667
|
* @remarks
|
|
1655
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1668
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs for classified protection compliance for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1656
1669
|
*
|
|
1657
1670
|
* @example
|
|
1658
1671
|
* false
|
|
@@ -1660,7 +1673,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1660
1673
|
socEnabled?: boolean;
|
|
1661
1674
|
/**
|
|
1662
1675
|
* @remarks
|
|
1663
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1676
|
+
* The number of available instance types. The scaling group evenly creates spot instances across multiple instance types with the lowest costs. Valid values: 1 to 10.
|
|
1664
1677
|
*
|
|
1665
1678
|
* @example
|
|
1666
1679
|
* 5
|
|
@@ -1668,10 +1681,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1668
1681
|
spotInstancePools?: number;
|
|
1669
1682
|
/**
|
|
1670
1683
|
* @remarks
|
|
1671
|
-
* Specifies whether to enable
|
|
1672
|
-
*
|
|
1673
|
-
* - `
|
|
1674
|
-
* - `false`: Disables supplementation of spot instances.
|
|
1684
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1685
|
+
* - `true`: Enables spot instance replenishment.
|
|
1686
|
+
* - `false`: Does not enable spot instance replenishment.
|
|
1675
1687
|
*
|
|
1676
1688
|
* @example
|
|
1677
1689
|
* false
|
|
@@ -1679,19 +1691,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1679
1691
|
spotInstanceRemedy?: boolean;
|
|
1680
1692
|
/**
|
|
1681
1693
|
* @remarks
|
|
1682
|
-
* The price range
|
|
1694
|
+
* The market price range configuration for a single spot instance type.
|
|
1683
1695
|
*/
|
|
1684
1696
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1685
1697
|
/**
|
|
1686
1698
|
* @remarks
|
|
1687
|
-
* The
|
|
1688
|
-
*
|
|
1689
|
-
* - `
|
|
1690
|
-
*
|
|
1691
|
-
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1692
|
-
*
|
|
1693
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1694
|
-
*
|
|
1699
|
+
* The spot instance strategy. Valid values:
|
|
1700
|
+
* - `NoSpot`: Non-spot instance.
|
|
1701
|
+
* - `SpotWithPriceLimit`: Sets a maximum price for spot instances.
|
|
1702
|
+
* - `SpotAsPriceGo`: The system automatically bids based on the current market price.
|
|
1695
1703
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1696
1704
|
*
|
|
1697
1705
|
* @example
|
|
@@ -1700,11 +1708,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1700
1708
|
spotStrategy?: string;
|
|
1701
1709
|
/**
|
|
1702
1710
|
* @remarks
|
|
1703
|
-
* Specifies whether to enable
|
|
1704
|
-
* - true:
|
|
1705
|
-
* - false:
|
|
1706
|
-
*
|
|
1707
|
-
* 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).
|
|
1711
|
+
* Specifies whether to enable performance burst for the node system disk. Valid values:
|
|
1712
|
+
* - true: Yes.
|
|
1713
|
+
* - false: No.
|
|
1714
|
+
* 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).
|
|
1708
1715
|
*
|
|
1709
1716
|
* @example
|
|
1710
1717
|
* true
|
|
@@ -1712,18 +1719,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1712
1719
|
systemDiskBurstingEnabled?: boolean;
|
|
1713
1720
|
/**
|
|
1714
1721
|
* @remarks
|
|
1715
|
-
* The
|
|
1722
|
+
* The categories of the system disk. If a higher-priority disk category is unavailable, the system automatically attempts to use the next priority disk category to create the system disk.
|
|
1716
1723
|
*/
|
|
1717
1724
|
systemDiskCategories?: string[];
|
|
1718
1725
|
/**
|
|
1719
1726
|
* @remarks
|
|
1720
|
-
* The
|
|
1721
|
-
* - `cloud_efficiency`:
|
|
1722
|
-
* - `cloud_ssd`:
|
|
1727
|
+
* The category of the node system disk. Valid values:
|
|
1728
|
+
* - `cloud_efficiency`: Ultra cloud disk.
|
|
1729
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1723
1730
|
* - `cloud_essd`: ESSD.
|
|
1724
1731
|
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1725
1732
|
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1726
|
-
*
|
|
1727
1733
|
* Default value: `cloud_efficiency`.
|
|
1728
1734
|
*
|
|
1729
1735
|
* @example
|
|
@@ -1732,7 +1738,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1732
1738
|
systemDiskCategory?: string;
|
|
1733
1739
|
/**
|
|
1734
1740
|
* @remarks
|
|
1735
|
-
* The encryption algorithm used
|
|
1741
|
+
* The encryption algorithm used for the system disk. Valid values: aes-256.
|
|
1736
1742
|
*
|
|
1737
1743
|
* @example
|
|
1738
1744
|
* aes-256
|
|
@@ -1740,11 +1746,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1740
1746
|
systemDiskEncryptAlgorithm?: string;
|
|
1741
1747
|
/**
|
|
1742
1748
|
* @remarks
|
|
1743
|
-
* Specifies whether to encrypt the system
|
|
1744
|
-
*
|
|
1745
|
-
* -
|
|
1746
|
-
*
|
|
1747
|
-
* - false: does not encrypt the system cloud disk.
|
|
1749
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1750
|
+
* - true: Encrypts the system disk.
|
|
1751
|
+
* - false: Does not encrypt the system disk.
|
|
1748
1752
|
*
|
|
1749
1753
|
* @example
|
|
1750
1754
|
* false
|
|
@@ -1752,7 +1756,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1752
1756
|
systemDiskEncrypted?: boolean;
|
|
1753
1757
|
/**
|
|
1754
1758
|
* @remarks
|
|
1755
|
-
* The KMS key
|
|
1759
|
+
* The ID of the KMS key used for the system disk.
|
|
1756
1760
|
*
|
|
1757
1761
|
* @example
|
|
1758
1762
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1760,11 +1764,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1760
1764
|
systemDiskKmsKeyId?: string;
|
|
1761
1765
|
/**
|
|
1762
1766
|
* @remarks
|
|
1763
|
-
* The performance level of the node system
|
|
1764
|
-
* - PL0:
|
|
1765
|
-
* - PL1:
|
|
1766
|
-
* - PL2:
|
|
1767
|
-
* - PL3:
|
|
1767
|
+
* The performance level of the node system disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1768
|
+
* - PL0: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1769
|
+
* - PL1: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1770
|
+
* - PL2: High concurrent I/O performance and stable read/write latency.
|
|
1771
|
+
* - PL3: Extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1768
1772
|
*
|
|
1769
1773
|
* @example
|
|
1770
1774
|
* PL1
|
|
@@ -1772,11 +1776,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1772
1776
|
systemDiskPerformanceLevel?: string;
|
|
1773
1777
|
/**
|
|
1774
1778
|
* @remarks
|
|
1775
|
-
* The provisioned read/write IOPS
|
|
1776
|
-
*
|
|
1777
|
-
* Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
1778
|
-
*
|
|
1779
|
-
* 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).
|
|
1779
|
+
* The provisioned read/write IOPS for the node system disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1780
|
+
* 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).
|
|
1780
1781
|
*
|
|
1781
1782
|
* @example
|
|
1782
1783
|
* 1000
|
|
@@ -1784,9 +1785,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1784
1785
|
systemDiskProvisionedIops?: number;
|
|
1785
1786
|
/**
|
|
1786
1787
|
* @remarks
|
|
1787
|
-
* The size of the node system
|
|
1788
|
-
*
|
|
1789
|
-
* Valid values: [20,2048\\].
|
|
1788
|
+
* The size of the node system disk. Unit: GiB. Valid values: 20 to 2048.
|
|
1790
1789
|
*
|
|
1791
1790
|
* @example
|
|
1792
1791
|
* 120
|
|
@@ -1794,7 +1793,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1794
1793
|
systemDiskSize?: number;
|
|
1795
1794
|
/**
|
|
1796
1795
|
* @remarks
|
|
1797
|
-
* The snapshot policy for the system
|
|
1796
|
+
* The snapshot policy for the system disk.
|
|
1798
1797
|
*
|
|
1799
1798
|
* @example
|
|
1800
1799
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1802,16 +1801,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1802
1801
|
systemDiskSnapshotPolicyId?: string;
|
|
1803
1802
|
/**
|
|
1804
1803
|
* @remarks
|
|
1805
|
-
*
|
|
1806
|
-
*
|
|
1807
|
-
* 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://".
|
|
1804
|
+
* Adds tags only to ECS instances. Tag keys must be unique and can be up to 128 characters in length. Neither tag keys nor tag values can start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1808
1805
|
*/
|
|
1809
1806
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1810
1807
|
/**
|
|
1811
1808
|
* @remarks
|
|
1812
|
-
* The list of vSwitch IDs. Valid values:
|
|
1813
|
-
*
|
|
1814
|
-
* > To ensure high availability, select vSwitches in different zones.
|
|
1809
|
+
* The list of vSwitch IDs. Valid values: 1 to 8.
|
|
1810
|
+
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1815
1811
|
*
|
|
1816
1812
|
* This parameter is required.
|
|
1817
1813
|
*/
|
|
@@ -1984,10 +1980,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1984
1980
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1985
1981
|
/**
|
|
1986
1982
|
* @remarks
|
|
1987
|
-
* Specifies whether to enable confidential computing
|
|
1988
|
-
*
|
|
1983
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1989
1984
|
* - true: Enables confidential computing.
|
|
1990
|
-
*
|
|
1991
1985
|
* - false: Does not enable confidential computing.
|
|
1992
1986
|
*
|
|
1993
1987
|
* @example
|
|
@@ -2018,7 +2012,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
2018
2012
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
2019
2013
|
/**
|
|
2020
2014
|
* @remarks
|
|
2021
|
-
* The
|
|
2015
|
+
* The auto mode configuration of the node pool.
|
|
2022
2016
|
*/
|
|
2023
2017
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
2024
2018
|
/**
|
|
@@ -2045,9 +2039,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2045
2039
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
2046
2040
|
/**
|
|
2047
2041
|
* @remarks
|
|
2048
|
-
* Specifies whether the pod network mode uses host network mode.
|
|
2049
|
-
* - `true`:
|
|
2050
|
-
* - `false`:
|
|
2042
|
+
* Specifies whether the pod network mode uses the host network mode. Valid values:
|
|
2043
|
+
* - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
2044
|
+
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
2051
2045
|
*
|
|
2052
2046
|
* @example
|
|
2053
2047
|
* true
|
|
@@ -2057,17 +2051,17 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2057
2051
|
* @remarks
|
|
2058
2052
|
* **[Deprecated]**
|
|
2059
2053
|
*
|
|
2060
|
-
* The edge node pool
|
|
2054
|
+
* The configuration of the edge node pool.
|
|
2061
2055
|
*
|
|
2062
2056
|
* @deprecated
|
|
2063
2057
|
*/
|
|
2064
2058
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
2065
2059
|
/**
|
|
2066
2060
|
* @remarks
|
|
2067
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
2061
|
+
* The network type of the edge node pool. This parameter takes effect only when `type` is set to `edge`. Valid values:
|
|
2068
2062
|
*
|
|
2069
|
-
* - `basic`:
|
|
2070
|
-
* - `private`:
|
|
2063
|
+
* - `basic`: Internet. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
|
|
2064
|
+
* - `private`: private network. Nodes in cloud node pool connect to the cloud network through Express Connect circuits, VPNs, or CEN, which provides higher cloud-edge communication quality and more effective security protection.
|
|
2071
2065
|
*
|
|
2072
2066
|
* @example
|
|
2073
2067
|
* basic
|
|
@@ -2075,9 +2069,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2075
2069
|
interconnectMode?: string;
|
|
2076
2070
|
/**
|
|
2077
2071
|
* @remarks
|
|
2078
|
-
* Specifies whether nodes in the edge node pool
|
|
2079
|
-
* - `true`:
|
|
2080
|
-
* - `false`:
|
|
2072
|
+
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool. Valid values:
|
|
2073
|
+
* - `true`: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
2074
|
+
* - `false`: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
2081
2075
|
*
|
|
2082
2076
|
* @example
|
|
2083
2077
|
* true
|
|
@@ -2085,19 +2079,17 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2085
2079
|
intranet?: boolean;
|
|
2086
2080
|
/**
|
|
2087
2081
|
* @remarks
|
|
2088
|
-
* The cluster
|
|
2082
|
+
* The cluster configurations.
|
|
2089
2083
|
*/
|
|
2090
2084
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2091
2085
|
/**
|
|
2092
2086
|
* @remarks
|
|
2093
|
-
* The
|
|
2087
|
+
* The configurations for the managed node pool feature.
|
|
2094
2088
|
*/
|
|
2095
2089
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2096
2090
|
/**
|
|
2097
2091
|
* @remarks
|
|
2098
|
-
* **[Deprecated]**
|
|
2099
|
-
*
|
|
2100
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
2092
|
+
* **[Deprecated]** The maximum number of nodes that the edge node pool can accommodate.
|
|
2101
2093
|
*
|
|
2102
2094
|
* @example
|
|
2103
2095
|
* null
|