@alicloud/cs20151215 6.6.5 → 6.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +26 -8
- package/dist/client.js +53 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +396 -287
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +241 -244
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +254 -254
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +225 -218
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +183 -183
- package/dist/models/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +57 -8
- package/src/models/CreateClusterNodePoolRequest.ts +397 -288
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +241 -244
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +254 -254
- package/src/models/ModifyClusterNodePoolRequest.ts +225 -218
- package/src/models/Nodepool.ts +183 -183
- package/src/models/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- package/src/models/model.ts +3 -0
|
@@ -10,9 +10,10 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* This
|
|
13
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
+
* The peak bandwidth of the EIP.
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
|
+
* Valid values: [1, 100]. Unit: Mbit/s.
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
19
|
* null
|
|
@@ -22,13 +23,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
22
23
|
eipBandwidth?: number;
|
|
23
24
|
/**
|
|
24
25
|
* @remarks
|
|
25
|
-
*
|
|
26
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
26
27
|
*
|
|
27
|
-
* The billing method
|
|
28
|
+
* The billing method of the EIP. Valid values:
|
|
28
29
|
*
|
|
29
|
-
* - `PayByBandwidth`:
|
|
30
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
30
31
|
*
|
|
31
|
-
* - `PayByTraffic`:
|
|
32
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
32
33
|
*
|
|
33
34
|
* Default value: `PayByBandwidth`.
|
|
34
35
|
*
|
|
@@ -40,13 +41,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
40
41
|
eipInternetChargeType?: string;
|
|
41
42
|
/**
|
|
42
43
|
* @remarks
|
|
43
|
-
*
|
|
44
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
44
45
|
*
|
|
45
|
-
* - `true`:
|
|
46
|
+
* - `true`: Enables auto scaling for the node pool. If the resources in the cluster do not meet the scheduling requirements of application pods, ACK automatically scales the nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, instant elasticity is enabled by default. For clusters of a Kubernetes version earlier than 1.24, node autoscaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
46
47
|
*
|
|
47
|
-
* - `false`:
|
|
48
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool to the value of \\`desired_size\\` and keeps the number of nodes unchanged.
|
|
48
49
|
*
|
|
49
|
-
*
|
|
50
|
+
* If this parameter is set to false, other parameters in `auto_scaling` do not take effect.
|
|
50
51
|
*
|
|
51
52
|
* Default value: `false`.
|
|
52
53
|
*
|
|
@@ -56,11 +57,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
56
57
|
enable?: boolean;
|
|
57
58
|
/**
|
|
58
59
|
* @remarks
|
|
59
|
-
*
|
|
60
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
60
61
|
*
|
|
61
|
-
* - `true`:
|
|
62
|
+
* - `true`: associates an EIP.
|
|
62
63
|
*
|
|
63
|
-
* - `false`:
|
|
64
|
+
* - `false`: does not associate an EIP.
|
|
64
65
|
*
|
|
65
66
|
* Default value: `false`.
|
|
66
67
|
*
|
|
@@ -72,7 +73,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
72
73
|
isBondEip?: boolean;
|
|
73
74
|
/**
|
|
74
75
|
* @remarks
|
|
75
|
-
* The maximum number of
|
|
76
|
+
* The maximum number of instances that can be created in the node pool. This parameter does not include existing instances. This parameter takes effect only when `enable=true`.
|
|
76
77
|
*
|
|
77
78
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
78
79
|
*
|
|
@@ -82,13 +83,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
82
83
|
maxInstances?: number;
|
|
83
84
|
/**
|
|
84
85
|
* @remarks
|
|
85
|
-
* The minimum number of
|
|
86
|
+
* The minimum number of instances that can be created in the node pool. This parameter does not include existing instances. This parameter takes effect only when `enable=true`.
|
|
86
87
|
*
|
|
87
88
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
88
89
|
*
|
|
89
|
-
* > - If the minimum
|
|
90
|
+
* > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
|
|
90
91
|
* >
|
|
91
|
-
* > -
|
|
92
|
+
* > - Set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, a scale-in event is triggered after auto scaling is enabled.
|
|
92
93
|
*
|
|
93
94
|
* @example
|
|
94
95
|
* 2
|
|
@@ -96,15 +97,15 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
96
97
|
minInstances?: number;
|
|
97
98
|
/**
|
|
98
99
|
* @remarks
|
|
99
|
-
* The auto scaling
|
|
100
|
+
* The type of auto scaling. This parameter is specified based on the instance type. Valid values:
|
|
100
101
|
*
|
|
101
|
-
* - `cpu`:
|
|
102
|
+
* - `cpu`: regular instance.
|
|
102
103
|
*
|
|
103
|
-
* - `gpu`: GPU instance.
|
|
104
|
+
* - `gpu`: GPU-accelerated instance.
|
|
104
105
|
*
|
|
105
|
-
* - `gpushare`: GPU
|
|
106
|
+
* - `gpushare`: shared GPU-accelerated instance.
|
|
106
107
|
*
|
|
107
|
-
* - `spot`:
|
|
108
|
+
* - `spot`: spot instance.
|
|
108
109
|
*
|
|
109
110
|
* Default value: `cpu`.
|
|
110
111
|
*
|
|
@@ -150,11 +151,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
150
151
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
151
152
|
/**
|
|
152
153
|
* @remarks
|
|
153
|
-
*
|
|
154
|
+
* Specifies whether to install Cloud Monitor on the ECS nodes. After Cloud Monitor is installed, you can view the monitoring information of the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
|
|
154
155
|
*
|
|
155
|
-
* - `true`:
|
|
156
|
+
* - `true`: installs Cloud Monitor on ECS nodes.
|
|
156
157
|
*
|
|
157
|
-
* - `false`:
|
|
158
|
+
* - `false`: does not install Cloud Monitor on ECS nodes.
|
|
158
159
|
*
|
|
159
160
|
* Default value: `false`.
|
|
160
161
|
*
|
|
@@ -164,11 +165,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
164
165
|
cmsEnabled?: boolean;
|
|
165
166
|
/**
|
|
166
167
|
* @remarks
|
|
167
|
-
* The
|
|
168
|
+
* The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
168
169
|
*
|
|
169
|
-
* - `static`:
|
|
170
|
+
* - `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
170
171
|
*
|
|
171
|
-
* - `none`:
|
|
172
|
+
* - `none`: indicates that the default CPU affinity is used.
|
|
172
173
|
*
|
|
173
174
|
* Default value: `none`.
|
|
174
175
|
*
|
|
@@ -178,20 +179,20 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
178
179
|
cpuPolicy?: string;
|
|
179
180
|
/**
|
|
180
181
|
* @remarks
|
|
181
|
-
*
|
|
182
|
+
* The labels that you want to add to the nodes. The following rules apply:
|
|
182
183
|
*
|
|
183
|
-
* -
|
|
184
|
+
* - A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
184
185
|
*
|
|
185
|
-
* -
|
|
186
|
+
* - The key must be unique and can be up to 64 characters in length. The value can be empty and can be up to 128 characters in length. The key and the value cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
186
187
|
*/
|
|
187
188
|
labels?: Tag[];
|
|
188
189
|
/**
|
|
189
190
|
* @remarks
|
|
190
|
-
* The custom node name parameter. A node name consists of three parts: prefix
|
|
191
|
+
* The custom node name parameter. A node name consists of three parts: a prefix, the node IP address, and a suffix.
|
|
191
192
|
*
|
|
192
|
-
* The prefix and suffix can
|
|
193
|
+
* The prefix and suffix can contain one or more parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or a digit. The node IP address is the complete private IP address of the node.
|
|
193
194
|
*
|
|
194
|
-
* The parameter
|
|
195
|
+
* The parameter consists of four parts that are separated by commas. For example, if you pass the "customized,aliyun,ip,com" string (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is aliyun.192.168.xxx.xxx.com.
|
|
195
196
|
*
|
|
196
197
|
* @example
|
|
197
198
|
* customized,aliyun,ip,com
|
|
@@ -199,7 +200,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
199
200
|
nodeNameMode?: string;
|
|
200
201
|
/**
|
|
201
202
|
* @remarks
|
|
202
|
-
* The
|
|
203
|
+
* The pre-customized instance data. Before a node is added to the cluster, the specified pre-customized instance data script is run. For more information, see [User data](https://help.aliyun.com/document_detail/49121.html).
|
|
203
204
|
*
|
|
204
205
|
* @example
|
|
205
206
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -207,13 +208,13 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
207
208
|
preUserData?: string;
|
|
208
209
|
/**
|
|
209
210
|
* @remarks
|
|
210
|
-
* The container runtime
|
|
211
|
+
* The name of the container runtime. ACK supports the following three container runtimes.
|
|
211
212
|
*
|
|
212
|
-
* - containerd:
|
|
213
|
+
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
213
214
|
*
|
|
214
|
-
* - Sandboxed-Container.runv:
|
|
215
|
+
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 and earlier.
|
|
215
216
|
*
|
|
216
|
-
* - docker:
|
|
217
|
+
* - docker: This runtime is no longer maintained. It is supported by clusters of Kubernetes 1.22 and earlier.
|
|
217
218
|
*
|
|
218
219
|
* Default value: containerd.
|
|
219
220
|
*
|
|
@@ -223,7 +224,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
223
224
|
runtime?: string;
|
|
224
225
|
/**
|
|
225
226
|
* @remarks
|
|
226
|
-
* The container runtime
|
|
227
|
+
* The version of the container runtime.
|
|
227
228
|
*
|
|
228
229
|
* @example
|
|
229
230
|
* 1.6.38
|
|
@@ -231,16 +232,16 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
231
232
|
runtimeVersion?: string;
|
|
232
233
|
/**
|
|
233
234
|
* @remarks
|
|
234
|
-
* The node taint
|
|
235
|
+
* The node taint configurations.
|
|
235
236
|
*/
|
|
236
237
|
taints?: Taint[];
|
|
237
238
|
/**
|
|
238
239
|
* @remarks
|
|
239
|
-
*
|
|
240
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
240
241
|
*
|
|
241
|
-
* - true:
|
|
242
|
+
* - true: The nodes are unschedulable.
|
|
242
243
|
*
|
|
243
|
-
* - false:
|
|
244
|
+
* - false: The nodes are schedulable.
|
|
244
245
|
*
|
|
245
246
|
* @example
|
|
246
247
|
* false
|
|
@@ -248,7 +249,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
248
249
|
unschedulable?: boolean;
|
|
249
250
|
/**
|
|
250
251
|
* @remarks
|
|
251
|
-
* The instance user data. After a node
|
|
252
|
+
* The instance user data. After a node is added to the cluster, the specified user data script is run. For more information, see [User data](https://help.aliyun.com/document_detail/49121.html).
|
|
252
253
|
*
|
|
253
254
|
* @example
|
|
254
255
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -302,12 +303,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
302
303
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
303
304
|
/**
|
|
304
305
|
* @remarks
|
|
305
|
-
*
|
|
306
|
+
* Specifies whether manual approval is required for node repair.
|
|
306
307
|
*/
|
|
307
308
|
approvalRequired?: boolean;
|
|
308
309
|
/**
|
|
309
310
|
* @remarks
|
|
310
|
-
* The
|
|
311
|
+
* The ID of the auto repair policy.
|
|
311
312
|
*
|
|
312
313
|
* @example
|
|
313
314
|
* r-xxxxxxxxxx
|
|
@@ -315,13 +316,13 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
315
316
|
autoRepairPolicyId?: string;
|
|
316
317
|
/**
|
|
317
318
|
* @remarks
|
|
318
|
-
*
|
|
319
|
+
* Specifies whether to allow node restart. This parameter takes effect only when auto_repair is set to `true`. Valid values:
|
|
319
320
|
*
|
|
320
|
-
* - `true`:
|
|
321
|
+
* - `true`: allows node restart.
|
|
321
322
|
*
|
|
322
|
-
* - `false`:
|
|
323
|
+
* - `false`: disallows node restart.
|
|
323
324
|
*
|
|
324
|
-
* Default value: `true
|
|
325
|
+
* Default value: `true`
|
|
325
326
|
*
|
|
326
327
|
* @example
|
|
327
328
|
* true
|
|
@@ -355,13 +356,13 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
355
356
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
356
357
|
/**
|
|
357
358
|
* @remarks
|
|
358
|
-
*
|
|
359
|
+
* Specifies whether to allow auto kubelet upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
359
360
|
*
|
|
360
|
-
* - `true`:
|
|
361
|
+
* - `true`: allows auto kubelet upgrade.
|
|
361
362
|
*
|
|
362
|
-
* - `false`:
|
|
363
|
+
* - `false`: disallows auto kubelet upgrade.
|
|
363
364
|
*
|
|
364
|
-
* Default value: `true
|
|
365
|
+
* Default value: `true`
|
|
365
366
|
*
|
|
366
367
|
* @example
|
|
367
368
|
* true
|
|
@@ -369,11 +370,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
369
370
|
autoUpgradeKubelet?: boolean;
|
|
370
371
|
/**
|
|
371
372
|
* @remarks
|
|
372
|
-
*
|
|
373
|
+
* Specifies whether to allow auto operating system upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
373
374
|
*
|
|
374
|
-
* - `true`:
|
|
375
|
+
* - `true`: allows auto operating system upgrade.
|
|
375
376
|
*
|
|
376
|
-
* - `false`:
|
|
377
|
+
* - `false`: disallows auto operating system upgrade.
|
|
377
378
|
*
|
|
378
379
|
* Default value: `false`.
|
|
379
380
|
*
|
|
@@ -383,11 +384,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
383
384
|
autoUpgradeOs?: boolean;
|
|
384
385
|
/**
|
|
385
386
|
* @remarks
|
|
386
|
-
*
|
|
387
|
+
* Specifies whether to allow auto runtime upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
387
388
|
*
|
|
388
|
-
* - `true`:
|
|
389
|
+
* - `true`: allows auto runtime upgrade.
|
|
389
390
|
*
|
|
390
|
-
* - `false`:
|
|
391
|
+
* - `false`: disallows auto runtime upgrade.
|
|
391
392
|
*
|
|
392
393
|
* Default value: `true`.
|
|
393
394
|
*
|
|
@@ -423,7 +424,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
423
424
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
424
425
|
/**
|
|
425
426
|
* @remarks
|
|
426
|
-
*
|
|
427
|
+
* The packages that should be excluded during vulnerability fixing.
|
|
427
428
|
*
|
|
428
429
|
* Default value: `kernel`.
|
|
429
430
|
*
|
|
@@ -433,13 +434,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
433
434
|
excludePackages?: string;
|
|
434
435
|
/**
|
|
435
436
|
* @remarks
|
|
436
|
-
*
|
|
437
|
+
* Specifies whether to allow node restart. This parameter takes effect only when auto_vul_fix is set to `true`. Valid values:
|
|
437
438
|
*
|
|
438
|
-
* - `true`:
|
|
439
|
+
* - `true`: allows node restart.
|
|
439
440
|
*
|
|
440
|
-
* - `false`:
|
|
441
|
+
* - `false`: disallows node restart.
|
|
441
442
|
*
|
|
442
|
-
* Default value: `true
|
|
443
|
+
* Default value: `true`
|
|
443
444
|
*
|
|
444
445
|
* @example
|
|
445
446
|
* true
|
|
@@ -447,13 +448,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
447
448
|
restartNode?: boolean;
|
|
448
449
|
/**
|
|
449
450
|
* @remarks
|
|
450
|
-
* The
|
|
451
|
+
* The vulnerability levels that are allowed to be automatically fixed. The value is a comma-separated list. Example: `asap,later`. Supported vulnerability levels:
|
|
451
452
|
*
|
|
452
|
-
* - `asap`:
|
|
453
|
+
* - `asap`: high
|
|
453
454
|
*
|
|
454
|
-
* - `later`:
|
|
455
|
+
* - `later`: medium
|
|
455
456
|
*
|
|
456
|
-
* - `nntf`:
|
|
457
|
+
* - `nntf`: low
|
|
457
458
|
*
|
|
458
459
|
* Default value: `asap`.
|
|
459
460
|
*
|
|
@@ -489,13 +490,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
489
490
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
490
491
|
/**
|
|
491
492
|
* @remarks
|
|
492
|
-
*
|
|
493
|
+
* This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
|
|
493
494
|
*
|
|
494
|
-
*
|
|
495
|
+
* Specifies whether to enable auto upgrade:
|
|
495
496
|
*
|
|
496
|
-
* - true:
|
|
497
|
+
* - true: enables auto upgrade.
|
|
497
498
|
*
|
|
498
|
-
* - false:
|
|
499
|
+
* - false: disables auto upgrade.
|
|
499
500
|
*
|
|
500
501
|
* Default value: `true`.
|
|
501
502
|
*
|
|
@@ -509,7 +510,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
509
510
|
* @remarks
|
|
510
511
|
* The maximum number of unavailable nodes.
|
|
511
512
|
*
|
|
512
|
-
* Valid values: [1, 1000]
|
|
513
|
+
* Valid values: [1, 1000]
|
|
513
514
|
*
|
|
514
515
|
* Default value: 1.
|
|
515
516
|
*
|
|
@@ -519,11 +520,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
519
520
|
maxUnavailable?: number;
|
|
520
521
|
/**
|
|
521
522
|
* @remarks
|
|
522
|
-
* The number of
|
|
523
|
+
* The number of extra nodes. You can specify only one of surge and `surge_percentage`.
|
|
523
524
|
*
|
|
524
|
-
* Nodes become unavailable during
|
|
525
|
+
* Nodes may become unavailable during an upgrade. You can create extra nodes to ensure service continuity.
|
|
525
526
|
*
|
|
526
|
-
* >
|
|
527
|
+
* > The number of extra nodes must not exceed the current number of nodes.
|
|
527
528
|
*
|
|
528
529
|
* @example
|
|
529
530
|
* 5
|
|
@@ -531,9 +532,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
531
532
|
surge?: number;
|
|
532
533
|
/**
|
|
533
534
|
* @remarks
|
|
534
|
-
* The percentage of
|
|
535
|
+
* The percentage of extra nodes. You can specify only one of surge and `surge_percentage`.
|
|
535
536
|
*
|
|
536
|
-
*
|
|
537
|
+
* Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if you set the percentage of extra nodes to 50% and the number of existing nodes is 6, three extra nodes are created.
|
|
537
538
|
*
|
|
538
539
|
* @example
|
|
539
540
|
* 0
|
|
@@ -570,13 +571,13 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
570
571
|
autoFaultDiagnosis?: boolean;
|
|
571
572
|
/**
|
|
572
573
|
* @remarks
|
|
573
|
-
*
|
|
574
|
+
* Specifies whether to enable auto node repair. This parameter takes effect only when enable is set to `true`.
|
|
574
575
|
*
|
|
575
|
-
* - `true`:
|
|
576
|
+
* - `true`: Auto repair is enabled.
|
|
576
577
|
*
|
|
577
|
-
* - `false`:
|
|
578
|
+
* - `false`: Auto repair is disabled.
|
|
578
579
|
*
|
|
579
|
-
* Default value: `true
|
|
580
|
+
* Default value: `true`
|
|
580
581
|
*
|
|
581
582
|
* @example
|
|
582
583
|
* true
|
|
@@ -584,18 +585,18 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
584
585
|
autoRepair?: boolean;
|
|
585
586
|
/**
|
|
586
587
|
* @remarks
|
|
587
|
-
* The
|
|
588
|
+
* The auto node repair policy.
|
|
588
589
|
*/
|
|
589
590
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
590
591
|
/**
|
|
591
592
|
* @remarks
|
|
592
|
-
*
|
|
593
|
+
* Specifies whether to enable auto node upgrade. This parameter takes effect only when enable is set to `true`.
|
|
593
594
|
*
|
|
594
|
-
* - `true`:
|
|
595
|
+
* - `true`: enables auto upgrade.
|
|
595
596
|
*
|
|
596
|
-
* - `false`:
|
|
597
|
+
* - `false`: disables auto upgrade.
|
|
597
598
|
*
|
|
598
|
-
* Default value: `true
|
|
599
|
+
* Default value: `true`
|
|
599
600
|
*
|
|
600
601
|
* @example
|
|
601
602
|
* true
|
|
@@ -603,16 +604,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
603
604
|
autoUpgrade?: boolean;
|
|
604
605
|
/**
|
|
605
606
|
* @remarks
|
|
606
|
-
* The
|
|
607
|
+
* The auto upgrade policy.
|
|
607
608
|
*/
|
|
608
609
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
609
610
|
/**
|
|
610
611
|
* @remarks
|
|
611
|
-
*
|
|
612
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when enable is set to `true`.
|
|
612
613
|
*
|
|
613
|
-
* - `true`:
|
|
614
|
+
* - `true`: allows automatic CVE fixing.
|
|
614
615
|
*
|
|
615
|
-
* - `false`:
|
|
616
|
+
* - `false`: disallows automatic CVE fixing.
|
|
616
617
|
*
|
|
617
618
|
* Default value: `true`.
|
|
618
619
|
*
|
|
@@ -622,16 +623,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
622
623
|
autoVulFix?: boolean;
|
|
623
624
|
/**
|
|
624
625
|
* @remarks
|
|
625
|
-
* The
|
|
626
|
+
* The policy for automatically fixing CVE vulnerabilities.
|
|
626
627
|
*/
|
|
627
628
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
628
629
|
/**
|
|
629
630
|
* @remarks
|
|
630
|
-
*
|
|
631
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
631
632
|
*
|
|
632
|
-
* - `true`:
|
|
633
|
+
* - `true`: Enables the managed node pool.
|
|
633
634
|
*
|
|
634
|
-
* - `false`:
|
|
635
|
+
* - `false`: Disables the managed node pool. Other related configurations are ignored.
|
|
635
636
|
*
|
|
636
637
|
* Default value: `false`.
|
|
637
638
|
*
|
|
@@ -641,9 +642,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
641
642
|
enable?: boolean;
|
|
642
643
|
/**
|
|
643
644
|
* @remarks
|
|
644
|
-
*
|
|
645
|
+
* This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
|
|
645
646
|
*
|
|
646
|
-
* The
|
|
647
|
+
* The auto upgrade configurations. This parameter takes effect only when enable is set to `true`.
|
|
647
648
|
*
|
|
648
649
|
* @deprecated
|
|
649
650
|
*/
|
|
@@ -700,9 +701,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
700
701
|
export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
701
702
|
/**
|
|
702
703
|
* @remarks
|
|
703
|
-
* The node pool
|
|
704
|
+
* The name of the node pool.
|
|
704
705
|
*
|
|
705
|
-
*
|
|
706
|
+
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
706
707
|
*
|
|
707
708
|
* @example
|
|
708
709
|
* default-nodepool
|
|
@@ -710,9 +711,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
710
711
|
name?: string;
|
|
711
712
|
/**
|
|
712
713
|
* @remarks
|
|
713
|
-
* The resource group
|
|
714
|
+
* The ID of the resource group for the node pool. Instances created in the node pool belong to this resource group.
|
|
714
715
|
*
|
|
715
|
-
* A resource can belong to only one resource group.
|
|
716
|
+
* A resource can belong to only one resource group. You can use resource groups to categorize resources by project, application, or organization.
|
|
716
717
|
*
|
|
717
718
|
* @example
|
|
718
719
|
* rg-acfmyvw3wjm****
|
|
@@ -744,7 +745,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
744
745
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
745
746
|
/**
|
|
746
747
|
* @remarks
|
|
747
|
-
* The private node pool
|
|
748
|
+
* The ID of the private node pool. If `match_criteria` is set to `Target`, you must specify the ID of the private pool.
|
|
748
749
|
*
|
|
749
750
|
* @example
|
|
750
751
|
* eap-bp67acfmxazb4****
|
|
@@ -752,13 +753,13 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
752
753
|
id?: string;
|
|
753
754
|
/**
|
|
754
755
|
* @remarks
|
|
755
|
-
* The private node pool
|
|
756
|
+
* The type of the private node pool. This parameter specifies the private pool capacity option for instance startup. After an elastic assurance service or a capacity reservation service takes effect, it generates a private pool of capacity for instance startup. Valid values:
|
|
756
757
|
*
|
|
757
|
-
* - `Open`: Open mode.
|
|
758
|
+
* - `Open`: Open mode. The system automatically matches the capacity of private pools in Open mode. If no matching private pool is found, the instance is started using public pool resources.
|
|
758
759
|
*
|
|
759
|
-
* - `Target`: Specified mode.
|
|
760
|
+
* - `Target`: Specified mode. The instance is started using the capacity of a specified private pool. If the capacity of the specified private pool is unavailable, the instance fails to be started.
|
|
760
761
|
*
|
|
761
|
-
* - `None`:
|
|
762
|
+
* - `None`: The instance is started without using the capacity of a private pool.
|
|
762
763
|
*
|
|
763
764
|
* @example
|
|
764
765
|
* Open
|
|
@@ -790,12 +791,16 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
790
791
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
791
792
|
/**
|
|
792
793
|
* @remarks
|
|
793
|
-
*
|
|
794
|
+
* A list of private pool IDs. The IDs of elastic assurance services or capacity reservation services. You can specify only the IDs of private pools in Target mode. You can specify 1 to 20 IDs.
|
|
794
795
|
*/
|
|
795
796
|
privatePoolIds?: string[];
|
|
796
797
|
/**
|
|
797
798
|
* @remarks
|
|
798
|
-
* The resource pool policy
|
|
799
|
+
* The resource pool policy that is used when you create an instance. Resource pools include private pools that are generated after elastic assurance services or capacity reservation services take effect, and public pools. You can select a resource pool when you start an instance. Valid values:
|
|
800
|
+
* PrivatePoolFirst: Private pool first. If you select this policy and specify resouce_pool_options.private_pool_ids, the specified private pool is used first. If you do not specify a private pool or the capacity of the specified private pool is insufficient, the system automatically matches a private pool in Open mode. If no matching private pool is found, a public pool is used to create the instance.
|
|
801
|
+
* PrivatePoolOnly: Private pool only. If you select this policy, you must specify resouce_pool_options.private_pool_ids. If the capacity of the specified private pool is insufficient, the instance fails to be started.
|
|
802
|
+
* None: No resource pool policy is used.
|
|
803
|
+
* Default value: None.
|
|
799
804
|
*
|
|
800
805
|
* @example
|
|
801
806
|
* PrivatePoolFirst
|
|
@@ -830,7 +835,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
830
835
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
831
836
|
/**
|
|
832
837
|
* @remarks
|
|
833
|
-
* The spot instance
|
|
838
|
+
* The instance type of the spot instance.
|
|
834
839
|
*
|
|
835
840
|
* @example
|
|
836
841
|
* ecs.c6.large
|
|
@@ -838,7 +843,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
838
843
|
instanceType?: string;
|
|
839
844
|
/**
|
|
840
845
|
* @remarks
|
|
841
|
-
* The maximum
|
|
846
|
+
* The maximum price of a single instance.
|
|
842
847
|
*
|
|
843
848
|
* <props="china">
|
|
844
849
|
*
|
|
@@ -880,11 +885,11 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
880
885
|
export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
881
886
|
/**
|
|
882
887
|
* @remarks
|
|
883
|
-
*
|
|
888
|
+
* Specifies whether to enable auto-renewal for the nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
884
889
|
*
|
|
885
|
-
* - `true`:
|
|
890
|
+
* - `true`: Auto-renewal is enabled.
|
|
886
891
|
*
|
|
887
|
-
* - `false`:
|
|
892
|
+
* - `false`: Auto-renewal is disabled.
|
|
888
893
|
*
|
|
889
894
|
* Default value: `false`.
|
|
890
895
|
*
|
|
@@ -894,11 +899,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
894
899
|
autoRenew?: boolean;
|
|
895
900
|
/**
|
|
896
901
|
* @remarks
|
|
897
|
-
* The
|
|
902
|
+
* The auto-renewal period. Valid values:
|
|
898
903
|
*
|
|
899
|
-
* -
|
|
904
|
+
* - If PeriodUnit=Week, valid values are 1, 2, and 3.
|
|
900
905
|
*
|
|
901
|
-
* -
|
|
906
|
+
* - If PeriodUnit=Month, valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
902
907
|
*
|
|
903
908
|
* Default value: 1.
|
|
904
909
|
*
|
|
@@ -908,11 +913,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
908
913
|
autoRenewPeriod?: number;
|
|
909
914
|
/**
|
|
910
915
|
* @remarks
|
|
911
|
-
*
|
|
916
|
+
* If `multi_az_policy` is set to `COST_OPTIMIZED`, this parameter specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to reasons such as price and stock. Valid values:
|
|
912
917
|
*
|
|
913
|
-
* - `true`:
|
|
918
|
+
* - `true`: allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
914
919
|
*
|
|
915
|
-
* - `false`:
|
|
920
|
+
* - `false`: does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
916
921
|
*
|
|
917
922
|
* @example
|
|
918
923
|
* true
|
|
@@ -920,12 +925,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
920
925
|
compensateWithOnDemand?: boolean;
|
|
921
926
|
/**
|
|
922
927
|
* @remarks
|
|
923
|
-
* The data disk
|
|
928
|
+
* The data disk configurations of the node. You can specify 0 to 10 data disks.
|
|
924
929
|
*/
|
|
925
930
|
dataDisks?: DataDisk[];
|
|
926
931
|
/**
|
|
927
932
|
* @remarks
|
|
928
|
-
* The deployment set to which the ECS instances
|
|
933
|
+
* The ID of the deployment set to which the ECS instances in the node pool belong. This parameter is valid only for incremental nodes. The deployment sets of existing nodes are not changed.
|
|
929
934
|
*
|
|
930
935
|
* @example
|
|
931
936
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -933,11 +938,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
933
938
|
deploymentsetId?: string;
|
|
934
939
|
/**
|
|
935
940
|
* @remarks
|
|
936
|
-
* The
|
|
941
|
+
* The expected number of nodes in the node pool.
|
|
937
942
|
*
|
|
938
|
-
*
|
|
943
|
+
* The total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure that the cluster components run as expected. You can adjust the expected number of nodes to scale in or scale out the node pool.
|
|
939
944
|
*
|
|
940
|
-
* If you do not need to create nodes, set this to 0
|
|
945
|
+
* If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
|
|
941
946
|
*
|
|
942
947
|
* @example
|
|
943
948
|
* 2
|
|
@@ -950,7 +955,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
950
955
|
diskInit?: DiskInit[];
|
|
951
956
|
/**
|
|
952
957
|
* @remarks
|
|
953
|
-
* The custom image
|
|
958
|
+
* The ID of the custom image. You can call `DescribeKubernetesVersionMetadata` to query the images that are supported by the system. By default, the latest image is used.
|
|
954
959
|
*
|
|
955
960
|
* @example
|
|
956
961
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -958,27 +963,27 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
958
963
|
imageId?: string;
|
|
959
964
|
/**
|
|
960
965
|
* @remarks
|
|
961
|
-
* The operating system
|
|
966
|
+
* The distribution of the operating system. We recommend that you use this parameter to specify the operating system of the nodes. Valid values:
|
|
962
967
|
*
|
|
963
|
-
* - `AliyunLinux`:
|
|
968
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
964
969
|
*
|
|
965
|
-
* - `AliyunLinuxSecurity`:
|
|
970
|
+
* - `AliyunLinuxSecurity`: Alinux2 image with UEFI.
|
|
966
971
|
*
|
|
967
|
-
* - `AliyunLinux3`:
|
|
972
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
968
973
|
*
|
|
969
|
-
* - `AliyunLinux3Arm64`:
|
|
974
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
970
975
|
*
|
|
971
|
-
* - `AliyunLinux3Security`:
|
|
976
|
+
* - `AliyunLinux3Security`: Alinux3 image with UEFI.
|
|
972
977
|
*
|
|
973
978
|
* - `CentOS`: CentOS image.
|
|
974
979
|
*
|
|
975
980
|
* - `Windows`: Windows image.
|
|
976
981
|
*
|
|
977
|
-
* - `WindowsCore`:
|
|
982
|
+
* - `WindowsCore`: WindowsCore image.
|
|
978
983
|
*
|
|
979
|
-
* - `ContainerOS`:
|
|
984
|
+
* - `ContainerOS`: container-optimized image.
|
|
980
985
|
*
|
|
981
|
-
* - `AliyunLinux3ContainerOptimized`:
|
|
986
|
+
* - `AliyunLinux3ContainerOptimized`: container-optimized Alinux3 image.
|
|
982
987
|
*
|
|
983
988
|
* @example
|
|
984
989
|
* AliyunLinux3
|
|
@@ -986,11 +991,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
986
991
|
imageType?: string;
|
|
987
992
|
/**
|
|
988
993
|
* @remarks
|
|
989
|
-
* The billing method
|
|
994
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
990
995
|
*
|
|
991
|
-
* - `PrePaid`:
|
|
996
|
+
* - `PrePaid`: subscription
|
|
992
997
|
*
|
|
993
|
-
* - `PostPaid`:
|
|
998
|
+
* - `PostPaid`: pay-as-you-go
|
|
994
999
|
*
|
|
995
1000
|
* Default value: `PostPaid`.
|
|
996
1001
|
*
|
|
@@ -1000,23 +1005,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1000
1005
|
instanceChargeType?: string;
|
|
1001
1006
|
/**
|
|
1002
1007
|
* @remarks
|
|
1003
|
-
* The instance attribute
|
|
1008
|
+
* The instance attribute configurations.
|
|
1004
1009
|
*/
|
|
1005
1010
|
instancePatterns?: InstancePatterns[];
|
|
1006
1011
|
/**
|
|
1007
1012
|
* @remarks
|
|
1008
|
-
*
|
|
1013
|
+
* A list of node instance types. You can specify multiple instance types as alternatives. When a node is created, the system attempts to purchase the instance types in the order they are specified until one is successfully purchased. The final instance type that is purchased may vary depending on the stock.
|
|
1009
1014
|
*
|
|
1010
|
-
*
|
|
1015
|
+
* You can specify 1 to 10 instance types.
|
|
1011
1016
|
*/
|
|
1012
1017
|
instanceTypes?: string[];
|
|
1013
1018
|
/**
|
|
1014
1019
|
* @remarks
|
|
1015
|
-
* The billing method
|
|
1020
|
+
* The billing method of the public IP address. Valid values:
|
|
1016
1021
|
*
|
|
1017
|
-
* - `PayByBandwidth`:
|
|
1022
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1018
1023
|
*
|
|
1019
|
-
* - `PayByTraffic`:
|
|
1024
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
1020
1025
|
*
|
|
1021
1026
|
* @example
|
|
1022
1027
|
* PayByBandwidth
|
|
@@ -1024,7 +1029,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1024
1029
|
internetChargeType?: string;
|
|
1025
1030
|
/**
|
|
1026
1031
|
* @remarks
|
|
1027
|
-
* The maximum outbound bandwidth
|
|
1032
|
+
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: [1, 100].
|
|
1028
1033
|
*
|
|
1029
1034
|
* @example
|
|
1030
1035
|
* 5
|
|
@@ -1032,7 +1037,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1032
1037
|
internetMaxBandwidthOut?: number;
|
|
1033
1038
|
/**
|
|
1034
1039
|
* @remarks
|
|
1035
|
-
* The key pair
|
|
1040
|
+
* The name of the key pair. You must specify key_pair or `login_password`. For managed node pools, you can specify only `key_pair`.
|
|
1036
1041
|
*
|
|
1037
1042
|
* @example
|
|
1038
1043
|
* pro-nodepool
|
|
@@ -1040,7 +1045,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1040
1045
|
keyPair?: string;
|
|
1041
1046
|
/**
|
|
1042
1047
|
* @remarks
|
|
1043
|
-
* The SSH
|
|
1048
|
+
* The SSH logon password. You must specify key_pair or `login_password`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1044
1049
|
*
|
|
1045
1050
|
* @example
|
|
1046
1051
|
* Hello1234
|
|
@@ -1050,13 +1055,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1050
1055
|
* @remarks
|
|
1051
1056
|
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1052
1057
|
*
|
|
1053
|
-
* - `PRIORITY`:
|
|
1058
|
+
* - `PRIORITY`: The system scales ECS instances based on the vSwitch priority. The vSwitch priority is specified by the VSwitchIds.N parameter. If the system fails to create an ECS instance in the zone where the vSwitch with the highest priority resides, it attempts to create the ECS instance in the zone where the vSwitch with the next highest priority resides.
|
|
1054
1059
|
*
|
|
1055
|
-
* - `COST_OPTIMIZED`:
|
|
1060
|
+
* - `COST_OPTIMIZED`: The system creates ECS instances of the instance type that has the lowest vCPU price. When the scaling configuration is set to create multiple instance types and the billing method is set to preemptible, the system preferentially creates preemptible instances. You can also use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when the system fails to create preemptible instances due to insufficient stock.
|
|
1056
1061
|
*
|
|
1057
|
-
* > `COST_OPTIMIZED`
|
|
1062
|
+
* > The `COST_OPTIMIZED` policy is valid only when multiple instance types are specified or preemptible instances are selected in the scaling configuration.
|
|
1058
1063
|
*
|
|
1059
|
-
* - `BALANCE`:
|
|
1064
|
+
* - `BALANCE`: The system evenly distributes ECS instances across the zones that are specified in the scaling group. If the distribution of ECS instances becomes unbalanced due to insufficient stock, you can call the `RebalanceInstances` operation to rebalance the distribution. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) .
|
|
1060
1065
|
*
|
|
1061
1066
|
* Default value: `PRIORITY`.
|
|
1062
1067
|
*
|
|
@@ -1066,7 +1071,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1066
1071
|
multiAzPolicy?: string;
|
|
1067
1072
|
/**
|
|
1068
1073
|
* @remarks
|
|
1069
|
-
* The minimum number of on-demand instances
|
|
1074
|
+
* The minimum number of on-demand instances that must be contained in the scaling group. Valid values: [0, 1000]. When the number of on-demand instances is less than this value, on-demand instances are preferentially created.
|
|
1070
1075
|
*
|
|
1071
1076
|
* @example
|
|
1072
1077
|
* 0
|
|
@@ -1074,7 +1079,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1074
1079
|
onDemandBaseCapacity?: number;
|
|
1075
1080
|
/**
|
|
1076
1081
|
* @remarks
|
|
1077
|
-
* The percentage of on-demand instances among the instances that exceed the minimum on-demand
|
|
1082
|
+
* The percentage of on-demand instances among the instances that exceed the minimum number of on-demand instances (`on_demand_base_capacity`). Valid values: [0, 100].
|
|
1078
1083
|
*
|
|
1079
1084
|
* @example
|
|
1080
1085
|
* 20
|
|
@@ -1082,11 +1087,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1082
1087
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1083
1088
|
/**
|
|
1084
1089
|
* @remarks
|
|
1085
|
-
* The subscription duration
|
|
1090
|
+
* The subscription duration of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1086
1091
|
*
|
|
1087
|
-
* -
|
|
1092
|
+
* - If `period_unit=Week`, valid values of `period` are {1, 2, 3, 4}.
|
|
1088
1093
|
*
|
|
1089
|
-
* -
|
|
1094
|
+
* - If `period_unit=Month`, valid values of `period` are {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1090
1095
|
*
|
|
1091
1096
|
* @example
|
|
1092
1097
|
* 1
|
|
@@ -1094,11 +1099,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1094
1099
|
period?: number;
|
|
1095
1100
|
/**
|
|
1096
1101
|
* @remarks
|
|
1097
|
-
* The billing cycle
|
|
1102
|
+
* The billing cycle of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1098
1103
|
*
|
|
1099
|
-
* - `Month`:
|
|
1104
|
+
* - `Month`: billed by month.
|
|
1100
1105
|
*
|
|
1101
|
-
* - `Week`:
|
|
1106
|
+
* - `Week`: billed by week.
|
|
1102
1107
|
*
|
|
1103
1108
|
* Default value: `Month`.
|
|
1104
1109
|
*
|
|
@@ -1108,9 +1113,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1108
1113
|
periodUnit?: string;
|
|
1109
1114
|
/**
|
|
1110
1115
|
* @remarks
|
|
1111
|
-
*
|
|
1116
|
+
* This parameter is deprecated. Use the `image_type` parameter instead.
|
|
1112
1117
|
*
|
|
1113
|
-
* The
|
|
1118
|
+
* The OS platform. Valid values:
|
|
1114
1119
|
*
|
|
1115
1120
|
* - `AliyunLinux`
|
|
1116
1121
|
*
|
|
@@ -1128,26 +1133,28 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1128
1133
|
platform?: string;
|
|
1129
1134
|
/**
|
|
1130
1135
|
* @remarks
|
|
1131
|
-
* The private node pool
|
|
1136
|
+
* The private node pool configurations.
|
|
1132
1137
|
*/
|
|
1133
1138
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1134
1139
|
/**
|
|
1135
1140
|
* @remarks
|
|
1136
|
-
*
|
|
1141
|
+
* A list of ApsaraDB RDS instances.
|
|
1137
1142
|
*/
|
|
1138
1143
|
rdsInstances?: string[];
|
|
1139
1144
|
/**
|
|
1140
1145
|
* @remarks
|
|
1141
|
-
* The resource pool and
|
|
1146
|
+
* The resource pool and resource pool policy that are used when you create an instance. If you specify this parameter, note the following points:
|
|
1147
|
+
* This parameter is valid only when you create pay-as-you-go instances.
|
|
1148
|
+
* This parameter cannot be specified at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1142
1149
|
*/
|
|
1143
1150
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1144
1151
|
/**
|
|
1145
1152
|
* @remarks
|
|
1146
|
-
* The scaling group
|
|
1153
|
+
* The scaling mode of the scaling group. Valid values:
|
|
1147
1154
|
*
|
|
1148
|
-
* - `release`:
|
|
1155
|
+
* - `release`: standard mode. This mode creates and releases ECS instances to perform scaling.
|
|
1149
1156
|
*
|
|
1150
|
-
* - `recycle`:
|
|
1157
|
+
* - `recycle`: fast mode. This mode creates, stops, and starts ECS instances to perform scaling. This improves scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instance types with local disks.
|
|
1151
1158
|
*
|
|
1152
1159
|
* @example
|
|
1153
1160
|
* release
|
|
@@ -1155,12 +1162,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1155
1162
|
scalingPolicy?: string;
|
|
1156
1163
|
/**
|
|
1157
1164
|
* @remarks
|
|
1158
|
-
*
|
|
1165
|
+
* A list of security group IDs.
|
|
1159
1166
|
*/
|
|
1160
1167
|
securityGroupIds?: string[];
|
|
1161
1168
|
/**
|
|
1162
1169
|
* @remarks
|
|
1163
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1170
|
+
* The number of available instance types. The scaling group creates spot instances of multiple instance types that are provided at the lowest cost. Valid values: [1, 10].
|
|
1164
1171
|
*
|
|
1165
1172
|
* @example
|
|
1166
1173
|
* 5
|
|
@@ -1168,11 +1175,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1168
1175
|
spotInstancePools?: number;
|
|
1169
1176
|
/**
|
|
1170
1177
|
* @remarks
|
|
1171
|
-
*
|
|
1178
|
+
* Specifies whether to enable the feature of supplementing spot instances. If this feature is enabled, the scaling group attempts to create a new instance to replace a spot instance that is reclaimed. Valid values:
|
|
1172
1179
|
*
|
|
1173
|
-
* - `true`:
|
|
1180
|
+
* - `true`: enables the feature of supplementing spot instances.
|
|
1174
1181
|
*
|
|
1175
|
-
* - `false`:
|
|
1182
|
+
* - `false`: disables the feature of supplementing spot instances.
|
|
1176
1183
|
*
|
|
1177
1184
|
* @example
|
|
1178
1185
|
* false
|
|
@@ -1180,18 +1187,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1180
1187
|
spotInstanceRemedy?: boolean;
|
|
1181
1188
|
/**
|
|
1182
1189
|
* @remarks
|
|
1183
|
-
* The price range
|
|
1190
|
+
* The price range for the spot instance.
|
|
1184
1191
|
*/
|
|
1185
1192
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1186
1193
|
/**
|
|
1187
1194
|
* @remarks
|
|
1188
|
-
* The spot instance
|
|
1195
|
+
* The bidding policy for the spot instance. Valid values:
|
|
1189
1196
|
*
|
|
1190
|
-
* - `NoSpot`:
|
|
1197
|
+
* - `NoSpot`: The instance is not a spot instance.
|
|
1191
1198
|
*
|
|
1192
|
-
* - `SpotWithPriceLimit`:
|
|
1199
|
+
* - `SpotWithPriceLimit`: The instance is a spot instance for which you can specify the maximum hourly price.
|
|
1193
1200
|
*
|
|
1194
|
-
* - `SpotAsPriceGo`:
|
|
1201
|
+
* - `SpotAsPriceGo`: The system automatically bids for the instance. The bid is based on the market price.
|
|
1195
1202
|
*
|
|
1196
1203
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1197
1204
|
*
|
|
@@ -1201,13 +1208,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1201
1208
|
spotStrategy?: string;
|
|
1202
1209
|
/**
|
|
1203
1210
|
* @remarks
|
|
1204
|
-
*
|
|
1211
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
1205
1212
|
*
|
|
1206
|
-
* - true:
|
|
1213
|
+
* - true: enables the performance burst feature. If your business fluctuates and is subject to unexpected data read and write pressure, the cloud disk temporarily improves its performance until your business returns to a stable state.
|
|
1207
1214
|
*
|
|
1208
|
-
* - false:
|
|
1215
|
+
* - false: disables the performance burst feature.
|
|
1209
1216
|
*
|
|
1210
|
-
*
|
|
1217
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1211
1218
|
*
|
|
1212
1219
|
* @example
|
|
1213
1220
|
* true
|
|
@@ -1215,18 +1222,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1215
1222
|
systemDiskBurstingEnabled?: boolean;
|
|
1216
1223
|
/**
|
|
1217
1224
|
* @remarks
|
|
1218
|
-
* The
|
|
1225
|
+
* The multi-disk type of the system disk. If a disk of a higher priority disk type cannot be used, the system automatically tries the next priority disk type to create the system disk.
|
|
1219
1226
|
*/
|
|
1220
1227
|
systemDiskCategories?: string[];
|
|
1221
1228
|
/**
|
|
1222
1229
|
* @remarks
|
|
1223
|
-
* The
|
|
1230
|
+
* The type of the system disk. Valid values:
|
|
1224
1231
|
*
|
|
1225
|
-
* - `cloud_efficiency`:
|
|
1232
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1226
1233
|
*
|
|
1227
|
-
* - `cloud_ssd`:
|
|
1234
|
+
* - `cloud_ssd`: standard SSD.
|
|
1228
1235
|
*
|
|
1229
|
-
* - `cloud_essd`:
|
|
1236
|
+
* - `cloud_essd`: ESSD.
|
|
1230
1237
|
*
|
|
1231
1238
|
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1232
1239
|
*
|
|
@@ -1240,7 +1247,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1240
1247
|
systemDiskCategory?: string;
|
|
1241
1248
|
/**
|
|
1242
1249
|
* @remarks
|
|
1243
|
-
* The encryption algorithm for the system disk. Valid value: aes-256.
|
|
1250
|
+
* The encryption algorithm that is used for the system disk. Valid value: aes-256.
|
|
1244
1251
|
*
|
|
1245
1252
|
* @example
|
|
1246
1253
|
* aes-256
|
|
@@ -1248,11 +1255,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1248
1255
|
systemDiskEncryptAlgorithm?: string;
|
|
1249
1256
|
/**
|
|
1250
1257
|
* @remarks
|
|
1251
|
-
*
|
|
1258
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1252
1259
|
*
|
|
1253
|
-
* - true:
|
|
1260
|
+
* - true: encrypts the system disk.
|
|
1254
1261
|
*
|
|
1255
|
-
* - false:
|
|
1262
|
+
* - false: does not encrypt the system disk.
|
|
1256
1263
|
*
|
|
1257
1264
|
* @example
|
|
1258
1265
|
* false
|
|
@@ -1260,7 +1267,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1260
1267
|
systemDiskEncrypted?: boolean;
|
|
1261
1268
|
/**
|
|
1262
1269
|
* @remarks
|
|
1263
|
-
* The KMS key
|
|
1270
|
+
* The ID of the KMS key that is used to encrypt the system disk.
|
|
1264
1271
|
*
|
|
1265
1272
|
* @example
|
|
1266
1273
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1268,15 +1275,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1268
1275
|
systemDiskKmsKeyId?: string;
|
|
1269
1276
|
/**
|
|
1270
1277
|
* @remarks
|
|
1271
|
-
* The performance level of the system disk. This
|
|
1278
|
+
* The performance level of the system disk. This parameter is valid only for ESSD disks. The performance level of a disk is related to its size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1272
1279
|
*
|
|
1273
|
-
* - PL0:
|
|
1280
|
+
* - PL0: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
|
|
1274
1281
|
*
|
|
1275
|
-
* - PL1:
|
|
1282
|
+
* - PL1: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
|
|
1276
1283
|
*
|
|
1277
|
-
* - PL2:
|
|
1284
|
+
* - PL2: The maximum concurrent I/O performance is high and the read/write latency is stable.
|
|
1278
1285
|
*
|
|
1279
|
-
* - PL3:
|
|
1286
|
+
* - PL3: The maximum concurrent I/O performance is very high and the read/write latency is very stable.
|
|
1280
1287
|
*
|
|
1281
1288
|
* @example
|
|
1282
1289
|
* PL1
|
|
@@ -1284,11 +1291,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1284
1291
|
systemDiskPerformanceLevel?: string;
|
|
1285
1292
|
/**
|
|
1286
1293
|
* @remarks
|
|
1287
|
-
* The
|
|
1294
|
+
* The pre-configured read/write IOPS of the system disk.
|
|
1288
1295
|
*
|
|
1289
|
-
*
|
|
1296
|
+
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1290
1297
|
*
|
|
1291
|
-
*
|
|
1298
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1292
1299
|
*
|
|
1293
1300
|
* @example
|
|
1294
1301
|
* 1000
|
|
@@ -1296,13 +1303,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1296
1303
|
systemDiskProvisionedIops?: number;
|
|
1297
1304
|
/**
|
|
1298
1305
|
* @remarks
|
|
1299
|
-
* The size of the system disk
|
|
1306
|
+
* The size of the system disk. Unit: GiB.
|
|
1300
1307
|
*
|
|
1301
1308
|
* Valid values: [20, 2048].
|
|
1302
1309
|
*
|
|
1303
|
-
*
|
|
1310
|
+
* The value of this parameter must be greater than or equal to max{20, ImageSize}.
|
|
1304
1311
|
*
|
|
1305
|
-
* Default value: max{40,
|
|
1312
|
+
* Default value: max{40, The size of the image that corresponds to the ImageId parameter}.
|
|
1306
1313
|
*
|
|
1307
1314
|
* @example
|
|
1308
1315
|
* 120
|
|
@@ -1318,16 +1325,16 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1318
1325
|
systemDiskSnapshotPolicyId?: string;
|
|
1319
1326
|
/**
|
|
1320
1327
|
* @remarks
|
|
1321
|
-
*
|
|
1328
|
+
* The tags that you want to add only to ECS instances.
|
|
1322
1329
|
*
|
|
1323
|
-
* Tag keys
|
|
1330
|
+
* Tag keys cannot be repeated. A tag key can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:" and cannot contain "https\\://" or "http\\://".
|
|
1324
1331
|
*/
|
|
1325
1332
|
tags?: Tag[];
|
|
1326
1333
|
/**
|
|
1327
1334
|
* @remarks
|
|
1328
|
-
*
|
|
1335
|
+
* A list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
1329
1336
|
*
|
|
1330
|
-
* >
|
|
1337
|
+
* > For high availability, select vSwitches in different zones.
|
|
1331
1338
|
*/
|
|
1332
1339
|
vswitchIds?: string[];
|
|
1333
1340
|
static names(): { [key: string]: string } {
|
|
@@ -1474,11 +1481,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1474
1481
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1475
1482
|
/**
|
|
1476
1483
|
* @remarks
|
|
1477
|
-
*
|
|
1484
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1478
1485
|
*
|
|
1479
|
-
* - `true`:
|
|
1486
|
+
* - `true`: enables the cluster.
|
|
1480
1487
|
*
|
|
1481
|
-
* - `false`:
|
|
1488
|
+
* - `false`: disables the cluster.
|
|
1482
1489
|
*
|
|
1483
1490
|
* Default value: `false`.
|
|
1484
1491
|
*
|
|
@@ -1510,12 +1517,12 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1510
1517
|
export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1511
1518
|
/**
|
|
1512
1519
|
* @remarks
|
|
1513
|
-
* The auto scaling
|
|
1520
|
+
* The auto scaling configurations.
|
|
1514
1521
|
*/
|
|
1515
1522
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1516
1523
|
/**
|
|
1517
1524
|
* @remarks
|
|
1518
|
-
*
|
|
1525
|
+
* Specifies whether to run the task in parallel.
|
|
1519
1526
|
*
|
|
1520
1527
|
* @example
|
|
1521
1528
|
* true
|
|
@@ -1523,32 +1530,32 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1523
1530
|
concurrency?: boolean;
|
|
1524
1531
|
/**
|
|
1525
1532
|
* @remarks
|
|
1526
|
-
* The
|
|
1533
|
+
* The Kubernetes-related configurations.
|
|
1527
1534
|
*/
|
|
1528
1535
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1529
1536
|
/**
|
|
1530
1537
|
* @remarks
|
|
1531
|
-
* The managed node pool
|
|
1538
|
+
* The configurations of the managed node pool.
|
|
1532
1539
|
*/
|
|
1533
1540
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1534
1541
|
/**
|
|
1535
1542
|
* @remarks
|
|
1536
|
-
* The node pool
|
|
1543
|
+
* The node pool configurations.
|
|
1537
1544
|
*/
|
|
1538
1545
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1539
1546
|
/**
|
|
1540
1547
|
* @remarks
|
|
1541
|
-
*
|
|
1548
|
+
* The configurations of the node pool scaling group.
|
|
1542
1549
|
*/
|
|
1543
1550
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1544
1551
|
/**
|
|
1545
1552
|
* @remarks
|
|
1546
|
-
* The
|
|
1553
|
+
* The configurations of the Kubernetes cluster for confidential computing.
|
|
1547
1554
|
*/
|
|
1548
1555
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1549
1556
|
/**
|
|
1550
1557
|
* @remarks
|
|
1551
|
-
* Synchronously
|
|
1558
|
+
* Synchronously updates node labels and taints.
|
|
1552
1559
|
*
|
|
1553
1560
|
* @example
|
|
1554
1561
|
* true
|