@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,7 +10,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
10
10
|
* @remarks
|
|
11
11
|
* This parameter is deprecated.
|
|
12
12
|
*
|
|
13
|
-
* The
|
|
13
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 5
|
|
@@ -22,10 +22,11 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
22
22
|
* @remarks
|
|
23
23
|
* This parameter is deprecated.
|
|
24
24
|
*
|
|
25
|
-
* The
|
|
25
|
+
* The billing method of the EIP. Valid values:
|
|
26
26
|
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
28
|
+
*
|
|
29
|
+
* - `PayByTraffic`: Pay-by-traffic.
|
|
29
30
|
*
|
|
30
31
|
* Default value: PayByBandwidth.
|
|
31
32
|
*
|
|
@@ -37,10 +38,11 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
37
38
|
eipInternetChargeType?: string;
|
|
38
39
|
/**
|
|
39
40
|
* @remarks
|
|
40
|
-
* Specifies whether to enable auto
|
|
41
|
+
* Specifies whether to enable auto-scaling.
|
|
42
|
+
*
|
|
43
|
+
* - `true`: Enables auto-scaling for the node pool.
|
|
41
44
|
*
|
|
42
|
-
*
|
|
43
|
-
* * `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.
|
|
45
|
+
* - `false`: Disables auto-scaling. If you set this parameter to false, other parameters in the `auto_scaling` object do not take effect.
|
|
44
46
|
*
|
|
45
47
|
* Default value: `false`.
|
|
46
48
|
*
|
|
@@ -54,10 +56,11 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
54
56
|
* @remarks
|
|
55
57
|
* This parameter is deprecated.
|
|
56
58
|
*
|
|
57
|
-
* Specifies whether to associate an
|
|
59
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
60
|
+
*
|
|
61
|
+
* - `true`: Associates an EIP.
|
|
58
62
|
*
|
|
59
|
-
*
|
|
60
|
-
* * `false`: does not associate an EIP with the node pool.
|
|
63
|
+
* - `false`: Does not associate an EIP.
|
|
61
64
|
*
|
|
62
65
|
* Default value: `false`.
|
|
63
66
|
*
|
|
@@ -69,7 +72,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
69
72
|
isBondEip?: boolean;
|
|
70
73
|
/**
|
|
71
74
|
* @remarks
|
|
72
|
-
* The maximum number of instances
|
|
75
|
+
* The maximum number of instances in the scaling group.
|
|
73
76
|
*
|
|
74
77
|
* This parameter is required.
|
|
75
78
|
*
|
|
@@ -79,7 +82,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
79
82
|
maxInstances?: number;
|
|
80
83
|
/**
|
|
81
84
|
* @remarks
|
|
82
|
-
* The minimum number of instances
|
|
85
|
+
* The minimum number of instances in the scaling group.
|
|
83
86
|
*
|
|
84
87
|
* This parameter is required.
|
|
85
88
|
*
|
|
@@ -89,12 +92,15 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
89
92
|
minInstances?: number;
|
|
90
93
|
/**
|
|
91
94
|
* @remarks
|
|
92
|
-
* The
|
|
95
|
+
* The type of auto-scaling, which is determined by the instance type. Valid values:
|
|
96
|
+
*
|
|
97
|
+
* - `cpu`: Standard instances.
|
|
98
|
+
*
|
|
99
|
+
* - `gpu`: GPU-accelerated instances.
|
|
93
100
|
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* * `spot`: preemptible instance.
|
|
101
|
+
* - `gpushare`: Shared GPU instances.
|
|
102
|
+
*
|
|
103
|
+
* - `spot`: Spot instances.
|
|
98
104
|
*
|
|
99
105
|
* Default value: `cpu`.
|
|
100
106
|
*
|
|
@@ -118,7 +124,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
118
124
|
* @remarks
|
|
119
125
|
* This parameter is deprecated.
|
|
120
126
|
*
|
|
121
|
-
* The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
127
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
122
128
|
*
|
|
123
129
|
* @example
|
|
124
130
|
* 10
|
|
@@ -130,7 +136,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
130
136
|
* @remarks
|
|
131
137
|
* This parameter is deprecated.
|
|
132
138
|
*
|
|
133
|
-
* The
|
|
139
|
+
* The CCN instance ID (CCNID) bound to the enhanced edge node pool.
|
|
134
140
|
*
|
|
135
141
|
* @example
|
|
136
142
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -142,7 +148,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
142
148
|
* @remarks
|
|
143
149
|
* This parameter is deprecated.
|
|
144
150
|
*
|
|
145
|
-
* The region
|
|
151
|
+
* The region where the CCN instance bound to the enhanced edge node pool is located.
|
|
146
152
|
*
|
|
147
153
|
* @example
|
|
148
154
|
* cn-shanghai
|
|
@@ -154,7 +160,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
154
160
|
* @remarks
|
|
155
161
|
* This parameter is deprecated.
|
|
156
162
|
*
|
|
157
|
-
* The
|
|
163
|
+
* The CEN instance ID (CENID) bound to the enhanced edge node pool.
|
|
158
164
|
*
|
|
159
165
|
* @example
|
|
160
166
|
* cen-ey9k9nfhz0f*******
|
|
@@ -166,7 +172,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
166
172
|
* @remarks
|
|
167
173
|
* This parameter is deprecated.
|
|
168
174
|
*
|
|
169
|
-
* The subscription duration of the enhanced edge node pool.
|
|
175
|
+
* The subscription duration of the enhanced edge node pool. Unit: month.
|
|
170
176
|
*
|
|
171
177
|
* @example
|
|
172
178
|
* 1
|
|
@@ -188,10 +194,11 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
188
194
|
export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
189
195
|
/**
|
|
190
196
|
* @remarks
|
|
191
|
-
* Specifies whether to install
|
|
197
|
+
* 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:
|
|
198
|
+
*
|
|
199
|
+
* - `true`: Installs Cloud Monitor on ECS nodes.
|
|
192
200
|
*
|
|
193
|
-
*
|
|
194
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
201
|
+
* - `false`: Does not install Cloud Monitor on ECS nodes.
|
|
195
202
|
*
|
|
196
203
|
* Default value: `false`.
|
|
197
204
|
*
|
|
@@ -201,10 +208,11 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
201
208
|
cmsEnabled?: boolean;
|
|
202
209
|
/**
|
|
203
210
|
* @remarks
|
|
204
|
-
* The CPU management policy
|
|
211
|
+
* The CPU management policy for the node. The following policies are supported for clusters of Kubernetes v1.12.6 or later:
|
|
212
|
+
*
|
|
213
|
+
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
205
214
|
*
|
|
206
|
-
*
|
|
207
|
-
* * `none`: specifies that the default CPU affinity is used.
|
|
215
|
+
* - `none`: Indicates that the existing default CPU affinity scheme is enabled.
|
|
208
216
|
*
|
|
209
217
|
* Default value: `none`.
|
|
210
218
|
*
|
|
@@ -214,17 +222,18 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
214
222
|
cpuPolicy?: string;
|
|
215
223
|
/**
|
|
216
224
|
* @remarks
|
|
217
|
-
* The
|
|
225
|
+
* The node labels. Adds labels to the nodes of the Kubernetes cluster.
|
|
218
226
|
*/
|
|
219
227
|
labels?: Tag[];
|
|
220
228
|
/**
|
|
221
229
|
* @remarks
|
|
222
|
-
* The
|
|
230
|
+
* The node name consists of three parts: a prefix, the node IP address, and a suffix.
|
|
223
231
|
*
|
|
224
|
-
*
|
|
225
|
-
* * The node IP address is the complete private IP address of the node.
|
|
232
|
+
* - 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.
|
|
226
233
|
*
|
|
227
|
-
*
|
|
234
|
+
* - The node IP address is the complete private IP address of the node.
|
|
235
|
+
*
|
|
236
|
+
* 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.
|
|
228
237
|
*
|
|
229
238
|
* @example
|
|
230
239
|
* customized,aliyun,ip,com
|
|
@@ -234,11 +243,13 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
234
243
|
* @remarks
|
|
235
244
|
* The container runtime. Valid values:
|
|
236
245
|
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
246
|
+
* - `containerd`: Recommended. This option is supported for all cluster versions.
|
|
247
|
+
*
|
|
248
|
+
* - `Sandboxed-Container.runv`: A sandboxed container that provides higher isolation. This option is supported for clusters of Kubernetes v1.24 or earlier.
|
|
240
249
|
*
|
|
241
|
-
*
|
|
250
|
+
* - `docker`: This option is supported for clusters of Kubernetes v1.22 or earlier.
|
|
251
|
+
*
|
|
252
|
+
* Default value: `containerd`
|
|
242
253
|
*
|
|
243
254
|
* This parameter is required.
|
|
244
255
|
*
|
|
@@ -248,7 +259,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
248
259
|
runtime?: string;
|
|
249
260
|
/**
|
|
250
261
|
* @remarks
|
|
251
|
-
* The
|
|
262
|
+
* The container runtime version.
|
|
252
263
|
*
|
|
253
264
|
* This parameter is required.
|
|
254
265
|
*
|
|
@@ -258,12 +269,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
258
269
|
runtimeVersion?: string;
|
|
259
270
|
/**
|
|
260
271
|
* @remarks
|
|
261
|
-
* The configurations
|
|
272
|
+
* The taint configurations.
|
|
262
273
|
*/
|
|
263
274
|
taints?: Taint[];
|
|
264
275
|
/**
|
|
265
276
|
* @remarks
|
|
266
|
-
* The
|
|
277
|
+
* The custom data of the node.
|
|
267
278
|
*
|
|
268
279
|
* @example
|
|
269
280
|
* MXM=
|
|
@@ -283,7 +294,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
283
294
|
export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
284
295
|
/**
|
|
285
296
|
* @remarks
|
|
286
|
-
*
|
|
297
|
+
* Specifies whether to allow restarting nodes.
|
|
287
298
|
*
|
|
288
299
|
* @example
|
|
289
300
|
* true
|
|
@@ -303,7 +314,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
303
314
|
export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
304
315
|
/**
|
|
305
316
|
* @remarks
|
|
306
|
-
*
|
|
317
|
+
* Specifies whether to allow auto-upgrading the kubelet.
|
|
307
318
|
*
|
|
308
319
|
* @example
|
|
309
320
|
* true
|
|
@@ -323,7 +334,7 @@ export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
323
334
|
export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
324
335
|
/**
|
|
325
336
|
* @remarks
|
|
326
|
-
*
|
|
337
|
+
* Specifies whether to allow restarting nodes.
|
|
327
338
|
*
|
|
328
339
|
* @example
|
|
329
340
|
* true
|
|
@@ -331,7 +342,7 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
331
342
|
restartNode?: boolean;
|
|
332
343
|
/**
|
|
333
344
|
* @remarks
|
|
334
|
-
* The
|
|
345
|
+
* The vulnerability levels that are allowed to be automatically fixed, separated by commas.
|
|
335
346
|
*
|
|
336
347
|
* @example
|
|
337
348
|
* asap,nntf
|
|
@@ -351,10 +362,11 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
351
362
|
export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
352
363
|
/**
|
|
353
364
|
* @remarks
|
|
354
|
-
* Specifies whether to enable auto
|
|
365
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
366
|
+
*
|
|
367
|
+
* - `true`: Enables auto-upgrade.
|
|
355
368
|
*
|
|
356
|
-
*
|
|
357
|
-
* * `false`: disables auto update.
|
|
369
|
+
* - `false`: Disables auto-upgrade.
|
|
358
370
|
*
|
|
359
371
|
* @example
|
|
360
372
|
* false
|
|
@@ -362,7 +374,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
362
374
|
autoUpgrade?: boolean;
|
|
363
375
|
/**
|
|
364
376
|
* @remarks
|
|
365
|
-
* The maximum number of unavailable nodes.
|
|
377
|
+
* The maximum number of unavailable nodes. Value range: [1, 1000].
|
|
366
378
|
*
|
|
367
379
|
* Default value: 1.
|
|
368
380
|
*
|
|
@@ -372,7 +384,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
372
384
|
maxUnavailable?: number;
|
|
373
385
|
/**
|
|
374
386
|
* @remarks
|
|
375
|
-
* The number of
|
|
387
|
+
* The number of extra nodes.
|
|
376
388
|
*
|
|
377
389
|
* @example
|
|
378
390
|
* 0
|
|
@@ -380,7 +392,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
380
392
|
surge?: number;
|
|
381
393
|
/**
|
|
382
394
|
* @remarks
|
|
383
|
-
* The percentage of
|
|
395
|
+
* The percentage of extra nodes. You must specify this parameter or `surge`.
|
|
384
396
|
*
|
|
385
397
|
* @example
|
|
386
398
|
* 0
|
|
@@ -398,12 +410,14 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
398
410
|
});
|
|
399
411
|
}
|
|
400
412
|
export declare class NodepoolManagement extends $dara.Model {
|
|
413
|
+
autoFaultDiagnosis?: boolean;
|
|
401
414
|
/**
|
|
402
415
|
* @remarks
|
|
403
|
-
*
|
|
416
|
+
* Auto repair. This takes effect only when `enable=true`.
|
|
417
|
+
*
|
|
418
|
+
* - `true`: Enables auto repair.
|
|
404
419
|
*
|
|
405
|
-
*
|
|
406
|
-
* * `false`: disables auto repair.
|
|
420
|
+
* - `false`: Disables auto repair.
|
|
407
421
|
*
|
|
408
422
|
* @example
|
|
409
423
|
* false
|
|
@@ -411,12 +425,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
411
425
|
autoRepair?: boolean;
|
|
412
426
|
/**
|
|
413
427
|
* @remarks
|
|
414
|
-
* The auto
|
|
428
|
+
* The auto-repair policy for nodes.
|
|
415
429
|
*/
|
|
416
430
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
417
431
|
/**
|
|
418
432
|
* @remarks
|
|
419
|
-
*
|
|
433
|
+
* Specifies whether to enable auto-upgrade.
|
|
420
434
|
*
|
|
421
435
|
* @example
|
|
422
436
|
* true
|
|
@@ -424,12 +438,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
424
438
|
autoUpgrade?: boolean;
|
|
425
439
|
/**
|
|
426
440
|
* @remarks
|
|
427
|
-
* The auto
|
|
441
|
+
* The auto-upgrade policy.
|
|
428
442
|
*/
|
|
429
443
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
430
444
|
/**
|
|
431
445
|
* @remarks
|
|
432
|
-
*
|
|
446
|
+
* Specifies whether to automatically fix CVEs.
|
|
433
447
|
*
|
|
434
448
|
* @example
|
|
435
449
|
* true
|
|
@@ -437,15 +451,16 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
437
451
|
autoVulFix?: boolean;
|
|
438
452
|
/**
|
|
439
453
|
* @remarks
|
|
440
|
-
* The
|
|
454
|
+
* The auto-fix policy for CVEs.
|
|
441
455
|
*/
|
|
442
456
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
443
457
|
/**
|
|
444
458
|
* @remarks
|
|
445
|
-
*
|
|
459
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
446
460
|
*
|
|
447
|
-
*
|
|
448
|
-
*
|
|
461
|
+
* - `true`: Enables the managed node pool.
|
|
462
|
+
*
|
|
463
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
449
464
|
*
|
|
450
465
|
* @example
|
|
451
466
|
* false
|
|
@@ -453,7 +468,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
453
468
|
enable?: boolean;
|
|
454
469
|
/**
|
|
455
470
|
* @remarks
|
|
456
|
-
* The
|
|
471
|
+
* The auto-upgrade configurations. This takes effect only when `enable=true`.
|
|
457
472
|
*
|
|
458
473
|
* @deprecated
|
|
459
474
|
*/
|
|
@@ -470,6 +485,10 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
470
485
|
});
|
|
471
486
|
}
|
|
472
487
|
export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
488
|
+
/**
|
|
489
|
+
* @remarks
|
|
490
|
+
* The custom configuration of the node component.
|
|
491
|
+
*/
|
|
473
492
|
customConfig?: {
|
|
474
493
|
[key: string]: string;
|
|
475
494
|
};
|
|
@@ -485,13 +504,23 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
485
504
|
});
|
|
486
505
|
}
|
|
487
506
|
export declare class NodepoolNodeComponents extends $dara.Model {
|
|
507
|
+
/**
|
|
508
|
+
* @remarks
|
|
509
|
+
* The configuration of the node component.
|
|
510
|
+
*/
|
|
488
511
|
config?: NodepoolNodeComponentsConfig;
|
|
489
512
|
/**
|
|
513
|
+
* @remarks
|
|
514
|
+
* The name of the node component.
|
|
515
|
+
*
|
|
490
516
|
* @example
|
|
491
517
|
* kubelet
|
|
492
518
|
*/
|
|
493
519
|
name?: string;
|
|
494
520
|
/**
|
|
521
|
+
* @remarks
|
|
522
|
+
* The version of the node component.
|
|
523
|
+
*
|
|
495
524
|
* @example
|
|
496
525
|
* 1.33.3-aliyun.1
|
|
497
526
|
*/
|
|
@@ -510,7 +539,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
510
539
|
export declare class NodepoolNodeConfig extends $dara.Model {
|
|
511
540
|
/**
|
|
512
541
|
* @remarks
|
|
513
|
-
* The parameter settings
|
|
542
|
+
* The Kubelet parameter settings.
|
|
514
543
|
*/
|
|
515
544
|
kubeletConfiguration?: KubeletConfig;
|
|
516
545
|
static names(): {
|
|
@@ -545,10 +574,11 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
545
574
|
resourceGroupId?: string;
|
|
546
575
|
/**
|
|
547
576
|
* @remarks
|
|
548
|
-
* The type of node pool. Valid values:
|
|
577
|
+
* The type of the node pool. Valid values:
|
|
578
|
+
*
|
|
579
|
+
* - `ess`: A regular node pool.
|
|
549
580
|
*
|
|
550
|
-
*
|
|
551
|
-
* * `edge`: edge node pool.
|
|
581
|
+
* - `edge`: An edge node pool.
|
|
552
582
|
*
|
|
553
583
|
* @example
|
|
554
584
|
* ess
|
|
@@ -568,7 +598,7 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
568
598
|
export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
569
599
|
/**
|
|
570
600
|
* @remarks
|
|
571
|
-
* The
|
|
601
|
+
* The private node pool ID.
|
|
572
602
|
*
|
|
573
603
|
* @example
|
|
574
604
|
* eap-bp67acfmxazb4****
|
|
@@ -576,11 +606,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
576
606
|
id?: string;
|
|
577
607
|
/**
|
|
578
608
|
* @remarks
|
|
579
|
-
* The
|
|
609
|
+
* 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:
|
|
580
610
|
*
|
|
581
|
-
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
611
|
+
* - `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.
|
|
612
|
+
*
|
|
613
|
+
* - `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.
|
|
614
|
+
*
|
|
615
|
+
* - `None`: No mode used. The instance will not use private pool capacity to start.
|
|
584
616
|
*
|
|
585
617
|
* @example
|
|
586
618
|
* Open
|
|
@@ -598,8 +630,19 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
598
630
|
});
|
|
599
631
|
}
|
|
600
632
|
export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
633
|
+
/**
|
|
634
|
+
* @remarks
|
|
635
|
+
* 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.
|
|
636
|
+
*/
|
|
601
637
|
privatePoolIds?: string[];
|
|
602
638
|
/**
|
|
639
|
+
* @remarks
|
|
640
|
+
* 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:
|
|
641
|
+
* 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.
|
|
642
|
+
* 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.
|
|
643
|
+
* None: Do not use a resource pool policy.
|
|
644
|
+
* Default value: None.
|
|
645
|
+
*
|
|
603
646
|
* @example
|
|
604
647
|
* PrivatePoolFirst
|
|
605
648
|
*/
|
|
@@ -618,7 +661,7 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
|
|
|
618
661
|
export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
619
662
|
/**
|
|
620
663
|
* @remarks
|
|
621
|
-
* The instance type
|
|
664
|
+
* The spot instance type.
|
|
622
665
|
*
|
|
623
666
|
* @example
|
|
624
667
|
* ecs.c6.large
|
|
@@ -626,7 +669,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
626
669
|
instanceType?: string;
|
|
627
670
|
/**
|
|
628
671
|
* @remarks
|
|
629
|
-
* The price
|
|
672
|
+
* The maximum price for a single instance.
|
|
630
673
|
*
|
|
631
674
|
* @example
|
|
632
675
|
* 0.39
|
|
@@ -646,7 +689,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
646
689
|
export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
647
690
|
/**
|
|
648
691
|
* @remarks
|
|
649
|
-
* The
|
|
692
|
+
* The name of the tag.
|
|
650
693
|
*
|
|
651
694
|
* @example
|
|
652
695
|
* key
|
|
@@ -654,7 +697,7 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
654
697
|
key?: string;
|
|
655
698
|
/**
|
|
656
699
|
* @remarks
|
|
657
|
-
* The value
|
|
700
|
+
* The tag value.
|
|
658
701
|
*
|
|
659
702
|
* @example
|
|
660
703
|
* value
|
|
@@ -674,12 +717,13 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
674
717
|
export declare class NodepoolScalingGroup extends $dara.Model {
|
|
675
718
|
/**
|
|
676
719
|
* @remarks
|
|
677
|
-
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only
|
|
720
|
+
* 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:
|
|
721
|
+
*
|
|
722
|
+
* - `true`: Enables auto-renewal.
|
|
678
723
|
*
|
|
679
|
-
*
|
|
680
|
-
* * `false`: disables auto-renewal.
|
|
724
|
+
* - `false`: Disables auto-renewal.
|
|
681
725
|
*
|
|
682
|
-
* Default value: `true
|
|
726
|
+
* Default value: `true`.
|
|
683
727
|
*
|
|
684
728
|
* @example
|
|
685
729
|
* false
|
|
@@ -687,9 +731,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
687
731
|
autoRenew?: boolean;
|
|
688
732
|
/**
|
|
689
733
|
* @remarks
|
|
690
|
-
* The auto-renewal
|
|
734
|
+
* The auto-renewal period for the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
691
735
|
*
|
|
692
|
-
* If
|
|
736
|
+
* If `PeriodUnit=Month`, valid values are 1, 2, 3, 6, and 12.
|
|
693
737
|
*
|
|
694
738
|
* Default value: 1.
|
|
695
739
|
*
|
|
@@ -699,10 +743,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
699
743
|
autoRenewPeriod?: number;
|
|
700
744
|
/**
|
|
701
745
|
* @remarks
|
|
702
|
-
*
|
|
746
|
+
* 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:
|
|
703
747
|
*
|
|
704
|
-
*
|
|
705
|
-
*
|
|
748
|
+
* - `true`: Allows automatically attempting to create on-demand instances to meet the required number of ECS instances.
|
|
749
|
+
*
|
|
750
|
+
* - `false`: Does not allow automatically attempting to create on-demand instances to meet the required number of ECS instances.
|
|
706
751
|
*
|
|
707
752
|
* @example
|
|
708
753
|
* true
|
|
@@ -710,12 +755,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
710
755
|
compensateWithOnDemand?: boolean;
|
|
711
756
|
/**
|
|
712
757
|
* @remarks
|
|
713
|
-
* The
|
|
758
|
+
* The data disk configurations for the nodes in the node pool.
|
|
714
759
|
*/
|
|
715
760
|
dataDisks?: DataDisk[];
|
|
716
761
|
/**
|
|
717
762
|
* @remarks
|
|
718
|
-
* The
|
|
763
|
+
* The deployment set ID.
|
|
719
764
|
*
|
|
720
765
|
* @example
|
|
721
766
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -723,16 +768,20 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
723
768
|
deploymentsetId?: string;
|
|
724
769
|
/**
|
|
725
770
|
* @remarks
|
|
726
|
-
* The
|
|
771
|
+
* The desired number of nodes in the node pool.
|
|
727
772
|
*
|
|
728
773
|
* @example
|
|
729
774
|
* 2
|
|
730
775
|
*/
|
|
731
776
|
desiredSize?: number;
|
|
777
|
+
/**
|
|
778
|
+
* @remarks
|
|
779
|
+
* The block device initialization configurations.
|
|
780
|
+
*/
|
|
732
781
|
diskInit?: DiskInit[];
|
|
733
782
|
/**
|
|
734
783
|
* @remarks
|
|
735
|
-
* The custom image
|
|
784
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
736
785
|
*
|
|
737
786
|
* @example
|
|
738
787
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -740,16 +789,23 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
740
789
|
imageId?: string;
|
|
741
790
|
/**
|
|
742
791
|
* @remarks
|
|
743
|
-
* The type of
|
|
792
|
+
* The type of OS image. You must specify this parameter or the platform parameter. Valid values:
|
|
793
|
+
*
|
|
794
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
795
|
+
*
|
|
796
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
744
797
|
*
|
|
745
|
-
*
|
|
746
|
-
*
|
|
747
|
-
*
|
|
748
|
-
*
|
|
749
|
-
*
|
|
750
|
-
*
|
|
751
|
-
*
|
|
752
|
-
*
|
|
798
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
799
|
+
*
|
|
800
|
+
* - `AliyunLinuxUEFI`: Alinux2 image for UEFI.
|
|
801
|
+
*
|
|
802
|
+
* - `CentOS`: CentOS image.
|
|
803
|
+
*
|
|
804
|
+
* - `Windows`: Windows image.
|
|
805
|
+
*
|
|
806
|
+
* - `WindowsCore`: Windows Core image.
|
|
807
|
+
*
|
|
808
|
+
* - `ContainerOS`: Container-optimized image.
|
|
753
809
|
*
|
|
754
810
|
* @example
|
|
755
811
|
* AliyunLinux
|
|
@@ -759,8 +815,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
759
815
|
* @remarks
|
|
760
816
|
* The billing method of the nodes in the node pool. Valid values:
|
|
761
817
|
*
|
|
762
|
-
*
|
|
763
|
-
*
|
|
818
|
+
* - `PrePaid`: Subscription.
|
|
819
|
+
*
|
|
820
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
764
821
|
*
|
|
765
822
|
* Default value: `PostPaid`.
|
|
766
823
|
*
|
|
@@ -770,20 +827,26 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
770
827
|
* PostPaid
|
|
771
828
|
*/
|
|
772
829
|
instanceChargeType?: string;
|
|
830
|
+
/**
|
|
831
|
+
* @remarks
|
|
832
|
+
* The metadata access configuration for the ECS instance.
|
|
833
|
+
* This feature is currently available only to whitelisted users. Submit a ticket to request access.
|
|
834
|
+
*/
|
|
773
835
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
774
836
|
/**
|
|
775
837
|
* @remarks
|
|
776
|
-
* The instance
|
|
838
|
+
* The instance types.
|
|
777
839
|
*
|
|
778
840
|
* This parameter is required.
|
|
779
841
|
*/
|
|
780
842
|
instanceTypes?: string[];
|
|
781
843
|
/**
|
|
782
844
|
* @remarks
|
|
783
|
-
* The billing method
|
|
845
|
+
* The billing method for the public IP address. Valid values:
|
|
846
|
+
*
|
|
847
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
784
848
|
*
|
|
785
|
-
*
|
|
786
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
849
|
+
* - `PayByTraffic`: Pay-by-traffic.
|
|
787
850
|
*
|
|
788
851
|
* @example
|
|
789
852
|
* PayByBandwidth
|
|
@@ -791,7 +854,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
791
854
|
internetChargeType?: string;
|
|
792
855
|
/**
|
|
793
856
|
* @remarks
|
|
794
|
-
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s.
|
|
857
|
+
* The maximum outbound bandwidth of the public IP address for the node. Unit: Mbit/s. Value range: [1, 100].
|
|
795
858
|
*
|
|
796
859
|
* @example
|
|
797
860
|
* 10
|
|
@@ -799,9 +862,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
799
862
|
internetMaxBandwidthOut?: number;
|
|
800
863
|
/**
|
|
801
864
|
* @remarks
|
|
802
|
-
* The name of the key pair. You must specify this parameter or
|
|
865
|
+
* The name of the key pair. You must specify this parameter or `login_password`.
|
|
803
866
|
*
|
|
804
|
-
* >
|
|
867
|
+
* > If you create a managed node pool, you can only specify `key_pair`.
|
|
805
868
|
*
|
|
806
869
|
* @example
|
|
807
870
|
* np-key
|
|
@@ -809,12 +872,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
809
872
|
keyPair?: string;
|
|
810
873
|
/**
|
|
811
874
|
* @remarks
|
|
812
|
-
* Specifies whether to
|
|
875
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
813
876
|
*/
|
|
814
877
|
loginAsNonRoot?: boolean;
|
|
815
878
|
/**
|
|
816
879
|
* @remarks
|
|
817
|
-
* The
|
|
880
|
+
* 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.
|
|
818
881
|
*
|
|
819
882
|
* @example
|
|
820
883
|
* Hello1234
|
|
@@ -822,17 +885,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
822
885
|
loginPassword?: string;
|
|
823
886
|
/**
|
|
824
887
|
* @remarks
|
|
825
|
-
* The
|
|
888
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
826
889
|
*
|
|
827
|
-
*
|
|
890
|
+
* - `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.
|
|
828
891
|
*
|
|
829
|
-
*
|
|
892
|
+
* - `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.
|
|
830
893
|
*
|
|
831
|
-
*
|
|
894
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or when spot instances are selected.
|
|
832
895
|
*
|
|
833
|
-
*
|
|
834
|
-
*
|
|
835
|
-
* * `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)
|
|
896
|
+
* - `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).
|
|
836
897
|
*
|
|
837
898
|
* Default value: `PRIORITY`.
|
|
838
899
|
*
|
|
@@ -842,7 +903,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
842
903
|
multiAzPolicy?: string;
|
|
843
904
|
/**
|
|
844
905
|
* @remarks
|
|
845
|
-
* The minimum number of
|
|
906
|
+
* 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.
|
|
846
907
|
*
|
|
847
908
|
* @example
|
|
848
909
|
* 0
|
|
@@ -850,7 +911,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
850
911
|
onDemandBaseCapacity?: number;
|
|
851
912
|
/**
|
|
852
913
|
* @remarks
|
|
853
|
-
* The percentage of
|
|
914
|
+
* 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].
|
|
854
915
|
*
|
|
855
916
|
* @example
|
|
856
917
|
* 20
|
|
@@ -858,7 +919,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
858
919
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
859
920
|
/**
|
|
860
921
|
* @remarks
|
|
861
|
-
* The subscription duration of the nodes in the node pool. This parameter
|
|
922
|
+
* 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.
|
|
862
923
|
*
|
|
863
924
|
* Default value: 1.
|
|
864
925
|
*
|
|
@@ -868,9 +929,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
868
929
|
period?: number;
|
|
869
930
|
/**
|
|
870
931
|
* @remarks
|
|
871
|
-
* The billing cycle of the nodes in the node pool.
|
|
932
|
+
* The billing cycle of the nodes in the node pool. You must specify this parameter when `instance_charge_type` is set to `PrePaid`.
|
|
872
933
|
*
|
|
873
|
-
*
|
|
934
|
+
* `Month`: The billing cycle is measured in months.
|
|
874
935
|
*
|
|
875
936
|
* @example
|
|
876
937
|
* Month
|
|
@@ -878,12 +939,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
878
939
|
periodUnit?: string;
|
|
879
940
|
/**
|
|
880
941
|
* @remarks
|
|
881
|
-
* The distribution
|
|
942
|
+
* The OS distribution. Valid values:
|
|
943
|
+
*
|
|
944
|
+
* - `CentOS`
|
|
945
|
+
*
|
|
946
|
+
* - `AliyunLinux`
|
|
882
947
|
*
|
|
883
|
-
*
|
|
884
|
-
*
|
|
885
|
-
*
|
|
886
|
-
* * `WindowsCore`
|
|
948
|
+
* - `Windows`
|
|
949
|
+
*
|
|
950
|
+
* - `WindowsCore`
|
|
887
951
|
*
|
|
888
952
|
* Default value: `AliyunLinux`.
|
|
889
953
|
*
|
|
@@ -895,14 +959,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
895
959
|
platform?: string;
|
|
896
960
|
/**
|
|
897
961
|
* @remarks
|
|
898
|
-
* The
|
|
962
|
+
* The private node pool configurations.
|
|
899
963
|
*/
|
|
900
964
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
901
965
|
/**
|
|
902
966
|
* @remarks
|
|
903
|
-
* The name of the
|
|
904
|
-
*
|
|
905
|
-
* > You can configure this parameter when you create a node pool only for an ACK managed cluster that runs Kubernetes 1.22 or later.
|
|
967
|
+
* The name of the Worker RAM role.
|
|
968
|
+
* >Notice: This parameter is supported only for ACK managed clusters of v1.22 or later when creating a node pool.
|
|
906
969
|
*
|
|
907
970
|
* @example
|
|
908
971
|
* example-role
|
|
@@ -910,16 +973,23 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
910
973
|
ramRoleName?: string;
|
|
911
974
|
/**
|
|
912
975
|
* @remarks
|
|
913
|
-
*
|
|
976
|
+
* The list of RDS instances.
|
|
914
977
|
*/
|
|
915
978
|
rdsInstances?: string[];
|
|
979
|
+
/**
|
|
980
|
+
* @remarks
|
|
981
|
+
* The resource pool and resource pool policy used when creating an instance. Note the following when setting this parameter:
|
|
982
|
+
* This parameter is effective only when creating pay-as-you-go instances.
|
|
983
|
+
* This parameter cannot be set at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
984
|
+
*/
|
|
916
985
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
917
986
|
/**
|
|
918
987
|
* @remarks
|
|
919
|
-
* The scaling mode
|
|
988
|
+
* The scaling group mode. Valid values:
|
|
989
|
+
*
|
|
990
|
+
* - `release`: Standard mode. Creates and releases ECS instances to meet resource demands.
|
|
920
991
|
*
|
|
921
|
-
*
|
|
922
|
-
* * `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.
|
|
992
|
+
* - `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.
|
|
923
993
|
*
|
|
924
994
|
* Default value: `release`.
|
|
925
995
|
*
|
|
@@ -929,7 +999,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
929
999
|
scalingPolicy?: string;
|
|
930
1000
|
/**
|
|
931
1001
|
* @remarks
|
|
932
|
-
* The ID of the security group
|
|
1002
|
+
* 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`.
|
|
933
1003
|
*
|
|
934
1004
|
* @example
|
|
935
1005
|
* sg-2zeihch86ooz9io4****
|
|
@@ -937,12 +1007,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
937
1007
|
securityGroupId?: string;
|
|
938
1008
|
/**
|
|
939
1009
|
* @remarks
|
|
940
|
-
* The
|
|
1010
|
+
* 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.
|
|
941
1011
|
*/
|
|
942
1012
|
securityGroupIds?: string[];
|
|
943
1013
|
/**
|
|
944
1014
|
* @remarks
|
|
945
|
-
*
|
|
1015
|
+
* 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].
|
|
946
1016
|
*
|
|
947
1017
|
* @example
|
|
948
1018
|
* 5
|
|
@@ -950,10 +1020,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
950
1020
|
spotInstancePools?: number;
|
|
951
1021
|
/**
|
|
952
1022
|
* @remarks
|
|
953
|
-
*
|
|
1023
|
+
* 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:
|
|
954
1024
|
*
|
|
955
|
-
*
|
|
956
|
-
*
|
|
1025
|
+
* - `true`: Enables replenishment for spot instances.
|
|
1026
|
+
*
|
|
1027
|
+
* - `false`: Disables replenishment for spot instances.
|
|
957
1028
|
*
|
|
958
1029
|
* @example
|
|
959
1030
|
* false
|
|
@@ -961,18 +1032,20 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
961
1032
|
spotInstanceRemedy?: boolean;
|
|
962
1033
|
/**
|
|
963
1034
|
* @remarks
|
|
964
|
-
* The
|
|
1035
|
+
* The market price range configuration for a single spot instance type.
|
|
965
1036
|
*/
|
|
966
1037
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
967
1038
|
/**
|
|
968
1039
|
* @remarks
|
|
969
|
-
* The
|
|
1040
|
+
* The preemption policy for the spot instance. Valid values:
|
|
1041
|
+
*
|
|
1042
|
+
* - NoSpot: A regular on-demand instance.
|
|
1043
|
+
*
|
|
1044
|
+
* - SpotWithPriceLimit: Sets the maximum hourly price for the spot instance.
|
|
970
1045
|
*
|
|
971
|
-
*
|
|
972
|
-
* * SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
|
|
973
|
-
* * SpotAsPriceGo: bids based on the up-to-date market price are submitted.
|
|
1046
|
+
* - SpotAsPriceGo: The system automatically bids, following the current market price.
|
|
974
1047
|
*
|
|
975
|
-
* For more information, see [
|
|
1048
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
976
1049
|
*
|
|
977
1050
|
* @example
|
|
978
1051
|
* NoSpot
|
|
@@ -980,12 +1053,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
980
1053
|
spotStrategy?: string;
|
|
981
1054
|
/**
|
|
982
1055
|
* @remarks
|
|
983
|
-
* Specifies whether to enable
|
|
1056
|
+
* Specifies whether to enable performance burst for the system disk of the nodes. Valid values:
|
|
984
1057
|
*
|
|
985
|
-
*
|
|
986
|
-
* * false: disables the burst feature.
|
|
1058
|
+
* - true: Yes.
|
|
987
1059
|
*
|
|
988
|
-
*
|
|
1060
|
+
* - false: No.
|
|
1061
|
+
*
|
|
1062
|
+
* 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).
|
|
989
1063
|
*
|
|
990
1064
|
* @example
|
|
991
1065
|
* true
|
|
@@ -993,18 +1067,30 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
993
1067
|
systemDiskBurstingEnabled?: boolean;
|
|
994
1068
|
/**
|
|
995
1069
|
* @remarks
|
|
996
|
-
*
|
|
1070
|
+
* 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:
|
|
1071
|
+
*
|
|
1072
|
+
* - cloud: Basic disk.
|
|
1073
|
+
*
|
|
1074
|
+
* - cloud_efficiency: Ultra disk.
|
|
1075
|
+
*
|
|
1076
|
+
* - cloud_ssd: Standard SSD.
|
|
1077
|
+
*
|
|
1078
|
+
* - cloud_essd: ESSD.
|
|
997
1079
|
*/
|
|
998
1080
|
systemDiskCategories?: string[];
|
|
999
1081
|
/**
|
|
1000
1082
|
* @remarks
|
|
1001
|
-
* The type of the system disk. Valid values:
|
|
1083
|
+
* The type of the system disk for the nodes. Valid values:
|
|
1084
|
+
*
|
|
1085
|
+
* - `cloud_efficiency`: Ultra disk.
|
|
1086
|
+
*
|
|
1087
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1002
1088
|
*
|
|
1003
|
-
*
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
*
|
|
1089
|
+
* - `cloud_essd`: ESSD.
|
|
1090
|
+
*
|
|
1091
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1092
|
+
*
|
|
1093
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1008
1094
|
*
|
|
1009
1095
|
* Default value: `cloud_efficiency`.
|
|
1010
1096
|
*
|
|
@@ -1014,7 +1100,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1014
1100
|
systemDiskCategory?: string;
|
|
1015
1101
|
/**
|
|
1016
1102
|
* @remarks
|
|
1017
|
-
* The algorithm
|
|
1103
|
+
* The encryption algorithm used by the system disk of the node. Valid value: aes-256.
|
|
1018
1104
|
*
|
|
1019
1105
|
* @example
|
|
1020
1106
|
* aes-256
|
|
@@ -1022,12 +1108,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1022
1108
|
systemDiskEncryptAlgorithm?: string;
|
|
1023
1109
|
/**
|
|
1024
1110
|
* @remarks
|
|
1025
|
-
* Specifies whether to encrypt the system disk. Valid values: true:
|
|
1111
|
+
* Specifies whether to encrypt the system disk. Valid values: true: Encrypts the disk. false: Does not encrypt the disk.
|
|
1026
1112
|
*/
|
|
1027
1113
|
systemDiskEncrypted?: boolean;
|
|
1028
1114
|
/**
|
|
1029
1115
|
* @remarks
|
|
1030
|
-
* The
|
|
1116
|
+
* The KMS key ID used by the system disk of the node.
|
|
1031
1117
|
*
|
|
1032
1118
|
* @example
|
|
1033
1119
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1035,12 +1121,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1035
1121
|
systemDiskKmsKeyId?: string;
|
|
1036
1122
|
/**
|
|
1037
1123
|
* @remarks
|
|
1038
|
-
* The performance level
|
|
1124
|
+
* The performance level of the system disk for the nodes. This parameter is only effective for ESSDs.
|
|
1125
|
+
*
|
|
1126
|
+
* - PL0: Medium concurrent I/O performance, stable read and write latency.
|
|
1127
|
+
*
|
|
1128
|
+
* - PL1: Medium concurrent I/O performance, stable read and write latency.
|
|
1129
|
+
*
|
|
1130
|
+
* - PL2: High concurrent I/O performance, stable read and write latency.
|
|
1039
1131
|
*
|
|
1040
|
-
*
|
|
1041
|
-
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
1042
|
-
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
1043
|
-
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1132
|
+
* - PL3: Extremely high concurrent I/O performance, extremely stable read and write latency.
|
|
1044
1133
|
*
|
|
1045
1134
|
* @example
|
|
1046
1135
|
* PL1
|
|
@@ -1048,9 +1137,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1048
1137
|
systemDiskPerformanceLevel?: string;
|
|
1049
1138
|
/**
|
|
1050
1139
|
* @remarks
|
|
1051
|
-
* The
|
|
1140
|
+
* 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}.
|
|
1052
1141
|
*
|
|
1053
|
-
* This parameter
|
|
1142
|
+
* 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).
|
|
1054
1143
|
*
|
|
1055
1144
|
* @example
|
|
1056
1145
|
* 1000
|
|
@@ -1058,9 +1147,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1058
1147
|
systemDiskProvisionedIops?: number;
|
|
1059
1148
|
/**
|
|
1060
1149
|
* @remarks
|
|
1061
|
-
* The size of the system disk. Unit: GiB.
|
|
1150
|
+
* The size of the system disk for the nodes. Unit: GiB.
|
|
1062
1151
|
*
|
|
1063
|
-
*
|
|
1152
|
+
* Value range: [40, 500].
|
|
1064
1153
|
*
|
|
1065
1154
|
* @example
|
|
1066
1155
|
* 120
|
|
@@ -1068,14 +1157,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1068
1157
|
systemDiskSize?: number;
|
|
1069
1158
|
/**
|
|
1070
1159
|
* @remarks
|
|
1071
|
-
*
|
|
1160
|
+
* Adds tags only to ECS instances.
|
|
1072
1161
|
*
|
|
1073
|
-
*
|
|
1162
|
+
* 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\\://".
|
|
1074
1163
|
*/
|
|
1075
1164
|
tags?: NodepoolScalingGroupTags[];
|
|
1076
1165
|
/**
|
|
1077
1166
|
* @remarks
|
|
1078
|
-
* The
|
|
1167
|
+
* The virtual switch ID.
|
|
1079
1168
|
*
|
|
1080
1169
|
* This parameter is required.
|
|
1081
1170
|
*/
|
|
@@ -1094,7 +1183,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1094
1183
|
export declare class NodepoolTeeConfig extends $dara.Model {
|
|
1095
1184
|
/**
|
|
1096
1185
|
* @remarks
|
|
1097
|
-
* Specifies whether
|
|
1186
|
+
* Specifies whether it is a confidential computing node pool.
|
|
1098
1187
|
*
|
|
1099
1188
|
* This parameter is required.
|
|
1100
1189
|
*
|
|
@@ -1116,7 +1205,7 @@ export declare class NodepoolTeeConfig extends $dara.Model {
|
|
|
1116
1205
|
export declare class Nodepool extends $dara.Model {
|
|
1117
1206
|
/**
|
|
1118
1207
|
* @remarks
|
|
1119
|
-
* The auto
|
|
1208
|
+
* The auto-scaling configurations for the node pool.
|
|
1120
1209
|
*/
|
|
1121
1210
|
autoScaling?: NodepoolAutoScaling;
|
|
1122
1211
|
/**
|
|
@@ -1135,17 +1224,18 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1135
1224
|
* @remarks
|
|
1136
1225
|
* This parameter is deprecated.
|
|
1137
1226
|
*
|
|
1138
|
-
* The
|
|
1227
|
+
* The edge node pool configurations.
|
|
1139
1228
|
*
|
|
1140
1229
|
* @deprecated
|
|
1141
1230
|
*/
|
|
1142
1231
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1143
1232
|
/**
|
|
1144
1233
|
* @remarks
|
|
1145
|
-
* The network type of the edge node pool. This parameter
|
|
1234
|
+
* The network type of the edge node pool. This parameter is only meaningful for node pools of type `edge`. Valid values:
|
|
1146
1235
|
*
|
|
1147
|
-
*
|
|
1148
|
-
*
|
|
1236
|
+
* - `basic`: Basic.
|
|
1237
|
+
*
|
|
1238
|
+
* - `private`: Private. Supported in versions 1.22 and later.
|
|
1149
1239
|
*
|
|
1150
1240
|
* @example
|
|
1151
1241
|
* basic
|
|
@@ -1153,22 +1243,26 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1153
1243
|
interconnectMode?: string;
|
|
1154
1244
|
/**
|
|
1155
1245
|
* @remarks
|
|
1156
|
-
* The configurations
|
|
1246
|
+
* The cluster configurations.
|
|
1157
1247
|
*/
|
|
1158
1248
|
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
1159
1249
|
/**
|
|
1160
1250
|
* @remarks
|
|
1161
|
-
* The
|
|
1251
|
+
* The managed node pool configurations.
|
|
1162
1252
|
*/
|
|
1163
1253
|
management?: NodepoolManagement;
|
|
1164
1254
|
/**
|
|
1165
1255
|
* @remarks
|
|
1166
|
-
* The maximum number of nodes that
|
|
1256
|
+
* 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.
|
|
1167
1257
|
*
|
|
1168
1258
|
* @example
|
|
1169
1259
|
* 10
|
|
1170
1260
|
*/
|
|
1171
1261
|
maxNodes?: number;
|
|
1262
|
+
/**
|
|
1263
|
+
* @remarks
|
|
1264
|
+
* The list of node components.
|
|
1265
|
+
*/
|
|
1172
1266
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1173
1267
|
/**
|
|
1174
1268
|
* @remarks
|
|
@@ -1177,17 +1271,17 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1177
1271
|
nodeConfig?: NodepoolNodeConfig;
|
|
1178
1272
|
/**
|
|
1179
1273
|
* @remarks
|
|
1180
|
-
* The
|
|
1274
|
+
* The node pool configurations.
|
|
1181
1275
|
*/
|
|
1182
1276
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1183
1277
|
/**
|
|
1184
1278
|
* @remarks
|
|
1185
|
-
* The configurations of the scaling group
|
|
1279
|
+
* The configurations of the scaling group for the node pool.
|
|
1186
1280
|
*/
|
|
1187
1281
|
scalingGroup?: NodepoolScalingGroup;
|
|
1188
1282
|
/**
|
|
1189
1283
|
* @remarks
|
|
1190
|
-
* The
|
|
1284
|
+
* The confidential computing node pool configurations.
|
|
1191
1285
|
*/
|
|
1192
1286
|
teeConfig?: NodepoolTeeConfig;
|
|
1193
1287
|
static names(): {
|