@alicloud/cs20151215 7.0.2 → 7.0.4
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 +50 -28
- package/dist/client.js +53 -28
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +119 -91
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/Nodepool.d.ts +266 -220
- package/dist/models/Nodepool.js +31 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +54 -28
- package/src/models/CreateClusterNodePoolRequest.ts +155 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +140 -91
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
- package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +287 -220
- package/src/models/model.ts +7 -0
|
@@ -65,9 +65,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
65
65
|
* @remarks
|
|
66
66
|
* Specifies whether auto scaling is enabled. Valid values:
|
|
67
67
|
*
|
|
68
|
-
* - `true`: Enables the
|
|
68
|
+
* - `true`: Enables the node pool automatic scaling feature. When the cluster capacity planning cannot meet application 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 of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
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
72
|
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
73
73
|
*
|
|
@@ -77,10 +77,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
77
77
|
enable?: boolean;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* Specifies whether an EIP
|
|
80
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
81
81
|
*
|
|
82
|
-
* - `true`:
|
|
83
|
-
* - `false`:
|
|
82
|
+
* - `true`: Associate an EIP.
|
|
83
|
+
* - `false`: Do not associate an EIP.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
86
|
* 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
|
|
@@ -108,7 +108,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
108
108
|
*
|
|
109
109
|
* - `cpu`: regular instance type.
|
|
110
110
|
* - `gpu`: GPU instance type.
|
|
111
|
-
* - `gpushare`: GPU
|
|
111
|
+
* - `gpushare`: GPU sharing type.
|
|
112
112
|
* - `spot`: spot instance type.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
@@ -149,6 +149,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends $dara.Model {
|
|
152
|
+
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* Specifies whether to enable automatic node addition for the Lingjun node pool (not effective).
|
|
155
|
+
*/
|
|
152
156
|
autoAttachEnabled?: boolean;
|
|
153
157
|
/**
|
|
154
158
|
* @remarks
|
|
@@ -166,6 +170,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
166
170
|
* i128147721760688002463
|
|
167
171
|
*/
|
|
168
172
|
groupId?: string;
|
|
173
|
+
/**
|
|
174
|
+
* @remarks
|
|
175
|
+
* The worker RAM role used by the Lingjun node pool.
|
|
176
|
+
*/
|
|
169
177
|
workerRamRoleName?: string;
|
|
170
178
|
static names(): { [key: string]: string } {
|
|
171
179
|
return {
|
|
@@ -197,9 +205,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
197
205
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig extends $dara.Model {
|
|
198
206
|
/**
|
|
199
207
|
* @remarks
|
|
200
|
-
* [
|
|
208
|
+
* [Deprecated]
|
|
201
209
|
*
|
|
202
|
-
* The network bandwidth of the enhanced edge node pool
|
|
210
|
+
* The network bandwidth of the enhanced edge node pool, in Mbps.
|
|
203
211
|
*
|
|
204
212
|
* @example
|
|
205
213
|
* 10
|
|
@@ -207,7 +215,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
207
215
|
bandwidth?: number;
|
|
208
216
|
/**
|
|
209
217
|
* @remarks
|
|
210
|
-
* [
|
|
218
|
+
* [Deprecated]
|
|
211
219
|
*
|
|
212
220
|
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
213
221
|
*
|
|
@@ -217,7 +225,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
217
225
|
ccnId?: string;
|
|
218
226
|
/**
|
|
219
227
|
* @remarks
|
|
220
|
-
* [
|
|
228
|
+
* [Deprecated]
|
|
221
229
|
*
|
|
222
230
|
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
223
231
|
*
|
|
@@ -227,7 +235,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
227
235
|
ccnRegionId?: string;
|
|
228
236
|
/**
|
|
229
237
|
* @remarks
|
|
230
|
-
* [
|
|
238
|
+
* [Deprecated]
|
|
231
239
|
*
|
|
232
240
|
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
233
241
|
*
|
|
@@ -237,9 +245,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
237
245
|
cenId?: string;
|
|
238
246
|
/**
|
|
239
247
|
* @remarks
|
|
240
|
-
* [
|
|
248
|
+
* [Deprecated]
|
|
241
249
|
*
|
|
242
|
-
* The subscription duration of the enhanced edge node pool
|
|
250
|
+
* The subscription duration of the enhanced edge node pool, in months.
|
|
243
251
|
*
|
|
244
252
|
* @example
|
|
245
253
|
* 1
|
|
@@ -277,7 +285,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
277
285
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $dara.Model {
|
|
278
286
|
/**
|
|
279
287
|
* @remarks
|
|
280
|
-
* 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 for the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
281
289
|
*
|
|
282
290
|
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
283
291
|
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
@@ -290,8 +298,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
290
298
|
* @remarks
|
|
291
299
|
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
292
300
|
*
|
|
293
|
-
* - `static`:
|
|
294
|
-
* - `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.
|
|
295
303
|
*
|
|
296
304
|
* @example
|
|
297
305
|
* none
|
|
@@ -309,7 +317,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
309
317
|
* A node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
310
318
|
*
|
|
311
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.
|
|
312
|
-
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5
|
|
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.
|
|
313
321
|
*
|
|
314
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.
|
|
315
323
|
*
|
|
@@ -319,7 +327,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
319
327
|
nodeNameMode?: string;
|
|
320
328
|
/**
|
|
321
329
|
* @remarks
|
|
322
|
-
* The
|
|
330
|
+
* The pre-initialization custom data for the node pool. This is a script that runs before node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
323
331
|
*
|
|
324
332
|
* @example
|
|
325
333
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD
|
|
@@ -327,11 +335,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
327
335
|
preUserData?: string;
|
|
328
336
|
/**
|
|
329
337
|
* @remarks
|
|
330
|
-
* The container runtime
|
|
338
|
+
* The container runtime. ACK supports the following three container runtimes:
|
|
331
339
|
*
|
|
332
|
-
* - containerd:
|
|
333
|
-
* - Sandboxed-Container.runv:
|
|
334
|
-
* - docker:
|
|
340
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
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.
|
|
335
343
|
*
|
|
336
344
|
* @example
|
|
337
345
|
* containerd
|
|
@@ -352,11 +360,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
352
360
|
taints?: Taint[];
|
|
353
361
|
/**
|
|
354
362
|
* @remarks
|
|
355
|
-
* Specifies whether
|
|
363
|
+
* Specifies whether scaled-out nodes are unschedulable.
|
|
356
364
|
*
|
|
357
|
-
* - true:
|
|
365
|
+
* - true: unschedulable.
|
|
358
366
|
*
|
|
359
|
-
* - false:
|
|
367
|
+
* - false: schedulable.
|
|
360
368
|
*
|
|
361
369
|
* @example
|
|
362
370
|
* true
|
|
@@ -364,7 +372,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
364
372
|
unschedulable?: boolean;
|
|
365
373
|
/**
|
|
366
374
|
* @remarks
|
|
367
|
-
* The node pool
|
|
375
|
+
* The custom data for the node pool. This is a script that runs after node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
368
376
|
*
|
|
369
377
|
* @example
|
|
370
378
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -418,7 +426,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
418
426
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
|
|
419
427
|
/**
|
|
420
428
|
* @remarks
|
|
421
|
-
*
|
|
429
|
+
* Specifies whether manual approval is required for node repair.
|
|
422
430
|
*
|
|
423
431
|
* @example
|
|
424
432
|
* false
|
|
@@ -432,12 +440,22 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
432
440
|
* r-xxxxxxxxx
|
|
433
441
|
*/
|
|
434
442
|
autoRepairPolicyId?: string;
|
|
443
|
+
/**
|
|
444
|
+
* @example
|
|
445
|
+
* 1
|
|
446
|
+
*/
|
|
447
|
+
maxParallelRepairingNodes?: string;
|
|
448
|
+
/**
|
|
449
|
+
* @example
|
|
450
|
+
* 10%
|
|
451
|
+
*/
|
|
452
|
+
maxUnhealthyNodesThreshold?: string;
|
|
435
453
|
/**
|
|
436
454
|
* @remarks
|
|
437
|
-
* Specifies whether node restart
|
|
455
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`.
|
|
438
456
|
*
|
|
439
|
-
* - `true`:
|
|
440
|
-
* - `false`:
|
|
457
|
+
* - `true`: Allow node restart.
|
|
458
|
+
* - `false`: Do not allow node restart.
|
|
441
459
|
*
|
|
442
460
|
* @example
|
|
443
461
|
* true
|
|
@@ -447,6 +465,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
447
465
|
return {
|
|
448
466
|
approvalRequired: 'approval_required',
|
|
449
467
|
autoRepairPolicyId: 'auto_repair_policy_id',
|
|
468
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
469
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
450
470
|
restartNode: 'restart_node',
|
|
451
471
|
};
|
|
452
472
|
}
|
|
@@ -455,6 +475,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
455
475
|
return {
|
|
456
476
|
approvalRequired: 'boolean',
|
|
457
477
|
autoRepairPolicyId: 'string',
|
|
478
|
+
maxParallelRepairingNodes: 'string',
|
|
479
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
458
480
|
restartNode: 'boolean',
|
|
459
481
|
};
|
|
460
482
|
}
|
|
@@ -471,9 +493,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
471
493
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
472
494
|
/**
|
|
473
495
|
* @remarks
|
|
474
|
-
* Specifies whether automatic kubelet upgrade
|
|
475
|
-
* - `true`:
|
|
476
|
-
* - `false`:
|
|
496
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
497
|
+
* - `true`: Allow automatic kubelet upgrade.
|
|
498
|
+
* - `false`: Do not allow automatic kubelet upgrade.
|
|
477
499
|
*
|
|
478
500
|
* @example
|
|
479
501
|
* true
|
|
@@ -511,9 +533,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
511
533
|
excludePackages?: string;
|
|
512
534
|
/**
|
|
513
535
|
* @remarks
|
|
514
|
-
* Specifies whether node restart
|
|
515
|
-
* - `true`:
|
|
516
|
-
* - `false`:
|
|
536
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
537
|
+
* - `true`: Allow node restart.
|
|
538
|
+
* - `false`: Do not allow node restart.
|
|
517
539
|
*
|
|
518
540
|
* @example
|
|
519
541
|
* true
|
|
@@ -559,10 +581,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
559
581
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
|
|
560
582
|
/**
|
|
561
583
|
* @remarks
|
|
562
|
-
* Specifies whether
|
|
584
|
+
* Specifies whether to enable automatic upgrade. Valid values:
|
|
563
585
|
*
|
|
564
|
-
* - `true`:
|
|
565
|
-
* - `false`:
|
|
586
|
+
* - `true`: Enable automatic upgrade.
|
|
587
|
+
* - `false`: Disable automatic upgrade.
|
|
566
588
|
*
|
|
567
589
|
* @example
|
|
568
590
|
* true
|
|
@@ -580,7 +602,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
580
602
|
maxUnavailable?: number;
|
|
581
603
|
/**
|
|
582
604
|
* @remarks
|
|
583
|
-
* The number of extra nodes.
|
|
605
|
+
* The number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
584
606
|
*
|
|
585
607
|
* @example
|
|
586
608
|
* 5
|
|
@@ -588,9 +610,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
588
610
|
surge?: number;
|
|
589
611
|
/**
|
|
590
612
|
* @remarks
|
|
591
|
-
* The percentage of extra nodes.
|
|
613
|
+
* The percentage of extra nodes. Mutually exclusive with `surge`.
|
|
592
614
|
*
|
|
593
|
-
*
|
|
615
|
+
* Extra nodes = surge percentage × node count. For example, if the surge percentage is 50% and the existing node count is 6, the number of extra nodes = 50% × 6 = 3.
|
|
594
616
|
*
|
|
595
617
|
* @example
|
|
596
618
|
* 50
|
|
@@ -624,13 +646,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
624
646
|
}
|
|
625
647
|
|
|
626
648
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Model {
|
|
649
|
+
/**
|
|
650
|
+
* @remarks
|
|
651
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
652
|
+
*/
|
|
627
653
|
autoFaultDiagnosis?: boolean;
|
|
628
654
|
/**
|
|
629
655
|
* @remarks
|
|
630
|
-
* Specifies whether auto repair
|
|
656
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
|
|
631
657
|
*
|
|
632
|
-
* - `true`:
|
|
633
|
-
* - `false`:
|
|
658
|
+
* - `true`: Enable auto repair.
|
|
659
|
+
* - `false`: Disable auto repair.
|
|
634
660
|
*
|
|
635
661
|
* @example
|
|
636
662
|
* true
|
|
@@ -638,14 +664,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
638
664
|
autoRepair?: boolean;
|
|
639
665
|
/**
|
|
640
666
|
* @remarks
|
|
641
|
-
* The auto repair
|
|
667
|
+
* The auto repair policy for nodes.
|
|
642
668
|
*/
|
|
643
669
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
644
670
|
/**
|
|
645
671
|
* @remarks
|
|
646
|
-
* Specifies whether
|
|
647
|
-
* - `true`:
|
|
648
|
-
* - `false`:
|
|
672
|
+
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
673
|
+
* - `true`: Enable automatic upgrade.
|
|
674
|
+
* - `false`: Disable automatic upgrade.
|
|
649
675
|
*
|
|
650
676
|
* @example
|
|
651
677
|
* true
|
|
@@ -653,15 +679,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
653
679
|
autoUpgrade?: boolean;
|
|
654
680
|
/**
|
|
655
681
|
* @remarks
|
|
656
|
-
* The
|
|
682
|
+
* The automatic upgrade policy.
|
|
657
683
|
*/
|
|
658
684
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
659
685
|
/**
|
|
660
686
|
* @remarks
|
|
661
|
-
* Specifies whether automatic CVE fix
|
|
687
|
+
* Specifies whether to enable automatic CVE fix. This parameter takes effect only when `enable=true`.
|
|
662
688
|
*
|
|
663
|
-
* - `true`:
|
|
664
|
-
* - `false`:
|
|
689
|
+
* - `true`: Enable automatic CVE fix.
|
|
690
|
+
* - `false`: Disable automatic CVE fix.
|
|
665
691
|
*
|
|
666
692
|
* @example
|
|
667
693
|
* true
|
|
@@ -672,12 +698,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
672
698
|
* The automatic CVE fix policy.
|
|
673
699
|
*/
|
|
674
700
|
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
701
|
+
driftEnabled?: boolean;
|
|
675
702
|
/**
|
|
676
703
|
* @remarks
|
|
677
|
-
* Specifies whether the managed node pool
|
|
704
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
678
705
|
*
|
|
679
|
-
* - `true`:
|
|
680
|
-
* - `false`:
|
|
706
|
+
* - `true`: Enable the managed node pool.
|
|
707
|
+
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
681
708
|
*
|
|
682
709
|
* @example
|
|
683
710
|
* true
|
|
@@ -685,7 +712,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
685
712
|
enable?: boolean;
|
|
686
713
|
/**
|
|
687
714
|
* @remarks
|
|
688
|
-
* The
|
|
715
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
689
716
|
*/
|
|
690
717
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
691
718
|
static names(): { [key: string]: string } {
|
|
@@ -697,6 +724,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
697
724
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
698
725
|
autoVulFix: 'auto_vul_fix',
|
|
699
726
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
727
|
+
driftEnabled: 'drift_enabled',
|
|
700
728
|
enable: 'enable',
|
|
701
729
|
upgradeConfig: 'upgrade_config',
|
|
702
730
|
};
|
|
@@ -711,6 +739,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
711
739
|
autoUpgradePolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy,
|
|
712
740
|
autoVulFix: 'boolean',
|
|
713
741
|
autoVulFixPolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy,
|
|
742
|
+
driftEnabled: 'boolean',
|
|
714
743
|
enable: 'boolean',
|
|
715
744
|
upgradeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig,
|
|
716
745
|
};
|
|
@@ -740,7 +769,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
740
769
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
741
770
|
/**
|
|
742
771
|
* @remarks
|
|
743
|
-
* The node component
|
|
772
|
+
* The custom node component configuration.
|
|
744
773
|
*
|
|
745
774
|
* @example
|
|
746
775
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -777,6 +806,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
777
806
|
*/
|
|
778
807
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
779
808
|
/**
|
|
809
|
+
* @remarks
|
|
810
|
+
* The custom node component configuration revision number.
|
|
811
|
+
*
|
|
780
812
|
* @example
|
|
781
813
|
* 1
|
|
782
814
|
*/
|
|
@@ -908,10 +940,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
908
940
|
created?: string;
|
|
909
941
|
/**
|
|
910
942
|
* @remarks
|
|
911
|
-
* Indicates whether
|
|
943
|
+
* Indicates whether the node pool is the default node pool. A cluster typically has only one default node pool. Valid values:
|
|
912
944
|
*
|
|
913
|
-
* - `true`:
|
|
914
|
-
* - `false`:
|
|
945
|
+
* - `true`: The node pool is the default node pool.
|
|
946
|
+
* - `false`: The node pool is not the default node pool.
|
|
915
947
|
*
|
|
916
948
|
* @example
|
|
917
949
|
* true
|
|
@@ -953,7 +985,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
953
985
|
* @remarks
|
|
954
986
|
* The node pool type. Valid values:
|
|
955
987
|
*
|
|
956
|
-
* - `ess`: standard node pool (includes managed and elastic scaling
|
|
988
|
+
* - `ess`: standard node pool (includes managed features and elastic scaling).
|
|
957
989
|
* - `edge`: edge node pool.
|
|
958
990
|
* - `lingjun`: Lingjun node pool.
|
|
959
991
|
*
|
|
@@ -1004,10 +1036,37 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
1004
1036
|
}
|
|
1005
1037
|
}
|
|
1006
1038
|
|
|
1039
|
+
export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions extends $dara.Model {
|
|
1040
|
+
/**
|
|
1041
|
+
* @example
|
|
1042
|
+
* enabled
|
|
1043
|
+
*/
|
|
1044
|
+
nestedVirtualization?: string;
|
|
1045
|
+
static names(): { [key: string]: string } {
|
|
1046
|
+
return {
|
|
1047
|
+
nestedVirtualization: 'nested_virtualization',
|
|
1048
|
+
};
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
static types(): { [key: string]: any } {
|
|
1052
|
+
return {
|
|
1053
|
+
nestedVirtualization: 'string',
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
validate() {
|
|
1058
|
+
super.validate();
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
constructor(map?: { [key: string]: any }) {
|
|
1062
|
+
super(map);
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1007
1066
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1008
1067
|
/**
|
|
1009
1068
|
* @remarks
|
|
1010
|
-
* The private pool ID, which is the elasticity assurance
|
|
1069
|
+
* The private pool ID, which is the ID of the elasticity assurance or capacity reservation.
|
|
1011
1070
|
*
|
|
1012
1071
|
* @example
|
|
1013
1072
|
* eap-bp67acfmxazb4****
|
|
@@ -1017,11 +1076,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoo
|
|
|
1017
1076
|
* @remarks
|
|
1018
1077
|
* 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 instance launch. Valid values:
|
|
1019
1078
|
*
|
|
1020
|
-
* - `Open`:
|
|
1079
|
+
* - `Open`: open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1021
1080
|
*
|
|
1022
|
-
* - `Target`:
|
|
1081
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
1023
1082
|
*
|
|
1024
|
-
* - `None`:
|
|
1083
|
+
* - `None`: no private pool. The instance launch does not use private pool capacity.
|
|
1025
1084
|
*
|
|
1026
1085
|
* @example
|
|
1027
1086
|
* Open
|
|
@@ -1059,9 +1118,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePo
|
|
|
1059
1118
|
/**
|
|
1060
1119
|
* @remarks
|
|
1061
1120
|
* The resource pool policy used when creating instances. Valid values:
|
|
1062
|
-
* PrivatePoolFirst:
|
|
1063
|
-
* PrivatePoolOnly:
|
|
1064
|
-
* None:
|
|
1121
|
+
* PrivatePoolFirst: private pool first.
|
|
1122
|
+
* PrivatePoolOnly: private pool only.
|
|
1123
|
+
* None: no resource pool policy.
|
|
1065
1124
|
*
|
|
1066
1125
|
* @example
|
|
1067
1126
|
* PrivatePoolFirst
|
|
@@ -1140,10 +1199,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
|
|
|
1140
1199
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $dara.Model {
|
|
1141
1200
|
/**
|
|
1142
1201
|
* @remarks
|
|
1143
|
-
* Specifies whether auto-renewal
|
|
1202
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1144
1203
|
*
|
|
1145
|
-
* - `true`:
|
|
1146
|
-
* - `false`:
|
|
1204
|
+
* - `true`: Enable auto-renewal.
|
|
1205
|
+
* - `false`: Disable auto-renewal.
|
|
1147
1206
|
*
|
|
1148
1207
|
* @example
|
|
1149
1208
|
* false
|
|
@@ -1152,8 +1211,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1152
1211
|
/**
|
|
1153
1212
|
* @remarks
|
|
1154
1213
|
* The duration of each auto-renewal cycle. Valid values:
|
|
1155
|
-
* -
|
|
1156
|
-
* -
|
|
1214
|
+
* - PeriodUnit=Week: 1, 2, 3.
|
|
1215
|
+
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1157
1216
|
*
|
|
1158
1217
|
* @example
|
|
1159
1218
|
* 0
|
|
@@ -1161,7 +1220,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1161
1220
|
autoRenewPeriod?: number;
|
|
1162
1221
|
/**
|
|
1163
1222
|
* @remarks
|
|
1164
|
-
* [
|
|
1223
|
+
* [Deprecated]
|
|
1165
1224
|
*
|
|
1166
1225
|
* Use the security_hardening_os parameter instead.
|
|
1167
1226
|
*
|
|
@@ -1182,6 +1241,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1182
1241
|
* true
|
|
1183
1242
|
*/
|
|
1184
1243
|
compensateWithOnDemand?: boolean;
|
|
1244
|
+
cpuOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions;
|
|
1185
1245
|
/**
|
|
1186
1246
|
* @remarks
|
|
1187
1247
|
* The combination of data cloud disk type, size, and other configurations for nodes.
|
|
@@ -1252,7 +1312,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1252
1312
|
instancePatterns?: InstancePatterns[];
|
|
1253
1313
|
/**
|
|
1254
1314
|
* @remarks
|
|
1255
|
-
* The list of node instance types. You can select multiple instance types as alternatives.
|
|
1315
|
+
* The list of node instance types. You can select multiple instance types as alternatives. Each node creation attempts to purchase from the first specification until successful. The final purchased instance type may vary depending on inventory.
|
|
1256
1316
|
*
|
|
1257
1317
|
* @example
|
|
1258
1318
|
* ecs.n4.large
|
|
@@ -1260,10 +1320,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1260
1320
|
instanceTypes?: string[];
|
|
1261
1321
|
/**
|
|
1262
1322
|
* @remarks
|
|
1263
|
-
* The billing
|
|
1323
|
+
* The billing method for the public IP addresses of nodes.
|
|
1264
1324
|
*
|
|
1265
|
-
* - PayByBandwidth:
|
|
1266
|
-
* - PayByTraffic:
|
|
1325
|
+
* - PayByBandwidth: billed on a fixed-bandwidth basis.
|
|
1326
|
+
* - PayByTraffic: billed based on actual traffic usage.
|
|
1267
1327
|
*
|
|
1268
1328
|
* @example
|
|
1269
1329
|
* PayByBandwidth
|
|
@@ -1271,7 +1331,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1271
1331
|
internetChargeType?: string;
|
|
1272
1332
|
/**
|
|
1273
1333
|
* @remarks
|
|
1274
|
-
* The maximum outbound
|
|
1334
|
+
* The maximum outbound bandwidth for the public IP addresses of nodes, in Mbps (Mega bit per second). Valid values: 1 to 100.
|
|
1275
1335
|
*
|
|
1276
1336
|
* @example
|
|
1277
1337
|
* 10
|
|
@@ -1279,7 +1339,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1279
1339
|
internetMaxBandwidthOut?: number;
|
|
1280
1340
|
/**
|
|
1281
1341
|
* @remarks
|
|
1282
|
-
* The key pair name.
|
|
1342
|
+
* The key pair name. Mutually exclusive with `login_password`.
|
|
1283
1343
|
*
|
|
1284
1344
|
* For managed node pools, only `key_pair` is supported.
|
|
1285
1345
|
*
|
|
@@ -1289,11 +1349,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1289
1349
|
keyPair?: string;
|
|
1290
1350
|
/**
|
|
1291
1351
|
* @remarks
|
|
1292
|
-
* Specifies whether
|
|
1352
|
+
* Specifies whether scaled-out ECS instances use non-root logon.
|
|
1293
1353
|
*
|
|
1294
1354
|
* - true: Log on as a non-root user (ecs-user).
|
|
1295
1355
|
*
|
|
1296
1356
|
* - false: Log on as the root user.
|
|
1357
|
+
* [_single.resp.200.props.nodepools.items.scaling_group.cis
|
|
1297
1358
|
*
|
|
1298
1359
|
* @example
|
|
1299
1360
|
* true
|
|
@@ -1301,9 +1362,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1301
1362
|
loginAsNonRoot?: boolean;
|
|
1302
1363
|
/**
|
|
1303
1364
|
* @remarks
|
|
1304
|
-
* The SSH
|
|
1365
|
+
* The SSH logon password. Mutually exclusive with `key_pair`. The 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.
|
|
1305
1366
|
*
|
|
1306
|
-
* For security purposes,
|
|
1367
|
+
* For security purposes, the password is encrypted in query results.
|
|
1307
1368
|
*
|
|
1308
1369
|
* @example
|
|
1309
1370
|
* ******
|
|
@@ -1311,15 +1372,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1311
1372
|
loginPassword?: string;
|
|
1312
1373
|
/**
|
|
1313
1374
|
* @remarks
|
|
1314
|
-
* The
|
|
1375
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1315
1376
|
*
|
|
1316
|
-
* - `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
|
|
1377
|
+
* - `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 vSwitch with the next highest priority to create ECS instances.
|
|
1317
1378
|
*
|
|
1318
|
-
* - `COST_OPTIMIZED`:
|
|
1379
|
+
* - `COST_OPTIMIZED`: Attempts to create instances based on the unit price of vCPUs, from low to high. When the scaling configuration sets multiple instance types with the spot billing method, spot instances are preferentially created. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1319
1380
|
*
|
|
1320
|
-
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or
|
|
1381
|
+
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
|
|
1321
1382
|
*
|
|
1322
|
-
* - `BALANCE`:
|
|
1383
|
+
* - `BALANCE`: Evenly allocates ECS instances across the active zones specified for the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1323
1384
|
*
|
|
1324
1385
|
* @example
|
|
1325
1386
|
* COST_OPTIMIZED
|
|
@@ -1327,7 +1388,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1327
1388
|
multiAzPolicy?: string;
|
|
1328
1389
|
/**
|
|
1329
1390
|
* @remarks
|
|
1330
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\].
|
|
1391
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are preferentially created when the number of pay-as-you-go instances is less than this value.
|
|
1331
1392
|
*
|
|
1332
1393
|
* @example
|
|
1333
1394
|
* 0
|
|
@@ -1335,7 +1396,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1335
1396
|
onDemandBaseCapacity?: number;
|
|
1336
1397
|
/**
|
|
1337
1398
|
* @remarks
|
|
1338
|
-
* 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`). Valid values: [0,100\\].
|
|
1399
|
+
* 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`) required in the scaling group. Valid values: [0,100\\].
|
|
1339
1400
|
*
|
|
1340
1401
|
* @example
|
|
1341
1402
|
* 20
|
|
@@ -1354,10 +1415,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1354
1415
|
period?: number;
|
|
1355
1416
|
/**
|
|
1356
1417
|
* @remarks
|
|
1357
|
-
* The
|
|
1418
|
+
* The node billing period unit. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1358
1419
|
*
|
|
1359
|
-
* - `Month`: month
|
|
1360
|
-
* - `Week`: week
|
|
1420
|
+
* - `Month`: month.
|
|
1421
|
+
* - `Week`: week.
|
|
1361
1422
|
*
|
|
1362
1423
|
* @example
|
|
1363
1424
|
* Month
|
|
@@ -1365,7 +1426,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1365
1426
|
periodUnit?: string;
|
|
1366
1427
|
/**
|
|
1367
1428
|
* @remarks
|
|
1368
|
-
* [
|
|
1429
|
+
* [Deprecated]
|
|
1369
1430
|
*
|
|
1370
1431
|
* The operating system distribution. Valid values:
|
|
1371
1432
|
*
|
|
@@ -1421,8 +1482,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1421
1482
|
* @remarks
|
|
1422
1483
|
* The scaling group mode. Valid values:
|
|
1423
1484
|
*
|
|
1424
|
-
* - `release`:
|
|
1425
|
-
* - `recycle`:
|
|
1485
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1486
|
+
* - `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 stopped state. Only storage fees are charged, except for instances with local disks.
|
|
1426
1487
|
*
|
|
1427
1488
|
* @example
|
|
1428
1489
|
* release
|
|
@@ -1430,7 +1491,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1430
1491
|
scalingPolicy?: string;
|
|
1431
1492
|
/**
|
|
1432
1493
|
* @remarks
|
|
1433
|
-
* [
|
|
1494
|
+
* [Deprecated]
|
|
1434
1495
|
*
|
|
1435
1496
|
* The security group ID of the node pool. When the node pool is associated with multiple security groups, this is the first value in `security_group_ids`.
|
|
1436
1497
|
*
|
|
@@ -1445,7 +1506,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1445
1506
|
securityGroupIds?: string[];
|
|
1446
1507
|
/**
|
|
1447
1508
|
* @remarks
|
|
1448
|
-
* Specifies whether Alibaba Cloud OS security hardening
|
|
1509
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1449
1510
|
*
|
|
1450
1511
|
* - `true`: Enabled.
|
|
1451
1512
|
* - `false`: Disabled.
|
|
@@ -1458,7 +1519,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1458
1519
|
securityHardeningOs?: boolean;
|
|
1459
1520
|
/**
|
|
1460
1521
|
* @remarks
|
|
1461
|
-
* Specifies whether MLPS 2.0 security hardening
|
|
1522
|
+
* Specifies whether to enable MLPS 2.0 security hardening. MLPS 2.0 security hardening can be enabled only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for MLPS 2.0 Level 3 images of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3.
|
|
1462
1523
|
*
|
|
1463
1524
|
* @example
|
|
1464
1525
|
* false
|
|
@@ -1466,7 +1527,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1466
1527
|
socEnabled?: boolean;
|
|
1467
1528
|
/**
|
|
1468
1529
|
* @remarks
|
|
1469
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1530
|
+
* The number of available instance types. The scaling group creates spot instances across multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1470
1531
|
*
|
|
1471
1532
|
* @example
|
|
1472
1533
|
* 5
|
|
@@ -1476,8 +1537,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1476
1537
|
* @remarks
|
|
1477
1538
|
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1478
1539
|
*
|
|
1479
|
-
* - `true`:
|
|
1480
|
-
* - `false`:
|
|
1540
|
+
* - `true`: Enabled.
|
|
1541
|
+
* - `false`: Disabled.
|
|
1481
1542
|
*
|
|
1482
1543
|
* @example
|
|
1483
1544
|
* false
|
|
@@ -1503,9 +1564,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1503
1564
|
spotStrategy?: string;
|
|
1504
1565
|
/**
|
|
1505
1566
|
* @remarks
|
|
1506
|
-
* Specifies whether burst (performance burst)
|
|
1507
|
-
* - true:
|
|
1508
|
-
* - false:
|
|
1567
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1568
|
+
* - true: Enable. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure until the workload stabilizes.
|
|
1569
|
+
* - false: Disable.
|
|
1509
1570
|
*
|
|
1510
1571
|
* 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).
|
|
1511
1572
|
*
|
|
@@ -1533,7 +1594,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1533
1594
|
systemDiskCategory?: string;
|
|
1534
1595
|
/**
|
|
1535
1596
|
* @remarks
|
|
1536
|
-
* The encryption algorithm
|
|
1597
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1537
1598
|
*
|
|
1538
1599
|
* @example
|
|
1539
1600
|
* aes-256
|
|
@@ -1541,7 +1602,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1541
1602
|
systemDiskEncryptAlgorithm?: string;
|
|
1542
1603
|
/**
|
|
1543
1604
|
* @remarks
|
|
1544
|
-
* Specifies whether the system cloud disk
|
|
1605
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1545
1606
|
*
|
|
1546
1607
|
* - true: Encrypted.
|
|
1547
1608
|
* - false: Not encrypted.
|
|
@@ -1552,7 +1613,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1552
1613
|
systemDiskEncrypted?: boolean;
|
|
1553
1614
|
/**
|
|
1554
1615
|
* @remarks
|
|
1555
|
-
* The KMS key ID used
|
|
1616
|
+
* The KMS key ID used for the system cloud disk.
|
|
1556
1617
|
*
|
|
1557
1618
|
* @example
|
|
1558
1619
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1560,11 +1621,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1560
1621
|
systemDiskKmsKeyId?: string;
|
|
1561
1622
|
/**
|
|
1562
1623
|
* @remarks
|
|
1563
|
-
* The node system cloud disk
|
|
1564
|
-
* - PL0: moderate
|
|
1565
|
-
* - PL1: moderate
|
|
1566
|
-
* - PL2: high
|
|
1567
|
-
* - PL3: ultra-high
|
|
1624
|
+
* 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 disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1625
|
+
* - PL0: moderate concurrent I/O performance with relatively stable read/write latency.
|
|
1626
|
+
* - PL1: moderate concurrent I/O performance with relatively stable read/write latency.
|
|
1627
|
+
* - PL2: high concurrent I/O performance with stable read/write latency.
|
|
1628
|
+
* - PL3: ultra-high concurrent I/O performance with extremely stable read/write latency.
|
|
1568
1629
|
*
|
|
1569
1630
|
* @example
|
|
1570
1631
|
* PL1
|
|
@@ -1572,7 +1633,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1572
1633
|
systemDiskPerformanceLevel?: string;
|
|
1573
1634
|
/**
|
|
1574
1635
|
* @remarks
|
|
1575
|
-
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1636
|
+
* The provisioned read/write IOPS for the node system cloud disk. Configure this parameter when the disk type is cloud_auto.
|
|
1576
1637
|
*
|
|
1577
1638
|
* @example
|
|
1578
1639
|
* 1000
|
|
@@ -1598,7 +1659,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1598
1659
|
systemDiskSnapshotPolicyId?: string;
|
|
1599
1660
|
/**
|
|
1600
1661
|
* @remarks
|
|
1601
|
-
* The ECS instance
|
|
1662
|
+
* The ECS instance tags.
|
|
1602
1663
|
*/
|
|
1603
1664
|
tags?: Tag[];
|
|
1604
1665
|
/**
|
|
@@ -1612,6 +1673,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1612
1673
|
autoRenewPeriod: 'auto_renew_period',
|
|
1613
1674
|
cisEnabled: 'cis_enabled',
|
|
1614
1675
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
1676
|
+
cpuOptions: 'cpu_options',
|
|
1615
1677
|
dataDisks: 'data_disks',
|
|
1616
1678
|
deploymentsetId: 'deploymentset_id',
|
|
1617
1679
|
desiredSize: 'desired_size',
|
|
@@ -1668,6 +1730,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1668
1730
|
autoRenewPeriod: 'number',
|
|
1669
1731
|
cisEnabled: 'boolean',
|
|
1670
1732
|
compensateWithOnDemand: 'boolean',
|
|
1733
|
+
cpuOptions: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions,
|
|
1671
1734
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
1672
1735
|
deploymentsetId: 'string',
|
|
1673
1736
|
desiredSize: 'number',
|
|
@@ -1719,6 +1782,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1719
1782
|
}
|
|
1720
1783
|
|
|
1721
1784
|
validate() {
|
|
1785
|
+
if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
|
|
1786
|
+
(this.cpuOptions as any).validate();
|
|
1787
|
+
}
|
|
1722
1788
|
if(Array.isArray(this.dataDisks)) {
|
|
1723
1789
|
$dara.Model.validateArray(this.dataDisks);
|
|
1724
1790
|
}
|
|
@@ -1816,11 +1882,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1816
1882
|
* @remarks
|
|
1817
1883
|
* The node pool status. Valid values:
|
|
1818
1884
|
*
|
|
1819
|
-
* - `active`:
|
|
1820
|
-
* - `scaling`:
|
|
1821
|
-
* - `removing`:
|
|
1822
|
-
* - `deleting`:
|
|
1823
|
-
* - `updating`:
|
|
1885
|
+
* - `active`: active.
|
|
1886
|
+
* - `scaling`: scaling.
|
|
1887
|
+
* - `removing`: removing nodes.
|
|
1888
|
+
* - `deleting`: deleting.
|
|
1889
|
+
* - `updating`: updating.
|
|
1824
1890
|
*
|
|
1825
1891
|
* @example
|
|
1826
1892
|
* active
|
|
@@ -1920,17 +1986,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1920
1986
|
efloNodeGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup;
|
|
1921
1987
|
/**
|
|
1922
1988
|
* @remarks
|
|
1923
|
-
* [
|
|
1989
|
+
* [Deprecated]
|
|
1924
1990
|
*
|
|
1925
1991
|
* The network configuration for edge node pools. This value is meaningful only for edge-type node pools.
|
|
1926
1992
|
*/
|
|
1927
1993
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
1928
1994
|
/**
|
|
1929
1995
|
* @remarks
|
|
1930
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1996
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1931
1997
|
*
|
|
1932
|
-
* - `basic`:
|
|
1933
|
-
* - `private`:
|
|
1998
|
+
* - `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.
|
|
1999
|
+
* - `private`: private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1934
2000
|
*
|
|
1935
2001
|
* @example
|
|
1936
2002
|
* basic
|
|
@@ -1943,12 +2009,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1943
2009
|
kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
1944
2010
|
/**
|
|
1945
2011
|
* @remarks
|
|
1946
|
-
* The managed node pool configuration. This configuration takes effect only in
|
|
2012
|
+
* The managed node pool configuration. This configuration takes effect only in ACK Pro clusters.
|
|
1947
2013
|
*/
|
|
1948
2014
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
1949
2015
|
/**
|
|
1950
2016
|
* @remarks
|
|
1951
|
-
* The maximum number of nodes allowed in the edge node pool. This
|
|
2017
|
+
* The maximum number of nodes allowed in the edge node pool. This parameter must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the maximum number of nodes the cluster can accommodate, with no additional limit on the node pool itself). This value is typically greater than 0 for edge node pools. For ESS-type node pools and default edge-type node pools, this value is 0.
|
|
1952
2018
|
*
|
|
1953
2019
|
* @example
|
|
1954
2020
|
* 10
|
|
@@ -1971,7 +2037,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1971
2037
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
1972
2038
|
/**
|
|
1973
2039
|
* @remarks
|
|
1974
|
-
* The
|
|
2040
|
+
* The scaling group configuration of the node pool.
|
|
1975
2041
|
*/
|
|
1976
2042
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
1977
2043
|
/**
|