@alicloud/cs20151215 6.6.4 → 6.7.0
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 +220 -124
- package/dist/client.js +247 -124
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesRequest.d.ts +2 -2
- package/dist/models/AttachInstancesResponseBody.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +1 -1
- package/dist/models/AttachInstancesToNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ContainerdConfig.d.ts +22 -2
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +63 -0
- package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +6 -0
- package/dist/models/CreateAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/CreateAutoscalingConfigRequest.d.ts +77 -40
- package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +491 -284
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/CreateClusterRequest.d.ts +585 -353
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +5 -5
- package/dist/models/CreateTriggerResponseBody.d.ts +1 -1
- package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
- package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/DeleteAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterNodesRequest.d.ts +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterRequest.d.ts +26 -18
- package/dist/models/DeleteClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterResponseBody.d.ts +2 -2
- package/dist/models/DeleteClusterShrinkRequest.d.ts +12 -9
- package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceRequest.d.ts +7 -6
- package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
- package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonsRequest.d.ts +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +71 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +21 -18
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +243 -110
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +8 -4
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +49 -39
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterLogsResponse.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +464 -214
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +396 -233
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodesRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodesResponseBody.d.ts +5 -5
- package/dist/models/DescribeClusterResourcesRequest.d.ts +5 -1
- package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
- package/dist/models/DescribeClusterResourcesResponse.d.ts +51 -33
- package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +9 -9
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +2 -2
- package/dist/models/DescribeClustersForRegionRequest.d.ts +32 -16
- package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +85 -56
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +33 -17
- package/dist/models/DescribeClustersV1request.js.map +1 -1
- package/dist/models/DescribeClustersV1responseBody.d.ts +98 -72
- package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +6 -2
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +22 -15
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +53 -20
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +53 -29
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +2 -2
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +8 -8
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +11 -0
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyDetailsResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +235 -7
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
- package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -1
- package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +35 -31
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplateAttributeResponse.d.ts +2 -2
- package/dist/models/DescribeTemplatesResponseBody.d.ts +4 -4
- package/dist/models/DescribeTriggerResponse.d.ts +1 -1
- package/dist/models/DescribeUserPermissionResponse.d.ts +1 -1
- package/dist/models/DescribeUserQuotaResponseBody.d.ts +0 -35
- package/dist/models/DescribeUserQuotaResponseBody.js.map +1 -1
- package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +1 -1
- package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +9 -0
- package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
- package/dist/models/GrantPermissionsRequest.d.ts +28 -20
- package/dist/models/GrantPermissionsRequest.js.map +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
- package/dist/models/InstanceMetadataOptions.d.ts +17 -0
- package/dist/models/InstanceMetadataOptions.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +10 -0
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAddonsRequest.d.ts +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +75 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterChecksResponseBody.d.ts +2 -2
- package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -0
- package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
- package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +39 -0
- package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +9 -0
- package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +52 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/MigrateClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +58 -0
- package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +3 -0
- package/dist/models/ModifyAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +353 -216
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +186 -123
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +8 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigResponseBody.d.ts +2 -2
- package/dist/models/Nodepool.d.ts +277 -183
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
- package/dist/models/RemoveClusterNodesRequest.d.ts +0 -10
- package/dist/models/RemoveClusterNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolRequest.d.ts +1 -1
- package/dist/models/RepairClusterNodePoolResponseBody.d.ts +2 -2
- package/dist/models/RunClusterCheckRequest.d.ts +2 -2
- package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
- package/dist/models/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/ScaleOutClusterRequest.d.ts +8 -131
- package/dist/models/ScaleOutClusterRequest.js.map +1 -1
- package/dist/models/ScaleOutClusterResponseBody.d.ts +0 -21
- package/dist/models/ScaleOutClusterResponseBody.js.map +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +1 -1
- package/dist/models/UpgradeClusterAddonsRequest.d.ts +3 -3
- package/dist/models/UpgradeClusterAddonsResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterNodepoolResponseBody.d.ts +1 -1
- package/dist/models/UpgradeClusterRequest.d.ts +3 -3
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +251 -124
- package/src/models/AttachInstancesRequest.ts +2 -2
- package/src/models/AttachInstancesResponseBody.ts +1 -1
- package/src/models/AttachInstancesToNodePoolRequest.ts +1 -1
- package/src/models/AttachInstancesToNodePoolResponseBody.ts +1 -1
- package/src/models/ContainerdConfig.ts +22 -2
- package/src/models/CreateAutoRepairPolicyRequest.ts +63 -0
- package/src/models/CreateAutoRepairPolicyResponseBody.ts +6 -0
- package/src/models/CreateAutoscalingConfigRequest.ts +77 -40
- package/src/models/CreateClusterNodePoolRequest.ts +493 -284
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- package/src/models/CreateClusterRequest.ts +585 -353
- package/src/models/CreateClusterResponseBody.ts +5 -5
- package/src/models/CreateTriggerResponseBody.ts +1 -1
- package/src/models/DeleteAlertContactRequest.ts +1 -1
- package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
- package/src/models/DeleteAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/DeleteClusterNodepoolResponseBody.ts +2 -2
- package/src/models/DeleteClusterNodesRequest.ts +1 -1
- package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
- package/src/models/DeleteClusterRequest.ts +26 -18
- package/src/models/DeleteClusterResponseBody.ts +2 -2
- package/src/models/DeleteClusterShrinkRequest.ts +12 -9
- package/src/models/DeployPolicyInstanceRequest.ts +7 -6
- package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
- package/src/models/DescribeAddonsRequest.ts +1 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +71 -0
- package/src/models/DescribeClusterAttachScriptsRequest.ts +21 -18
- package/src/models/DescribeClusterDetailResponseBody.ts +243 -110
- package/src/models/DescribeClusterEventsRequest.ts +8 -4
- package/src/models/DescribeClusterEventsResponseBody.ts +49 -39
- package/src/models/DescribeClusterLogsResponse.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +466 -214
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +398 -233
- package/src/models/DescribeClusterNodesRequest.ts +1 -1
- package/src/models/DescribeClusterNodesResponseBody.ts +5 -5
- package/src/models/DescribeClusterResourcesRequest.ts +5 -1
- package/src/models/DescribeClusterResourcesResponse.ts +51 -33
- package/src/models/DescribeClusterTasksResponseBody.ts +9 -9
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +1 -1
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribeClusterVulsResponseBody.ts +2 -2
- package/src/models/DescribeClustersForRegionRequest.ts +32 -16
- package/src/models/DescribeClustersForRegionResponseBody.ts +85 -56
- package/src/models/DescribeClustersV1request.ts +33 -17
- package/src/models/DescribeClustersV1responseBody.ts +98 -72
- package/src/models/DescribeEventsForRegionRequest.ts +6 -2
- package/src/models/DescribeEventsForRegionResponseBody.ts +22 -15
- package/src/models/DescribeEventsRequest.ts +53 -20
- package/src/models/DescribeEventsResponseBody.ts +53 -29
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +2 -2
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +8 -8
- package/src/models/DescribeNodePoolVulsResponseBody.ts +11 -0
- package/src/models/DescribePolicyDetailsResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +235 -7
- package/src/models/DescribeResourcesDeleteProtectionResponse.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -1
- package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
- package/src/models/DescribeTaskInfoResponseBody.ts +35 -31
- package/src/models/DescribeTemplateAttributeResponse.ts +2 -2
- package/src/models/DescribeTemplatesResponseBody.ts +4 -4
- package/src/models/DescribeTriggerResponse.ts +1 -1
- package/src/models/DescribeUserPermissionResponse.ts +1 -1
- package/src/models/DescribeUserQuotaResponseBody.ts +0 -35
- package/src/models/GetClusterAddonInstanceResponseBody.ts +1 -1
- package/src/models/GetClusterInspectReportDetailResponseBody.ts +9 -0
- package/src/models/GrantPermissionsRequest.ts +28 -20
- package/src/models/InstallClusterAddonsRequest.ts +2 -2
- package/src/models/InstanceMetadataOptions.ts +17 -0
- package/src/models/KubeletConfig.ts +10 -0
- package/src/models/ListAddonsRequest.ts +1 -1
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +75 -0
- package/src/models/ListClusterChecksResponseBody.ts +2 -2
- package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -0
- package/src/models/ListClusterKubeconfigStatesResponseBody.ts +39 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +9 -0
- package/src/models/ListOperationPlansForRegionResponseBody.ts +52 -0
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +1 -1
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/MigrateClusterResponseBody.ts +3 -3
- package/src/models/ModifyAutoRepairPolicyRequest.ts +58 -0
- package/src/models/ModifyAutoRepairPolicyResponseBody.ts +3 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +356 -217
- package/src/models/ModifyClusterNodePoolResponseBody.ts +1 -1
- package/src/models/ModifyClusterRequest.ts +186 -123
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +8 -0
- package/src/models/ModifyNodePoolNodeConfigResponseBody.ts +2 -2
- package/src/models/Nodepool.ts +279 -183
- package/src/models/OpenAckServiceResponseBody.ts +1 -1
- package/src/models/RemoveClusterNodesRequest.ts +0 -10
- package/src/models/RemoveNodePoolNodesResponseBody.ts +1 -1
- package/src/models/RepairClusterNodePoolRequest.ts +1 -1
- package/src/models/RepairClusterNodePoolResponseBody.ts +2 -2
- package/src/models/RunClusterCheckRequest.ts +2 -2
- package/src/models/RunClusterCheckResponseBody.ts +2 -2
- package/src/models/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- package/src/models/Runtime.ts +2 -2
- package/src/models/ScaleOutClusterRequest.ts +8 -131
- package/src/models/ScaleOutClusterResponseBody.ts +0 -21
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +1 -1
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +1 -1
- package/src/models/UpgradeClusterAddonsRequest.ts +3 -3
- package/src/models/UpgradeClusterAddonsResponseBody.ts +1 -1
- package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
- package/src/models/UpgradeClusterNodepoolResponseBody.ts +1 -1
- package/src/models/UpgradeClusterRequest.ts +3 -3
- package/src/models/model.ts +3 -0
|
@@ -7,29 +7,31 @@ import { Taint } from "./Taint";
|
|
|
7
7
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* This parameter is deprecated. Use
|
|
10
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
11
|
+
* The peak bandwidth of the EIP.
|
|
11
12
|
*
|
|
12
|
-
* Valid values: 1
|
|
13
|
+
* Valid values: [1, 100]. Unit: Mbit/s.
|
|
13
14
|
*
|
|
14
15
|
* @example
|
|
15
|
-
*
|
|
16
|
+
* null
|
|
16
17
|
*
|
|
17
18
|
* @deprecated
|
|
18
19
|
*/
|
|
19
20
|
eipBandwidth?: number;
|
|
20
21
|
/**
|
|
21
22
|
* @remarks
|
|
22
|
-
* This parameter is deprecated. Use
|
|
23
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
24
|
+
*
|
|
25
|
+
* The billing method of the EIP. Valid values:
|
|
23
26
|
*
|
|
24
|
-
*
|
|
27
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
25
28
|
*
|
|
26
|
-
*
|
|
27
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
29
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
28
30
|
*
|
|
29
31
|
* Default value: `PayByBandwidth`.
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
|
-
*
|
|
34
|
+
* null
|
|
33
35
|
*
|
|
34
36
|
* @deprecated
|
|
35
37
|
*/
|
|
@@ -38,10 +40,11 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
38
40
|
* @remarks
|
|
39
41
|
* Specifies whether to enable auto scaling. Valid values:
|
|
40
42
|
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
+
* - `true`: Enables auto scaling for the node pool. If the resources in the cluster do not meet the scheduling requirements of application pods, ACK automatically scales the nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, instant elasticity is enabled by default. For clusters of a Kubernetes version earlier than 1.24, node autoscaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
44
|
+
*
|
|
45
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool to the value of \\`desired_size\\` and keeps the number of nodes unchanged.
|
|
43
46
|
*
|
|
44
|
-
* If
|
|
47
|
+
* If this parameter is set to false, other parameters in `auto_scaling` do not take effect.
|
|
45
48
|
*
|
|
46
49
|
* Default value: `false`.
|
|
47
50
|
*
|
|
@@ -51,24 +54,25 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
51
54
|
enable?: boolean;
|
|
52
55
|
/**
|
|
53
56
|
* @remarks
|
|
54
|
-
* This parameter is deprecated. Use
|
|
57
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
55
58
|
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
59
|
+
* - `true`: associates an EIP.
|
|
60
|
+
*
|
|
61
|
+
* - `false`: does not associate an EIP.
|
|
58
62
|
*
|
|
59
63
|
* Default value: `false`.
|
|
60
64
|
*
|
|
61
65
|
* @example
|
|
62
|
-
*
|
|
66
|
+
* null
|
|
63
67
|
*
|
|
64
68
|
* @deprecated
|
|
65
69
|
*/
|
|
66
70
|
isBondEip?: boolean;
|
|
67
71
|
/**
|
|
68
72
|
* @remarks
|
|
69
|
-
* The maximum number of
|
|
73
|
+
* The maximum number of instances that can be created in the node pool. This parameter does not include existing instances. This parameter takes effect only when `enable=true`.
|
|
70
74
|
*
|
|
71
|
-
*
|
|
75
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
72
76
|
*
|
|
73
77
|
* @example
|
|
74
78
|
* 10
|
|
@@ -76,15 +80,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
76
80
|
maxInstances?: number;
|
|
77
81
|
/**
|
|
78
82
|
* @remarks
|
|
79
|
-
* The minimum number of
|
|
83
|
+
* The minimum number of instances that can be created in the node pool. This parameter does not include existing instances. This parameter takes effect only when `enable=true`.
|
|
80
84
|
*
|
|
81
|
-
*
|
|
85
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
82
86
|
*
|
|
87
|
+
* > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
|
|
83
88
|
* >
|
|
84
|
-
*
|
|
85
|
-
* * When the minimum number of instances is greater than 0 and a scaling group is set up, ECS instances are automatically created based on the minimum number.
|
|
86
|
-
*
|
|
87
|
-
* * We recommend that the value of max_instances is equal to or larger than the current number of nodes in the node pool. If the value of max_instances is less than the current number of nodes in the node pool, the node pool will be scaled in after you enable auto scaling for the node pool.
|
|
89
|
+
* > - Set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, a scale-in event is triggered after auto scaling is enabled.
|
|
88
90
|
*
|
|
89
91
|
* @example
|
|
90
92
|
* 2
|
|
@@ -92,12 +94,15 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
92
94
|
minInstances?: number;
|
|
93
95
|
/**
|
|
94
96
|
* @remarks
|
|
95
|
-
* The
|
|
97
|
+
* The type of auto scaling. This parameter is specified based on the instance type. Valid values:
|
|
96
98
|
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
99
|
+
* - `cpu`: regular instance.
|
|
100
|
+
*
|
|
101
|
+
* - `gpu`: GPU-accelerated instance.
|
|
102
|
+
*
|
|
103
|
+
* - `gpushare`: shared GPU-accelerated instance.
|
|
104
|
+
*
|
|
105
|
+
* - `spot`: spot instance.
|
|
101
106
|
*
|
|
102
107
|
* Default value: `cpu`.
|
|
103
108
|
*
|
|
@@ -121,10 +126,11 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
121
126
|
export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
122
127
|
/**
|
|
123
128
|
* @remarks
|
|
124
|
-
* Specifies whether to install
|
|
129
|
+
* Specifies whether to install Cloud Monitor on the ECS nodes. After Cloud Monitor is installed, you can view the monitoring information of the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
|
|
130
|
+
*
|
|
131
|
+
* - `true`: installs Cloud Monitor on ECS nodes.
|
|
125
132
|
*
|
|
126
|
-
*
|
|
127
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
133
|
+
* - `false`: does not install Cloud Monitor on ECS nodes.
|
|
128
134
|
*
|
|
129
135
|
* Default value: `false`.
|
|
130
136
|
*
|
|
@@ -134,10 +140,11 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
134
140
|
cmsEnabled?: boolean;
|
|
135
141
|
/**
|
|
136
142
|
* @remarks
|
|
137
|
-
* The CPU management policy of
|
|
143
|
+
* The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
138
144
|
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
145
|
+
* - `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
146
|
+
*
|
|
147
|
+
* - `none`: indicates that the default CPU affinity is used.
|
|
141
148
|
*
|
|
142
149
|
* Default value: `none`.
|
|
143
150
|
*
|
|
@@ -147,16 +154,28 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
147
154
|
cpuPolicy?: string;
|
|
148
155
|
/**
|
|
149
156
|
* @remarks
|
|
150
|
-
* The labels that
|
|
157
|
+
* The labels that you want to add to the nodes. The following rules apply:
|
|
158
|
+
*
|
|
159
|
+
* - A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
151
160
|
*
|
|
152
|
-
*
|
|
153
|
-
* * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
161
|
+
* - The key must be unique and can be up to 64 characters in length. The value can be empty and can be up to 128 characters in length. The key and the value cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
154
162
|
*/
|
|
155
163
|
labels?: Tag[];
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The custom node name parameter. A node name consists of three parts: a prefix, the node IP address, and a suffix.
|
|
167
|
+
*
|
|
168
|
+
* The prefix and suffix can contain one or more parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or a digit. The node IP address is the complete private IP address of the node.
|
|
169
|
+
*
|
|
170
|
+
* The parameter consists of four parts that are separated by commas. For example, if you pass the "customized,aliyun,ip,com" string (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is aliyun.192.168.xxx.xxx.com.
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* customized,aliyun,ip,com
|
|
174
|
+
*/
|
|
156
175
|
nodeNameMode?: string;
|
|
157
176
|
/**
|
|
158
177
|
* @remarks
|
|
159
|
-
*
|
|
178
|
+
* The pre-customized instance data. Before a node is added to the cluster, the specified pre-customized instance data script is run. For more information, see [User data](https://help.aliyun.com/document_detail/49121.html).
|
|
160
179
|
*
|
|
161
180
|
* @example
|
|
162
181
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -164,16 +183,18 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
164
183
|
preUserData?: string;
|
|
165
184
|
/**
|
|
166
185
|
* @remarks
|
|
167
|
-
* The name of the container runtime.
|
|
186
|
+
* The name of the container runtime. ACK supports the following three container runtimes.
|
|
187
|
+
*
|
|
188
|
+
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
189
|
+
*
|
|
190
|
+
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 and earlier.
|
|
168
191
|
*
|
|
169
|
-
*
|
|
170
|
-
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.31 and earlier.
|
|
171
|
-
* * docker: discontinued. The Docker runtime supports Kubernetes 1.22 and earlier.
|
|
192
|
+
* - docker: This runtime is no longer maintained. It is supported by clusters of Kubernetes 1.22 and earlier.
|
|
172
193
|
*
|
|
173
194
|
* Default value: containerd.
|
|
174
195
|
*
|
|
175
196
|
* @example
|
|
176
|
-
*
|
|
197
|
+
* containerd
|
|
177
198
|
*/
|
|
178
199
|
runtime?: string;
|
|
179
200
|
/**
|
|
@@ -181,20 +202,21 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
181
202
|
* The version of the container runtime.
|
|
182
203
|
*
|
|
183
204
|
* @example
|
|
184
|
-
*
|
|
205
|
+
* 1.6.38
|
|
185
206
|
*/
|
|
186
207
|
runtimeVersion?: string;
|
|
187
208
|
/**
|
|
188
209
|
* @remarks
|
|
189
|
-
* The
|
|
210
|
+
* The node taint configurations.
|
|
190
211
|
*/
|
|
191
212
|
taints?: Taint[];
|
|
192
213
|
/**
|
|
193
214
|
* @remarks
|
|
194
|
-
* Specifies whether the nodes are unschedulable
|
|
215
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
195
216
|
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
217
|
+
* - true: The nodes are unschedulable.
|
|
218
|
+
*
|
|
219
|
+
* - false: The nodes are schedulable.
|
|
198
220
|
*
|
|
199
221
|
* @example
|
|
200
222
|
* false
|
|
@@ -202,7 +224,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
202
224
|
unschedulable?: boolean;
|
|
203
225
|
/**
|
|
204
226
|
* @remarks
|
|
205
|
-
* The user data
|
|
227
|
+
* The instance user data. After a node is added to the cluster, the specified user data script is run. For more information, see [User data](https://help.aliyun.com/document_detail/49121.html).
|
|
206
228
|
*
|
|
207
229
|
* @example
|
|
208
230
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -220,18 +242,28 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
220
242
|
});
|
|
221
243
|
}
|
|
222
244
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
245
|
+
/**
|
|
246
|
+
* @remarks
|
|
247
|
+
* Specifies whether manual approval is required for node repair.
|
|
248
|
+
*/
|
|
223
249
|
approvalRequired?: boolean;
|
|
224
250
|
/**
|
|
251
|
+
* @remarks
|
|
252
|
+
* The ID of the auto repair policy.
|
|
253
|
+
*
|
|
225
254
|
* @example
|
|
226
255
|
* r-xxxxxxxxxx
|
|
227
256
|
*/
|
|
228
257
|
autoRepairPolicyId?: string;
|
|
229
258
|
/**
|
|
230
259
|
* @remarks
|
|
231
|
-
* Specifies whether
|
|
260
|
+
* Specifies whether to allow node restart. This parameter takes effect only when auto_repair is set to `true`. Valid values:
|
|
261
|
+
*
|
|
262
|
+
* - `true`: allows node restart.
|
|
232
263
|
*
|
|
233
|
-
*
|
|
234
|
-
*
|
|
264
|
+
* - `false`: disallows node restart.
|
|
265
|
+
*
|
|
266
|
+
* Default value: `true`
|
|
235
267
|
*
|
|
236
268
|
* @example
|
|
237
269
|
* true
|
|
@@ -251,10 +283,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
251
283
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
252
284
|
/**
|
|
253
285
|
* @remarks
|
|
254
|
-
* Specifies whether
|
|
286
|
+
* Specifies whether to allow auto kubelet upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
287
|
+
*
|
|
288
|
+
* - `true`: allows auto kubelet upgrade.
|
|
255
289
|
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
290
|
+
* - `false`: disallows auto kubelet upgrade.
|
|
291
|
+
*
|
|
292
|
+
* Default value: `true`
|
|
258
293
|
*
|
|
259
294
|
* @example
|
|
260
295
|
* true
|
|
@@ -262,10 +297,11 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
262
297
|
autoUpgradeKubelet?: boolean;
|
|
263
298
|
/**
|
|
264
299
|
* @remarks
|
|
265
|
-
* Specifies whether
|
|
300
|
+
* Specifies whether to allow auto operating system upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
301
|
+
*
|
|
302
|
+
* - `true`: allows auto operating system upgrade.
|
|
266
303
|
*
|
|
267
|
-
*
|
|
268
|
-
* * `false`: no.
|
|
304
|
+
* - `false`: disallows auto operating system upgrade.
|
|
269
305
|
*
|
|
270
306
|
* Default value: `false`.
|
|
271
307
|
*
|
|
@@ -275,12 +311,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
275
311
|
autoUpgradeOs?: boolean;
|
|
276
312
|
/**
|
|
277
313
|
* @remarks
|
|
278
|
-
* Specifies whether
|
|
314
|
+
* Specifies whether to allow auto runtime upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
279
315
|
*
|
|
280
|
-
*
|
|
281
|
-
* * `false`: no.
|
|
316
|
+
* - `true`: allows auto runtime upgrade.
|
|
282
317
|
*
|
|
283
|
-
*
|
|
318
|
+
* - `false`: disallows auto runtime upgrade.
|
|
319
|
+
*
|
|
320
|
+
* Default value: `true`.
|
|
284
321
|
*
|
|
285
322
|
* @example
|
|
286
323
|
* false
|
|
@@ -298,13 +335,25 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
298
335
|
});
|
|
299
336
|
}
|
|
300
337
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
338
|
+
/**
|
|
339
|
+
* @remarks
|
|
340
|
+
* The packages that should be excluded during vulnerability fixing.
|
|
341
|
+
*
|
|
342
|
+
* Default value: `kernel`.
|
|
343
|
+
*
|
|
344
|
+
* @example
|
|
345
|
+
* kernel
|
|
346
|
+
*/
|
|
301
347
|
excludePackages?: string;
|
|
302
348
|
/**
|
|
303
349
|
* @remarks
|
|
304
|
-
* Specifies whether
|
|
350
|
+
* Specifies whether to allow node restart. This parameter takes effect only when auto_vul_fix is set to `true`. Valid values:
|
|
351
|
+
*
|
|
352
|
+
* - `true`: allows node restart.
|
|
353
|
+
*
|
|
354
|
+
* - `false`: disallows node restart.
|
|
305
355
|
*
|
|
306
|
-
*
|
|
307
|
-
* * `false`: no.
|
|
356
|
+
* Default value: `true`
|
|
308
357
|
*
|
|
309
358
|
* @example
|
|
310
359
|
* true
|
|
@@ -312,13 +361,15 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
312
361
|
restartNode?: boolean;
|
|
313
362
|
/**
|
|
314
363
|
* @remarks
|
|
315
|
-
* The
|
|
364
|
+
* The vulnerability levels that are allowed to be automatically fixed. The value is a comma-separated list. Example: `asap,later`. Supported vulnerability levels:
|
|
316
365
|
*
|
|
317
|
-
*
|
|
318
|
-
* * `later`: medium.
|
|
319
|
-
* * `nntf`: low.
|
|
366
|
+
* - `asap`: high
|
|
320
367
|
*
|
|
321
|
-
*
|
|
368
|
+
* - `later`: medium
|
|
369
|
+
*
|
|
370
|
+
* - `nntf`: low
|
|
371
|
+
*
|
|
372
|
+
* Default value: `asap`.
|
|
322
373
|
*
|
|
323
374
|
* @example
|
|
324
375
|
* asap,nntf
|
|
@@ -338,12 +389,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
338
389
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
339
390
|
/**
|
|
340
391
|
* @remarks
|
|
341
|
-
* This parameter is deprecated. Use the
|
|
392
|
+
* This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
|
|
342
393
|
*
|
|
343
|
-
* Specifies whether to enable auto upgrade
|
|
394
|
+
* Specifies whether to enable auto upgrade:
|
|
344
395
|
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
396
|
+
* - true: enables auto upgrade.
|
|
397
|
+
*
|
|
398
|
+
* - false: disables auto upgrade.
|
|
347
399
|
*
|
|
348
400
|
* Default value: `true`.
|
|
349
401
|
*
|
|
@@ -355,9 +407,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
355
407
|
autoUpgrade?: boolean;
|
|
356
408
|
/**
|
|
357
409
|
* @remarks
|
|
358
|
-
* The maximum number of nodes
|
|
410
|
+
* The maximum number of unavailable nodes.
|
|
359
411
|
*
|
|
360
|
-
* Valid values: 1
|
|
412
|
+
* Valid values: [1, 1000]
|
|
361
413
|
*
|
|
362
414
|
* Default value: 1.
|
|
363
415
|
*
|
|
@@ -367,11 +419,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
367
419
|
maxUnavailable?: number;
|
|
368
420
|
/**
|
|
369
421
|
* @remarks
|
|
370
|
-
* The number of
|
|
422
|
+
* The number of extra nodes. You can specify only one of surge and `surge_percentage`.
|
|
371
423
|
*
|
|
372
|
-
*
|
|
424
|
+
* Nodes may become unavailable during an upgrade. You can create extra nodes to ensure service continuity.
|
|
373
425
|
*
|
|
374
|
-
* >
|
|
426
|
+
* > The number of extra nodes must not exceed the current number of nodes.
|
|
375
427
|
*
|
|
376
428
|
* @example
|
|
377
429
|
* 5
|
|
@@ -379,9 +431,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
379
431
|
surge?: number;
|
|
380
432
|
/**
|
|
381
433
|
* @remarks
|
|
382
|
-
* The percentage of
|
|
434
|
+
* The percentage of extra nodes. You can specify only one of surge and `surge_percentage`.
|
|
383
435
|
*
|
|
384
|
-
*
|
|
436
|
+
* Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if you set the percentage of extra nodes to 50% and the number of existing nodes is 6, three extra nodes are created.
|
|
385
437
|
*
|
|
386
438
|
* @example
|
|
387
439
|
* 0
|
|
@@ -399,14 +451,16 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
399
451
|
});
|
|
400
452
|
}
|
|
401
453
|
export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
454
|
+
autoFaultDiagnosis?: boolean;
|
|
402
455
|
/**
|
|
403
456
|
* @remarks
|
|
404
|
-
* Specifies whether to enable auto node repair. This parameter takes effect only
|
|
457
|
+
* Specifies whether to enable auto node repair. This parameter takes effect only when enable is set to `true`.
|
|
405
458
|
*
|
|
406
|
-
*
|
|
407
|
-
* * `false`: disables auto repair.
|
|
459
|
+
* - `true`: Auto repair is enabled.
|
|
408
460
|
*
|
|
409
|
-
*
|
|
461
|
+
* - `false`: Auto repair is disabled.
|
|
462
|
+
*
|
|
463
|
+
* Default value: `true`
|
|
410
464
|
*
|
|
411
465
|
* @example
|
|
412
466
|
* true
|
|
@@ -419,10 +473,13 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
419
473
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
420
474
|
/**
|
|
421
475
|
* @remarks
|
|
422
|
-
* Specifies whether to enable auto upgrade.
|
|
476
|
+
* Specifies whether to enable auto node upgrade. This parameter takes effect only when enable is set to `true`.
|
|
477
|
+
*
|
|
478
|
+
* - `true`: enables auto upgrade.
|
|
423
479
|
*
|
|
424
|
-
*
|
|
425
|
-
*
|
|
480
|
+
* - `false`: disables auto upgrade.
|
|
481
|
+
*
|
|
482
|
+
* Default value: `true`
|
|
426
483
|
*
|
|
427
484
|
* @example
|
|
428
485
|
* true
|
|
@@ -435,10 +492,13 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
435
492
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
436
493
|
/**
|
|
437
494
|
* @remarks
|
|
438
|
-
* Specifies whether
|
|
495
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when enable is set to `true`.
|
|
496
|
+
*
|
|
497
|
+
* - `true`: allows automatic CVE fixing.
|
|
439
498
|
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
499
|
+
* - `false`: disallows automatic CVE fixing.
|
|
500
|
+
*
|
|
501
|
+
* Default value: `true`.
|
|
442
502
|
*
|
|
443
503
|
* @example
|
|
444
504
|
* true
|
|
@@ -446,15 +506,16 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
446
506
|
autoVulFix?: boolean;
|
|
447
507
|
/**
|
|
448
508
|
* @remarks
|
|
449
|
-
* The
|
|
509
|
+
* The policy for automatically fixing CVE vulnerabilities.
|
|
450
510
|
*/
|
|
451
511
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
452
512
|
/**
|
|
453
513
|
* @remarks
|
|
454
|
-
* Specifies whether to enable the managed node pool
|
|
514
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
455
515
|
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
516
|
+
* - `true`: Enables the managed node pool.
|
|
517
|
+
*
|
|
518
|
+
* - `false`: Disables the managed node pool. Other related configurations are ignored.
|
|
458
519
|
*
|
|
459
520
|
* Default value: `false`.
|
|
460
521
|
*
|
|
@@ -464,9 +525,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
464
525
|
enable?: boolean;
|
|
465
526
|
/**
|
|
466
527
|
* @remarks
|
|
467
|
-
* This parameter is deprecated. Use the
|
|
528
|
+
* This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
|
|
468
529
|
*
|
|
469
|
-
* The
|
|
530
|
+
* The auto upgrade configurations. This parameter takes effect only when enable is set to `true`.
|
|
470
531
|
*
|
|
471
532
|
* @deprecated
|
|
472
533
|
*/
|
|
@@ -495,9 +556,9 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
495
556
|
name?: string;
|
|
496
557
|
/**
|
|
497
558
|
* @remarks
|
|
498
|
-
* The ID of the resource group
|
|
559
|
+
* The ID of the resource group for the node pool. Instances created in the node pool belong to this resource group.
|
|
499
560
|
*
|
|
500
|
-
*
|
|
561
|
+
* A resource can belong to only one resource group. You can use resource groups to categorize resources by project, application, or organization.
|
|
501
562
|
*
|
|
502
563
|
* @example
|
|
503
564
|
* rg-acfmyvw3wjm****
|
|
@@ -517,7 +578,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
517
578
|
export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
518
579
|
/**
|
|
519
580
|
* @remarks
|
|
520
|
-
* The private node pool
|
|
581
|
+
* The ID of the private node pool. If `match_criteria` is set to `Target`, you must specify the ID of the private pool.
|
|
521
582
|
*
|
|
522
583
|
* @example
|
|
523
584
|
* eap-bp67acfmxazb4****
|
|
@@ -525,11 +586,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
525
586
|
id?: string;
|
|
526
587
|
/**
|
|
527
588
|
* @remarks
|
|
528
|
-
* The type of private node pool. This parameter specifies the
|
|
589
|
+
* The type of the private node pool. This parameter specifies the private pool capacity option for instance startup. After an elastic assurance service or a capacity reservation service takes effect, it generates a private pool of capacity for instance startup. Valid values:
|
|
590
|
+
*
|
|
591
|
+
* - `Open`: Open mode. The system automatically matches the capacity of private pools in Open mode. If no matching private pool is found, the instance is started using public pool resources.
|
|
529
592
|
*
|
|
530
|
-
*
|
|
531
|
-
*
|
|
532
|
-
*
|
|
593
|
+
* - `Target`: Specified mode. The instance is started using the capacity of a specified private pool. If the capacity of the specified private pool is unavailable, the instance fails to be started.
|
|
594
|
+
*
|
|
595
|
+
* - `None`: The instance is started without using the capacity of a private pool.
|
|
533
596
|
*
|
|
534
597
|
* @example
|
|
535
598
|
* Open
|
|
@@ -547,8 +610,19 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
547
610
|
});
|
|
548
611
|
}
|
|
549
612
|
export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
613
|
+
/**
|
|
614
|
+
* @remarks
|
|
615
|
+
* A list of private pool IDs. The IDs of elastic assurance services or capacity reservation services. You can specify only the IDs of private pools in Target mode. You can specify 1 to 20 IDs.
|
|
616
|
+
*/
|
|
550
617
|
privatePoolIds?: string[];
|
|
551
618
|
/**
|
|
619
|
+
* @remarks
|
|
620
|
+
* The resource pool policy that is used when you create an instance. Resource pools include private pools that are generated after elastic assurance services or capacity reservation services take effect, and public pools. You can select a resource pool when you start an instance. Valid values:
|
|
621
|
+
* PrivatePoolFirst: Private pool first. If you select this policy and specify resouce_pool_options.private_pool_ids, the specified private pool is used first. If you do not specify a private pool or the capacity of the specified private pool is insufficient, the system automatically matches a private pool in Open mode. If no matching private pool is found, a public pool is used to create the instance.
|
|
622
|
+
* PrivatePoolOnly: Private pool only. If you select this policy, you must specify resouce_pool_options.private_pool_ids. If the capacity of the specified private pool is insufficient, the instance fails to be started.
|
|
623
|
+
* None: No resource pool policy is used.
|
|
624
|
+
* Default value: None.
|
|
625
|
+
*
|
|
552
626
|
* @example
|
|
553
627
|
* PrivatePoolFirst
|
|
554
628
|
*/
|
|
@@ -567,7 +641,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
567
641
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
568
642
|
/**
|
|
569
643
|
* @remarks
|
|
570
|
-
* The instance type of
|
|
644
|
+
* The instance type of the spot instance.
|
|
571
645
|
*
|
|
572
646
|
* @example
|
|
573
647
|
* ecs.c6.large
|
|
@@ -575,7 +649,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
575
649
|
instanceType?: string;
|
|
576
650
|
/**
|
|
577
651
|
* @remarks
|
|
578
|
-
* The price
|
|
652
|
+
* The maximum price of a single instance.
|
|
653
|
+
*
|
|
654
|
+
* <props="china">
|
|
655
|
+
*
|
|
656
|
+
* Unit: CNY/hour.
|
|
657
|
+
*
|
|
658
|
+
*
|
|
659
|
+
*
|
|
660
|
+
* <props="intl">
|
|
579
661
|
*
|
|
580
662
|
* Unit: USD/hour.
|
|
581
663
|
*
|
|
@@ -597,10 +679,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
597
679
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
598
680
|
/**
|
|
599
681
|
* @remarks
|
|
600
|
-
* Specifies whether to enable auto-renewal for the nodes
|
|
682
|
+
* Specifies whether to enable auto-renewal for the nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
601
683
|
*
|
|
602
|
-
*
|
|
603
|
-
*
|
|
684
|
+
* - `true`: Auto-renewal is enabled.
|
|
685
|
+
*
|
|
686
|
+
* - `false`: Auto-renewal is disabled.
|
|
604
687
|
*
|
|
605
688
|
* Default value: `false`.
|
|
606
689
|
*
|
|
@@ -612,8 +695,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
612
695
|
* @remarks
|
|
613
696
|
* The auto-renewal period. Valid values:
|
|
614
697
|
*
|
|
615
|
-
*
|
|
616
|
-
*
|
|
698
|
+
* - If PeriodUnit=Week, valid values are 1, 2, and 3.
|
|
699
|
+
*
|
|
700
|
+
* - If PeriodUnit=Month, valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
617
701
|
*
|
|
618
702
|
* Default value: 1.
|
|
619
703
|
*
|
|
@@ -623,10 +707,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
623
707
|
autoRenewPeriod?: number;
|
|
624
708
|
/**
|
|
625
709
|
* @remarks
|
|
626
|
-
*
|
|
710
|
+
* If `multi_az_policy` is set to `COST_OPTIMIZED`, this parameter specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to reasons such as price and stock. Valid values:
|
|
627
711
|
*
|
|
628
|
-
*
|
|
629
|
-
*
|
|
712
|
+
* - `true`: allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
713
|
+
*
|
|
714
|
+
* - `false`: does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
630
715
|
*
|
|
631
716
|
* @example
|
|
632
717
|
* true
|
|
@@ -634,10 +719,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
634
719
|
compensateWithOnDemand?: boolean;
|
|
635
720
|
/**
|
|
636
721
|
* @remarks
|
|
637
|
-
* The
|
|
722
|
+
* The data disk configurations of the node. You can specify 0 to 10 data disks.
|
|
638
723
|
*/
|
|
639
724
|
dataDisks?: DataDisk[];
|
|
640
725
|
/**
|
|
726
|
+
* @remarks
|
|
727
|
+
* The ID of the deployment set to which the ECS instances in the node pool belong. This parameter is valid only for incremental nodes. The deployment sets of existing nodes are not changed.
|
|
728
|
+
*
|
|
641
729
|
* @example
|
|
642
730
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
643
731
|
*/
|
|
@@ -646,48 +734,62 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
646
734
|
* @remarks
|
|
647
735
|
* The expected number of nodes in the node pool.
|
|
648
736
|
*
|
|
649
|
-
* The
|
|
737
|
+
* The total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure that the cluster components run as expected. You can adjust the expected number of nodes to scale in or scale out the node pool.
|
|
650
738
|
*
|
|
651
|
-
* If you do not
|
|
739
|
+
* If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
|
|
652
740
|
*
|
|
653
741
|
* @example
|
|
654
742
|
* 2
|
|
655
743
|
*/
|
|
656
744
|
desiredSize?: number;
|
|
745
|
+
/**
|
|
746
|
+
* @remarks
|
|
747
|
+
* The block device initialization configuration.
|
|
748
|
+
*/
|
|
657
749
|
diskInit?: DiskInit[];
|
|
658
750
|
/**
|
|
659
751
|
* @remarks
|
|
660
|
-
* The custom image
|
|
752
|
+
* The ID of the custom image. You can call `DescribeKubernetesVersionMetadata` to query the images that are supported by the system. By default, the latest image is used.
|
|
661
753
|
*
|
|
662
754
|
* @example
|
|
663
|
-
*
|
|
755
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
664
756
|
*/
|
|
665
757
|
imageId?: string;
|
|
666
758
|
/**
|
|
667
759
|
* @remarks
|
|
668
|
-
* The
|
|
760
|
+
* The distribution of the operating system. We recommend that you use this parameter to specify the operating system of the nodes. Valid values:
|
|
761
|
+
*
|
|
762
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
763
|
+
*
|
|
764
|
+
* - `AliyunLinuxSecurity`: Alinux2 image with UEFI.
|
|
765
|
+
*
|
|
766
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
767
|
+
*
|
|
768
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
769
|
+
*
|
|
770
|
+
* - `AliyunLinux3Security`: Alinux3 image with UEFI.
|
|
771
|
+
*
|
|
772
|
+
* - `CentOS`: CentOS image.
|
|
773
|
+
*
|
|
774
|
+
* - `Windows`: Windows image.
|
|
669
775
|
*
|
|
670
|
-
*
|
|
671
|
-
*
|
|
672
|
-
*
|
|
673
|
-
*
|
|
674
|
-
*
|
|
675
|
-
* * `CentOS`: CentOS.
|
|
676
|
-
* * `Windows`: Windows.
|
|
677
|
-
* * `WindowsCore`: Windows Core.
|
|
678
|
-
* * `ContainerOS`: ContainerOS.
|
|
679
|
-
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
|
|
776
|
+
* - `WindowsCore`: WindowsCore image.
|
|
777
|
+
*
|
|
778
|
+
* - `ContainerOS`: container-optimized image.
|
|
779
|
+
*
|
|
780
|
+
* - `AliyunLinux3ContainerOptimized`: container-optimized Alinux3 image.
|
|
680
781
|
*
|
|
681
782
|
* @example
|
|
682
|
-
*
|
|
783
|
+
* AliyunLinux3
|
|
683
784
|
*/
|
|
684
785
|
imageType?: string;
|
|
685
786
|
/**
|
|
686
787
|
* @remarks
|
|
687
|
-
* The billing method of nodes in the node pool. Valid values:
|
|
788
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
789
|
+
*
|
|
790
|
+
* - `PrePaid`: subscription
|
|
688
791
|
*
|
|
689
|
-
*
|
|
690
|
-
* * `PostPaid`: pay-as-you-go.
|
|
792
|
+
* - `PostPaid`: pay-as-you-go
|
|
691
793
|
*
|
|
692
794
|
* Default value: `PostPaid`.
|
|
693
795
|
*
|
|
@@ -697,22 +799,23 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
697
799
|
instanceChargeType?: string;
|
|
698
800
|
/**
|
|
699
801
|
* @remarks
|
|
700
|
-
*
|
|
802
|
+
* The instance attribute configurations.
|
|
701
803
|
*/
|
|
702
804
|
instancePatterns?: InstancePatterns[];
|
|
703
805
|
/**
|
|
704
806
|
* @remarks
|
|
705
|
-
*
|
|
807
|
+
* A list of node instance types. You can specify multiple instance types as alternatives. When a node is created, the system attempts to purchase the instance types in the order they are specified until one is successfully purchased. The final instance type that is purchased may vary depending on the stock.
|
|
706
808
|
*
|
|
707
809
|
* You can specify 1 to 10 instance types.
|
|
708
810
|
*/
|
|
709
811
|
instanceTypes?: string[];
|
|
710
812
|
/**
|
|
711
813
|
* @remarks
|
|
712
|
-
* The
|
|
814
|
+
* The billing method of the public IP address. Valid values:
|
|
713
815
|
*
|
|
714
|
-
*
|
|
715
|
-
*
|
|
816
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
817
|
+
*
|
|
818
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
716
819
|
*
|
|
717
820
|
* @example
|
|
718
821
|
* PayByBandwidth
|
|
@@ -720,7 +823,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
720
823
|
internetChargeType?: string;
|
|
721
824
|
/**
|
|
722
825
|
* @remarks
|
|
723
|
-
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1
|
|
826
|
+
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: [1, 100].
|
|
724
827
|
*
|
|
725
828
|
* @example
|
|
726
829
|
* 5
|
|
@@ -728,7 +831,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
728
831
|
internetMaxBandwidthOut?: number;
|
|
729
832
|
/**
|
|
730
833
|
* @remarks
|
|
731
|
-
* The name of the key pair. You must specify
|
|
834
|
+
* The name of the key pair. You must specify key_pair or `login_password`. For managed node pools, you can specify only `key_pair`.
|
|
732
835
|
*
|
|
733
836
|
* @example
|
|
734
837
|
* pro-nodepool
|
|
@@ -736,7 +839,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
736
839
|
keyPair?: string;
|
|
737
840
|
/**
|
|
738
841
|
* @remarks
|
|
739
|
-
* The
|
|
842
|
+
* The SSH logon password. You must specify key_pair or `login_password`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
740
843
|
*
|
|
741
844
|
* @example
|
|
742
845
|
* Hello1234
|
|
@@ -744,17 +847,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
744
847
|
loginPassword?: string;
|
|
745
848
|
/**
|
|
746
849
|
* @remarks
|
|
747
|
-
* The
|
|
748
|
-
*
|
|
749
|
-
* * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
|
|
850
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
750
851
|
*
|
|
751
|
-
*
|
|
852
|
+
* - `PRIORITY`: The system scales ECS instances based on the vSwitch priority. The vSwitch priority is specified by the VSwitchIds.N parameter. If the system fails to create an ECS instance in the zone where the vSwitch with the highest priority resides, it attempts to create the ECS instance in the zone where the vSwitch with the next highest priority resides.
|
|
752
853
|
*
|
|
753
|
-
*
|
|
854
|
+
* - `COST_OPTIMIZED`: The system creates ECS instances of the instance type that has the lowest vCPU price. When the scaling configuration is set to create multiple instance types and the billing method is set to preemptible, the system preferentially creates preemptible instances. You can also use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when the system fails to create preemptible instances due to insufficient stock.
|
|
754
855
|
*
|
|
755
|
-
*
|
|
856
|
+
* > The `COST_OPTIMIZED` policy is valid only when multiple instance types are specified or preemptible instances are selected in the scaling configuration.
|
|
756
857
|
*
|
|
757
|
-
*
|
|
858
|
+
* - `BALANCE`: The system evenly distributes ECS instances across the zones that are specified in the scaling group. If the distribution of ECS instances becomes unbalanced due to insufficient stock, you can call the `RebalanceInstances` operation to rebalance the distribution. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) .
|
|
758
859
|
*
|
|
759
860
|
* Default value: `PRIORITY`.
|
|
760
861
|
*
|
|
@@ -764,7 +865,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
764
865
|
multiAzPolicy?: string;
|
|
765
866
|
/**
|
|
766
867
|
* @remarks
|
|
767
|
-
* The minimum number of
|
|
868
|
+
* The minimum number of on-demand instances that must be contained in the scaling group. Valid values: [0, 1000]. When the number of on-demand instances is less than this value, on-demand instances are preferentially created.
|
|
768
869
|
*
|
|
769
870
|
* @example
|
|
770
871
|
* 0
|
|
@@ -772,7 +873,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
772
873
|
onDemandBaseCapacity?: number;
|
|
773
874
|
/**
|
|
774
875
|
* @remarks
|
|
775
|
-
* The percentage of
|
|
876
|
+
* The percentage of on-demand instances among the instances that exceed the minimum number of on-demand instances (`on_demand_base_capacity`). Valid values: [0, 100].
|
|
776
877
|
*
|
|
777
878
|
* @example
|
|
778
879
|
* 20
|
|
@@ -780,10 +881,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
780
881
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
781
882
|
/**
|
|
782
883
|
* @remarks
|
|
783
|
-
* The subscription duration of nodes in the node pool. This parameter
|
|
884
|
+
* The subscription duration of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
885
|
+
*
|
|
886
|
+
* - If `period_unit=Week`, valid values of `period` are {1, 2, 3, 4}.
|
|
784
887
|
*
|
|
785
|
-
*
|
|
786
|
-
* * If `period_unit` is set to Month, the valid values of `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
888
|
+
* - If `period_unit=Month`, valid values of `period` are {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
787
889
|
*
|
|
788
890
|
* @example
|
|
789
891
|
* 1
|
|
@@ -791,10 +893,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
791
893
|
period?: number;
|
|
792
894
|
/**
|
|
793
895
|
* @remarks
|
|
794
|
-
* The billing cycle of nodes in the node pool. This parameter
|
|
896
|
+
* The billing cycle of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
795
897
|
*
|
|
796
|
-
*
|
|
797
|
-
*
|
|
898
|
+
* - `Month`: billed by month.
|
|
899
|
+
*
|
|
900
|
+
* - `Week`: billed by week.
|
|
798
901
|
*
|
|
799
902
|
* Default value: `Month`.
|
|
800
903
|
*
|
|
@@ -804,14 +907,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
804
907
|
periodUnit?: string;
|
|
805
908
|
/**
|
|
806
909
|
* @remarks
|
|
807
|
-
* This parameter is
|
|
910
|
+
* This parameter is deprecated. Use the `image_type` parameter instead.
|
|
808
911
|
*
|
|
809
912
|
* The OS platform. Valid values:
|
|
810
913
|
*
|
|
811
|
-
*
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
914
|
+
* - `AliyunLinux`
|
|
915
|
+
*
|
|
916
|
+
* - `CentOS`
|
|
917
|
+
*
|
|
918
|
+
* - `Windows`
|
|
919
|
+
*
|
|
920
|
+
* - `WindowsCore`
|
|
815
921
|
*
|
|
816
922
|
* @example
|
|
817
923
|
* AliyunLinux
|
|
@@ -821,30 +927,41 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
821
927
|
platform?: string;
|
|
822
928
|
/**
|
|
823
929
|
* @remarks
|
|
824
|
-
* The
|
|
930
|
+
* The private node pool configurations.
|
|
825
931
|
*/
|
|
826
932
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
827
933
|
/**
|
|
828
934
|
* @remarks
|
|
829
|
-
*
|
|
935
|
+
* A list of ApsaraDB RDS instances.
|
|
830
936
|
*/
|
|
831
937
|
rdsInstances?: string[];
|
|
938
|
+
/**
|
|
939
|
+
* @remarks
|
|
940
|
+
* The resource pool and resource pool policy that are used when you create an instance. If you specify this parameter, note the following points:
|
|
941
|
+
* This parameter is valid only when you create pay-as-you-go instances.
|
|
942
|
+
* This parameter cannot be specified at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
943
|
+
*/
|
|
832
944
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
833
945
|
/**
|
|
834
946
|
* @remarks
|
|
835
947
|
* The scaling mode of the scaling group. Valid values:
|
|
836
948
|
*
|
|
837
|
-
*
|
|
838
|
-
*
|
|
949
|
+
* - `release`: standard mode. This mode creates and releases ECS instances to perform scaling.
|
|
950
|
+
*
|
|
951
|
+
* - `recycle`: fast mode. This mode creates, stops, and starts ECS instances to perform scaling. This improves scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instance types with local disks.
|
|
839
952
|
*
|
|
840
953
|
* @example
|
|
841
954
|
* release
|
|
842
955
|
*/
|
|
843
956
|
scalingPolicy?: string;
|
|
957
|
+
/**
|
|
958
|
+
* @remarks
|
|
959
|
+
* A list of security group IDs.
|
|
960
|
+
*/
|
|
844
961
|
securityGroupIds?: string[];
|
|
845
962
|
/**
|
|
846
963
|
* @remarks
|
|
847
|
-
* The number of instance types
|
|
964
|
+
* The number of available instance types. The scaling group creates spot instances of multiple instance types that are provided at the lowest cost. Valid values: [1, 10].
|
|
848
965
|
*
|
|
849
966
|
* @example
|
|
850
967
|
* 5
|
|
@@ -852,10 +969,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
852
969
|
spotInstancePools?: number;
|
|
853
970
|
/**
|
|
854
971
|
* @remarks
|
|
855
|
-
* Specifies whether to enable the
|
|
972
|
+
* Specifies whether to enable the feature of supplementing spot instances. If this feature is enabled, the scaling group attempts to create a new instance to replace a spot instance that is reclaimed. Valid values:
|
|
973
|
+
*
|
|
974
|
+
* - `true`: enables the feature of supplementing spot instances.
|
|
856
975
|
*
|
|
857
|
-
*
|
|
858
|
-
* * `false`: does not supplement preemptible instances.
|
|
976
|
+
* - `false`: disables the feature of supplementing spot instances.
|
|
859
977
|
*
|
|
860
978
|
* @example
|
|
861
979
|
* false
|
|
@@ -863,18 +981,20 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
863
981
|
spotInstanceRemedy?: boolean;
|
|
864
982
|
/**
|
|
865
983
|
* @remarks
|
|
866
|
-
* The
|
|
984
|
+
* The price range for the spot instance.
|
|
867
985
|
*/
|
|
868
986
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
869
987
|
/**
|
|
870
988
|
* @remarks
|
|
871
|
-
* The bidding policy
|
|
989
|
+
* The bidding policy for the spot instance. Valid values:
|
|
872
990
|
*
|
|
873
|
-
*
|
|
874
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
875
|
-
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
991
|
+
* - `NoSpot`: The instance is not a spot instance.
|
|
876
992
|
*
|
|
877
|
-
*
|
|
993
|
+
* - `SpotWithPriceLimit`: The instance is a spot instance for which you can specify the maximum hourly price.
|
|
994
|
+
*
|
|
995
|
+
* - `SpotAsPriceGo`: The system automatically bids for the instance. The bid is based on the market price.
|
|
996
|
+
*
|
|
997
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
878
998
|
*
|
|
879
999
|
* @example
|
|
880
1000
|
* SpotWithPriceLimit
|
|
@@ -882,12 +1002,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
882
1002
|
spotStrategy?: string;
|
|
883
1003
|
/**
|
|
884
1004
|
* @remarks
|
|
885
|
-
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
1005
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
1006
|
+
*
|
|
1007
|
+
* - true: enables the performance burst feature. If your business fluctuates and is subject to unexpected data read and write pressure, the cloud disk temporarily improves its performance until your business returns to a stable state.
|
|
886
1008
|
*
|
|
887
|
-
*
|
|
888
|
-
* * false: disables the burst feature.
|
|
1009
|
+
* - false: disables the performance burst feature.
|
|
889
1010
|
*
|
|
890
|
-
* This parameter is
|
|
1011
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
891
1012
|
*
|
|
892
1013
|
* @example
|
|
893
1014
|
* true
|
|
@@ -895,18 +1016,22 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
895
1016
|
systemDiskBurstingEnabled?: boolean;
|
|
896
1017
|
/**
|
|
897
1018
|
* @remarks
|
|
898
|
-
* The
|
|
1019
|
+
* The multi-disk type of the system disk. If a disk of a higher priority disk type cannot be used, the system automatically tries the next priority disk type to create the system disk.
|
|
899
1020
|
*/
|
|
900
1021
|
systemDiskCategories?: string[];
|
|
901
1022
|
/**
|
|
902
1023
|
* @remarks
|
|
903
|
-
* The
|
|
1024
|
+
* The type of the system disk. Valid values:
|
|
904
1025
|
*
|
|
905
|
-
*
|
|
906
|
-
*
|
|
907
|
-
*
|
|
908
|
-
*
|
|
909
|
-
*
|
|
1026
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1027
|
+
*
|
|
1028
|
+
* - `cloud_ssd`: standard SSD.
|
|
1029
|
+
*
|
|
1030
|
+
* - `cloud_essd`: ESSD.
|
|
1031
|
+
*
|
|
1032
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1033
|
+
*
|
|
1034
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
910
1035
|
*
|
|
911
1036
|
* Default value: `cloud_efficiency`.
|
|
912
1037
|
*
|
|
@@ -916,7 +1041,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
916
1041
|
systemDiskCategory?: string;
|
|
917
1042
|
/**
|
|
918
1043
|
* @remarks
|
|
919
|
-
* The encryption algorithm that is used
|
|
1044
|
+
* The encryption algorithm that is used for the system disk. Valid value: aes-256.
|
|
920
1045
|
*
|
|
921
1046
|
* @example
|
|
922
1047
|
* aes-256
|
|
@@ -926,8 +1051,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
926
1051
|
* @remarks
|
|
927
1052
|
* Specifies whether to encrypt the system disk. Valid values:
|
|
928
1053
|
*
|
|
929
|
-
*
|
|
930
|
-
*
|
|
1054
|
+
* - true: encrypts the system disk.
|
|
1055
|
+
*
|
|
1056
|
+
* - false: does not encrypt the system disk.
|
|
931
1057
|
*
|
|
932
1058
|
* @example
|
|
933
1059
|
* false
|
|
@@ -935,7 +1061,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
935
1061
|
systemDiskEncrypted?: boolean;
|
|
936
1062
|
/**
|
|
937
1063
|
* @remarks
|
|
938
|
-
* The ID of the
|
|
1064
|
+
* The ID of the KMS key that is used to encrypt the system disk.
|
|
939
1065
|
*
|
|
940
1066
|
* @example
|
|
941
1067
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -943,12 +1069,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
943
1069
|
systemDiskKmsKeyId?: string;
|
|
944
1070
|
/**
|
|
945
1071
|
* @remarks
|
|
946
|
-
* The performance level
|
|
1072
|
+
* The performance level of the system disk. This parameter is valid only for ESSD disks. The performance level of a disk is related to its size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1073
|
+
*
|
|
1074
|
+
* - PL0: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
|
|
1075
|
+
*
|
|
1076
|
+
* - PL1: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
|
|
947
1077
|
*
|
|
948
|
-
*
|
|
949
|
-
*
|
|
950
|
-
*
|
|
951
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1078
|
+
* - PL2: The maximum concurrent I/O performance is high and the read/write latency is stable.
|
|
1079
|
+
*
|
|
1080
|
+
* - PL3: The maximum concurrent I/O performance is very high and the read/write latency is very stable.
|
|
952
1081
|
*
|
|
953
1082
|
* @example
|
|
954
1083
|
* PL1
|
|
@@ -956,11 +1085,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
956
1085
|
systemDiskPerformanceLevel?: string;
|
|
957
1086
|
/**
|
|
958
1087
|
* @remarks
|
|
959
|
-
* The
|
|
1088
|
+
* The pre-configured read/write IOPS of the system disk.
|
|
960
1089
|
*
|
|
961
1090
|
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
962
1091
|
*
|
|
963
|
-
* This parameter is
|
|
1092
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
964
1093
|
*
|
|
965
1094
|
* @example
|
|
966
1095
|
* 1000
|
|
@@ -968,31 +1097,38 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
968
1097
|
systemDiskProvisionedIops?: number;
|
|
969
1098
|
/**
|
|
970
1099
|
* @remarks
|
|
971
|
-
* The size of the system disk. Unit: GiB
|
|
1100
|
+
* The size of the system disk. Unit: GiB.
|
|
972
1101
|
*
|
|
973
|
-
* Valid values: 20
|
|
1102
|
+
* Valid values: [20, 2048].
|
|
974
1103
|
*
|
|
975
|
-
* The value of this parameter must be
|
|
1104
|
+
* The value of this parameter must be greater than or equal to max{20, ImageSize}.
|
|
976
1105
|
*
|
|
977
|
-
* Default value: the
|
|
1106
|
+
* Default value: max{40, The size of the image that corresponds to the ImageId parameter}.
|
|
978
1107
|
*
|
|
979
1108
|
* @example
|
|
980
1109
|
* 120
|
|
981
1110
|
*/
|
|
982
1111
|
systemDiskSize?: number;
|
|
1112
|
+
/**
|
|
1113
|
+
* @remarks
|
|
1114
|
+
* The snapshot policy for the system disk.
|
|
1115
|
+
*
|
|
1116
|
+
* @example
|
|
1117
|
+
* sp-0jl6xnmme8v7o935****
|
|
1118
|
+
*/
|
|
983
1119
|
systemDiskSnapshotPolicyId?: string;
|
|
984
1120
|
/**
|
|
985
1121
|
* @remarks
|
|
986
1122
|
* The tags that you want to add only to ECS instances.
|
|
987
1123
|
*
|
|
988
|
-
*
|
|
1124
|
+
* Tag keys cannot be repeated. A tag key can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:" and cannot contain "https\\://" or "http\\://".
|
|
989
1125
|
*/
|
|
990
1126
|
tags?: Tag[];
|
|
991
1127
|
/**
|
|
992
1128
|
* @remarks
|
|
993
|
-
*
|
|
1129
|
+
* A list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
994
1130
|
*
|
|
995
|
-
* >
|
|
1131
|
+
* > For high availability, select vSwitches in different zones.
|
|
996
1132
|
*/
|
|
997
1133
|
vswitchIds?: string[];
|
|
998
1134
|
static names(): {
|
|
@@ -1009,10 +1145,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1009
1145
|
export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1010
1146
|
/**
|
|
1011
1147
|
* @remarks
|
|
1012
|
-
* Specifies whether to enable confidential computing
|
|
1148
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1149
|
+
*
|
|
1150
|
+
* - `true`: enables the cluster.
|
|
1013
1151
|
*
|
|
1014
|
-
*
|
|
1015
|
-
* * `false`: disables confidential computing for the cluster.
|
|
1152
|
+
* - `false`: disables the cluster.
|
|
1016
1153
|
*
|
|
1017
1154
|
* Default value: `false`.
|
|
1018
1155
|
*
|
|
@@ -1034,12 +1171,12 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1034
1171
|
export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1035
1172
|
/**
|
|
1036
1173
|
* @remarks
|
|
1037
|
-
* The
|
|
1174
|
+
* The auto scaling configurations.
|
|
1038
1175
|
*/
|
|
1039
1176
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1040
1177
|
/**
|
|
1041
1178
|
* @remarks
|
|
1042
|
-
* Specifies whether
|
|
1179
|
+
* Specifies whether to run the task in parallel.
|
|
1043
1180
|
*
|
|
1044
1181
|
* @example
|
|
1045
1182
|
* true
|
|
@@ -1047,32 +1184,32 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1047
1184
|
concurrency?: boolean;
|
|
1048
1185
|
/**
|
|
1049
1186
|
* @remarks
|
|
1050
|
-
* The configurations
|
|
1187
|
+
* The Kubernetes-related configurations.
|
|
1051
1188
|
*/
|
|
1052
1189
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1053
1190
|
/**
|
|
1054
1191
|
* @remarks
|
|
1055
|
-
* The configurations of the managed node pool
|
|
1192
|
+
* The configurations of the managed node pool.
|
|
1056
1193
|
*/
|
|
1057
1194
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1058
1195
|
/**
|
|
1059
1196
|
* @remarks
|
|
1060
|
-
* The
|
|
1197
|
+
* The node pool configurations.
|
|
1061
1198
|
*/
|
|
1062
1199
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1063
1200
|
/**
|
|
1064
1201
|
* @remarks
|
|
1065
|
-
* The configurations of the scaling group
|
|
1202
|
+
* The configurations of the node pool scaling group.
|
|
1066
1203
|
*/
|
|
1067
1204
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1068
1205
|
/**
|
|
1069
1206
|
* @remarks
|
|
1070
|
-
* The configurations of
|
|
1207
|
+
* The configurations of the Kubernetes cluster for confidential computing.
|
|
1071
1208
|
*/
|
|
1072
1209
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1073
1210
|
/**
|
|
1074
1211
|
* @remarks
|
|
1075
|
-
*
|
|
1212
|
+
* Synchronously updates node labels and taints.
|
|
1076
1213
|
*
|
|
1077
1214
|
* @example
|
|
1078
1215
|
* true
|