@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
package/src/models/Nodepool.ts
CHANGED
|
@@ -13,7 +13,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
13
13
|
* @remarks
|
|
14
14
|
* This parameter is deprecated.
|
|
15
15
|
*
|
|
16
|
-
* The
|
|
16
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 5
|
|
@@ -25,10 +25,11 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
25
25
|
* @remarks
|
|
26
26
|
* This parameter is deprecated.
|
|
27
27
|
*
|
|
28
|
-
* The
|
|
28
|
+
* The billing method of the EIP. Valid values:
|
|
29
29
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
31
|
+
*
|
|
32
|
+
* - `PayByTraffic`: Pay-by-traffic.
|
|
32
33
|
*
|
|
33
34
|
* Default value: PayByBandwidth.
|
|
34
35
|
*
|
|
@@ -40,10 +41,11 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
40
41
|
eipInternetChargeType?: string;
|
|
41
42
|
/**
|
|
42
43
|
* @remarks
|
|
43
|
-
* Specifies whether to enable auto
|
|
44
|
+
* Specifies whether to enable auto-scaling.
|
|
45
|
+
*
|
|
46
|
+
* - `true`: Enables auto-scaling for the node pool.
|
|
44
47
|
*
|
|
45
|
-
*
|
|
46
|
-
* * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
|
|
48
|
+
* - `false`: Disables auto-scaling. If you set this parameter to false, other parameters in the `auto_scaling` object do not take effect.
|
|
47
49
|
*
|
|
48
50
|
* Default value: `false`.
|
|
49
51
|
*
|
|
@@ -57,10 +59,11 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
57
59
|
* @remarks
|
|
58
60
|
* This parameter is deprecated.
|
|
59
61
|
*
|
|
60
|
-
* Specifies whether to associate an
|
|
62
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
63
|
+
*
|
|
64
|
+
* - `true`: Associates an EIP.
|
|
61
65
|
*
|
|
62
|
-
*
|
|
63
|
-
* * `false`: does not associate an EIP with the node pool.
|
|
66
|
+
* - `false`: Does not associate an EIP.
|
|
64
67
|
*
|
|
65
68
|
* Default value: `false`.
|
|
66
69
|
*
|
|
@@ -72,7 +75,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
72
75
|
isBondEip?: boolean;
|
|
73
76
|
/**
|
|
74
77
|
* @remarks
|
|
75
|
-
* The maximum number of instances
|
|
78
|
+
* The maximum number of instances in the scaling group.
|
|
76
79
|
*
|
|
77
80
|
* This parameter is required.
|
|
78
81
|
*
|
|
@@ -82,7 +85,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
82
85
|
maxInstances?: number;
|
|
83
86
|
/**
|
|
84
87
|
* @remarks
|
|
85
|
-
* The minimum number of instances
|
|
88
|
+
* The minimum number of instances in the scaling group.
|
|
86
89
|
*
|
|
87
90
|
* This parameter is required.
|
|
88
91
|
*
|
|
@@ -92,12 +95,15 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
92
95
|
minInstances?: number;
|
|
93
96
|
/**
|
|
94
97
|
* @remarks
|
|
95
|
-
* The
|
|
98
|
+
* The type of auto-scaling, which is determined by the instance type. Valid values:
|
|
99
|
+
*
|
|
100
|
+
* - `cpu`: Standard instances.
|
|
101
|
+
*
|
|
102
|
+
* - `gpu`: GPU-accelerated instances.
|
|
96
103
|
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
* * `spot`: preemptible instance.
|
|
104
|
+
* - `gpushare`: Shared GPU instances.
|
|
105
|
+
*
|
|
106
|
+
* - `spot`: Spot instances.
|
|
101
107
|
*
|
|
102
108
|
* Default value: `cpu`.
|
|
103
109
|
*
|
|
@@ -143,7 +149,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
143
149
|
* @remarks
|
|
144
150
|
* This parameter is deprecated.
|
|
145
151
|
*
|
|
146
|
-
* The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
152
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
147
153
|
*
|
|
148
154
|
* @example
|
|
149
155
|
* 10
|
|
@@ -155,7 +161,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
155
161
|
* @remarks
|
|
156
162
|
* This parameter is deprecated.
|
|
157
163
|
*
|
|
158
|
-
* The
|
|
164
|
+
* The CCN instance ID (CCNID) bound to the enhanced edge node pool.
|
|
159
165
|
*
|
|
160
166
|
* @example
|
|
161
167
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -167,7 +173,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
167
173
|
* @remarks
|
|
168
174
|
* This parameter is deprecated.
|
|
169
175
|
*
|
|
170
|
-
* The region
|
|
176
|
+
* The region where the CCN instance bound to the enhanced edge node pool is located.
|
|
171
177
|
*
|
|
172
178
|
* @example
|
|
173
179
|
* cn-shanghai
|
|
@@ -179,7 +185,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
179
185
|
* @remarks
|
|
180
186
|
* This parameter is deprecated.
|
|
181
187
|
*
|
|
182
|
-
* The
|
|
188
|
+
* The CEN instance ID (CENID) bound to the enhanced edge node pool.
|
|
183
189
|
*
|
|
184
190
|
* @example
|
|
185
191
|
* cen-ey9k9nfhz0f*******
|
|
@@ -191,7 +197,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
191
197
|
* @remarks
|
|
192
198
|
* This parameter is deprecated.
|
|
193
199
|
*
|
|
194
|
-
* The subscription duration of the enhanced edge node pool.
|
|
200
|
+
* The subscription duration of the enhanced edge node pool. Unit: month.
|
|
195
201
|
*
|
|
196
202
|
* @example
|
|
197
203
|
* 1
|
|
@@ -231,10 +237,11 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
231
237
|
export class NodepoolKubernetesConfig extends $dara.Model {
|
|
232
238
|
/**
|
|
233
239
|
* @remarks
|
|
234
|
-
* Specifies whether to install
|
|
240
|
+
* Specifies whether to install Cloud Monitor on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
|
|
241
|
+
*
|
|
242
|
+
* - `true`: Installs Cloud Monitor on ECS nodes.
|
|
235
243
|
*
|
|
236
|
-
*
|
|
237
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
244
|
+
* - `false`: Does not install Cloud Monitor on ECS nodes.
|
|
238
245
|
*
|
|
239
246
|
* Default value: `false`.
|
|
240
247
|
*
|
|
@@ -244,10 +251,11 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
244
251
|
cmsEnabled?: boolean;
|
|
245
252
|
/**
|
|
246
253
|
* @remarks
|
|
247
|
-
* The CPU management policy
|
|
254
|
+
* The CPU management policy for the node. The following policies are supported for clusters of Kubernetes v1.12.6 or later:
|
|
255
|
+
*
|
|
256
|
+
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
248
257
|
*
|
|
249
|
-
*
|
|
250
|
-
* * `none`: specifies that the default CPU affinity is used.
|
|
258
|
+
* - `none`: Indicates that the existing default CPU affinity scheme is enabled.
|
|
251
259
|
*
|
|
252
260
|
* Default value: `none`.
|
|
253
261
|
*
|
|
@@ -257,17 +265,18 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
257
265
|
cpuPolicy?: string;
|
|
258
266
|
/**
|
|
259
267
|
* @remarks
|
|
260
|
-
* The
|
|
268
|
+
* The node labels. Adds labels to the nodes of the Kubernetes cluster.
|
|
261
269
|
*/
|
|
262
270
|
labels?: Tag[];
|
|
263
271
|
/**
|
|
264
272
|
* @remarks
|
|
265
|
-
* The
|
|
273
|
+
* The node name consists of three parts: a prefix, the node IP address, and a suffix.
|
|
266
274
|
*
|
|
267
|
-
*
|
|
268
|
-
* * The node IP address is the complete private IP address of the node.
|
|
275
|
+
* - The prefix and suffix can each consist of one or more parts 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.
|
|
269
276
|
*
|
|
270
|
-
*
|
|
277
|
+
* - The node IP address is the complete private IP address of the node.
|
|
278
|
+
*
|
|
279
|
+
* The parameter consists of four parts separated by commas. For example, if you pass the string "customized,aliyun,ip,com", the node name is aliyun.192.168.xxx.xxx.com. In this example, "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix.
|
|
271
280
|
*
|
|
272
281
|
* @example
|
|
273
282
|
* customized,aliyun,ip,com
|
|
@@ -277,11 +286,13 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
277
286
|
* @remarks
|
|
278
287
|
* The container runtime. Valid values:
|
|
279
288
|
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
289
|
+
* - `containerd`: Recommended. This option is supported for all cluster versions.
|
|
290
|
+
*
|
|
291
|
+
* - `Sandboxed-Container.runv`: A sandboxed container that provides higher isolation. This option is supported for clusters of Kubernetes v1.24 or earlier.
|
|
283
292
|
*
|
|
284
|
-
*
|
|
293
|
+
* - `docker`: This option is supported for clusters of Kubernetes v1.22 or earlier.
|
|
294
|
+
*
|
|
295
|
+
* Default value: `containerd`
|
|
285
296
|
*
|
|
286
297
|
* This parameter is required.
|
|
287
298
|
*
|
|
@@ -291,7 +302,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
291
302
|
runtime?: string;
|
|
292
303
|
/**
|
|
293
304
|
* @remarks
|
|
294
|
-
* The
|
|
305
|
+
* The container runtime version.
|
|
295
306
|
*
|
|
296
307
|
* This parameter is required.
|
|
297
308
|
*
|
|
@@ -301,12 +312,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
301
312
|
runtimeVersion?: string;
|
|
302
313
|
/**
|
|
303
314
|
* @remarks
|
|
304
|
-
* The configurations
|
|
315
|
+
* The taint configurations.
|
|
305
316
|
*/
|
|
306
317
|
taints?: Taint[];
|
|
307
318
|
/**
|
|
308
319
|
* @remarks
|
|
309
|
-
* The
|
|
320
|
+
* The custom data of the node.
|
|
310
321
|
*
|
|
311
322
|
* @example
|
|
312
323
|
* MXM=
|
|
@@ -356,7 +367,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
356
367
|
export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
357
368
|
/**
|
|
358
369
|
* @remarks
|
|
359
|
-
*
|
|
370
|
+
* Specifies whether to allow restarting nodes.
|
|
360
371
|
*
|
|
361
372
|
* @example
|
|
362
373
|
* true
|
|
@@ -386,7 +397,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
386
397
|
export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
387
398
|
/**
|
|
388
399
|
* @remarks
|
|
389
|
-
*
|
|
400
|
+
* Specifies whether to allow auto-upgrading the kubelet.
|
|
390
401
|
*
|
|
391
402
|
* @example
|
|
392
403
|
* true
|
|
@@ -416,7 +427,7 @@ export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
416
427
|
export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
417
428
|
/**
|
|
418
429
|
* @remarks
|
|
419
|
-
*
|
|
430
|
+
* Specifies whether to allow restarting nodes.
|
|
420
431
|
*
|
|
421
432
|
* @example
|
|
422
433
|
* true
|
|
@@ -424,7 +435,7 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
424
435
|
restartNode?: boolean;
|
|
425
436
|
/**
|
|
426
437
|
* @remarks
|
|
427
|
-
* The
|
|
438
|
+
* The vulnerability levels that are allowed to be automatically fixed, separated by commas.
|
|
428
439
|
*
|
|
429
440
|
* @example
|
|
430
441
|
* asap,nntf
|
|
@@ -456,10 +467,11 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
456
467
|
export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
457
468
|
/**
|
|
458
469
|
* @remarks
|
|
459
|
-
* Specifies whether to enable auto
|
|
470
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
471
|
+
*
|
|
472
|
+
* - `true`: Enables auto-upgrade.
|
|
460
473
|
*
|
|
461
|
-
*
|
|
462
|
-
* * `false`: disables auto update.
|
|
474
|
+
* - `false`: Disables auto-upgrade.
|
|
463
475
|
*
|
|
464
476
|
* @example
|
|
465
477
|
* false
|
|
@@ -467,7 +479,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
467
479
|
autoUpgrade?: boolean;
|
|
468
480
|
/**
|
|
469
481
|
* @remarks
|
|
470
|
-
* The maximum number of unavailable nodes.
|
|
482
|
+
* The maximum number of unavailable nodes. Value range: [1, 1000].
|
|
471
483
|
*
|
|
472
484
|
* Default value: 1.
|
|
473
485
|
*
|
|
@@ -477,7 +489,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
477
489
|
maxUnavailable?: number;
|
|
478
490
|
/**
|
|
479
491
|
* @remarks
|
|
480
|
-
* The number of
|
|
492
|
+
* The number of extra nodes.
|
|
481
493
|
*
|
|
482
494
|
* @example
|
|
483
495
|
* 0
|
|
@@ -485,7 +497,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
485
497
|
surge?: number;
|
|
486
498
|
/**
|
|
487
499
|
* @remarks
|
|
488
|
-
* The percentage of
|
|
500
|
+
* The percentage of extra nodes. You must specify this parameter or `surge`.
|
|
489
501
|
*
|
|
490
502
|
* @example
|
|
491
503
|
* 0
|
|
@@ -519,12 +531,14 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
519
531
|
}
|
|
520
532
|
|
|
521
533
|
export class NodepoolManagement extends $dara.Model {
|
|
534
|
+
autoFaultDiagnosis?: boolean;
|
|
522
535
|
/**
|
|
523
536
|
* @remarks
|
|
524
|
-
*
|
|
537
|
+
* Auto repair. This takes effect only when `enable=true`.
|
|
538
|
+
*
|
|
539
|
+
* - `true`: Enables auto repair.
|
|
525
540
|
*
|
|
526
|
-
*
|
|
527
|
-
* * `false`: disables auto repair.
|
|
541
|
+
* - `false`: Disables auto repair.
|
|
528
542
|
*
|
|
529
543
|
* @example
|
|
530
544
|
* false
|
|
@@ -532,12 +546,12 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
532
546
|
autoRepair?: boolean;
|
|
533
547
|
/**
|
|
534
548
|
* @remarks
|
|
535
|
-
* The auto
|
|
549
|
+
* The auto-repair policy for nodes.
|
|
536
550
|
*/
|
|
537
551
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
538
552
|
/**
|
|
539
553
|
* @remarks
|
|
540
|
-
*
|
|
554
|
+
* Specifies whether to enable auto-upgrade.
|
|
541
555
|
*
|
|
542
556
|
* @example
|
|
543
557
|
* true
|
|
@@ -545,12 +559,12 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
545
559
|
autoUpgrade?: boolean;
|
|
546
560
|
/**
|
|
547
561
|
* @remarks
|
|
548
|
-
* The auto
|
|
562
|
+
* The auto-upgrade policy.
|
|
549
563
|
*/
|
|
550
564
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
551
565
|
/**
|
|
552
566
|
* @remarks
|
|
553
|
-
*
|
|
567
|
+
* Specifies whether to automatically fix CVEs.
|
|
554
568
|
*
|
|
555
569
|
* @example
|
|
556
570
|
* true
|
|
@@ -558,15 +572,16 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
558
572
|
autoVulFix?: boolean;
|
|
559
573
|
/**
|
|
560
574
|
* @remarks
|
|
561
|
-
* The
|
|
575
|
+
* The auto-fix policy for CVEs.
|
|
562
576
|
*/
|
|
563
577
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
564
578
|
/**
|
|
565
579
|
* @remarks
|
|
566
|
-
*
|
|
580
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
567
581
|
*
|
|
568
|
-
*
|
|
569
|
-
*
|
|
582
|
+
* - `true`: Enables the managed node pool.
|
|
583
|
+
*
|
|
584
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
570
585
|
*
|
|
571
586
|
* @example
|
|
572
587
|
* false
|
|
@@ -574,13 +589,14 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
574
589
|
enable?: boolean;
|
|
575
590
|
/**
|
|
576
591
|
* @remarks
|
|
577
|
-
* The
|
|
592
|
+
* The auto-upgrade configurations. This takes effect only when `enable=true`.
|
|
578
593
|
*
|
|
579
594
|
* @deprecated
|
|
580
595
|
*/
|
|
581
596
|
upgradeConfig?: NodepoolManagementUpgradeConfig;
|
|
582
597
|
static names(): { [key: string]: string } {
|
|
583
598
|
return {
|
|
599
|
+
autoFaultDiagnosis: 'auto_fault_diagnosis',
|
|
584
600
|
autoRepair: 'auto_repair',
|
|
585
601
|
autoRepairPolicy: 'auto_repair_policy',
|
|
586
602
|
autoUpgrade: 'auto_upgrade',
|
|
@@ -594,6 +610,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
594
610
|
|
|
595
611
|
static types(): { [key: string]: any } {
|
|
596
612
|
return {
|
|
613
|
+
autoFaultDiagnosis: 'boolean',
|
|
597
614
|
autoRepair: 'boolean',
|
|
598
615
|
autoRepairPolicy: NodepoolManagementAutoRepairPolicy,
|
|
599
616
|
autoUpgrade: 'boolean',
|
|
@@ -627,6 +644,10 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
627
644
|
}
|
|
628
645
|
|
|
629
646
|
export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
647
|
+
/**
|
|
648
|
+
* @remarks
|
|
649
|
+
* The custom configuration of the node component.
|
|
650
|
+
*/
|
|
630
651
|
customConfig?: { [key: string]: string };
|
|
631
652
|
static names(): { [key: string]: string } {
|
|
632
653
|
return {
|
|
@@ -653,13 +674,23 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
653
674
|
}
|
|
654
675
|
|
|
655
676
|
export class NodepoolNodeComponents extends $dara.Model {
|
|
677
|
+
/**
|
|
678
|
+
* @remarks
|
|
679
|
+
* The configuration of the node component.
|
|
680
|
+
*/
|
|
656
681
|
config?: NodepoolNodeComponentsConfig;
|
|
657
682
|
/**
|
|
683
|
+
* @remarks
|
|
684
|
+
* The name of the node component.
|
|
685
|
+
*
|
|
658
686
|
* @example
|
|
659
687
|
* kubelet
|
|
660
688
|
*/
|
|
661
689
|
name?: string;
|
|
662
690
|
/**
|
|
691
|
+
* @remarks
|
|
692
|
+
* The version of the node component.
|
|
693
|
+
*
|
|
663
694
|
* @example
|
|
664
695
|
* 1.33.3-aliyun.1
|
|
665
696
|
*/
|
|
@@ -695,7 +726,7 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
695
726
|
export class NodepoolNodeConfig extends $dara.Model {
|
|
696
727
|
/**
|
|
697
728
|
* @remarks
|
|
698
|
-
* The parameter settings
|
|
729
|
+
* The Kubelet parameter settings.
|
|
699
730
|
*/
|
|
700
731
|
kubeletConfiguration?: KubeletConfig;
|
|
701
732
|
static names(): { [key: string]: string } {
|
|
@@ -743,10 +774,11 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
743
774
|
resourceGroupId?: string;
|
|
744
775
|
/**
|
|
745
776
|
* @remarks
|
|
746
|
-
* The type of node pool. Valid values:
|
|
777
|
+
* The type of the node pool. Valid values:
|
|
778
|
+
*
|
|
779
|
+
* - `ess`: A regular node pool.
|
|
747
780
|
*
|
|
748
|
-
*
|
|
749
|
-
* * `edge`: edge node pool.
|
|
781
|
+
* - `edge`: An edge node pool.
|
|
750
782
|
*
|
|
751
783
|
* @example
|
|
752
784
|
* ess
|
|
@@ -780,7 +812,7 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
780
812
|
export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
781
813
|
/**
|
|
782
814
|
* @remarks
|
|
783
|
-
* The
|
|
815
|
+
* The private node pool ID.
|
|
784
816
|
*
|
|
785
817
|
* @example
|
|
786
818
|
* eap-bp67acfmxazb4****
|
|
@@ -788,11 +820,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
788
820
|
id?: string;
|
|
789
821
|
/**
|
|
790
822
|
* @remarks
|
|
791
|
-
* The
|
|
823
|
+
* The private node pool type, which is the capacity option for the private pool where the instance is launched. An elastic assurance service or capacity reservation service generates a private pool capacity for instance startup. Valid values:
|
|
792
824
|
*
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
*
|
|
825
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no eligible private pool capacity is available, it uses public pool resources to start.
|
|
826
|
+
*
|
|
827
|
+
* - `Target`: Specified mode. Uses the specified private pool capacity to start the instance. If the private pool capacity is unavailable, the instance fails to start.
|
|
828
|
+
*
|
|
829
|
+
* - `None`: No mode used. The instance will not use private pool capacity to start.
|
|
796
830
|
*
|
|
797
831
|
* @example
|
|
798
832
|
* Open
|
|
@@ -822,8 +856,19 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
822
856
|
}
|
|
823
857
|
|
|
824
858
|
export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
859
|
+
/**
|
|
860
|
+
* @remarks
|
|
861
|
+
* The list of private pool IDs, which are the IDs of elastic assurance services or capacity reservation services. This parameter can only pass Target mode private pool IDs. The value of N ranges from 1 to 20.
|
|
862
|
+
*/
|
|
825
863
|
privatePoolIds?: string[];
|
|
826
864
|
/**
|
|
865
|
+
* @remarks
|
|
866
|
+
* The resource pool policy used when creating an instance. Resource pools include private pools generated by elastic assurance services or capacity reservation services, along with public pools, for instance startup. Valid values:
|
|
867
|
+
* PrivatePoolFirst: Private pool first. When this policy is selected and resource_pool_options.private_pool_ids is specified, the specified private pool is used first. If no private pool is specified or the specified private pool has insufficient capacity, the system automatically matches an open-type private pool. If no eligible private pool is found, the instance is created from the public pool.
|
|
868
|
+
* PrivatePoolOnly: Private pool only. When this policy is selected, you must specify resource_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
869
|
+
* None: Do not use a resource pool policy.
|
|
870
|
+
* Default value: None.
|
|
871
|
+
*
|
|
827
872
|
* @example
|
|
828
873
|
* PrivatePoolFirst
|
|
829
874
|
*/
|
|
@@ -857,7 +902,7 @@ export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
|
857
902
|
export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
858
903
|
/**
|
|
859
904
|
* @remarks
|
|
860
|
-
* The instance type
|
|
905
|
+
* The spot instance type.
|
|
861
906
|
*
|
|
862
907
|
* @example
|
|
863
908
|
* ecs.c6.large
|
|
@@ -865,7 +910,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
865
910
|
instanceType?: string;
|
|
866
911
|
/**
|
|
867
912
|
* @remarks
|
|
868
|
-
* The price
|
|
913
|
+
* The maximum price for a single instance.
|
|
869
914
|
*
|
|
870
915
|
* @example
|
|
871
916
|
* 0.39
|
|
@@ -897,7 +942,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
897
942
|
export class NodepoolScalingGroupTags extends $dara.Model {
|
|
898
943
|
/**
|
|
899
944
|
* @remarks
|
|
900
|
-
* The
|
|
945
|
+
* The name of the tag.
|
|
901
946
|
*
|
|
902
947
|
* @example
|
|
903
948
|
* key
|
|
@@ -905,7 +950,7 @@ export class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
905
950
|
key?: string;
|
|
906
951
|
/**
|
|
907
952
|
* @remarks
|
|
908
|
-
* The value
|
|
953
|
+
* The tag value.
|
|
909
954
|
*
|
|
910
955
|
* @example
|
|
911
956
|
* value
|
|
@@ -937,12 +982,13 @@ export class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
937
982
|
export class NodepoolScalingGroup extends $dara.Model {
|
|
938
983
|
/**
|
|
939
984
|
* @remarks
|
|
940
|
-
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only
|
|
985
|
+
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
986
|
+
*
|
|
987
|
+
* - `true`: Enables auto-renewal.
|
|
941
988
|
*
|
|
942
|
-
*
|
|
943
|
-
* * `false`: disables auto-renewal.
|
|
989
|
+
* - `false`: Disables auto-renewal.
|
|
944
990
|
*
|
|
945
|
-
* Default value: `true
|
|
991
|
+
* Default value: `true`.
|
|
946
992
|
*
|
|
947
993
|
* @example
|
|
948
994
|
* false
|
|
@@ -950,9 +996,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
950
996
|
autoRenew?: boolean;
|
|
951
997
|
/**
|
|
952
998
|
* @remarks
|
|
953
|
-
* The auto-renewal
|
|
999
|
+
* The auto-renewal period for the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
954
1000
|
*
|
|
955
|
-
* If
|
|
1001
|
+
* If `PeriodUnit=Month`, valid values are 1, 2, 3, 6, and 12.
|
|
956
1002
|
*
|
|
957
1003
|
* Default value: 1.
|
|
958
1004
|
*
|
|
@@ -962,10 +1008,11 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
962
1008
|
autoRenewPeriod?: number;
|
|
963
1009
|
/**
|
|
964
1010
|
* @remarks
|
|
965
|
-
*
|
|
1011
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to automatically attempt to create on-demand instances to meet the required number of ECS instances if enough spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
966
1012
|
*
|
|
967
|
-
*
|
|
968
|
-
*
|
|
1013
|
+
* - `true`: Allows automatically attempting to create on-demand instances to meet the required number of ECS instances.
|
|
1014
|
+
*
|
|
1015
|
+
* - `false`: Does not allow automatically attempting to create on-demand instances to meet the required number of ECS instances.
|
|
969
1016
|
*
|
|
970
1017
|
* @example
|
|
971
1018
|
* true
|
|
@@ -973,12 +1020,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
973
1020
|
compensateWithOnDemand?: boolean;
|
|
974
1021
|
/**
|
|
975
1022
|
* @remarks
|
|
976
|
-
* The
|
|
1023
|
+
* The data disk configurations for the nodes in the node pool.
|
|
977
1024
|
*/
|
|
978
1025
|
dataDisks?: DataDisk[];
|
|
979
1026
|
/**
|
|
980
1027
|
* @remarks
|
|
981
|
-
* The
|
|
1028
|
+
* The deployment set ID.
|
|
982
1029
|
*
|
|
983
1030
|
* @example
|
|
984
1031
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -986,16 +1033,20 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
986
1033
|
deploymentsetId?: string;
|
|
987
1034
|
/**
|
|
988
1035
|
* @remarks
|
|
989
|
-
* The
|
|
1036
|
+
* The desired number of nodes in the node pool.
|
|
990
1037
|
*
|
|
991
1038
|
* @example
|
|
992
1039
|
* 2
|
|
993
1040
|
*/
|
|
994
1041
|
desiredSize?: number;
|
|
1042
|
+
/**
|
|
1043
|
+
* @remarks
|
|
1044
|
+
* The block device initialization configurations.
|
|
1045
|
+
*/
|
|
995
1046
|
diskInit?: DiskInit[];
|
|
996
1047
|
/**
|
|
997
1048
|
* @remarks
|
|
998
|
-
* The custom image
|
|
1049
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
999
1050
|
*
|
|
1000
1051
|
* @example
|
|
1001
1052
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -1003,16 +1054,23 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1003
1054
|
imageId?: string;
|
|
1004
1055
|
/**
|
|
1005
1056
|
* @remarks
|
|
1006
|
-
* The type of
|
|
1057
|
+
* The type of OS image. You must specify this parameter or the platform parameter. Valid values:
|
|
1058
|
+
*
|
|
1059
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1060
|
+
*
|
|
1061
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1007
1062
|
*
|
|
1008
|
-
*
|
|
1009
|
-
*
|
|
1010
|
-
*
|
|
1011
|
-
*
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1015
|
-
*
|
|
1063
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
1064
|
+
*
|
|
1065
|
+
* - `AliyunLinuxUEFI`: Alinux2 image for UEFI.
|
|
1066
|
+
*
|
|
1067
|
+
* - `CentOS`: CentOS image.
|
|
1068
|
+
*
|
|
1069
|
+
* - `Windows`: Windows image.
|
|
1070
|
+
*
|
|
1071
|
+
* - `WindowsCore`: Windows Core image.
|
|
1072
|
+
*
|
|
1073
|
+
* - `ContainerOS`: Container-optimized image.
|
|
1016
1074
|
*
|
|
1017
1075
|
* @example
|
|
1018
1076
|
* AliyunLinux
|
|
@@ -1022,8 +1080,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1022
1080
|
* @remarks
|
|
1023
1081
|
* The billing method of the nodes in the node pool. Valid values:
|
|
1024
1082
|
*
|
|
1025
|
-
*
|
|
1026
|
-
*
|
|
1083
|
+
* - `PrePaid`: Subscription.
|
|
1084
|
+
*
|
|
1085
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
1027
1086
|
*
|
|
1028
1087
|
* Default value: `PostPaid`.
|
|
1029
1088
|
*
|
|
@@ -1033,20 +1092,26 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1033
1092
|
* PostPaid
|
|
1034
1093
|
*/
|
|
1035
1094
|
instanceChargeType?: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* @remarks
|
|
1097
|
+
* The metadata access configuration for the ECS instance.
|
|
1098
|
+
* This feature is currently available only to whitelisted users. Submit a ticket to request access.
|
|
1099
|
+
*/
|
|
1036
1100
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1037
1101
|
/**
|
|
1038
1102
|
* @remarks
|
|
1039
|
-
* The instance
|
|
1103
|
+
* The instance types.
|
|
1040
1104
|
*
|
|
1041
1105
|
* This parameter is required.
|
|
1042
1106
|
*/
|
|
1043
1107
|
instanceTypes?: string[];
|
|
1044
1108
|
/**
|
|
1045
1109
|
* @remarks
|
|
1046
|
-
* The billing method
|
|
1110
|
+
* The billing method for the public IP address. Valid values:
|
|
1111
|
+
*
|
|
1112
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
1047
1113
|
*
|
|
1048
|
-
*
|
|
1049
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
1114
|
+
* - `PayByTraffic`: Pay-by-traffic.
|
|
1050
1115
|
*
|
|
1051
1116
|
* @example
|
|
1052
1117
|
* PayByBandwidth
|
|
@@ -1054,7 +1119,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1054
1119
|
internetChargeType?: string;
|
|
1055
1120
|
/**
|
|
1056
1121
|
* @remarks
|
|
1057
|
-
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s.
|
|
1122
|
+
* The maximum outbound bandwidth of the public IP address for the node. Unit: Mbit/s. Value range: [1, 100].
|
|
1058
1123
|
*
|
|
1059
1124
|
* @example
|
|
1060
1125
|
* 10
|
|
@@ -1062,9 +1127,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1062
1127
|
internetMaxBandwidthOut?: number;
|
|
1063
1128
|
/**
|
|
1064
1129
|
* @remarks
|
|
1065
|
-
* The name of the key pair. You must specify this parameter or
|
|
1130
|
+
* The name of the key pair. You must specify this parameter or `login_password`.
|
|
1066
1131
|
*
|
|
1067
|
-
* >
|
|
1132
|
+
* > If you create a managed node pool, you can only specify `key_pair`.
|
|
1068
1133
|
*
|
|
1069
1134
|
* @example
|
|
1070
1135
|
* np-key
|
|
@@ -1072,12 +1137,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1072
1137
|
keyPair?: string;
|
|
1073
1138
|
/**
|
|
1074
1139
|
* @remarks
|
|
1075
|
-
* Specifies whether to
|
|
1140
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1076
1141
|
*/
|
|
1077
1142
|
loginAsNonRoot?: boolean;
|
|
1078
1143
|
/**
|
|
1079
1144
|
* @remarks
|
|
1080
|
-
* The
|
|
1145
|
+
* The SSH logon password. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters long and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1081
1146
|
*
|
|
1082
1147
|
* @example
|
|
1083
1148
|
* Hello1234
|
|
@@ -1085,17 +1150,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1085
1150
|
loginPassword?: string;
|
|
1086
1151
|
/**
|
|
1087
1152
|
* @remarks
|
|
1088
|
-
* The
|
|
1153
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1089
1154
|
*
|
|
1090
|
-
*
|
|
1155
|
+
* - `PRIORITY`: Scales instances based on the virtual switches (VSwitchIds.N) you define. If an ECS instance cannot be created in the zone of the higher-priority virtual switch, the system automatically uses the next-priority virtual switch to create the instance.
|
|
1091
1156
|
*
|
|
1092
|
-
*
|
|
1157
|
+
* - `COST_OPTIMIZED`: Attempts to create instances with the lowest vCPU unit price. When multiple instance types are specified for a spot instance in the scaling configuration, the system prioritizes creating the corresponding spot instance. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically try creating on-demand instances if spot instances cannot be created due to inventory or other reasons.
|
|
1093
1158
|
*
|
|
1094
|
-
*
|
|
1159
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or when spot instances are selected.
|
|
1095
1160
|
*
|
|
1096
|
-
*
|
|
1097
|
-
*
|
|
1098
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If the distribution of ECS instances across zones is not balanced due to reasons such as insufficient inventory, you can call the RebalanceInstances operation to evenly distribute the ECS instances across zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html)
|
|
1161
|
+
* - `BALANCE`: Evenly distributes ECS instances across the specified multiple zones in the scaling group. If the zones become unbalanced due to inventory shortages or other reasons, you can use the RebalanceInstances API to balance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1099
1162
|
*
|
|
1100
1163
|
* Default value: `PRIORITY`.
|
|
1101
1164
|
*
|
|
@@ -1105,7 +1168,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1105
1168
|
multiAzPolicy?: string;
|
|
1106
1169
|
/**
|
|
1107
1170
|
* @remarks
|
|
1108
|
-
* The minimum number of
|
|
1171
|
+
* The minimum number of on-demand instances required by the scaling group. Value range: [0, 1000]. When the number of on-demand instances is less than this value, on-demand instances will be created first.
|
|
1109
1172
|
*
|
|
1110
1173
|
* @example
|
|
1111
1174
|
* 0
|
|
@@ -1113,7 +1176,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1113
1176
|
onDemandBaseCapacity?: number;
|
|
1114
1177
|
/**
|
|
1115
1178
|
* @remarks
|
|
1116
|
-
* The percentage of
|
|
1179
|
+
* The percentage of on-demand instances among the instances that exceed the minimum on-demand instance count (`on_demand_base_capacity`). Value range: [0, 100].
|
|
1117
1180
|
*
|
|
1118
1181
|
* @example
|
|
1119
1182
|
* 20
|
|
@@ -1121,7 +1184,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1121
1184
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1122
1185
|
/**
|
|
1123
1186
|
* @remarks
|
|
1124
|
-
* The subscription duration of the nodes in the node pool. This parameter
|
|
1187
|
+
* 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`. If `period_unit` is set to Month, valid values for `period` are 1, 2, 3, 6, and 12.
|
|
1125
1188
|
*
|
|
1126
1189
|
* Default value: 1.
|
|
1127
1190
|
*
|
|
@@ -1131,9 +1194,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1131
1194
|
period?: number;
|
|
1132
1195
|
/**
|
|
1133
1196
|
* @remarks
|
|
1134
|
-
* The billing cycle of the nodes in the node pool.
|
|
1197
|
+
* The billing cycle of the nodes in the node pool. You must specify this parameter when `instance_charge_type` is set to `PrePaid`.
|
|
1135
1198
|
*
|
|
1136
|
-
*
|
|
1199
|
+
* `Month`: The billing cycle is measured in months.
|
|
1137
1200
|
*
|
|
1138
1201
|
* @example
|
|
1139
1202
|
* Month
|
|
@@ -1141,12 +1204,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1141
1204
|
periodUnit?: string;
|
|
1142
1205
|
/**
|
|
1143
1206
|
* @remarks
|
|
1144
|
-
* The distribution
|
|
1207
|
+
* The OS distribution. Valid values:
|
|
1208
|
+
*
|
|
1209
|
+
* - `CentOS`
|
|
1210
|
+
*
|
|
1211
|
+
* - `AliyunLinux`
|
|
1145
1212
|
*
|
|
1146
|
-
*
|
|
1147
|
-
*
|
|
1148
|
-
*
|
|
1149
|
-
* * `WindowsCore`
|
|
1213
|
+
* - `Windows`
|
|
1214
|
+
*
|
|
1215
|
+
* - `WindowsCore`
|
|
1150
1216
|
*
|
|
1151
1217
|
* Default value: `AliyunLinux`.
|
|
1152
1218
|
*
|
|
@@ -1158,14 +1224,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1158
1224
|
platform?: string;
|
|
1159
1225
|
/**
|
|
1160
1226
|
* @remarks
|
|
1161
|
-
* The
|
|
1227
|
+
* The private node pool configurations.
|
|
1162
1228
|
*/
|
|
1163
1229
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
1164
1230
|
/**
|
|
1165
1231
|
* @remarks
|
|
1166
|
-
* The name of the
|
|
1167
|
-
*
|
|
1168
|
-
* > You can configure this parameter when you create a node pool only for an ACK managed cluster that runs Kubernetes 1.22 or later.
|
|
1232
|
+
* The name of the Worker RAM role.
|
|
1233
|
+
* >Notice: This parameter is supported only for ACK managed clusters of v1.22 or later when creating a node pool.
|
|
1169
1234
|
*
|
|
1170
1235
|
* @example
|
|
1171
1236
|
* example-role
|
|
@@ -1173,16 +1238,23 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1173
1238
|
ramRoleName?: string;
|
|
1174
1239
|
/**
|
|
1175
1240
|
* @remarks
|
|
1176
|
-
*
|
|
1241
|
+
* The list of RDS instances.
|
|
1177
1242
|
*/
|
|
1178
1243
|
rdsInstances?: string[];
|
|
1244
|
+
/**
|
|
1245
|
+
* @remarks
|
|
1246
|
+
* The resource pool and resource pool policy used when creating an instance. Note the following when setting this parameter:
|
|
1247
|
+
* This parameter is effective only when creating pay-as-you-go instances.
|
|
1248
|
+
* This parameter cannot be set at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1249
|
+
*/
|
|
1179
1250
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1180
1251
|
/**
|
|
1181
1252
|
* @remarks
|
|
1182
|
-
* The scaling mode
|
|
1253
|
+
* The scaling group mode. Valid values:
|
|
1254
|
+
*
|
|
1255
|
+
* - `release`: Standard mode. Creates and releases ECS instances to meet resource demands.
|
|
1183
1256
|
*
|
|
1184
|
-
*
|
|
1185
|
-
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
|
|
1257
|
+
* - `recycle`: Fast mode. Creates, stops, and starts ECS instances to accelerate scaling. When an instance is stopped, you are not charged for its compute resources, but you are still charged for storage fees. This does not apply to instance types with local disks.
|
|
1186
1258
|
*
|
|
1187
1259
|
* Default value: `release`.
|
|
1188
1260
|
*
|
|
@@ -1192,7 +1264,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1192
1264
|
scalingPolicy?: string;
|
|
1193
1265
|
/**
|
|
1194
1266
|
* @remarks
|
|
1195
|
-
* The ID of the security group
|
|
1267
|
+
* The ID of the security group for the node pool. You must specify this parameter or `security_group_ids`. We recommend using `security_group_ids`.
|
|
1196
1268
|
*
|
|
1197
1269
|
* @example
|
|
1198
1270
|
* sg-2zeihch86ooz9io4****
|
|
@@ -1200,12 +1272,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1200
1272
|
securityGroupId?: string;
|
|
1201
1273
|
/**
|
|
1202
1274
|
* @remarks
|
|
1203
|
-
* The
|
|
1275
|
+
* The list of security group IDs. You must specify this parameter or `security_group_id`. We recommend using `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1204
1276
|
*/
|
|
1205
1277
|
securityGroupIds?: string[];
|
|
1206
1278
|
/**
|
|
1207
1279
|
* @remarks
|
|
1208
|
-
*
|
|
1280
|
+
* Specifies the number of available instance types. The scaling group will create spot instances in a balanced manner across multiple types with the lowest cost. Value range: [1, 10].
|
|
1209
1281
|
*
|
|
1210
1282
|
* @example
|
|
1211
1283
|
* 5
|
|
@@ -1213,10 +1285,11 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1213
1285
|
spotInstancePools?: number;
|
|
1214
1286
|
/**
|
|
1215
1287
|
* @remarks
|
|
1216
|
-
*
|
|
1288
|
+
* Specifies whether to enable replenishment for spot instances. When enabled, the scaling group will attempt to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1217
1289
|
*
|
|
1218
|
-
*
|
|
1219
|
-
*
|
|
1290
|
+
* - `true`: Enables replenishment for spot instances.
|
|
1291
|
+
*
|
|
1292
|
+
* - `false`: Disables replenishment for spot instances.
|
|
1220
1293
|
*
|
|
1221
1294
|
* @example
|
|
1222
1295
|
* false
|
|
@@ -1224,18 +1297,20 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1224
1297
|
spotInstanceRemedy?: boolean;
|
|
1225
1298
|
/**
|
|
1226
1299
|
* @remarks
|
|
1227
|
-
* The
|
|
1300
|
+
* The market price range configuration for a single spot instance type.
|
|
1228
1301
|
*/
|
|
1229
1302
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1230
1303
|
/**
|
|
1231
1304
|
* @remarks
|
|
1232
|
-
* The
|
|
1305
|
+
* The preemption policy for the spot instance. Valid values:
|
|
1306
|
+
*
|
|
1307
|
+
* - NoSpot: A regular on-demand instance.
|
|
1308
|
+
*
|
|
1309
|
+
* - SpotWithPriceLimit: Sets the maximum hourly price for the spot instance.
|
|
1233
1310
|
*
|
|
1234
|
-
*
|
|
1235
|
-
* * SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
|
|
1236
|
-
* * SpotAsPriceGo: bids based on the up-to-date market price are submitted.
|
|
1311
|
+
* - SpotAsPriceGo: The system automatically bids, following the current market price.
|
|
1237
1312
|
*
|
|
1238
|
-
* For more information, see [
|
|
1313
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1239
1314
|
*
|
|
1240
1315
|
* @example
|
|
1241
1316
|
* NoSpot
|
|
@@ -1243,12 +1318,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1243
1318
|
spotStrategy?: string;
|
|
1244
1319
|
/**
|
|
1245
1320
|
* @remarks
|
|
1246
|
-
* Specifies whether to enable
|
|
1321
|
+
* Specifies whether to enable performance burst for the system disk of the nodes. Valid values:
|
|
1247
1322
|
*
|
|
1248
|
-
*
|
|
1249
|
-
* * false: disables the burst feature.
|
|
1323
|
+
* - true: Yes.
|
|
1250
1324
|
*
|
|
1251
|
-
*
|
|
1325
|
+
* - false: No.
|
|
1326
|
+
*
|
|
1327
|
+
* This parameter can be set only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1252
1328
|
*
|
|
1253
1329
|
* @example
|
|
1254
1330
|
* true
|
|
@@ -1256,18 +1332,30 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1256
1332
|
systemDiskBurstingEnabled?: boolean;
|
|
1257
1333
|
/**
|
|
1258
1334
|
* @remarks
|
|
1259
|
-
*
|
|
1335
|
+
* Multiple disk types for the system disk. When a disk type with a higher priority is unavailable, the system automatically tries the next lower-priority disk type to create the system disk. Valid values:
|
|
1336
|
+
*
|
|
1337
|
+
* - cloud: Basic disk.
|
|
1338
|
+
*
|
|
1339
|
+
* - cloud_efficiency: Ultra disk.
|
|
1340
|
+
*
|
|
1341
|
+
* - cloud_ssd: Standard SSD.
|
|
1342
|
+
*
|
|
1343
|
+
* - cloud_essd: ESSD.
|
|
1260
1344
|
*/
|
|
1261
1345
|
systemDiskCategories?: string[];
|
|
1262
1346
|
/**
|
|
1263
1347
|
* @remarks
|
|
1264
|
-
* The type of the system disk. Valid values:
|
|
1348
|
+
* The type of the system disk for the nodes. Valid values:
|
|
1349
|
+
*
|
|
1350
|
+
* - `cloud_efficiency`: Ultra disk.
|
|
1351
|
+
*
|
|
1352
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1265
1353
|
*
|
|
1266
|
-
*
|
|
1267
|
-
*
|
|
1268
|
-
*
|
|
1269
|
-
*
|
|
1270
|
-
*
|
|
1354
|
+
* - `cloud_essd`: ESSD.
|
|
1355
|
+
*
|
|
1356
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1357
|
+
*
|
|
1358
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1271
1359
|
*
|
|
1272
1360
|
* Default value: `cloud_efficiency`.
|
|
1273
1361
|
*
|
|
@@ -1277,7 +1365,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1277
1365
|
systemDiskCategory?: string;
|
|
1278
1366
|
/**
|
|
1279
1367
|
* @remarks
|
|
1280
|
-
* The algorithm
|
|
1368
|
+
* The encryption algorithm used by the system disk of the node. Valid value: aes-256.
|
|
1281
1369
|
*
|
|
1282
1370
|
* @example
|
|
1283
1371
|
* aes-256
|
|
@@ -1285,12 +1373,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1285
1373
|
systemDiskEncryptAlgorithm?: string;
|
|
1286
1374
|
/**
|
|
1287
1375
|
* @remarks
|
|
1288
|
-
* Specifies whether to encrypt the system disk. Valid values: true:
|
|
1376
|
+
* Specifies whether to encrypt the system disk. Valid values: true: Encrypts the disk. false: Does not encrypt the disk.
|
|
1289
1377
|
*/
|
|
1290
1378
|
systemDiskEncrypted?: boolean;
|
|
1291
1379
|
/**
|
|
1292
1380
|
* @remarks
|
|
1293
|
-
* The
|
|
1381
|
+
* The KMS key ID used by the system disk of the node.
|
|
1294
1382
|
*
|
|
1295
1383
|
* @example
|
|
1296
1384
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1298,12 +1386,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1298
1386
|
systemDiskKmsKeyId?: string;
|
|
1299
1387
|
/**
|
|
1300
1388
|
* @remarks
|
|
1301
|
-
* The performance level
|
|
1389
|
+
* The performance level of the system disk for the nodes. This parameter is only effective for ESSDs.
|
|
1390
|
+
*
|
|
1391
|
+
* - PL0: Medium concurrent I/O performance, stable read and write latency.
|
|
1392
|
+
*
|
|
1393
|
+
* - PL1: Medium concurrent I/O performance, stable read and write latency.
|
|
1394
|
+
*
|
|
1395
|
+
* - PL2: High concurrent I/O performance, stable read and write latency.
|
|
1302
1396
|
*
|
|
1303
|
-
*
|
|
1304
|
-
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
1305
|
-
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
1306
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1397
|
+
* - PL3: Extremely high concurrent I/O performance, extremely stable read and write latency.
|
|
1307
1398
|
*
|
|
1308
1399
|
* @example
|
|
1309
1400
|
* PL1
|
|
@@ -1311,9 +1402,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1311
1402
|
systemDiskPerformanceLevel?: string;
|
|
1312
1403
|
/**
|
|
1313
1404
|
* @remarks
|
|
1314
|
-
* The
|
|
1405
|
+
* The pre-configured read and write IOPS of the system disk for the nodes. Possible values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
1315
1406
|
*
|
|
1316
|
-
* This parameter
|
|
1407
|
+
* This parameter can be set only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1317
1408
|
*
|
|
1318
1409
|
* @example
|
|
1319
1410
|
* 1000
|
|
@@ -1321,9 +1412,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1321
1412
|
systemDiskProvisionedIops?: number;
|
|
1322
1413
|
/**
|
|
1323
1414
|
* @remarks
|
|
1324
|
-
* The size of the system disk. Unit: GiB.
|
|
1415
|
+
* The size of the system disk for the nodes. Unit: GiB.
|
|
1325
1416
|
*
|
|
1326
|
-
*
|
|
1417
|
+
* Value range: [40, 500].
|
|
1327
1418
|
*
|
|
1328
1419
|
* @example
|
|
1329
1420
|
* 120
|
|
@@ -1331,14 +1422,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1331
1422
|
systemDiskSize?: number;
|
|
1332
1423
|
/**
|
|
1333
1424
|
* @remarks
|
|
1334
|
-
*
|
|
1425
|
+
* Adds tags only to ECS instances.
|
|
1335
1426
|
*
|
|
1336
|
-
*
|
|
1427
|
+
* Tag keys cannot be repeated and can be up to 128 characters long. Tag keys and values cannot start with "aliyun" or "acs:", or contain "https\\://"" or "http\\://".
|
|
1337
1428
|
*/
|
|
1338
1429
|
tags?: NodepoolScalingGroupTags[];
|
|
1339
1430
|
/**
|
|
1340
1431
|
* @remarks
|
|
1341
|
-
* The
|
|
1432
|
+
* The virtual switch ID.
|
|
1342
1433
|
*
|
|
1343
1434
|
* This parameter is required.
|
|
1344
1435
|
*/
|
|
@@ -1491,7 +1582,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1491
1582
|
export class NodepoolTeeConfig extends $dara.Model {
|
|
1492
1583
|
/**
|
|
1493
1584
|
* @remarks
|
|
1494
|
-
* Specifies whether
|
|
1585
|
+
* Specifies whether it is a confidential computing node pool.
|
|
1495
1586
|
*
|
|
1496
1587
|
* This parameter is required.
|
|
1497
1588
|
*
|
|
@@ -1523,7 +1614,7 @@ export class NodepoolTeeConfig extends $dara.Model {
|
|
|
1523
1614
|
export class Nodepool extends $dara.Model {
|
|
1524
1615
|
/**
|
|
1525
1616
|
* @remarks
|
|
1526
|
-
* The auto
|
|
1617
|
+
* The auto-scaling configurations for the node pool.
|
|
1527
1618
|
*/
|
|
1528
1619
|
autoScaling?: NodepoolAutoScaling;
|
|
1529
1620
|
/**
|
|
@@ -1542,17 +1633,18 @@ export class Nodepool extends $dara.Model {
|
|
|
1542
1633
|
* @remarks
|
|
1543
1634
|
* This parameter is deprecated.
|
|
1544
1635
|
*
|
|
1545
|
-
* The
|
|
1636
|
+
* The edge node pool configurations.
|
|
1546
1637
|
*
|
|
1547
1638
|
* @deprecated
|
|
1548
1639
|
*/
|
|
1549
1640
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1550
1641
|
/**
|
|
1551
1642
|
* @remarks
|
|
1552
|
-
* The network type of the edge node pool. This parameter
|
|
1643
|
+
* The network type of the edge node pool. This parameter is only meaningful for node pools of type `edge`. Valid values:
|
|
1553
1644
|
*
|
|
1554
|
-
*
|
|
1555
|
-
*
|
|
1645
|
+
* - `basic`: Basic.
|
|
1646
|
+
*
|
|
1647
|
+
* - `private`: Private. Supported in versions 1.22 and later.
|
|
1556
1648
|
*
|
|
1557
1649
|
* @example
|
|
1558
1650
|
* basic
|
|
@@ -1560,22 +1652,26 @@ export class Nodepool extends $dara.Model {
|
|
|
1560
1652
|
interconnectMode?: string;
|
|
1561
1653
|
/**
|
|
1562
1654
|
* @remarks
|
|
1563
|
-
* The configurations
|
|
1655
|
+
* The cluster configurations.
|
|
1564
1656
|
*/
|
|
1565
1657
|
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
1566
1658
|
/**
|
|
1567
1659
|
* @remarks
|
|
1568
|
-
* The
|
|
1660
|
+
* The managed node pool configurations.
|
|
1569
1661
|
*/
|
|
1570
1662
|
management?: NodepoolManagement;
|
|
1571
1663
|
/**
|
|
1572
1664
|
* @remarks
|
|
1573
|
-
* The maximum number of nodes that
|
|
1665
|
+
* The maximum number of nodes that the edge node pool can contain. This parameter must be greater than or equal to 0. A value of 0 indicates no extra limit (limited only by the total number of nodes the cluster can accommodate, with no additional limit on the node pool itself). The value of this parameter for an edge node pool is often greater than 0. For ess type node pools and default edge type node pools, this parameter is 0.
|
|
1574
1666
|
*
|
|
1575
1667
|
* @example
|
|
1576
1668
|
* 10
|
|
1577
1669
|
*/
|
|
1578
1670
|
maxNodes?: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* @remarks
|
|
1673
|
+
* The list of node components.
|
|
1674
|
+
*/
|
|
1579
1675
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1580
1676
|
/**
|
|
1581
1677
|
* @remarks
|
|
@@ -1584,17 +1680,17 @@ export class Nodepool extends $dara.Model {
|
|
|
1584
1680
|
nodeConfig?: NodepoolNodeConfig;
|
|
1585
1681
|
/**
|
|
1586
1682
|
* @remarks
|
|
1587
|
-
* The
|
|
1683
|
+
* The node pool configurations.
|
|
1588
1684
|
*/
|
|
1589
1685
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1590
1686
|
/**
|
|
1591
1687
|
* @remarks
|
|
1592
|
-
* The configurations of the scaling group
|
|
1688
|
+
* The configurations of the scaling group for the node pool.
|
|
1593
1689
|
*/
|
|
1594
1690
|
scalingGroup?: NodepoolScalingGroup;
|
|
1595
1691
|
/**
|
|
1596
1692
|
* @remarks
|
|
1597
|
-
* The
|
|
1693
|
+
* The confidential computing node pool configurations.
|
|
1598
1694
|
*/
|
|
1599
1695
|
teeConfig?: NodepoolTeeConfig;
|
|
1600
1696
|
static names(): { [key: string]: string } {
|