@alicloud/cs20151215 7.2.1 → 7.2.3
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 +272 -272
- package/dist/client.js +272 -272
- 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 +285 -304
- package/dist/models/CreateClusterNodePoolRequest.js +34 -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/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 +5 -5
- 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 +9 -0
- 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 +6 -6
- 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/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 +272 -272
- 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 +306 -304
- 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/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 +5 -5
- 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 +9 -0
- 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 +6 -6
- 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/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
|
|
@@ -45,9 +45,7 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
45
45
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
49
|
-
*
|
|
50
|
-
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
48
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
51
49
|
*
|
|
52
50
|
* @example
|
|
53
51
|
* null
|
|
@@ -57,13 +55,10 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
57
55
|
eipBandwidth?: number;
|
|
58
56
|
/**
|
|
59
57
|
* @remarks
|
|
60
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
65
|
-
*
|
|
66
|
-
* Default value: `PayByBandwidth`.
|
|
58
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. The billing method of the EIP. Valid values:
|
|
59
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
60
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
61
|
+
* Default value: PayByBandwidth.
|
|
67
62
|
*
|
|
68
63
|
* @example
|
|
69
64
|
* null
|
|
@@ -74,14 +69,10 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
74
69
|
/**
|
|
75
70
|
* @remarks
|
|
76
71
|
* Specifies whether to enable auto scaling. Valid values:
|
|
77
|
-
*
|
|
78
|
-
* -
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
83
|
-
*
|
|
84
|
-
* Default value: `false`.
|
|
72
|
+
* - 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 the node resources based on the configured minimum and maximum numbers of instances. For clusters running Kubernetes 1.24 or later, instant node elasticity is enabled by default. For clusters running Kubernetes versions earlier than 1.24, node auto scaling is enabled by default. For more information, see [Node auto scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
73
|
+
* - false: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes and always maintains the number of nodes at the expected value.
|
|
74
|
+
* When this parameter is set to false, other configuration parameters in auto_scaling do not take effect.
|
|
75
|
+
* Default value: false.
|
|
85
76
|
*
|
|
86
77
|
* @example
|
|
87
78
|
* false
|
|
@@ -89,15 +80,10 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
89
80
|
enable?: boolean;
|
|
90
81
|
/**
|
|
91
82
|
* @remarks
|
|
92
|
-
* **[Deprecated]**
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* - `true`: associates an EIP.
|
|
97
|
-
*
|
|
98
|
-
* - `false`: does not associate an EIP.
|
|
99
|
-
*
|
|
100
|
-
* Default value: `false`.
|
|
83
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. Specifies whether to bind an EIP. Valid values:
|
|
84
|
+
* - true: binds an EIP.
|
|
85
|
+
* - false: does not bind an EIP.
|
|
86
|
+
* Default value: false.
|
|
101
87
|
*
|
|
102
88
|
* @example
|
|
103
89
|
* null
|
|
@@ -107,8 +93,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
107
93
|
isBondEip?: boolean;
|
|
108
94
|
/**
|
|
109
95
|
* @remarks
|
|
110
|
-
* The maximum number of scalable instances in the node pool, excluding
|
|
111
|
-
*
|
|
96
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when enable is set to true.
|
|
112
97
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
113
98
|
*
|
|
114
99
|
* @example
|
|
@@ -121,8 +106,8 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
121
106
|
*
|
|
122
107
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
123
108
|
*
|
|
124
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
125
|
-
* > -
|
|
109
|
+
* > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances is triggered after the scaling group takes effect.
|
|
110
|
+
* > - We recommend that you set the maximum number of instances to a value no less than the current number of nodes in the node pool. Otherwise, the nodes in the node pool are scaled in immediately after the elastic scaling feature takes effect.
|
|
126
111
|
*
|
|
127
112
|
* @example
|
|
128
113
|
* 1
|
|
@@ -130,18 +115,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
130
115
|
minInstances?: number;
|
|
131
116
|
/**
|
|
132
117
|
* @remarks
|
|
133
|
-
* The elastic scaling
|
|
118
|
+
* The instance type for elastic scaling. This parameter takes effect only when `enable=true`. Valid values:
|
|
134
119
|
*
|
|
135
|
-
* - `cpu`: regular instance
|
|
120
|
+
* - `cpu`: regular instance.
|
|
136
121
|
*
|
|
137
|
-
* - `gpu`: GPU instance
|
|
122
|
+
* - `gpu`: GPU-accelerated instance.
|
|
138
123
|
*
|
|
139
|
-
* - `gpushare`: GPU
|
|
124
|
+
* - `gpushare`: shared GPU instance.
|
|
140
125
|
*
|
|
141
|
-
* - `spot`: spot instance
|
|
126
|
+
* - `spot`: spot instance.
|
|
142
127
|
*
|
|
143
128
|
* Default value: `cpu`.
|
|
144
|
-
* >Notice: This
|
|
129
|
+
* >Notice: This field cannot be modified after the node pool is created.</notice>
|
|
145
130
|
*
|
|
146
131
|
* @example
|
|
147
132
|
* cpu
|
|
@@ -183,12 +168,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
183
168
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
184
169
|
/**
|
|
185
170
|
* @remarks
|
|
186
|
-
* Specifies whether to enable automatic
|
|
171
|
+
* Specifies whether to enable automatic addition to the Lingjun node pool.
|
|
187
172
|
*/
|
|
188
173
|
autoAttachEnabled?: boolean;
|
|
189
174
|
/**
|
|
190
175
|
* @remarks
|
|
191
|
-
* The Lingjun cluster
|
|
176
|
+
* The ID of the Lingjun cluster to associate when you create the Lingjun node pool.
|
|
192
177
|
*
|
|
193
178
|
* @example
|
|
194
179
|
* i1169130516633730****
|
|
@@ -196,7 +181,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
196
181
|
clusterId?: string;
|
|
197
182
|
/**
|
|
198
183
|
* @remarks
|
|
199
|
-
* The Lingjun group
|
|
184
|
+
* The ID of the Lingjun group in the Lingjun cluster to associate when you create the Lingjun node pool.
|
|
200
185
|
*
|
|
201
186
|
* @example
|
|
202
187
|
* ng-ec3c96ff0aa****
|
|
@@ -237,9 +222,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
237
222
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
238
223
|
/**
|
|
239
224
|
* @remarks
|
|
240
|
-
* **[Deprecated]**
|
|
241
|
-
*
|
|
242
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
225
|
+
* **[Deprecated]** The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
243
226
|
*
|
|
244
227
|
* @example
|
|
245
228
|
* null
|
|
@@ -249,7 +232,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
249
232
|
* @remarks
|
|
250
233
|
* **[Deprecated]**
|
|
251
234
|
*
|
|
252
|
-
* The Cloud Connect Network (CCN) instance ID
|
|
235
|
+
* The Cloud Connect Network (CCN) instance ID attached to the enhanced edge node pool.
|
|
253
236
|
*
|
|
254
237
|
* @example
|
|
255
238
|
* null
|
|
@@ -257,9 +240,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
257
240
|
ccnId?: string;
|
|
258
241
|
/**
|
|
259
242
|
* @remarks
|
|
260
|
-
* **[Deprecated]**
|
|
261
|
-
*
|
|
262
|
-
* The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
|
|
243
|
+
* **[Deprecated]** The region of the CCN instance bound to the enhanced edge node pool.
|
|
263
244
|
*
|
|
264
245
|
* @example
|
|
265
246
|
* null
|
|
@@ -269,7 +250,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
269
250
|
* @remarks
|
|
270
251
|
* **[Deprecated]**
|
|
271
252
|
*
|
|
272
|
-
* The Cloud Enterprise Network (CEN) instance ID
|
|
253
|
+
* The Cloud Enterprise Network (CEN) instance ID attached to the enhanced edge node pool.
|
|
273
254
|
*
|
|
274
255
|
* @example
|
|
275
256
|
* null
|
|
@@ -277,9 +258,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
277
258
|
cenId?: string;
|
|
278
259
|
/**
|
|
279
260
|
* @remarks
|
|
280
|
-
* **[Deprecated]**
|
|
281
|
-
*
|
|
282
|
-
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
261
|
+
* **[Deprecated]** The subscription duration of the enhanced edge node pool. Unit: months.
|
|
283
262
|
*
|
|
284
263
|
* @example
|
|
285
264
|
* null
|
|
@@ -317,11 +296,11 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
317
296
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
318
297
|
/**
|
|
319
298
|
* @remarks
|
|
320
|
-
* Specifies whether to install
|
|
299
|
+
* Specifies whether to install CloudMonitor on Elastic Compute Service (ECS) nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Enabling this feature is recommended. Valid values:
|
|
321
300
|
*
|
|
322
|
-
* - `true`:
|
|
301
|
+
* - `true`: installs CloudMonitor on ECS nodes.
|
|
323
302
|
*
|
|
324
|
-
* - `false`:
|
|
303
|
+
* - `false`: does not install CloudMonitor on ECS nodes.
|
|
325
304
|
*
|
|
326
305
|
* Default value: `false`.
|
|
327
306
|
*
|
|
@@ -331,10 +310,10 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
331
310
|
cmsEnabled?: boolean;
|
|
332
311
|
/**
|
|
333
312
|
* @remarks
|
|
334
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
313
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
335
314
|
*
|
|
336
|
-
* - `static`:
|
|
337
|
-
* - `none`:
|
|
315
|
+
* - `static`: allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
316
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
338
317
|
*
|
|
339
318
|
* Default value: `none`.
|
|
340
319
|
*
|
|
@@ -344,27 +323,27 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
344
323
|
cpuPolicy?: string;
|
|
345
324
|
/**
|
|
346
325
|
* @remarks
|
|
347
|
-
* The
|
|
326
|
+
* The labels added to the nodes in the Kubernetes cluster.
|
|
348
327
|
*/
|
|
349
328
|
labels?: Tag[];
|
|
350
329
|
/**
|
|
351
330
|
* @remarks
|
|
352
|
-
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are
|
|
353
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing
|
|
331
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed at the same time.
|
|
332
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing dots (.) in the IP address, and does not include prefixes or suffixes.
|
|
354
333
|
*
|
|
355
|
-
*
|
|
334
|
+
* The node name consists of three parts: a prefix, the node IP address, and a suffix:
|
|
356
335
|
*
|
|
357
|
-
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
336
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
358
337
|
*
|
|
359
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and
|
|
360
|
-
* - The prefix is required (ECS
|
|
361
|
-
* - The node IP is the
|
|
338
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and dots (.). They must start with a letter and cannot start or end with a hyphen (-) or a dot (.). Consecutive hyphens (-) or dots (.) are not allowed.
|
|
339
|
+
* - The prefix is required (due to ECS limits), and the suffix is optional.
|
|
340
|
+
* - The node IP address is the complete private IP address of the node.
|
|
362
341
|
*
|
|
363
|
-
*
|
|
342
|
+
* For example, if the node IP address is 192.XX.YY.55, the specified prefix is aliyun.com, and the suffix is test:
|
|
364
343
|
*
|
|
365
|
-
* -
|
|
344
|
+
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
366
345
|
*
|
|
367
|
-
* -
|
|
346
|
+
* - 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
347
|
*
|
|
369
348
|
* @example
|
|
370
349
|
* aliyun.com192.XX.YY.55test
|
|
@@ -372,7 +351,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
372
351
|
nodeNameMode?: string;
|
|
373
352
|
/**
|
|
374
353
|
* @remarks
|
|
375
|
-
* The pre-
|
|
354
|
+
* The pre-custom data of the instance. Before the node joins 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
355
|
*
|
|
377
356
|
* @example
|
|
378
357
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -380,11 +359,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
380
359
|
preUserData?: string;
|
|
381
360
|
/**
|
|
382
361
|
* @remarks
|
|
383
|
-
* The container runtime
|
|
362
|
+
* The name of the container runtime. Container Service for Kubernetes (ACK) supports the following three container runtimes:
|
|
384
363
|
*
|
|
385
|
-
* - containerd:
|
|
386
|
-
* - Sandboxed-Container.runv:
|
|
387
|
-
* - docker:
|
|
364
|
+
* - containerd: recommended. Supported by all cluster versions.
|
|
365
|
+
* - Sandboxed-Container.runv: secure sandboxed containers that provide higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
366
|
+
* - docker: no longer maintained. Supported by clusters of version 1.22 and earlier.
|
|
388
367
|
*
|
|
389
368
|
* Default value: containerd.
|
|
390
369
|
*
|
|
@@ -402,16 +381,16 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
402
381
|
runtimeVersion?: string;
|
|
403
382
|
/**
|
|
404
383
|
* @remarks
|
|
405
|
-
* The taint
|
|
384
|
+
* The taint configurations.
|
|
406
385
|
*/
|
|
407
386
|
taints?: Taint[];
|
|
408
387
|
/**
|
|
409
388
|
* @remarks
|
|
410
|
-
* Specifies whether
|
|
389
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
411
390
|
*
|
|
412
|
-
* - true:
|
|
391
|
+
* - true: unschedulable.
|
|
413
392
|
*
|
|
414
|
-
* - false:
|
|
393
|
+
* - false: schedulable.
|
|
415
394
|
*
|
|
416
395
|
* @example
|
|
417
396
|
* true
|
|
@@ -419,7 +398,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
419
398
|
unschedulable?: boolean;
|
|
420
399
|
/**
|
|
421
400
|
* @remarks
|
|
422
|
-
* The instance user data. After a node joins the cluster, the specified user data script
|
|
401
|
+
* The instance user data. After a node joins the cluster, the specified instance user data script runs. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
423
402
|
*
|
|
424
403
|
* @example
|
|
425
404
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -478,7 +457,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
478
457
|
approvalRequired?: boolean;
|
|
479
458
|
/**
|
|
480
459
|
* @remarks
|
|
481
|
-
* The maximum number of
|
|
460
|
+
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired at the same time. You can specify a number (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default value on the backend: 1.
|
|
482
461
|
*
|
|
483
462
|
* @example
|
|
484
463
|
* 5
|
|
@@ -486,7 +465,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
486
465
|
maxParallelRepairingNodes?: string;
|
|
487
466
|
/**
|
|
488
467
|
* @remarks
|
|
489
|
-
* The
|
|
468
|
+
* The circuit breaker condition 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 (such as 10, valid values: 1 to 100000) or a percentage (such as 20%, valid values: 1% to 100%). Default circuit breaker condition on the backend: 100%.
|
|
490
469
|
*
|
|
491
470
|
* @example
|
|
492
471
|
* 20%
|
|
@@ -494,10 +473,10 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
494
473
|
maxUnhealthyNodesThreshold?: string;
|
|
495
474
|
/**
|
|
496
475
|
* @remarks
|
|
497
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair
|
|
476
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair` is set to `true`. Valid values:
|
|
498
477
|
*
|
|
499
|
-
* - `true`:
|
|
500
|
-
* - `false`:
|
|
478
|
+
* - `true`: allows node restarts.
|
|
479
|
+
* - `false`: does not allow node restarts.
|
|
501
480
|
*
|
|
502
481
|
* Default value: `true`.
|
|
503
482
|
*
|
|
@@ -535,9 +514,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
535
514
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
536
515
|
/**
|
|
537
516
|
* @remarks
|
|
538
|
-
* Specifies whether to allow automatic kubelet
|
|
539
|
-
* - `true`:
|
|
540
|
-
* - `false`:
|
|
517
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
518
|
+
* - `true`: allows automatic kubelet upgrades.
|
|
519
|
+
* - `false`: does not allow automatic kubelet upgrades.
|
|
541
520
|
*
|
|
542
521
|
* Default value: `true`.
|
|
543
522
|
*
|
|
@@ -547,10 +526,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
547
526
|
autoUpgradeKubelet?: boolean;
|
|
548
527
|
/**
|
|
549
528
|
* @remarks
|
|
550
|
-
* Specifies whether to allow automatic operating system
|
|
551
|
-
* - `true`:
|
|
552
|
-
* - `false`:
|
|
553
|
-
*
|
|
529
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
530
|
+
* - `true`: allows automatic operating system upgrades.
|
|
531
|
+
* - `false`: does not allow automatic operating system upgrades.
|
|
554
532
|
*
|
|
555
533
|
* Default value: `false`.
|
|
556
534
|
*
|
|
@@ -560,9 +538,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
560
538
|
autoUpgradeOs?: boolean;
|
|
561
539
|
/**
|
|
562
540
|
* @remarks
|
|
563
|
-
* Specifies whether to allow automatic runtime
|
|
564
|
-
* - `true`:
|
|
565
|
-
* - `false`:
|
|
541
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
542
|
+
* - `true`: allows automatic runtime upgrades.
|
|
543
|
+
* - `false`: does not allow automatic runtime upgrades.
|
|
566
544
|
*
|
|
567
545
|
* Default value: `true`.
|
|
568
546
|
*
|
|
@@ -598,7 +576,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
598
576
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
599
577
|
/**
|
|
600
578
|
* @remarks
|
|
601
|
-
* The packages to
|
|
579
|
+
* The packages to be excluded during vulnerability repair.
|
|
602
580
|
*
|
|
603
581
|
* Default value: `kernel`.
|
|
604
582
|
*
|
|
@@ -608,9 +586,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
608
586
|
excludePackages?: string;
|
|
609
587
|
/**
|
|
610
588
|
* @remarks
|
|
611
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix
|
|
612
|
-
* - `true`:
|
|
613
|
-
* - `false`:
|
|
589
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix` is set to `true`. Valid values:
|
|
590
|
+
* - `true`: allows node restarts.
|
|
591
|
+
* - `false`: does not allow node restarts.
|
|
614
592
|
*
|
|
615
593
|
* Default value: `true`.
|
|
616
594
|
*
|
|
@@ -620,11 +598,11 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
620
598
|
restartNode?: boolean;
|
|
621
599
|
/**
|
|
622
600
|
* @remarks
|
|
623
|
-
* The vulnerability levels allowed for
|
|
601
|
+
* The vulnerability levels that are allowed for auto-repair, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
624
602
|
*
|
|
625
|
-
* - `asap`: high
|
|
626
|
-
* - `later`: medium
|
|
627
|
-
* - `nntf`: low
|
|
603
|
+
* - `asap`: high.
|
|
604
|
+
* - `later`: medium.
|
|
605
|
+
* - `nntf`: low.
|
|
628
606
|
*
|
|
629
607
|
* Default value: `asap`.
|
|
630
608
|
*
|
|
@@ -660,13 +638,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
660
638
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
661
639
|
/**
|
|
662
640
|
* @remarks
|
|
663
|
-
* **[Deprecated]** Use the `auto_upgrade` parameter
|
|
641
|
+
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
664
642
|
*
|
|
665
|
-
* Specifies whether to enable
|
|
643
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
666
644
|
*
|
|
667
|
-
* - `true`:
|
|
645
|
+
* - `true`: enables auto-upgrade.
|
|
668
646
|
*
|
|
669
|
-
* - `false`:
|
|
647
|
+
* - `false`: disables auto-upgrade.
|
|
670
648
|
*
|
|
671
649
|
* @example
|
|
672
650
|
* null
|
|
@@ -677,7 +655,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
677
655
|
/**
|
|
678
656
|
* @remarks
|
|
679
657
|
* The maximum number of unavailable nodes.
|
|
680
|
-
* Valid
|
|
658
|
+
* Valid values: [1, 1000].
|
|
681
659
|
*
|
|
682
660
|
* Default value: 1.
|
|
683
661
|
*
|
|
@@ -687,11 +665,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
687
665
|
maxUnavailable?: number;
|
|
688
666
|
/**
|
|
689
667
|
* @remarks
|
|
690
|
-
* The number of extra nodes.
|
|
668
|
+
* The number of extra nodes. This parameter and `surge_percentage` are mutually exclusive.
|
|
691
669
|
*
|
|
692
|
-
* Nodes become unavailable during
|
|
670
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
693
671
|
*
|
|
694
|
-
* >
|
|
672
|
+
* > Do not create more extra nodes than the current number of nodes.
|
|
695
673
|
*
|
|
696
674
|
* @example
|
|
697
675
|
* 0
|
|
@@ -699,9 +677,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
699
677
|
surge?: number;
|
|
700
678
|
/**
|
|
701
679
|
* @remarks
|
|
702
|
-
* The percentage of extra nodes.
|
|
680
|
+
* The percentage of extra nodes. This parameter and `surge` are mutually exclusive.
|
|
703
681
|
*
|
|
704
|
-
* Number of extra nodes =
|
|
682
|
+
* 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 number of existing nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
|
|
705
683
|
*
|
|
706
684
|
* @example
|
|
707
685
|
* 0
|
|
@@ -737,16 +715,16 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
737
715
|
export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
738
716
|
/**
|
|
739
717
|
* @remarks
|
|
740
|
-
* Specifies whether to enable ECS fault detection for node
|
|
718
|
+
* Specifies whether to enable ECS fault detection for node auto-healing.
|
|
741
719
|
*/
|
|
742
720
|
autoFaultDiagnosis?: boolean;
|
|
743
721
|
/**
|
|
744
722
|
* @remarks
|
|
745
|
-
* Specifies whether to
|
|
723
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable` is set to `true`.
|
|
746
724
|
*
|
|
747
|
-
* - `true`:
|
|
725
|
+
* - `true`: automatically repairs nodes.
|
|
748
726
|
*
|
|
749
|
-
* - `false`:
|
|
727
|
+
* - `false`: does not automatically repair nodes.
|
|
750
728
|
*
|
|
751
729
|
* Default value: `true`.
|
|
752
730
|
*
|
|
@@ -756,14 +734,14 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
756
734
|
autoRepair?: boolean;
|
|
757
735
|
/**
|
|
758
736
|
* @remarks
|
|
759
|
-
* The
|
|
737
|
+
* The auto-repair policy for nodes.
|
|
760
738
|
*/
|
|
761
739
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
762
740
|
/**
|
|
763
741
|
* @remarks
|
|
764
|
-
* Specifies whether to
|
|
765
|
-
* - `true`:
|
|
766
|
-
* - `false`:
|
|
742
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable` is set to `true`.
|
|
743
|
+
* - `true`: enables auto-upgrade.
|
|
744
|
+
* - `false`: disables auto-upgrade.
|
|
767
745
|
*
|
|
768
746
|
* Default value: `true`.
|
|
769
747
|
*
|
|
@@ -773,15 +751,15 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
773
751
|
autoUpgrade?: boolean;
|
|
774
752
|
/**
|
|
775
753
|
* @remarks
|
|
776
|
-
* The
|
|
754
|
+
* The auto-upgrade policy for nodes.
|
|
777
755
|
*/
|
|
778
756
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
779
757
|
/**
|
|
780
758
|
* @remarks
|
|
781
|
-
* Specifies whether to
|
|
759
|
+
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable` is set to `true`.
|
|
782
760
|
*
|
|
783
|
-
* - `true`:
|
|
784
|
-
* - `false`:
|
|
761
|
+
* - `true`: allows automatic CVE repairs.
|
|
762
|
+
* - `false`: does not allow automatic CVE repairs.
|
|
785
763
|
*
|
|
786
764
|
* Default value: `true`.
|
|
787
765
|
*
|
|
@@ -791,23 +769,23 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
791
769
|
autoVulFix?: boolean;
|
|
792
770
|
/**
|
|
793
771
|
* @remarks
|
|
794
|
-
* The
|
|
772
|
+
* The CVE auto-repair policy.
|
|
795
773
|
*/
|
|
796
774
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
797
775
|
/**
|
|
798
776
|
* @remarks
|
|
799
|
-
* Specifies whether to enable node rotation.
|
|
777
|
+
* Specifies whether to enable the node rotation capability. This feature is supported only by intelligent managed node pools and is enabled by default. It is not supported by regular node pools.
|
|
800
778
|
*/
|
|
801
779
|
driftEnabled?: boolean;
|
|
802
780
|
/**
|
|
803
781
|
* @remarks
|
|
804
|
-
* Specifies whether to enable the managed node pool
|
|
782
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
805
783
|
*
|
|
806
|
-
* - `true`:
|
|
784
|
+
* - `true`: enables the managed feature.
|
|
807
785
|
*
|
|
808
|
-
* - `false`:
|
|
786
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when `enable` is set to `true`.
|
|
809
787
|
*
|
|
810
|
-
* Default value: false
|
|
788
|
+
* Default value: `false`.
|
|
811
789
|
*
|
|
812
790
|
* @example
|
|
813
791
|
* false
|
|
@@ -815,9 +793,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
815
793
|
enable?: boolean;
|
|
816
794
|
/**
|
|
817
795
|
* @remarks
|
|
818
|
-
* **[Deprecated]** Use the `auto_upgrade` parameter
|
|
796
|
+
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
819
797
|
*
|
|
820
|
-
* The
|
|
798
|
+
* The auto-upgrade configurations. This parameter takes effect only when `enable` is set to `true`.
|
|
821
799
|
*
|
|
822
800
|
* @deprecated
|
|
823
801
|
*/
|
|
@@ -1006,21 +984,71 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
1006
984
|
}
|
|
1007
985
|
}
|
|
1008
986
|
|
|
987
|
+
export class CreateClusterNodePoolRequestNodeConfigNodeOsConfig extends $dara.Model {
|
|
988
|
+
/**
|
|
989
|
+
* @remarks
|
|
990
|
+
* The Transparent HugePages configuration.
|
|
991
|
+
*/
|
|
992
|
+
hugepage?: Hugepage;
|
|
993
|
+
/**
|
|
994
|
+
* @remarks
|
|
995
|
+
* The sysctl kernel parameter settings. Only some kernel parameters are supported, and the cluster version must be 1.28 or later.
|
|
996
|
+
*
|
|
997
|
+
* @example
|
|
998
|
+
* {"fs.file-max":"1048576"}
|
|
999
|
+
*/
|
|
1000
|
+
sysctl?: { [key: string]: any };
|
|
1001
|
+
static names(): { [key: string]: string } {
|
|
1002
|
+
return {
|
|
1003
|
+
hugepage: 'hugepage',
|
|
1004
|
+
sysctl: 'sysctl',
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
static types(): { [key: string]: any } {
|
|
1009
|
+
return {
|
|
1010
|
+
hugepage: Hugepage,
|
|
1011
|
+
sysctl: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1012
|
+
};
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
validate() {
|
|
1016
|
+
if(this.hugepage && typeof (this.hugepage as any).validate === 'function') {
|
|
1017
|
+
(this.hugepage as any).validate();
|
|
1018
|
+
}
|
|
1019
|
+
if(this.sysctl) {
|
|
1020
|
+
$dara.Model.validateMap(this.sysctl);
|
|
1021
|
+
}
|
|
1022
|
+
super.validate();
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
constructor(map?: { [key: string]: any }) {
|
|
1026
|
+
super(map);
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1009
1030
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
1010
1031
|
/**
|
|
1011
1032
|
* @remarks
|
|
1012
|
-
* The
|
|
1033
|
+
* The Kubelet parameter settings.
|
|
1013
1034
|
*/
|
|
1014
1035
|
kubeletConfiguration?: KubeletConfig;
|
|
1036
|
+
/**
|
|
1037
|
+
* @remarks
|
|
1038
|
+
* The operating system configuration of the node.
|
|
1039
|
+
*/
|
|
1040
|
+
nodeOsConfig?: CreateClusterNodePoolRequestNodeConfigNodeOsConfig;
|
|
1015
1041
|
static names(): { [key: string]: string } {
|
|
1016
1042
|
return {
|
|
1017
1043
|
kubeletConfiguration: 'kubelet_configuration',
|
|
1044
|
+
nodeOsConfig: 'node_os_config',
|
|
1018
1045
|
};
|
|
1019
1046
|
}
|
|
1020
1047
|
|
|
1021
1048
|
static types(): { [key: string]: any } {
|
|
1022
1049
|
return {
|
|
1023
1050
|
kubeletConfiguration: KubeletConfig,
|
|
1051
|
+
nodeOsConfig: CreateClusterNodePoolRequestNodeConfigNodeOsConfig,
|
|
1024
1052
|
};
|
|
1025
1053
|
}
|
|
1026
1054
|
|
|
@@ -1028,6 +1056,9 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
1028
1056
|
if(this.kubeletConfiguration && typeof (this.kubeletConfiguration as any).validate === 'function') {
|
|
1029
1057
|
(this.kubeletConfiguration as any).validate();
|
|
1030
1058
|
}
|
|
1059
|
+
if(this.nodeOsConfig && typeof (this.nodeOsConfig as any).validate === 'function') {
|
|
1060
|
+
(this.nodeOsConfig as any).validate();
|
|
1061
|
+
}
|
|
1031
1062
|
super.validate();
|
|
1032
1063
|
}
|
|
1033
1064
|
|
|
@@ -1039,7 +1070,7 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
1039
1070
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
1040
1071
|
/**
|
|
1041
1072
|
* @remarks
|
|
1042
|
-
* The node pool
|
|
1073
|
+
* The name of the node pool.
|
|
1043
1074
|
*
|
|
1044
1075
|
* This parameter is required.
|
|
1045
1076
|
*
|
|
@@ -1049,9 +1080,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1049
1080
|
name?: string;
|
|
1050
1081
|
/**
|
|
1051
1082
|
* @remarks
|
|
1052
|
-
* The resource group ID of the node pool.
|
|
1083
|
+
* The resource group ID of the node pool. The instances created by the node pool belong to this resource group.
|
|
1053
1084
|
*
|
|
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
|
|
1085
|
+
* 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
1086
|
*
|
|
1056
1087
|
* @example
|
|
1057
1088
|
* rg-acfmyvw3wjmb****
|
|
@@ -1061,7 +1092,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1061
1092
|
* @remarks
|
|
1062
1093
|
* The node pool type. Valid values:
|
|
1063
1094
|
*
|
|
1064
|
-
* - `ess`:
|
|
1095
|
+
* - `ess`: standard node pool (includes managed and elastic scaling features).
|
|
1065
1096
|
* - `edge`: edge node pool.
|
|
1066
1097
|
* - `lingjun`: Lingjun node pool.
|
|
1067
1098
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -1098,7 +1129,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1098
1129
|
export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
1099
1130
|
/**
|
|
1100
1131
|
* @remarks
|
|
1101
|
-
* Specifies whether to enable nested virtualization. Valid values: disabled
|
|
1132
|
+
* Specifies whether to enable nested virtualization. Valid values: `disabled`: disables nested virtualization. `enabled`: enables nested virtualization.
|
|
1102
1133
|
*
|
|
1103
1134
|
* @example
|
|
1104
1135
|
* enabled
|
|
@@ -1128,7 +1159,7 @@ export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Mo
|
|
|
1128
1159
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1129
1160
|
/**
|
|
1130
1161
|
* @remarks
|
|
1131
|
-
* The private
|
|
1162
|
+
* The ID of the private pool, which is the ID of the elasticity assurance or capacity reservation. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
1132
1163
|
*
|
|
1133
1164
|
* @example
|
|
1134
1165
|
* eap-bp67acfmxazb4****
|
|
@@ -1136,10 +1167,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1136
1167
|
id?: string;
|
|
1137
1168
|
/**
|
|
1138
1169
|
* @remarks
|
|
1139
|
-
* The private
|
|
1140
|
-
* - `Open`:
|
|
1141
|
-
* - `Target`:
|
|
1142
|
-
* - `None`:
|
|
1170
|
+
* The private pool capacity matching mode for instance startup. After an elasticity assurance or capacity reservation takes effect, private pool capacity is generated for you to select when starting instances. Valid values:
|
|
1171
|
+
* - `Open`: open mode. The system automatically matches the capacity of open private pools. If no matching private pool capacity is available, public pool resources are used. In this mode, you do not need to specify the PrivatePoolOptions.Id parameter.
|
|
1172
|
+
* - `Target`: targeted 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. In this mode, you must specify the private pool ID by setting the PrivatePoolOptions.Id parameter.
|
|
1173
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start instances.
|
|
1143
1174
|
*
|
|
1144
1175
|
* @example
|
|
1145
1176
|
* Target
|
|
@@ -1171,15 +1202,15 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1171
1202
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1172
1203
|
/**
|
|
1173
1204
|
* @remarks
|
|
1174
|
-
* The list of private pool IDs, which are elasticity
|
|
1205
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can only specify the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
1175
1206
|
*/
|
|
1176
1207
|
privatePoolIds?: string[];
|
|
1177
1208
|
/**
|
|
1178
1209
|
* @remarks
|
|
1179
|
-
* The resource pool
|
|
1180
|
-
* PrivatePoolFirst: Private pool first.
|
|
1181
|
-
* PrivatePoolOnly: Private pool only.
|
|
1182
|
-
* None: No resource pool
|
|
1210
|
+
* The resource pool strategy used to create instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools. Valid values:
|
|
1211
|
+
* PrivatePoolFirst: Private pool first. If you select this strategy and specify resouce_pool_options.private_pool_ids, the specified private pools are used first. If no private pool is specified or the specified private pools do not have sufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
1212
|
+
* PrivatePoolOnly: Private pool only. If you select this strategy, you must specify resouce_pool_options.private_pool_ids. If the specified private pools do not have sufficient capacity, the instances fail to start.
|
|
1213
|
+
* None: No resource pool strategy is used.
|
|
1183
1214
|
* Default value: None.
|
|
1184
1215
|
*
|
|
1185
1216
|
* @example
|
|
@@ -1215,7 +1246,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1215
1246
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1216
1247
|
/**
|
|
1217
1248
|
* @remarks
|
|
1218
|
-
* The instance type
|
|
1249
|
+
* The spot instance type.
|
|
1219
1250
|
*
|
|
1220
1251
|
* @example
|
|
1221
1252
|
* ecs.c6.large
|
|
@@ -1223,12 +1254,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1223
1254
|
instanceType?: string;
|
|
1224
1255
|
/**
|
|
1225
1256
|
* @remarks
|
|
1226
|
-
* The maximum price per instance.
|
|
1227
|
-
* <props="china">Unit: CNY/hour.
|
|
1228
|
-
*
|
|
1229
|
-
*
|
|
1230
|
-
*
|
|
1231
|
-
* <props="intl">Unit: USD/hour.
|
|
1257
|
+
* The maximum price per instance. <props="china">Unit: CNY/hour. <props="intl">Unit: USD/hour.
|
|
1232
1258
|
*
|
|
1233
1259
|
* @example
|
|
1234
1260
|
* 0.39
|
|
@@ -1313,9 +1339,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1313
1339
|
autoRenew?: boolean;
|
|
1314
1340
|
/**
|
|
1315
1341
|
* @remarks
|
|
1316
|
-
* The
|
|
1317
|
-
* -
|
|
1318
|
-
* -
|
|
1342
|
+
* The duration of each auto-renewal. Valid values:
|
|
1343
|
+
* - When PeriodUnit is set to Week: 1, 2, and 3.
|
|
1344
|
+
* - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1319
1345
|
*
|
|
1320
1346
|
* Default value: 1.
|
|
1321
1347
|
*
|
|
@@ -1325,7 +1351,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1325
1351
|
autoRenewPeriod?: number;
|
|
1326
1352
|
/**
|
|
1327
1353
|
* @remarks
|
|
1328
|
-
* **[Deprecated]** Use the security_hardening_os parameter instead.
|
|
1354
|
+
* **[Deprecated]** Use the `security_hardening_os` parameter instead.
|
|
1329
1355
|
*
|
|
1330
1356
|
* @example
|
|
1331
1357
|
* null
|
|
@@ -1335,10 +1361,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1335
1361
|
cisEnabled?: boolean;
|
|
1336
1362
|
/**
|
|
1337
1363
|
* @remarks
|
|
1338
|
-
* Specifies whether to
|
|
1364
|
+
* 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 and `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1339
1365
|
*
|
|
1340
|
-
* - `true`:
|
|
1341
|
-
* - `false`:
|
|
1366
|
+
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
1367
|
+
* - `false`: does not automatically create pay-as-you-go instances.
|
|
1342
1368
|
*
|
|
1343
1369
|
* @example
|
|
1344
1370
|
* true
|
|
@@ -1351,15 +1377,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1351
1377
|
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1352
1378
|
/**
|
|
1353
1379
|
* @remarks
|
|
1354
|
-
* The data cloud disk
|
|
1380
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1355
1381
|
*/
|
|
1356
1382
|
dataDisks?: DataDisk[];
|
|
1357
1383
|
/**
|
|
1358
1384
|
* @remarks
|
|
1359
|
-
* The deployment set
|
|
1385
|
+
* 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 creating ECS instances in a deployment set, the instances are started in a distributed manner in the specified region based on the predefined deployment policy.
|
|
1360
1386
|
*
|
|
1361
1387
|
*
|
|
1362
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
1388
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 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.</notice>
|
|
1363
1389
|
*
|
|
1364
1390
|
* @example
|
|
1365
1391
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1367,11 +1393,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1367
1393
|
deploymentsetId?: string;
|
|
1368
1394
|
/**
|
|
1369
1395
|
* @remarks
|
|
1370
|
-
* The
|
|
1396
|
+
* The expected number of nodes in the node pool.
|
|
1371
1397
|
*
|
|
1372
|
-
*
|
|
1398
|
+
* 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
1399
|
*
|
|
1374
|
-
* If you do not need to create nodes, set this parameter to 0
|
|
1400
|
+
* If you do not need to create nodes, set this parameter to 0 and manually increase the number of nodes later.
|
|
1375
1401
|
*
|
|
1376
1402
|
* @example
|
|
1377
1403
|
* 0
|
|
@@ -1384,7 +1410,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1384
1410
|
diskInit?: DiskInit[];
|
|
1385
1411
|
/**
|
|
1386
1412
|
* @remarks
|
|
1387
|
-
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types.
|
|
1413
|
+
* 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
1414
|
*
|
|
1389
1415
|
* @example
|
|
1390
1416
|
* false
|
|
@@ -1392,7 +1418,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1392
1418
|
enableHighDensityMode?: boolean;
|
|
1393
1419
|
/**
|
|
1394
1420
|
* @remarks
|
|
1395
|
-
* The custom image
|
|
1421
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
1396
1422
|
*
|
|
1397
1423
|
* @example
|
|
1398
1424
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1400,7 +1426,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1400
1426
|
imageId?: string;
|
|
1401
1427
|
/**
|
|
1402
1428
|
* @remarks
|
|
1403
|
-
* The type of operating system image. Valid values:
|
|
1429
|
+
* The type of the operating system image. We recommend that you use this field to specify the operating system for nodes. Valid values:
|
|
1404
1430
|
*
|
|
1405
1431
|
* - `AliyunLinux`: Alinux2 image.
|
|
1406
1432
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -1409,9 +1435,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1409
1435
|
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1410
1436
|
* - `CentOS`: CentOS image.
|
|
1411
1437
|
* - `Windows`: Windows image.
|
|
1412
|
-
* - `WindowsCore`:
|
|
1413
|
-
* - `ContainerOS`: container-
|
|
1414
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-
|
|
1438
|
+
* - `WindowsCore`: Windows Core image.
|
|
1439
|
+
* - `ContainerOS`: container-optimized image.
|
|
1440
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1415
1441
|
*
|
|
1416
1442
|
* @example
|
|
1417
1443
|
* AliyunLinux3
|
|
@@ -1419,7 +1445,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1419
1445
|
imageType?: string;
|
|
1420
1446
|
/**
|
|
1421
1447
|
* @remarks
|
|
1422
|
-
* The billing method
|
|
1448
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
1423
1449
|
*
|
|
1424
1450
|
* - `PrePaid`: subscription.
|
|
1425
1451
|
*
|
|
@@ -1435,31 +1461,32 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1435
1461
|
instanceChargeType?: string;
|
|
1436
1462
|
/**
|
|
1437
1463
|
* @remarks
|
|
1438
|
-
* The
|
|
1464
|
+
* The instance metadata access configuration for ECS instances.
|
|
1439
1465
|
*/
|
|
1440
1466
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1441
1467
|
/**
|
|
1442
1468
|
* @remarks
|
|
1443
|
-
* The instance
|
|
1469
|
+
* The instance property configuration.
|
|
1444
1470
|
*/
|
|
1445
1471
|
instancePatterns?: InstancePatterns[];
|
|
1446
1472
|
/**
|
|
1447
1473
|
* @remarks
|
|
1448
|
-
* The list of instance types for the node pool. When the node pool scales out,
|
|
1474
|
+
* 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.
|
|
1475
|
+
*
|
|
1476
|
+
* Supported number of instance types: 1 to 10.
|
|
1449
1477
|
*
|
|
1450
|
-
* The number of supported instance types ranges from 1 to 10.
|
|
1451
1478
|
*
|
|
1452
|
-
* > To ensure high availability,
|
|
1479
|
+
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
1453
1480
|
*
|
|
1454
1481
|
* This parameter is required.
|
|
1455
1482
|
*/
|
|
1456
1483
|
instanceTypes?: string[];
|
|
1457
1484
|
/**
|
|
1458
1485
|
* @remarks
|
|
1459
|
-
* The billing method for public IP
|
|
1486
|
+
* The billing method for the public IP address. Valid values:
|
|
1460
1487
|
*
|
|
1461
|
-
* - PayByBandwidth
|
|
1462
|
-
* - PayByTraffic
|
|
1488
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1489
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
1463
1490
|
*
|
|
1464
1491
|
* @example
|
|
1465
1492
|
* PayByTraffic
|
|
@@ -1467,7 +1494,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1467
1494
|
internetChargeType?: string;
|
|
1468
1495
|
/**
|
|
1469
1496
|
* @remarks
|
|
1470
|
-
* The maximum outbound public
|
|
1497
|
+
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1471
1498
|
*
|
|
1472
1499
|
* @example
|
|
1473
1500
|
* 5
|
|
@@ -1475,9 +1502,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1475
1502
|
internetMaxBandwidthOut?: number;
|
|
1476
1503
|
/**
|
|
1477
1504
|
* @remarks
|
|
1478
|
-
* The name of the key pair for
|
|
1505
|
+
* The name of the key pair for passwordless logon. This parameter and `login_password` are mutually exclusive.
|
|
1479
1506
|
*
|
|
1480
|
-
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1507
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1481
1508
|
*
|
|
1482
1509
|
* @example
|
|
1483
1510
|
* np-key-name
|
|
@@ -1485,11 +1512,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1485
1512
|
keyPair?: string;
|
|
1486
1513
|
/**
|
|
1487
1514
|
* @remarks
|
|
1488
|
-
* Specifies whether the
|
|
1515
|
+
* Specifies whether to log on to the created ECS instances as a non-root user. Valid values:
|
|
1489
1516
|
*
|
|
1490
|
-
* - true
|
|
1517
|
+
* - `true`: logs on as a non-root user (ecs-user).
|
|
1491
1518
|
*
|
|
1492
|
-
* - false
|
|
1519
|
+
* - `false`: logs on as the root user.
|
|
1493
1520
|
*
|
|
1494
1521
|
* @example
|
|
1495
1522
|
* true
|
|
@@ -1505,15 +1532,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1505
1532
|
loginPassword?: string;
|
|
1506
1533
|
/**
|
|
1507
1534
|
* @remarks
|
|
1508
|
-
* The
|
|
1535
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1509
1536
|
*
|
|
1510
|
-
* - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you
|
|
1537
|
+
* - `PRIORITY`: Scales 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
1538
|
*
|
|
1512
|
-
* - `COST_OPTIMIZED`: Attempts to create instances
|
|
1539
|
+
* - `COST_OPTIMIZED`: Attempts to create instances based on the vCPU unit price from low to high. When the scaling configuration specifies multiple instance types with the spot billing method, the system preferentially creates the corresponding spot instances. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages or other reasons.
|
|
1513
1540
|
*
|
|
1514
|
-
*
|
|
1541
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1515
1542
|
*
|
|
1516
|
-
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If the
|
|
1543
|
+
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If the instances are unevenly distributed across zones due to inventory shortages, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
|
|
1517
1544
|
*
|
|
1518
1545
|
* Default value: `PRIORITY`.
|
|
1519
1546
|
*
|
|
@@ -1523,7 +1550,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1523
1550
|
multiAzPolicy?: string;
|
|
1524
1551
|
/**
|
|
1525
1552
|
* @remarks
|
|
1526
|
-
* The minimum number of pay-as-you-go instances required
|
|
1553
|
+
* 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
1554
|
*
|
|
1528
1555
|
* @example
|
|
1529
1556
|
* 0
|
|
@@ -1531,7 +1558,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1531
1558
|
onDemandBaseCapacity?: number;
|
|
1532
1559
|
/**
|
|
1533
1560
|
* @remarks
|
|
1534
|
-
* The percentage of pay-as-you-go instances among the
|
|
1561
|
+
* 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
1562
|
*
|
|
1536
1563
|
* @example
|
|
1537
1564
|
* 20
|
|
@@ -1539,10 +1566,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1539
1566
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1540
1567
|
/**
|
|
1541
1568
|
* @remarks
|
|
1542
|
-
* The subscription duration
|
|
1569
|
+
* The subscription duration for nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1543
1570
|
*
|
|
1544
|
-
* -
|
|
1545
|
-
* -
|
|
1571
|
+
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1572
|
+
* - 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
1573
|
*
|
|
1547
1574
|
* @example
|
|
1548
1575
|
* 1
|
|
@@ -1550,10 +1577,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1550
1577
|
period?: number;
|
|
1551
1578
|
/**
|
|
1552
1579
|
* @remarks
|
|
1553
|
-
* The billing
|
|
1580
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1554
1581
|
*
|
|
1555
|
-
* - `Month`:
|
|
1556
|
-
* - `Week`:
|
|
1582
|
+
* - `Month`: Uses month as the time unit.
|
|
1583
|
+
* - `Week`: Uses week as the time unit.
|
|
1557
1584
|
*
|
|
1558
1585
|
* Default value: `Month`.
|
|
1559
1586
|
*
|
|
@@ -1586,12 +1613,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1586
1613
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1587
1614
|
/**
|
|
1588
1615
|
* @remarks
|
|
1589
|
-
* The worker RAM role
|
|
1616
|
+
* The name of the worker RAM role.
|
|
1590
1617
|
*
|
|
1591
|
-
* * If left empty, the default worker RAM role created
|
|
1592
|
-
* * If specified, the RAM role must be a **
|
|
1618
|
+
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1619
|
+
* * 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
1620
|
*
|
|
1594
|
-
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22
|
|
1621
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 and later.</notice>
|
|
1595
1622
|
*
|
|
1596
1623
|
* @example
|
|
1597
1624
|
* example-role
|
|
@@ -1604,19 +1631,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1604
1631
|
rdsInstances?: string[];
|
|
1605
1632
|
/**
|
|
1606
1633
|
* @remarks
|
|
1607
|
-
* The resource pool and resource pool policy used
|
|
1608
|
-
* This parameter takes effect only when
|
|
1609
|
-
* This parameter cannot be
|
|
1634
|
+
* The resource pool and resource pool policy used for creating instances. Take note of the following items when you configure this parameter:
|
|
1635
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1636
|
+
* This parameter cannot be configured at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1610
1637
|
*/
|
|
1611
1638
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1612
1639
|
/**
|
|
1613
1640
|
* @remarks
|
|
1614
|
-
* The scaling group
|
|
1615
|
-
*
|
|
1616
|
-
* -
|
|
1617
|
-
*
|
|
1618
|
-
*
|
|
1619
|
-
* Default value: `release`.
|
|
1641
|
+
* The scaling group mode. Valid values:
|
|
1642
|
+
* - release: Standard mode. Instances are scaled by creating and releasing ECS instances based on the requested resource usage.
|
|
1643
|
+
* - recycle: Swift mode. Instances are scaled by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
|
|
1644
|
+
* Default value: release.
|
|
1620
1645
|
*
|
|
1621
1646
|
* @example
|
|
1622
1647
|
* release
|
|
@@ -1624,7 +1649,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1624
1649
|
scalingPolicy?: string;
|
|
1625
1650
|
/**
|
|
1626
1651
|
* @remarks
|
|
1627
|
-
* The security group ID of the node pool.
|
|
1652
|
+
* The security group ID of the node pool. You can specify this parameter or security_group_ids. We recommend that you use security_group_ids.
|
|
1628
1653
|
*
|
|
1629
1654
|
* @example
|
|
1630
1655
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1634,17 +1659,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1634
1659
|
securityGroupId?: string;
|
|
1635
1660
|
/**
|
|
1636
1661
|
* @remarks
|
|
1637
|
-
* The list of security group IDs. You
|
|
1662
|
+
* The list of security group IDs. You can specify this parameter or security_group_id. We recommend that you use security_group_ids. If you specify both security_group_id and security_group_ids, security_group_ids takes precedence.
|
|
1638
1663
|
*/
|
|
1639
1664
|
securityGroupIds?: string[];
|
|
1640
1665
|
/**
|
|
1641
1666
|
* @remarks
|
|
1642
1667
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1643
|
-
*
|
|
1644
|
-
* -
|
|
1645
|
-
*
|
|
1646
|
-
*
|
|
1647
|
-
* Default value: `false`.
|
|
1668
|
+
* - true: enables Alibaba Cloud OS security hardening.
|
|
1669
|
+
* - false: does not enable Alibaba Cloud OS security hardening.
|
|
1670
|
+
* Default value: false.
|
|
1648
1671
|
*
|
|
1649
1672
|
* @example
|
|
1650
1673
|
* false
|
|
@@ -1652,7 +1675,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1652
1675
|
securityHardeningOs?: boolean;
|
|
1653
1676
|
/**
|
|
1654
1677
|
* @remarks
|
|
1655
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1678
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable this feature for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1656
1679
|
*
|
|
1657
1680
|
* @example
|
|
1658
1681
|
* false
|
|
@@ -1660,7 +1683,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1660
1683
|
socEnabled?: boolean;
|
|
1661
1684
|
/**
|
|
1662
1685
|
* @remarks
|
|
1663
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1686
|
+
* 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
1687
|
*
|
|
1665
1688
|
* @example
|
|
1666
1689
|
* 5
|
|
@@ -1668,10 +1691,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1668
1691
|
spotInstancePools?: number;
|
|
1669
1692
|
/**
|
|
1670
1693
|
* @remarks
|
|
1671
|
-
* Specifies whether to enable
|
|
1672
|
-
*
|
|
1673
|
-
* -
|
|
1674
|
-
* - `false`: Disables supplementation of spot instances.
|
|
1694
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance is to be reclaimed, the scaling group attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1695
|
+
* - true: enables spot instance replenishment.
|
|
1696
|
+
* - false: does not enable spot instance replenishment.
|
|
1675
1697
|
*
|
|
1676
1698
|
* @example
|
|
1677
1699
|
* false
|
|
@@ -1679,19 +1701,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1679
1701
|
spotInstanceRemedy?: boolean;
|
|
1680
1702
|
/**
|
|
1681
1703
|
* @remarks
|
|
1682
|
-
* The price range
|
|
1704
|
+
* The market price range configuration for a single spot instance type.
|
|
1683
1705
|
*/
|
|
1684
1706
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1685
1707
|
/**
|
|
1686
1708
|
* @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
|
-
*
|
|
1709
|
+
* The spot instance strategy. Valid values:
|
|
1710
|
+
* - NoSpot: pay-as-you-go instance.
|
|
1711
|
+
* - SpotWithPriceLimit: sets the maximum price for spot instances.
|
|
1712
|
+
* - SpotAsPriceGo: uses the system\\"s automatic bidding, which follows the actual market price.
|
|
1695
1713
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1696
1714
|
*
|
|
1697
1715
|
* @example
|
|
@@ -1700,11 +1718,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1700
1718
|
spotStrategy?: string;
|
|
1701
1719
|
/**
|
|
1702
1720
|
* @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).
|
|
1721
|
+
* Specifies whether to enable performance burst for the system disk of the node. Valid values:
|
|
1722
|
+
* - true: yes.
|
|
1723
|
+
* - false: no.
|
|
1724
|
+
* 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
1725
|
*
|
|
1709
1726
|
* @example
|
|
1710
1727
|
* true
|
|
@@ -1712,19 +1729,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1712
1729
|
systemDiskBurstingEnabled?: boolean;
|
|
1713
1730
|
/**
|
|
1714
1731
|
* @remarks
|
|
1715
|
-
* The
|
|
1732
|
+
* The categories of the system disk. If the system disk cannot be created by using a disk category with a higher priority, the system automatically tries the next disk category in the priority list.
|
|
1716
1733
|
*/
|
|
1717
1734
|
systemDiskCategories?: string[];
|
|
1718
1735
|
/**
|
|
1719
1736
|
* @remarks
|
|
1720
|
-
* The
|
|
1721
|
-
* -
|
|
1722
|
-
* -
|
|
1723
|
-
* -
|
|
1724
|
-
* -
|
|
1725
|
-
* -
|
|
1726
|
-
*
|
|
1727
|
-
* Default value: `cloud_efficiency`.
|
|
1737
|
+
* The system disk category of the node. Valid values:
|
|
1738
|
+
* - cloud_efficiency: ultra disk.
|
|
1739
|
+
* - cloud_ssd: standard SSD.
|
|
1740
|
+
* - cloud_essd: ESSD.
|
|
1741
|
+
* - cloud_auto: ESSD AutoPL cloud disk.
|
|
1742
|
+
* - cloud_essd_entry: ESSD Entry cloud disk.
|
|
1743
|
+
* Default value: cloud_efficiency.
|
|
1728
1744
|
*
|
|
1729
1745
|
* @example
|
|
1730
1746
|
* cloud_efficiency
|
|
@@ -1732,7 +1748,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1732
1748
|
systemDiskCategory?: string;
|
|
1733
1749
|
/**
|
|
1734
1750
|
* @remarks
|
|
1735
|
-
* The encryption algorithm used
|
|
1751
|
+
* The encryption algorithm used for the system disk. Valid value: aes-256.
|
|
1736
1752
|
*
|
|
1737
1753
|
* @example
|
|
1738
1754
|
* aes-256
|
|
@@ -1740,11 +1756,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1740
1756
|
systemDiskEncryptAlgorithm?: string;
|
|
1741
1757
|
/**
|
|
1742
1758
|
* @remarks
|
|
1743
|
-
* Specifies whether to encrypt the system
|
|
1744
|
-
*
|
|
1745
|
-
* -
|
|
1746
|
-
*
|
|
1747
|
-
* - false: does not encrypt the system cloud disk.
|
|
1759
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1760
|
+
* - true: encrypts the system disk.
|
|
1761
|
+
* - false: does not encrypt the system disk.
|
|
1748
1762
|
*
|
|
1749
1763
|
* @example
|
|
1750
1764
|
* false
|
|
@@ -1752,7 +1766,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1752
1766
|
systemDiskEncrypted?: boolean;
|
|
1753
1767
|
/**
|
|
1754
1768
|
* @remarks
|
|
1755
|
-
* The KMS key
|
|
1769
|
+
* The ID of the KMS key used for the system disk.
|
|
1756
1770
|
*
|
|
1757
1771
|
* @example
|
|
1758
1772
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1760,11 +1774,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1760
1774
|
systemDiskKmsKeyId?: string;
|
|
1761
1775
|
/**
|
|
1762
1776
|
* @remarks
|
|
1763
|
-
* The performance level of the
|
|
1764
|
-
* - PL0:
|
|
1765
|
-
* - PL1:
|
|
1766
|
-
* - PL2:
|
|
1767
|
-
* - PL3:
|
|
1777
|
+
* The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs, not standard SSD. The performance level varies based on the disk size. For more information, see [ESSD](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1778
|
+
* - PL0: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1779
|
+
* - PL1: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1780
|
+
* - PL2: High concurrent I/O performance and stable read/write latency.
|
|
1781
|
+
* - PL3: Ultra-high concurrent I/O performance and highly stable read/write latency.
|
|
1768
1782
|
*
|
|
1769
1783
|
* @example
|
|
1770
1784
|
* PL1
|
|
@@ -1772,11 +1786,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1772
1786
|
systemDiskPerformanceLevel?: string;
|
|
1773
1787
|
/**
|
|
1774
1788
|
* @remarks
|
|
1775
|
-
* The provisioned read/write IOPS
|
|
1776
|
-
*
|
|
1777
|
-
*
|
|
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).
|
|
1789
|
+
* The provisioned read/write IOPS for the system disk.
|
|
1790
|
+
* Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50000}.
|
|
1791
|
+
* 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
1792
|
*
|
|
1781
1793
|
* @example
|
|
1782
1794
|
* 1000
|
|
@@ -1784,9 +1796,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1784
1796
|
systemDiskProvisionedIops?: number;
|
|
1785
1797
|
/**
|
|
1786
1798
|
* @remarks
|
|
1787
|
-
* The size of the
|
|
1788
|
-
*
|
|
1789
|
-
* Valid values: [20,2048\\].
|
|
1799
|
+
* The size of the system disk. Unit: GiB.
|
|
1800
|
+
* Valid values: 20 to 2048.
|
|
1790
1801
|
*
|
|
1791
1802
|
* @example
|
|
1792
1803
|
* 120
|
|
@@ -1794,7 +1805,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1794
1805
|
systemDiskSize?: number;
|
|
1795
1806
|
/**
|
|
1796
1807
|
* @remarks
|
|
1797
|
-
* The snapshot policy for the system
|
|
1808
|
+
* The snapshot policy for the system disk.
|
|
1798
1809
|
*
|
|
1799
1810
|
* @example
|
|
1800
1811
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1802,16 +1813,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1802
1813
|
systemDiskSnapshotPolicyId?: string;
|
|
1803
1814
|
/**
|
|
1804
1815
|
* @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://".
|
|
1816
|
+
* Adds tags only to ECS instances.
|
|
1817
|
+
* Tag keys must be unique 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://".
|
|
1808
1818
|
*/
|
|
1809
1819
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1810
1820
|
/**
|
|
1811
1821
|
* @remarks
|
|
1812
|
-
* The list of vSwitch IDs.
|
|
1813
|
-
*
|
|
1814
|
-
* > To ensure high availability, select vSwitches in different zones.
|
|
1822
|
+
* The list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
1823
|
+
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1815
1824
|
*
|
|
1816
1825
|
* This parameter is required.
|
|
1817
1826
|
*/
|
|
@@ -1984,7 +1993,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1984
1993
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1985
1994
|
/**
|
|
1986
1995
|
* @remarks
|
|
1987
|
-
* Specifies whether to enable confidential computing
|
|
1996
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1988
1997
|
*
|
|
1989
1998
|
* - true: Enables confidential computing.
|
|
1990
1999
|
*
|
|
@@ -2018,7 +2027,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
2018
2027
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
2019
2028
|
/**
|
|
2020
2029
|
* @remarks
|
|
2021
|
-
* The
|
|
2030
|
+
* The auto mode configuration of the node pool.
|
|
2022
2031
|
*/
|
|
2023
2032
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
2024
2033
|
/**
|
|
@@ -2028,9 +2037,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2028
2037
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
2029
2038
|
/**
|
|
2030
2039
|
* @remarks
|
|
2031
|
-
* **[Deprecated]** Use desired_size instead.
|
|
2032
|
-
*
|
|
2033
|
-
* The number of nodes in the node pool.
|
|
2040
|
+
* **[Deprecated]** Use desired_size instead. The number of nodes in the node pool.
|
|
2034
2041
|
*
|
|
2035
2042
|
* @example
|
|
2036
2043
|
* null
|
|
@@ -2045,9 +2052,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2045
2052
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
2046
2053
|
/**
|
|
2047
2054
|
* @remarks
|
|
2048
|
-
* Specifies whether the
|
|
2049
|
-
* -
|
|
2050
|
-
* -
|
|
2055
|
+
* Specifies whether pods in the edge node pool use the host network mode. Valid values:
|
|
2056
|
+
* - true: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
2057
|
+
* - false: container network. Pods have independent network stacks and do not occupy the network ports of the host.
|
|
2051
2058
|
*
|
|
2052
2059
|
* @example
|
|
2053
2060
|
* true
|
|
@@ -2055,19 +2062,16 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2055
2062
|
hostNetwork?: boolean;
|
|
2056
2063
|
/**
|
|
2057
2064
|
* @remarks
|
|
2058
|
-
* **[Deprecated]**
|
|
2059
|
-
*
|
|
2060
|
-
* The edge node pool configuration.
|
|
2065
|
+
* **[Deprecated]** The configuration of the edge node pool.
|
|
2061
2066
|
*
|
|
2062
2067
|
* @deprecated
|
|
2063
2068
|
*/
|
|
2064
2069
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
2065
2070
|
/**
|
|
2066
2071
|
* @remarks
|
|
2067
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
2068
|
-
*
|
|
2069
|
-
* -
|
|
2070
|
-
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
2072
|
+
* The network type of the edge node pool. This parameter takes effect only when type is set to edge. Valid values:
|
|
2073
|
+
* - basic: public network. Nodes in cloud node pool interact with cloud nodes over the public network. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
|
|
2074
|
+
* - private: private network. Nodes in cloud node pool connect to the cloud network over Express Connect circuits, VPNs, or CEN. This provides higher cloud-edge communication quality and more effective security protection.
|
|
2071
2075
|
*
|
|
2072
2076
|
* @example
|
|
2073
2077
|
* basic
|
|
@@ -2075,9 +2079,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2075
2079
|
interconnectMode?: string;
|
|
2076
2080
|
/**
|
|
2077
2081
|
* @remarks
|
|
2078
|
-
* Specifies whether nodes in the edge node pool
|
|
2079
|
-
* -
|
|
2080
|
-
* -
|
|
2082
|
+
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool. Valid values:
|
|
2083
|
+
* - true: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
2084
|
+
* - false: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
2081
2085
|
*
|
|
2082
2086
|
* @example
|
|
2083
2087
|
* true
|
|
@@ -2085,19 +2089,17 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2085
2089
|
intranet?: boolean;
|
|
2086
2090
|
/**
|
|
2087
2091
|
* @remarks
|
|
2088
|
-
* The cluster
|
|
2092
|
+
* The cluster configurations.
|
|
2089
2093
|
*/
|
|
2090
2094
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2091
2095
|
/**
|
|
2092
2096
|
* @remarks
|
|
2093
|
-
* The
|
|
2097
|
+
* The configurations for the managed node pool feature.
|
|
2094
2098
|
*/
|
|
2095
2099
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2096
2100
|
/**
|
|
2097
2101
|
* @remarks
|
|
2098
|
-
* **[Deprecated]**
|
|
2099
|
-
*
|
|
2100
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
2102
|
+
* **[Deprecated]** The maximum number of nodes allowed in an edge node pool.
|
|
2101
2103
|
*
|
|
2102
2104
|
* @example
|
|
2103
2105
|
* null
|