@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
|
@@ -12,7 +12,7 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Specifies whether to enable intelligent managed mode.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -42,7 +42,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara
|
|
|
42
42
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $dara.Model {
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The peak bandwidth
|
|
45
|
+
* The EIP peak bandwidth.
|
|
46
46
|
*
|
|
47
47
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
48
48
|
*
|
|
@@ -52,7 +52,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
52
52
|
eipBandwidth?: number;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The billing
|
|
55
|
+
* The EIP billing type. Valid values:
|
|
56
56
|
*
|
|
57
57
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
58
58
|
* - `PayByTraffic`: pay-by-traffic.
|
|
@@ -65,11 +65,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
65
65
|
* @remarks
|
|
66
66
|
* Specifies whether auto scaling is enabled. Valid values:
|
|
67
67
|
*
|
|
68
|
-
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet
|
|
68
|
+
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later use instant node elasticity by default. Clusters earlier than version 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
69
69
|
*
|
|
70
|
-
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count
|
|
70
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count to maintain the node count at the desired number.
|
|
71
71
|
*
|
|
72
|
-
* When
|
|
72
|
+
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* true
|
|
@@ -88,7 +88,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
88
88
|
isBondEip?: boolean;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The maximum number of instances
|
|
91
|
+
* The maximum number of scalable instances in the node pool, excluding your existing instances.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* 10
|
|
@@ -96,7 +96,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
96
96
|
maxInstances?: number;
|
|
97
97
|
/**
|
|
98
98
|
* @remarks
|
|
99
|
-
* The minimum number of instances
|
|
99
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* 2
|
|
@@ -151,7 +151,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
151
151
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends $dara.Model {
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
*
|
|
154
|
+
* Specifies whether to enable automatic node addition for the Lingjun node pool (not effective).
|
|
155
|
+
*/
|
|
156
|
+
autoAttachEnabled?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* The Lingjun cluster ID.
|
|
155
160
|
*
|
|
156
161
|
* @example
|
|
157
162
|
* i113790071760688002461
|
|
@@ -159,23 +164,32 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
159
164
|
clusterId?: string;
|
|
160
165
|
/**
|
|
161
166
|
* @remarks
|
|
162
|
-
*
|
|
167
|
+
* The Lingjun group ID.
|
|
163
168
|
*
|
|
164
169
|
* @example
|
|
165
170
|
* i128147721760688002463
|
|
166
171
|
*/
|
|
167
172
|
groupId?: string;
|
|
173
|
+
/**
|
|
174
|
+
* @remarks
|
|
175
|
+
* The worker RAM role used by the Lingjun node pool.
|
|
176
|
+
*/
|
|
177
|
+
workerRamRoleName?: string;
|
|
168
178
|
static names(): { [key: string]: string } {
|
|
169
179
|
return {
|
|
180
|
+
autoAttachEnabled: 'auto_attach_enabled',
|
|
170
181
|
clusterId: 'cluster_id',
|
|
171
182
|
groupId: 'group_id',
|
|
183
|
+
workerRamRoleName: 'worker_ram_role_name',
|
|
172
184
|
};
|
|
173
185
|
}
|
|
174
186
|
|
|
175
187
|
static types(): { [key: string]: any } {
|
|
176
188
|
return {
|
|
189
|
+
autoAttachEnabled: 'boolean',
|
|
177
190
|
clusterId: 'string',
|
|
178
191
|
groupId: 'string',
|
|
192
|
+
workerRamRoleName: 'string',
|
|
179
193
|
};
|
|
180
194
|
}
|
|
181
195
|
|
|
@@ -191,9 +205,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
191
205
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig extends $dara.Model {
|
|
192
206
|
/**
|
|
193
207
|
* @remarks
|
|
194
|
-
*
|
|
208
|
+
* [This field is deprecated]
|
|
195
209
|
*
|
|
196
|
-
*
|
|
210
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
197
211
|
*
|
|
198
212
|
* @example
|
|
199
213
|
* 10
|
|
@@ -201,9 +215,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
201
215
|
bandwidth?: number;
|
|
202
216
|
/**
|
|
203
217
|
* @remarks
|
|
204
|
-
*
|
|
218
|
+
* [This field is deprecated]
|
|
205
219
|
*
|
|
206
|
-
*
|
|
220
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
207
221
|
*
|
|
208
222
|
* @example
|
|
209
223
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -211,9 +225,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
211
225
|
ccnId?: string;
|
|
212
226
|
/**
|
|
213
227
|
* @remarks
|
|
214
|
-
*
|
|
228
|
+
* [This field is deprecated]
|
|
215
229
|
*
|
|
216
|
-
*
|
|
230
|
+
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
217
231
|
*
|
|
218
232
|
* @example
|
|
219
233
|
* cn-shanghai
|
|
@@ -221,9 +235,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
221
235
|
ccnRegionId?: string;
|
|
222
236
|
/**
|
|
223
237
|
* @remarks
|
|
224
|
-
*
|
|
238
|
+
* [This field is deprecated]
|
|
225
239
|
*
|
|
226
|
-
*
|
|
240
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
227
241
|
*
|
|
228
242
|
* @example
|
|
229
243
|
* cen-ey9k9nfhz0f*******
|
|
@@ -231,9 +245,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
231
245
|
cenId?: string;
|
|
232
246
|
/**
|
|
233
247
|
* @remarks
|
|
234
|
-
*
|
|
248
|
+
* [This field is deprecated]
|
|
235
249
|
*
|
|
236
|
-
*
|
|
250
|
+
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
237
251
|
*
|
|
238
252
|
* @example
|
|
239
253
|
* 1
|
|
@@ -271,10 +285,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
271
285
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $dara.Model {
|
|
272
286
|
/**
|
|
273
287
|
* @remarks
|
|
274
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
288
|
+
* 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:
|
|
275
289
|
*
|
|
276
|
-
* - `true`:
|
|
277
|
-
* - `false`:
|
|
290
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
291
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
278
292
|
*
|
|
279
293
|
* @example
|
|
280
294
|
* true
|
|
@@ -282,10 +296,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
282
296
|
cmsEnabled?: boolean;
|
|
283
297
|
/**
|
|
284
298
|
* @remarks
|
|
285
|
-
* The CPU management policy
|
|
299
|
+
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
286
300
|
*
|
|
287
|
-
* - `static`: allows
|
|
288
|
-
* - `none`:
|
|
301
|
+
* - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
302
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
289
303
|
*
|
|
290
304
|
* @example
|
|
291
305
|
* none
|
|
@@ -298,14 +312,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
298
312
|
labels?: Tag[];
|
|
299
313
|
/**
|
|
300
314
|
* @remarks
|
|
301
|
-
*
|
|
315
|
+
* The custom node name.
|
|
302
316
|
*
|
|
303
|
-
*
|
|
317
|
+
* The node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
304
318
|
*
|
|
305
|
-
* -
|
|
306
|
-
* - IP
|
|
319
|
+
* - The prefix and suffix can each 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.
|
|
320
|
+
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
|
|
307
321
|
*
|
|
308
|
-
*
|
|
322
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
309
323
|
*
|
|
310
324
|
* @example
|
|
311
325
|
* aliyun.com192.XX.YY.55test
|
|
@@ -313,7 +327,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
313
327
|
nodeNameMode?: string;
|
|
314
328
|
/**
|
|
315
329
|
* @remarks
|
|
316
|
-
*
|
|
330
|
+
* The node pool pre-custom data, which is a script that runs before node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
317
331
|
*
|
|
318
332
|
* @example
|
|
319
333
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD
|
|
@@ -324,8 +338,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
324
338
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
325
339
|
*
|
|
326
340
|
* - containerd: recommended. Supports all cluster versions.
|
|
327
|
-
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports
|
|
328
|
-
* - docker: no longer maintained. Supports
|
|
341
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
342
|
+
* - docker: no longer maintained. Supports cluster versions 1.22 and earlier.
|
|
329
343
|
*
|
|
330
344
|
* @example
|
|
331
345
|
* containerd
|
|
@@ -341,16 +355,16 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
341
355
|
runtimeVersion?: string;
|
|
342
356
|
/**
|
|
343
357
|
* @remarks
|
|
344
|
-
* The node taint information. Taints and tolerations work together to prevent
|
|
358
|
+
* The node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
345
359
|
*/
|
|
346
360
|
taints?: Taint[];
|
|
347
361
|
/**
|
|
348
362
|
* @remarks
|
|
349
|
-
* Specifies whether
|
|
363
|
+
* Specifies whether scaled-out nodes are unschedulable.
|
|
350
364
|
*
|
|
351
|
-
* - true:
|
|
365
|
+
* - true: unschedulable.
|
|
352
366
|
*
|
|
353
|
-
* - false:
|
|
367
|
+
* - false: schedulable.
|
|
354
368
|
*
|
|
355
369
|
* @example
|
|
356
370
|
* true
|
|
@@ -358,7 +372,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
358
372
|
unschedulable?: boolean;
|
|
359
373
|
/**
|
|
360
374
|
* @remarks
|
|
361
|
-
* The custom data
|
|
375
|
+
* The node pool custom data, which is a script that runs after node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
362
376
|
*
|
|
363
377
|
* @example
|
|
364
378
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -412,7 +426,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
412
426
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
|
|
413
427
|
/**
|
|
414
428
|
* @remarks
|
|
415
|
-
*
|
|
429
|
+
* Indicates whether manual approval is required for node repair.
|
|
416
430
|
*
|
|
417
431
|
* @example
|
|
418
432
|
* false
|
|
@@ -428,10 +442,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
428
442
|
autoRepairPolicyId?: string;
|
|
429
443
|
/**
|
|
430
444
|
* @remarks
|
|
431
|
-
* Specifies whether
|
|
445
|
+
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_repair=true`.
|
|
432
446
|
*
|
|
433
|
-
* - `true`: Allow node
|
|
434
|
-
* - `false`: Do not allow node
|
|
447
|
+
* - `true`: Allow node restart.
|
|
448
|
+
* - `false`: Do not allow node restart.
|
|
435
449
|
*
|
|
436
450
|
* @example
|
|
437
451
|
* true
|
|
@@ -465,9 +479,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
465
479
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
466
480
|
/**
|
|
467
481
|
* @remarks
|
|
468
|
-
* Specifies whether
|
|
469
|
-
* - `true`: Allow automatic kubelet
|
|
470
|
-
* - `false`: Do not allow automatic kubelet
|
|
482
|
+
* Specifies whether automatic kubelet upgrade is allowed. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
483
|
+
* - `true`: Allow automatic kubelet upgrade.
|
|
484
|
+
* - `false`: Do not allow automatic kubelet upgrade.
|
|
471
485
|
*
|
|
472
486
|
* @example
|
|
473
487
|
* true
|
|
@@ -497,7 +511,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradeP
|
|
|
497
511
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $dara.Model {
|
|
498
512
|
/**
|
|
499
513
|
* @remarks
|
|
500
|
-
* The packages
|
|
514
|
+
* The packages to exclude during vulnerability fix.
|
|
501
515
|
*
|
|
502
516
|
* @example
|
|
503
517
|
* kernel
|
|
@@ -505,9 +519,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
505
519
|
excludePackages?: string;
|
|
506
520
|
/**
|
|
507
521
|
* @remarks
|
|
508
|
-
* Specifies whether
|
|
509
|
-
* - `true`: Allow node
|
|
510
|
-
* - `false`: Do not allow node
|
|
522
|
+
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
523
|
+
* - `true`: Allow node restart.
|
|
524
|
+
* - `false`: Do not allow node restart.
|
|
511
525
|
*
|
|
512
526
|
* @example
|
|
513
527
|
* true
|
|
@@ -515,11 +529,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
515
529
|
restartNode?: boolean;
|
|
516
530
|
/**
|
|
517
531
|
* @remarks
|
|
518
|
-
* The vulnerability levels
|
|
532
|
+
* The vulnerability levels allowed for automatic fix, separated by commas.
|
|
519
533
|
*
|
|
520
534
|
* - `asap`: high
|
|
521
535
|
* - `later`: medium
|
|
522
|
-
* - `nntf`: low
|
|
536
|
+
* - `nntf`: low
|
|
523
537
|
*
|
|
524
538
|
* @example
|
|
525
539
|
* asap,nntf
|
|
@@ -553,10 +567,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
553
567
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
|
|
554
568
|
/**
|
|
555
569
|
* @remarks
|
|
556
|
-
* Specifies whether to enable
|
|
570
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
557
571
|
*
|
|
558
|
-
* - `true`: Enable
|
|
559
|
-
* - `false`: Disable
|
|
572
|
+
* - `true`: Enable auto upgrade.
|
|
573
|
+
* - `false`: Disable auto upgrade.
|
|
560
574
|
*
|
|
561
575
|
* @example
|
|
562
576
|
* true
|
|
@@ -574,7 +588,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
574
588
|
maxUnavailable?: number;
|
|
575
589
|
/**
|
|
576
590
|
* @remarks
|
|
577
|
-
* The number of extra nodes.
|
|
591
|
+
* The number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
578
592
|
*
|
|
579
593
|
* @example
|
|
580
594
|
* 5
|
|
@@ -582,9 +596,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
582
596
|
surge?: number;
|
|
583
597
|
/**
|
|
584
598
|
* @remarks
|
|
585
|
-
* The percentage of extra nodes.
|
|
599
|
+
* The percentage of extra nodes. Mutually exclusive with `surge`.
|
|
586
600
|
*
|
|
587
|
-
*
|
|
601
|
+
* Extra nodes = extra node percentage × number of nodes. For example, if the extra node percentage is 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
588
602
|
*
|
|
589
603
|
* @example
|
|
590
604
|
* 50
|
|
@@ -618,6 +632,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
618
632
|
}
|
|
619
633
|
|
|
620
634
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Model {
|
|
635
|
+
/**
|
|
636
|
+
* @remarks
|
|
637
|
+
* Indicates whether ECS fault detection for node self-healing is enabled.
|
|
638
|
+
*/
|
|
621
639
|
autoFaultDiagnosis?: boolean;
|
|
622
640
|
/**
|
|
623
641
|
* @remarks
|
|
@@ -632,14 +650,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
632
650
|
autoRepair?: boolean;
|
|
633
651
|
/**
|
|
634
652
|
* @remarks
|
|
635
|
-
* The auto repair policy
|
|
653
|
+
* The auto repair node policy.
|
|
636
654
|
*/
|
|
637
655
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
638
656
|
/**
|
|
639
657
|
* @remarks
|
|
640
|
-
* Specifies whether to enable automatic node
|
|
641
|
-
* - `true`: Enable
|
|
642
|
-
* - `false`: Disable
|
|
658
|
+
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
659
|
+
* - `true`: Enable auto upgrade.
|
|
660
|
+
* - `false`: Disable auto upgrade.
|
|
643
661
|
*
|
|
644
662
|
* @example
|
|
645
663
|
* true
|
|
@@ -647,15 +665,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
647
665
|
autoUpgrade?: boolean;
|
|
648
666
|
/**
|
|
649
667
|
* @remarks
|
|
650
|
-
* The
|
|
668
|
+
* The auto upgrade policy.
|
|
651
669
|
*/
|
|
652
670
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
653
671
|
/**
|
|
654
672
|
* @remarks
|
|
655
|
-
* Specifies whether to enable automatic CVE
|
|
673
|
+
* Specifies whether to enable automatic CVE fix. This parameter takes effect only when `enable=true`.
|
|
656
674
|
*
|
|
657
|
-
* - `true`: Enable automatic CVE
|
|
658
|
-
* - `false`: Disable automatic CVE
|
|
675
|
+
* - `true`: Enable automatic CVE fix.
|
|
676
|
+
* - `false`: Disable automatic CVE fix.
|
|
659
677
|
*
|
|
660
678
|
* @example
|
|
661
679
|
* true
|
|
@@ -663,9 +681,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
663
681
|
autoVulFix?: boolean;
|
|
664
682
|
/**
|
|
665
683
|
* @remarks
|
|
666
|
-
* The automatic CVE
|
|
684
|
+
* The automatic CVE fix policy.
|
|
667
685
|
*/
|
|
668
686
|
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
687
|
+
driftEnabled?: boolean;
|
|
669
688
|
/**
|
|
670
689
|
* @remarks
|
|
671
690
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
@@ -679,7 +698,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
679
698
|
enable?: boolean;
|
|
680
699
|
/**
|
|
681
700
|
* @remarks
|
|
682
|
-
* The
|
|
701
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
683
702
|
*/
|
|
684
703
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
685
704
|
static names(): { [key: string]: string } {
|
|
@@ -691,6 +710,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
691
710
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
692
711
|
autoVulFix: 'auto_vul_fix',
|
|
693
712
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
713
|
+
driftEnabled: 'drift_enabled',
|
|
694
714
|
enable: 'enable',
|
|
695
715
|
upgradeConfig: 'upgrade_config',
|
|
696
716
|
};
|
|
@@ -705,6 +725,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
705
725
|
autoUpgradePolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy,
|
|
706
726
|
autoVulFix: 'boolean',
|
|
707
727
|
autoVulFixPolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy,
|
|
728
|
+
driftEnabled: 'boolean',
|
|
708
729
|
enable: 'boolean',
|
|
709
730
|
upgradeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig,
|
|
710
731
|
};
|
|
@@ -734,7 +755,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
734
755
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
735
756
|
/**
|
|
736
757
|
* @remarks
|
|
737
|
-
*
|
|
758
|
+
* The custom configuration of the node component.
|
|
738
759
|
*
|
|
739
760
|
* @example
|
|
740
761
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -767,12 +788,20 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig e
|
|
|
767
788
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends $dara.Model {
|
|
768
789
|
/**
|
|
769
790
|
* @remarks
|
|
770
|
-
*
|
|
791
|
+
* The node component configuration.
|
|
771
792
|
*/
|
|
772
793
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
773
794
|
/**
|
|
774
795
|
* @remarks
|
|
775
|
-
*
|
|
796
|
+
* The custom configuration revision number of the node component.
|
|
797
|
+
*
|
|
798
|
+
* @example
|
|
799
|
+
* 1
|
|
800
|
+
*/
|
|
801
|
+
configRevision?: string;
|
|
802
|
+
/**
|
|
803
|
+
* @remarks
|
|
804
|
+
* The node component name.
|
|
776
805
|
*
|
|
777
806
|
* @example
|
|
778
807
|
* kubelet
|
|
@@ -780,7 +809,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
780
809
|
name?: string;
|
|
781
810
|
/**
|
|
782
811
|
* @remarks
|
|
783
|
-
*
|
|
812
|
+
* The node component version.
|
|
784
813
|
*
|
|
785
814
|
* @example
|
|
786
815
|
* 1.33.3-aliyun.1
|
|
@@ -789,6 +818,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
789
818
|
static names(): { [key: string]: string } {
|
|
790
819
|
return {
|
|
791
820
|
config: 'config',
|
|
821
|
+
configRevision: 'config_revision',
|
|
792
822
|
name: 'name',
|
|
793
823
|
version: 'version',
|
|
794
824
|
};
|
|
@@ -797,6 +827,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
797
827
|
static types(): { [key: string]: any } {
|
|
798
828
|
return {
|
|
799
829
|
config: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig,
|
|
830
|
+
configRevision: 'string',
|
|
800
831
|
name: 'string',
|
|
801
832
|
version: 'string',
|
|
802
833
|
};
|
|
@@ -895,10 +926,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
895
926
|
created?: string;
|
|
896
927
|
/**
|
|
897
928
|
* @remarks
|
|
898
|
-
* Indicates whether this is the default node pool.
|
|
929
|
+
* Indicates whether this is the default node pool. A cluster typically has only one default node pool. Valid values:
|
|
899
930
|
*
|
|
900
|
-
* - `true`:
|
|
901
|
-
* - `false`:
|
|
931
|
+
* - `true`: Default node pool.
|
|
932
|
+
* - `false`: Non-default node pool.
|
|
902
933
|
*
|
|
903
934
|
* @example
|
|
904
935
|
* true
|
|
@@ -940,7 +971,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
940
971
|
* @remarks
|
|
941
972
|
* The node pool type. Valid values:
|
|
942
973
|
*
|
|
943
|
-
* - `ess`: standard node pool (includes managed and elastic scaling
|
|
974
|
+
* - `ess`: standard node pool (includes managed features and elastic scaling).
|
|
944
975
|
* - `edge`: edge node pool.
|
|
945
976
|
* - `lingjun`: Lingjun node pool.
|
|
946
977
|
*
|
|
@@ -994,7 +1025,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
994
1025
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
995
1026
|
/**
|
|
996
1027
|
* @remarks
|
|
997
|
-
* The private pool ID, which is the elasticity assurance
|
|
1028
|
+
* The private pool ID, which is the ID of the elasticity assurance or capacity reservation.
|
|
998
1029
|
*
|
|
999
1030
|
* @example
|
|
1000
1031
|
* eap-bp67acfmxazb4****
|
|
@@ -1002,13 +1033,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoo
|
|
|
1002
1033
|
id?: string;
|
|
1003
1034
|
/**
|
|
1004
1035
|
* @remarks
|
|
1005
|
-
* The private pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for
|
|
1036
|
+
* The private node pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to select during launch. Valid values:
|
|
1006
1037
|
*
|
|
1007
|
-
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for
|
|
1038
|
+
* - `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.
|
|
1008
1039
|
*
|
|
1009
|
-
* - `Target`:
|
|
1040
|
+
* - `Target`: specified mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.
|
|
1010
1041
|
*
|
|
1011
|
-
* - `None`:
|
|
1042
|
+
* - `None`: not used mode. Instance launch does not use private pool capacity.
|
|
1012
1043
|
*
|
|
1013
1044
|
* @example
|
|
1014
1045
|
* Open
|
|
@@ -1045,7 +1076,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePo
|
|
|
1045
1076
|
privatePoolIds?: string[];
|
|
1046
1077
|
/**
|
|
1047
1078
|
* @remarks
|
|
1048
|
-
* The resource pool policy used
|
|
1079
|
+
* The resource pool policy used when creating instances. Valid values:
|
|
1049
1080
|
* PrivatePoolFirst: private pool first.
|
|
1050
1081
|
* PrivatePoolOnly: private pool only.
|
|
1051
1082
|
* None: no resource pool policy.
|
|
@@ -1091,11 +1122,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
|
|
|
1091
1122
|
instanceType?: string;
|
|
1092
1123
|
/**
|
|
1093
1124
|
* @remarks
|
|
1094
|
-
* The price
|
|
1125
|
+
* The market price range per instance.
|
|
1095
1126
|
*
|
|
1096
1127
|
* <props="china">Unit: CNY/hour.
|
|
1097
1128
|
*
|
|
1098
|
-
* <props="intl">Unit: USD/hour
|
|
1129
|
+
* <props="intl">Unit: USD/hour.
|
|
1099
1130
|
*
|
|
1100
1131
|
* @example
|
|
1101
1132
|
* 0.39
|
|
@@ -1127,7 +1158,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
|
|
|
1127
1158
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $dara.Model {
|
|
1128
1159
|
/**
|
|
1129
1160
|
* @remarks
|
|
1130
|
-
* Specifies whether
|
|
1161
|
+
* Specifies whether auto-renewal is enabled for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1131
1162
|
*
|
|
1132
1163
|
* - `true`: Enable auto-renewal.
|
|
1133
1164
|
* - `false`: Disable auto-renewal.
|
|
@@ -1160,10 +1191,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1160
1191
|
cisEnabled?: boolean;
|
|
1161
1192
|
/**
|
|
1162
1193
|
* @remarks
|
|
1163
|
-
*
|
|
1194
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
1164
1195
|
*
|
|
1165
|
-
* - `true`:
|
|
1166
|
-
* - `false`:
|
|
1196
|
+
* - `true`: Allowed.
|
|
1197
|
+
* - `false`: Not allowed.
|
|
1167
1198
|
*
|
|
1168
1199
|
* @example
|
|
1169
1200
|
* true
|
|
@@ -1171,7 +1202,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1171
1202
|
compensateWithOnDemand?: boolean;
|
|
1172
1203
|
/**
|
|
1173
1204
|
* @remarks
|
|
1174
|
-
* The
|
|
1205
|
+
* The combination of data cloud disk type, size, and other configurations for nodes.
|
|
1175
1206
|
*/
|
|
1176
1207
|
dataDisks?: DataDisk[];
|
|
1177
1208
|
/**
|
|
@@ -1205,7 +1236,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1205
1236
|
imageId?: string;
|
|
1206
1237
|
/**
|
|
1207
1238
|
* @remarks
|
|
1208
|
-
* The operating system image type.
|
|
1239
|
+
* The operating system image type.
|
|
1209
1240
|
* - `AliyunLinux`: Alinux2 image.
|
|
1210
1241
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1211
1242
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -1223,7 +1254,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1223
1254
|
imageType?: string;
|
|
1224
1255
|
/**
|
|
1225
1256
|
* @remarks
|
|
1226
|
-
* The billing
|
|
1257
|
+
* The billing type of nodes in the node pool. Valid values:
|
|
1227
1258
|
*
|
|
1228
1259
|
* - `PrePaid`: subscription.
|
|
1229
1260
|
* - `PostPaid`: pay-as-you-go.
|
|
@@ -1249,8 +1280,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1249
1280
|
* @remarks
|
|
1250
1281
|
* The billing method for the public IP address of nodes.
|
|
1251
1282
|
*
|
|
1252
|
-
* - PayByBandwidth:
|
|
1253
|
-
* - PayByTraffic: pay-by-traffic.
|
|
1283
|
+
* - PayByBandwidth: billed on a fixed bandwidth basis.
|
|
1284
|
+
* - PayByTraffic: billed on a pay-by-traffic basis.
|
|
1254
1285
|
*
|
|
1255
1286
|
* @example
|
|
1256
1287
|
* PayByBandwidth
|
|
@@ -1258,7 +1289,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1258
1289
|
internetChargeType?: string;
|
|
1259
1290
|
/**
|
|
1260
1291
|
* @remarks
|
|
1261
|
-
* The maximum outbound bandwidth for the public IP address of nodes
|
|
1292
|
+
* The maximum outbound bandwidth for the public IP address of nodes, in Mbps (Mega bit per second). Valid values: 1 to 100.
|
|
1262
1293
|
*
|
|
1263
1294
|
* @example
|
|
1264
1295
|
* 10
|
|
@@ -1266,7 +1297,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1266
1297
|
internetMaxBandwidthOut?: number;
|
|
1267
1298
|
/**
|
|
1268
1299
|
* @remarks
|
|
1269
|
-
* The key pair name.
|
|
1300
|
+
* The key pair name. Mutually exclusive with `login_password`.
|
|
1270
1301
|
*
|
|
1271
1302
|
* For managed node pools, only `key_pair` is supported.
|
|
1272
1303
|
*
|
|
@@ -1276,11 +1307,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1276
1307
|
keyPair?: string;
|
|
1277
1308
|
/**
|
|
1278
1309
|
* @remarks
|
|
1279
|
-
* Specifies whether
|
|
1310
|
+
* Specifies whether scaled-out ECS instances use non-root user login.
|
|
1280
1311
|
*
|
|
1281
1312
|
* - true: Log on as a non-root user (ecs-user).
|
|
1282
1313
|
*
|
|
1283
1314
|
* - false: Log on as the root user.
|
|
1315
|
+
* [_single.resp.200.props.nodepools.items.scaling_
|
|
1284
1316
|
*
|
|
1285
1317
|
* @example
|
|
1286
1318
|
* true
|
|
@@ -1288,9 +1320,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1288
1320
|
loginAsNonRoot?: boolean;
|
|
1289
1321
|
/**
|
|
1290
1322
|
* @remarks
|
|
1291
|
-
* The SSH
|
|
1323
|
+
* The SSH login password. Mutually exclusive with `key_pair`. Logon password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1292
1324
|
*
|
|
1293
|
-
* For security purposes,
|
|
1325
|
+
* For security purposes, logon password is encrypted in query results.
|
|
1294
1326
|
*
|
|
1295
1327
|
* @example
|
|
1296
1328
|
* ******
|
|
@@ -1300,13 +1332,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1300
1332
|
* @remarks
|
|
1301
1333
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1302
1334
|
*
|
|
1303
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of
|
|
1335
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1304
1336
|
*
|
|
1305
|
-
* - `COST_OPTIMIZED`:
|
|
1337
|
+
* - `COST_OPTIMIZED`: Creates instances based on the unit price of vCPUs, from low to high. When the scaling configuration settings specify multiple instance types with preemptible billing methods, 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.
|
|
1306
1338
|
*
|
|
1307
|
-
* >`COST_OPTIMIZED` takes effect only when multiple instance types are
|
|
1339
|
+
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
|
|
1308
1340
|
*
|
|
1309
|
-
* - `BALANCE`:
|
|
1341
|
+
* - `BALANCE`: Distributes ECS instances evenly across the active zones specified for the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to allocate resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1310
1342
|
*
|
|
1311
1343
|
* @example
|
|
1312
1344
|
* COST_OPTIMIZED
|
|
@@ -1314,7 +1346,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1314
1346
|
multiAzPolicy?: string;
|
|
1315
1347
|
/**
|
|
1316
1348
|
* @remarks
|
|
1317
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\].
|
|
1349
|
+
* The minimum number of pay-as-you-go instances required in 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.
|
|
1318
1350
|
*
|
|
1319
1351
|
* @example
|
|
1320
1352
|
* 0
|
|
@@ -1322,7 +1354,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1322
1354
|
onDemandBaseCapacity?: number;
|
|
1323
1355
|
/**
|
|
1324
1356
|
* @remarks
|
|
1325
|
-
* The percentage of pay-as-you-go instances among the instances that exceed the minimum pay-as-you-go
|
|
1357
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
1326
1358
|
*
|
|
1327
1359
|
* @example
|
|
1328
1360
|
* 20
|
|
@@ -1341,10 +1373,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1341
1373
|
period?: number;
|
|
1342
1374
|
/**
|
|
1343
1375
|
* @remarks
|
|
1344
|
-
* The
|
|
1376
|
+
* The subscription period unit. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1345
1377
|
*
|
|
1346
|
-
* - `Month`:
|
|
1347
|
-
* - `Week`:
|
|
1378
|
+
* - `Month`: month.
|
|
1379
|
+
* - `Week`: week.
|
|
1348
1380
|
*
|
|
1349
1381
|
* @example
|
|
1350
1382
|
* Month
|
|
@@ -1359,7 +1391,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1359
1391
|
* - `CentOS`
|
|
1360
1392
|
* - `AliyunLinux`
|
|
1361
1393
|
* - `Windows`
|
|
1362
|
-
* - `WindowsCore
|
|
1394
|
+
* - `WindowsCore`
|
|
1363
1395
|
*
|
|
1364
1396
|
* @example
|
|
1365
1397
|
* AliyunLinux
|
|
@@ -1388,12 +1420,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1388
1420
|
ramRoleName?: string;
|
|
1389
1421
|
/**
|
|
1390
1422
|
* @remarks
|
|
1391
|
-
*
|
|
1423
|
+
* If RDS instances are specified, the ECS instances in the cluster node are automatically added to the whitelist of the RDS instances.
|
|
1392
1424
|
*/
|
|
1393
1425
|
rdsInstances?: string[];
|
|
1394
1426
|
/**
|
|
1395
1427
|
* @remarks
|
|
1396
|
-
* The resource pool and resource pool policy used
|
|
1428
|
+
* The resource pool and resource pool policy used when creating instances.
|
|
1397
1429
|
*/
|
|
1398
1430
|
resourcePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePoolOptions;
|
|
1399
1431
|
/**
|
|
@@ -1409,7 +1441,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1409
1441
|
* The scaling group mode. Valid values:
|
|
1410
1442
|
*
|
|
1411
1443
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1412
|
-
* - `recycle`:
|
|
1444
|
+
* - `recycle`: swift mode. Scales by creating, stopping, and starting ECS instances, which improves the speed of subsequent scaling operations. Compute resources are not charged during the stop period. Only storage fees are charged, except for instances with local disks.
|
|
1413
1445
|
*
|
|
1414
1446
|
* @example
|
|
1415
1447
|
* release
|
|
@@ -1434,8 +1466,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1434
1466
|
* @remarks
|
|
1435
1467
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1436
1468
|
*
|
|
1437
|
-
* - `true`:
|
|
1438
|
-
* - `false`:
|
|
1469
|
+
* - `true`: Enabled.
|
|
1470
|
+
* - `false`: Disabled.
|
|
1439
1471
|
*
|
|
1440
1472
|
* Default value: `false`.
|
|
1441
1473
|
*
|
|
@@ -1445,7 +1477,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1445
1477
|
securityHardeningOs?: boolean;
|
|
1446
1478
|
/**
|
|
1447
1479
|
* @remarks
|
|
1448
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1480
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs for classified protection compliance for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1449
1481
|
*
|
|
1450
1482
|
* @example
|
|
1451
1483
|
* false
|
|
@@ -1453,7 +1485,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1453
1485
|
socEnabled?: boolean;
|
|
1454
1486
|
/**
|
|
1455
1487
|
* @remarks
|
|
1456
|
-
* The number of
|
|
1488
|
+
* The number of active instance types. The scaling group creates spot instances across multiple types with the lowest cost. Valid values: [1,10\\].
|
|
1457
1489
|
*
|
|
1458
1490
|
* @example
|
|
1459
1491
|
* 5
|
|
@@ -1461,10 +1493,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1461
1493
|
spotInstancePools?: number;
|
|
1462
1494
|
/**
|
|
1463
1495
|
* @remarks
|
|
1464
|
-
* Specifies whether to enable
|
|
1496
|
+
* Specifies whether to enable supplementing of spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1465
1497
|
*
|
|
1466
|
-
* - `true`:
|
|
1467
|
-
* - `false`:
|
|
1498
|
+
* - `true`: Enabled.
|
|
1499
|
+
* - `false`: Disabled.
|
|
1468
1500
|
*
|
|
1469
1501
|
* @example
|
|
1470
1502
|
* false
|
|
@@ -1472,7 +1504,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1472
1504
|
spotInstanceRemedy?: boolean;
|
|
1473
1505
|
/**
|
|
1474
1506
|
* @remarks
|
|
1475
|
-
* The
|
|
1507
|
+
* The spot instance market price range configuration.
|
|
1476
1508
|
*/
|
|
1477
1509
|
spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
|
|
1478
1510
|
/**
|
|
@@ -1490,9 +1522,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1490
1522
|
spotStrategy?: string;
|
|
1491
1523
|
/**
|
|
1492
1524
|
* @remarks
|
|
1493
|
-
* Specifies whether
|
|
1494
|
-
* - true:
|
|
1495
|
-
* - false:
|
|
1525
|
+
* Specifies whether burst (performance burst) is enabled for the node system cloud disk. Valid values:
|
|
1526
|
+
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure until the workload stabilizes.
|
|
1527
|
+
* - false: Disabled.
|
|
1496
1528
|
*
|
|
1497
1529
|
* 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).
|
|
1498
1530
|
*
|
|
@@ -1502,12 +1534,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1502
1534
|
systemDiskBurstingEnabled?: boolean;
|
|
1503
1535
|
/**
|
|
1504
1536
|
* @remarks
|
|
1505
|
-
* The
|
|
1537
|
+
* The multiple system cloud disk types. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk.
|
|
1506
1538
|
*/
|
|
1507
1539
|
systemDiskCategories?: string[];
|
|
1508
1540
|
/**
|
|
1509
1541
|
* @remarks
|
|
1510
|
-
* The system cloud disk type
|
|
1542
|
+
* The node system cloud disk type. Valid values:
|
|
1511
1543
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1512
1544
|
* - `cloud_ssd`: standard SSD.
|
|
1513
1545
|
* - `cloud_essd`: ESSD.
|
|
@@ -1528,10 +1560,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1528
1560
|
systemDiskEncryptAlgorithm?: string;
|
|
1529
1561
|
/**
|
|
1530
1562
|
* @remarks
|
|
1531
|
-
* Specifies whether
|
|
1563
|
+
* Specifies whether the system cloud disk is encrypted. Valid values:
|
|
1532
1564
|
*
|
|
1533
|
-
* - true:
|
|
1534
|
-
* - false:
|
|
1565
|
+
* - true: Encrypted.
|
|
1566
|
+
* - false: Not encrypted.
|
|
1535
1567
|
*
|
|
1536
1568
|
* @example
|
|
1537
1569
|
* false
|
|
@@ -1547,7 +1579,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1547
1579
|
systemDiskKmsKeyId?: string;
|
|
1548
1580
|
/**
|
|
1549
1581
|
* @remarks
|
|
1550
|
-
* The performance level of the system cloud disk. This parameter takes effect only for ESSD
|
|
1582
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1551
1583
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1552
1584
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1553
1585
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1559,7 +1591,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1559
1591
|
systemDiskPerformanceLevel?: string;
|
|
1560
1592
|
/**
|
|
1561
1593
|
* @remarks
|
|
1562
|
-
* The provisioned read/write IOPS for the system cloud disk. This parameter is configured when the disk type is cloud_auto.
|
|
1594
|
+
* The provisioned read/write IOPS for the node system cloud disk. This parameter is configured when the disk type is cloud_auto.
|
|
1563
1595
|
*
|
|
1564
1596
|
* @example
|
|
1565
1597
|
* 1000
|
|
@@ -1567,7 +1599,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1567
1599
|
systemDiskProvisionedIops?: number;
|
|
1568
1600
|
/**
|
|
1569
1601
|
* @remarks
|
|
1570
|
-
* The system cloud disk size
|
|
1602
|
+
* The node system cloud disk size, in GiB.
|
|
1571
1603
|
*
|
|
1572
1604
|
* Valid values: [20,2048\\].
|
|
1573
1605
|
*
|
|
@@ -1577,7 +1609,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1577
1609
|
systemDiskSize?: number;
|
|
1578
1610
|
/**
|
|
1579
1611
|
* @remarks
|
|
1580
|
-
* The
|
|
1612
|
+
* The system cloud disk snapshot policy.
|
|
1581
1613
|
*
|
|
1582
1614
|
* @example
|
|
1583
1615
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1753,7 +1785,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1753
1785
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.Model {
|
|
1754
1786
|
/**
|
|
1755
1787
|
* @remarks
|
|
1756
|
-
* The number of failed
|
|
1788
|
+
* The number of failed instances.
|
|
1757
1789
|
*
|
|
1758
1790
|
* @example
|
|
1759
1791
|
* 0
|
|
@@ -1761,7 +1793,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1761
1793
|
failedNodes?: number;
|
|
1762
1794
|
/**
|
|
1763
1795
|
* @remarks
|
|
1764
|
-
* The number of healthy
|
|
1796
|
+
* The number of healthy instances.
|
|
1765
1797
|
*
|
|
1766
1798
|
* @example
|
|
1767
1799
|
* 3
|
|
@@ -1769,7 +1801,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1769
1801
|
healthyNodes?: number;
|
|
1770
1802
|
/**
|
|
1771
1803
|
* @remarks
|
|
1772
|
-
* The number of nodes
|
|
1804
|
+
* The number of nodes being created.
|
|
1773
1805
|
*
|
|
1774
1806
|
* @example
|
|
1775
1807
|
* 0
|
|
@@ -1785,7 +1817,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1785
1817
|
offlineNodes?: number;
|
|
1786
1818
|
/**
|
|
1787
1819
|
* @remarks
|
|
1788
|
-
* The number of nodes
|
|
1820
|
+
* The number of nodes being removed.
|
|
1789
1821
|
*
|
|
1790
1822
|
* @example
|
|
1791
1823
|
* 0
|
|
@@ -1803,11 +1835,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1803
1835
|
* @remarks
|
|
1804
1836
|
* The node pool state. Valid values:
|
|
1805
1837
|
*
|
|
1806
|
-
* - `active`:
|
|
1807
|
-
* - `scaling`:
|
|
1808
|
-
* - `removing`:
|
|
1809
|
-
* - `deleting`:
|
|
1810
|
-
* - `updating`:
|
|
1838
|
+
* - `active`: Active.
|
|
1839
|
+
* - `scaling`: Scaling.
|
|
1840
|
+
* - `removing`: Removing nodes.
|
|
1841
|
+
* - `deleting`: Deleting.
|
|
1842
|
+
* - `updating`: Updating.
|
|
1811
1843
|
*
|
|
1812
1844
|
* @example
|
|
1813
1845
|
* active
|
|
@@ -1859,10 +1891,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1859
1891
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig extends $dara.Model {
|
|
1860
1892
|
/**
|
|
1861
1893
|
* @remarks
|
|
1862
|
-
*
|
|
1894
|
+
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1863
1895
|
*
|
|
1864
|
-
* - `true
|
|
1865
|
-
* - `false
|
|
1896
|
+
* - `true`: Enabled.
|
|
1897
|
+
* - `false`: Disabled.
|
|
1866
1898
|
*
|
|
1867
1899
|
* @example
|
|
1868
1900
|
* false
|
|
@@ -1892,7 +1924,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig extends $dar
|
|
|
1892
1924
|
export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
1893
1925
|
/**
|
|
1894
1926
|
* @remarks
|
|
1895
|
-
*
|
|
1927
|
+
* The intelligent managed configuration.
|
|
1896
1928
|
*/
|
|
1897
1929
|
autoMode?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode;
|
|
1898
1930
|
/**
|
|
@@ -1902,22 +1934,22 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1902
1934
|
autoScaling?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling;
|
|
1903
1935
|
/**
|
|
1904
1936
|
* @remarks
|
|
1905
|
-
*
|
|
1937
|
+
* The Lingjun node group information.
|
|
1906
1938
|
*/
|
|
1907
1939
|
efloNodeGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup;
|
|
1908
1940
|
/**
|
|
1909
1941
|
* @remarks
|
|
1910
|
-
*
|
|
1942
|
+
* [This field is deprecated]
|
|
1911
1943
|
*
|
|
1912
|
-
*
|
|
1944
|
+
* The network configuration for edge node pools. This value is meaningful only for edge-type node pools.
|
|
1913
1945
|
*/
|
|
1914
1946
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
1915
1947
|
/**
|
|
1916
1948
|
* @remarks
|
|
1917
|
-
*
|
|
1949
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
1918
1950
|
*
|
|
1919
|
-
* - `basic
|
|
1920
|
-
* - `private
|
|
1951
|
+
* - `basic`: public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
1952
|
+
* - `private`: private network. Nodes in cloud node pool connect to the cloud through leased lines, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1921
1953
|
*
|
|
1922
1954
|
* @example
|
|
1923
1955
|
* basic
|
|
@@ -1935,7 +1967,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1935
1967
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
1936
1968
|
/**
|
|
1937
1969
|
* @remarks
|
|
1938
|
-
*
|
|
1970
|
+
* The maximum number of nodes allowed in the edge node pool. This value must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the total number of nodes the cluster can contain, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0.
|
|
1939
1971
|
*
|
|
1940
1972
|
* @example
|
|
1941
1973
|
* 10
|
|
@@ -1943,7 +1975,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1943
1975
|
maxNodes?: number;
|
|
1944
1976
|
/**
|
|
1945
1977
|
* @remarks
|
|
1946
|
-
*
|
|
1978
|
+
* The list of node components.
|
|
1947
1979
|
*/
|
|
1948
1980
|
nodeComponents?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents[];
|
|
1949
1981
|
/**
|
|
@@ -1968,7 +2000,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1968
2000
|
status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
|
|
1969
2001
|
/**
|
|
1970
2002
|
* @remarks
|
|
1971
|
-
*
|
|
2003
|
+
* The confidential computing configuration.
|
|
1972
2004
|
*/
|
|
1973
2005
|
teeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig;
|
|
1974
2006
|
static names(): { [key: string]: string } {
|