@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
|
@@ -10,29 +10,31 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* This parameter is deprecated. Use
|
|
13
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
+
* The peak bandwidth of the EIP.
|
|
14
15
|
*
|
|
15
|
-
* Valid values: 1
|
|
16
|
+
* Valid values: [1, 100]. Unit: Mbit/s.
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
|
-
*
|
|
19
|
+
* null
|
|
19
20
|
*
|
|
20
21
|
* @deprecated
|
|
21
22
|
*/
|
|
22
23
|
eipBandwidth?: number;
|
|
23
24
|
/**
|
|
24
25
|
* @remarks
|
|
25
|
-
* This parameter is deprecated. Use
|
|
26
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
27
|
+
*
|
|
28
|
+
* The billing method of the EIP. Valid values:
|
|
26
29
|
*
|
|
27
|
-
*
|
|
30
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
31
|
*
|
|
29
|
-
*
|
|
30
|
-
* * `PayByTraffic`: pay-by-data-transfer.
|
|
32
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
31
33
|
*
|
|
32
34
|
* Default value: `PayByBandwidth`.
|
|
33
35
|
*
|
|
34
36
|
* @example
|
|
35
|
-
*
|
|
37
|
+
* null
|
|
36
38
|
*
|
|
37
39
|
* @deprecated
|
|
38
40
|
*/
|
|
@@ -41,10 +43,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
41
43
|
* @remarks
|
|
42
44
|
* Specifies whether to enable auto scaling. Valid values:
|
|
43
45
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
+
* - `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).
|
|
47
|
+
*
|
|
48
|
+
* - `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.
|
|
46
49
|
*
|
|
47
|
-
* If
|
|
50
|
+
* If this parameter is set to false, other parameters in `auto_scaling` do not take effect.
|
|
48
51
|
*
|
|
49
52
|
* Default value: `false`.
|
|
50
53
|
*
|
|
@@ -54,24 +57,25 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
54
57
|
enable?: boolean;
|
|
55
58
|
/**
|
|
56
59
|
* @remarks
|
|
57
|
-
* This parameter is deprecated. Use
|
|
60
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
58
61
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
62
|
+
* - `true`: associates an EIP.
|
|
63
|
+
*
|
|
64
|
+
* - `false`: does not associate an EIP.
|
|
61
65
|
*
|
|
62
66
|
* Default value: `false`.
|
|
63
67
|
*
|
|
64
68
|
* @example
|
|
65
|
-
*
|
|
69
|
+
* null
|
|
66
70
|
*
|
|
67
71
|
* @deprecated
|
|
68
72
|
*/
|
|
69
73
|
isBondEip?: boolean;
|
|
70
74
|
/**
|
|
71
75
|
* @remarks
|
|
72
|
-
* The maximum number of
|
|
76
|
+
* 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`.
|
|
73
77
|
*
|
|
74
|
-
*
|
|
78
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
75
79
|
*
|
|
76
80
|
* @example
|
|
77
81
|
* 10
|
|
@@ -79,15 +83,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
79
83
|
maxInstances?: number;
|
|
80
84
|
/**
|
|
81
85
|
* @remarks
|
|
82
|
-
* The minimum number of
|
|
83
|
-
*
|
|
84
|
-
* The value must be at least 0 and cannot exceed the value of max_instances. Default value: 0.
|
|
85
|
-
*
|
|
86
|
-
* >
|
|
86
|
+
* 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`.
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
* > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
|
|
91
|
+
* >
|
|
92
|
+
* > - 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.
|
|
91
93
|
*
|
|
92
94
|
* @example
|
|
93
95
|
* 2
|
|
@@ -95,12 +97,15 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
95
97
|
minInstances?: number;
|
|
96
98
|
/**
|
|
97
99
|
* @remarks
|
|
98
|
-
* The
|
|
100
|
+
* The type of auto scaling. This parameter is specified based on the instance type. Valid values:
|
|
99
101
|
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
102
|
+
* - `cpu`: regular instance.
|
|
103
|
+
*
|
|
104
|
+
* - `gpu`: GPU-accelerated instance.
|
|
105
|
+
*
|
|
106
|
+
* - `gpushare`: shared GPU-accelerated instance.
|
|
107
|
+
*
|
|
108
|
+
* - `spot`: spot instance.
|
|
104
109
|
*
|
|
105
110
|
* Default value: `cpu`.
|
|
106
111
|
*
|
|
@@ -146,10 +151,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
146
151
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
147
152
|
/**
|
|
148
153
|
* @remarks
|
|
149
|
-
* Specifies whether to install
|
|
154
|
+
* 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:
|
|
155
|
+
*
|
|
156
|
+
* - `true`: installs Cloud Monitor on ECS nodes.
|
|
150
157
|
*
|
|
151
|
-
*
|
|
152
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
158
|
+
* - `false`: does not install Cloud Monitor on ECS nodes.
|
|
153
159
|
*
|
|
154
160
|
* Default value: `false`.
|
|
155
161
|
*
|
|
@@ -159,10 +165,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
159
165
|
cmsEnabled?: boolean;
|
|
160
166
|
/**
|
|
161
167
|
* @remarks
|
|
162
|
-
* The CPU management policy of
|
|
168
|
+
* 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:
|
|
163
169
|
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
170
|
+
* - `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
171
|
+
*
|
|
172
|
+
* - `none`: indicates that the default CPU affinity is used.
|
|
166
173
|
*
|
|
167
174
|
* Default value: `none`.
|
|
168
175
|
*
|
|
@@ -172,16 +179,28 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
172
179
|
cpuPolicy?: string;
|
|
173
180
|
/**
|
|
174
181
|
* @remarks
|
|
175
|
-
* The labels that
|
|
182
|
+
* The labels that you want to add to the nodes. The following rules apply:
|
|
183
|
+
*
|
|
184
|
+
* - A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
176
185
|
*
|
|
177
|
-
*
|
|
178
|
-
* * 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).
|
|
186
|
+
* - 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).
|
|
179
187
|
*/
|
|
180
188
|
labels?: Tag[];
|
|
189
|
+
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* The custom node name parameter. A node name consists of three parts: a prefix, the node IP address, and a suffix.
|
|
192
|
+
*
|
|
193
|
+
* 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.
|
|
194
|
+
*
|
|
195
|
+
* 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.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
* customized,aliyun,ip,com
|
|
199
|
+
*/
|
|
181
200
|
nodeNameMode?: string;
|
|
182
201
|
/**
|
|
183
202
|
* @remarks
|
|
184
|
-
*
|
|
203
|
+
* 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).
|
|
185
204
|
*
|
|
186
205
|
* @example
|
|
187
206
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -189,16 +208,18 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
189
208
|
preUserData?: string;
|
|
190
209
|
/**
|
|
191
210
|
* @remarks
|
|
192
|
-
* The name of the container runtime.
|
|
211
|
+
* The name of the container runtime. ACK supports the following three container runtimes.
|
|
212
|
+
*
|
|
213
|
+
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
214
|
+
*
|
|
215
|
+
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 and earlier.
|
|
193
216
|
*
|
|
194
|
-
*
|
|
195
|
-
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.31 and earlier.
|
|
196
|
-
* * docker: discontinued. The Docker runtime supports Kubernetes 1.22 and earlier.
|
|
217
|
+
* - docker: This runtime is no longer maintained. It is supported by clusters of Kubernetes 1.22 and earlier.
|
|
197
218
|
*
|
|
198
219
|
* Default value: containerd.
|
|
199
220
|
*
|
|
200
221
|
* @example
|
|
201
|
-
*
|
|
222
|
+
* containerd
|
|
202
223
|
*/
|
|
203
224
|
runtime?: string;
|
|
204
225
|
/**
|
|
@@ -206,20 +227,21 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
206
227
|
* The version of the container runtime.
|
|
207
228
|
*
|
|
208
229
|
* @example
|
|
209
|
-
*
|
|
230
|
+
* 1.6.38
|
|
210
231
|
*/
|
|
211
232
|
runtimeVersion?: string;
|
|
212
233
|
/**
|
|
213
234
|
* @remarks
|
|
214
|
-
* The
|
|
235
|
+
* The node taint configurations.
|
|
215
236
|
*/
|
|
216
237
|
taints?: Taint[];
|
|
217
238
|
/**
|
|
218
239
|
* @remarks
|
|
219
|
-
* Specifies whether the nodes are unschedulable
|
|
240
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
220
241
|
*
|
|
221
|
-
*
|
|
222
|
-
*
|
|
242
|
+
* - true: The nodes are unschedulable.
|
|
243
|
+
*
|
|
244
|
+
* - false: The nodes are schedulable.
|
|
223
245
|
*
|
|
224
246
|
* @example
|
|
225
247
|
* false
|
|
@@ -227,7 +249,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
227
249
|
unschedulable?: boolean;
|
|
228
250
|
/**
|
|
229
251
|
* @remarks
|
|
230
|
-
* The user data
|
|
252
|
+
* 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).
|
|
231
253
|
*
|
|
232
254
|
* @example
|
|
233
255
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -279,18 +301,28 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
279
301
|
}
|
|
280
302
|
|
|
281
303
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
304
|
+
/**
|
|
305
|
+
* @remarks
|
|
306
|
+
* Specifies whether manual approval is required for node repair.
|
|
307
|
+
*/
|
|
282
308
|
approvalRequired?: boolean;
|
|
283
309
|
/**
|
|
310
|
+
* @remarks
|
|
311
|
+
* The ID of the auto repair policy.
|
|
312
|
+
*
|
|
284
313
|
* @example
|
|
285
314
|
* r-xxxxxxxxxx
|
|
286
315
|
*/
|
|
287
316
|
autoRepairPolicyId?: string;
|
|
288
317
|
/**
|
|
289
318
|
* @remarks
|
|
290
|
-
* Specifies whether
|
|
319
|
+
* Specifies whether to allow node restart. This parameter takes effect only when auto_repair is set to `true`. Valid values:
|
|
320
|
+
*
|
|
321
|
+
* - `true`: allows node restart.
|
|
291
322
|
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
323
|
+
* - `false`: disallows node restart.
|
|
324
|
+
*
|
|
325
|
+
* Default value: `true`
|
|
294
326
|
*
|
|
295
327
|
* @example
|
|
296
328
|
* true
|
|
@@ -324,10 +356,13 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
324
356
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
325
357
|
/**
|
|
326
358
|
* @remarks
|
|
327
|
-
* Specifies whether
|
|
359
|
+
* Specifies whether to allow auto kubelet upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
360
|
+
*
|
|
361
|
+
* - `true`: allows auto kubelet upgrade.
|
|
328
362
|
*
|
|
329
|
-
*
|
|
330
|
-
*
|
|
363
|
+
* - `false`: disallows auto kubelet upgrade.
|
|
364
|
+
*
|
|
365
|
+
* Default value: `true`
|
|
331
366
|
*
|
|
332
367
|
* @example
|
|
333
368
|
* true
|
|
@@ -335,10 +370,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
335
370
|
autoUpgradeKubelet?: boolean;
|
|
336
371
|
/**
|
|
337
372
|
* @remarks
|
|
338
|
-
* Specifies whether
|
|
373
|
+
* Specifies whether to allow auto operating system upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
374
|
+
*
|
|
375
|
+
* - `true`: allows auto operating system upgrade.
|
|
339
376
|
*
|
|
340
|
-
*
|
|
341
|
-
* * `false`: no.
|
|
377
|
+
* - `false`: disallows auto operating system upgrade.
|
|
342
378
|
*
|
|
343
379
|
* Default value: `false`.
|
|
344
380
|
*
|
|
@@ -348,12 +384,13 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
348
384
|
autoUpgradeOs?: boolean;
|
|
349
385
|
/**
|
|
350
386
|
* @remarks
|
|
351
|
-
* Specifies whether
|
|
387
|
+
* Specifies whether to allow auto runtime upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
352
388
|
*
|
|
353
|
-
*
|
|
354
|
-
* * `false`: no.
|
|
389
|
+
* - `true`: allows auto runtime upgrade.
|
|
355
390
|
*
|
|
356
|
-
*
|
|
391
|
+
* - `false`: disallows auto runtime upgrade.
|
|
392
|
+
*
|
|
393
|
+
* Default value: `true`.
|
|
357
394
|
*
|
|
358
395
|
* @example
|
|
359
396
|
* false
|
|
@@ -385,13 +422,25 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
385
422
|
}
|
|
386
423
|
|
|
387
424
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
425
|
+
/**
|
|
426
|
+
* @remarks
|
|
427
|
+
* The packages that should be excluded during vulnerability fixing.
|
|
428
|
+
*
|
|
429
|
+
* Default value: `kernel`.
|
|
430
|
+
*
|
|
431
|
+
* @example
|
|
432
|
+
* kernel
|
|
433
|
+
*/
|
|
388
434
|
excludePackages?: string;
|
|
389
435
|
/**
|
|
390
436
|
* @remarks
|
|
391
|
-
* Specifies whether
|
|
437
|
+
* Specifies whether to allow node restart. This parameter takes effect only when auto_vul_fix is set to `true`. Valid values:
|
|
438
|
+
*
|
|
439
|
+
* - `true`: allows node restart.
|
|
440
|
+
*
|
|
441
|
+
* - `false`: disallows node restart.
|
|
392
442
|
*
|
|
393
|
-
*
|
|
394
|
-
* * `false`: no.
|
|
443
|
+
* Default value: `true`
|
|
395
444
|
*
|
|
396
445
|
* @example
|
|
397
446
|
* true
|
|
@@ -399,13 +448,15 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
399
448
|
restartNode?: boolean;
|
|
400
449
|
/**
|
|
401
450
|
* @remarks
|
|
402
|
-
* The
|
|
451
|
+
* The vulnerability levels that are allowed to be automatically fixed. The value is a comma-separated list. Example: `asap,later`. Supported vulnerability levels:
|
|
403
452
|
*
|
|
404
|
-
*
|
|
405
|
-
* * `later`: medium.
|
|
406
|
-
* * `nntf`: low.
|
|
453
|
+
* - `asap`: high
|
|
407
454
|
*
|
|
408
|
-
*
|
|
455
|
+
* - `later`: medium
|
|
456
|
+
*
|
|
457
|
+
* - `nntf`: low
|
|
458
|
+
*
|
|
459
|
+
* Default value: `asap`.
|
|
409
460
|
*
|
|
410
461
|
* @example
|
|
411
462
|
* asap,nntf
|
|
@@ -439,12 +490,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
439
490
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
440
491
|
/**
|
|
441
492
|
* @remarks
|
|
442
|
-
* This parameter is deprecated. Use the
|
|
493
|
+
* This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
|
|
443
494
|
*
|
|
444
|
-
* Specifies whether to enable auto upgrade
|
|
495
|
+
* Specifies whether to enable auto upgrade:
|
|
445
496
|
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
497
|
+
* - true: enables auto upgrade.
|
|
498
|
+
*
|
|
499
|
+
* - false: disables auto upgrade.
|
|
448
500
|
*
|
|
449
501
|
* Default value: `true`.
|
|
450
502
|
*
|
|
@@ -456,9 +508,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
456
508
|
autoUpgrade?: boolean;
|
|
457
509
|
/**
|
|
458
510
|
* @remarks
|
|
459
|
-
* The maximum number of nodes
|
|
511
|
+
* The maximum number of unavailable nodes.
|
|
460
512
|
*
|
|
461
|
-
* Valid values: 1
|
|
513
|
+
* Valid values: [1, 1000]
|
|
462
514
|
*
|
|
463
515
|
* Default value: 1.
|
|
464
516
|
*
|
|
@@ -468,11 +520,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
468
520
|
maxUnavailable?: number;
|
|
469
521
|
/**
|
|
470
522
|
* @remarks
|
|
471
|
-
* The number of
|
|
523
|
+
* The number of extra nodes. You can specify only one of surge and `surge_percentage`.
|
|
472
524
|
*
|
|
473
|
-
*
|
|
525
|
+
* Nodes may become unavailable during an upgrade. You can create extra nodes to ensure service continuity.
|
|
474
526
|
*
|
|
475
|
-
* >
|
|
527
|
+
* > The number of extra nodes must not exceed the current number of nodes.
|
|
476
528
|
*
|
|
477
529
|
* @example
|
|
478
530
|
* 5
|
|
@@ -480,9 +532,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
480
532
|
surge?: number;
|
|
481
533
|
/**
|
|
482
534
|
* @remarks
|
|
483
|
-
* The percentage of
|
|
535
|
+
* The percentage of extra nodes. You can specify only one of surge and `surge_percentage`.
|
|
484
536
|
*
|
|
485
|
-
*
|
|
537
|
+
* 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.
|
|
486
538
|
*
|
|
487
539
|
* @example
|
|
488
540
|
* 0
|
|
@@ -516,14 +568,16 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
516
568
|
}
|
|
517
569
|
|
|
518
570
|
export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
571
|
+
autoFaultDiagnosis?: boolean;
|
|
519
572
|
/**
|
|
520
573
|
* @remarks
|
|
521
|
-
* Specifies whether to enable auto node repair. This parameter takes effect only
|
|
574
|
+
* Specifies whether to enable auto node repair. This parameter takes effect only when enable is set to `true`.
|
|
522
575
|
*
|
|
523
|
-
*
|
|
524
|
-
* * `false`: disables auto repair.
|
|
576
|
+
* - `true`: Auto repair is enabled.
|
|
525
577
|
*
|
|
526
|
-
*
|
|
578
|
+
* - `false`: Auto repair is disabled.
|
|
579
|
+
*
|
|
580
|
+
* Default value: `true`
|
|
527
581
|
*
|
|
528
582
|
* @example
|
|
529
583
|
* true
|
|
@@ -536,10 +590,13 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
536
590
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
537
591
|
/**
|
|
538
592
|
* @remarks
|
|
539
|
-
* Specifies whether to enable auto upgrade.
|
|
593
|
+
* Specifies whether to enable auto node upgrade. This parameter takes effect only when enable is set to `true`.
|
|
594
|
+
*
|
|
595
|
+
* - `true`: enables auto upgrade.
|
|
540
596
|
*
|
|
541
|
-
*
|
|
542
|
-
*
|
|
597
|
+
* - `false`: disables auto upgrade.
|
|
598
|
+
*
|
|
599
|
+
* Default value: `true`
|
|
543
600
|
*
|
|
544
601
|
* @example
|
|
545
602
|
* true
|
|
@@ -552,10 +609,13 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
552
609
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
553
610
|
/**
|
|
554
611
|
* @remarks
|
|
555
|
-
* Specifies whether
|
|
612
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when enable is set to `true`.
|
|
613
|
+
*
|
|
614
|
+
* - `true`: allows automatic CVE fixing.
|
|
556
615
|
*
|
|
557
|
-
*
|
|
558
|
-
*
|
|
616
|
+
* - `false`: disallows automatic CVE fixing.
|
|
617
|
+
*
|
|
618
|
+
* Default value: `true`.
|
|
559
619
|
*
|
|
560
620
|
* @example
|
|
561
621
|
* true
|
|
@@ -563,15 +623,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
563
623
|
autoVulFix?: boolean;
|
|
564
624
|
/**
|
|
565
625
|
* @remarks
|
|
566
|
-
* The
|
|
626
|
+
* The policy for automatically fixing CVE vulnerabilities.
|
|
567
627
|
*/
|
|
568
628
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
569
629
|
/**
|
|
570
630
|
* @remarks
|
|
571
|
-
* Specifies whether to enable the managed node pool
|
|
631
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
572
632
|
*
|
|
573
|
-
*
|
|
574
|
-
*
|
|
633
|
+
* - `true`: Enables the managed node pool.
|
|
634
|
+
*
|
|
635
|
+
* - `false`: Disables the managed node pool. Other related configurations are ignored.
|
|
575
636
|
*
|
|
576
637
|
* Default value: `false`.
|
|
577
638
|
*
|
|
@@ -581,15 +642,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
581
642
|
enable?: boolean;
|
|
582
643
|
/**
|
|
583
644
|
* @remarks
|
|
584
|
-
* This parameter is deprecated. Use the
|
|
645
|
+
* This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
|
|
585
646
|
*
|
|
586
|
-
* The
|
|
647
|
+
* The auto upgrade configurations. This parameter takes effect only when enable is set to `true`.
|
|
587
648
|
*
|
|
588
649
|
* @deprecated
|
|
589
650
|
*/
|
|
590
651
|
upgradeConfig?: ModifyClusterNodePoolRequestManagementUpgradeConfig;
|
|
591
652
|
static names(): { [key: string]: string } {
|
|
592
653
|
return {
|
|
654
|
+
autoFaultDiagnosis: 'auto_fault_diagnosis',
|
|
593
655
|
autoRepair: 'auto_repair',
|
|
594
656
|
autoRepairPolicy: 'auto_repair_policy',
|
|
595
657
|
autoUpgrade: 'auto_upgrade',
|
|
@@ -603,6 +665,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
603
665
|
|
|
604
666
|
static types(): { [key: string]: any } {
|
|
605
667
|
return {
|
|
668
|
+
autoFaultDiagnosis: 'boolean',
|
|
606
669
|
autoRepair: 'boolean',
|
|
607
670
|
autoRepairPolicy: ModifyClusterNodePoolRequestManagementAutoRepairPolicy,
|
|
608
671
|
autoUpgrade: 'boolean',
|
|
@@ -648,9 +711,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
648
711
|
name?: string;
|
|
649
712
|
/**
|
|
650
713
|
* @remarks
|
|
651
|
-
* The ID of the resource group
|
|
714
|
+
* The ID of the resource group for the node pool. Instances created in the node pool belong to this resource group.
|
|
652
715
|
*
|
|
653
|
-
*
|
|
716
|
+
* A resource can belong to only one resource group. You can use resource groups to categorize resources by project, application, or organization.
|
|
654
717
|
*
|
|
655
718
|
* @example
|
|
656
719
|
* rg-acfmyvw3wjm****
|
|
@@ -682,7 +745,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
682
745
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
683
746
|
/**
|
|
684
747
|
* @remarks
|
|
685
|
-
* The private node pool
|
|
748
|
+
* The ID of the private node pool. If `match_criteria` is set to `Target`, you must specify the ID of the private pool.
|
|
686
749
|
*
|
|
687
750
|
* @example
|
|
688
751
|
* eap-bp67acfmxazb4****
|
|
@@ -690,11 +753,13 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
690
753
|
id?: string;
|
|
691
754
|
/**
|
|
692
755
|
* @remarks
|
|
693
|
-
* The type of private node pool. This parameter specifies the
|
|
756
|
+
* 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:
|
|
757
|
+
*
|
|
758
|
+
* - `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.
|
|
694
759
|
*
|
|
695
|
-
*
|
|
696
|
-
*
|
|
697
|
-
*
|
|
760
|
+
* - `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.
|
|
761
|
+
*
|
|
762
|
+
* - `None`: The instance is started without using the capacity of a private pool.
|
|
698
763
|
*
|
|
699
764
|
* @example
|
|
700
765
|
* Open
|
|
@@ -724,8 +789,19 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
724
789
|
}
|
|
725
790
|
|
|
726
791
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
792
|
+
/**
|
|
793
|
+
* @remarks
|
|
794
|
+
* 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.
|
|
795
|
+
*/
|
|
727
796
|
privatePoolIds?: string[];
|
|
728
797
|
/**
|
|
798
|
+
* @remarks
|
|
799
|
+
* 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:
|
|
800
|
+
* 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.
|
|
801
|
+
* 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.
|
|
802
|
+
* None: No resource pool policy is used.
|
|
803
|
+
* Default value: None.
|
|
804
|
+
*
|
|
729
805
|
* @example
|
|
730
806
|
* PrivatePoolFirst
|
|
731
807
|
*/
|
|
@@ -759,7 +835,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
759
835
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
760
836
|
/**
|
|
761
837
|
* @remarks
|
|
762
|
-
* The instance type of
|
|
838
|
+
* The instance type of the spot instance.
|
|
763
839
|
*
|
|
764
840
|
* @example
|
|
765
841
|
* ecs.c6.large
|
|
@@ -767,7 +843,15 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
767
843
|
instanceType?: string;
|
|
768
844
|
/**
|
|
769
845
|
* @remarks
|
|
770
|
-
* The price
|
|
846
|
+
* The maximum price of a single instance.
|
|
847
|
+
*
|
|
848
|
+
* <props="china">
|
|
849
|
+
*
|
|
850
|
+
* Unit: CNY/hour.
|
|
851
|
+
*
|
|
852
|
+
*
|
|
853
|
+
*
|
|
854
|
+
* <props="intl">
|
|
771
855
|
*
|
|
772
856
|
* Unit: USD/hour.
|
|
773
857
|
*
|
|
@@ -801,10 +885,11 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
801
885
|
export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
802
886
|
/**
|
|
803
887
|
* @remarks
|
|
804
|
-
* Specifies whether to enable auto-renewal for the nodes
|
|
888
|
+
* Specifies whether to enable auto-renewal for the nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
805
889
|
*
|
|
806
|
-
*
|
|
807
|
-
*
|
|
890
|
+
* - `true`: Auto-renewal is enabled.
|
|
891
|
+
*
|
|
892
|
+
* - `false`: Auto-renewal is disabled.
|
|
808
893
|
*
|
|
809
894
|
* Default value: `false`.
|
|
810
895
|
*
|
|
@@ -816,8 +901,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
816
901
|
* @remarks
|
|
817
902
|
* The auto-renewal period. Valid values:
|
|
818
903
|
*
|
|
819
|
-
*
|
|
820
|
-
*
|
|
904
|
+
* - If PeriodUnit=Week, valid values are 1, 2, and 3.
|
|
905
|
+
*
|
|
906
|
+
* - If PeriodUnit=Month, valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
821
907
|
*
|
|
822
908
|
* Default value: 1.
|
|
823
909
|
*
|
|
@@ -827,10 +913,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
827
913
|
autoRenewPeriod?: number;
|
|
828
914
|
/**
|
|
829
915
|
* @remarks
|
|
830
|
-
*
|
|
916
|
+
* 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:
|
|
831
917
|
*
|
|
832
|
-
*
|
|
833
|
-
*
|
|
918
|
+
* - `true`: allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
919
|
+
*
|
|
920
|
+
* - `false`: does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
834
921
|
*
|
|
835
922
|
* @example
|
|
836
923
|
* true
|
|
@@ -838,10 +925,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
838
925
|
compensateWithOnDemand?: boolean;
|
|
839
926
|
/**
|
|
840
927
|
* @remarks
|
|
841
|
-
* The
|
|
928
|
+
* The data disk configurations of the node. You can specify 0 to 10 data disks.
|
|
842
929
|
*/
|
|
843
930
|
dataDisks?: DataDisk[];
|
|
844
931
|
/**
|
|
932
|
+
* @remarks
|
|
933
|
+
* 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.
|
|
934
|
+
*
|
|
845
935
|
* @example
|
|
846
936
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
847
937
|
*/
|
|
@@ -850,48 +940,62 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
850
940
|
* @remarks
|
|
851
941
|
* The expected number of nodes in the node pool.
|
|
852
942
|
*
|
|
853
|
-
* The
|
|
943
|
+
* 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.
|
|
854
944
|
*
|
|
855
|
-
* If you do not
|
|
945
|
+
* If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
|
|
856
946
|
*
|
|
857
947
|
* @example
|
|
858
948
|
* 2
|
|
859
949
|
*/
|
|
860
950
|
desiredSize?: number;
|
|
951
|
+
/**
|
|
952
|
+
* @remarks
|
|
953
|
+
* The block device initialization configuration.
|
|
954
|
+
*/
|
|
861
955
|
diskInit?: DiskInit[];
|
|
862
956
|
/**
|
|
863
957
|
* @remarks
|
|
864
|
-
* The custom image
|
|
958
|
+
* 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.
|
|
865
959
|
*
|
|
866
960
|
* @example
|
|
867
|
-
*
|
|
961
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
868
962
|
*/
|
|
869
963
|
imageId?: string;
|
|
870
964
|
/**
|
|
871
965
|
* @remarks
|
|
872
|
-
* The
|
|
966
|
+
* The distribution of the operating system. We recommend that you use this parameter to specify the operating system of the nodes. Valid values:
|
|
967
|
+
*
|
|
968
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
969
|
+
*
|
|
970
|
+
* - `AliyunLinuxSecurity`: Alinux2 image with UEFI.
|
|
971
|
+
*
|
|
972
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
973
|
+
*
|
|
974
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
975
|
+
*
|
|
976
|
+
* - `AliyunLinux3Security`: Alinux3 image with UEFI.
|
|
977
|
+
*
|
|
978
|
+
* - `CentOS`: CentOS image.
|
|
979
|
+
*
|
|
980
|
+
* - `Windows`: Windows image.
|
|
873
981
|
*
|
|
874
|
-
*
|
|
875
|
-
*
|
|
876
|
-
*
|
|
877
|
-
*
|
|
878
|
-
*
|
|
879
|
-
* * `CentOS`: CentOS.
|
|
880
|
-
* * `Windows`: Windows.
|
|
881
|
-
* * `WindowsCore`: Windows Core.
|
|
882
|
-
* * `ContainerOS`: ContainerOS.
|
|
883
|
-
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
|
|
982
|
+
* - `WindowsCore`: WindowsCore image.
|
|
983
|
+
*
|
|
984
|
+
* - `ContainerOS`: container-optimized image.
|
|
985
|
+
*
|
|
986
|
+
* - `AliyunLinux3ContainerOptimized`: container-optimized Alinux3 image.
|
|
884
987
|
*
|
|
885
988
|
* @example
|
|
886
|
-
*
|
|
989
|
+
* AliyunLinux3
|
|
887
990
|
*/
|
|
888
991
|
imageType?: string;
|
|
889
992
|
/**
|
|
890
993
|
* @remarks
|
|
891
|
-
* The billing method of nodes in the node pool. Valid values:
|
|
994
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
995
|
+
*
|
|
996
|
+
* - `PrePaid`: subscription
|
|
892
997
|
*
|
|
893
|
-
*
|
|
894
|
-
* * `PostPaid`: pay-as-you-go.
|
|
998
|
+
* - `PostPaid`: pay-as-you-go
|
|
895
999
|
*
|
|
896
1000
|
* Default value: `PostPaid`.
|
|
897
1001
|
*
|
|
@@ -901,22 +1005,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
901
1005
|
instanceChargeType?: string;
|
|
902
1006
|
/**
|
|
903
1007
|
* @remarks
|
|
904
|
-
*
|
|
1008
|
+
* The instance attribute configurations.
|
|
905
1009
|
*/
|
|
906
1010
|
instancePatterns?: InstancePatterns[];
|
|
907
1011
|
/**
|
|
908
1012
|
* @remarks
|
|
909
|
-
*
|
|
1013
|
+
* 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.
|
|
910
1014
|
*
|
|
911
1015
|
* You can specify 1 to 10 instance types.
|
|
912
1016
|
*/
|
|
913
1017
|
instanceTypes?: string[];
|
|
914
1018
|
/**
|
|
915
1019
|
* @remarks
|
|
916
|
-
* The
|
|
1020
|
+
* The billing method of the public IP address. Valid values:
|
|
917
1021
|
*
|
|
918
|
-
*
|
|
919
|
-
*
|
|
1022
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1023
|
+
*
|
|
1024
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
920
1025
|
*
|
|
921
1026
|
* @example
|
|
922
1027
|
* PayByBandwidth
|
|
@@ -924,7 +1029,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
924
1029
|
internetChargeType?: string;
|
|
925
1030
|
/**
|
|
926
1031
|
* @remarks
|
|
927
|
-
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1
|
|
1032
|
+
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: [1, 100].
|
|
928
1033
|
*
|
|
929
1034
|
* @example
|
|
930
1035
|
* 5
|
|
@@ -932,7 +1037,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
932
1037
|
internetMaxBandwidthOut?: number;
|
|
933
1038
|
/**
|
|
934
1039
|
* @remarks
|
|
935
|
-
* The name of the key pair. You must specify
|
|
1040
|
+
* The name of the key pair. You must specify key_pair or `login_password`. For managed node pools, you can specify only `key_pair`.
|
|
936
1041
|
*
|
|
937
1042
|
* @example
|
|
938
1043
|
* pro-nodepool
|
|
@@ -940,7 +1045,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
940
1045
|
keyPair?: string;
|
|
941
1046
|
/**
|
|
942
1047
|
* @remarks
|
|
943
|
-
* The
|
|
1048
|
+
* 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.
|
|
944
1049
|
*
|
|
945
1050
|
* @example
|
|
946
1051
|
* Hello1234
|
|
@@ -948,17 +1053,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
948
1053
|
loginPassword?: string;
|
|
949
1054
|
/**
|
|
950
1055
|
* @remarks
|
|
951
|
-
* The
|
|
952
|
-
*
|
|
953
|
-
* * `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.
|
|
1056
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
954
1057
|
*
|
|
955
|
-
*
|
|
1058
|
+
* - `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.
|
|
956
1059
|
*
|
|
957
|
-
*
|
|
1060
|
+
* - `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.
|
|
958
1061
|
*
|
|
959
|
-
*
|
|
1062
|
+
* > The `COST_OPTIMIZED` policy is valid only when multiple instance types are specified or preemptible instances are selected in the scaling configuration.
|
|
960
1063
|
*
|
|
961
|
-
*
|
|
1064
|
+
* - `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) .
|
|
962
1065
|
*
|
|
963
1066
|
* Default value: `PRIORITY`.
|
|
964
1067
|
*
|
|
@@ -968,7 +1071,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
968
1071
|
multiAzPolicy?: string;
|
|
969
1072
|
/**
|
|
970
1073
|
* @remarks
|
|
971
|
-
* The minimum number of
|
|
1074
|
+
* 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.
|
|
972
1075
|
*
|
|
973
1076
|
* @example
|
|
974
1077
|
* 0
|
|
@@ -976,7 +1079,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
976
1079
|
onDemandBaseCapacity?: number;
|
|
977
1080
|
/**
|
|
978
1081
|
* @remarks
|
|
979
|
-
* The percentage of
|
|
1082
|
+
* 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].
|
|
980
1083
|
*
|
|
981
1084
|
* @example
|
|
982
1085
|
* 20
|
|
@@ -984,10 +1087,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
984
1087
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
985
1088
|
/**
|
|
986
1089
|
* @remarks
|
|
987
|
-
* The subscription duration of nodes in the node pool. This parameter
|
|
1090
|
+
* 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`.
|
|
1091
|
+
*
|
|
1092
|
+
* - If `period_unit=Week`, valid values of `period` are {1, 2, 3, 4}.
|
|
988
1093
|
*
|
|
989
|
-
*
|
|
990
|
-
* * 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.
|
|
1094
|
+
* - If `period_unit=Month`, valid values of `period` are {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
991
1095
|
*
|
|
992
1096
|
* @example
|
|
993
1097
|
* 1
|
|
@@ -995,10 +1099,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
995
1099
|
period?: number;
|
|
996
1100
|
/**
|
|
997
1101
|
* @remarks
|
|
998
|
-
* The billing cycle of nodes in the node pool. This parameter
|
|
1102
|
+
* 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`.
|
|
999
1103
|
*
|
|
1000
|
-
*
|
|
1001
|
-
*
|
|
1104
|
+
* - `Month`: billed by month.
|
|
1105
|
+
*
|
|
1106
|
+
* - `Week`: billed by week.
|
|
1002
1107
|
*
|
|
1003
1108
|
* Default value: `Month`.
|
|
1004
1109
|
*
|
|
@@ -1008,14 +1113,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1008
1113
|
periodUnit?: string;
|
|
1009
1114
|
/**
|
|
1010
1115
|
* @remarks
|
|
1011
|
-
* This parameter is
|
|
1116
|
+
* This parameter is deprecated. Use the `image_type` parameter instead.
|
|
1012
1117
|
*
|
|
1013
1118
|
* The OS platform. Valid values:
|
|
1014
1119
|
*
|
|
1015
|
-
*
|
|
1016
|
-
*
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
1120
|
+
* - `AliyunLinux`
|
|
1121
|
+
*
|
|
1122
|
+
* - `CentOS`
|
|
1123
|
+
*
|
|
1124
|
+
* - `Windows`
|
|
1125
|
+
*
|
|
1126
|
+
* - `WindowsCore`
|
|
1019
1127
|
*
|
|
1020
1128
|
* @example
|
|
1021
1129
|
* AliyunLinux
|
|
@@ -1025,30 +1133,41 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1025
1133
|
platform?: string;
|
|
1026
1134
|
/**
|
|
1027
1135
|
* @remarks
|
|
1028
|
-
* The
|
|
1136
|
+
* The private node pool configurations.
|
|
1029
1137
|
*/
|
|
1030
1138
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1031
1139
|
/**
|
|
1032
1140
|
* @remarks
|
|
1033
|
-
*
|
|
1141
|
+
* A list of ApsaraDB RDS instances.
|
|
1034
1142
|
*/
|
|
1035
1143
|
rdsInstances?: string[];
|
|
1144
|
+
/**
|
|
1145
|
+
* @remarks
|
|
1146
|
+
* The resource pool and resource pool policy that are used when you create an instance. If you specify this parameter, note the following points:
|
|
1147
|
+
* This parameter is valid only when you create pay-as-you-go instances.
|
|
1148
|
+
* This parameter cannot be specified at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1149
|
+
*/
|
|
1036
1150
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1037
1151
|
/**
|
|
1038
1152
|
* @remarks
|
|
1039
1153
|
* The scaling mode of the scaling group. Valid values:
|
|
1040
1154
|
*
|
|
1041
|
-
*
|
|
1042
|
-
*
|
|
1155
|
+
* - `release`: standard mode. This mode creates and releases ECS instances to perform scaling.
|
|
1156
|
+
*
|
|
1157
|
+
* - `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.
|
|
1043
1158
|
*
|
|
1044
1159
|
* @example
|
|
1045
1160
|
* release
|
|
1046
1161
|
*/
|
|
1047
1162
|
scalingPolicy?: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* @remarks
|
|
1165
|
+
* A list of security group IDs.
|
|
1166
|
+
*/
|
|
1048
1167
|
securityGroupIds?: string[];
|
|
1049
1168
|
/**
|
|
1050
1169
|
* @remarks
|
|
1051
|
-
* The number of instance types
|
|
1170
|
+
* 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].
|
|
1052
1171
|
*
|
|
1053
1172
|
* @example
|
|
1054
1173
|
* 5
|
|
@@ -1056,10 +1175,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1056
1175
|
spotInstancePools?: number;
|
|
1057
1176
|
/**
|
|
1058
1177
|
* @remarks
|
|
1059
|
-
* Specifies whether to enable the
|
|
1178
|
+
* 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:
|
|
1179
|
+
*
|
|
1180
|
+
* - `true`: enables the feature of supplementing spot instances.
|
|
1060
1181
|
*
|
|
1061
|
-
*
|
|
1062
|
-
* * `false`: does not supplement preemptible instances.
|
|
1182
|
+
* - `false`: disables the feature of supplementing spot instances.
|
|
1063
1183
|
*
|
|
1064
1184
|
* @example
|
|
1065
1185
|
* false
|
|
@@ -1067,18 +1187,20 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1067
1187
|
spotInstanceRemedy?: boolean;
|
|
1068
1188
|
/**
|
|
1069
1189
|
* @remarks
|
|
1070
|
-
* The
|
|
1190
|
+
* The price range for the spot instance.
|
|
1071
1191
|
*/
|
|
1072
1192
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1073
1193
|
/**
|
|
1074
1194
|
* @remarks
|
|
1075
|
-
* The bidding policy
|
|
1195
|
+
* The bidding policy for the spot instance. Valid values:
|
|
1076
1196
|
*
|
|
1077
|
-
*
|
|
1078
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
1079
|
-
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
1197
|
+
* - `NoSpot`: The instance is not a spot instance.
|
|
1080
1198
|
*
|
|
1081
|
-
*
|
|
1199
|
+
* - `SpotWithPriceLimit`: The instance is a spot instance for which you can specify the maximum hourly price.
|
|
1200
|
+
*
|
|
1201
|
+
* - `SpotAsPriceGo`: The system automatically bids for the instance. The bid is based on the market price.
|
|
1202
|
+
*
|
|
1203
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1082
1204
|
*
|
|
1083
1205
|
* @example
|
|
1084
1206
|
* SpotWithPriceLimit
|
|
@@ -1086,12 +1208,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1086
1208
|
spotStrategy?: string;
|
|
1087
1209
|
/**
|
|
1088
1210
|
* @remarks
|
|
1089
|
-
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
1211
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
1212
|
+
*
|
|
1213
|
+
* - 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.
|
|
1090
1214
|
*
|
|
1091
|
-
*
|
|
1092
|
-
* * false: disables the burst feature.
|
|
1215
|
+
* - false: disables the performance burst feature.
|
|
1093
1216
|
*
|
|
1094
|
-
* This parameter is
|
|
1217
|
+
* 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).
|
|
1095
1218
|
*
|
|
1096
1219
|
* @example
|
|
1097
1220
|
* true
|
|
@@ -1099,18 +1222,22 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1099
1222
|
systemDiskBurstingEnabled?: boolean;
|
|
1100
1223
|
/**
|
|
1101
1224
|
* @remarks
|
|
1102
|
-
* The
|
|
1225
|
+
* 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.
|
|
1103
1226
|
*/
|
|
1104
1227
|
systemDiskCategories?: string[];
|
|
1105
1228
|
/**
|
|
1106
1229
|
* @remarks
|
|
1107
|
-
* The
|
|
1230
|
+
* The type of the system disk. Valid values:
|
|
1108
1231
|
*
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
*
|
|
1113
|
-
*
|
|
1232
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1233
|
+
*
|
|
1234
|
+
* - `cloud_ssd`: standard SSD.
|
|
1235
|
+
*
|
|
1236
|
+
* - `cloud_essd`: ESSD.
|
|
1237
|
+
*
|
|
1238
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1239
|
+
*
|
|
1240
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1114
1241
|
*
|
|
1115
1242
|
* Default value: `cloud_efficiency`.
|
|
1116
1243
|
*
|
|
@@ -1120,7 +1247,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1120
1247
|
systemDiskCategory?: string;
|
|
1121
1248
|
/**
|
|
1122
1249
|
* @remarks
|
|
1123
|
-
* The encryption algorithm that is used
|
|
1250
|
+
* The encryption algorithm that is used for the system disk. Valid value: aes-256.
|
|
1124
1251
|
*
|
|
1125
1252
|
* @example
|
|
1126
1253
|
* aes-256
|
|
@@ -1130,8 +1257,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1130
1257
|
* @remarks
|
|
1131
1258
|
* Specifies whether to encrypt the system disk. Valid values:
|
|
1132
1259
|
*
|
|
1133
|
-
*
|
|
1134
|
-
*
|
|
1260
|
+
* - true: encrypts the system disk.
|
|
1261
|
+
*
|
|
1262
|
+
* - false: does not encrypt the system disk.
|
|
1135
1263
|
*
|
|
1136
1264
|
* @example
|
|
1137
1265
|
* false
|
|
@@ -1139,7 +1267,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1139
1267
|
systemDiskEncrypted?: boolean;
|
|
1140
1268
|
/**
|
|
1141
1269
|
* @remarks
|
|
1142
|
-
* The ID of the
|
|
1270
|
+
* The ID of the KMS key that is used to encrypt the system disk.
|
|
1143
1271
|
*
|
|
1144
1272
|
* @example
|
|
1145
1273
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1147,12 +1275,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1147
1275
|
systemDiskKmsKeyId?: string;
|
|
1148
1276
|
/**
|
|
1149
1277
|
* @remarks
|
|
1150
|
-
* The performance level
|
|
1278
|
+
* 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).
|
|
1279
|
+
*
|
|
1280
|
+
* - PL0: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
|
|
1281
|
+
*
|
|
1282
|
+
* - PL1: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
|
|
1151
1283
|
*
|
|
1152
|
-
*
|
|
1153
|
-
*
|
|
1154
|
-
*
|
|
1155
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1284
|
+
* - PL2: The maximum concurrent I/O performance is high and the read/write latency is stable.
|
|
1285
|
+
*
|
|
1286
|
+
* - PL3: The maximum concurrent I/O performance is very high and the read/write latency is very stable.
|
|
1156
1287
|
*
|
|
1157
1288
|
* @example
|
|
1158
1289
|
* PL1
|
|
@@ -1160,11 +1291,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1160
1291
|
systemDiskPerformanceLevel?: string;
|
|
1161
1292
|
/**
|
|
1162
1293
|
* @remarks
|
|
1163
|
-
* The
|
|
1294
|
+
* The pre-configured read/write IOPS of the system disk.
|
|
1164
1295
|
*
|
|
1165
1296
|
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1166
1297
|
*
|
|
1167
|
-
* This parameter is
|
|
1298
|
+
* 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).
|
|
1168
1299
|
*
|
|
1169
1300
|
* @example
|
|
1170
1301
|
* 1000
|
|
@@ -1172,31 +1303,38 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1172
1303
|
systemDiskProvisionedIops?: number;
|
|
1173
1304
|
/**
|
|
1174
1305
|
* @remarks
|
|
1175
|
-
* The size of the system disk. Unit: GiB
|
|
1306
|
+
* The size of the system disk. Unit: GiB.
|
|
1176
1307
|
*
|
|
1177
|
-
* Valid values: 20
|
|
1308
|
+
* Valid values: [20, 2048].
|
|
1178
1309
|
*
|
|
1179
|
-
* The value of this parameter must be
|
|
1310
|
+
* The value of this parameter must be greater than or equal to max{20, ImageSize}.
|
|
1180
1311
|
*
|
|
1181
|
-
* Default value: the
|
|
1312
|
+
* Default value: max{40, The size of the image that corresponds to the ImageId parameter}.
|
|
1182
1313
|
*
|
|
1183
1314
|
* @example
|
|
1184
1315
|
* 120
|
|
1185
1316
|
*/
|
|
1186
1317
|
systemDiskSize?: number;
|
|
1318
|
+
/**
|
|
1319
|
+
* @remarks
|
|
1320
|
+
* The snapshot policy for the system disk.
|
|
1321
|
+
*
|
|
1322
|
+
* @example
|
|
1323
|
+
* sp-0jl6xnmme8v7o935****
|
|
1324
|
+
*/
|
|
1187
1325
|
systemDiskSnapshotPolicyId?: string;
|
|
1188
1326
|
/**
|
|
1189
1327
|
* @remarks
|
|
1190
1328
|
* The tags that you want to add only to ECS instances.
|
|
1191
1329
|
*
|
|
1192
|
-
*
|
|
1330
|
+
* 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\\://".
|
|
1193
1331
|
*/
|
|
1194
1332
|
tags?: Tag[];
|
|
1195
1333
|
/**
|
|
1196
1334
|
* @remarks
|
|
1197
|
-
*
|
|
1335
|
+
* A list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
1198
1336
|
*
|
|
1199
|
-
* >
|
|
1337
|
+
* > For high availability, select vSwitches in different zones.
|
|
1200
1338
|
*/
|
|
1201
1339
|
vswitchIds?: string[];
|
|
1202
1340
|
static names(): { [key: string]: string } {
|
|
@@ -1343,10 +1481,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1343
1481
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1344
1482
|
/**
|
|
1345
1483
|
* @remarks
|
|
1346
|
-
* Specifies whether to enable confidential computing
|
|
1484
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1485
|
+
*
|
|
1486
|
+
* - `true`: enables the cluster.
|
|
1347
1487
|
*
|
|
1348
|
-
*
|
|
1349
|
-
* * `false`: disables confidential computing for the cluster.
|
|
1488
|
+
* - `false`: disables the cluster.
|
|
1350
1489
|
*
|
|
1351
1490
|
* Default value: `false`.
|
|
1352
1491
|
*
|
|
@@ -1378,12 +1517,12 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1378
1517
|
export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1379
1518
|
/**
|
|
1380
1519
|
* @remarks
|
|
1381
|
-
* The
|
|
1520
|
+
* The auto scaling configurations.
|
|
1382
1521
|
*/
|
|
1383
1522
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1384
1523
|
/**
|
|
1385
1524
|
* @remarks
|
|
1386
|
-
* Specifies whether
|
|
1525
|
+
* Specifies whether to run the task in parallel.
|
|
1387
1526
|
*
|
|
1388
1527
|
* @example
|
|
1389
1528
|
* true
|
|
@@ -1391,32 +1530,32 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1391
1530
|
concurrency?: boolean;
|
|
1392
1531
|
/**
|
|
1393
1532
|
* @remarks
|
|
1394
|
-
* The configurations
|
|
1533
|
+
* The Kubernetes-related configurations.
|
|
1395
1534
|
*/
|
|
1396
1535
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1397
1536
|
/**
|
|
1398
1537
|
* @remarks
|
|
1399
|
-
* The configurations of the managed node pool
|
|
1538
|
+
* The configurations of the managed node pool.
|
|
1400
1539
|
*/
|
|
1401
1540
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1402
1541
|
/**
|
|
1403
1542
|
* @remarks
|
|
1404
|
-
* The
|
|
1543
|
+
* The node pool configurations.
|
|
1405
1544
|
*/
|
|
1406
1545
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1407
1546
|
/**
|
|
1408
1547
|
* @remarks
|
|
1409
|
-
* The configurations of the scaling group
|
|
1548
|
+
* The configurations of the node pool scaling group.
|
|
1410
1549
|
*/
|
|
1411
1550
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1412
1551
|
/**
|
|
1413
1552
|
* @remarks
|
|
1414
|
-
* The configurations of
|
|
1553
|
+
* The configurations of the Kubernetes cluster for confidential computing.
|
|
1415
1554
|
*/
|
|
1416
1555
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1417
1556
|
/**
|
|
1418
1557
|
* @remarks
|
|
1419
|
-
*
|
|
1558
|
+
* Synchronously updates node labels and taints.
|
|
1420
1559
|
*
|
|
1421
1560
|
* @example
|
|
1422
1561
|
* true
|