@alicloud/cs20151215 6.6.3 → 6.6.5
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 +202 -124
- package/dist/client.js +202 -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 +123 -25
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +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 +496 -220
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +448 -262
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
- 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 +358 -228
- 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 +274 -180
- 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/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 +2 -0
- package/dist/models/model.js +58 -54
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +202 -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 +125 -25
- 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 +515 -220
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +467 -262
- 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 +361 -229
- 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 +276 -180
- 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/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 +2 -0
package/src/models/Nodepool.ts
CHANGED
|
@@ -11,9 +11,9 @@ import { Taint } from "./Taint";
|
|
|
11
11
|
export class NodepoolAutoScaling extends $dara.Model {
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* This parameter is deprecated.
|
|
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
|
|
@@ -23,12 +23,13 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
23
23
|
eipBandwidth?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* This parameter is deprecated.
|
|
26
|
+
* [This parameter is deprecated.]
|
|
27
27
|
*
|
|
28
|
-
* The
|
|
28
|
+
* The billing method for 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
|
-
*
|
|
44
|
+
* 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
|
*
|
|
@@ -55,12 +57,13 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
55
57
|
enable?: boolean;
|
|
56
58
|
/**
|
|
57
59
|
* @remarks
|
|
58
|
-
* This parameter is deprecated.
|
|
60
|
+
* [This parameter is deprecated.]
|
|
61
|
+
*
|
|
62
|
+
* Whether to associate an EIP with each node in the pool. Valid values:
|
|
59
63
|
*
|
|
60
|
-
*
|
|
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 auto 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 auto 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 instances to which auto scaling applies. This determines the scaling behavior. Valid values:
|
|
99
|
+
*
|
|
100
|
+
* - `cpu`: Regular instances.
|
|
101
|
+
*
|
|
102
|
+
* - `gpu`: GPU-accelerated instances.
|
|
96
103
|
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
* * `spot`: preemptible instance.
|
|
104
|
+
* - `gpushare`: Shared GPU-accelerated instances.
|
|
105
|
+
*
|
|
106
|
+
* - `spot`: Spot instances.
|
|
101
107
|
*
|
|
102
108
|
* Default value: `cpu`.
|
|
103
109
|
*
|
|
@@ -141,9 +147,9 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
141
147
|
export class NodepoolInterconnectConfig extends $dara.Model {
|
|
142
148
|
/**
|
|
143
149
|
* @remarks
|
|
144
|
-
*
|
|
150
|
+
* 【该字段已废弃】
|
|
145
151
|
*
|
|
146
|
-
*
|
|
152
|
+
* 边缘增强型节点池的网络带宽,单位:Mbps。
|
|
147
153
|
*
|
|
148
154
|
* @example
|
|
149
155
|
* 10
|
|
@@ -153,9 +159,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
153
159
|
bandwidth?: number;
|
|
154
160
|
/**
|
|
155
161
|
* @remarks
|
|
156
|
-
*
|
|
162
|
+
* 【该字段已废弃】
|
|
157
163
|
*
|
|
158
|
-
*
|
|
164
|
+
* 边缘增强型节点池绑定的云连接网实例 ID(CCNID)。
|
|
159
165
|
*
|
|
160
166
|
* @example
|
|
161
167
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -165,9 +171,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
165
171
|
ccnId?: string;
|
|
166
172
|
/**
|
|
167
173
|
* @remarks
|
|
168
|
-
*
|
|
174
|
+
* 【该字段已废弃】
|
|
169
175
|
*
|
|
170
|
-
*
|
|
176
|
+
* 边缘增强型节点池绑定的云连接网实例所属的地域。
|
|
171
177
|
*
|
|
172
178
|
* @example
|
|
173
179
|
* cn-shanghai
|
|
@@ -177,9 +183,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
177
183
|
ccnRegionId?: string;
|
|
178
184
|
/**
|
|
179
185
|
* @remarks
|
|
180
|
-
* This parameter is deprecated.
|
|
186
|
+
* [This parameter is deprecated.]
|
|
181
187
|
*
|
|
182
|
-
* The ID of the Cloud Enterprise Network (
|
|
188
|
+
* The ID of the Cloud Enterprise Network (C
|
|
183
189
|
*
|
|
184
190
|
* @example
|
|
185
191
|
* cen-ey9k9nfhz0f*******
|
|
@@ -189,9 +195,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
189
195
|
cenId?: string;
|
|
190
196
|
/**
|
|
191
197
|
* @remarks
|
|
192
|
-
*
|
|
198
|
+
* 【该字段已废弃】
|
|
193
199
|
*
|
|
194
|
-
*
|
|
200
|
+
* 边缘增强型节点池的购买时长,单位:月。
|
|
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
|
-
*
|
|
240
|
+
* Whether to install CloudMonitor on the nodes. After installation, you can view monitoring information about the instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
241
|
+
*
|
|
242
|
+
* - `true`: installs CloudMonitor on nodes.
|
|
235
243
|
*
|
|
236
|
-
*
|
|
237
|
-
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
244
|
+
* - `false`: does not install CloudMonitor on 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 of
|
|
254
|
+
* The CPU management policy of the nodes. This parameter is available only for clusters of Kubernetes 1.12.6 and later. The following policies are supported:
|
|
255
|
+
*
|
|
256
|
+
* - `static`: allows pods with specific resource characteristics to be granted with enhanced CPU affinity and exclusivity on the node.
|
|
248
257
|
*
|
|
249
|
-
*
|
|
250
|
-
* * `none`: specifies that the default CPU affinity is used.
|
|
258
|
+
* - `none`: indicates that the default CPU affinity is used.
|
|
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 labels
|
|
268
|
+
* The labels to add to the nodes in the node pool.
|
|
261
269
|
*/
|
|
262
270
|
labels?: Tag[];
|
|
263
271
|
/**
|
|
264
272
|
* @remarks
|
|
265
|
-
* The
|
|
273
|
+
* The naming convention of the node. A node name consists of a prefix, an 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 consist of one or more parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A 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
|
+
* This parameter consists of four comma-separated parts. For example, if you set the parameter to `customized,aliyun,ip,com`, where `customized` and `ip` are fixed strings, `aliyun` is the prefix, and `com` is the suffix, the node name is in the format of `aliyun.192.168.xxx.xxx.com`.
|
|
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 runtime is supported in all cluster versions.
|
|
290
|
+
*
|
|
291
|
+
* - `Sandboxed-Container.runv`: a sandboxed container that provides higher isolation. This runtime is supported in clusters of Kubernetes 1.24 and earlier.
|
|
283
292
|
*
|
|
284
|
-
*
|
|
293
|
+
* - `docker`: This runtime is supported in clusters of Kubernetes 1.22 and earlier.
|
|
294
|
+
*
|
|
295
|
+
* Default value: `containerd`
|
|
285
296
|
*
|
|
286
297
|
* This parameter is required.
|
|
287
298
|
*
|
|
@@ -301,12 +312,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
301
312
|
runtimeVersion?: string;
|
|
302
313
|
/**
|
|
303
314
|
* @remarks
|
|
304
|
-
* The
|
|
315
|
+
* The taints.
|
|
305
316
|
*/
|
|
306
317
|
taints?: Taint[];
|
|
307
318
|
/**
|
|
308
319
|
* @remarks
|
|
309
|
-
* The user data
|
|
320
|
+
* The user 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 the node to be restarted.
|
|
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 the kubelet to be automatically upgraded.
|
|
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 the node to be restarted.
|
|
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 CVE vulnerability levels to automatically fix. You can specify multiple levels 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`
|
|
460
473
|
*
|
|
461
|
-
*
|
|
462
|
-
* * `false`: disables auto update.
|
|
474
|
+
* - `false`
|
|
463
475
|
*
|
|
464
476
|
* @example
|
|
465
477
|
* false
|
|
@@ -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
|
-
* Specifies whether to enable auto repair. This parameter takes effect only
|
|
537
|
+
* Specifies whether to enable auto repair. This parameter takes effect only if `enable` is set to `true`.
|
|
538
|
+
*
|
|
539
|
+
* - `true`
|
|
525
540
|
*
|
|
526
|
-
*
|
|
527
|
-
* * `false`: disables auto repair.
|
|
541
|
+
* - `false`
|
|
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 policy for automatically fixing CVEs.
|
|
562
576
|
*/
|
|
563
577
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
564
578
|
/**
|
|
565
579
|
* @remarks
|
|
566
|
-
*
|
|
580
|
+
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
567
581
|
*
|
|
568
|
-
*
|
|
569
|
-
*
|
|
582
|
+
* - `true`
|
|
583
|
+
*
|
|
584
|
+
* - `false`: If you set this parameter to false, the other parameters in the `management` object are ignored.
|
|
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 parameter takes effect only when `enable` is set to `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
|
+
* 节点组件自定义配置。
|
|
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
|
+
* 节点组件配置。
|
|
680
|
+
*/
|
|
656
681
|
config?: NodepoolNodeComponentsConfig;
|
|
657
682
|
/**
|
|
683
|
+
* @remarks
|
|
684
|
+
* 节点组件名称。
|
|
685
|
+
*
|
|
658
686
|
* @example
|
|
659
687
|
* kubelet
|
|
660
688
|
*/
|
|
661
689
|
name?: string;
|
|
662
690
|
/**
|
|
691
|
+
* @remarks
|
|
692
|
+
* 节点组件版本
|
|
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
|
-
*
|
|
729
|
+
* Kubelet 参数配置。
|
|
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
|
|
@@ -788,11 +820,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
788
820
|
id?: string;
|
|
789
821
|
/**
|
|
790
822
|
* @remarks
|
|
791
|
-
* The type of the private
|
|
823
|
+
* The type of the private pool that is used to start instances. An elasticity assurance or a capacity reservation service generates a private pool after the service takes effect. You can select a private pool to start instances. Valid values:
|
|
792
824
|
*
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
*
|
|
825
|
+
* - `Open`: open mode. The system automatically matches an open private pool. If no matching private pool is found, the resources in the public pool are used.
|
|
826
|
+
*
|
|
827
|
+
* - `Target`: targeted mode. The instance is started from the specified private pool. If the private pool is unavailable, the instance fails to be started.
|
|
828
|
+
*
|
|
829
|
+
* - `None`: no mode. The instance is not started from a private pool.
|
|
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. The IDs are the IDs of elasticity assurances or capacity reservations. This parameter accepts only IDs of private pools in targeted mode. You can specify up to 20 IDs.
|
|
862
|
+
*/
|
|
825
863
|
privatePoolIds?: string[];
|
|
826
864
|
/**
|
|
865
|
+
* @remarks
|
|
866
|
+
* The resource pool policy that is used to create instances. Resource pools include private pools generated by an elasticity assurance or a capacity reservation service and public pools. You can select a resource pool to start an instance. Valid values:
|
|
867
|
+
* PrivatePoolFirst: The system prioritizes the use of private pools. If you specify `resource_pool_options.private_pool_ids`, the specified private pools are used first. If no private pool is specified or the capacity of the specified private pool is insufficient, the system automatically matches an open private pool. If no matching private pool is found, the resources in the public pool are used.
|
|
868
|
+
* PrivatePoolOnly: The instance can be created only from a private pool. You must specify `resource_pool_options.private_pool_ids`. If the capacity of the specified private pool is insufficient, the instance fails to be created.
|
|
869
|
+
* None: No resource pool policy is used.
|
|
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 of 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 key of the
|
|
945
|
+
* The key 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 of the
|
|
953
|
+
* The value of the tag.
|
|
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
|
-
*
|
|
985
|
+
* Whether to enable auto-renewal for the nodes in 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 nodes. This parameter is required and takes effect only if `instance_charge_type` is set to `PrePaid`.
|
|
954
1000
|
*
|
|
955
|
-
* If
|
|
1001
|
+
* If `PeriodUnit` is set to `Month`, the 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
|
-
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances
|
|
1011
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when `multi_az_policy` is set to `COST_OPTIMIZED` and preemptible instances cannot be created due to price or inventory constraints. Valid values:
|
|
966
1012
|
*
|
|
967
|
-
*
|
|
968
|
-
*
|
|
1013
|
+
* - `true`
|
|
1014
|
+
*
|
|
1015
|
+
* - `false`
|
|
969
1016
|
*
|
|
970
1017
|
* @example
|
|
971
1018
|
* true
|
|
@@ -973,7 +1020,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
973
1020
|
compensateWithOnDemand?: boolean;
|
|
974
1021
|
/**
|
|
975
1022
|
* @remarks
|
|
976
|
-
* The configurations of the data disks that
|
|
1023
|
+
* The configurations of the data disks that are attached to the nodes in the node pool.
|
|
977
1024
|
*/
|
|
978
1025
|
dataDisks?: DataDisk[];
|
|
979
1026
|
/**
|
|
@@ -992,10 +1039,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
992
1039
|
* 2
|
|
993
1040
|
*/
|
|
994
1041
|
desiredSize?: number;
|
|
1042
|
+
/**
|
|
1043
|
+
* @remarks
|
|
1044
|
+
* The configurations of block devices.
|
|
1045
|
+
*/
|
|
995
1046
|
diskInit?: DiskInit[];
|
|
996
1047
|
/**
|
|
997
1048
|
* @remarks
|
|
998
|
-
* The custom image
|
|
1049
|
+
* The ID of the custom image. If you do not set this parameter, the default system 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 the
|
|
1057
|
+
* The type of the OS image. You must specify this parameter or `platform`. Valid values:
|
|
1058
|
+
*
|
|
1059
|
+
* - `AliyunLinux`: Alinux 2 image.
|
|
1060
|
+
*
|
|
1061
|
+
* - `AliyunLinux3`: Alinux 3 image.
|
|
1007
1062
|
*
|
|
1008
|
-
*
|
|
1009
|
-
*
|
|
1010
|
-
*
|
|
1011
|
-
*
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1015
|
-
*
|
|
1063
|
+
* - `AliyunLinux3Arm64`: Alinux 3 image for ARM.
|
|
1064
|
+
*
|
|
1065
|
+
* - `AliyunLinuxUEFI`: Alinux 2 UEFI image.
|
|
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,10 +1092,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1033
1092
|
* PostPaid
|
|
1034
1093
|
*/
|
|
1035
1094
|
instanceChargeType?: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* @remarks
|
|
1097
|
+
* The configurations of metadata access for the ECS instances.
|
|
1098
|
+
* This feature is available only to allowlisted users. To use this feature, submit a ticket.
|
|
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
|
*/
|
|
@@ -1045,8 +1109,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1045
1109
|
* @remarks
|
|
1046
1110
|
* The billing method of the public IP address. Valid values:
|
|
1047
1111
|
*
|
|
1048
|
-
*
|
|
1049
|
-
*
|
|
1112
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1113
|
+
*
|
|
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
|
|
1122
|
+
* The maximum outbound public bandwidth of a node. Unit: Mbit/s. Valid values: 1 to 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 specify only `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 use a non-root user to log on to the ECS instances that are created.
|
|
1076
1141
|
*/
|
|
1077
1142
|
loginAsNonRoot?: boolean;
|
|
1078
1143
|
/**
|
|
1079
1144
|
* @remarks
|
|
1080
|
-
* The password for SSH
|
|
1145
|
+
* The password for SSH access. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length 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 the ECS instances in a scaling group that spans multiple zones. Valid values:
|
|
1089
1154
|
*
|
|
1090
|
-
*
|
|
1155
|
+
* - `PRIORITY`: The system scales instances based on the priority of the vSwitches specified in `vswitch_ids`. The system preferentially scales instances in the zone where the vSwitch with the highest priority resides. If the scaling fails, the system scales instances in the zone where the vSwitch with the next highest priority resides.
|
|
1091
1156
|
*
|
|
1092
|
-
*
|
|
1157
|
+
* - `COST_OPTIMIZED`: The system scales instances based on the vCPU price from lowest to highest. The system preferentially scales instances that have the lowest vCPU price. If the scaling configuration includes multiple instance types and some of them are preemptible instance types, the system preferentially scales the preemptible instances. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to reasons such as stock-outs.
|
|
1093
1158
|
*
|
|
1094
|
-
*
|
|
1159
|
+
* > The `COST_OPTIMIZED` policy takes effect only when multiple instance types are specified or preemptible instances are selected in the scaling configuration.
|
|
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`: The system evenly distributes ECS instances across the specified zones. If the distribution of instances becomes unbalanced due to stock-outs, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation to rebalance the resources.
|
|
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 pay-as-you-go instances that must be
|
|
1171
|
+
* The minimum number of pay-as-you-go instances that must be provisioned in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than this value, the system preferentially creates pay-as-you-go instances.
|
|
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 pay-as-you-go instances among the
|
|
1179
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number specified by `on_demand_base_capacity`. Valid values: 0 to 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`, the 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. This parameter is required
|
|
1197
|
+
* The billing cycle of the subscription nodes in the node pool. This parameter is required 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
|
*
|
|
@@ -1163,9 +1229,8 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1163
1229
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
1164
1230
|
/**
|
|
1165
1231
|
* @remarks
|
|
1166
|
-
* The name of the worker
|
|
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 can be configured only when you create a node pool in an ACK managed cluster of Kubernetes 1.22 or later.
|
|
1169
1234
|
*
|
|
1170
1235
|
* @example
|
|
1171
1236
|
* example-role
|
|
@@ -1176,13 +1241,20 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1176
1241
|
* A list of ApsaraDB RDS instances.
|
|
1177
1242
|
*/
|
|
1178
1243
|
rdsInstances?: string[];
|
|
1244
|
+
/**
|
|
1245
|
+
* @remarks
|
|
1246
|
+
* The resource pool and resource pool policy that are used to create instances. Note the following when you set this parameter:
|
|
1247
|
+
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1248
|
+
* You cannot specify this parameter together with `private_pool_options.match_criteria` or `private_pool_options.id`.
|
|
1249
|
+
*/
|
|
1179
1250
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1180
1251
|
/**
|
|
1181
1252
|
* @remarks
|
|
1182
1253
|
* The scaling mode of the scaling group. Valid values:
|
|
1183
1254
|
*
|
|
1184
|
-
*
|
|
1185
|
-
*
|
|
1255
|
+
* - `release`: the standard mode. In this mode, resources are scaled by creating and releasing ECS instances based on the resource usage.
|
|
1256
|
+
*
|
|
1257
|
+
* - `recycle`: the rapid mode. In this mode, resources are scaled by creating, stopping, and starting ECS instances. This speeds up the scaling of resources. When an instance is stopped, you are not charged for its computing resources but are charged for its storage resources. This does not apply to instances that have 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 to which you want to add the
|
|
1267
|
+
* The ID of the security group to which you want to add the nodes. You must specify this parameter or `security_group_ids`. We recommend that you specify `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
|
-
*
|
|
1275
|
+
* A list of security group IDs. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify both `security_group_id` and `security_group_ids`, `security_group_ids` takes precedence.
|
|
1204
1276
|
*/
|
|
1205
1277
|
securityGroupIds?: string[];
|
|
1206
1278
|
/**
|
|
1207
1279
|
* @remarks
|
|
1208
|
-
* The number of instance types
|
|
1280
|
+
* The number of instance types. The scaling group creates preemptible instances of multiple instance types that have the lowest cost in a balanced manner. Valid values: 1 to 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 preemptible instances. If this feature is enabled, the scaling group attempts to create a new instance to replace a preemptible instance that is about to be reclaimed. Valid values:
|
|
1217
1289
|
*
|
|
1218
|
-
*
|
|
1219
|
-
*
|
|
1290
|
+
* - `true`
|
|
1291
|
+
*
|
|
1292
|
+
* - `false`
|
|
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 price limits for specific spot instance types.
|
|
1228
1301
|
*/
|
|
1229
1302
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1230
1303
|
/**
|
|
1231
1304
|
* @remarks
|
|
1232
|
-
* The
|
|
1305
|
+
* The bidding policy for the pay-as-you-go instances. Valid values:
|
|
1306
|
+
*
|
|
1307
|
+
* - NoSpot: normal pay-as-you-go instances.
|
|
1308
|
+
*
|
|
1309
|
+
* - SpotWithPriceLimit: spot instances with a user-defined maximum hourly price.
|
|
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: spot instances for which the system automatically bids based on the current market price.
|
|
1237
1312
|
*
|
|
1238
|
-
* For more information, see [Preemptible
|
|
1313
|
+
* For more information, see [Preemptible 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 the burst feature for the system disk. Valid values:
|
|
1321
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
1247
1322
|
*
|
|
1248
|
-
*
|
|
1249
|
-
* * false: disables the burst feature.
|
|
1323
|
+
* - true: enables the performance burst feature.
|
|
1250
1324
|
*
|
|
1251
|
-
*
|
|
1325
|
+
* - false: disables the performance burst feature.
|
|
1326
|
+
*
|
|
1327
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
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
|
+
* A prioritized list of system disk types. The system attempts to create a system disk of a disk type with a higher priority. If the disk type is unavailable, the system uses the next 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
1348
|
* The type of the system disk. Valid values:
|
|
1265
1349
|
*
|
|
1266
|
-
*
|
|
1267
|
-
*
|
|
1268
|
-
*
|
|
1269
|
-
*
|
|
1270
|
-
*
|
|
1350
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1351
|
+
*
|
|
1352
|
+
* - `cloud_ssd`: standard SSD.
|
|
1353
|
+
*
|
|
1354
|
+
* - `cloud_essd`: enhanced SSD (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 that
|
|
1368
|
+
* The encryption algorithm that is used for the system disk. Set the value to aes-256.
|
|
1281
1369
|
*
|
|
1282
1370
|
* @example
|
|
1283
1371
|
* aes-256
|
|
@@ -1285,7 +1373,7 @@ 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 and false.
|
|
1289
1377
|
*/
|
|
1290
1378
|
systemDiskEncrypted?: boolean;
|
|
1291
1379
|
/**
|
|
@@ -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 ESSD that is used as the system disk. This parameter takes effect only for ESSDs.
|
|
1390
|
+
*
|
|
1391
|
+
* - PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
1392
|
+
*
|
|
1393
|
+
* - PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
|
|
1394
|
+
*
|
|
1395
|
+
* - PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
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: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
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 provisioned read/write IOPS of the system disk. The valid values are 0 to min{50000, 1000 × Capacity - Base IOPS}. The default Base IOPS is min{1800 + 50 × Capacity, 50000}.
|
|
1315
1406
|
*
|
|
1316
|
-
* This parameter is
|
|
1407
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1317
1408
|
*
|
|
1318
1409
|
* @example
|
|
1319
1410
|
* 1000
|
|
@@ -1331,14 +1422,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1331
1422
|
systemDiskSize?: number;
|
|
1332
1423
|
/**
|
|
1333
1424
|
* @remarks
|
|
1334
|
-
* The
|
|
1425
|
+
* The tags to add to the ECS instances in the node pool.
|
|
1335
1426
|
*
|
|
1336
|
-
*
|
|
1427
|
+
* A tag key must be unique and can be up to 128 characters in length. A tag key and a tag value cannot start with `aliyun` or `acs:` and cannot contain `https://` or `http://`.
|
|
1337
1428
|
*/
|
|
1338
1429
|
tags?: NodepoolScalingGroupTags[];
|
|
1339
1430
|
/**
|
|
1340
1431
|
* @remarks
|
|
1341
|
-
* The IDs of vSwitches.
|
|
1432
|
+
* The IDs of the vSwitches to which the nodes can be added.
|
|
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 to
|
|
1585
|
+
* Specifies whether to create a confidential computing node pool.
|
|
1495
1586
|
*
|
|
1496
1587
|
* This parameter is required.
|
|
1497
1588
|
*
|
|
@@ -1523,12 +1614,12 @@ export class NodepoolTeeConfig extends $dara.Model {
|
|
|
1523
1614
|
export class Nodepool extends $dara.Model {
|
|
1524
1615
|
/**
|
|
1525
1616
|
* @remarks
|
|
1526
|
-
* The auto scaling configurations
|
|
1617
|
+
* The auto scaling configurations for the node pool.
|
|
1527
1618
|
*/
|
|
1528
1619
|
autoScaling?: NodepoolAutoScaling;
|
|
1529
1620
|
/**
|
|
1530
1621
|
* @remarks
|
|
1531
|
-
* This parameter is deprecated. Use desired_size instead.
|
|
1622
|
+
* [This parameter is deprecated. Use desired_size instead.]
|
|
1532
1623
|
*
|
|
1533
1624
|
* The number of nodes in the node pool.
|
|
1534
1625
|
*
|
|
@@ -1540,7 +1631,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1540
1631
|
count?: number;
|
|
1541
1632
|
/**
|
|
1542
1633
|
* @remarks
|
|
1543
|
-
* This parameter is deprecated.
|
|
1634
|
+
* [This parameter is deprecated.]
|
|
1544
1635
|
*
|
|
1545
1636
|
* The configurations of the edge node pool.
|
|
1546
1637
|
*
|
|
@@ -1549,10 +1640,11 @@ export class Nodepool extends $dara.Model {
|
|
|
1549
1640
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1550
1641
|
/**
|
|
1551
1642
|
* @remarks
|
|
1552
|
-
* The network
|
|
1643
|
+
* The network mode of the edge node pool. This parameter is valid only for edge node pools. Valid values:
|
|
1553
1644
|
*
|
|
1554
|
-
*
|
|
1555
|
-
*
|
|
1645
|
+
* - `basic`: basic mode.
|
|
1646
|
+
*
|
|
1647
|
+
* - `private`: dedicated mode. This mode is supported in clusters of Kubernetes 1.22 and later.
|
|
1556
1648
|
*
|
|
1557
1649
|
* @example
|
|
1558
1650
|
* basic
|
|
@@ -1560,41 +1652,45 @@ export class Nodepool extends $dara.Model {
|
|
|
1560
1652
|
interconnectMode?: string;
|
|
1561
1653
|
/**
|
|
1562
1654
|
* @remarks
|
|
1563
|
-
* The configurations
|
|
1655
|
+
* The Kubernetes configurations for the nodes.
|
|
1564
1656
|
*/
|
|
1565
1657
|
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
1566
1658
|
/**
|
|
1567
1659
|
* @remarks
|
|
1568
|
-
* The configurations of the managed node pool
|
|
1660
|
+
* The configurations of the managed node pool.
|
|
1569
1661
|
*/
|
|
1570
1662
|
management?: NodepoolManagement;
|
|
1571
1663
|
/**
|
|
1572
1664
|
* @remarks
|
|
1573
|
-
*
|
|
1665
|
+
* 边缘节点池允许容纳的最大节点数量,该参数大于等于 0。0 表示无额外限制(仅受限于集群整体可以容纳的节点数,节点池本身无额外限制)。边缘节点池该参数值往往大于 0;ess 类型节点池和默认的 edge 类型节点池该参数值为 0。
|
|
1574
1666
|
*
|
|
1575
1667
|
* @example
|
|
1576
1668
|
* 10
|
|
1577
1669
|
*/
|
|
1578
1670
|
maxNodes?: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* @remarks
|
|
1673
|
+
* 节点组件列表。
|
|
1674
|
+
*/
|
|
1579
1675
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1580
1676
|
/**
|
|
1581
1677
|
* @remarks
|
|
1582
|
-
*
|
|
1678
|
+
* 节点配置。
|
|
1583
1679
|
*/
|
|
1584
1680
|
nodeConfig?: NodepoolNodeConfig;
|
|
1585
1681
|
/**
|
|
1586
1682
|
* @remarks
|
|
1587
|
-
* The
|
|
1683
|
+
* The configurations of the node pool.
|
|
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.
|
|
1593
1689
|
*/
|
|
1594
1690
|
scalingGroup?: NodepoolScalingGroup;
|
|
1595
1691
|
/**
|
|
1596
1692
|
* @remarks
|
|
1597
|
-
* The configurations of confidential computing.
|
|
1693
|
+
* The configurations of the confidential computing node pool.
|
|
1598
1694
|
*/
|
|
1599
1695
|
teeConfig?: NodepoolTeeConfig;
|
|
1600
1696
|
static names(): { [key: string]: string } {
|