@alicloud/cs20151215 7.0.1 → 7.0.3
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 -12
- package/dist/client.js +37 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +259 -264
- package/dist/models/CreateClusterNodePoolRequest.js +6 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -229
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +8 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +177 -153
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +8 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +0 -6
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +238 -217
- package/dist/models/ModifyClusterNodePoolRequest.js +27 -1
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +198 -196
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +25 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +38 -12
- package/src/models/CreateClusterNodePoolRequest.ts +265 -264
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +240 -229
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +185 -153
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +255 -217
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- package/src/models/Nodepool.ts +200 -196
- package/src/models/model.ts +1 -0
|
@@ -10,10 +10,10 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* [This field is deprecated]
|
|
14
|
-
*
|
|
13
|
+
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
+
* The peak bandwidth of the EIP.
|
|
15
15
|
*
|
|
16
|
-
* Valid values: [1,100]. Unit:
|
|
16
|
+
* Valid values: [1,100]. Unit: Mbit/s.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* null
|
|
@@ -23,12 +23,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
23
23
|
eipBandwidth?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* [This field is deprecated]
|
|
26
|
+
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
27
27
|
*
|
|
28
|
-
* EIP billing type. Valid values:
|
|
28
|
+
* The EIP billing type. Valid values:
|
|
29
29
|
*
|
|
30
|
-
* - `PayByBandwidth`:
|
|
31
|
-
* - `PayByTraffic`:
|
|
30
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
31
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
32
32
|
*
|
|
33
33
|
* Default value: `PayByBandwidth`.
|
|
34
34
|
*
|
|
@@ -40,14 +40,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
40
40
|
eipInternetChargeType?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
*
|
|
43
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
44
44
|
*
|
|
45
|
-
* - `true`:
|
|
46
|
-
* clusters with versions below 1.24 enable node auto scaling by default. For more information, see [Node Scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
45
|
+
* - `true`: enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application pods, ACK automatically scales nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant elasticity by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
47
46
|
*
|
|
48
|
-
* - `false`:
|
|
47
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
49
48
|
*
|
|
50
|
-
* When
|
|
49
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
51
50
|
*
|
|
52
51
|
* Default value: `false`.
|
|
53
52
|
*
|
|
@@ -57,10 +56,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
57
56
|
enable?: boolean;
|
|
58
57
|
/**
|
|
59
58
|
* @remarks
|
|
60
|
-
* [This field is deprecated] This field is deprecated.
|
|
59
|
+
* [This field is deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
61
60
|
*
|
|
62
|
-
* - `true`:
|
|
63
|
-
* - `false`:
|
|
61
|
+
* - `true`: associates an EIP.
|
|
62
|
+
* - `false`: does not associate an EIP.
|
|
64
63
|
*
|
|
65
64
|
* Default value: `false`.
|
|
66
65
|
*
|
|
@@ -72,7 +71,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
72
71
|
isBondEip?: boolean;
|
|
73
72
|
/**
|
|
74
73
|
* @remarks
|
|
75
|
-
* The maximum number of
|
|
74
|
+
* The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
76
75
|
*
|
|
77
76
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
78
77
|
*
|
|
@@ -82,12 +81,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
82
81
|
maxInstances?: number;
|
|
83
82
|
/**
|
|
84
83
|
* @remarks
|
|
85
|
-
* The minimum number of
|
|
84
|
+
* The minimum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
86
85
|
*
|
|
87
86
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
88
87
|
*
|
|
89
|
-
* > -
|
|
90
|
-
* > -
|
|
88
|
+
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after the settings take effect.
|
|
89
|
+
* > - Make sure that the maximum number of instances is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be scaled in after the elastic scaling feature takes effect.
|
|
91
90
|
*
|
|
92
91
|
* @example
|
|
93
92
|
* 2
|
|
@@ -95,12 +94,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
95
94
|
minInstances?: number;
|
|
96
95
|
/**
|
|
97
96
|
* @remarks
|
|
98
|
-
*
|
|
97
|
+
* The auto scaling type, classified by instance type. Valid values:
|
|
99
98
|
*
|
|
100
|
-
* - `cpu`:
|
|
99
|
+
* - `cpu`: regular instance type.
|
|
101
100
|
* - `gpu`: GPU instance type.
|
|
102
101
|
* - `gpushare`: GPU sharing type.
|
|
103
|
-
* - `spot`:
|
|
102
|
+
* - `spot`: spot instance type.
|
|
104
103
|
*
|
|
105
104
|
* Default value: `cpu`.
|
|
106
105
|
*
|
|
@@ -143,13 +142,40 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
|
|
145
|
+
export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
146
|
+
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool. (Not effective)
|
|
149
|
+
*/
|
|
150
|
+
autoAttachEnabled?: string;
|
|
151
|
+
static names(): { [key: string]: string } {
|
|
152
|
+
return {
|
|
153
|
+
autoAttachEnabled: 'auto_attach_enabled',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static types(): { [key: string]: any } {
|
|
158
|
+
return {
|
|
159
|
+
autoAttachEnabled: 'string',
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
validate() {
|
|
164
|
+
super.validate();
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
constructor(map?: { [key: string]: any }) {
|
|
168
|
+
super(map);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
146
172
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
147
173
|
/**
|
|
148
174
|
* @remarks
|
|
149
|
-
*
|
|
175
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
150
176
|
*
|
|
151
|
-
* - `true`:
|
|
152
|
-
* - `false`:
|
|
177
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
178
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
153
179
|
*
|
|
154
180
|
* Default value: `false`.
|
|
155
181
|
*
|
|
@@ -159,10 +185,10 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
159
185
|
cmsEnabled?: boolean;
|
|
160
186
|
/**
|
|
161
187
|
* @remarks
|
|
162
|
-
*
|
|
188
|
+
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
163
189
|
*
|
|
164
|
-
* - `static`:
|
|
165
|
-
* - `none`:
|
|
190
|
+
* - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
191
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
166
192
|
*
|
|
167
193
|
* Default value: `none`.
|
|
168
194
|
*
|
|
@@ -172,19 +198,19 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
172
198
|
cpuPolicy?: string;
|
|
173
199
|
/**
|
|
174
200
|
* @remarks
|
|
175
|
-
*
|
|
201
|
+
* The node labels added to Kubernetes cluster nodes. Label definition rules:
|
|
176
202
|
*
|
|
177
|
-
* - Labels
|
|
178
|
-
* - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and up to 128 characters.
|
|
203
|
+
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
204
|
+
* - Label keys cannot be duplicated and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. Neither label keys nor label values can 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).
|
|
179
205
|
*/
|
|
180
206
|
labels?: Tag[];
|
|
181
207
|
/**
|
|
182
208
|
* @remarks
|
|
183
|
-
*
|
|
209
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
184
210
|
*
|
|
185
|
-
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can
|
|
211
|
+
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit. The node IP is the full private IP address of the node.
|
|
186
212
|
*
|
|
187
|
-
* The parameter
|
|
213
|
+
* The parameter contains four parts separated by commas. For example, if you pass in the string "customized,aliyun,ip,com" (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.
|
|
188
214
|
*
|
|
189
215
|
* @example
|
|
190
216
|
* customized,aliyun,ip,com
|
|
@@ -192,7 +218,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
192
218
|
nodeNameMode?: string;
|
|
193
219
|
/**
|
|
194
220
|
* @remarks
|
|
195
|
-
*
|
|
221
|
+
* The pre-instance user data. Before the node joins the cluster, the specified pre-user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
196
222
|
*
|
|
197
223
|
* @example
|
|
198
224
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -200,11 +226,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
200
226
|
preUserData?: string;
|
|
201
227
|
/**
|
|
202
228
|
* @remarks
|
|
203
|
-
*
|
|
229
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
204
230
|
*
|
|
205
|
-
* - containerd:
|
|
206
|
-
* - Sandboxed-Container.runv:
|
|
207
|
-
* - docker:
|
|
231
|
+
* - containerd: recommended, supports all cluster versions.
|
|
232
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation, supports cluster versions 1.31 and earlier.
|
|
233
|
+
* - docker: no longer maintained, supports cluster versions 1.22 and earlier.
|
|
208
234
|
*
|
|
209
235
|
* Default value: containerd.
|
|
210
236
|
*
|
|
@@ -214,7 +240,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
214
240
|
runtime?: string;
|
|
215
241
|
/**
|
|
216
242
|
* @remarks
|
|
217
|
-
*
|
|
243
|
+
* The container runtime version.
|
|
218
244
|
*
|
|
219
245
|
* @example
|
|
220
246
|
* 1.6.38
|
|
@@ -222,16 +248,16 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
222
248
|
runtimeVersion?: string;
|
|
223
249
|
/**
|
|
224
250
|
* @remarks
|
|
225
|
-
*
|
|
251
|
+
* The node taint configuration.
|
|
226
252
|
*/
|
|
227
253
|
taints?: Taint[];
|
|
228
254
|
/**
|
|
229
255
|
* @remarks
|
|
230
|
-
*
|
|
256
|
+
* Specifies whether the nodes added after scale-out are unschedulable. Valid values:
|
|
231
257
|
*
|
|
232
|
-
* - true:
|
|
258
|
+
* - true: unschedulable.
|
|
233
259
|
*
|
|
234
|
-
* - false:
|
|
260
|
+
* - false: schedulable.
|
|
235
261
|
*
|
|
236
262
|
* @example
|
|
237
263
|
* false
|
|
@@ -239,7 +265,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
239
265
|
unschedulable?: boolean;
|
|
240
266
|
/**
|
|
241
267
|
* @remarks
|
|
242
|
-
*
|
|
268
|
+
* The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
243
269
|
*
|
|
244
270
|
* @example
|
|
245
271
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -293,12 +319,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
293
319
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
294
320
|
/**
|
|
295
321
|
* @remarks
|
|
296
|
-
*
|
|
322
|
+
* Specifies whether node repair requires manual approval.
|
|
297
323
|
*/
|
|
298
324
|
approvalRequired?: boolean;
|
|
299
325
|
/**
|
|
300
326
|
* @remarks
|
|
301
|
-
*
|
|
327
|
+
* The auto repair policy ID.
|
|
302
328
|
*
|
|
303
329
|
* @example
|
|
304
330
|
* r-xxxxxxxxxx
|
|
@@ -306,10 +332,10 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
306
332
|
autoRepairPolicyId?: string;
|
|
307
333
|
/**
|
|
308
334
|
* @remarks
|
|
309
|
-
*
|
|
335
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
310
336
|
*
|
|
311
|
-
* - `true`:
|
|
312
|
-
* - `false`:
|
|
337
|
+
* - `true`: allows node restart.
|
|
338
|
+
* - `false`: does not allow node restart.
|
|
313
339
|
*
|
|
314
340
|
* Default value: `true`.
|
|
315
341
|
*
|
|
@@ -345,9 +371,9 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
345
371
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
346
372
|
/**
|
|
347
373
|
* @remarks
|
|
348
|
-
*
|
|
349
|
-
* - `true`:
|
|
350
|
-
* - `false`:
|
|
374
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
375
|
+
* - `true`: allows automatic kubelet upgrade.
|
|
376
|
+
* - `false`: does not allow automatic kubelet upgrade.
|
|
351
377
|
*
|
|
352
378
|
* Default value: `true`.
|
|
353
379
|
*
|
|
@@ -357,9 +383,9 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
357
383
|
autoUpgradeKubelet?: boolean;
|
|
358
384
|
/**
|
|
359
385
|
* @remarks
|
|
360
|
-
*
|
|
361
|
-
* - `true`:
|
|
362
|
-
* - `false`:
|
|
386
|
+
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
387
|
+
* - `true`: allows automatic OS upgrade.
|
|
388
|
+
* - `false`: does not allow automatic OS upgrade.
|
|
363
389
|
*
|
|
364
390
|
* Default value: `false`.
|
|
365
391
|
*
|
|
@@ -369,9 +395,9 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
369
395
|
autoUpgradeOs?: boolean;
|
|
370
396
|
/**
|
|
371
397
|
* @remarks
|
|
372
|
-
*
|
|
373
|
-
* - `true`:
|
|
374
|
-
* - `false`:
|
|
398
|
+
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
399
|
+
* - `true`: allows automatic runtime upgrade.
|
|
400
|
+
* - `false`: does not allow automatic runtime upgrade.
|
|
375
401
|
*
|
|
376
402
|
* Default value: `true`.
|
|
377
403
|
*
|
|
@@ -407,7 +433,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
407
433
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
408
434
|
/**
|
|
409
435
|
* @remarks
|
|
410
|
-
* Specifies the packages to
|
|
436
|
+
* Specifies the packages to exclude during vulnerability fixing.
|
|
411
437
|
*
|
|
412
438
|
* Default value: `kernel`.
|
|
413
439
|
*
|
|
@@ -417,9 +443,9 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
417
443
|
excludePackages?: string;
|
|
418
444
|
/**
|
|
419
445
|
* @remarks
|
|
420
|
-
*
|
|
421
|
-
* - `true`:
|
|
422
|
-
* - `false`:
|
|
446
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
447
|
+
* - `true`: allows node restart.
|
|
448
|
+
* - `false`: does not allow node restart.
|
|
423
449
|
*
|
|
424
450
|
* Default value: `true`.
|
|
425
451
|
*
|
|
@@ -429,11 +455,11 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
429
455
|
restartNode?: boolean;
|
|
430
456
|
/**
|
|
431
457
|
* @remarks
|
|
432
|
-
*
|
|
458
|
+
* The vulnerability levels allowed for automatic fixing, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
433
459
|
*
|
|
434
|
-
* - `asap`:
|
|
435
|
-
* - `later`:
|
|
436
|
-
* - `nntf`:
|
|
460
|
+
* - `asap`: high
|
|
461
|
+
* - `later`: medium
|
|
462
|
+
* - `nntf`: low
|
|
437
463
|
*
|
|
438
464
|
* Default value: `asap`.
|
|
439
465
|
*
|
|
@@ -469,12 +495,12 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
469
495
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
470
496
|
/**
|
|
471
497
|
* @remarks
|
|
472
|
-
* [This field is deprecated]
|
|
498
|
+
* [This field is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
473
499
|
*
|
|
474
|
-
*
|
|
500
|
+
* Specifies whether to enable auto upgrade:
|
|
475
501
|
*
|
|
476
|
-
* - true:
|
|
477
|
-
* - false:
|
|
502
|
+
* - true: enables auto upgrade.
|
|
503
|
+
* - false: disables auto upgrade.
|
|
478
504
|
*
|
|
479
505
|
* Default value: `true`.
|
|
480
506
|
*
|
|
@@ -486,9 +512,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
486
512
|
autoUpgrade?: boolean;
|
|
487
513
|
/**
|
|
488
514
|
* @remarks
|
|
489
|
-
*
|
|
515
|
+
* The maximum number of unavailable nodes.
|
|
490
516
|
*
|
|
491
|
-
* Valid values: [1,1000\\]
|
|
517
|
+
* Valid values: [1,1000\\].
|
|
492
518
|
*
|
|
493
519
|
* Default value: 1.
|
|
494
520
|
*
|
|
@@ -498,11 +524,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
498
524
|
maxUnavailable?: number;
|
|
499
525
|
/**
|
|
500
526
|
* @remarks
|
|
501
|
-
*
|
|
527
|
+
* The number of extra nodes. This parameter is mutually exclusive with `surge_percentage`.
|
|
502
528
|
*
|
|
503
|
-
*
|
|
529
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
504
530
|
*
|
|
505
|
-
* >
|
|
531
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
506
532
|
*
|
|
507
533
|
* @example
|
|
508
534
|
* 5
|
|
@@ -510,9 +536,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
510
536
|
surge?: number;
|
|
511
537
|
/**
|
|
512
538
|
* @remarks
|
|
513
|
-
*
|
|
539
|
+
* The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
|
|
514
540
|
*
|
|
515
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage
|
|
541
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
516
542
|
*
|
|
517
543
|
* @example
|
|
518
544
|
* 0
|
|
@@ -546,14 +572,18 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
546
572
|
}
|
|
547
573
|
|
|
548
574
|
export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
575
|
+
/**
|
|
576
|
+
* @remarks
|
|
577
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
578
|
+
*/
|
|
549
579
|
autoFaultDiagnosis?: boolean;
|
|
550
580
|
/**
|
|
551
581
|
* @remarks
|
|
552
|
-
*
|
|
582
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
553
583
|
*
|
|
554
|
-
* - `true`:
|
|
584
|
+
* - `true`: enables auto repair.
|
|
555
585
|
*
|
|
556
|
-
* - `false`:
|
|
586
|
+
* - `false`: disables auto repair.
|
|
557
587
|
*
|
|
558
588
|
* Default value: `true`.
|
|
559
589
|
*
|
|
@@ -563,14 +593,14 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
563
593
|
autoRepair?: boolean;
|
|
564
594
|
/**
|
|
565
595
|
* @remarks
|
|
566
|
-
*
|
|
596
|
+
* The auto repair node policy.
|
|
567
597
|
*/
|
|
568
598
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
569
599
|
/**
|
|
570
600
|
* @remarks
|
|
571
|
-
*
|
|
572
|
-
* - `true`:
|
|
573
|
-
* - `false`:
|
|
601
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
602
|
+
* - `true`: enables auto upgrade.
|
|
603
|
+
* - `false`: disables auto upgrade.
|
|
574
604
|
*
|
|
575
605
|
* Default value: `true`.
|
|
576
606
|
*
|
|
@@ -580,15 +610,15 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
580
610
|
autoUpgrade?: boolean;
|
|
581
611
|
/**
|
|
582
612
|
* @remarks
|
|
583
|
-
*
|
|
613
|
+
* The auto upgrade policy.
|
|
584
614
|
*/
|
|
585
615
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
586
616
|
/**
|
|
587
617
|
* @remarks
|
|
588
|
-
*
|
|
618
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
589
619
|
*
|
|
590
|
-
* - `true`:
|
|
591
|
-
* - `false`:
|
|
620
|
+
* - `true`: allows automatic CVE fixing.
|
|
621
|
+
* - `false`: does not allow automatic CVE fixing.
|
|
592
622
|
*
|
|
593
623
|
* Default value: `true`.
|
|
594
624
|
*
|
|
@@ -598,15 +628,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
598
628
|
autoVulFix?: boolean;
|
|
599
629
|
/**
|
|
600
630
|
* @remarks
|
|
601
|
-
*
|
|
631
|
+
* The auto CVE fix policy.
|
|
602
632
|
*/
|
|
603
633
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
634
|
+
driftEnabled?: boolean;
|
|
604
635
|
/**
|
|
605
636
|
* @remarks
|
|
606
|
-
*
|
|
637
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
607
638
|
*
|
|
608
|
-
* - `true`:
|
|
609
|
-
* - `false`:
|
|
639
|
+
* - `true`: enables the managed node pool.
|
|
640
|
+
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
610
641
|
*
|
|
611
642
|
* Default value: `false`.
|
|
612
643
|
*
|
|
@@ -616,9 +647,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
616
647
|
enable?: boolean;
|
|
617
648
|
/**
|
|
618
649
|
* @remarks
|
|
619
|
-
* [This field is deprecated]
|
|
650
|
+
* [This field is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
620
651
|
*
|
|
621
|
-
*
|
|
652
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
622
653
|
*
|
|
623
654
|
* @deprecated
|
|
624
655
|
*/
|
|
@@ -632,6 +663,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
632
663
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
633
664
|
autoVulFix: 'auto_vul_fix',
|
|
634
665
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
666
|
+
driftEnabled: 'drift_enabled',
|
|
635
667
|
enable: 'enable',
|
|
636
668
|
upgradeConfig: 'upgrade_config',
|
|
637
669
|
};
|
|
@@ -646,6 +678,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
646
678
|
autoUpgradePolicy: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
647
679
|
autoVulFix: 'boolean',
|
|
648
680
|
autoVulFixPolicy: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
681
|
+
driftEnabled: 'boolean',
|
|
649
682
|
enable: 'boolean',
|
|
650
683
|
upgradeConfig: ModifyClusterNodePoolRequestManagementUpgradeConfig,
|
|
651
684
|
};
|
|
@@ -675,9 +708,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
675
708
|
export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
676
709
|
/**
|
|
677
710
|
* @remarks
|
|
678
|
-
*
|
|
711
|
+
* The node pool name.
|
|
679
712
|
*
|
|
680
|
-
* Naming rules: The name can contain digits, Chinese characters,
|
|
713
|
+
* Naming rules: The name must be 1 to 63 characters in length and can contain digits, Chinese characters, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
681
714
|
*
|
|
682
715
|
* @example
|
|
683
716
|
* default-nodepool
|
|
@@ -685,9 +718,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
685
718
|
name?: string;
|
|
686
719
|
/**
|
|
687
720
|
* @remarks
|
|
688
|
-
* The resource group ID of the node pool. Instances created by the node pool
|
|
721
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
689
722
|
*
|
|
690
|
-
* A resource can
|
|
723
|
+
* 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.
|
|
691
724
|
*
|
|
692
725
|
* @example
|
|
693
726
|
* rg-acfmyvw3wjm****
|
|
@@ -719,7 +752,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
719
752
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
720
753
|
/**
|
|
721
754
|
* @remarks
|
|
722
|
-
*
|
|
755
|
+
* The private node pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
723
756
|
*
|
|
724
757
|
* @example
|
|
725
758
|
* eap-bp67acfmxazb4****
|
|
@@ -727,10 +760,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
727
760
|
id?: string;
|
|
728
761
|
/**
|
|
729
762
|
* @remarks
|
|
730
|
-
*
|
|
731
|
-
* - `Open`:
|
|
732
|
-
* - `Target`:
|
|
733
|
-
* - `None`:
|
|
763
|
+
* The private node pool type and private pool capacity option for launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launches. Valid values:
|
|
764
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for launch.
|
|
765
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, instance launch fails.
|
|
766
|
+
* - `None`: none mode. Instance launch does not use private pool capacity.
|
|
734
767
|
*
|
|
735
768
|
* @example
|
|
736
769
|
* Open
|
|
@@ -762,16 +795,12 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
762
795
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
763
796
|
/**
|
|
764
797
|
* @remarks
|
|
765
|
-
*
|
|
798
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
766
799
|
*/
|
|
767
800
|
privatePoolIds?: string[];
|
|
768
801
|
/**
|
|
769
802
|
* @remarks
|
|
770
|
-
*
|
|
771
|
-
* PrivatePoolFirst: Private pool first. When specified private_pool_ids are set, the specified private pools are used preferentially. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances.
|
|
772
|
-
* PrivatePoolOnly: Private pool only. private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance launch fails.
|
|
773
|
-
* None: Do not use resource pool policy.
|
|
774
|
-
* Default value: None.
|
|
803
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launches. Valid values: PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances. PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, instance launch fails. None: no resource pool strategy. Default value: None.
|
|
775
804
|
*
|
|
776
805
|
* @example
|
|
777
806
|
* PrivatePoolFirst
|
|
@@ -806,7 +835,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
806
835
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
807
836
|
/**
|
|
808
837
|
* @remarks
|
|
809
|
-
*
|
|
838
|
+
* The spot instance type.
|
|
810
839
|
*
|
|
811
840
|
* @example
|
|
812
841
|
* ecs.c6.large
|
|
@@ -814,7 +843,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
814
843
|
instanceType?: string;
|
|
815
844
|
/**
|
|
816
845
|
* @remarks
|
|
817
|
-
*
|
|
846
|
+
* The maximum price per instance.
|
|
818
847
|
*
|
|
819
848
|
* <props="china">Unit: CNY/hour.
|
|
820
849
|
*
|
|
@@ -852,10 +881,10 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
852
881
|
export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
853
882
|
/**
|
|
854
883
|
* @remarks
|
|
855
|
-
*
|
|
884
|
+
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
856
885
|
*
|
|
857
|
-
* - `true`:
|
|
858
|
-
* - `false`:
|
|
886
|
+
* - `true`: enables auto-renewal.
|
|
887
|
+
* - `false`: disables auto-renewal.
|
|
859
888
|
*
|
|
860
889
|
* Default value: `false`.
|
|
861
890
|
*
|
|
@@ -865,7 +894,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
865
894
|
autoRenew?: boolean;
|
|
866
895
|
/**
|
|
867
896
|
* @remarks
|
|
868
|
-
*
|
|
897
|
+
* The auto-renewal period. Valid values:
|
|
869
898
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
870
899
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
871
900
|
*
|
|
@@ -877,10 +906,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
877
906
|
autoRenewPeriod?: number;
|
|
878
907
|
/**
|
|
879
908
|
* @remarks
|
|
880
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatically
|
|
909
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances if spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
881
910
|
*
|
|
882
|
-
* - `true`:
|
|
883
|
-
* - `false`:
|
|
911
|
+
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
912
|
+
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
884
913
|
*
|
|
885
914
|
* @example
|
|
886
915
|
* true
|
|
@@ -888,12 +917,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
888
917
|
compensateWithOnDemand?: boolean;
|
|
889
918
|
/**
|
|
890
919
|
* @remarks
|
|
891
|
-
*
|
|
920
|
+
* The data cloud disk configuration for nodes. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
|
|
892
921
|
*/
|
|
893
922
|
dataDisks?: DataDisk[];
|
|
894
923
|
/**
|
|
895
924
|
* @remarks
|
|
896
|
-
* The deployment set
|
|
925
|
+
* The deployment set to which the ECS instances created by the node pool belong. This setting takes effect only on new nodes. The deployment set of existing nodes is not changed.
|
|
897
926
|
*
|
|
898
927
|
* @example
|
|
899
928
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -901,11 +930,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
901
930
|
deploymentsetId?: string;
|
|
902
931
|
/**
|
|
903
932
|
* @remarks
|
|
904
|
-
*
|
|
933
|
+
* The desired number of nodes in the node pool.
|
|
905
934
|
*
|
|
906
|
-
* The total number of nodes that the node pool should maintain.
|
|
935
|
+
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
907
936
|
*
|
|
908
|
-
* If you do not need to create nodes,
|
|
937
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
909
938
|
*
|
|
910
939
|
* @example
|
|
911
940
|
* 2
|
|
@@ -913,12 +942,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
913
942
|
desiredSize?: number;
|
|
914
943
|
/**
|
|
915
944
|
* @remarks
|
|
916
|
-
*
|
|
945
|
+
* The block device initialization configuration.
|
|
917
946
|
*/
|
|
918
947
|
diskInit?: DiskInit[];
|
|
919
948
|
/**
|
|
920
949
|
* @remarks
|
|
921
|
-
*
|
|
950
|
+
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system. The latest system image is used by default.
|
|
922
951
|
*
|
|
923
952
|
* @example
|
|
924
953
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -926,18 +955,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
926
955
|
imageId?: string;
|
|
927
956
|
/**
|
|
928
957
|
* @remarks
|
|
929
|
-
*
|
|
958
|
+
* The operating system distribution type. We recommend that you use this field to specify the node operating system. Valid values:
|
|
930
959
|
*
|
|
931
960
|
* - `AliyunLinux`: Alinux2 image.
|
|
932
|
-
* - `AliyunLinuxSecurity`: Alinux2
|
|
961
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
933
962
|
* - `AliyunLinux3`: Alinux3 image.
|
|
934
|
-
* - `AliyunLinux3Arm64`: Alinux3
|
|
935
|
-
* - `AliyunLinux3Security`: Alinux3
|
|
963
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
964
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
936
965
|
* - `CentOS`: CentOS image.
|
|
937
966
|
* - `Windows`: Windows image.
|
|
938
967
|
* - `WindowsCore`: WindowsCore image.
|
|
939
|
-
* - `ContainerOS`:
|
|
940
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3
|
|
968
|
+
* - `ContainerOS`: container-optimized image.
|
|
969
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
941
970
|
*
|
|
942
971
|
* @example
|
|
943
972
|
* AliyunLinux3
|
|
@@ -945,10 +974,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
945
974
|
imageType?: string;
|
|
946
975
|
/**
|
|
947
976
|
* @remarks
|
|
948
|
-
*
|
|
977
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
949
978
|
*
|
|
950
|
-
* - `PrePaid`:
|
|
951
|
-
* - `PostPaid`:
|
|
979
|
+
* - `PrePaid`: subscription.
|
|
980
|
+
* - `PostPaid`: pay-as-you-go.
|
|
952
981
|
*
|
|
953
982
|
* Default value: `PostPaid`.
|
|
954
983
|
*
|
|
@@ -958,22 +987,22 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
958
987
|
instanceChargeType?: string;
|
|
959
988
|
/**
|
|
960
989
|
* @remarks
|
|
961
|
-
*
|
|
990
|
+
* The instance attribute configuration.
|
|
962
991
|
*/
|
|
963
992
|
instancePatterns?: InstancePatterns[];
|
|
964
993
|
/**
|
|
965
994
|
* @remarks
|
|
966
|
-
*
|
|
995
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The actual purchased instance type may vary depending on inventory availability.
|
|
967
996
|
*
|
|
968
997
|
* Supported number of instance types: [1,10].
|
|
969
998
|
*/
|
|
970
999
|
instanceTypes?: string[];
|
|
971
1000
|
/**
|
|
972
1001
|
* @remarks
|
|
973
|
-
*
|
|
1002
|
+
* The billing type for public IP addresses. Valid values:
|
|
974
1003
|
*
|
|
975
|
-
* - `PayByBandwidth`:
|
|
976
|
-
* - `PayByTraffic`:
|
|
1004
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1005
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
977
1006
|
*
|
|
978
1007
|
* @example
|
|
979
1008
|
* PayByBandwidth
|
|
@@ -981,7 +1010,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
981
1010
|
internetChargeType?: string;
|
|
982
1011
|
/**
|
|
983
1012
|
* @remarks
|
|
984
|
-
*
|
|
1013
|
+
* The maximum outbound bandwidth for the node public IP address. Unit: Mbit/s. Valid values: [1,100\\].
|
|
985
1014
|
*
|
|
986
1015
|
* @example
|
|
987
1016
|
* 5
|
|
@@ -989,7 +1018,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
989
1018
|
internetMaxBandwidthOut?: number;
|
|
990
1019
|
/**
|
|
991
1020
|
* @remarks
|
|
992
|
-
*
|
|
1021
|
+
* The key pair name. This parameter is mutually exclusive with `login_password`. For managed node pools, only `key_pair` is supported.
|
|
993
1022
|
*
|
|
994
1023
|
* @example
|
|
995
1024
|
* pro-nodepool
|
|
@@ -997,7 +1026,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
997
1026
|
keyPair?: string;
|
|
998
1027
|
/**
|
|
999
1028
|
* @remarks
|
|
1000
|
-
* SSH
|
|
1029
|
+
* The SSH logon password. This parameter is mutually exclusive with `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.
|
|
1001
1030
|
*
|
|
1002
1031
|
* @example
|
|
1003
1032
|
* Hello1234
|
|
@@ -1005,15 +1034,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1005
1034
|
loginPassword?: string;
|
|
1006
1035
|
/**
|
|
1007
1036
|
* @remarks
|
|
1008
|
-
*
|
|
1037
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1009
1038
|
*
|
|
1010
|
-
* - `PRIORITY`:
|
|
1039
|
+
* - `PRIORITY`: scales instances based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1011
1040
|
*
|
|
1012
|
-
* - `COST_OPTIMIZED`:
|
|
1041
|
+
* - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1013
1042
|
*
|
|
1014
|
-
* > `COST_OPTIMIZED`
|
|
1043
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or spot instances are selected.
|
|
1015
1044
|
*
|
|
1016
|
-
* - `BALANCE`:
|
|
1045
|
+
* - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1017
1046
|
*
|
|
1018
1047
|
* Default value: `PRIORITY`.
|
|
1019
1048
|
*
|
|
@@ -1023,7 +1052,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1023
1052
|
multiAzPolicy?: string;
|
|
1024
1053
|
/**
|
|
1025
1054
|
* @remarks
|
|
1026
|
-
*
|
|
1055
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
|
|
1027
1056
|
*
|
|
1028
1057
|
* @example
|
|
1029
1058
|
* 0
|
|
@@ -1031,7 +1060,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1031
1060
|
onDemandBaseCapacity?: number;
|
|
1032
1061
|
/**
|
|
1033
1062
|
* @remarks
|
|
1034
|
-
*
|
|
1063
|
+
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go instance count (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1064
|
+
* [_single.params.body.props.scaling_group.spot
|
|
1035
1065
|
*
|
|
1036
1066
|
* @example
|
|
1037
1067
|
* 20
|
|
@@ -1039,10 +1069,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1039
1069
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1040
1070
|
/**
|
|
1041
1071
|
* @remarks
|
|
1042
|
-
*
|
|
1072
|
+
* 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`.
|
|
1043
1073
|
*
|
|
1044
|
-
* - When `period_unit=Week`, valid values
|
|
1045
|
-
* - When `period_unit=Month`, valid values
|
|
1074
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1075
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1046
1076
|
*
|
|
1047
1077
|
* @example
|
|
1048
1078
|
* 1
|
|
@@ -1050,10 +1080,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1050
1080
|
period?: number;
|
|
1051
1081
|
/**
|
|
1052
1082
|
* @remarks
|
|
1053
|
-
*
|
|
1083
|
+
* 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`.
|
|
1054
1084
|
*
|
|
1055
|
-
* - `Month`:
|
|
1056
|
-
* - `Week`:
|
|
1085
|
+
* - `Month`: uses month as the billing unit.
|
|
1086
|
+
* - `Week`: uses week as the billing unit.
|
|
1057
1087
|
*
|
|
1058
1088
|
* Default value: `Month`.
|
|
1059
1089
|
*
|
|
@@ -1063,9 +1093,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1063
1093
|
periodUnit?: string;
|
|
1064
1094
|
/**
|
|
1065
1095
|
* @remarks
|
|
1066
|
-
*
|
|
1096
|
+
* **This field is deprecated.** Use the `image_type` parameter instead.
|
|
1067
1097
|
*
|
|
1068
|
-
*
|
|
1098
|
+
* The operating system platform. Valid values:
|
|
1069
1099
|
*
|
|
1070
1100
|
* - `AliyunLinux`
|
|
1071
1101
|
* - `CentOS`
|
|
@@ -1080,27 +1110,25 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1080
1110
|
platform?: string;
|
|
1081
1111
|
/**
|
|
1082
1112
|
* @remarks
|
|
1083
|
-
*
|
|
1113
|
+
* The private node pool configuration.
|
|
1084
1114
|
*/
|
|
1085
1115
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1086
1116
|
/**
|
|
1087
1117
|
* @remarks
|
|
1088
|
-
* RDS
|
|
1118
|
+
* The list of ApsaraDB RDS instances.
|
|
1089
1119
|
*/
|
|
1090
1120
|
rdsInstances?: string[];
|
|
1091
1121
|
/**
|
|
1092
1122
|
* @remarks
|
|
1093
|
-
*
|
|
1094
|
-
* This parameter only takes effect when creating pay-as-you-go instances.
|
|
1095
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1123
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter: This parameter takes effect only when creating pay-as-you-go instances. This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1096
1124
|
*/
|
|
1097
1125
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1098
1126
|
/**
|
|
1099
1127
|
* @remarks
|
|
1100
|
-
*
|
|
1128
|
+
* The scaling group mode. Valid values:
|
|
1101
1129
|
*
|
|
1102
|
-
* - `release`:
|
|
1103
|
-
* - `recycle`:
|
|
1130
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1131
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. (Compute resources are not charged during the stopped state. Only storage fees are charged, except for instances with local disks.)
|
|
1104
1132
|
*
|
|
1105
1133
|
* @example
|
|
1106
1134
|
* release
|
|
@@ -1108,12 +1136,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1108
1136
|
scalingPolicy?: string;
|
|
1109
1137
|
/**
|
|
1110
1138
|
* @remarks
|
|
1111
|
-
*
|
|
1139
|
+
* The list of security group IDs.
|
|
1112
1140
|
*/
|
|
1113
1141
|
securityGroupIds?: string[];
|
|
1114
1142
|
/**
|
|
1115
1143
|
* @remarks
|
|
1116
|
-
*
|
|
1144
|
+
* The number of available instance types. The scaling group creates spot instances of multiple lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
1117
1145
|
*
|
|
1118
1146
|
* @example
|
|
1119
1147
|
* 5
|
|
@@ -1121,10 +1149,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1121
1149
|
spotInstancePools?: number;
|
|
1122
1150
|
/**
|
|
1123
1151
|
* @remarks
|
|
1124
|
-
*
|
|
1152
|
+
* Specifies whether to enable supplementing spot instances. If enabled, when the system notifies that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1125
1153
|
*
|
|
1126
|
-
* - `true`:
|
|
1127
|
-
* - `false`:
|
|
1154
|
+
* - `true`: Enables supplementing spot instances.
|
|
1155
|
+
* - `false`: Disables supplementing spot instances.
|
|
1128
1156
|
*
|
|
1129
1157
|
* @example
|
|
1130
1158
|
* false
|
|
@@ -1132,18 +1160,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1132
1160
|
spotInstanceRemedy?: boolean;
|
|
1133
1161
|
/**
|
|
1134
1162
|
* @remarks
|
|
1135
|
-
*
|
|
1163
|
+
* The price limit configuration for spot instances.
|
|
1136
1164
|
*/
|
|
1137
1165
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1138
1166
|
/**
|
|
1139
1167
|
* @remarks
|
|
1140
|
-
*
|
|
1168
|
+
* The spot instance type. Valid values:
|
|
1141
1169
|
*
|
|
1142
|
-
* - `NoSpot`:
|
|
1143
|
-
* - `SpotWithPriceLimit`:
|
|
1144
|
-
* - `SpotAsPriceGo`:
|
|
1170
|
+
* - `NoSpot`: non-spot instance.
|
|
1171
|
+
* - `SpotWithPriceLimit`: sets a maximum price for the spot instance.
|
|
1172
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1145
1173
|
*
|
|
1146
|
-
* For more information, see [
|
|
1174
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1147
1175
|
*
|
|
1148
1176
|
* @example
|
|
1149
1177
|
* SpotWithPriceLimit
|
|
@@ -1151,11 +1179,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1151
1179
|
spotStrategy?: string;
|
|
1152
1180
|
/**
|
|
1153
1181
|
* @remarks
|
|
1154
|
-
*
|
|
1155
|
-
* - true:
|
|
1156
|
-
* - false:
|
|
1182
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1183
|
+
* - true: enables burst. When enabled, the cloud disk temporarily improves performance during sudden data read/write pressure from fluctuating workloads until the workload returns to a steady state.
|
|
1184
|
+
* - false: disables burst.
|
|
1157
1185
|
*
|
|
1158
|
-
*
|
|
1186
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1159
1187
|
*
|
|
1160
1188
|
* @example
|
|
1161
1189
|
* true
|
|
@@ -1163,17 +1191,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1163
1191
|
systemDiskBurstingEnabled?: boolean;
|
|
1164
1192
|
/**
|
|
1165
1193
|
* @remarks
|
|
1166
|
-
* Multiple disk types
|
|
1194
|
+
* Multiple system cloud disk types. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
|
|
1167
1195
|
*/
|
|
1168
1196
|
systemDiskCategories?: string[];
|
|
1169
1197
|
/**
|
|
1170
1198
|
* @remarks
|
|
1171
|
-
*
|
|
1172
|
-
* - `cloud_efficiency`:
|
|
1173
|
-
* - `cloud_ssd`: SSD
|
|
1174
|
-
* - `cloud_essd`: ESSD
|
|
1175
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1176
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1199
|
+
* The type of the node system cloud disk. Valid values:
|
|
1200
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1201
|
+
* - `cloud_ssd`: standard SSD.
|
|
1202
|
+
* - `cloud_essd`: ESSD.
|
|
1203
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1204
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1177
1205
|
*
|
|
1178
1206
|
* Default value: `cloud_efficiency`.
|
|
1179
1207
|
*
|
|
@@ -1183,7 +1211,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1183
1211
|
systemDiskCategory?: string;
|
|
1184
1212
|
/**
|
|
1185
1213
|
* @remarks
|
|
1186
|
-
*
|
|
1214
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1187
1215
|
*
|
|
1188
1216
|
* @example
|
|
1189
1217
|
* aes-256
|
|
@@ -1191,11 +1219,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1191
1219
|
systemDiskEncryptAlgorithm?: string;
|
|
1192
1220
|
/**
|
|
1193
1221
|
* @remarks
|
|
1194
|
-
*
|
|
1222
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1195
1223
|
*
|
|
1196
|
-
* - true:
|
|
1224
|
+
* - true: encrypts the system cloud disk.
|
|
1197
1225
|
*
|
|
1198
|
-
* - false:
|
|
1226
|
+
* - false: does not encrypt the system cloud disk.
|
|
1199
1227
|
*
|
|
1200
1228
|
* @example
|
|
1201
1229
|
* false
|
|
@@ -1203,7 +1231,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1203
1231
|
systemDiskEncrypted?: boolean;
|
|
1204
1232
|
/**
|
|
1205
1233
|
* @remarks
|
|
1206
|
-
* KMS key ID used
|
|
1234
|
+
* The KMS key ID used by the system cloud disk.
|
|
1207
1235
|
*
|
|
1208
1236
|
* @example
|
|
1209
1237
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1211,11 +1239,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1211
1239
|
systemDiskKmsKeyId?: string;
|
|
1212
1240
|
/**
|
|
1213
1241
|
* @remarks
|
|
1214
|
-
*
|
|
1215
|
-
* - PL0:
|
|
1216
|
-
* - PL1:
|
|
1217
|
-
* - PL2:
|
|
1218
|
-
* - PL3:
|
|
1242
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1243
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1244
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1245
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1246
|
+
* - PL3: extremely high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1219
1247
|
*
|
|
1220
1248
|
* @example
|
|
1221
1249
|
* PL1
|
|
@@ -1223,11 +1251,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1223
1251
|
systemDiskPerformanceLevel?: string;
|
|
1224
1252
|
/**
|
|
1225
1253
|
* @remarks
|
|
1226
|
-
*
|
|
1254
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1227
1255
|
*
|
|
1228
1256
|
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1229
1257
|
*
|
|
1230
|
-
*
|
|
1258
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1231
1259
|
*
|
|
1232
1260
|
* @example
|
|
1233
1261
|
* 1000
|
|
@@ -1235,11 +1263,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1235
1263
|
systemDiskProvisionedIops?: number;
|
|
1236
1264
|
/**
|
|
1237
1265
|
* @remarks
|
|
1238
|
-
*
|
|
1266
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1239
1267
|
*
|
|
1240
1268
|
* Valid values: [20,2048\\].
|
|
1241
1269
|
*
|
|
1242
|
-
* The value
|
|
1270
|
+
* The value must be greater than or equal to max{20, ImageSize}.
|
|
1243
1271
|
*
|
|
1244
1272
|
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1245
1273
|
*
|
|
@@ -1249,7 +1277,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1249
1277
|
systemDiskSize?: number;
|
|
1250
1278
|
/**
|
|
1251
1279
|
* @remarks
|
|
1252
|
-
*
|
|
1280
|
+
* The snapshot policy for the system cloud disk.
|
|
1253
1281
|
*
|
|
1254
1282
|
* @example
|
|
1255
1283
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1259,14 +1287,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1259
1287
|
* @remarks
|
|
1260
1288
|
* Tags added only to ECS instances.
|
|
1261
1289
|
*
|
|
1262
|
-
* Tag keys cannot be duplicated and can be up to 128 characters. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1290
|
+
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1263
1291
|
*/
|
|
1264
1292
|
tags?: Tag[];
|
|
1265
1293
|
/**
|
|
1266
1294
|
* @remarks
|
|
1267
|
-
*
|
|
1295
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1268
1296
|
*
|
|
1269
|
-
* > To ensure high availability,
|
|
1297
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1270
1298
|
*/
|
|
1271
1299
|
vswitchIds?: string[];
|
|
1272
1300
|
static names(): { [key: string]: string } {
|
|
@@ -1413,10 +1441,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1413
1441
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1414
1442
|
/**
|
|
1415
1443
|
* @remarks
|
|
1416
|
-
*
|
|
1444
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1417
1445
|
*
|
|
1418
|
-
* - `true`:
|
|
1419
|
-
* - `false`:
|
|
1446
|
+
* - `true`: Enabled.
|
|
1447
|
+
* - `false`: Disabled.
|
|
1420
1448
|
*
|
|
1421
1449
|
* Default value: `false`.
|
|
1422
1450
|
*
|
|
@@ -1448,12 +1476,12 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1448
1476
|
export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1449
1477
|
/**
|
|
1450
1478
|
* @remarks
|
|
1451
|
-
*
|
|
1479
|
+
* The auto scaling configuration.
|
|
1452
1480
|
*/
|
|
1453
1481
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1454
1482
|
/**
|
|
1455
1483
|
* @remarks
|
|
1456
|
-
*
|
|
1484
|
+
* Specifies whether to enable concurrency.
|
|
1457
1485
|
*
|
|
1458
1486
|
* @example
|
|
1459
1487
|
* true
|
|
@@ -1461,32 +1489,37 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1461
1489
|
concurrency?: boolean;
|
|
1462
1490
|
/**
|
|
1463
1491
|
* @remarks
|
|
1464
|
-
*
|
|
1492
|
+
* The Lingjun node pool configuration. (Not effective)
|
|
1493
|
+
*/
|
|
1494
|
+
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1495
|
+
/**
|
|
1496
|
+
* @remarks
|
|
1497
|
+
* The cluster-related configuration.
|
|
1465
1498
|
*/
|
|
1466
1499
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1467
1500
|
/**
|
|
1468
1501
|
* @remarks
|
|
1469
|
-
*
|
|
1502
|
+
* The managed node pool configuration.
|
|
1470
1503
|
*/
|
|
1471
1504
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1472
1505
|
/**
|
|
1473
1506
|
* @remarks
|
|
1474
|
-
*
|
|
1507
|
+
* The node pool configuration.
|
|
1475
1508
|
*/
|
|
1476
1509
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1477
1510
|
/**
|
|
1478
1511
|
* @remarks
|
|
1479
|
-
*
|
|
1512
|
+
* The scaling group configuration of the node pool.
|
|
1480
1513
|
*/
|
|
1481
1514
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1482
1515
|
/**
|
|
1483
1516
|
* @remarks
|
|
1484
|
-
*
|
|
1517
|
+
* The confidential computing cluster configuration.
|
|
1485
1518
|
*/
|
|
1486
1519
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1487
1520
|
/**
|
|
1488
1521
|
* @remarks
|
|
1489
|
-
* Synchronously
|
|
1522
|
+
* Synchronously updates node labels and taints.
|
|
1490
1523
|
*
|
|
1491
1524
|
* @example
|
|
1492
1525
|
* true
|
|
@@ -1496,6 +1529,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1496
1529
|
return {
|
|
1497
1530
|
autoScaling: 'auto_scaling',
|
|
1498
1531
|
concurrency: 'concurrency',
|
|
1532
|
+
efloNodeGroup: 'eflo_node_group',
|
|
1499
1533
|
kubernetesConfig: 'kubernetes_config',
|
|
1500
1534
|
management: 'management',
|
|
1501
1535
|
nodepoolInfo: 'nodepool_info',
|
|
@@ -1509,6 +1543,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1509
1543
|
return {
|
|
1510
1544
|
autoScaling: ModifyClusterNodePoolRequestAutoScaling,
|
|
1511
1545
|
concurrency: 'boolean',
|
|
1546
|
+
efloNodeGroup: ModifyClusterNodePoolRequestEfloNodeGroup,
|
|
1512
1547
|
kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
|
|
1513
1548
|
management: ModifyClusterNodePoolRequestManagement,
|
|
1514
1549
|
nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
|
|
@@ -1522,6 +1557,9 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1522
1557
|
if(this.autoScaling && typeof (this.autoScaling as any).validate === 'function') {
|
|
1523
1558
|
(this.autoScaling as any).validate();
|
|
1524
1559
|
}
|
|
1560
|
+
if(this.efloNodeGroup && typeof (this.efloNodeGroup as any).validate === 'function') {
|
|
1561
|
+
(this.efloNodeGroup as any).validate();
|
|
1562
|
+
}
|
|
1525
1563
|
if(this.kubernetesConfig && typeof (this.kubernetesConfig as any).validate === 'function') {
|
|
1526
1564
|
(this.kubernetesConfig as any).validate();
|
|
1527
1565
|
}
|