@alicloud/cs20151215 7.2.2 → 7.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +270 -270
- package/dist/client.js +270 -270
- package/dist/models/Addon.d.ts +4 -5
- package/dist/models/Addon.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +30 -36
- package/dist/models/AttachInstancesRequest.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +7 -7
- package/dist/models/CheckControlPlaneLogEnableResponseBody.d.ts +4 -4
- package/dist/models/CheckServiceRoleRequest.d.ts +1 -1
- package/dist/models/CheckServiceRoleResponseBody.d.ts +4 -4
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -2
- package/dist/models/CleanClusterUserPermissionsRequest.js.map +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +6 -6
- package/dist/models/CreateClusterDiagnosisRequest.d.ts +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -298
- package/dist/models/CreateClusterNodePoolRequest.js +36 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerRequest.d.ts +2 -9
- package/dist/models/CreateKubernetesTriggerRequest.js.map +1 -1
- package/dist/models/CreateKubernetesTriggerResponseBody.d.ts +2 -3
- package/dist/models/CreateKubernetesTriggerResponseBody.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +4 -4
- package/dist/models/CreateTemplateRequest.d.ts +8 -8
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/CreateTriggerRequest.d.ts +7 -7
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteAlertContactGroupResponse.d.ts +5 -5
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -5
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +4 -4
- package/dist/models/DeleteClusterRequest.d.ts +20 -19
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterShrinkRequest.d.ts +11 -10
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +3 -3
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +3 -3
- package/dist/models/DeployPolicyInstanceRequest.d.ts +4 -4
- package/dist/models/DescribeAddonRequest.d.ts +7 -17
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +7 -9
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +11 -13
- package/dist/models/DescribeAddonsRequest.js.map +1 -1
- package/dist/models/DescribeAddonsResponseBody.d.ts +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAddonInstanceResponseBody.d.ts +5 -6
- package/dist/models/DescribeClusterAddonInstanceResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +13 -13
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -6
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +24 -24
- package/dist/models/DescribeClusterLogsResponse.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +255 -242
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +5 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +244 -295
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +5 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterResourcesRequest.d.ts +1 -3
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +19 -21
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +13 -2
- package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +7 -3
- package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterV2userKubeconfigRequest.d.ts +4 -0
- package/dist/models/DescribeClusterV2userKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterV2userKubeconfigResponseBody.d.ts +4 -0
- package/dist/models/DescribeClusterV2userKubeconfigResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +7 -7
- package/dist/models/DescribeClustersForRegionRequest.d.ts +19 -19
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +26 -26
- package/dist/models/DescribeClustersRequest.d.ts +8 -1
- package/dist/models/DescribeClustersRequest.js.map +1 -1
- package/dist/models/DescribeClustersResponse.d.ts +199 -0
- package/dist/models/DescribeClustersResponse.js.map +1 -1
- package/dist/models/DescribeExternalAgentRequest.d.ts +2 -2
- package/dist/models/DescribeNodePoolVulsRequest.d.ts +1 -1
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +8 -9
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +12 -12
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +27 -18
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyInstancesResponse.d.ts +10 -10
- package/dist/models/DescribeRegionsRequest.d.ts +2 -2
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +5 -5
- package/dist/models/DescribeTemplateAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +6 -6
- package/dist/models/DescribeTemplatesRequest.d.ts +6 -6
- package/dist/models/DescribeTemplatesResponseBody.d.ts +10 -10
- package/dist/models/DescribeTriggerRequest.d.ts +5 -11
- package/dist/models/DescribeTriggerRequest.js.map +1 -1
- package/dist/models/DescribeTriggerResponse.d.ts +3 -3
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +6 -6
- package/dist/models/FixNodePoolVulsRequest.d.ts +2 -2
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +14 -14
- package/dist/models/GetClusterAuditProjectResponseBody.d.ts +2 -2
- package/dist/models/GetClusterDiagnosisCheckItemsResponseBody.d.ts +3 -3
- package/dist/models/GetClusterDiagnosisResultResponseBody.d.ts +6 -6
- package/dist/models/GetClusterInspectConfigResponseBody.d.ts +1 -1
- package/dist/models/GetKubernetesTriggerRequest.d.ts +4 -4
- package/dist/models/GetKubernetesTriggerResponse.d.ts +1 -1
- package/dist/models/GetUpgradeStatusResponseBody.d.ts +10 -10
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/ListAddonsRequest.d.ts +6 -17
- package/dist/models/ListAddonsRequest.js.map +1 -1
- package/dist/models/ListAddonsResponseBody.d.ts +12 -17
- package/dist/models/ListAddonsResponseBody.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +17 -7
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListClusterAddonInstancesResponseBody.d.ts +8 -8
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +1 -1
- package/dist/models/ListNodePoolComponentsRequest.d.ts +4 -4
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +4 -4
- package/dist/models/ListTagResourcesRequest.d.ts +3 -2
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +3 -2
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +2 -2
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +7 -9
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +5 -5
- package/dist/models/ModifyClusterTagsRequest.d.ts +1 -1
- package/dist/models/ModifyPolicyInstanceRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceRequest.d.ts +3 -3
- package/dist/models/QuotasValue.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +10 -10
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +10 -10
- package/dist/models/RepairClusterNodePoolRequest.d.ts +6 -6
- package/dist/models/RunClusterCheckRequest.d.ts +1 -5
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterInspectRequest.d.ts +1 -1
- package/dist/models/RunNodeOperationRequest.d.ts +1 -1
- package/dist/models/ScaleClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/StandardComponentsValue.d.ts +7 -7
- package/dist/models/StartAlertRequest.d.ts +2 -2
- package/dist/models/StartAlertResponseBody.d.ts +1 -1
- package/dist/models/StopAlertRequest.d.ts +2 -2
- package/dist/models/StopAlertResponseBody.d.ts +1 -2
- package/dist/models/StopAlertResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +5 -5
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UntagResourcesRequest.d.ts +6 -6
- package/dist/models/UntagResourcesShrinkRequest.d.ts +6 -6
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +6 -7
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +1 -1
- package/dist/models/UpdateContactGroupForAlertRequest.d.ts +2 -2
- package/dist/models/UpdateContactGroupForAlertResponseBody.d.ts +1 -1
- package/dist/models/UpdateControlPlaneLogRequest.d.ts +4 -4
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +2 -2
- package/dist/models/UpdateKmsencryptionRequest.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +5 -5
- package/dist/models/UpdateResourcesDeleteProtectionRequest.d.ts +3 -3
- package/dist/models/UpdateResourcesDeleteProtectionResponseBody.d.ts +2 -2
- package/dist/models/UpdateTemplateRequest.d.ts +7 -7
- package/dist/models/UpdateUserPermissionsRequest.d.ts +24 -25
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +6 -7
- package/dist/models/UpgradeClusterRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +26 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +270 -270
- package/src/models/Addon.ts +4 -5
- package/src/models/AttachInstancesRequest.ts +30 -36
- package/src/models/AttachInstancesToNodePoolRequest.ts +7 -7
- package/src/models/CheckControlPlaneLogEnableResponseBody.ts +4 -4
- package/src/models/CheckServiceRoleRequest.ts +1 -1
- package/src/models/CheckServiceRoleResponseBody.ts +4 -4
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -2
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +6 -6
- package/src/models/CreateClusterDiagnosisRequest.ts +1 -1
- package/src/models/CreateClusterInspectConfigRequest.ts +1 -1
- package/src/models/CreateClusterNodePoolRequest.ts +290 -298
- package/src/models/CreateKubernetesTriggerRequest.ts +3 -10
- package/src/models/CreateKubernetesTriggerResponseBody.ts +3 -4
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +4 -4
- package/src/models/CreateTemplateRequest.ts +8 -8
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/CreateTriggerRequest.ts +7 -7
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteAlertContactGroupResponse.ts +5 -5
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -5
- package/src/models/DeleteClusterNodesRequest.ts +4 -4
- package/src/models/DeleteClusterRequest.ts +20 -19
- package/src/models/DeleteClusterResponseBody.ts +3 -3
- package/src/models/DeleteClusterShrinkRequest.ts +11 -10
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +3 -3
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +3 -3
- package/src/models/DeployPolicyInstanceRequest.ts +4 -4
- package/src/models/DescribeAddonRequest.ts +7 -17
- package/src/models/DescribeAddonResponseBody.ts +7 -9
- package/src/models/DescribeAddonsRequest.ts +11 -13
- package/src/models/DescribeAddonsResponseBody.ts +1 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterAddonInstanceResponseBody.ts +5 -6
- package/src/models/DescribeClusterAttachScriptsRequest.ts +13 -13
- package/src/models/DescribeClusterEventsRequest.ts +8 -6
- package/src/models/DescribeClusterEventsResponseBody.ts +24 -24
- package/src/models/DescribeClusterLogsResponse.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +258 -242
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +247 -295
- package/src/models/DescribeClusterResourcesRequest.ts +1 -3
- package/src/models/DescribeClusterResourcesResponse.ts +19 -21
- package/src/models/DescribeClusterTasksRequest.ts +13 -2
- package/src/models/DescribeClusterTasksResponseBody.ts +7 -3
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterV2userKubeconfigRequest.ts +4 -0
- package/src/models/DescribeClusterV2userKubeconfigResponseBody.ts +4 -0
- package/src/models/DescribeClusterVulsResponseBody.ts +7 -7
- package/src/models/DescribeClustersForRegionRequest.ts +19 -19
- package/src/models/DescribeClustersForRegionResponseBody.ts +26 -26
- package/src/models/DescribeClustersRequest.ts +8 -1
- package/src/models/DescribeClustersResponse.ts +199 -0
- package/src/models/DescribeExternalAgentRequest.ts +2 -2
- package/src/models/DescribeNodePoolVulsRequest.ts +1 -1
- package/src/models/DescribeNodePoolVulsResponseBody.ts +8 -9
- package/src/models/DescribePolicyDetailsResponseBody.ts +12 -12
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +27 -18
- package/src/models/DescribePolicyInstancesResponse.ts +10 -10
- package/src/models/DescribeRegionsRequest.ts +2 -2
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +5 -5
- package/src/models/DescribeTemplateAttributeRequest.ts +3 -3
- package/src/models/DescribeTemplateAttributeResponse.ts +6 -6
- package/src/models/DescribeTemplatesRequest.ts +6 -6
- package/src/models/DescribeTemplatesResponseBody.ts +10 -10
- package/src/models/DescribeTriggerRequest.ts +5 -11
- package/src/models/DescribeTriggerResponse.ts +3 -3
- package/src/models/DescribeUserQuotaResponseBody.ts +6 -6
- package/src/models/FixNodePoolVulsRequest.ts +2 -2
- package/src/models/GetClusterAddonInstanceResponseBody.ts +14 -14
- package/src/models/GetClusterAuditProjectResponseBody.ts +2 -2
- package/src/models/GetClusterDiagnosisCheckItemsResponseBody.ts +3 -3
- package/src/models/GetClusterDiagnosisResultResponseBody.ts +6 -6
- package/src/models/GetClusterInspectConfigResponseBody.ts +1 -1
- package/src/models/GetKubernetesTriggerRequest.ts +4 -4
- package/src/models/GetKubernetesTriggerResponse.ts +1 -1
- package/src/models/GetUpgradeStatusResponseBody.ts +10 -10
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/ListAddonsRequest.ts +6 -17
- package/src/models/ListAddonsResponseBody.ts +12 -17
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +19 -7
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +1 -1
- package/src/models/ListClusterAddonInstancesResponseBody.ts +8 -8
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +1 -1
- package/src/models/ListNodePoolComponentsRequest.ts +4 -4
- package/src/models/ListNodePoolComponentsResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +4 -4
- package/src/models/ListTagResourcesRequest.ts +3 -2
- package/src/models/ListTagResourcesResponseBody.ts +2 -2
- package/src/models/ListTagResourcesShrinkRequest.ts +3 -2
- package/src/models/ListUserKubeConfigStatesRequest.ts +2 -2
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +7 -9
- package/src/models/ModifyAutoRepairPolicyRequest.ts +5 -5
- package/src/models/ModifyClusterTagsRequest.ts +1 -1
- package/src/models/ModifyPolicyInstanceRequest.ts +5 -5
- package/src/models/Nodepool.ts +152 -202
- package/src/models/OpenAckServiceRequest.ts +3 -3
- package/src/models/QuotasValue.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +10 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +10 -10
- package/src/models/RepairClusterNodePoolRequest.ts +6 -6
- package/src/models/RunClusterCheckRequest.ts +1 -5
- package/src/models/RunClusterInspectRequest.ts +1 -1
- package/src/models/RunNodeOperationRequest.ts +1 -1
- package/src/models/ScaleClusterNodePoolRequest.ts +1 -1
- package/src/models/StandardComponentsValue.ts +7 -7
- package/src/models/StartAlertRequest.ts +2 -2
- package/src/models/StartAlertResponseBody.ts +1 -1
- package/src/models/StopAlertRequest.ts +2 -2
- package/src/models/StopAlertResponseBody.ts +1 -2
- package/src/models/TagResourcesRequest.ts +5 -5
- package/src/models/UnInstallClusterAddonsRequest.ts +2 -2
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UntagResourcesRequest.ts +6 -6
- package/src/models/UntagResourcesShrinkRequest.ts +6 -6
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +6 -7
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +3 -3
- package/src/models/UpdateClusterInspectConfigRequest.ts +1 -1
- package/src/models/UpdateContactGroupForAlertRequest.ts +2 -2
- package/src/models/UpdateContactGroupForAlertResponseBody.ts +1 -1
- package/src/models/UpdateControlPlaneLogRequest.ts +4 -4
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +2 -2
- package/src/models/UpdateKmsencryptionRequest.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +5 -5
- package/src/models/UpdateResourcesDeleteProtectionRequest.ts +3 -3
- package/src/models/UpdateResourcesDeleteProtectionResponseBody.ts +2 -2
- package/src/models/UpdateTemplateRequest.ts +7 -7
- package/src/models/UpdateUserPermissionsRequest.ts +24 -25
- package/src/models/UpgradeClusterRequest.ts +6 -7
- package/src/models/model.ts +1 -0
|
@@ -4,15 +4,15 @@ import { DiskInit } from "./DiskInit";
|
|
|
4
4
|
import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
|
|
5
5
|
import { InstancePatterns } from "./InstancePatterns";
|
|
6
6
|
import { KubeletConfig } from "./KubeletConfig";
|
|
7
|
+
import { Hugepage } from "./Hugepage";
|
|
7
8
|
import { Tag } from "./Tag";
|
|
8
9
|
import { Taint } from "./Taint";
|
|
9
10
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
10
11
|
/**
|
|
11
12
|
* @remarks
|
|
12
|
-
* Specifies whether to enable
|
|
13
|
-
*
|
|
14
|
-
* -
|
|
15
|
-
* - false: Does not enable intelligent managed mode.
|
|
13
|
+
* Specifies whether to enable auto mode. Valid values:
|
|
14
|
+
* - true: enables auto mode. This value is valid only when auto mode is enabled for the cluster.
|
|
15
|
+
* - false: disables auto mode.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -48,7 +48,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
48
48
|
*
|
|
49
49
|
* The billing method of the EIP. Valid values:
|
|
50
50
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
51
|
-
* - `PayByTraffic`: pay-by-
|
|
51
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
52
52
|
*
|
|
53
53
|
* Default value: `PayByBandwidth`.
|
|
54
54
|
*
|
|
@@ -62,11 +62,11 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
62
62
|
* @remarks
|
|
63
63
|
* Specifies whether to enable auto scaling. Valid values:
|
|
64
64
|
*
|
|
65
|
-
* - `true`: enables
|
|
65
|
+
* - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales node resources based on the configured minimum and maximum numbers of instances. For clusters of version 1.24 and later, node instant elasticity is enabled by default. For clusters earlier than version 1.24, node auto scaling is enabled by default. For more information, see [Node auto scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
66
66
|
*
|
|
67
|
-
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured
|
|
67
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes to keep the number of nodes at the expected value.
|
|
68
68
|
*
|
|
69
|
-
*
|
|
69
|
+
* If this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
70
70
|
*
|
|
71
71
|
* Default value: `false`.
|
|
72
72
|
*
|
|
@@ -76,9 +76,9 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
76
76
|
enable?: boolean;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* **[Deprecated]**
|
|
79
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
80
80
|
*
|
|
81
|
-
* Specifies whether to associate an
|
|
81
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
82
82
|
*
|
|
83
83
|
* - `true`: associates an EIP.
|
|
84
84
|
*
|
|
@@ -94,7 +94,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
94
94
|
isBondEip?: boolean;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The maximum number of scalable instances in the node pool, excluding
|
|
97
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
|
|
98
98
|
*
|
|
99
99
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
100
100
|
*
|
|
@@ -104,12 +104,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
104
104
|
maxInstances?: number;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The minimum number of scalable instances in the node pool, excluding
|
|
107
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
|
|
108
108
|
*
|
|
109
109
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
110
110
|
*
|
|
111
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
112
|
-
* > - Settings for the maximum number of instances should not be less than the current number of nodes in the node pool. Otherwise, nodes in the node pool
|
|
111
|
+
* > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances occurs after the scaling group takes effect.
|
|
112
|
+
* > - The recommended Settings for the maximum number of instances should not be less than the current number of nodes in the node pool. Otherwise, the elastic scaling feature scales in the nodes in the node pool immediately after it takes effect.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* 1
|
|
@@ -117,15 +117,15 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
117
117
|
minInstances?: number;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The elastic scaling
|
|
120
|
+
* The instance type for elastic scaling. This parameter takes effect only when `enable` is set to true. Valid values:
|
|
121
121
|
*
|
|
122
|
-
* - `cpu`: regular instance
|
|
122
|
+
* - `cpu`: regular instance.
|
|
123
123
|
*
|
|
124
|
-
* - `gpu`: GPU instance
|
|
124
|
+
* - `gpu`: GPU-accelerated instance.
|
|
125
125
|
*
|
|
126
|
-
* - `gpushare`: GPU
|
|
126
|
+
* - `gpushare`: GPU-shared instance.
|
|
127
127
|
*
|
|
128
|
-
* - `spot`: spot instance
|
|
128
|
+
* - `spot`: spot instance.
|
|
129
129
|
*
|
|
130
130
|
* Default value: `cpu`.
|
|
131
131
|
* >Notice: This parameter cannot be modified after the node pool is created.
|
|
@@ -148,12 +148,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
148
148
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* Specifies whether to enable
|
|
151
|
+
* Specifies whether to enable auto-attach for the Lingjun node pool.
|
|
152
152
|
*/
|
|
153
153
|
autoAttachEnabled?: boolean;
|
|
154
154
|
/**
|
|
155
155
|
* @remarks
|
|
156
|
-
* The Lingjun cluster
|
|
156
|
+
* The ID of the Lingjun cluster to associate when creating the Lingjun node pool.
|
|
157
157
|
*
|
|
158
158
|
* @example
|
|
159
159
|
* i1169130516633730****
|
|
@@ -161,7 +161,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
161
161
|
clusterId?: string;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The Lingjun group
|
|
164
|
+
* The ID of the Lingjun group in the Lingjun cluster to associate when creating the Lingjun node pool.
|
|
165
165
|
*
|
|
166
166
|
* @example
|
|
167
167
|
* ng-ec3c96ff0aa****
|
|
@@ -188,7 +188,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
188
188
|
* @remarks
|
|
189
189
|
* **[Deprecated]**
|
|
190
190
|
*
|
|
191
|
-
* The network bandwidth of the enhanced
|
|
191
|
+
* The network bandwidth of the edge-enhanced node pool. Unit: Mbit/s.
|
|
192
192
|
*
|
|
193
193
|
* @example
|
|
194
194
|
* null
|
|
@@ -198,7 +198,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
198
198
|
* @remarks
|
|
199
199
|
* **[Deprecated]**
|
|
200
200
|
*
|
|
201
|
-
* The Cloud Connect Network (CCN)
|
|
201
|
+
* The instance ID of the Cloud Connect Network (CCN) attached to the edge-enhanced node pool.
|
|
202
202
|
*
|
|
203
203
|
* @example
|
|
204
204
|
* null
|
|
@@ -208,7 +208,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
208
208
|
* @remarks
|
|
209
209
|
* **[Deprecated]**
|
|
210
210
|
*
|
|
211
|
-
* The region of the
|
|
211
|
+
* The region of the CCN instance associated with the edge-enhanced node pool.
|
|
212
212
|
*
|
|
213
213
|
* @example
|
|
214
214
|
* null
|
|
@@ -218,7 +218,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
218
218
|
* @remarks
|
|
219
219
|
* **[Deprecated]**
|
|
220
220
|
*
|
|
221
|
-
* The Cloud Enterprise Network (CEN)
|
|
221
|
+
* The instance ID of the Cloud Enterprise Network (CEN) attached to the edge-enhanced node pool.
|
|
222
222
|
*
|
|
223
223
|
* @example
|
|
224
224
|
* null
|
|
@@ -228,7 +228,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
228
228
|
* @remarks
|
|
229
229
|
* **[Deprecated]**
|
|
230
230
|
*
|
|
231
|
-
* The
|
|
231
|
+
* The subscription duration of the edge-enhanced node pool. Unit: months.
|
|
232
232
|
*
|
|
233
233
|
* @example
|
|
234
234
|
* null
|
|
@@ -248,12 +248,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
248
248
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
249
249
|
/**
|
|
250
250
|
* @remarks
|
|
251
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After
|
|
252
|
-
*
|
|
253
|
-
* - `
|
|
254
|
-
*
|
|
255
|
-
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
256
|
-
*
|
|
251
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After the agent is installed, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Valid values:
|
|
252
|
+
* - `true`: The CloudMonitor agent is installed on ECS nodes.
|
|
253
|
+
* - `false`: The CloudMonitor agent is not installed on ECS nodes.
|
|
257
254
|
* Default value: `false`.
|
|
258
255
|
*
|
|
259
256
|
* @example
|
|
@@ -262,11 +259,9 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
262
259
|
cmsEnabled?: boolean;
|
|
263
260
|
/**
|
|
264
261
|
* @remarks
|
|
265
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
266
|
-
*
|
|
267
|
-
* - `
|
|
268
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
269
|
-
*
|
|
262
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
263
|
+
* - `static`: Allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
264
|
+
* - `none`: Uses the default CPU affinity scheme.
|
|
270
265
|
* Default value: `none`.
|
|
271
266
|
*
|
|
272
267
|
* @example
|
|
@@ -275,27 +270,23 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
275
270
|
cpuPolicy?: string;
|
|
276
271
|
/**
|
|
277
272
|
* @remarks
|
|
278
|
-
* The
|
|
273
|
+
* The labels to be added to the nodes in the Kubernetes cluster.
|
|
279
274
|
*/
|
|
280
275
|
labels?: Tag[];
|
|
281
276
|
/**
|
|
282
277
|
* @remarks
|
|
283
|
-
* The custom node name. After you
|
|
284
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing
|
|
278
|
+
* The custom node name. After you specify a custom node name, the node name, ECS instance name, and ECS instance hostname are changed accordingly.
|
|
279
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing periods (.) in the IP address, and without prefixes or suffixes.
|
|
285
280
|
*
|
|
286
|
-
*
|
|
281
|
+
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
282
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
283
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with a letter and cannot start or end with a hyphen (-) or a period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
284
|
+
* - The prefix is required due to ECS limits, and the suffix is optional.
|
|
285
|
+
* - The node IP address is the complete private IP address of the node.
|
|
287
286
|
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
* -
|
|
291
|
-
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
292
|
-
* - The node IP is the full private IP address of the node.
|
|
293
|
-
*
|
|
294
|
-
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
295
|
-
*
|
|
296
|
-
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
297
|
-
*
|
|
298
|
-
* - For a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
287
|
+
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
288
|
+
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
289
|
+
* - 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.
|
|
299
290
|
*
|
|
300
291
|
* @example
|
|
301
292
|
* aliyun.com192.XX.YY.55test
|
|
@@ -303,7 +294,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
303
294
|
nodeNameMode?: string;
|
|
304
295
|
/**
|
|
305
296
|
* @remarks
|
|
306
|
-
* The pre-
|
|
297
|
+
* The pre-custom data of the instance. Before the node is added to the cluster, the specified pre-custom data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
307
298
|
*
|
|
308
299
|
* @example
|
|
309
300
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -311,13 +302,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
311
302
|
preUserData?: string;
|
|
312
303
|
/**
|
|
313
304
|
* @remarks
|
|
314
|
-
* The container runtime
|
|
315
|
-
*
|
|
316
|
-
* -
|
|
317
|
-
* -
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
* Default value: containerd.
|
|
305
|
+
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
306
|
+
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
307
|
+
* - `Sandboxed-Container.runv`: Secure sandboxed containers that provide higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
308
|
+
* - `docker`: Deprecated. Supported by clusters of version 1.22 and earlier.
|
|
309
|
+
* Default value: `containerd`.
|
|
321
310
|
*
|
|
322
311
|
* @example
|
|
323
312
|
* containerd
|
|
@@ -338,11 +327,9 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
338
327
|
taints?: Taint[];
|
|
339
328
|
/**
|
|
340
329
|
* @remarks
|
|
341
|
-
* Specifies whether
|
|
342
|
-
*
|
|
343
|
-
* -
|
|
344
|
-
*
|
|
345
|
-
* - false: Schedulable.
|
|
330
|
+
* Specifies whether the scaled-out nodes are unschedulable. Valid values:
|
|
331
|
+
* - `true`: The nodes are unschedulable.
|
|
332
|
+
* - `false`: The nodes are schedulable.
|
|
346
333
|
*
|
|
347
334
|
* @example
|
|
348
335
|
* true
|
|
@@ -350,7 +337,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
350
337
|
unschedulable?: boolean;
|
|
351
338
|
/**
|
|
352
339
|
* @remarks
|
|
353
|
-
* The instance user data. After
|
|
340
|
+
* The instance user data. After the node is added to the cluster, the specified instance user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
354
341
|
*
|
|
355
342
|
* @example
|
|
356
343
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -375,7 +362,15 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
375
362
|
approvalRequired?: boolean;
|
|
376
363
|
/**
|
|
377
364
|
* @remarks
|
|
378
|
-
* The
|
|
365
|
+
* The ID of the auto-repair policy. If you do not specify this parameter or specify an empty string, no auto-healing rule is bound.
|
|
366
|
+
*
|
|
367
|
+
* @example
|
|
368
|
+
* r-xxxxxxxxxx
|
|
369
|
+
*/
|
|
370
|
+
autoRepairPolicyId?: string;
|
|
371
|
+
/**
|
|
372
|
+
* @remarks
|
|
373
|
+
* The maximum number of nodes or the percentage of nodes that can be repaired simultaneously when a large number of abnormal nodes exist in the node pool. You can specify a number (for example, 5, valid values: 1 to 100000) or a percentage (for example, 10%, valid values: 1% to 100%). Default value: 1.
|
|
379
374
|
*
|
|
380
375
|
* @example
|
|
381
376
|
* 5
|
|
@@ -383,7 +378,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
383
378
|
maxParallelRepairingNodes?: string;
|
|
384
379
|
/**
|
|
385
380
|
* @remarks
|
|
386
|
-
* The
|
|
381
|
+
* The circuit breaker threshold for auto-healing. When the number or percentage of faulty nodes exceeds this threshold, auto-healing enters the circuit breaker state and stops initiating new auto-healing repair actions. You can specify a number (for example, 10, valid values: 1 to 100000) or a percentage (for example, 20%, valid values: 1% to 100%). Default value: 100%.
|
|
387
382
|
*
|
|
388
383
|
* @example
|
|
389
384
|
* 20%
|
|
@@ -391,11 +386,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
391
386
|
maxUnhealthyNodesThreshold?: string;
|
|
392
387
|
/**
|
|
393
388
|
* @remarks
|
|
394
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when
|
|
395
|
-
*
|
|
396
|
-
* - `
|
|
397
|
-
* - `false`: Node restarts are not allowed.
|
|
398
|
-
*
|
|
389
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when auto_repair is set to true. Valid values:
|
|
390
|
+
* - `true`: Allows node restarts.
|
|
391
|
+
* - `false`: Does not allow node restarts.
|
|
399
392
|
* Default value: `true`.
|
|
400
393
|
*
|
|
401
394
|
* @example
|
|
@@ -416,10 +409,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
416
409
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
417
410
|
/**
|
|
418
411
|
* @remarks
|
|
419
|
-
* Specifies whether to allow automatic kubelet
|
|
420
|
-
* - `true`:
|
|
421
|
-
* - `false`:
|
|
422
|
-
*
|
|
412
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
413
|
+
* - `true`: Allows automatic kubelet upgrades.
|
|
414
|
+
* - `false`: Does not allow automatic kubelet upgrades.
|
|
423
415
|
* Default value: `true`.
|
|
424
416
|
*
|
|
425
417
|
* @example
|
|
@@ -428,11 +420,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
428
420
|
autoUpgradeKubelet?: boolean;
|
|
429
421
|
/**
|
|
430
422
|
* @remarks
|
|
431
|
-
* Specifies whether to allow automatic operating system
|
|
432
|
-
* - `true`:
|
|
433
|
-
* - `false`:
|
|
434
|
-
*
|
|
435
|
-
*
|
|
423
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
424
|
+
* - `true`: Allows automatic operating system upgrades.
|
|
425
|
+
* - `false`: Does not allow automatic operating system upgrades.
|
|
436
426
|
* Default value: `false`.
|
|
437
427
|
*
|
|
438
428
|
* @example
|
|
@@ -441,10 +431,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
441
431
|
autoUpgradeOs?: boolean;
|
|
442
432
|
/**
|
|
443
433
|
* @remarks
|
|
444
|
-
* Specifies whether to allow automatic runtime
|
|
445
|
-
* - `true`:
|
|
446
|
-
* - `false`:
|
|
447
|
-
*
|
|
434
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
435
|
+
* - `true`: Allows automatic runtime upgrades.
|
|
436
|
+
* - `false`: Does not allow automatic runtime upgrades.
|
|
448
437
|
* Default value: `true`.
|
|
449
438
|
*
|
|
450
439
|
* @example
|
|
@@ -465,9 +454,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
465
454
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
466
455
|
/**
|
|
467
456
|
* @remarks
|
|
468
|
-
* The packages to
|
|
469
|
-
*
|
|
470
|
-
* Default value: `kernel`.
|
|
457
|
+
* The packages to be excluded during vulnerability repair. Default value: `kernel`.
|
|
471
458
|
*
|
|
472
459
|
* @example
|
|
473
460
|
* kernel
|
|
@@ -475,10 +462,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
475
462
|
excludePackages?: string;
|
|
476
463
|
/**
|
|
477
464
|
* @remarks
|
|
478
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when
|
|
479
|
-
* - `true`:
|
|
480
|
-
* - `false`:
|
|
481
|
-
*
|
|
465
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when auto_vul_fix is set to true. Valid values:
|
|
466
|
+
* - `true`: Allows node restarts.
|
|
467
|
+
* - `false`: Does not allow node restarts.
|
|
482
468
|
* Default value: `true`.
|
|
483
469
|
*
|
|
484
470
|
* @example
|
|
@@ -487,12 +473,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
487
473
|
restartNode?: boolean;
|
|
488
474
|
/**
|
|
489
475
|
* @remarks
|
|
490
|
-
* The vulnerability levels allowed for automatic
|
|
491
|
-
*
|
|
492
|
-
* - `
|
|
493
|
-
* - `
|
|
494
|
-
* - `nntf`: low
|
|
495
|
-
*
|
|
476
|
+
* The vulnerability levels that are allowed for automatic repair, separated by commas. Example: `asap,later`. Valid values:
|
|
477
|
+
* - `asap`: High.
|
|
478
|
+
* - `later`: Medium.
|
|
479
|
+
* - `nntf`: Low.
|
|
496
480
|
* Default value: `asap`.
|
|
497
481
|
*
|
|
498
482
|
* @example
|
|
@@ -513,13 +497,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
513
497
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
514
498
|
/**
|
|
515
499
|
* @remarks
|
|
516
|
-
* **[Deprecated]** Use the
|
|
517
|
-
*
|
|
518
|
-
*
|
|
519
|
-
*
|
|
520
|
-
* - `true`: Automatic upgrade is enabled.
|
|
521
|
-
*
|
|
522
|
-
* - `false`: Automatic upgrade is disabled.
|
|
500
|
+
* **[Deprecated]** Use the auto_upgrade parameter at the upper level instead. Specifies whether to enable auto-upgrade. Valid values:
|
|
501
|
+
* - `true`: Enables auto-upgrade.
|
|
502
|
+
* - `false`: Disables auto-upgrade.
|
|
523
503
|
*
|
|
524
504
|
* @example
|
|
525
505
|
* null
|
|
@@ -529,10 +509,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
529
509
|
autoUpgrade?: boolean;
|
|
530
510
|
/**
|
|
531
511
|
* @remarks
|
|
532
|
-
* The maximum number of unavailable nodes.
|
|
533
|
-
* Valid range: [1,1000\\].
|
|
534
|
-
*
|
|
535
|
-
* Default value: 1.
|
|
512
|
+
* The maximum number of unavailable nodes. Valid values: 1 to 1000. Default value: 1.
|
|
536
513
|
*
|
|
537
514
|
* @example
|
|
538
515
|
* 1
|
|
@@ -540,10 +517,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
540
517
|
maxUnavailable?: number;
|
|
541
518
|
/**
|
|
542
519
|
* @remarks
|
|
543
|
-
* The number of extra nodes. You can
|
|
544
|
-
*
|
|
545
|
-
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
546
|
-
*
|
|
520
|
+
* The number of extra nodes. This parameter and surge_percentage are mutually exclusive. Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
547
521
|
* > The number of extra nodes should not exceed the current number of nodes.
|
|
548
522
|
*
|
|
549
523
|
* @example
|
|
@@ -552,9 +526,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
552
526
|
surge?: number;
|
|
553
527
|
/**
|
|
554
528
|
* @remarks
|
|
555
|
-
* The percentage of extra nodes.
|
|
556
|
-
*
|
|
557
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage of extra nodes is set to 50% and 6 nodes exist, the number of extra nodes = 50% × 6 = 3.
|
|
529
|
+
* The percentage of extra nodes. This parameter and surge are mutually exclusive. Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if the percentage of extra nodes is set to 50% and the current number of nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
|
|
558
530
|
*
|
|
559
531
|
* @example
|
|
560
532
|
* 0
|
|
@@ -574,17 +546,14 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
574
546
|
export declare class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
575
547
|
/**
|
|
576
548
|
* @remarks
|
|
577
|
-
* Specifies whether to enable ECS fault detection for node
|
|
549
|
+
* Specifies whether to enable ECS fault detection for node auto-healing.
|
|
578
550
|
*/
|
|
579
551
|
autoFaultDiagnosis?: boolean;
|
|
580
552
|
/**
|
|
581
553
|
* @remarks
|
|
582
|
-
* Specifies whether to
|
|
583
|
-
*
|
|
584
|
-
* - `
|
|
585
|
-
*
|
|
586
|
-
* - `false`: Disabled.
|
|
587
|
-
*
|
|
554
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when enable is set to true. Valid values:
|
|
555
|
+
* - `true`: Automatically repairs nodes.
|
|
556
|
+
* - `false`: Does not automatically repair nodes.
|
|
588
557
|
* Default value: `true`.
|
|
589
558
|
*
|
|
590
559
|
* @example
|
|
@@ -593,15 +562,14 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
593
562
|
autoRepair?: boolean;
|
|
594
563
|
/**
|
|
595
564
|
* @remarks
|
|
596
|
-
* The
|
|
565
|
+
* The auto-repair policy for nodes.
|
|
597
566
|
*/
|
|
598
567
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
599
568
|
/**
|
|
600
569
|
* @remarks
|
|
601
|
-
* Specifies whether to
|
|
602
|
-
* - `true`:
|
|
603
|
-
* - `false`:
|
|
604
|
-
*
|
|
570
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when enable is set to true. Valid values:
|
|
571
|
+
* - `true`: Enables auto-upgrade.
|
|
572
|
+
* - `false`: Disables auto-upgrade.
|
|
605
573
|
* Default value: `true`.
|
|
606
574
|
*
|
|
607
575
|
* @example
|
|
@@ -610,16 +578,14 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
610
578
|
autoUpgrade?: boolean;
|
|
611
579
|
/**
|
|
612
580
|
* @remarks
|
|
613
|
-
* The
|
|
581
|
+
* The auto-upgrade policy for nodes.
|
|
614
582
|
*/
|
|
615
583
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
616
584
|
/**
|
|
617
585
|
* @remarks
|
|
618
|
-
* Specifies whether to
|
|
619
|
-
*
|
|
620
|
-
* - `
|
|
621
|
-
* - `false`: Automatic CVE fix is disabled.
|
|
622
|
-
*
|
|
586
|
+
* Specifies whether to automatically repair CVE vulnerabilities. This parameter takes effect only when enable is set to true. Valid values:
|
|
587
|
+
* - `true`: Allows automatic CVE repair.
|
|
588
|
+
* - `false`: Does not allow automatic CVE repair.
|
|
623
589
|
* Default value: `true`.
|
|
624
590
|
*
|
|
625
591
|
* @example
|
|
@@ -628,23 +594,20 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
628
594
|
autoVulFix?: boolean;
|
|
629
595
|
/**
|
|
630
596
|
* @remarks
|
|
631
|
-
* The
|
|
597
|
+
* The auto-repair policy for CVE vulnerabilities.
|
|
632
598
|
*/
|
|
633
599
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
634
600
|
/**
|
|
635
601
|
* @remarks
|
|
636
|
-
* Specifies whether to enable node rotation.
|
|
602
|
+
* Specifies whether to enable the node rotation feature. This feature is supported only by intelligent managed node pools and is enabled by default. It is not supported by regular node pools.
|
|
637
603
|
*/
|
|
638
604
|
driftEnabled?: boolean;
|
|
639
605
|
/**
|
|
640
606
|
* @remarks
|
|
641
607
|
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
642
|
-
*
|
|
643
|
-
* - `
|
|
644
|
-
*
|
|
645
|
-
* - `false`: Disabled. Other related configurations take effect only when enable is set to true.
|
|
646
|
-
*
|
|
647
|
-
* Default value: false.
|
|
608
|
+
* - `true`: Enables the managed node pool feature.
|
|
609
|
+
* - `false`: Disables the managed node pool feature. Other related configurations take effect only when this parameter is set to true.
|
|
610
|
+
* Default value: `false`.
|
|
648
611
|
*
|
|
649
612
|
* @example
|
|
650
613
|
* false
|
|
@@ -652,9 +615,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
652
615
|
enable?: boolean;
|
|
653
616
|
/**
|
|
654
617
|
* @remarks
|
|
655
|
-
* **[Deprecated]** Use the
|
|
656
|
-
*
|
|
657
|
-
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
618
|
+
* **[Deprecated]** Use the auto_upgrade parameter at the upper level instead. The auto-upgrade configuration. This parameter takes effect only when enable is set to true.
|
|
658
619
|
*
|
|
659
620
|
* @deprecated
|
|
660
621
|
*/
|
|
@@ -758,12 +719,44 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
758
719
|
[key: string]: any;
|
|
759
720
|
});
|
|
760
721
|
}
|
|
722
|
+
export declare class CreateClusterNodePoolRequestNodeConfigNodeOsConfig extends $dara.Model {
|
|
723
|
+
/**
|
|
724
|
+
* @remarks
|
|
725
|
+
* The Transparent HugePages configuration.
|
|
726
|
+
*/
|
|
727
|
+
hugepage?: Hugepage;
|
|
728
|
+
/**
|
|
729
|
+
* @remarks
|
|
730
|
+
* The sysctl kernel parameter settings. Only specific kernel parameters are supported, and the cluster version must be 1.28 or later.
|
|
731
|
+
*
|
|
732
|
+
* @example
|
|
733
|
+
* {"fs.file-max":"1048576"}
|
|
734
|
+
*/
|
|
735
|
+
sysctl?: {
|
|
736
|
+
[key: string]: any;
|
|
737
|
+
};
|
|
738
|
+
static names(): {
|
|
739
|
+
[key: string]: string;
|
|
740
|
+
};
|
|
741
|
+
static types(): {
|
|
742
|
+
[key: string]: any;
|
|
743
|
+
};
|
|
744
|
+
validate(): void;
|
|
745
|
+
constructor(map?: {
|
|
746
|
+
[key: string]: any;
|
|
747
|
+
});
|
|
748
|
+
}
|
|
761
749
|
export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
762
750
|
/**
|
|
763
751
|
* @remarks
|
|
764
|
-
* The
|
|
752
|
+
* The Kubelet parameter settings.
|
|
765
753
|
*/
|
|
766
754
|
kubeletConfiguration?: KubeletConfig;
|
|
755
|
+
/**
|
|
756
|
+
* @remarks
|
|
757
|
+
* The operating system configuration of the node.
|
|
758
|
+
*/
|
|
759
|
+
nodeOsConfig?: CreateClusterNodePoolRequestNodeConfigNodeOsConfig;
|
|
767
760
|
static names(): {
|
|
768
761
|
[key: string]: string;
|
|
769
762
|
};
|
|
@@ -778,7 +771,7 @@ export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model
|
|
|
778
771
|
export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
779
772
|
/**
|
|
780
773
|
* @remarks
|
|
781
|
-
* The node pool
|
|
774
|
+
* The name of the node pool.
|
|
782
775
|
*
|
|
783
776
|
* This parameter is required.
|
|
784
777
|
*
|
|
@@ -788,9 +781,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
788
781
|
name?: string;
|
|
789
782
|
/**
|
|
790
783
|
* @remarks
|
|
791
|
-
* The resource group
|
|
784
|
+
* The ID of the resource group to which the node pool belongs. Instances added to the node pool belong to this resource group.
|
|
792
785
|
*
|
|
793
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on
|
|
786
|
+
* 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.
|
|
794
787
|
*
|
|
795
788
|
* @example
|
|
796
789
|
* rg-acfmyvw3wjmb****
|
|
@@ -798,9 +791,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
798
791
|
resourceGroupId?: string;
|
|
799
792
|
/**
|
|
800
793
|
* @remarks
|
|
801
|
-
* The node pool
|
|
794
|
+
* The type of the node pool. Valid values:
|
|
802
795
|
*
|
|
803
|
-
* - `ess`:
|
|
796
|
+
* - `ess`: standard node pool, which supports managed features and automatic elastic scaling.
|
|
804
797
|
* - `edge`: edge node pool.
|
|
805
798
|
* - `lingjun`: Lingjun node pool.
|
|
806
799
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -823,7 +816,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
823
816
|
export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
824
817
|
/**
|
|
825
818
|
* @remarks
|
|
826
|
-
* Specifies whether to enable nested virtualization. Valid values: disabled:
|
|
819
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
827
820
|
*
|
|
828
821
|
* @example
|
|
829
822
|
* enabled
|
|
@@ -843,7 +836,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends
|
|
|
843
836
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
844
837
|
/**
|
|
845
838
|
* @remarks
|
|
846
|
-
* The private
|
|
839
|
+
* The ID of the private pool. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
847
840
|
*
|
|
848
841
|
* @example
|
|
849
842
|
* eap-bp67acfmxazb4****
|
|
@@ -851,10 +844,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
851
844
|
id?: string;
|
|
852
845
|
/**
|
|
853
846
|
* @remarks
|
|
854
|
-
* The private
|
|
855
|
-
* - `Open`:
|
|
856
|
-
* - `Target`:
|
|
857
|
-
* - `None`:
|
|
847
|
+
* The private pool capacity matching mode for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for you to select when you start instances. Valid values:
|
|
848
|
+
* - `Open`: open mode. The system automatically matches the capacity of an open private pool. If no eligible private pool capacity is available, the system uses public pool resources to start the instances.
|
|
849
|
+
* - `Target`: specified mode. The system uses the capacity of the specified private pool to start instances. If the specified private pool capacity is unavailable, the instances fail to start.
|
|
850
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start instances.
|
|
858
851
|
*
|
|
859
852
|
* @example
|
|
860
853
|
* Target
|
|
@@ -874,15 +867,15 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
874
867
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
875
868
|
/**
|
|
876
869
|
* @remarks
|
|
877
|
-
* The list of private pool IDs, which are elasticity
|
|
870
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can specify only the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
878
871
|
*/
|
|
879
872
|
privatePoolIds?: string[];
|
|
880
873
|
/**
|
|
881
874
|
* @remarks
|
|
882
|
-
* The resource pool
|
|
883
|
-
* PrivatePoolFirst: Private pool first. When this
|
|
884
|
-
* PrivatePoolOnly: Private pool only. When this
|
|
885
|
-
* None: No resource pool
|
|
875
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools, which are available for selection during instance startup. Valid values:
|
|
876
|
+
* PrivatePoolFirst: Private pool first. When this strategy is selected and resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pools have insufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create the instance.
|
|
877
|
+
* PrivatePoolOnly: Private pool only. When this strategy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pools have insufficient capacity, the instance fails to start.
|
|
878
|
+
* None: No resource pool strategy is used.
|
|
886
879
|
* Default value: None.
|
|
887
880
|
*
|
|
888
881
|
* @example
|
|
@@ -903,7 +896,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
903
896
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
904
897
|
/**
|
|
905
898
|
* @remarks
|
|
906
|
-
* The instance type
|
|
899
|
+
* The spot instance type.
|
|
907
900
|
*
|
|
908
901
|
* @example
|
|
909
902
|
* ecs.c6.large
|
|
@@ -977,9 +970,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
977
970
|
autoRenew?: boolean;
|
|
978
971
|
/**
|
|
979
972
|
* @remarks
|
|
980
|
-
* The
|
|
981
|
-
* -
|
|
982
|
-
* -
|
|
973
|
+
* The duration of each auto-renewal cycle. Valid values:
|
|
974
|
+
* - When PeriodUnit is set to Week: 1, 2, and 3.
|
|
975
|
+
* - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
983
976
|
*
|
|
984
977
|
* Default value: 1.
|
|
985
978
|
*
|
|
@@ -989,7 +982,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
989
982
|
autoRenewPeriod?: number;
|
|
990
983
|
/**
|
|
991
984
|
* @remarks
|
|
992
|
-
* **[Deprecated]** Use the security_hardening_os parameter instead.
|
|
985
|
+
* **[Deprecated]** Use the `security_hardening_os` parameter instead.
|
|
993
986
|
*
|
|
994
987
|
* @example
|
|
995
988
|
* null
|
|
@@ -999,10 +992,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
999
992
|
cisEnabled?: boolean;
|
|
1000
993
|
/**
|
|
1001
994
|
* @remarks
|
|
1002
|
-
* Specifies whether to
|
|
995
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory issues, provided that `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1003
996
|
*
|
|
1004
|
-
* - `true`:
|
|
1005
|
-
* - `false`:
|
|
997
|
+
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
998
|
+
* - `false`: does not automatically create pay-as-you-go instances.
|
|
1006
999
|
*
|
|
1007
1000
|
* @example
|
|
1008
1001
|
* true
|
|
@@ -1015,15 +1008,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1015
1008
|
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1016
1009
|
/**
|
|
1017
1010
|
* @remarks
|
|
1018
|
-
* The data cloud disk
|
|
1011
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1019
1012
|
*/
|
|
1020
1013
|
dataDisks?: DataDisk[];
|
|
1021
1014
|
/**
|
|
1022
1015
|
* @remarks
|
|
1023
|
-
* The deployment set
|
|
1016
|
+
* The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When you create ECS instances in a deployment set, the instances are distributed and started in the specified region based on the predefined deployment policy.
|
|
1024
1017
|
*
|
|
1025
1018
|
*
|
|
1026
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
1019
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × the number of zones nodes. The number of zones is determined by the vSwitches. Proceed with caution and ensure that the quota in the deployment set is sufficient to prevent node scale-out failures.
|
|
1027
1020
|
*
|
|
1028
1021
|
* @example
|
|
1029
1022
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1031,11 +1024,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1031
1024
|
deploymentsetId?: string;
|
|
1032
1025
|
/**
|
|
1033
1026
|
* @remarks
|
|
1034
|
-
* The
|
|
1027
|
+
* The expected number of nodes in the node pool.
|
|
1035
1028
|
*
|
|
1036
|
-
*
|
|
1029
|
+
* 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.
|
|
1037
1030
|
*
|
|
1038
|
-
* If you do not need to create nodes, set this parameter to 0
|
|
1031
|
+
* If you do not need to create nodes, set this parameter to 0 and manually increase the number of nodes later.
|
|
1039
1032
|
*
|
|
1040
1033
|
* @example
|
|
1041
1034
|
* 0
|
|
@@ -1048,7 +1041,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1048
1041
|
diskInit?: DiskInit[];
|
|
1049
1042
|
/**
|
|
1050
1043
|
* @remarks
|
|
1051
|
-
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types.
|
|
1044
|
+
* 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.
|
|
1052
1045
|
*
|
|
1053
1046
|
* @example
|
|
1054
1047
|
* false
|
|
@@ -1056,7 +1049,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1056
1049
|
enableHighDensityMode?: boolean;
|
|
1057
1050
|
/**
|
|
1058
1051
|
* @remarks
|
|
1059
|
-
* The custom image
|
|
1052
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
1060
1053
|
*
|
|
1061
1054
|
* @example
|
|
1062
1055
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1064,7 +1057,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1064
1057
|
imageId?: string;
|
|
1065
1058
|
/**
|
|
1066
1059
|
* @remarks
|
|
1067
|
-
* The type of operating system image. Valid values:
|
|
1060
|
+
* The type of the operating system image. Valid values:
|
|
1068
1061
|
*
|
|
1069
1062
|
* - `AliyunLinux`: Alinux2 image.
|
|
1070
1063
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -1073,9 +1066,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1073
1066
|
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1074
1067
|
* - `CentOS`: CentOS image.
|
|
1075
1068
|
* - `Windows`: Windows image.
|
|
1076
|
-
* - `WindowsCore`:
|
|
1077
|
-
* - `ContainerOS`: container-
|
|
1078
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-
|
|
1069
|
+
* - `WindowsCore`: Windows Core image.
|
|
1070
|
+
* - `ContainerOS`: container-optimized image.
|
|
1071
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1079
1072
|
*
|
|
1080
1073
|
* @example
|
|
1081
1074
|
* AliyunLinux3
|
|
@@ -1099,21 +1092,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1099
1092
|
instanceChargeType?: string;
|
|
1100
1093
|
/**
|
|
1101
1094
|
* @remarks
|
|
1102
|
-
* The
|
|
1095
|
+
* The instance metadata access configuration for ECS instances.
|
|
1103
1096
|
*/
|
|
1104
1097
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1105
1098
|
/**
|
|
1106
1099
|
* @remarks
|
|
1107
|
-
* The instance
|
|
1100
|
+
* The instance property configuration.
|
|
1108
1101
|
*/
|
|
1109
1102
|
instancePatterns?: InstancePatterns[];
|
|
1110
1103
|
/**
|
|
1111
1104
|
* @remarks
|
|
1112
|
-
* The list of instance types for the node pool. When the node pool scales out,
|
|
1105
|
+
* 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.
|
|
1113
1106
|
*
|
|
1114
|
-
*
|
|
1107
|
+
* Valid values for the number of instance types: 1 to 10.
|
|
1115
1108
|
*
|
|
1116
|
-
*
|
|
1109
|
+
*
|
|
1110
|
+
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
1117
1111
|
*
|
|
1118
1112
|
* This parameter is required.
|
|
1119
1113
|
*/
|
|
@@ -1122,8 +1116,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1122
1116
|
* @remarks
|
|
1123
1117
|
* The billing method for public IP addresses. Valid values:
|
|
1124
1118
|
*
|
|
1125
|
-
* - PayByBandwidth:
|
|
1126
|
-
* - PayByTraffic:
|
|
1119
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1120
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1127
1121
|
*
|
|
1128
1122
|
* @example
|
|
1129
1123
|
* PayByTraffic
|
|
@@ -1131,7 +1125,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1131
1125
|
internetChargeType?: string;
|
|
1132
1126
|
/**
|
|
1133
1127
|
* @remarks
|
|
1134
|
-
* The maximum outbound public
|
|
1128
|
+
* The maximum outbound bandwidth for public IP addresses of nodes. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1135
1129
|
*
|
|
1136
1130
|
* @example
|
|
1137
1131
|
* 5
|
|
@@ -1139,9 +1133,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1139
1133
|
internetMaxBandwidthOut?: number;
|
|
1140
1134
|
/**
|
|
1141
1135
|
* @remarks
|
|
1142
|
-
* The name of the key pair for password-free logon. You must specify either this parameter or `login_password`.
|
|
1136
|
+
* The name of the key pair used for password-free logon. You must specify either this parameter or `login_password`.
|
|
1143
1137
|
*
|
|
1144
|
-
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1138
|
+
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1145
1139
|
*
|
|
1146
1140
|
* @example
|
|
1147
1141
|
* np-key-name
|
|
@@ -1149,7 +1143,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1149
1143
|
keyPair?: string;
|
|
1150
1144
|
/**
|
|
1151
1145
|
* @remarks
|
|
1152
|
-
* Specifies whether the
|
|
1146
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1153
1147
|
*
|
|
1154
1148
|
* - true: logs on as a non-root user (ecs-user).
|
|
1155
1149
|
*
|
|
@@ -1169,15 +1163,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1169
1163
|
loginPassword?: string;
|
|
1170
1164
|
/**
|
|
1171
1165
|
* @remarks
|
|
1172
|
-
* The
|
|
1166
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1173
1167
|
*
|
|
1174
|
-
* - `PRIORITY`:
|
|
1168
|
+
* - `PRIORITY`: scales ECS instances based on the vSwitches (VSwitchIds.N) that you specify. If ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1175
1169
|
*
|
|
1176
|
-
* - `COST_OPTIMIZED`:
|
|
1170
|
+
* - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order. When the scaling configuration specifies multiple instance types with the preemptible billing method, the system preferentially creates spot instances. You can use the `CompensateWithOnDemand` parameter to specify if it is to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages or other reasons.
|
|
1177
1171
|
*
|
|
1178
|
-
*
|
|
1172
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1179
1173
|
*
|
|
1180
|
-
* - `BALANCE`:
|
|
1174
|
+
* - `BALANCE`: evenly allocates ECS instances across the zones specified in the scaling group. If the zones become unbalanced due to inventory shortages or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
|
|
1181
1175
|
*
|
|
1182
1176
|
* Default value: `PRIORITY`.
|
|
1183
1177
|
*
|
|
@@ -1187,7 +1181,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1187
1181
|
multiAzPolicy?: string;
|
|
1188
1182
|
/**
|
|
1189
1183
|
* @remarks
|
|
1190
|
-
* The minimum number of pay-as-you-go instances required
|
|
1184
|
+
* 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.
|
|
1191
1185
|
*
|
|
1192
1186
|
* @example
|
|
1193
1187
|
* 0
|
|
@@ -1195,7 +1189,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1195
1189
|
onDemandBaseCapacity?: number;
|
|
1196
1190
|
/**
|
|
1197
1191
|
* @remarks
|
|
1198
|
-
* The percentage of pay-as-you-go instances among the
|
|
1192
|
+
* 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.
|
|
1199
1193
|
*
|
|
1200
1194
|
* @example
|
|
1201
1195
|
* 20
|
|
@@ -1203,10 +1197,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1203
1197
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1204
1198
|
/**
|
|
1205
1199
|
* @remarks
|
|
1206
|
-
* The subscription duration of nodes in the node pool. This parameter
|
|
1200
|
+
* The subscription duration of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1207
1201
|
*
|
|
1208
|
-
* -
|
|
1209
|
-
* -
|
|
1202
|
+
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1203
|
+
* - 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.
|
|
1210
1204
|
*
|
|
1211
1205
|
* @example
|
|
1212
1206
|
* 1
|
|
@@ -1214,10 +1208,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1214
1208
|
period?: number;
|
|
1215
1209
|
/**
|
|
1216
1210
|
* @remarks
|
|
1217
|
-
* The billing
|
|
1211
|
+
* The billing cycle of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1218
1212
|
*
|
|
1219
|
-
* - `Month`:
|
|
1220
|
-
* - `Week`:
|
|
1213
|
+
* - `Month`: month.
|
|
1214
|
+
* - `Week`: week.
|
|
1221
1215
|
*
|
|
1222
1216
|
* Default value: `Month`.
|
|
1223
1217
|
*
|
|
@@ -1245,17 +1239,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1245
1239
|
platform?: string;
|
|
1246
1240
|
/**
|
|
1247
1241
|
* @remarks
|
|
1248
|
-
* The private
|
|
1242
|
+
* The private pool configuration.
|
|
1249
1243
|
*/
|
|
1250
1244
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1251
1245
|
/**
|
|
1252
1246
|
* @remarks
|
|
1253
|
-
* The worker RAM role
|
|
1247
|
+
* The name of the worker RAM role.
|
|
1254
1248
|
*
|
|
1255
|
-
* * If left empty, the default worker RAM role created
|
|
1256
|
-
* * If specified, the RAM role must be a **
|
|
1249
|
+
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1250
|
+
* * 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-`.
|
|
1257
1251
|
*
|
|
1258
|
-
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22
|
|
1252
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 and later.
|
|
1259
1253
|
*
|
|
1260
1254
|
* @example
|
|
1261
1255
|
* example-role
|
|
@@ -1268,18 +1262,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1268
1262
|
rdsInstances?: string[];
|
|
1269
1263
|
/**
|
|
1270
1264
|
* @remarks
|
|
1271
|
-
* The resource pool and resource pool policy used
|
|
1272
|
-
* This parameter takes effect only when
|
|
1273
|
-
* This parameter cannot be
|
|
1265
|
+
* The resource pool and resource pool policy used for instance creation. Take note of the following items when you configure this parameter:
|
|
1266
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1267
|
+
* This parameter cannot be specified together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1274
1268
|
*/
|
|
1275
1269
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1276
1270
|
/**
|
|
1277
1271
|
* @remarks
|
|
1278
|
-
* The scaling group
|
|
1279
|
-
*
|
|
1280
|
-
* - `
|
|
1281
|
-
* - `recycle`: Swift pattern. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Stopped instances do not incur compute resource charges. Only storage charges apply, except for instances with local disks.
|
|
1282
|
-
*
|
|
1272
|
+
* The scaling group mode. Valid values:
|
|
1273
|
+
* - `release`: Standard mode. Instances are scaled by creating and releasing ECS instances based on the requested resource usage.
|
|
1274
|
+
* - `recycle`: Extreme mode. Instances are scaled by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, compute resources are not billed, and only storage fees are charged, except for instances with local disks.
|
|
1283
1275
|
* Default value: `release`.
|
|
1284
1276
|
*
|
|
1285
1277
|
* @example
|
|
@@ -1288,7 +1280,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1288
1280
|
scalingPolicy?: string;
|
|
1289
1281
|
/**
|
|
1290
1282
|
* @remarks
|
|
1291
|
-
* The security group ID of the node pool. Specify either this parameter or
|
|
1283
|
+
* The security group ID of the node pool. Specify either this parameter or security_group_ids. We recommend that you use security_group_ids.
|
|
1292
1284
|
*
|
|
1293
1285
|
* @example
|
|
1294
1286
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1298,16 +1290,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1298
1290
|
securityGroupId?: string;
|
|
1299
1291
|
/**
|
|
1300
1292
|
* @remarks
|
|
1301
|
-
* The list of security group IDs.
|
|
1293
|
+
* The list of security group IDs. Specify either this parameter or security_group_id. We recommend that you use security_group_ids. If both security_group_id and security_group_ids are specified, security_group_ids takes precedence.
|
|
1302
1294
|
*/
|
|
1303
1295
|
securityGroupIds?: string[];
|
|
1304
1296
|
/**
|
|
1305
1297
|
* @remarks
|
|
1306
1298
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1307
|
-
*
|
|
1308
|
-
* - `
|
|
1309
|
-
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1310
|
-
*
|
|
1299
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1300
|
+
* - `false`: Does not enable Alibaba Cloud OS security hardening.
|
|
1311
1301
|
* Default value: `false`.
|
|
1312
1302
|
*
|
|
1313
1303
|
* @example
|
|
@@ -1316,7 +1306,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1316
1306
|
securityHardeningOs?: boolean;
|
|
1317
1307
|
/**
|
|
1318
1308
|
* @remarks
|
|
1319
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1309
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs for classified protection compliance for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1320
1310
|
*
|
|
1321
1311
|
* @example
|
|
1322
1312
|
* false
|
|
@@ -1324,7 +1314,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1324
1314
|
socEnabled?: boolean;
|
|
1325
1315
|
/**
|
|
1326
1316
|
* @remarks
|
|
1327
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1317
|
+
* 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.
|
|
1328
1318
|
*
|
|
1329
1319
|
* @example
|
|
1330
1320
|
* 5
|
|
@@ -1332,10 +1322,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1332
1322
|
spotInstancePools?: number;
|
|
1333
1323
|
/**
|
|
1334
1324
|
* @remarks
|
|
1335
|
-
* Specifies whether to enable
|
|
1336
|
-
*
|
|
1337
|
-
* - `
|
|
1338
|
-
* - `false`: Disables supplementation of spot instances.
|
|
1325
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1326
|
+
* - `true`: Enables spot instance replenishment.
|
|
1327
|
+
* - `false`: Does not enable spot instance replenishment.
|
|
1339
1328
|
*
|
|
1340
1329
|
* @example
|
|
1341
1330
|
* false
|
|
@@ -1343,19 +1332,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1343
1332
|
spotInstanceRemedy?: boolean;
|
|
1344
1333
|
/**
|
|
1345
1334
|
* @remarks
|
|
1346
|
-
* The price range
|
|
1335
|
+
* The market price range configuration for a single spot instance type.
|
|
1347
1336
|
*/
|
|
1348
1337
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1349
1338
|
/**
|
|
1350
1339
|
* @remarks
|
|
1351
|
-
* The
|
|
1352
|
-
*
|
|
1353
|
-
* - `
|
|
1354
|
-
*
|
|
1355
|
-
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1356
|
-
*
|
|
1357
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1358
|
-
*
|
|
1340
|
+
* The spot instance strategy. Valid values:
|
|
1341
|
+
* - `NoSpot`: Non-spot instance.
|
|
1342
|
+
* - `SpotWithPriceLimit`: Sets a maximum price for spot instances.
|
|
1343
|
+
* - `SpotAsPriceGo`: The system automatically bids based on the current market price.
|
|
1359
1344
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1360
1345
|
*
|
|
1361
1346
|
* @example
|
|
@@ -1364,11 +1349,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1364
1349
|
spotStrategy?: string;
|
|
1365
1350
|
/**
|
|
1366
1351
|
* @remarks
|
|
1367
|
-
* Specifies whether to enable
|
|
1368
|
-
* - true:
|
|
1369
|
-
* - false:
|
|
1370
|
-
*
|
|
1371
|
-
* 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).
|
|
1352
|
+
* Specifies whether to enable performance burst for the node system disk. Valid values:
|
|
1353
|
+
* - true: Yes.
|
|
1354
|
+
* - false: No.
|
|
1355
|
+
* 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).
|
|
1372
1356
|
*
|
|
1373
1357
|
* @example
|
|
1374
1358
|
* true
|
|
@@ -1376,18 +1360,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1376
1360
|
systemDiskBurstingEnabled?: boolean;
|
|
1377
1361
|
/**
|
|
1378
1362
|
* @remarks
|
|
1379
|
-
* The
|
|
1363
|
+
* The categories of the system disk. If a higher-priority disk category is unavailable, the system automatically attempts to use the next priority disk category to create the system disk.
|
|
1380
1364
|
*/
|
|
1381
1365
|
systemDiskCategories?: string[];
|
|
1382
1366
|
/**
|
|
1383
1367
|
* @remarks
|
|
1384
|
-
* The
|
|
1385
|
-
* - `cloud_efficiency`:
|
|
1386
|
-
* - `cloud_ssd`:
|
|
1368
|
+
* The category of the node system disk. Valid values:
|
|
1369
|
+
* - `cloud_efficiency`: Ultra cloud disk.
|
|
1370
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1387
1371
|
* - `cloud_essd`: ESSD.
|
|
1388
1372
|
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1389
1373
|
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1390
|
-
*
|
|
1391
1374
|
* Default value: `cloud_efficiency`.
|
|
1392
1375
|
*
|
|
1393
1376
|
* @example
|
|
@@ -1396,7 +1379,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1396
1379
|
systemDiskCategory?: string;
|
|
1397
1380
|
/**
|
|
1398
1381
|
* @remarks
|
|
1399
|
-
* The encryption algorithm used
|
|
1382
|
+
* The encryption algorithm used for the system disk. Valid values: aes-256.
|
|
1400
1383
|
*
|
|
1401
1384
|
* @example
|
|
1402
1385
|
* aes-256
|
|
@@ -1404,11 +1387,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1404
1387
|
systemDiskEncryptAlgorithm?: string;
|
|
1405
1388
|
/**
|
|
1406
1389
|
* @remarks
|
|
1407
|
-
* Specifies whether to encrypt the system
|
|
1408
|
-
*
|
|
1409
|
-
* -
|
|
1410
|
-
*
|
|
1411
|
-
* - false: does not encrypt the system cloud disk.
|
|
1390
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1391
|
+
* - true: Encrypts the system disk.
|
|
1392
|
+
* - false: Does not encrypt the system disk.
|
|
1412
1393
|
*
|
|
1413
1394
|
* @example
|
|
1414
1395
|
* false
|
|
@@ -1416,7 +1397,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1416
1397
|
systemDiskEncrypted?: boolean;
|
|
1417
1398
|
/**
|
|
1418
1399
|
* @remarks
|
|
1419
|
-
* The KMS key
|
|
1400
|
+
* The ID of the KMS key used for the system disk.
|
|
1420
1401
|
*
|
|
1421
1402
|
* @example
|
|
1422
1403
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1424,11 +1405,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1424
1405
|
systemDiskKmsKeyId?: string;
|
|
1425
1406
|
/**
|
|
1426
1407
|
* @remarks
|
|
1427
|
-
* The performance level of the node system
|
|
1428
|
-
* - PL0:
|
|
1429
|
-
* - PL1:
|
|
1430
|
-
* - PL2:
|
|
1431
|
-
* - PL3:
|
|
1408
|
+
* The performance level of the node system disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1409
|
+
* - PL0: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1410
|
+
* - PL1: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1411
|
+
* - PL2: High concurrent I/O performance and stable read/write latency.
|
|
1412
|
+
* - PL3: Extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1432
1413
|
*
|
|
1433
1414
|
* @example
|
|
1434
1415
|
* PL1
|
|
@@ -1436,11 +1417,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1436
1417
|
systemDiskPerformanceLevel?: string;
|
|
1437
1418
|
/**
|
|
1438
1419
|
* @remarks
|
|
1439
|
-
* The provisioned read/write IOPS
|
|
1440
|
-
*
|
|
1441
|
-
* Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
1442
|
-
*
|
|
1443
|
-
* 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).
|
|
1420
|
+
* The provisioned read/write IOPS for the node system disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1421
|
+
* 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).
|
|
1444
1422
|
*
|
|
1445
1423
|
* @example
|
|
1446
1424
|
* 1000
|
|
@@ -1448,9 +1426,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1448
1426
|
systemDiskProvisionedIops?: number;
|
|
1449
1427
|
/**
|
|
1450
1428
|
* @remarks
|
|
1451
|
-
* The size of the node system
|
|
1452
|
-
*
|
|
1453
|
-
* Valid values: [20,2048\\].
|
|
1429
|
+
* The size of the node system disk. Unit: GiB. Valid values: 20 to 2048.
|
|
1454
1430
|
*
|
|
1455
1431
|
* @example
|
|
1456
1432
|
* 120
|
|
@@ -1458,7 +1434,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1458
1434
|
systemDiskSize?: number;
|
|
1459
1435
|
/**
|
|
1460
1436
|
* @remarks
|
|
1461
|
-
* The snapshot policy for the system
|
|
1437
|
+
* The snapshot policy for the system disk.
|
|
1462
1438
|
*
|
|
1463
1439
|
* @example
|
|
1464
1440
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1466,16 +1442,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1466
1442
|
systemDiskSnapshotPolicyId?: string;
|
|
1467
1443
|
/**
|
|
1468
1444
|
* @remarks
|
|
1469
|
-
*
|
|
1470
|
-
*
|
|
1471
|
-
* 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://".
|
|
1445
|
+
* Adds tags only to ECS instances. Tag keys must be unique and can be up to 128 characters in length. Neither tag keys nor tag values can start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1472
1446
|
*/
|
|
1473
1447
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1474
1448
|
/**
|
|
1475
1449
|
* @remarks
|
|
1476
|
-
* The list of vSwitch IDs. Valid values:
|
|
1477
|
-
*
|
|
1478
|
-
* > To ensure high availability, select vSwitches in different zones.
|
|
1450
|
+
* The list of vSwitch IDs. Valid values: 1 to 8.
|
|
1451
|
+
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1479
1452
|
*
|
|
1480
1453
|
* This parameter is required.
|
|
1481
1454
|
*/
|
|
@@ -1494,10 +1467,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1494
1467
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1495
1468
|
/**
|
|
1496
1469
|
* @remarks
|
|
1497
|
-
* Specifies whether to enable confidential computing
|
|
1498
|
-
*
|
|
1470
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1499
1471
|
* - true: Enables confidential computing.
|
|
1500
|
-
*
|
|
1501
1472
|
* - false: Does not enable confidential computing.
|
|
1502
1473
|
*
|
|
1503
1474
|
* @example
|
|
@@ -1518,7 +1489,7 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1518
1489
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1519
1490
|
/**
|
|
1520
1491
|
* @remarks
|
|
1521
|
-
* The
|
|
1492
|
+
* The auto mode configuration of the node pool.
|
|
1522
1493
|
*/
|
|
1523
1494
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1524
1495
|
/**
|
|
@@ -1545,9 +1516,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1545
1516
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1546
1517
|
/**
|
|
1547
1518
|
* @remarks
|
|
1548
|
-
* Specifies whether the pod network mode uses host network mode.
|
|
1549
|
-
* - `true`:
|
|
1550
|
-
* - `false`:
|
|
1519
|
+
* Specifies whether the pod network mode uses the host network mode. Valid values:
|
|
1520
|
+
* - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
1521
|
+
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1551
1522
|
*
|
|
1552
1523
|
* @example
|
|
1553
1524
|
* true
|
|
@@ -1557,17 +1528,17 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1557
1528
|
* @remarks
|
|
1558
1529
|
* **[Deprecated]**
|
|
1559
1530
|
*
|
|
1560
|
-
* The edge node pool
|
|
1531
|
+
* The configuration of the edge node pool.
|
|
1561
1532
|
*
|
|
1562
1533
|
* @deprecated
|
|
1563
1534
|
*/
|
|
1564
1535
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1565
1536
|
/**
|
|
1566
1537
|
* @remarks
|
|
1567
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
1538
|
+
* The network type of the edge node pool. This parameter takes effect only when `type` is set to `edge`. Valid values:
|
|
1568
1539
|
*
|
|
1569
|
-
* - `basic`:
|
|
1570
|
-
* - `private`:
|
|
1540
|
+
* - `basic`: Internet. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
|
|
1541
|
+
* - `private`: private network. Nodes in cloud node pool connect to the cloud network through Express Connect circuits, VPNs, or CEN, which provides higher cloud-edge communication quality and more effective security protection.
|
|
1571
1542
|
*
|
|
1572
1543
|
* @example
|
|
1573
1544
|
* basic
|
|
@@ -1575,9 +1546,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1575
1546
|
interconnectMode?: string;
|
|
1576
1547
|
/**
|
|
1577
1548
|
* @remarks
|
|
1578
|
-
* Specifies whether nodes in the edge node pool
|
|
1579
|
-
* - `true`:
|
|
1580
|
-
* - `false`:
|
|
1549
|
+
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool. Valid values:
|
|
1550
|
+
* - `true`: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
1551
|
+
* - `false`: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
1581
1552
|
*
|
|
1582
1553
|
* @example
|
|
1583
1554
|
* true
|
|
@@ -1585,19 +1556,17 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1585
1556
|
intranet?: boolean;
|
|
1586
1557
|
/**
|
|
1587
1558
|
* @remarks
|
|
1588
|
-
* The cluster
|
|
1559
|
+
* The cluster configurations.
|
|
1589
1560
|
*/
|
|
1590
1561
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1591
1562
|
/**
|
|
1592
1563
|
* @remarks
|
|
1593
|
-
* The
|
|
1564
|
+
* The configurations for the managed node pool feature.
|
|
1594
1565
|
*/
|
|
1595
1566
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1596
1567
|
/**
|
|
1597
1568
|
* @remarks
|
|
1598
|
-
* **[Deprecated]**
|
|
1599
|
-
*
|
|
1600
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1569
|
+
* **[Deprecated]** The maximum number of nodes that the edge node pool can accommodate.
|
|
1601
1570
|
*
|
|
1602
1571
|
* @example
|
|
1603
1572
|
* null
|