@alicloud/cs20151215 7.1.1 → 7.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +4 -4
- package/dist/client.js +4 -4
- package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
- package/dist/models/CreateClusterNodePoolRequest.js +27 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
- package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +221 -70
- package/dist/models/Nodepool.js +27 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
- package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +110 -92
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -4
- package/src/models/CreateClusterNodePoolRequest.ts +379 -76
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
- package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
- package/src/models/Nodepool.ts +238 -70
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
- package/src/models/model.ts +9 -0
|
@@ -45,13 +45,18 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
45
45
|
* @remarks
|
|
46
46
|
* The peak bandwidth of the EIP.
|
|
47
47
|
*
|
|
48
|
+
* Valid values: [1,100]. Unit: Mbit/s.
|
|
49
|
+
*
|
|
48
50
|
* @example
|
|
49
51
|
* 5
|
|
50
52
|
*/
|
|
51
53
|
eipBandwidth?: number;
|
|
52
54
|
/**
|
|
53
55
|
* @remarks
|
|
54
|
-
* The billing type
|
|
56
|
+
* The EIP billing type. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
59
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
55
60
|
*
|
|
56
61
|
* @example
|
|
57
62
|
* PayByBandwidth
|
|
@@ -61,11 +66,11 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
61
66
|
* @remarks
|
|
62
67
|
* Specifies whether to enable auto scaling. Valid values:
|
|
63
68
|
*
|
|
64
|
-
* - `true`: Enables the
|
|
69
|
+
* - `true`: Enables the elastic scaling feature for the node pool. 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 or 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).
|
|
65
70
|
*
|
|
66
|
-
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired
|
|
71
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
67
72
|
*
|
|
68
|
-
* When
|
|
73
|
+
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
69
74
|
*
|
|
70
75
|
* @example
|
|
71
76
|
* true
|
|
@@ -73,7 +78,10 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
73
78
|
enable?: boolean;
|
|
74
79
|
/**
|
|
75
80
|
* @remarks
|
|
76
|
-
*
|
|
81
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
82
|
+
*
|
|
83
|
+
* - `true`: Associate an EIP.
|
|
84
|
+
* - `false`: Do not associate an EIP.
|
|
77
85
|
*
|
|
78
86
|
* @example
|
|
79
87
|
* true
|
|
@@ -99,6 +107,11 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
99
107
|
* @remarks
|
|
100
108
|
* The auto scaling type, categorized by instance type. Valid values:
|
|
101
109
|
*
|
|
110
|
+
* - `cpu`: regular instance type.
|
|
111
|
+
* - `gpu`: GPU instance type.
|
|
112
|
+
* - `gpushare`: GPU sharing type.
|
|
113
|
+
* - `spot`: spot instance type.
|
|
114
|
+
*
|
|
102
115
|
* @example
|
|
103
116
|
* cpu
|
|
104
117
|
*/
|
|
@@ -139,12 +152,12 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
139
152
|
export class DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup extends $dara.Model {
|
|
140
153
|
/**
|
|
141
154
|
* @remarks
|
|
142
|
-
* Indicates whether automatic addition
|
|
155
|
+
* Indicates whether automatic node addition is enabled for the Lingjun node pool.
|
|
143
156
|
*/
|
|
144
157
|
autoAttachEnabled?: boolean;
|
|
145
158
|
/**
|
|
146
159
|
* @remarks
|
|
147
|
-
* The Lingjun cluster
|
|
160
|
+
* The ID of the Lingjun cluster.
|
|
148
161
|
*
|
|
149
162
|
* @example
|
|
150
163
|
* i113790071760688002461
|
|
@@ -152,7 +165,7 @@ export class DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup extends $dar
|
|
|
152
165
|
clusterId?: string;
|
|
153
166
|
/**
|
|
154
167
|
* @remarks
|
|
155
|
-
* The Lingjun group
|
|
168
|
+
* The ID of the Lingjun group.
|
|
156
169
|
*
|
|
157
170
|
* @example
|
|
158
171
|
* i128147721760688002463
|
|
@@ -195,6 +208,8 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
195
208
|
* @remarks
|
|
196
209
|
* **[Deprecated]**
|
|
197
210
|
*
|
|
211
|
+
* The network bandwidth of the edge enhanced node pool. Unit: Mbit/s.
|
|
212
|
+
*
|
|
198
213
|
* @example
|
|
199
214
|
* 10
|
|
200
215
|
*/
|
|
@@ -203,6 +218,8 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
203
218
|
* @remarks
|
|
204
219
|
* **[Deprecated]**
|
|
205
220
|
*
|
|
221
|
+
* The Cloud Connect Network (CCN) instance ID bound to the edge enhanced node pool.
|
|
222
|
+
*
|
|
206
223
|
* @example
|
|
207
224
|
* ccn-qm5i0i0q9yi*******
|
|
208
225
|
*/
|
|
@@ -211,6 +228,8 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
211
228
|
* @remarks
|
|
212
229
|
* **[Deprecated]**
|
|
213
230
|
*
|
|
231
|
+
* The region of the Cloud Connect Network (CCN) instance bound to the edge enhanced node pool.
|
|
232
|
+
*
|
|
214
233
|
* @example
|
|
215
234
|
* cn-shanghai
|
|
216
235
|
*/
|
|
@@ -219,6 +238,8 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
219
238
|
* @remarks
|
|
220
239
|
* **[Deprecated]**
|
|
221
240
|
*
|
|
241
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the edge enhanced node pool.
|
|
242
|
+
*
|
|
222
243
|
* @example
|
|
223
244
|
* cen-ey9k9nfhz0f*******
|
|
224
245
|
*/
|
|
@@ -227,6 +248,8 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
227
248
|
* @remarks
|
|
228
249
|
* **[Deprecated]**
|
|
229
250
|
*
|
|
251
|
+
* The purchase duration of the edge enhanced node pool. Unit: months.
|
|
252
|
+
*
|
|
230
253
|
* @example
|
|
231
254
|
* 1
|
|
232
255
|
*/
|
|
@@ -265,13 +288,19 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
265
288
|
* @remarks
|
|
266
289
|
* 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:
|
|
267
290
|
*
|
|
291
|
+
* - `true`: installs the CloudMonitor agent on ECS nodes.
|
|
292
|
+
* - `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
293
|
+
*
|
|
268
294
|
* @example
|
|
269
295
|
* true
|
|
270
296
|
*/
|
|
271
297
|
cmsEnabled?: boolean;
|
|
272
298
|
/**
|
|
273
299
|
* @remarks
|
|
274
|
-
* The node CPU management policy. The following two policies are supported
|
|
300
|
+
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
301
|
+
*
|
|
302
|
+
* - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
303
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
275
304
|
*
|
|
276
305
|
* @example
|
|
277
306
|
* none
|
|
@@ -286,13 +315,20 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
286
315
|
* @remarks
|
|
287
316
|
* The custom node name.
|
|
288
317
|
*
|
|
318
|
+
* A node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
319
|
+
*
|
|
320
|
+
* - 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.
|
|
321
|
+
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
|
|
322
|
+
*
|
|
323
|
+
* 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.
|
|
324
|
+
*
|
|
289
325
|
* @example
|
|
290
326
|
* aliyun.com192.XX.YY.55test
|
|
291
327
|
*/
|
|
292
328
|
nodeNameMode?: string;
|
|
293
329
|
/**
|
|
294
330
|
* @remarks
|
|
295
|
-
* The node pool pre-
|
|
331
|
+
* 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).
|
|
296
332
|
*
|
|
297
333
|
* @example
|
|
298
334
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -300,7 +336,11 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
300
336
|
preUserData?: string;
|
|
301
337
|
/**
|
|
302
338
|
* @remarks
|
|
303
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
339
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
340
|
+
*
|
|
341
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
342
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
343
|
+
* - docker: no longer maintained. Supports cluster versions 1.22 and earlier.
|
|
304
344
|
*
|
|
305
345
|
* @example
|
|
306
346
|
* containerd
|
|
@@ -323,13 +363,17 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
323
363
|
* @remarks
|
|
324
364
|
* Specifies whether scaled-out nodes are unschedulable.
|
|
325
365
|
*
|
|
366
|
+
* - true: unschedulable.
|
|
367
|
+
*
|
|
368
|
+
* - false: schedulable.
|
|
369
|
+
*
|
|
326
370
|
* @example
|
|
327
371
|
* true
|
|
328
372
|
*/
|
|
329
373
|
unschedulable?: boolean;
|
|
330
374
|
/**
|
|
331
375
|
* @remarks
|
|
332
|
-
* The node pool
|
|
376
|
+
* 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).
|
|
333
377
|
*
|
|
334
378
|
* @example
|
|
335
379
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -391,7 +435,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
391
435
|
approvalRequired?: boolean;
|
|
392
436
|
/**
|
|
393
437
|
* @remarks
|
|
394
|
-
* The auto-repair policy
|
|
438
|
+
* The ID of the auto-repair policy.
|
|
395
439
|
*
|
|
396
440
|
* @example
|
|
397
441
|
* r-xxxxxxxxxx
|
|
@@ -399,7 +443,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
399
443
|
autoRepairPolicyId?: string;
|
|
400
444
|
/**
|
|
401
445
|
* @remarks
|
|
402
|
-
* The maximum number
|
|
446
|
+
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this specifies the maximum number or percentage of nodes that can be repaired simultaneously.
|
|
403
447
|
*
|
|
404
448
|
* @example
|
|
405
449
|
* 1
|
|
@@ -407,7 +451,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
407
451
|
maxParallelRepairingNodes?: string;
|
|
408
452
|
/**
|
|
409
453
|
* @remarks
|
|
410
|
-
* The
|
|
454
|
+
* The circuit breaker condition for self-healing. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions.
|
|
411
455
|
*
|
|
412
456
|
* @example
|
|
413
457
|
* 10%
|
|
@@ -415,7 +459,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
415
459
|
maxUnhealthyNodesThreshold?: string;
|
|
416
460
|
/**
|
|
417
461
|
* @remarks
|
|
418
|
-
* Specifies whether
|
|
462
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
463
|
+
*
|
|
464
|
+
* - `true`: Allow node restarts.
|
|
465
|
+
* - `false`: Do not allow node restarts.
|
|
419
466
|
*
|
|
420
467
|
* @example
|
|
421
468
|
* true
|
|
@@ -453,7 +500,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
453
500
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $dara.Model {
|
|
454
501
|
/**
|
|
455
502
|
* @remarks
|
|
456
|
-
* Specifies whether to allow automatic kubelet upgrades. This
|
|
503
|
+
* Specifies whether to allow automatic kubelet upgrades. This takes effect only when `auto_upgrade=true`. Valid values:
|
|
504
|
+
* - `true`: Allows automatic kubelet upgrades.
|
|
505
|
+
* - `false`: Does not allow automatic kubelet upgrades.
|
|
457
506
|
*
|
|
458
507
|
* @example
|
|
459
508
|
* true
|
|
@@ -483,7 +532,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolic
|
|
|
483
532
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $dara.Model {
|
|
484
533
|
/**
|
|
485
534
|
* @remarks
|
|
486
|
-
* The packages that should be excluded during vulnerability
|
|
535
|
+
* The packages that should be excluded during vulnerability fixes.
|
|
487
536
|
*
|
|
488
537
|
* @example
|
|
489
538
|
* kernel
|
|
@@ -491,7 +540,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
491
540
|
excludePackages?: string;
|
|
492
541
|
/**
|
|
493
542
|
* @remarks
|
|
494
|
-
* Specifies whether to allow node restarts. This
|
|
543
|
+
* Specifies whether to allow node restarts. This takes effect only when `auto_vul_fix=true`. Valid values:
|
|
544
|
+
* - `true`: Allows node restarts.
|
|
545
|
+
* - `false`: Does not allow node restarts.
|
|
495
546
|
*
|
|
496
547
|
* @example
|
|
497
548
|
* true
|
|
@@ -499,7 +550,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
499
550
|
restartNode?: boolean;
|
|
500
551
|
/**
|
|
501
552
|
* @remarks
|
|
502
|
-
* The vulnerability levels that are allowed for automatic
|
|
553
|
+
* The vulnerability levels that are allowed for automatic fixes, separated by commas.
|
|
503
554
|
*
|
|
504
555
|
* - `asap`: high
|
|
505
556
|
* - `later`: medium
|
|
@@ -537,7 +588,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
537
588
|
export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $dara.Model {
|
|
538
589
|
/**
|
|
539
590
|
* @remarks
|
|
540
|
-
* Specifies whether to enable
|
|
591
|
+
* Specifies whether to enable automatic upgrades. Valid values:
|
|
592
|
+
*
|
|
593
|
+
* - `true`: Enables automatic upgrades.
|
|
594
|
+
* - `false`: Does not enable automatic upgrades.
|
|
541
595
|
*
|
|
542
596
|
* @example
|
|
543
597
|
* true
|
|
@@ -547,6 +601,8 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
547
601
|
* @remarks
|
|
548
602
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
549
603
|
*
|
|
604
|
+
* Default value: 1.
|
|
605
|
+
*
|
|
550
606
|
* @example
|
|
551
607
|
* 1
|
|
552
608
|
*/
|
|
@@ -563,6 +619,8 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
563
619
|
* @remarks
|
|
564
620
|
* The percentage of extra nodes. You can set this parameter or `surge`, but not both.
|
|
565
621
|
*
|
|
622
|
+
* Number of extra nodes = Extra node percentage × Number of nodes. For example, if the extra node percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
623
|
+
*
|
|
566
624
|
* @example
|
|
567
625
|
* 50
|
|
568
626
|
*/
|
|
@@ -602,7 +660,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
602
660
|
autoFaultDiagnosis?: boolean;
|
|
603
661
|
/**
|
|
604
662
|
* @remarks
|
|
605
|
-
*
|
|
663
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`. Valid values:
|
|
664
|
+
*
|
|
665
|
+
* - `true`: Enable auto repair.
|
|
666
|
+
* - `false`: Disable auto repair.
|
|
606
667
|
*
|
|
607
668
|
* @example
|
|
608
669
|
* true
|
|
@@ -615,9 +676,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
615
676
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
616
677
|
/**
|
|
617
678
|
* @remarks
|
|
618
|
-
* Specifies whether to automatically upgrade nodes. This
|
|
619
|
-
* - `true`:
|
|
620
|
-
* - `false`:
|
|
679
|
+
* Specifies whether to automatically upgrade nodes. This takes effect only when `enable=true`.
|
|
680
|
+
* - `true`: Enables automatic upgrades.
|
|
681
|
+
* - `false`: Does not enable automatic upgrades.
|
|
621
682
|
*
|
|
622
683
|
* @example
|
|
623
684
|
* true
|
|
@@ -625,12 +686,15 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
625
686
|
autoUpgrade?: boolean;
|
|
626
687
|
/**
|
|
627
688
|
* @remarks
|
|
628
|
-
* The
|
|
689
|
+
* The automatic upgrade policy.
|
|
629
690
|
*/
|
|
630
691
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
631
692
|
/**
|
|
632
693
|
* @remarks
|
|
633
|
-
* Specifies whether to automatically fix CVEs. This
|
|
694
|
+
* Specifies whether to automatically fix CVEs. This takes effect only when `enable=true`.
|
|
695
|
+
*
|
|
696
|
+
* - `true`: Allows automatic CVE fixes.
|
|
697
|
+
* - `false`: Does not allow automatic CVE fixes.
|
|
634
698
|
*
|
|
635
699
|
* @example
|
|
636
700
|
* true
|
|
@@ -643,12 +707,15 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
643
707
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
644
708
|
/**
|
|
645
709
|
* @remarks
|
|
646
|
-
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default.
|
|
710
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
|
|
647
711
|
*/
|
|
648
712
|
driftEnabled?: boolean;
|
|
649
713
|
/**
|
|
650
714
|
* @remarks
|
|
651
|
-
*
|
|
715
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
716
|
+
*
|
|
717
|
+
* - `true`: Enable the managed node pool.
|
|
718
|
+
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
652
719
|
*
|
|
653
720
|
* @example
|
|
654
721
|
* true
|
|
@@ -656,7 +723,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
656
723
|
enable?: boolean;
|
|
657
724
|
/**
|
|
658
725
|
* @remarks
|
|
659
|
-
* The
|
|
726
|
+
* The automatic upgrade configuration. This takes effect only when `enable=true`.
|
|
660
727
|
*/
|
|
661
728
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
662
729
|
static names(): { [key: string]: string } {
|
|
@@ -710,24 +777,71 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
710
777
|
}
|
|
711
778
|
}
|
|
712
779
|
|
|
780
|
+
export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfigEnvs extends $dara.Model {
|
|
781
|
+
/**
|
|
782
|
+
* @remarks
|
|
783
|
+
* The name of the environment variable.
|
|
784
|
+
*
|
|
785
|
+
* @example
|
|
786
|
+
* LOG_LEVEL
|
|
787
|
+
*/
|
|
788
|
+
name?: string;
|
|
789
|
+
/**
|
|
790
|
+
* @remarks
|
|
791
|
+
* The value of the environment variable.
|
|
792
|
+
*
|
|
793
|
+
* @example
|
|
794
|
+
* info
|
|
795
|
+
*/
|
|
796
|
+
value?: string;
|
|
797
|
+
static names(): { [key: string]: string } {
|
|
798
|
+
return {
|
|
799
|
+
name: 'name',
|
|
800
|
+
value: 'value',
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
static types(): { [key: string]: any } {
|
|
805
|
+
return {
|
|
806
|
+
name: 'string',
|
|
807
|
+
value: 'string',
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
validate() {
|
|
812
|
+
super.validate();
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
constructor(map?: { [key: string]: any }) {
|
|
816
|
+
super(map);
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
|
|
713
820
|
export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig extends $dara.Model {
|
|
714
821
|
/**
|
|
715
822
|
* @remarks
|
|
716
|
-
* The custom configuration of node
|
|
823
|
+
* The custom configuration of the node component.
|
|
717
824
|
*
|
|
718
825
|
* @example
|
|
719
826
|
* {"cpuManagerPolicy":"static"}
|
|
720
827
|
*/
|
|
721
828
|
customConfig?: { [key: string]: any };
|
|
829
|
+
/**
|
|
830
|
+
* @remarks
|
|
831
|
+
* The environment variables of the node component.
|
|
832
|
+
*/
|
|
833
|
+
envs?: DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfigEnvs[];
|
|
722
834
|
static names(): { [key: string]: string } {
|
|
723
835
|
return {
|
|
724
836
|
customConfig: 'custom_config',
|
|
837
|
+
envs: 'envs',
|
|
725
838
|
};
|
|
726
839
|
}
|
|
727
840
|
|
|
728
841
|
static types(): { [key: string]: any } {
|
|
729
842
|
return {
|
|
730
843
|
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
844
|
+
envs: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfigEnvs },
|
|
731
845
|
};
|
|
732
846
|
}
|
|
733
847
|
|
|
@@ -735,6 +849,9 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig exten
|
|
|
735
849
|
if(this.customConfig) {
|
|
736
850
|
$dara.Model.validateMap(this.customConfig);
|
|
737
851
|
}
|
|
852
|
+
if(Array.isArray(this.envs)) {
|
|
853
|
+
$dara.Model.validateArray(this.envs);
|
|
854
|
+
}
|
|
738
855
|
super.validate();
|
|
739
856
|
}
|
|
740
857
|
|
|
@@ -751,7 +868,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $da
|
|
|
751
868
|
config?: DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig;
|
|
752
869
|
/**
|
|
753
870
|
* @remarks
|
|
754
|
-
* The version number of the custom configuration
|
|
871
|
+
* The version number of the custom configuration for the node component.
|
|
755
872
|
*
|
|
756
873
|
* @example
|
|
757
874
|
* 1
|
|
@@ -884,7 +1001,10 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
884
1001
|
created?: string;
|
|
885
1002
|
/**
|
|
886
1003
|
* @remarks
|
|
887
|
-
* Indicates whether
|
|
1004
|
+
* Indicates whether the node pool is the default node pool. Typically, a cluster has only one default node pool. Valid values:
|
|
1005
|
+
*
|
|
1006
|
+
* - `true`: The node pool is the default node pool.
|
|
1007
|
+
* - `false`: The node pool is not the default node pool.
|
|
888
1008
|
*
|
|
889
1009
|
* @example
|
|
890
1010
|
* true
|
|
@@ -925,7 +1045,8 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
925
1045
|
/**
|
|
926
1046
|
* @remarks
|
|
927
1047
|
* The node pool type. Valid values:
|
|
928
|
-
*
|
|
1048
|
+
*
|
|
1049
|
+
* - `ess`: standard node pool (includes managed and elastic scaling features).
|
|
929
1050
|
* - `edge`: edge node pool.
|
|
930
1051
|
* - `lingjun`: Lingjun node pool.
|
|
931
1052
|
*
|
|
@@ -980,6 +1101,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions ext
|
|
|
980
1101
|
/**
|
|
981
1102
|
* @remarks
|
|
982
1103
|
* Specifies whether nested virtualization is enabled. Valid values:
|
|
1104
|
+
* disabled: nested virtualization is disabled.
|
|
1105
|
+
* enabled: nested virtualization is enabled.
|
|
983
1106
|
*
|
|
984
1107
|
* @example
|
|
985
1108
|
* enabled
|
|
@@ -1019,6 +1142,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOpt
|
|
|
1019
1142
|
* @remarks
|
|
1020
1143
|
* 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 capacity is generated for instance launch. Valid values:
|
|
1021
1144
|
*
|
|
1145
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1146
|
+
*
|
|
1147
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, instance launch fails.
|
|
1148
|
+
*
|
|
1149
|
+
* - `None`: None mode. Instance launch does not use private pool capacity.
|
|
1150
|
+
*
|
|
1022
1151
|
* @example
|
|
1023
1152
|
* Open
|
|
1024
1153
|
*/
|
|
@@ -1054,10 +1183,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOp
|
|
|
1054
1183
|
privatePoolIds?: string[];
|
|
1055
1184
|
/**
|
|
1056
1185
|
* @remarks
|
|
1057
|
-
* The resource pool strategy used when instances
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
*
|
|
1186
|
+
* The resource pool strategy used when creating instances. Valid values:
|
|
1187
|
+
* PrivatePoolFirst: private pool first.
|
|
1188
|
+
* PrivatePoolOnly: private pool only.
|
|
1189
|
+
* None: no resource pool strategy is used.
|
|
1061
1190
|
*
|
|
1062
1191
|
* @example
|
|
1063
1192
|
* PrivatePoolFirst
|
|
@@ -1092,7 +1221,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOp
|
|
|
1092
1221
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1093
1222
|
/**
|
|
1094
1223
|
* @remarks
|
|
1095
|
-
* The instance type
|
|
1224
|
+
* The spot instance type.
|
|
1096
1225
|
*
|
|
1097
1226
|
* @example
|
|
1098
1227
|
* ecs.c6.large
|
|
@@ -1100,7 +1229,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
1100
1229
|
instanceType?: string;
|
|
1101
1230
|
/**
|
|
1102
1231
|
* @remarks
|
|
1103
|
-
* The
|
|
1232
|
+
* The market price per instance.
|
|
1104
1233
|
*
|
|
1105
1234
|
* <props="china">Unit: CNY/hour.
|
|
1106
1235
|
*
|
|
@@ -1139,10 +1268,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
1139
1268
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara.Model {
|
|
1140
1269
|
/**
|
|
1141
1270
|
* @remarks
|
|
1142
|
-
* Specifies whether auto-renewal
|
|
1271
|
+
* Specifies whether to enable auto-renewal for nodes. This takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1143
1272
|
*
|
|
1144
|
-
* - `true`:
|
|
1145
|
-
* - `false`:
|
|
1273
|
+
* - `true`: Enables auto-renewal.
|
|
1274
|
+
* - `false`: Does not enable auto-renewal.
|
|
1146
1275
|
*
|
|
1147
1276
|
* @example
|
|
1148
1277
|
* false
|
|
@@ -1150,7 +1279,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1150
1279
|
autoRenew?: boolean;
|
|
1151
1280
|
/**
|
|
1152
1281
|
* @remarks
|
|
1153
|
-
* The duration of
|
|
1282
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
1283
|
+
* - When PeriodUnit=Week: 1, 2, 3.
|
|
1284
|
+
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1154
1285
|
*
|
|
1155
1286
|
* @example
|
|
1156
1287
|
* 1
|
|
@@ -1168,10 +1299,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1168
1299
|
cisEnabled?: boolean;
|
|
1169
1300
|
/**
|
|
1170
1301
|
* @remarks
|
|
1171
|
-
*
|
|
1302
|
+
* 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 price or inventory reasons. This parameter takes effect when `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1172
1303
|
*
|
|
1173
|
-
* - `true`: Allows
|
|
1174
|
-
* - `false`: Does not allow
|
|
1304
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1305
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1175
1306
|
*
|
|
1176
1307
|
* @example
|
|
1177
1308
|
* true
|
|
@@ -1184,7 +1315,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1184
1315
|
cpuOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions;
|
|
1185
1316
|
/**
|
|
1186
1317
|
* @remarks
|
|
1187
|
-
* The
|
|
1318
|
+
* The combination of data cloud disk type, size, and other configurations for nodes.
|
|
1188
1319
|
*/
|
|
1189
1320
|
dataDisks?: DataDisk[];
|
|
1190
1321
|
/**
|
|
@@ -1210,7 +1341,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1210
1341
|
diskInit?: DiskInit[];
|
|
1211
1342
|
/**
|
|
1212
1343
|
* @remarks
|
|
1213
|
-
*
|
|
1344
|
+
* Specifies whether high-density cloud disk mode is enabled. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the maximum number of high-density cloud disks supported by the instance type.
|
|
1214
1345
|
*
|
|
1215
1346
|
* @example
|
|
1216
1347
|
* false
|
|
@@ -1235,7 +1366,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1235
1366
|
* - `CentOS`: CentOS image.
|
|
1236
1367
|
* - `Windows`: Windows image.
|
|
1237
1368
|
* - `WindowsCore`: WindowsCore image.
|
|
1238
|
-
* - `ContainerOS`:
|
|
1369
|
+
* - `ContainerOS`: container-optimized image.
|
|
1239
1370
|
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1240
1371
|
*
|
|
1241
1372
|
* @example
|
|
@@ -1270,11 +1401,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1270
1401
|
instanceTypes?: string[];
|
|
1271
1402
|
/**
|
|
1272
1403
|
* @remarks
|
|
1273
|
-
* The billing method for
|
|
1404
|
+
* The billing method for node public IP addresses.
|
|
1274
1405
|
*
|
|
1275
|
-
*
|
|
1276
|
-
* -
|
|
1277
|
-
* - PayByTraffic: pay-by-traffic.
|
|
1406
|
+
* - PayByBandwidth: billed by fixed bandwidth.
|
|
1407
|
+
* - PayByTraffic: billed by traffic usage.
|
|
1278
1408
|
*
|
|
1279
1409
|
* @example
|
|
1280
1410
|
* PayByBandwidth
|
|
@@ -1298,7 +1428,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1298
1428
|
keyPair?: string;
|
|
1299
1429
|
/**
|
|
1300
1430
|
* @remarks
|
|
1301
|
-
*
|
|
1431
|
+
* Specifies whether the ECS instance uses a non-root user for logon.
|
|
1432
|
+
*
|
|
1433
|
+
* - true: Logs on as a non-root user (ecs-user).
|
|
1434
|
+
*
|
|
1435
|
+
* - false: Logs on as the root user.
|
|
1302
1436
|
*
|
|
1303
1437
|
* @example
|
|
1304
1438
|
* true
|
|
@@ -1308,6 +1442,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1308
1442
|
* @remarks
|
|
1309
1443
|
* The SSH logon password, mutually exclusive with `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1310
1444
|
*
|
|
1445
|
+
* For security purposes, the password is encrypted in query results.
|
|
1446
|
+
*
|
|
1311
1447
|
* @example
|
|
1312
1448
|
* ********
|
|
1313
1449
|
*/
|
|
@@ -1316,13 +1452,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1316
1452
|
* @remarks
|
|
1317
1453
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1318
1454
|
*
|
|
1319
|
-
* - `PRIORITY`: Scales
|
|
1455
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of the highest-priority vSwitch, the next-priority vSwitch is automatically used.
|
|
1320
1456
|
*
|
|
1321
|
-
* - `COST_OPTIMIZED`: Attempts to create
|
|
1457
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of lowest vCPU unit price. When the scaling configuration settings include multiple instance types with preemptible billable methods, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1322
1458
|
*
|
|
1323
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
1459
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration settings include multiple instance types or use spot instances.
|
|
1324
1460
|
*
|
|
1325
|
-
* - `BALANCE`:
|
|
1461
|
+
* - `BALANCE`: Distributes ECS instances evenly across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the RebalanceInstances API to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1326
1462
|
*
|
|
1327
1463
|
* Default value: `PRIORITY`.
|
|
1328
1464
|
*
|
|
@@ -1332,7 +1468,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1332
1468
|
multiAzPolicy?: string;
|
|
1333
1469
|
/**
|
|
1334
1470
|
* @remarks
|
|
1335
|
-
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\].
|
|
1471
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
|
|
1336
1472
|
*
|
|
1337
1473
|
* @example
|
|
1338
1474
|
* 0
|
|
@@ -1340,7 +1476,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1340
1476
|
onDemandBaseCapacity?: number;
|
|
1341
1477
|
/**
|
|
1342
1478
|
* @remarks
|
|
1343
|
-
* The percentage of pay-as-you-go instances among
|
|
1479
|
+
* The percentage of pay-as-you-go instances among instances that exceed the minimum on-demand base capacity (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1344
1480
|
*
|
|
1345
1481
|
* @example
|
|
1346
1482
|
* 20
|
|
@@ -1350,15 +1486,17 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1350
1486
|
* @remarks
|
|
1351
1487
|
* The subscription duration of nodes. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1352
1488
|
*
|
|
1489
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1490
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1491
|
+
*
|
|
1353
1492
|
* @example
|
|
1354
1493
|
* 0
|
|
1355
1494
|
*/
|
|
1356
1495
|
period?: number;
|
|
1357
1496
|
/**
|
|
1358
1497
|
* @remarks
|
|
1359
|
-
* The billing
|
|
1498
|
+
* The billing period unit of nodes. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1360
1499
|
*
|
|
1361
|
-
* Valid values:
|
|
1362
1500
|
* - `Month`: billed on a monthly basis.
|
|
1363
1501
|
* - `Week`: billed on a weekly basis.
|
|
1364
1502
|
*
|
|
@@ -1370,6 +1508,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1370
1508
|
* @remarks
|
|
1371
1509
|
* The operating system distribution. Valid values:
|
|
1372
1510
|
*
|
|
1511
|
+
* - `CentOS`
|
|
1512
|
+
* - `AliyunLinux`
|
|
1513
|
+
* - `Windows`
|
|
1514
|
+
* - `WindowsCore`
|
|
1515
|
+
*
|
|
1373
1516
|
* @example
|
|
1374
1517
|
* AliyunLinux
|
|
1375
1518
|
*/
|
|
@@ -1397,7 +1540,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1397
1540
|
ramRoleName?: string;
|
|
1398
1541
|
/**
|
|
1399
1542
|
* @remarks
|
|
1400
|
-
*
|
|
1543
|
+
* If an RDS instance list is specified, the ECS instances in the cluster nodes are automatically added to the RDS access whitelist.
|
|
1401
1544
|
*/
|
|
1402
1545
|
rdsInstances?: string[];
|
|
1403
1546
|
/**
|
|
@@ -1415,10 +1558,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1415
1558
|
scalingGroupId?: string;
|
|
1416
1559
|
/**
|
|
1417
1560
|
* @remarks
|
|
1418
|
-
* The scaling mode
|
|
1561
|
+
* The scaling group mode. Valid values:
|
|
1419
1562
|
*
|
|
1420
|
-
* - `release`:
|
|
1421
|
-
* - `recycle`:
|
|
1563
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1564
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves subsequent scaling speed. Stopped instances are not charged for compute resources, only for storage. This does not apply to local disk instance types.
|
|
1422
1565
|
*
|
|
1423
1566
|
* @example
|
|
1424
1567
|
* release
|
|
@@ -1441,8 +1584,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1441
1584
|
* @remarks
|
|
1442
1585
|
* Specifies whether Alibaba Cloud OS security hardening is enabled. Valid values:
|
|
1443
1586
|
*
|
|
1444
|
-
* - `true`:
|
|
1445
|
-
* - `false`:
|
|
1587
|
+
* - `true`: Enabled.
|
|
1588
|
+
* - `false`: Not enabled.
|
|
1446
1589
|
*
|
|
1447
1590
|
* Default value: `false`.
|
|
1448
1591
|
*
|
|
@@ -1452,7 +1595,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1452
1595
|
securityHardeningOs?: boolean;
|
|
1453
1596
|
/**
|
|
1454
1597
|
* @remarks
|
|
1455
|
-
*
|
|
1598
|
+
* Specifies whether MLPS 2.0 security hardening is enabled. 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 classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 level 3 images.
|
|
1456
1599
|
*
|
|
1457
1600
|
* @example
|
|
1458
1601
|
* false
|
|
@@ -1460,7 +1603,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1460
1603
|
socEnabled?: boolean;
|
|
1461
1604
|
/**
|
|
1462
1605
|
* @remarks
|
|
1463
|
-
* The number of available instance types. The scaling group creates spot instances across
|
|
1606
|
+
* The number of available instance types. The scaling group creates spot instances evenly across the lowest-cost instance types. Valid values: [1,10\\].
|
|
1464
1607
|
*
|
|
1465
1608
|
* @example
|
|
1466
1609
|
* 5
|
|
@@ -1468,7 +1611,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1468
1611
|
spotInstancePools?: number;
|
|
1469
1612
|
/**
|
|
1470
1613
|
* @remarks
|
|
1471
|
-
* Specifies whether
|
|
1614
|
+
* Specifies whether spot instance supplementation is enabled. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1615
|
+
*
|
|
1616
|
+
* - `true`: Enabled.
|
|
1617
|
+
* - `false`: Not enabled.
|
|
1472
1618
|
*
|
|
1473
1619
|
* @example
|
|
1474
1620
|
* false
|
|
@@ -1476,7 +1622,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1476
1622
|
spotInstanceRemedy?: boolean;
|
|
1477
1623
|
/**
|
|
1478
1624
|
* @remarks
|
|
1479
|
-
* The price
|
|
1625
|
+
* The market price range configurations for spot instances.
|
|
1480
1626
|
*/
|
|
1481
1627
|
spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
|
|
1482
1628
|
/**
|
|
@@ -1484,7 +1630,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1484
1630
|
* The type of spot instance. Valid values:
|
|
1485
1631
|
* - NoSpot: non-spot instance.
|
|
1486
1632
|
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1487
|
-
* - SpotAsPriceGo:
|
|
1633
|
+
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1488
1634
|
*
|
|
1489
1635
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1490
1636
|
*
|
|
@@ -1494,11 +1640,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1494
1640
|
spotStrategy?: string;
|
|
1495
1641
|
/**
|
|
1496
1642
|
* @remarks
|
|
1497
|
-
*
|
|
1498
|
-
*
|
|
1643
|
+
* Specifies whether burst mode (performance bursting) is enabled for the node system cloud disk. Valid values:
|
|
1644
|
+
*
|
|
1645
|
+
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance to handle sudden data read/write pressure during fluctuating workloads until the workload stabilizes.
|
|
1499
1646
|
* - false: Not enabled.
|
|
1500
1647
|
*
|
|
1501
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud
|
|
1648
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
|
|
1502
1649
|
*
|
|
1503
1650
|
* @example
|
|
1504
1651
|
* true
|
|
@@ -1506,17 +1653,17 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1506
1653
|
systemDiskBurstingEnabled?: boolean;
|
|
1507
1654
|
/**
|
|
1508
1655
|
* @remarks
|
|
1509
|
-
*
|
|
1656
|
+
* The multi-disk types for system cloud disks. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk.
|
|
1510
1657
|
*/
|
|
1511
1658
|
systemDiskCategories?: string[];
|
|
1512
1659
|
/**
|
|
1513
1660
|
* @remarks
|
|
1514
|
-
* The
|
|
1661
|
+
* The system cloud disk type of nodes. Valid values:
|
|
1515
1662
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1516
1663
|
* - `cloud_ssd`: standard SSD.
|
|
1517
1664
|
* - `cloud_essd`: ESSD.
|
|
1518
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1519
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1665
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1666
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1520
1667
|
*
|
|
1521
1668
|
* @example
|
|
1522
1669
|
* cloud_efficiency
|
|
@@ -1533,6 +1680,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1533
1680
|
/**
|
|
1534
1681
|
* @remarks
|
|
1535
1682
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1683
|
+
* - `true`: Encrypted.
|
|
1684
|
+
* - `false`: Not encrypted.
|
|
1536
1685
|
*
|
|
1537
1686
|
* @example
|
|
1538
1687
|
* false
|
|
@@ -1548,7 +1697,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1548
1697
|
systemDiskKmsKeyId?: string;
|
|
1549
1698
|
/**
|
|
1550
1699
|
* @remarks
|
|
1551
|
-
* The performance level of the node system cloud disk. This
|
|
1700
|
+
* The performance level of the node system cloud disk. This applies only to ESSD cloud disks. The performance level is related to the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1701
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1702
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1703
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1704
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1552
1705
|
*
|
|
1553
1706
|
* @example
|
|
1554
1707
|
* PL1
|
|
@@ -1558,6 +1711,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1558
1711
|
* @remarks
|
|
1559
1712
|
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1560
1713
|
*
|
|
1714
|
+
* Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1715
|
+
*
|
|
1716
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
|
|
1717
|
+
*
|
|
1561
1718
|
* @example
|
|
1562
1719
|
* 1000
|
|
1563
1720
|
*/
|
|
@@ -1566,6 +1723,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1566
1723
|
* @remarks
|
|
1567
1724
|
* The system cloud disk size of nodes. Unit: GiB.
|
|
1568
1725
|
*
|
|
1726
|
+
* Valid values: [20,2048\\].
|
|
1727
|
+
*
|
|
1569
1728
|
* @example
|
|
1570
1729
|
* 120
|
|
1571
1730
|
*/
|
|
@@ -1830,7 +1989,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1830
1989
|
export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model {
|
|
1831
1990
|
/**
|
|
1832
1991
|
* @remarks
|
|
1833
|
-
* The
|
|
1992
|
+
* The node pool conditions, which represent the status information of the node pool across different dimensions.
|
|
1834
1993
|
*/
|
|
1835
1994
|
conditions?: DescribeClusterNodePoolDetailResponseBodyStatusConditions[];
|
|
1836
1995
|
/**
|
|
@@ -1851,7 +2010,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1851
2010
|
healthyNodes?: number;
|
|
1852
2011
|
/**
|
|
1853
2012
|
* @remarks
|
|
1854
|
-
* The number of nodes
|
|
2013
|
+
* The number of nodes being created.
|
|
1855
2014
|
*
|
|
1856
2015
|
* @example
|
|
1857
2016
|
* 0
|
|
@@ -1867,7 +2026,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1867
2026
|
offlineNodes?: number;
|
|
1868
2027
|
/**
|
|
1869
2028
|
* @remarks
|
|
1870
|
-
* The number of nodes
|
|
2029
|
+
* The number of nodes being removed.
|
|
1871
2030
|
*
|
|
1872
2031
|
* @example
|
|
1873
2032
|
* 0
|
|
@@ -1875,7 +2034,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1875
2034
|
removingNodes?: number;
|
|
1876
2035
|
/**
|
|
1877
2036
|
* @remarks
|
|
1878
|
-
* The number of
|
|
2037
|
+
* The number of serving nodes.
|
|
1879
2038
|
*
|
|
1880
2039
|
* @example
|
|
1881
2040
|
* 3
|
|
@@ -1883,13 +2042,13 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1883
2042
|
servingNodes?: number;
|
|
1884
2043
|
/**
|
|
1885
2044
|
* @remarks
|
|
1886
|
-
* The
|
|
2045
|
+
* The node pool status. Valid values:
|
|
1887
2046
|
*
|
|
1888
|
-
* - `active`:
|
|
1889
|
-
* - `scaling`:
|
|
1890
|
-
* - `removing`:
|
|
1891
|
-
* - `deleting`:
|
|
1892
|
-
* - `updating`:
|
|
2047
|
+
* - `active`: The node pool is active.
|
|
2048
|
+
* - `scaling`: The node pool is scaling.
|
|
2049
|
+
* - `removing`: Nodes are being removed.
|
|
2050
|
+
* - `deleting`: The node pool is being deleted.
|
|
2051
|
+
* - `updating`: The node pool is being updated.
|
|
1893
2052
|
*
|
|
1894
2053
|
* @example
|
|
1895
2054
|
* active
|
|
@@ -1946,7 +2105,10 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1946
2105
|
export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Model {
|
|
1947
2106
|
/**
|
|
1948
2107
|
* @remarks
|
|
1949
|
-
* Specifies whether to enable
|
|
2108
|
+
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
2109
|
+
*
|
|
2110
|
+
* - `true`: enabled.
|
|
2111
|
+
* - `false`: not enabled.
|
|
1950
2112
|
*
|
|
1951
2113
|
* @example
|
|
1952
2114
|
* false
|
|
@@ -1992,6 +2154,8 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1992
2154
|
/**
|
|
1993
2155
|
* @remarks
|
|
1994
2156
|
* Specifies whether the Pod network mode uses host network mode.
|
|
2157
|
+
* - `true`: host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
2158
|
+
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1995
2159
|
*
|
|
1996
2160
|
* @example
|
|
1997
2161
|
* true
|
|
@@ -2000,11 +2164,16 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2000
2164
|
/**
|
|
2001
2165
|
* @remarks
|
|
2002
2166
|
* **[Deprecated]**
|
|
2167
|
+
*
|
|
2168
|
+
* The network-related configuration of the edge node pool. This value is only meaningful for node pools of the edge type.
|
|
2003
2169
|
*/
|
|
2004
2170
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
2005
2171
|
/**
|
|
2006
2172
|
* @remarks
|
|
2007
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
2173
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
2174
|
+
*
|
|
2175
|
+
* - `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.
|
|
2176
|
+
* - `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.
|
|
2008
2177
|
*
|
|
2009
2178
|
* @example
|
|
2010
2179
|
* basic
|
|
@@ -2013,6 +2182,8 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2013
2182
|
/**
|
|
2014
2183
|
* @remarks
|
|
2015
2184
|
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
2185
|
+
* - `true`: connected. All nodes in the node pool have Layer 3 network connectivity with each other.
|
|
2186
|
+
* - `false`: not connected. All nodes in the node pool do not have Layer 3 network connectivity with each other.
|
|
2016
2187
|
*
|
|
2017
2188
|
* @example
|
|
2018
2189
|
* true
|
|
@@ -2032,6 +2203,8 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2032
2203
|
* @remarks
|
|
2033
2204
|
* **[Deprecated]**
|
|
2034
2205
|
*
|
|
2206
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
2207
|
+
*
|
|
2035
2208
|
* @example
|
|
2036
2209
|
* 10
|
|
2037
2210
|
*/
|