@alicloud/cs20151215 7.0.0 → 7.0.2
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 +14 -14
- package/dist/client.js +20 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -267
- package/dist/models/CreateClusterNodePoolRequest.js +4 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -225
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +174 -167
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +6 -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 +228 -218
- package/dist/models/ModifyClusterNodePoolRequest.js +25 -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/UpgradeClusterNodepoolRequest.d.ts +4 -3
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.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 +22 -14
- package/src/models/CreateClusterNodePoolRequest.ts +271 -267
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +238 -225
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +180 -167
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +243 -218
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- package/src/models/UpgradeClusterNodepoolRequest.ts +6 -3
- 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 EIP bandwidth.
|
|
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-data-transfer.
|
|
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 auto scaling for the node pool. When the capacity planning of the cluster 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 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 your 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 your 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 corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
89
|
+
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are 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,36 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
|
|
145
|
+
export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
146
|
+
autoAttachEnabled?: string;
|
|
147
|
+
static names(): { [key: string]: string } {
|
|
148
|
+
return {
|
|
149
|
+
autoAttachEnabled: 'auto_attach_enabled',
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
static types(): { [key: string]: any } {
|
|
154
|
+
return {
|
|
155
|
+
autoAttachEnabled: 'string',
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
validate() {
|
|
160
|
+
super.validate();
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
constructor(map?: { [key: string]: any }) {
|
|
164
|
+
super(map);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
146
168
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
147
169
|
/**
|
|
148
170
|
* @remarks
|
|
149
|
-
*
|
|
171
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
150
172
|
*
|
|
151
|
-
* - `true`:
|
|
152
|
-
* - `false`:
|
|
173
|
+
* - `true`: installs the CloudMonitor agent on ECS nodes.
|
|
174
|
+
* - `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
153
175
|
*
|
|
154
176
|
* Default value: `false`.
|
|
155
177
|
*
|
|
@@ -159,10 +181,10 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
159
181
|
cmsEnabled?: boolean;
|
|
160
182
|
/**
|
|
161
183
|
* @remarks
|
|
162
|
-
*
|
|
184
|
+
* The CPU management policy for nodes. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
163
185
|
*
|
|
164
|
-
* - `static`:
|
|
165
|
-
* - `none`:
|
|
186
|
+
* - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
187
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
166
188
|
*
|
|
167
189
|
* Default value: `none`.
|
|
168
190
|
*
|
|
@@ -172,19 +194,19 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
172
194
|
cpuPolicy?: string;
|
|
173
195
|
/**
|
|
174
196
|
* @remarks
|
|
175
|
-
*
|
|
197
|
+
* The node labels. Adds labels to Kubernetes cluster nodes. Label definition rules:
|
|
176
198
|
*
|
|
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.
|
|
199
|
+
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
200
|
+
* - 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
201
|
*/
|
|
180
202
|
labels?: Tag[];
|
|
181
203
|
/**
|
|
182
204
|
* @remarks
|
|
183
|
-
*
|
|
205
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
184
206
|
*
|
|
185
|
-
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can
|
|
207
|
+
* 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
208
|
*
|
|
187
|
-
* The parameter
|
|
209
|
+
* 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
210
|
*
|
|
189
211
|
* @example
|
|
190
212
|
* customized,aliyun,ip,com
|
|
@@ -192,7 +214,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
192
214
|
nodeNameMode?: string;
|
|
193
215
|
/**
|
|
194
216
|
* @remarks
|
|
195
|
-
*
|
|
217
|
+
* The pre-user data for the instance. 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
218
|
*
|
|
197
219
|
* @example
|
|
198
220
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -200,11 +222,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
200
222
|
preUserData?: string;
|
|
201
223
|
/**
|
|
202
224
|
* @remarks
|
|
203
|
-
*
|
|
225
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
204
226
|
*
|
|
205
|
-
* - containerd:
|
|
206
|
-
* - Sandboxed-Container.runv:
|
|
207
|
-
* - docker:
|
|
227
|
+
* - containerd: recommended. Supported by all cluster versions.
|
|
228
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supported by cluster versions 1.31 and earlier.
|
|
229
|
+
* - docker: no longer maintained. Supported by cluster versions 1.22 and earlier.
|
|
208
230
|
*
|
|
209
231
|
* Default value: containerd.
|
|
210
232
|
*
|
|
@@ -214,7 +236,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
214
236
|
runtime?: string;
|
|
215
237
|
/**
|
|
216
238
|
* @remarks
|
|
217
|
-
*
|
|
239
|
+
* The container runtime version.
|
|
218
240
|
*
|
|
219
241
|
* @example
|
|
220
242
|
* 1.6.38
|
|
@@ -222,16 +244,16 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
222
244
|
runtimeVersion?: string;
|
|
223
245
|
/**
|
|
224
246
|
* @remarks
|
|
225
|
-
*
|
|
247
|
+
* The node taint configuration.
|
|
226
248
|
*/
|
|
227
249
|
taints?: Taint[];
|
|
228
250
|
/**
|
|
229
251
|
* @remarks
|
|
230
|
-
*
|
|
252
|
+
* Specifies whether the nodes added during scale-out are unschedulable.
|
|
231
253
|
*
|
|
232
|
-
* - true:
|
|
254
|
+
* - true: unschedulable.
|
|
233
255
|
*
|
|
234
|
-
* - false:
|
|
256
|
+
* - false: schedulable.
|
|
235
257
|
*
|
|
236
258
|
* @example
|
|
237
259
|
* false
|
|
@@ -239,7 +261,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
239
261
|
unschedulable?: boolean;
|
|
240
262
|
/**
|
|
241
263
|
* @remarks
|
|
242
|
-
*
|
|
264
|
+
* 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
265
|
*
|
|
244
266
|
* @example
|
|
245
267
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -293,12 +315,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
293
315
|
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
294
316
|
/**
|
|
295
317
|
* @remarks
|
|
296
|
-
*
|
|
318
|
+
* Specifies whether node repair requires manual approval.
|
|
297
319
|
*/
|
|
298
320
|
approvalRequired?: boolean;
|
|
299
321
|
/**
|
|
300
322
|
* @remarks
|
|
301
|
-
*
|
|
323
|
+
* The auto repair policy ID.
|
|
302
324
|
*
|
|
303
325
|
* @example
|
|
304
326
|
* r-xxxxxxxxxx
|
|
@@ -306,10 +328,10 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
306
328
|
autoRepairPolicyId?: string;
|
|
307
329
|
/**
|
|
308
330
|
* @remarks
|
|
309
|
-
*
|
|
331
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
310
332
|
*
|
|
311
|
-
* - `true`:
|
|
312
|
-
* - `false`:
|
|
333
|
+
* - `true`: Allows node restart.
|
|
334
|
+
* - `false`: Does not allow node restart.
|
|
313
335
|
*
|
|
314
336
|
* Default value: `true`.
|
|
315
337
|
*
|
|
@@ -345,9 +367,9 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
345
367
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
346
368
|
/**
|
|
347
369
|
* @remarks
|
|
348
|
-
*
|
|
349
|
-
* - `true`:
|
|
350
|
-
* - `false`:
|
|
370
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
371
|
+
* - `true`: Allows automatic kubelet upgrade.
|
|
372
|
+
* - `false`: Does not allow automatic kubelet upgrade.
|
|
351
373
|
*
|
|
352
374
|
* Default value: `true`.
|
|
353
375
|
*
|
|
@@ -357,9 +379,9 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
357
379
|
autoUpgradeKubelet?: boolean;
|
|
358
380
|
/**
|
|
359
381
|
* @remarks
|
|
360
|
-
*
|
|
361
|
-
* - `true`:
|
|
362
|
-
* - `false`:
|
|
382
|
+
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
383
|
+
* - `true`: Allows automatic operating system upgrade.
|
|
384
|
+
* - `false`: Does not allow automatic operating system upgrade.
|
|
363
385
|
*
|
|
364
386
|
* Default value: `false`.
|
|
365
387
|
*
|
|
@@ -369,9 +391,9 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
369
391
|
autoUpgradeOs?: boolean;
|
|
370
392
|
/**
|
|
371
393
|
* @remarks
|
|
372
|
-
*
|
|
373
|
-
* - `true`:
|
|
374
|
-
* - `false`:
|
|
394
|
+
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
395
|
+
* - `true`: Allows automatic runtime upgrade.
|
|
396
|
+
* - `false`: Does not allow automatic runtime upgrade.
|
|
375
397
|
*
|
|
376
398
|
* Default value: `true`.
|
|
377
399
|
*
|
|
@@ -407,7 +429,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
407
429
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
408
430
|
/**
|
|
409
431
|
* @remarks
|
|
410
|
-
* Specifies the packages to
|
|
432
|
+
* Specifies the packages to exclude during vulnerability fixing.
|
|
411
433
|
*
|
|
412
434
|
* Default value: `kernel`.
|
|
413
435
|
*
|
|
@@ -417,9 +439,9 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
417
439
|
excludePackages?: string;
|
|
418
440
|
/**
|
|
419
441
|
* @remarks
|
|
420
|
-
*
|
|
421
|
-
* - `true`:
|
|
422
|
-
* - `false`:
|
|
442
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
443
|
+
* - `true`: Allows node restart.
|
|
444
|
+
* - `false`: Does not allow node restart.
|
|
423
445
|
*
|
|
424
446
|
* Default value: `true`.
|
|
425
447
|
*
|
|
@@ -429,11 +451,11 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
429
451
|
restartNode?: boolean;
|
|
430
452
|
/**
|
|
431
453
|
* @remarks
|
|
432
|
-
*
|
|
454
|
+
* The vulnerability levels allowed for automatic fixing, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
433
455
|
*
|
|
434
|
-
* - `asap`:
|
|
435
|
-
* - `later`:
|
|
436
|
-
* - `nntf`:
|
|
456
|
+
* - `asap`: high
|
|
457
|
+
* - `later`: medium
|
|
458
|
+
* - `nntf`: low
|
|
437
459
|
*
|
|
438
460
|
* Default value: `asap`.
|
|
439
461
|
*
|
|
@@ -469,12 +491,12 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
469
491
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
470
492
|
/**
|
|
471
493
|
* @remarks
|
|
472
|
-
* [This field is deprecated]
|
|
494
|
+
* [This field is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
473
495
|
*
|
|
474
|
-
*
|
|
496
|
+
* Specifies whether to enable auto upgrade:
|
|
475
497
|
*
|
|
476
|
-
* - true:
|
|
477
|
-
* - false:
|
|
498
|
+
* - true: Enabled.
|
|
499
|
+
* - false: Disabled.
|
|
478
500
|
*
|
|
479
501
|
* Default value: `true`.
|
|
480
502
|
*
|
|
@@ -486,9 +508,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
486
508
|
autoUpgrade?: boolean;
|
|
487
509
|
/**
|
|
488
510
|
* @remarks
|
|
489
|
-
*
|
|
511
|
+
* The maximum number of unavailable nodes.
|
|
490
512
|
*
|
|
491
|
-
* Valid values: [1,1000\\]
|
|
513
|
+
* Valid values: [1,1000\\].
|
|
492
514
|
*
|
|
493
515
|
* Default value: 1.
|
|
494
516
|
*
|
|
@@ -498,11 +520,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
498
520
|
maxUnavailable?: number;
|
|
499
521
|
/**
|
|
500
522
|
* @remarks
|
|
501
|
-
*
|
|
523
|
+
* The number of extra nodes. This parameter is mutually exclusive with `surge_percentage`.
|
|
502
524
|
*
|
|
503
|
-
*
|
|
525
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
504
526
|
*
|
|
505
|
-
* >
|
|
527
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
506
528
|
*
|
|
507
529
|
* @example
|
|
508
530
|
* 5
|
|
@@ -510,9 +532,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
510
532
|
surge?: number;
|
|
511
533
|
/**
|
|
512
534
|
* @remarks
|
|
513
|
-
*
|
|
535
|
+
* The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
|
|
514
536
|
*
|
|
515
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage
|
|
537
|
+
* 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
538
|
*
|
|
517
539
|
* @example
|
|
518
540
|
* 0
|
|
@@ -549,11 +571,11 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
549
571
|
autoFaultDiagnosis?: boolean;
|
|
550
572
|
/**
|
|
551
573
|
* @remarks
|
|
552
|
-
*
|
|
574
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
553
575
|
*
|
|
554
|
-
* - `true`:
|
|
576
|
+
* - `true`: Enables auto repair.
|
|
555
577
|
*
|
|
556
|
-
* - `false`:
|
|
578
|
+
* - `false`: Disables auto repair.
|
|
557
579
|
*
|
|
558
580
|
* Default value: `true`.
|
|
559
581
|
*
|
|
@@ -563,14 +585,14 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
563
585
|
autoRepair?: boolean;
|
|
564
586
|
/**
|
|
565
587
|
* @remarks
|
|
566
|
-
*
|
|
588
|
+
* The auto repair node policy.
|
|
567
589
|
*/
|
|
568
590
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
569
591
|
/**
|
|
570
592
|
* @remarks
|
|
571
|
-
*
|
|
572
|
-
* - `true`:
|
|
573
|
-
* - `false`:
|
|
593
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
594
|
+
* - `true`: Enables auto upgrade.
|
|
595
|
+
* - `false`: Disables auto upgrade.
|
|
574
596
|
*
|
|
575
597
|
* Default value: `true`.
|
|
576
598
|
*
|
|
@@ -580,15 +602,15 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
580
602
|
autoUpgrade?: boolean;
|
|
581
603
|
/**
|
|
582
604
|
* @remarks
|
|
583
|
-
*
|
|
605
|
+
* The auto upgrade policy.
|
|
584
606
|
*/
|
|
585
607
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
586
608
|
/**
|
|
587
609
|
* @remarks
|
|
588
|
-
*
|
|
610
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
589
611
|
*
|
|
590
|
-
* - `true`:
|
|
591
|
-
* - `false`:
|
|
612
|
+
* - `true`: Allows automatic CVE fixing.
|
|
613
|
+
* - `false`: Does not allow automatic CVE fixing.
|
|
592
614
|
*
|
|
593
615
|
* Default value: `true`.
|
|
594
616
|
*
|
|
@@ -598,15 +620,15 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
598
620
|
autoVulFix?: boolean;
|
|
599
621
|
/**
|
|
600
622
|
* @remarks
|
|
601
|
-
*
|
|
623
|
+
* The auto CVE fix policy.
|
|
602
624
|
*/
|
|
603
625
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
604
626
|
/**
|
|
605
627
|
* @remarks
|
|
606
|
-
*
|
|
628
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
607
629
|
*
|
|
608
|
-
* - `true`:
|
|
609
|
-
* - `false`:
|
|
630
|
+
* - `true`: Enables the managed node pool.
|
|
631
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
610
632
|
*
|
|
611
633
|
* Default value: `false`.
|
|
612
634
|
*
|
|
@@ -616,9 +638,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
616
638
|
enable?: boolean;
|
|
617
639
|
/**
|
|
618
640
|
* @remarks
|
|
619
|
-
* [This field is deprecated]
|
|
641
|
+
* [This field is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
620
642
|
*
|
|
621
|
-
*
|
|
643
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
622
644
|
*
|
|
623
645
|
* @deprecated
|
|
624
646
|
*/
|
|
@@ -675,9 +697,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
675
697
|
export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
676
698
|
/**
|
|
677
699
|
* @remarks
|
|
678
|
-
*
|
|
700
|
+
* The node pool name.
|
|
679
701
|
*
|
|
680
|
-
* Naming rules: The name can contain digits, Chinese characters,
|
|
702
|
+
* 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
703
|
*
|
|
682
704
|
* @example
|
|
683
705
|
* default-nodepool
|
|
@@ -685,9 +707,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
685
707
|
name?: string;
|
|
686
708
|
/**
|
|
687
709
|
* @remarks
|
|
688
|
-
* The resource group ID of the node pool. Instances created by the node pool
|
|
710
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
689
711
|
*
|
|
690
|
-
* A resource can
|
|
712
|
+
* 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
713
|
*
|
|
692
714
|
* @example
|
|
693
715
|
* rg-acfmyvw3wjm****
|
|
@@ -719,7 +741,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
719
741
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
720
742
|
/**
|
|
721
743
|
* @remarks
|
|
722
|
-
*
|
|
744
|
+
* The private node pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
723
745
|
*
|
|
724
746
|
* @example
|
|
725
747
|
* eap-bp67acfmxazb4****
|
|
@@ -727,10 +749,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
727
749
|
id?: string;
|
|
728
750
|
/**
|
|
729
751
|
* @remarks
|
|
730
|
-
*
|
|
731
|
-
* - `Open`:
|
|
732
|
-
* - `Target`:
|
|
733
|
-
* - `None`:
|
|
752
|
+
* The private node pool type. Specifies the private pool capacity option for launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launching. Valid values:
|
|
753
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
754
|
+
* - `Target`: specified mode. The instance is launched using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
755
|
+
* - `None`: not used. The instance does not use private pool capacity.
|
|
734
756
|
*
|
|
735
757
|
* @example
|
|
736
758
|
* Open
|
|
@@ -762,15 +784,15 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
762
784
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
763
785
|
/**
|
|
764
786
|
* @remarks
|
|
765
|
-
*
|
|
787
|
+
* The list of private pool IDs, which are the IDs of elasticity assurance or capacity reservation services. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
766
788
|
*/
|
|
767
789
|
privatePoolIds?: string[];
|
|
768
790
|
/**
|
|
769
791
|
* @remarks
|
|
770
|
-
*
|
|
771
|
-
* PrivatePoolFirst:
|
|
772
|
-
* PrivatePoolOnly:
|
|
773
|
-
* None:
|
|
792
|
+
* The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launching. Valid values:
|
|
793
|
+
* PrivatePoolFirst: private pool first. When this policy 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 private pool capacity is automatically matched. If no matching private pool is available, public pool resources are used.
|
|
794
|
+
* PrivatePoolOnly: private pool only. When this policy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
|
|
795
|
+
* None: no resource pool policy is used.
|
|
774
796
|
* Default value: None.
|
|
775
797
|
*
|
|
776
798
|
* @example
|
|
@@ -806,7 +828,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
806
828
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
807
829
|
/**
|
|
808
830
|
* @remarks
|
|
809
|
-
*
|
|
831
|
+
* The spot instance type.
|
|
810
832
|
*
|
|
811
833
|
* @example
|
|
812
834
|
* ecs.c6.large
|
|
@@ -814,7 +836,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
814
836
|
instanceType?: string;
|
|
815
837
|
/**
|
|
816
838
|
* @remarks
|
|
817
|
-
*
|
|
839
|
+
* The maximum price per instance.
|
|
818
840
|
*
|
|
819
841
|
* <props="china">Unit: CNY/hour.
|
|
820
842
|
*
|
|
@@ -852,10 +874,10 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
852
874
|
export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
853
875
|
/**
|
|
854
876
|
* @remarks
|
|
855
|
-
*
|
|
877
|
+
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
856
878
|
*
|
|
857
|
-
* - `true`:
|
|
858
|
-
* - `false`:
|
|
879
|
+
* - `true`: Enables auto-renewal.
|
|
880
|
+
* - `false`: Disables auto-renewal.
|
|
859
881
|
*
|
|
860
882
|
* Default value: `false`.
|
|
861
883
|
*
|
|
@@ -865,7 +887,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
865
887
|
autoRenew?: boolean;
|
|
866
888
|
/**
|
|
867
889
|
* @remarks
|
|
868
|
-
*
|
|
890
|
+
* The auto-renewal period for a single renewal cycle. Valid values:
|
|
869
891
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
870
892
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
871
893
|
*
|
|
@@ -877,10 +899,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
877
899
|
autoRenewPeriod?: number;
|
|
878
900
|
/**
|
|
879
901
|
* @remarks
|
|
880
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatically
|
|
902
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances if spot instances cannot be created due to price or inventory reasons to meet the required number of ECS instances. Valid values:
|
|
881
903
|
*
|
|
882
|
-
* - `true`:
|
|
883
|
-
* - `false`:
|
|
904
|
+
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
905
|
+
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
884
906
|
*
|
|
885
907
|
* @example
|
|
886
908
|
* true
|
|
@@ -888,12 +910,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
888
910
|
compensateWithOnDemand?: boolean;
|
|
889
911
|
/**
|
|
890
912
|
* @remarks
|
|
891
|
-
*
|
|
913
|
+
* The node data cloud disk configuration. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
|
|
892
914
|
*/
|
|
893
915
|
dataDisks?: DataDisk[];
|
|
894
916
|
/**
|
|
895
917
|
* @remarks
|
|
896
|
-
* The deployment set
|
|
918
|
+
* The deployment set ID for ECS instances scaled out by the node pool. This setting takes effect only on incremental nodes. The deployment set of existing nodes is not changed.
|
|
897
919
|
*
|
|
898
920
|
* @example
|
|
899
921
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -901,11 +923,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
901
923
|
deploymentsetId?: string;
|
|
902
924
|
/**
|
|
903
925
|
* @remarks
|
|
904
|
-
*
|
|
926
|
+
* The desired number of nodes in the node pool.
|
|
905
927
|
*
|
|
906
|
-
* The total number of nodes that the node pool should maintain.
|
|
928
|
+
* The total number of nodes that the node pool should maintain. Configure at least 2 nodes to ensure that cluster components run properly. You can adjust the desired node count to scale the node pool in or out.
|
|
907
929
|
*
|
|
908
|
-
* If you do not need to create nodes,
|
|
930
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the node count later.
|
|
909
931
|
*
|
|
910
932
|
* @example
|
|
911
933
|
* 2
|
|
@@ -913,12 +935,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
913
935
|
desiredSize?: number;
|
|
914
936
|
/**
|
|
915
937
|
* @remarks
|
|
916
|
-
*
|
|
938
|
+
* The block device initialization configuration.
|
|
917
939
|
*/
|
|
918
940
|
diskInit?: DiskInit[];
|
|
919
941
|
/**
|
|
920
942
|
* @remarks
|
|
921
|
-
*
|
|
943
|
+
* 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
944
|
*
|
|
923
945
|
* @example
|
|
924
946
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -926,18 +948,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
926
948
|
imageId?: string;
|
|
927
949
|
/**
|
|
928
950
|
* @remarks
|
|
929
|
-
*
|
|
951
|
+
* The operating system distribution type. Use this field to specify the node operating system. Valid values:
|
|
930
952
|
*
|
|
931
953
|
* - `AliyunLinux`: Alinux2 image.
|
|
932
|
-
* - `AliyunLinuxSecurity`: Alinux2
|
|
954
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
933
955
|
* - `AliyunLinux3`: Alinux3 image.
|
|
934
|
-
* - `AliyunLinux3Arm64`: Alinux3
|
|
935
|
-
* - `AliyunLinux3Security`: Alinux3
|
|
956
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
957
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
936
958
|
* - `CentOS`: CentOS image.
|
|
937
959
|
* - `Windows`: Windows image.
|
|
938
960
|
* - `WindowsCore`: WindowsCore image.
|
|
939
|
-
* - `ContainerOS`:
|
|
940
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3
|
|
961
|
+
* - `ContainerOS`: container-optimized image.
|
|
962
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
941
963
|
*
|
|
942
964
|
* @example
|
|
943
965
|
* AliyunLinux3
|
|
@@ -945,10 +967,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
945
967
|
imageType?: string;
|
|
946
968
|
/**
|
|
947
969
|
* @remarks
|
|
948
|
-
*
|
|
970
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
949
971
|
*
|
|
950
|
-
* - `PrePaid`:
|
|
951
|
-
* - `PostPaid`:
|
|
972
|
+
* - `PrePaid`: subscription.
|
|
973
|
+
* - `PostPaid`: pay-as-you-go.
|
|
952
974
|
*
|
|
953
975
|
* Default value: `PostPaid`.
|
|
954
976
|
*
|
|
@@ -958,22 +980,22 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
958
980
|
instanceChargeType?: string;
|
|
959
981
|
/**
|
|
960
982
|
* @remarks
|
|
961
|
-
*
|
|
983
|
+
* The instance attribute configuration.
|
|
962
984
|
*/
|
|
963
985
|
instancePatterns?: InstancePatterns[];
|
|
964
986
|
/**
|
|
965
987
|
* @remarks
|
|
966
|
-
*
|
|
988
|
+
* 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 final purchased instance type may vary depending on inventory availability.
|
|
967
989
|
*
|
|
968
990
|
* Supported number of instance types: [1,10].
|
|
969
991
|
*/
|
|
970
992
|
instanceTypes?: string[];
|
|
971
993
|
/**
|
|
972
994
|
* @remarks
|
|
973
|
-
*
|
|
995
|
+
* The billing type for public IP addresses. Valid values:
|
|
974
996
|
*
|
|
975
|
-
* - `PayByBandwidth`:
|
|
976
|
-
* - `PayByTraffic`:
|
|
997
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
998
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
977
999
|
*
|
|
978
1000
|
* @example
|
|
979
1001
|
* PayByBandwidth
|
|
@@ -981,7 +1003,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
981
1003
|
internetChargeType?: string;
|
|
982
1004
|
/**
|
|
983
1005
|
* @remarks
|
|
984
|
-
*
|
|
1006
|
+
* The maximum outbound bandwidth for node public IP addresses, in Mbit/s. Valid values: [1,100\\].
|
|
985
1007
|
*
|
|
986
1008
|
* @example
|
|
987
1009
|
* 5
|
|
@@ -989,7 +1011,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
989
1011
|
internetMaxBandwidthOut?: number;
|
|
990
1012
|
/**
|
|
991
1013
|
* @remarks
|
|
992
|
-
*
|
|
1014
|
+
* The key pair name. This parameter is mutually exclusive with `login_password`. For managed node pools, only `key_pair` is supported.
|
|
993
1015
|
*
|
|
994
1016
|
* @example
|
|
995
1017
|
* pro-nodepool
|
|
@@ -997,7 +1019,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
997
1019
|
keyPair?: string;
|
|
998
1020
|
/**
|
|
999
1021
|
* @remarks
|
|
1000
|
-
* SSH
|
|
1022
|
+
* 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
1023
|
*
|
|
1002
1024
|
* @example
|
|
1003
1025
|
* Hello1234
|
|
@@ -1005,15 +1027,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1005
1027
|
loginPassword?: string;
|
|
1006
1028
|
/**
|
|
1007
1029
|
* @remarks
|
|
1008
|
-
*
|
|
1030
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1009
1031
|
*
|
|
1010
|
-
* - `PRIORITY`:
|
|
1032
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch.
|
|
1011
1033
|
*
|
|
1012
|
-
* - `COST_OPTIMIZED`:
|
|
1034
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of lowest vCPU unit price. When the scaling configuration specifies multiple instance types with spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1013
1035
|
*
|
|
1014
|
-
* > `COST_OPTIMIZED`
|
|
1036
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1015
1037
|
*
|
|
1016
|
-
* - `BALANCE`:
|
|
1038
|
+
* - `BALANCE`: Distributes ECS instances evenly across the 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
1039
|
*
|
|
1018
1040
|
* Default value: `PRIORITY`.
|
|
1019
1041
|
*
|
|
@@ -1023,7 +1045,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1023
1045
|
multiAzPolicy?: string;
|
|
1024
1046
|
/**
|
|
1025
1047
|
* @remarks
|
|
1026
|
-
*
|
|
1048
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created first when the number of pay-as-you-go instances is less than this value.
|
|
1027
1049
|
*
|
|
1028
1050
|
* @example
|
|
1029
1051
|
* 0
|
|
@@ -1031,7 +1053,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1031
1053
|
onDemandBaseCapacity?: number;
|
|
1032
1054
|
/**
|
|
1033
1055
|
* @remarks
|
|
1034
|
-
*
|
|
1056
|
+
* 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\\].
|
|
1035
1057
|
*
|
|
1036
1058
|
* @example
|
|
1037
1059
|
* 20
|
|
@@ -1039,10 +1061,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1039
1061
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1040
1062
|
/**
|
|
1041
1063
|
* @remarks
|
|
1042
|
-
*
|
|
1064
|
+
* 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
1065
|
*
|
|
1044
|
-
* - When `period_unit=Week`, valid values
|
|
1045
|
-
* - When `period_unit=Month`, valid values
|
|
1066
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1067
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1046
1068
|
*
|
|
1047
1069
|
* @example
|
|
1048
1070
|
* 1
|
|
@@ -1050,10 +1072,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1050
1072
|
period?: number;
|
|
1051
1073
|
/**
|
|
1052
1074
|
* @remarks
|
|
1053
|
-
*
|
|
1075
|
+
* The billing period of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1054
1076
|
*
|
|
1055
|
-
* - `Month`:
|
|
1056
|
-
* - `Week`:
|
|
1077
|
+
* - `Month`: billed on a monthly basis.
|
|
1078
|
+
* - `Week`: billed on a weekly basis.
|
|
1057
1079
|
*
|
|
1058
1080
|
* Default value: `Month`.
|
|
1059
1081
|
*
|
|
@@ -1063,9 +1085,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1063
1085
|
periodUnit?: string;
|
|
1064
1086
|
/**
|
|
1065
1087
|
* @remarks
|
|
1066
|
-
*
|
|
1088
|
+
* **This parameter is deprecated.** Use the `image_type` parameter instead.
|
|
1067
1089
|
*
|
|
1068
|
-
*
|
|
1090
|
+
* The operating system platform. Valid values:
|
|
1069
1091
|
*
|
|
1070
1092
|
* - `AliyunLinux`
|
|
1071
1093
|
* - `CentOS`
|
|
@@ -1080,27 +1102,27 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1080
1102
|
platform?: string;
|
|
1081
1103
|
/**
|
|
1082
1104
|
* @remarks
|
|
1083
|
-
*
|
|
1105
|
+
* The private node pool configuration.
|
|
1084
1106
|
*/
|
|
1085
1107
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1086
1108
|
/**
|
|
1087
1109
|
* @remarks
|
|
1088
|
-
* RDS
|
|
1110
|
+
* The list of ApsaraDB RDS instances.
|
|
1089
1111
|
*/
|
|
1090
1112
|
rdsInstances?: string[];
|
|
1091
1113
|
/**
|
|
1092
1114
|
* @remarks
|
|
1093
|
-
*
|
|
1094
|
-
* This parameter
|
|
1115
|
+
* The resource pools and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1116
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1095
1117
|
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1096
1118
|
*/
|
|
1097
1119
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1098
1120
|
/**
|
|
1099
1121
|
* @remarks
|
|
1100
|
-
*
|
|
1122
|
+
* The scaling group mode. Valid values:
|
|
1101
1123
|
*
|
|
1102
|
-
* - `release`:
|
|
1103
|
-
* - `recycle`:
|
|
1124
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1125
|
+
* - `recycle`: swift 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 local disk instance types.)
|
|
1104
1126
|
*
|
|
1105
1127
|
* @example
|
|
1106
1128
|
* release
|
|
@@ -1108,12 +1130,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1108
1130
|
scalingPolicy?: string;
|
|
1109
1131
|
/**
|
|
1110
1132
|
* @remarks
|
|
1111
|
-
*
|
|
1133
|
+
* The list of security group IDs.
|
|
1112
1134
|
*/
|
|
1113
1135
|
securityGroupIds?: string[];
|
|
1114
1136
|
/**
|
|
1115
1137
|
* @remarks
|
|
1116
|
-
*
|
|
1138
|
+
* The number of available instance types. The scaling group creates spot instances across the lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
1117
1139
|
*
|
|
1118
1140
|
* @example
|
|
1119
1141
|
* 5
|
|
@@ -1121,10 +1143,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1121
1143
|
spotInstancePools?: number;
|
|
1122
1144
|
/**
|
|
1123
1145
|
* @remarks
|
|
1124
|
-
*
|
|
1125
|
-
*
|
|
1126
|
-
* - `true`: Enable supplementing preemptible instances.
|
|
1127
|
-
* - `false`: Disable supplementing preemptible instances.
|
|
1146
|
+
* Specifies whether to enable spot instance supplementation. When enabled,
|
|
1128
1147
|
*
|
|
1129
1148
|
* @example
|
|
1130
1149
|
* false
|
|
@@ -1132,18 +1151,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1132
1151
|
spotInstanceRemedy?: boolean;
|
|
1133
1152
|
/**
|
|
1134
1153
|
* @remarks
|
|
1135
|
-
*
|
|
1154
|
+
* The spot instance price limit configuration.
|
|
1136
1155
|
*/
|
|
1137
1156
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1138
1157
|
/**
|
|
1139
1158
|
* @remarks
|
|
1140
|
-
*
|
|
1159
|
+
* The spot instance type. Valid values:
|
|
1141
1160
|
*
|
|
1142
|
-
* - `NoSpot`:
|
|
1143
|
-
* - `SpotWithPriceLimit`:
|
|
1144
|
-
* - `SpotAsPriceGo`:
|
|
1161
|
+
* - `NoSpot`: non-spot instance.
|
|
1162
|
+
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1163
|
+
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1145
1164
|
*
|
|
1146
|
-
* For more information, see [
|
|
1165
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1147
1166
|
*
|
|
1148
1167
|
* @example
|
|
1149
1168
|
* SpotWithPriceLimit
|
|
@@ -1151,11 +1170,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1151
1170
|
spotStrategy?: string;
|
|
1152
1171
|
/**
|
|
1153
1172
|
* @remarks
|
|
1154
|
-
*
|
|
1155
|
-
* - true:
|
|
1156
|
-
* - false:
|
|
1173
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1174
|
+
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure from fluctuating workloads until the workload stabilizes.
|
|
1175
|
+
* - false: Disabled.
|
|
1157
1176
|
*
|
|
1158
|
-
*
|
|
1177
|
+
* 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
1178
|
*
|
|
1160
1179
|
* @example
|
|
1161
1180
|
* true
|
|
@@ -1163,17 +1182,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1163
1182
|
systemDiskBurstingEnabled?: boolean;
|
|
1164
1183
|
/**
|
|
1165
1184
|
* @remarks
|
|
1166
|
-
*
|
|
1185
|
+
* The 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
1186
|
*/
|
|
1168
1187
|
systemDiskCategories?: string[];
|
|
1169
1188
|
/**
|
|
1170
1189
|
* @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.
|
|
1190
|
+
* The node system cloud disk type. Valid values:
|
|
1191
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1192
|
+
* - `cloud_ssd`: standard SSD.
|
|
1193
|
+
* - `cloud_essd`: ESSD.
|
|
1194
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1195
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1177
1196
|
*
|
|
1178
1197
|
* Default value: `cloud_efficiency`.
|
|
1179
1198
|
*
|
|
@@ -1183,7 +1202,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1183
1202
|
systemDiskCategory?: string;
|
|
1184
1203
|
/**
|
|
1185
1204
|
* @remarks
|
|
1186
|
-
*
|
|
1205
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1187
1206
|
*
|
|
1188
1207
|
* @example
|
|
1189
1208
|
* aes-256
|
|
@@ -1191,11 +1210,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1191
1210
|
systemDiskEncryptAlgorithm?: string;
|
|
1192
1211
|
/**
|
|
1193
1212
|
* @remarks
|
|
1194
|
-
*
|
|
1213
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1195
1214
|
*
|
|
1196
|
-
* - true:
|
|
1215
|
+
* - true: Encrypted.
|
|
1197
1216
|
*
|
|
1198
|
-
* - false:
|
|
1217
|
+
* - false: Not encrypted.
|
|
1199
1218
|
*
|
|
1200
1219
|
* @example
|
|
1201
1220
|
* false
|
|
@@ -1203,7 +1222,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1203
1222
|
systemDiskEncrypted?: boolean;
|
|
1204
1223
|
/**
|
|
1205
1224
|
* @remarks
|
|
1206
|
-
* KMS key ID used
|
|
1225
|
+
* The KMS key ID used by the system cloud disk.
|
|
1207
1226
|
*
|
|
1208
1227
|
* @example
|
|
1209
1228
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1211,11 +1230,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1211
1230
|
systemDiskKmsKeyId?: string;
|
|
1212
1231
|
/**
|
|
1213
1232
|
* @remarks
|
|
1214
|
-
*
|
|
1215
|
-
* - PL0:
|
|
1216
|
-
* - PL1:
|
|
1217
|
-
* - PL2:
|
|
1218
|
-
* - PL3:
|
|
1233
|
+
* 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 [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1234
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1235
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1236
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1237
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1219
1238
|
*
|
|
1220
1239
|
* @example
|
|
1221
1240
|
* PL1
|
|
@@ -1223,11 +1242,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1223
1242
|
systemDiskPerformanceLevel?: string;
|
|
1224
1243
|
/**
|
|
1225
1244
|
* @remarks
|
|
1226
|
-
*
|
|
1245
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1227
1246
|
*
|
|
1228
|
-
* Valid values: 0~min{50,000, 1000
|
|
1247
|
+
* Valid values: 0~min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1229
1248
|
*
|
|
1230
|
-
*
|
|
1249
|
+
* 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
1250
|
*
|
|
1232
1251
|
* @example
|
|
1233
1252
|
* 1000
|
|
@@ -1235,11 +1254,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1235
1254
|
systemDiskProvisionedIops?: number;
|
|
1236
1255
|
/**
|
|
1237
1256
|
* @remarks
|
|
1238
|
-
*
|
|
1257
|
+
* The node system cloud disk size, in GiB.
|
|
1239
1258
|
*
|
|
1240
1259
|
* Valid values: [20,2048\\].
|
|
1241
1260
|
*
|
|
1242
|
-
* The value
|
|
1261
|
+
* The value must be greater than or equal to max{20, ImageSize}.
|
|
1243
1262
|
*
|
|
1244
1263
|
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1245
1264
|
*
|
|
@@ -1249,7 +1268,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1249
1268
|
systemDiskSize?: number;
|
|
1250
1269
|
/**
|
|
1251
1270
|
* @remarks
|
|
1252
|
-
*
|
|
1271
|
+
* The snapshot policy for the system cloud disk.
|
|
1253
1272
|
*
|
|
1254
1273
|
* @example
|
|
1255
1274
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1257,16 +1276,16 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1257
1276
|
systemDiskSnapshotPolicyId?: string;
|
|
1258
1277
|
/**
|
|
1259
1278
|
* @remarks
|
|
1260
|
-
* Tags added
|
|
1279
|
+
* Tags added to ECS instances only.
|
|
1261
1280
|
*
|
|
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://".
|
|
1281
|
+
* 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
1282
|
*/
|
|
1264
1283
|
tags?: Tag[];
|
|
1265
1284
|
/**
|
|
1266
1285
|
* @remarks
|
|
1267
|
-
*
|
|
1286
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1268
1287
|
*
|
|
1269
|
-
* > To ensure high availability,
|
|
1288
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1270
1289
|
*/
|
|
1271
1290
|
vswitchIds?: string[];
|
|
1272
1291
|
static names(): { [key: string]: string } {
|
|
@@ -1413,10 +1432,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1413
1432
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1414
1433
|
/**
|
|
1415
1434
|
* @remarks
|
|
1416
|
-
*
|
|
1435
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1417
1436
|
*
|
|
1418
|
-
* - `true`:
|
|
1419
|
-
* - `false`:
|
|
1437
|
+
* - `true`: enabled.
|
|
1438
|
+
* - `false`: disabled.
|
|
1420
1439
|
*
|
|
1421
1440
|
* Default value: `false`.
|
|
1422
1441
|
*
|
|
@@ -1448,45 +1467,46 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1448
1467
|
export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1449
1468
|
/**
|
|
1450
1469
|
* @remarks
|
|
1451
|
-
*
|
|
1470
|
+
* The auto scaling configuration.
|
|
1452
1471
|
*/
|
|
1453
1472
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1454
1473
|
/**
|
|
1455
1474
|
* @remarks
|
|
1456
|
-
*
|
|
1475
|
+
* Specifies whether to enable concurrency.
|
|
1457
1476
|
*
|
|
1458
1477
|
* @example
|
|
1459
1478
|
* true
|
|
1460
1479
|
*/
|
|
1461
1480
|
concurrency?: boolean;
|
|
1481
|
+
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1462
1482
|
/**
|
|
1463
1483
|
* @remarks
|
|
1464
|
-
*
|
|
1484
|
+
* The cluster-related configuration.
|
|
1465
1485
|
*/
|
|
1466
1486
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1467
1487
|
/**
|
|
1468
1488
|
* @remarks
|
|
1469
|
-
*
|
|
1489
|
+
* The managed node pool configuration.
|
|
1470
1490
|
*/
|
|
1471
1491
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1472
1492
|
/**
|
|
1473
1493
|
* @remarks
|
|
1474
|
-
*
|
|
1494
|
+
* The node pool configuration.
|
|
1475
1495
|
*/
|
|
1476
1496
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1477
1497
|
/**
|
|
1478
1498
|
* @remarks
|
|
1479
|
-
*
|
|
1499
|
+
* The scaling group configuration of the node pool.
|
|
1480
1500
|
*/
|
|
1481
1501
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1482
1502
|
/**
|
|
1483
1503
|
* @remarks
|
|
1484
|
-
*
|
|
1504
|
+
* The confidential computing cluster configuration.
|
|
1485
1505
|
*/
|
|
1486
1506
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1487
1507
|
/**
|
|
1488
1508
|
* @remarks
|
|
1489
|
-
* Synchronously
|
|
1509
|
+
* Synchronously updates node labels and taints.
|
|
1490
1510
|
*
|
|
1491
1511
|
* @example
|
|
1492
1512
|
* true
|
|
@@ -1496,6 +1516,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1496
1516
|
return {
|
|
1497
1517
|
autoScaling: 'auto_scaling',
|
|
1498
1518
|
concurrency: 'concurrency',
|
|
1519
|
+
efloNodeGroup: 'eflo_node_group',
|
|
1499
1520
|
kubernetesConfig: 'kubernetes_config',
|
|
1500
1521
|
management: 'management',
|
|
1501
1522
|
nodepoolInfo: 'nodepool_info',
|
|
@@ -1509,6 +1530,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1509
1530
|
return {
|
|
1510
1531
|
autoScaling: ModifyClusterNodePoolRequestAutoScaling,
|
|
1511
1532
|
concurrency: 'boolean',
|
|
1533
|
+
efloNodeGroup: ModifyClusterNodePoolRequestEfloNodeGroup,
|
|
1512
1534
|
kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
|
|
1513
1535
|
management: ModifyClusterNodePoolRequestManagement,
|
|
1514
1536
|
nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
|
|
@@ -1522,6 +1544,9 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1522
1544
|
if(this.autoScaling && typeof (this.autoScaling as any).validate === 'function') {
|
|
1523
1545
|
(this.autoScaling as any).validate();
|
|
1524
1546
|
}
|
|
1547
|
+
if(this.efloNodeGroup && typeof (this.efloNodeGroup as any).validate === 'function') {
|
|
1548
|
+
(this.efloNodeGroup as any).validate();
|
|
1549
|
+
}
|
|
1525
1550
|
if(this.kubernetesConfig && typeof (this.kubernetesConfig as any).validate === 'function') {
|
|
1526
1551
|
(this.kubernetesConfig as any).validate();
|
|
1527
1552
|
}
|