@alicloud/cs20151215 7.2.3 → 7.2.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 +34 -34
- package/dist/client.js +43 -34
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +200 -161
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +5 -0
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +5 -0
- package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +5 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +5 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +60 -50
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +18 -18
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +19 -9
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +5 -0
- package/dist/models/ModifyClusterRequest.js +2 -0
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -34
- package/src/models/CreateClusterNodePoolRequest.ts +202 -161
- package/src/models/CreateClusterRequest.ts +7 -0
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterDetailResponseBody.ts +7 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribeClustersForRegionResponseBody.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +80 -66
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +18 -18
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +21 -9
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
- package/src/models/ModifyClusterRequest.ts +7 -0
- package/src/models/Nodepool.ts +152 -202
- package/src/models/RemoveNodePoolNodesRequest.ts +6 -5
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +6 -5
|
@@ -10,9 +10,10 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
13
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
+
* The peak bandwidth of the EIP.
|
|
14
15
|
*
|
|
15
|
-
* Valid values:
|
|
16
|
+
* Valid values: 1 to 100. Unit: Mbit/s.
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
19
|
* null
|
|
@@ -26,8 +27,8 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
26
27
|
*
|
|
27
28
|
* The billing method of the EIP. Valid values:
|
|
28
29
|
*
|
|
29
|
-
* - `PayByBandwidth`:
|
|
30
|
-
* - `PayByTraffic`:
|
|
30
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
31
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
31
32
|
*
|
|
32
33
|
* Default value: `PayByBandwidth`.
|
|
33
34
|
*
|
|
@@ -41,11 +42,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
41
42
|
* @remarks
|
|
42
43
|
* Specifies whether to enable auto scaling. Valid values:
|
|
43
44
|
*
|
|
44
|
-
* - `true`:
|
|
45
|
+
* - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales node resources based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 and later, node instant elasticity is enabled by default. For clusters earlier than Kubernetes 1.24, node auto scaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
45
46
|
*
|
|
46
|
-
* - `false`:
|
|
47
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes and always maintains the number of nodes at the expected value.
|
|
47
48
|
*
|
|
48
|
-
*
|
|
49
|
+
* If this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
49
50
|
*
|
|
50
51
|
* Default value: `false`.
|
|
51
52
|
*
|
|
@@ -57,8 +58,8 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
57
58
|
* @remarks
|
|
58
59
|
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
59
60
|
*
|
|
60
|
-
* - `true`:
|
|
61
|
-
* - `false`:
|
|
61
|
+
* - `true`: associates an EIP.
|
|
62
|
+
* - `false`: does not associate an EIP.
|
|
62
63
|
*
|
|
63
64
|
* Default value: `false`.
|
|
64
65
|
*
|
|
@@ -70,7 +71,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
70
71
|
isBondEip?: boolean;
|
|
71
72
|
/**
|
|
72
73
|
* @remarks
|
|
73
|
-
* The maximum number of scalable instances in the node pool, excluding
|
|
74
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
|
|
74
75
|
*
|
|
75
76
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
76
77
|
*
|
|
@@ -80,12 +81,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
80
81
|
maxInstances?: number;
|
|
81
82
|
/**
|
|
82
83
|
* @remarks
|
|
83
|
-
* The minimum number of scalable instances in the node pool, excluding
|
|
84
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
|
|
84
85
|
*
|
|
85
86
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
86
87
|
*
|
|
87
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
88
|
-
* > -
|
|
88
|
+
* > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances is triggered after the scaling group takes effect.
|
|
89
|
+
* > - It is recommended that the Settings for the maximum number of instances not be less than the current number of nodes in the node pool. Otherwise, the node pool is scaled in immediately after the elastic scaling feature takes effect.
|
|
89
90
|
*
|
|
90
91
|
* @example
|
|
91
92
|
* 2
|
|
@@ -93,12 +94,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
93
94
|
minInstances?: number;
|
|
94
95
|
/**
|
|
95
96
|
* @remarks
|
|
96
|
-
* The auto scaling type, classified by instance type. Valid values:
|
|
97
|
+
* The auto scaling type, which is classified by the auto scaling instance type. Valid values:
|
|
97
98
|
*
|
|
98
|
-
* - `cpu`:
|
|
99
|
-
* - `gpu`: GPU instance
|
|
100
|
-
* - `gpushare`: GPU
|
|
101
|
-
* - `spot`:
|
|
99
|
+
* - `cpu`: regular instance.
|
|
100
|
+
* - `gpu`: GPU-accelerated instance.
|
|
101
|
+
* - `gpushare`: shared GPU instance.
|
|
102
|
+
* - `spot`: spot instance.
|
|
102
103
|
*
|
|
103
104
|
* Default value: `cpu`.
|
|
104
105
|
*
|
|
@@ -144,7 +145,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
144
145
|
export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
145
146
|
/**
|
|
146
147
|
* @remarks
|
|
147
|
-
* Specifies whether to enable automatic addition
|
|
148
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool. (This parameter does not take effect.)
|
|
148
149
|
*/
|
|
149
150
|
autoAttachEnabled?: string;
|
|
150
151
|
static names(): { [key: string]: string } {
|
|
@@ -171,10 +172,10 @@ export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
171
172
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
172
173
|
/**
|
|
173
174
|
* @remarks
|
|
174
|
-
* Specifies whether to install
|
|
175
|
+
* Specifies whether to install CloudMonitor on ECS nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Enable this feature. Valid values:
|
|
175
176
|
*
|
|
176
|
-
* - `true`: Installs
|
|
177
|
-
* - `false`: Does not install
|
|
177
|
+
* - `true`: Installs CloudMonitor on ECS nodes.
|
|
178
|
+
* - `false`: Does not install CloudMonitor on ECS nodes.
|
|
178
179
|
*
|
|
179
180
|
* Default value: `false`.
|
|
180
181
|
*
|
|
@@ -184,10 +185,10 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
184
185
|
cmsEnabled?: boolean;
|
|
185
186
|
/**
|
|
186
187
|
* @remarks
|
|
187
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
188
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
188
189
|
*
|
|
189
|
-
* - `static`: Allows
|
|
190
|
-
* - `none`: Enables the
|
|
190
|
+
* - `static`: Allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
191
|
+
* - `none`: Enables the default CPU affinity scheme.
|
|
191
192
|
*
|
|
192
193
|
* Default value: `none`.
|
|
193
194
|
*
|
|
@@ -197,19 +198,19 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
197
198
|
cpuPolicy?: string;
|
|
198
199
|
/**
|
|
199
200
|
* @remarks
|
|
200
|
-
* The node labels.
|
|
201
|
+
* The node labels. Adds labels to nodes in a Kubernetes cluster. Rules for defining labels:
|
|
201
202
|
*
|
|
202
|
-
* - Labels
|
|
203
|
-
* - Label keys must be unique and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. Label keys and
|
|
203
|
+
* - Labels consist of case-sensitive key-value pairs. You can configure up to 20 labels.
|
|
204
|
+
* - Label keys must be unique and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. Label keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
204
205
|
*/
|
|
205
206
|
labels?: Tag[];
|
|
206
207
|
/**
|
|
207
208
|
* @remarks
|
|
208
|
-
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
209
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP address + suffix.
|
|
209
210
|
*
|
|
210
|
-
*
|
|
211
|
+
* 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. The node IP address is the complete private IP address of the node.
|
|
211
212
|
*
|
|
212
|
-
* The parameter contains four parts separated by commas. For example, if
|
|
213
|
+
* The parameter value contains four parts separated by commas. For example, if the parameter is set to the "customized,aliyun,ip,com" string (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is aliyun.192.168.xxx.xxx.com.
|
|
213
214
|
*
|
|
214
215
|
* @example
|
|
215
216
|
* customized,aliyun,ip,com
|
|
@@ -217,7 +218,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
217
218
|
nodeNameMode?: string;
|
|
218
219
|
/**
|
|
219
220
|
* @remarks
|
|
220
|
-
* The pre-user data
|
|
221
|
+
* The pre-custom user data for instances. Before a node is added to the cluster, the specified pre-custom user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
221
222
|
*
|
|
222
223
|
* @example
|
|
223
224
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -225,11 +226,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
225
226
|
preUserData?: string;
|
|
226
227
|
/**
|
|
227
228
|
* @remarks
|
|
228
|
-
* The container runtime
|
|
229
|
+
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
229
230
|
*
|
|
230
231
|
* - containerd: Recommended. Supported by all cluster versions.
|
|
231
|
-
* - Sandboxed-Container.runv: Sandboxed
|
|
232
|
-
* - docker:
|
|
232
|
+
* - Sandboxed-Container.runv: Sandboxed containers that provide higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
233
|
+
* - docker: Deprecated. Supported by clusters of version 1.22 and earlier.
|
|
233
234
|
*
|
|
234
235
|
* Default value: containerd.
|
|
235
236
|
*
|
|
@@ -247,16 +248,15 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
247
248
|
runtimeVersion?: string;
|
|
248
249
|
/**
|
|
249
250
|
* @remarks
|
|
250
|
-
* The taint
|
|
251
|
+
* The taint configurations for nodes.
|
|
251
252
|
*/
|
|
252
253
|
taints?: Taint[];
|
|
253
254
|
/**
|
|
254
255
|
* @remarks
|
|
255
|
-
* Specifies whether the
|
|
256
|
-
*
|
|
257
|
-
* - true: Unschedulable.
|
|
256
|
+
* Specifies whether the scaled-out nodes are unschedulable. Valid values:
|
|
258
257
|
*
|
|
259
|
-
* -
|
|
258
|
+
* - true: The nodes are unschedulable.
|
|
259
|
+
* - false: The nodes are schedulable.
|
|
260
260
|
*
|
|
261
261
|
* @example
|
|
262
262
|
* false
|
|
@@ -264,7 +264,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
264
264
|
unschedulable?: boolean;
|
|
265
265
|
/**
|
|
266
266
|
* @remarks
|
|
267
|
-
* The instance user data. After a node
|
|
267
|
+
* The instance user data. After a node is added to the cluster, the specified user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
268
268
|
*
|
|
269
269
|
* @example
|
|
270
270
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -323,7 +323,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
323
323
|
approvalRequired?: boolean;
|
|
324
324
|
/**
|
|
325
325
|
* @remarks
|
|
326
|
-
* The ID of the auto
|
|
326
|
+
* The ID of the auto-repair policy.
|
|
327
327
|
*
|
|
328
328
|
* @example
|
|
329
329
|
* r-xxxxxxxxxx
|
|
@@ -331,7 +331,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
331
331
|
autoRepairPolicyId?: string;
|
|
332
332
|
/**
|
|
333
333
|
* @remarks
|
|
334
|
-
* The maximum number of parallel
|
|
334
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired at the same time. You can specify a number (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default value: 1.
|
|
335
335
|
*
|
|
336
336
|
* @example
|
|
337
337
|
* 5
|
|
@@ -339,7 +339,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
339
339
|
maxParallelRepairingNodes?: string;
|
|
340
340
|
/**
|
|
341
341
|
* @remarks
|
|
342
|
-
* The
|
|
342
|
+
* The circuit breaker threshold for auto-repair. When the number or percentage of faulty nodes exceeds this threshold, the auto-repair process enters the circuit breaker state and stops initiating new auto-repair actions. You can specify a number (such as 10, valid values: 1 to 100000) or a percentage (such as 20%, valid values: 1% to 100%). Default value: 100%.
|
|
343
343
|
*
|
|
344
344
|
* @example
|
|
345
345
|
* 20%
|
|
@@ -347,12 +347,10 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
347
347
|
maxUnhealthyNodesThreshold?: string;
|
|
348
348
|
/**
|
|
349
349
|
* @remarks
|
|
350
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair
|
|
351
|
-
*
|
|
352
|
-
* -
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
* Default value: `true`.
|
|
350
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair` is set to `true`. Valid values:
|
|
351
|
+
* - true: Allows node restarts.
|
|
352
|
+
* - false: Does not allow node restarts.
|
|
353
|
+
* Default value: true.
|
|
356
354
|
*
|
|
357
355
|
* @example
|
|
358
356
|
* true
|
|
@@ -390,11 +388,10 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
390
388
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
391
389
|
/**
|
|
392
390
|
* @remarks
|
|
393
|
-
* Specifies whether to allow automatic kubelet
|
|
394
|
-
* -
|
|
395
|
-
* -
|
|
396
|
-
*
|
|
397
|
-
* Default value: `true`.
|
|
391
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
392
|
+
* - true: Allows automatic kubelet upgrades.
|
|
393
|
+
* - false: Does not allow automatic kubelet upgrades.
|
|
394
|
+
* Default value: true.
|
|
398
395
|
*
|
|
399
396
|
* @example
|
|
400
397
|
* true
|
|
@@ -402,11 +399,10 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
402
399
|
autoUpgradeKubelet?: boolean;
|
|
403
400
|
/**
|
|
404
401
|
* @remarks
|
|
405
|
-
* Specifies whether to allow automatic operating system
|
|
406
|
-
* -
|
|
407
|
-
* -
|
|
408
|
-
*
|
|
409
|
-
* Default value: `false`.
|
|
402
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
403
|
+
* - true: Allows automatic operating system upgrades.
|
|
404
|
+
* - false: Does not allow automatic operating system upgrades.
|
|
405
|
+
* Default value: false.
|
|
410
406
|
*
|
|
411
407
|
* @example
|
|
412
408
|
* false
|
|
@@ -414,11 +410,10 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
414
410
|
autoUpgradeOs?: boolean;
|
|
415
411
|
/**
|
|
416
412
|
* @remarks
|
|
417
|
-
* Specifies whether to allow automatic runtime
|
|
418
|
-
* -
|
|
419
|
-
* -
|
|
420
|
-
*
|
|
421
|
-
* Default value: `true`.
|
|
413
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
|
|
414
|
+
* - true: Allows automatic runtime upgrades.
|
|
415
|
+
* - false: Does not allow automatic runtime upgrades.
|
|
416
|
+
* Default value: true.
|
|
422
417
|
*
|
|
423
418
|
* @example
|
|
424
419
|
* false
|
|
@@ -452,9 +447,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
452
447
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
453
448
|
/**
|
|
454
449
|
* @remarks
|
|
455
|
-
* The packages to
|
|
456
|
-
*
|
|
457
|
-
* Default value: `kernel`.
|
|
450
|
+
* The packages to be excluded during vulnerability repair. Default value: `kernel`.
|
|
458
451
|
*
|
|
459
452
|
* @example
|
|
460
453
|
* kernel
|
|
@@ -462,11 +455,10 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
462
455
|
excludePackages?: string;
|
|
463
456
|
/**
|
|
464
457
|
* @remarks
|
|
465
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix
|
|
466
|
-
* -
|
|
467
|
-
* -
|
|
468
|
-
*
|
|
469
|
-
* Default value: `true`.
|
|
458
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix` is set to `true`. Valid values:
|
|
459
|
+
* - true: Allows node restarts.
|
|
460
|
+
* - false: Does not allow node restarts.
|
|
461
|
+
* Default value: true.
|
|
470
462
|
*
|
|
471
463
|
* @example
|
|
472
464
|
* true
|
|
@@ -474,13 +466,11 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
474
466
|
restartNode?: boolean;
|
|
475
467
|
/**
|
|
476
468
|
* @remarks
|
|
477
|
-
* The vulnerability levels allowed for automatic
|
|
478
|
-
*
|
|
479
|
-
* -
|
|
480
|
-
* -
|
|
481
|
-
*
|
|
482
|
-
*
|
|
483
|
-
* Default value: `asap`.
|
|
469
|
+
* The vulnerability levels that are allowed for automatic repair. Separate multiple levels with commas. Example: `asap,later`. Valid values:
|
|
470
|
+
* - asap: High.
|
|
471
|
+
* - later: Medium.
|
|
472
|
+
* - nntf: Low.
|
|
473
|
+
* Default value: asap.
|
|
484
474
|
*
|
|
485
475
|
* @example
|
|
486
476
|
* asap,nntf
|
|
@@ -514,14 +504,10 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
514
504
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
515
505
|
/**
|
|
516
506
|
* @remarks
|
|
517
|
-
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
518
|
-
*
|
|
519
|
-
*
|
|
520
|
-
*
|
|
521
|
-
* - true: Enabled.
|
|
522
|
-
* - false: Disabled.
|
|
523
|
-
*
|
|
524
|
-
* Default value: `true`.
|
|
507
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead. Specifies whether to enable automatic upgrades. Valid values:
|
|
508
|
+
* - true: Enables automatic upgrades.
|
|
509
|
+
* - false: Disables automatic upgrades.
|
|
510
|
+
* Default value: true.
|
|
525
511
|
*
|
|
526
512
|
* @example
|
|
527
513
|
* true
|
|
@@ -531,11 +517,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
531
517
|
autoUpgrade?: boolean;
|
|
532
518
|
/**
|
|
533
519
|
* @remarks
|
|
534
|
-
* The maximum number of unavailable nodes.
|
|
535
|
-
*
|
|
536
|
-
* Valid values: [1,1000\\]
|
|
537
|
-
*
|
|
538
|
-
* Default value: 1.
|
|
520
|
+
* The maximum number of unavailable nodes. Valid values: 1 to 1000. Default value: 1.
|
|
539
521
|
*
|
|
540
522
|
* @example
|
|
541
523
|
* 1
|
|
@@ -543,10 +525,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
543
525
|
maxUnavailable?: number;
|
|
544
526
|
/**
|
|
545
527
|
* @remarks
|
|
546
|
-
* The number of extra nodes.
|
|
547
|
-
*
|
|
548
|
-
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster load.
|
|
549
|
-
*
|
|
528
|
+
* The number of extra nodes. This parameter and `surge_percentage` are mutually exclusive. Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
550
529
|
* > The number of extra nodes should not exceed the current number of nodes.
|
|
551
530
|
*
|
|
552
531
|
* @example
|
|
@@ -555,9 +534,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
555
534
|
surge?: number;
|
|
556
535
|
/**
|
|
557
536
|
* @remarks
|
|
558
|
-
* The percentage of extra nodes.
|
|
559
|
-
*
|
|
560
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage of extra nodes is set to 50% and 6 nodes exist, the number of extra nodes = 50% × 6 = 3.
|
|
537
|
+
* The percentage of extra nodes. This parameter and `surge` are mutually exclusive. The number of extra nodes is calculated by multiplying the percentage of extra nodes by the total number of nodes. For example, if the percentage is set to 50% and the total number of nodes is 6, the number of extra nodes is 50% × 6 = 3.
|
|
561
538
|
*
|
|
562
539
|
* @example
|
|
563
540
|
* 0
|
|
@@ -593,18 +570,15 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
593
570
|
export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
594
571
|
/**
|
|
595
572
|
* @remarks
|
|
596
|
-
* Specifies whether to enable ECS fault detection for
|
|
573
|
+
* Specifies whether to enable ECS fault detection for auto-repair.
|
|
597
574
|
*/
|
|
598
575
|
autoFaultDiagnosis?: boolean;
|
|
599
576
|
/**
|
|
600
577
|
* @remarks
|
|
601
|
-
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable
|
|
602
|
-
*
|
|
603
|
-
* -
|
|
604
|
-
*
|
|
605
|
-
* - `false`: Disables automatic repair.
|
|
606
|
-
*
|
|
607
|
-
* Default value: `true`.
|
|
578
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable` is set to `true`. Valid values:
|
|
579
|
+
* - true: Automatically repairs nodes.
|
|
580
|
+
* - false: Does not automatically repair nodes.
|
|
581
|
+
* Default value: true.
|
|
608
582
|
*
|
|
609
583
|
* @example
|
|
610
584
|
* true
|
|
@@ -612,16 +586,15 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
612
586
|
autoRepair?: boolean;
|
|
613
587
|
/**
|
|
614
588
|
* @remarks
|
|
615
|
-
* The auto
|
|
589
|
+
* The auto-repair policy.
|
|
616
590
|
*/
|
|
617
591
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
618
592
|
/**
|
|
619
593
|
* @remarks
|
|
620
|
-
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable
|
|
621
|
-
* -
|
|
622
|
-
* -
|
|
623
|
-
*
|
|
624
|
-
* Default value: `true`.
|
|
594
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable` is set to `true`. Valid values:
|
|
595
|
+
* - true: Enables automatic upgrades.
|
|
596
|
+
* - false: Disables automatic upgrades.
|
|
597
|
+
* Default value: true.
|
|
625
598
|
*
|
|
626
599
|
* @example
|
|
627
600
|
* true
|
|
@@ -629,17 +602,15 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
629
602
|
autoUpgrade?: boolean;
|
|
630
603
|
/**
|
|
631
604
|
* @remarks
|
|
632
|
-
* The
|
|
605
|
+
* The automatic upgrade policy.
|
|
633
606
|
*/
|
|
634
607
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
635
608
|
/**
|
|
636
609
|
* @remarks
|
|
637
|
-
* Specifies whether to automatically
|
|
638
|
-
*
|
|
639
|
-
* -
|
|
640
|
-
*
|
|
641
|
-
*
|
|
642
|
-
* Default value: `true`.
|
|
610
|
+
* Specifies whether to automatically repair CVE vulnerabilities. This parameter takes effect only when `enable` is set to `true`. Valid values:
|
|
611
|
+
* - true: Automatically repairs CVE vulnerabilities.
|
|
612
|
+
* - false: Does not automatically repair CVE vulnerabilities.
|
|
613
|
+
* Default value: true.
|
|
643
614
|
*
|
|
644
615
|
* @example
|
|
645
616
|
* true
|
|
@@ -647,22 +618,20 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
647
618
|
autoVulFix?: boolean;
|
|
648
619
|
/**
|
|
649
620
|
* @remarks
|
|
650
|
-
* The
|
|
621
|
+
* The automatic CVE repair policy.
|
|
651
622
|
*/
|
|
652
623
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
653
624
|
/**
|
|
654
625
|
* @remarks
|
|
655
|
-
* Specifies whether to enable node rotation.
|
|
626
|
+
* Specifies whether to enable node rotation. This feature is supported only by intelligent managed node pools and is enabled by default. It is not supported by regular node pools.
|
|
656
627
|
*/
|
|
657
628
|
driftEnabled?: boolean;
|
|
658
629
|
/**
|
|
659
630
|
* @remarks
|
|
660
631
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
661
|
-
*
|
|
662
|
-
* -
|
|
663
|
-
*
|
|
664
|
-
*
|
|
665
|
-
* Default value: `false`.
|
|
632
|
+
* - true: Enables the managed node pool.
|
|
633
|
+
* - false: Does not enable the managed node pool. Other related configurations take effect only when this parameter is set to true.
|
|
634
|
+
* Default value: false.
|
|
666
635
|
*
|
|
667
636
|
* @example
|
|
668
637
|
* true
|
|
@@ -670,9 +639,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
670
639
|
enable?: boolean;
|
|
671
640
|
/**
|
|
672
641
|
* @remarks
|
|
673
|
-
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
674
|
-
*
|
|
675
|
-
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
642
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead. The automatic upgrade configuration. This parameter takes effect only when `enable` is set to `true`.
|
|
676
643
|
*
|
|
677
644
|
* @deprecated
|
|
678
645
|
*/
|
|
@@ -743,7 +710,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
743
710
|
* @remarks
|
|
744
711
|
* The resource group ID of the node pool. Instances scaled out from the node pool belong to this resource group.
|
|
745
712
|
*
|
|
746
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on
|
|
713
|
+
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
747
714
|
*
|
|
748
715
|
* @example
|
|
749
716
|
* rg-acfmyvw3wjm****
|
|
@@ -775,7 +742,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
775
742
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
776
743
|
/**
|
|
777
744
|
* @remarks
|
|
778
|
-
* The private
|
|
745
|
+
* The ID of the private pool. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
779
746
|
*
|
|
780
747
|
* @example
|
|
781
748
|
* eap-bp67acfmxazb4****
|
|
@@ -783,10 +750,11 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
783
750
|
id?: string;
|
|
784
751
|
/**
|
|
785
752
|
* @remarks
|
|
786
|
-
* The private
|
|
787
|
-
*
|
|
788
|
-
* - `
|
|
789
|
-
* - `
|
|
753
|
+
* The private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, private pool capacity is generated for instance startup. Valid values:
|
|
754
|
+
*
|
|
755
|
+
* - `Open`: open mode. The system automatically matches the capacity of open private pools. If no eligible private pool capacity is available, the system uses public pool resources to start the instance.
|
|
756
|
+
* - `Target`: targeted mode. The system uses the capacity of the specified private pool to start the instance. If the specified private pool capacity is unavailable, the instance fails to start.
|
|
757
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start the instance.
|
|
790
758
|
*
|
|
791
759
|
* @example
|
|
792
760
|
* Open
|
|
@@ -818,16 +786,18 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
818
786
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
819
787
|
/**
|
|
820
788
|
* @remarks
|
|
821
|
-
* The list of private pool IDs, which are elasticity
|
|
789
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can only pass the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
822
790
|
*/
|
|
823
791
|
privatePoolIds?: string[];
|
|
824
792
|
/**
|
|
825
793
|
* @remarks
|
|
826
|
-
* The resource pool
|
|
827
|
-
*
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
*
|
|
794
|
+
* The resource pool policy used to create instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, as well as public pools. Valid values:
|
|
795
|
+
*
|
|
796
|
+
* - `PrivatePoolFirst`: private pool first. If you select this policy and specify `resource_pool_options.private_pool_ids`, the specified private pools are used first. If no private pool is specified or the specified private pools do not have sufficient capacity, the system automatically matches open private pools. If no eligible private pool is available, the system uses the public pool to create instances.
|
|
797
|
+
* - `PrivatePoolOnly`: private pool only. If you select this policy, you must specify `resource_pool_options.private_pool_ids`. If the specified private pools do not have sufficient capacity, the instances fail to start.
|
|
798
|
+
* - `None`: no resource pool policy.
|
|
799
|
+
*
|
|
800
|
+
* Default value: `None`.
|
|
831
801
|
*
|
|
832
802
|
* @example
|
|
833
803
|
* PrivatePoolFirst
|
|
@@ -870,7 +840,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
870
840
|
instanceType?: string;
|
|
871
841
|
/**
|
|
872
842
|
* @remarks
|
|
873
|
-
* The price
|
|
843
|
+
* The maximum price per instance.
|
|
874
844
|
*
|
|
875
845
|
* <props="china">Unit: CNY/hour.
|
|
876
846
|
*
|
|
@@ -910,8 +880,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
910
880
|
* @remarks
|
|
911
881
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
912
882
|
*
|
|
913
|
-
* - `true`:
|
|
914
|
-
* - `false`:
|
|
883
|
+
* - `true`: enables auto-renewal.
|
|
884
|
+
* - `false`: disables auto-renewal.
|
|
915
885
|
*
|
|
916
886
|
* Default value: `false`.
|
|
917
887
|
*
|
|
@@ -921,9 +891,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
921
891
|
autoRenew?: boolean;
|
|
922
892
|
/**
|
|
923
893
|
* @remarks
|
|
924
|
-
* The auto-renewal period
|
|
925
|
-
* - When PeriodUnit
|
|
926
|
-
* - When PeriodUnit
|
|
894
|
+
* The auto-renewal period. Valid values:
|
|
895
|
+
* - When PeriodUnit is set to Week: 1, 2, and 3.
|
|
896
|
+
* - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
927
897
|
*
|
|
928
898
|
* Default value: 1.
|
|
929
899
|
*
|
|
@@ -933,10 +903,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
933
903
|
autoRenewPeriod?: number;
|
|
934
904
|
/**
|
|
935
905
|
* @remarks
|
|
936
|
-
*
|
|
906
|
+
* Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when the `multi_az_policy` parameter is set to `COST_OPTIMIZED` and sufficient spot instances cannot be created due to price or inventory constraints. Valid values:
|
|
937
907
|
*
|
|
938
|
-
* - `true`:
|
|
939
|
-
* - `false`:
|
|
908
|
+
* - `true`: allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
909
|
+
* - `false`: does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
940
910
|
*
|
|
941
911
|
* @example
|
|
942
912
|
* true
|
|
@@ -944,12 +914,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
944
914
|
compensateWithOnDemand?: boolean;
|
|
945
915
|
/**
|
|
946
916
|
* @remarks
|
|
947
|
-
* The data cloud disk
|
|
917
|
+
* The data cloud disk configuration of nodes. You can configure 0 to 10 data cloud disks. A maximum of 10 data cloud disks can be added.
|
|
948
918
|
*/
|
|
949
919
|
dataDisks?: DataDisk[];
|
|
950
920
|
/**
|
|
951
921
|
* @remarks
|
|
952
|
-
* The deployment set to which the ECS instances
|
|
922
|
+
* The deployment set to which the ECS instances scaled out by the node pool belong. This parameter takes effect only on new nodes. The deployment sets of existing nodes remain unchanged.
|
|
953
923
|
*
|
|
954
924
|
* @example
|
|
955
925
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -957,11 +927,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
957
927
|
deploymentsetId?: string;
|
|
958
928
|
/**
|
|
959
929
|
* @remarks
|
|
960
|
-
* The
|
|
930
|
+
* The expected number of nodes in the node pool.
|
|
931
|
+
*
|
|
932
|
+
* This parameter specifies the total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure the normal operation of cluster components. You can scale the node pool in or out by adjusting the expected number of nodes.
|
|
961
933
|
*
|
|
962
|
-
*
|
|
934
|
+
* If you do not need to create nodes, set this parameter to 0 and manually increase the number of nodes later.
|
|
963
935
|
*
|
|
964
|
-
*
|
|
936
|
+
* When you scale in the node pool, subscription nodes are not automatically released. Automatic release subscription nodes, [change the billing method of the nodes from subscription to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then log on to the ECS console automatic release them.
|
|
965
937
|
*
|
|
966
938
|
* @example
|
|
967
939
|
* 2
|
|
@@ -974,7 +946,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
974
946
|
diskInit?: DiskInit[];
|
|
975
947
|
/**
|
|
976
948
|
* @remarks
|
|
977
|
-
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types.
|
|
949
|
+
* Specifies whether to enable the high-density cloud disk mode. This mode is supported only when the node pool uses instance types. After this mode is enabled, the total number of system cloud disks and data cloud disks does not exceed the maximum number of high-density cloud disks supported by the instance type.
|
|
978
950
|
*
|
|
979
951
|
* @example
|
|
980
952
|
* false
|
|
@@ -982,7 +954,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
982
954
|
enableHighDensityMode?: boolean;
|
|
983
955
|
/**
|
|
984
956
|
* @remarks
|
|
985
|
-
* The custom image
|
|
957
|
+
* The ID of the custom image. You can call the `DescribeKubernetesVersionMetadata` operation to query the images supported by the system. By default, the latest system image is used.
|
|
986
958
|
*
|
|
987
959
|
* @example
|
|
988
960
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -990,7 +962,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
990
962
|
imageId?: string;
|
|
991
963
|
/**
|
|
992
964
|
* @remarks
|
|
993
|
-
* The operating system distribution
|
|
965
|
+
* The operating system distribution. We recommend that you use this parameter to specify the operating system for nodes. Valid values:
|
|
994
966
|
*
|
|
995
967
|
* - `AliyunLinux`: Alinux2 image.
|
|
996
968
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -999,7 +971,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
999
971
|
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1000
972
|
* - `CentOS`: CentOS image.
|
|
1001
973
|
* - `Windows`: Windows image.
|
|
1002
|
-
* - `WindowsCore`:
|
|
974
|
+
* - `WindowsCore`: Windows Core image.
|
|
1003
975
|
* - `ContainerOS`: container-optimized image.
|
|
1004
976
|
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1005
977
|
*
|
|
@@ -1011,33 +983,35 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1011
983
|
* @remarks
|
|
1012
984
|
* The billing method of nodes in the node pool. Valid values:
|
|
1013
985
|
*
|
|
1014
|
-
* - `PrePaid`: subscription
|
|
1015
|
-
* - `PostPaid`: pay-as-you-go
|
|
986
|
+
* - `PrePaid`: subscription
|
|
987
|
+
* - `PostPaid`: pay-as-you-go
|
|
1016
988
|
*
|
|
1017
989
|
* Default value: `PostPaid`.
|
|
1018
990
|
*
|
|
991
|
+
* When you delete a node pool, scale in a node pool, or remove nodes, subscription nodes are not automatically released. Automatic release subscription nodes, [change the billing method of the nodes from subscription to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then log on to the ECS console automatic release them.
|
|
992
|
+
*
|
|
1019
993
|
* @example
|
|
1020
994
|
* PostPaid
|
|
1021
995
|
*/
|
|
1022
996
|
instanceChargeType?: string;
|
|
1023
997
|
/**
|
|
1024
998
|
* @remarks
|
|
1025
|
-
* The instance
|
|
999
|
+
* The instance property configurations.
|
|
1026
1000
|
*/
|
|
1027
1001
|
instancePatterns?: InstancePatterns[];
|
|
1028
1002
|
/**
|
|
1029
1003
|
* @remarks
|
|
1030
|
-
* The list of
|
|
1004
|
+
* The list of instance types for nodes. You can select multiple instance types as alternatives. When a node is created, the system attempts to purchase an instance of the first instance type in the list. If the purchase fails, the system tries the next instance type until the node is created. The final instance type purchased may vary based on resource availability.
|
|
1031
1005
|
*
|
|
1032
|
-
*
|
|
1006
|
+
* You can specify 1 to 10 instance types.
|
|
1033
1007
|
*/
|
|
1034
1008
|
instanceTypes?: string[];
|
|
1035
1009
|
/**
|
|
1036
1010
|
* @remarks
|
|
1037
1011
|
* The billing method for public IP addresses. Valid values:
|
|
1038
1012
|
*
|
|
1039
|
-
* - `PayByBandwidth`:
|
|
1040
|
-
* - `PayByTraffic`:
|
|
1013
|
+
* - `PayByBandwidth`: pay-by-bandwidth
|
|
1014
|
+
* - `PayByTraffic`: pay-by-traffic
|
|
1041
1015
|
*
|
|
1042
1016
|
* @example
|
|
1043
1017
|
* PayByBandwidth
|
|
@@ -1045,7 +1019,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1045
1019
|
internetChargeType?: string;
|
|
1046
1020
|
/**
|
|
1047
1021
|
* @remarks
|
|
1048
|
-
* The maximum outbound public bandwidth
|
|
1022
|
+
* The maximum outbound public bandwidth of nodes. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1049
1023
|
*
|
|
1050
1024
|
* @example
|
|
1051
1025
|
* 5
|
|
@@ -1053,7 +1027,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1053
1027
|
internetMaxBandwidthOut?: number;
|
|
1054
1028
|
/**
|
|
1055
1029
|
* @remarks
|
|
1056
|
-
* The key pair
|
|
1030
|
+
* The name of the key pair. You must specify this parameter or `login_password`. If the node pool is a managed node pool, only `key_pair` is supported.
|
|
1057
1031
|
*
|
|
1058
1032
|
* @example
|
|
1059
1033
|
* pro-nodepool
|
|
@@ -1061,7 +1035,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1061
1035
|
keyPair?: string;
|
|
1062
1036
|
/**
|
|
1063
1037
|
* @remarks
|
|
1064
|
-
* The SSH logon password.
|
|
1038
|
+
* The SSH logon password. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1065
1039
|
*
|
|
1066
1040
|
* @example
|
|
1067
1041
|
* Hello1234
|
|
@@ -1069,15 +1043,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1069
1043
|
loginPassword?: string;
|
|
1070
1044
|
/**
|
|
1071
1045
|
* @remarks
|
|
1072
|
-
* The
|
|
1046
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1073
1047
|
*
|
|
1074
|
-
* - `PRIORITY`: scales
|
|
1048
|
+
* - `PRIORITY`: scales ECS instances based on the vSwitches (VSwitchIds.N) that you specify. If ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1075
1049
|
*
|
|
1076
|
-
* - `COST_OPTIMIZED`:
|
|
1050
|
+
* - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order. If the scaling configuration settings specify multiple instance types and the spot instance billing method, the system preferentially creates spot instances. You can use the `CompensateWithOnDemand` parameter to specify if a pay-as-you-go instance is automatically created when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1077
1051
|
*
|
|
1078
|
-
* > `COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
1052
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or spot instances.
|
|
1079
1053
|
*
|
|
1080
|
-
* - `BALANCE`: evenly allocates ECS instances across the multiple
|
|
1054
|
+
* - `BALANCE`: evenly allocates ECS instances across the multiple zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the `RebalanceInstances` operation to balance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1081
1055
|
*
|
|
1082
1056
|
* Default value: `PRIORITY`.
|
|
1083
1057
|
*
|
|
@@ -1087,7 +1061,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1087
1061
|
multiAzPolicy?: string;
|
|
1088
1062
|
/**
|
|
1089
1063
|
* @remarks
|
|
1090
|
-
* The minimum number of pay-as-you-go instances required
|
|
1064
|
+
* The minimum number of pay-as-you-go instances required by 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.
|
|
1091
1065
|
*
|
|
1092
1066
|
* @example
|
|
1093
1067
|
* 0
|
|
@@ -1095,7 +1069,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1095
1069
|
onDemandBaseCapacity?: number;
|
|
1096
1070
|
/**
|
|
1097
1071
|
* @remarks
|
|
1098
|
-
* The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances
|
|
1072
|
+
* The percentage of pay-as-you-go instances among the excess instances after the scaling group meets the minimum number of pay-as-you-go instances specified by `on_demand_base_capacity`. Valid values: 0 to 100.
|
|
1099
1073
|
*
|
|
1100
1074
|
* @example
|
|
1101
1075
|
* 20
|
|
@@ -1105,8 +1079,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1105
1079
|
* @remarks
|
|
1106
1080
|
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1107
1081
|
*
|
|
1108
|
-
* - When `period_unit
|
|
1109
|
-
* - When `period_unit
|
|
1082
|
+
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1083
|
+
* - When `period_unit` is set to `Month`, valid values for `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1110
1084
|
*
|
|
1111
1085
|
* @example
|
|
1112
1086
|
* 1
|
|
@@ -1116,8 +1090,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1116
1090
|
* @remarks
|
|
1117
1091
|
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1118
1092
|
*
|
|
1119
|
-
* - `Month`: the
|
|
1120
|
-
* - `Week`: the
|
|
1093
|
+
* - `Month`: uses the month as the time unit.
|
|
1094
|
+
* - `Week`: uses the week as the time unit.
|
|
1121
1095
|
*
|
|
1122
1096
|
* Default value: `Month`.
|
|
1123
1097
|
*
|
|
@@ -1144,7 +1118,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1144
1118
|
platform?: string;
|
|
1145
1119
|
/**
|
|
1146
1120
|
* @remarks
|
|
1147
|
-
* The private
|
|
1121
|
+
* The private pool configurations.
|
|
1148
1122
|
*/
|
|
1149
1123
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1150
1124
|
/**
|
|
@@ -1154,17 +1128,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1154
1128
|
rdsInstances?: string[];
|
|
1155
1129
|
/**
|
|
1156
1130
|
* @remarks
|
|
1157
|
-
* The resource pool and resource pool
|
|
1158
|
-
*
|
|
1159
|
-
* This parameter
|
|
1131
|
+
* The resource pool and resource pool policy used to create instances. Take note of the following items when you configure this parameter:
|
|
1132
|
+
*
|
|
1133
|
+
* - This parameter takes effect only when pay-as-you-go instances are created.
|
|
1134
|
+
* - This parameter cannot be configured at the same time as `private_pool_options.match_criteria` and `private_pool_options.id`.
|
|
1160
1135
|
*/
|
|
1161
1136
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1162
1137
|
/**
|
|
1163
1138
|
* @remarks
|
|
1164
|
-
* The scaling group
|
|
1139
|
+
* The scaling mode of the scaling group. Valid values:
|
|
1165
1140
|
*
|
|
1166
|
-
* - `release`: standard mode.
|
|
1167
|
-
* - `recycle`: swift mode.
|
|
1141
|
+
* - `release`: standard mode. The scaling group scales instances by creating and releasing ECS instances based on the requested resources.
|
|
1142
|
+
* - `recycle`: swift mode. The scaling group scales instances by creating, stopping, and starting ECS instances to accelerate subsequent scaling operations. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
|
|
1168
1143
|
*
|
|
1169
1144
|
* @example
|
|
1170
1145
|
* release
|
|
@@ -1177,7 +1152,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1177
1152
|
securityGroupIds?: string[];
|
|
1178
1153
|
/**
|
|
1179
1154
|
* @remarks
|
|
1180
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1155
|
+
* The number of available instance types. The scaling group evenly creates spot instances by using the most cost-effective instance types. Valid values: 1 to 10.
|
|
1181
1156
|
*
|
|
1182
1157
|
* @example
|
|
1183
1158
|
* 5
|
|
@@ -1185,10 +1160,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1185
1160
|
spotInstancePools?: number;
|
|
1186
1161
|
/**
|
|
1187
1162
|
* @remarks
|
|
1188
|
-
* Specifies whether to enable spot instance
|
|
1163
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1189
1164
|
*
|
|
1190
|
-
* - `true`:
|
|
1191
|
-
* - `false`:
|
|
1165
|
+
* - `true`: enables spot instance replenishment.
|
|
1166
|
+
* - `false`: disables spot instance replenishment.
|
|
1192
1167
|
*
|
|
1193
1168
|
* @example
|
|
1194
1169
|
* false
|
|
@@ -1196,16 +1171,16 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1196
1171
|
spotInstanceRemedy?: boolean;
|
|
1197
1172
|
/**
|
|
1198
1173
|
* @remarks
|
|
1199
|
-
* The price
|
|
1174
|
+
* The maximum price configuration for spot instances.
|
|
1200
1175
|
*/
|
|
1201
1176
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1202
1177
|
/**
|
|
1203
1178
|
* @remarks
|
|
1204
|
-
* The
|
|
1179
|
+
* The bidding policy for spot instances. Valid values:
|
|
1205
1180
|
*
|
|
1206
1181
|
* - `NoSpot`: non-spot instance.
|
|
1207
|
-
* - `SpotWithPriceLimit`:
|
|
1208
|
-
* - `SpotAsPriceGo`:
|
|
1182
|
+
* - `SpotWithPriceLimit`: sets the maximum price for spot instances.
|
|
1183
|
+
* - `SpotAsPriceGo`: uses the system automatic bidding policy, which follows the actual market price.
|
|
1209
1184
|
*
|
|
1210
1185
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1211
1186
|
*
|
|
@@ -1215,11 +1190,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1215
1190
|
spotStrategy?: string;
|
|
1216
1191
|
/**
|
|
1217
1192
|
* @remarks
|
|
1218
|
-
* Specifies whether to enable
|
|
1219
|
-
* - true:
|
|
1220
|
-
* - false:
|
|
1193
|
+
* Specifies whether to enable performance burst for the system cloud disk. Valid values:
|
|
1194
|
+
* - true: enables performance burst. After this feature is enabled, if your workloads experience sudden spikes in data read and write requests, the cloud disk temporarily increases its performance based on the actual workload until the workload stabilizes.
|
|
1195
|
+
* - false: disables performance burst.
|
|
1221
1196
|
*
|
|
1222
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL
|
|
1197
|
+
* 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).
|
|
1223
1198
|
*
|
|
1224
1199
|
* @example
|
|
1225
1200
|
* true
|
|
@@ -1227,17 +1202,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1227
1202
|
systemDiskBurstingEnabled?: boolean;
|
|
1228
1203
|
/**
|
|
1229
1204
|
* @remarks
|
|
1230
|
-
* The multiple cloud disk types
|
|
1205
|
+
* The multiple system cloud disk types. If the system cloud disk cannot be created by using the disk type with the highest priority, the system automatically tries the next disk type in the priority list.
|
|
1231
1206
|
*/
|
|
1232
1207
|
systemDiskCategories?: string[];
|
|
1233
1208
|
/**
|
|
1234
1209
|
* @remarks
|
|
1235
|
-
* The
|
|
1236
|
-
* - `cloud_efficiency`: ultra
|
|
1237
|
-
* - `cloud_ssd`: standard SSD
|
|
1238
|
-
* - `cloud_essd`: ESSD
|
|
1239
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1240
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1210
|
+
* The system cloud disk type of nodes. Valid values:
|
|
1211
|
+
* - `cloud_efficiency`: ultra disk
|
|
1212
|
+
* - `cloud_ssd`: standard SSD
|
|
1213
|
+
* - `cloud_essd`: ESSD
|
|
1214
|
+
* - `cloud_auto`: ESSD AutoPL disk
|
|
1215
|
+
* - `cloud_essd_entry`: ESSD Entry disk
|
|
1241
1216
|
*
|
|
1242
1217
|
* Default value: `cloud_efficiency`.
|
|
1243
1218
|
*
|
|
@@ -1247,7 +1222,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1247
1222
|
systemDiskCategory?: string;
|
|
1248
1223
|
/**
|
|
1249
1224
|
* @remarks
|
|
1250
|
-
* The encryption algorithm used
|
|
1225
|
+
* The encryption algorithm used for the system cloud disk. Valid value: aes-256.
|
|
1251
1226
|
*
|
|
1252
1227
|
* @example
|
|
1253
1228
|
* aes-256
|
|
@@ -1257,9 +1232,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1257
1232
|
* @remarks
|
|
1258
1233
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1259
1234
|
*
|
|
1260
|
-
* - true:
|
|
1235
|
+
* - true: encrypts the system cloud disk.
|
|
1261
1236
|
*
|
|
1262
|
-
* - false:
|
|
1237
|
+
* - false: does not encrypt the system cloud disk.
|
|
1263
1238
|
*
|
|
1264
1239
|
* @example
|
|
1265
1240
|
* false
|
|
@@ -1267,7 +1242,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1267
1242
|
systemDiskEncrypted?: boolean;
|
|
1268
1243
|
/**
|
|
1269
1244
|
* @remarks
|
|
1270
|
-
* The KMS key
|
|
1245
|
+
* The ID of the Key Management Service (KMS) key used to encrypt the system cloud disk.
|
|
1271
1246
|
*
|
|
1272
1247
|
* @example
|
|
1273
1248
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1275,11 +1250,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1275
1250
|
systemDiskKmsKeyId?: string;
|
|
1276
1251
|
/**
|
|
1277
1252
|
* @remarks
|
|
1278
|
-
* The performance level of the
|
|
1279
|
-
* - PL0:
|
|
1280
|
-
* - PL1:
|
|
1281
|
-
* - PL2: high
|
|
1282
|
-
* - PL3:
|
|
1253
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSDs. The performance level varies based on the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1254
|
+
* - PL0: provides medium concurrent I/O performance and stable read/write latency.
|
|
1255
|
+
* - PL1: provides medium concurrent I/O performance and stable read/write latency.
|
|
1256
|
+
* - PL2: provides high concurrent I/O performance and stable read/write latency.
|
|
1257
|
+
* - PL3: provides extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1283
1258
|
*
|
|
1284
1259
|
* @example
|
|
1285
1260
|
* PL1
|
|
@@ -1287,11 +1262,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1287
1262
|
systemDiskPerformanceLevel?: string;
|
|
1288
1263
|
/**
|
|
1289
1264
|
* @remarks
|
|
1290
|
-
* The provisioned read
|
|
1265
|
+
* The provisioned read and write IOPS of the system cloud disk.
|
|
1291
1266
|
*
|
|
1292
|
-
* Valid values: 0 to
|
|
1267
|
+
* Valid values: 0 to the minimum of 50,000 and (1,000 × capacity - baseline performance). Baseline performance = the minimum of (1,800 + 50 × capacity) and 50,000.
|
|
1293
1268
|
*
|
|
1294
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL
|
|
1269
|
+
* 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).
|
|
1295
1270
|
*
|
|
1296
1271
|
* @example
|
|
1297
1272
|
* 1000
|
|
@@ -1299,13 +1274,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1299
1274
|
systemDiskProvisionedIops?: number;
|
|
1300
1275
|
/**
|
|
1301
1276
|
* @remarks
|
|
1302
|
-
* The size of the
|
|
1277
|
+
* The size of the system cloud disk. Unit: GiB.
|
|
1303
1278
|
*
|
|
1304
|
-
* Valid values:
|
|
1279
|
+
* Valid values: 20 to 2048.
|
|
1305
1280
|
*
|
|
1306
|
-
* The value of this parameter must be greater than or equal to
|
|
1281
|
+
* The value of this parameter must be greater than or equal to the maximum of 20 and the image size.
|
|
1307
1282
|
*
|
|
1308
|
-
* Default value:
|
|
1283
|
+
* Default value: the maximum of 40 and the size of the image specified by the ImageId parameter.
|
|
1309
1284
|
*
|
|
1310
1285
|
* @example
|
|
1311
1286
|
* 120
|
|
@@ -1321,14 +1296,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1321
1296
|
systemDiskSnapshotPolicyId?: string;
|
|
1322
1297
|
/**
|
|
1323
1298
|
* @remarks
|
|
1324
|
-
*
|
|
1299
|
+
* Adds tags only to ECS instances.
|
|
1325
1300
|
*
|
|
1326
|
-
* Tag keys
|
|
1301
|
+
* Tag keys must be unique and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", and cannot contain "https://" or "http://".
|
|
1327
1302
|
*/
|
|
1328
1303
|
tags?: Tag[];
|
|
1329
1304
|
/**
|
|
1330
1305
|
* @remarks
|
|
1331
|
-
* The list of vSwitch IDs.
|
|
1306
|
+
* The list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
1332
1307
|
*
|
|
1333
1308
|
* > To ensure high availability, select vSwitches in different zones.
|
|
1334
1309
|
*/
|
|
@@ -1481,8 +1456,8 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1481
1456
|
* @remarks
|
|
1482
1457
|
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1483
1458
|
*
|
|
1484
|
-
* - `true`:
|
|
1485
|
-
* - `false`:
|
|
1459
|
+
* - `true`: Enables confidential computing.
|
|
1460
|
+
* - `false`: Does not enable confidential computing.
|
|
1486
1461
|
*
|
|
1487
1462
|
* Default value: `false`.
|
|
1488
1463
|
*
|
|
@@ -1514,7 +1489,7 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1514
1489
|
export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1515
1490
|
/**
|
|
1516
1491
|
* @remarks
|
|
1517
|
-
* The auto scaling
|
|
1492
|
+
* The auto scaling configurations.
|
|
1518
1493
|
*/
|
|
1519
1494
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1520
1495
|
/**
|
|
@@ -1527,12 +1502,12 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1527
1502
|
concurrency?: boolean;
|
|
1528
1503
|
/**
|
|
1529
1504
|
* @remarks
|
|
1530
|
-
* The Lingjun
|
|
1505
|
+
* The Lingjun node pool configurations. (This parameter does not take effect.)
|
|
1531
1506
|
*/
|
|
1532
1507
|
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1533
1508
|
/**
|
|
1534
1509
|
* @remarks
|
|
1535
|
-
* The cluster
|
|
1510
|
+
* The cluster configurations.
|
|
1536
1511
|
*/
|
|
1537
1512
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1538
1513
|
/**
|
|
@@ -1542,7 +1517,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1542
1517
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1543
1518
|
/**
|
|
1544
1519
|
* @remarks
|
|
1545
|
-
* The node pool
|
|
1520
|
+
* The node pool configurations.
|
|
1546
1521
|
*/
|
|
1547
1522
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1548
1523
|
/**
|
|
@@ -1552,12 +1527,12 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1552
1527
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1553
1528
|
/**
|
|
1554
1529
|
* @remarks
|
|
1555
|
-
* The confidential computing cluster
|
|
1530
|
+
* The confidential computing configurations for the cluster.
|
|
1556
1531
|
*/
|
|
1557
1532
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1558
1533
|
/**
|
|
1559
1534
|
* @remarks
|
|
1560
|
-
*
|
|
1535
|
+
* Synchronously updates node labels and taints.
|
|
1561
1536
|
*
|
|
1562
1537
|
* @example
|
|
1563
1538
|
* true
|