@alicloud/cs20151215 7.1.0 → 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.
Files changed (48) hide show
  1. package/dist/client.d.ts +18 -6
  2. package/dist/client.js +18 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
  5. package/dist/models/CreateClusterNodePoolRequest.js +27 -1
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +345 -70
  8. package/dist/models/CreateClusterRequest.js.map +1 -1
  9. package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
  10. package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
  11. package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
  12. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
  13. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
  14. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  15. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
  16. package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
  17. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  18. package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
  19. package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
  20. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  21. package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
  22. package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
  23. package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
  24. package/dist/models/Nodepool.d.ts +225 -55
  25. package/dist/models/Nodepool.js +33 -1
  26. package/dist/models/Nodepool.js.map +1 -1
  27. package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
  28. package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
  29. package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
  30. package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
  31. package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
  32. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  33. package/dist/models/model.d.ts +9 -0
  34. package/dist/models/model.js +110 -92
  35. package/dist/models/model.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +18 -6
  38. package/src/models/CreateClusterNodePoolRequest.ts +379 -76
  39. package/src/models/CreateClusterRequest.ts +345 -70
  40. package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
  41. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
  42. package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
  43. package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
  44. package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
  45. package/src/models/Nodepool.ts +247 -55
  46. package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
  47. package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
  48. package/src/models/model.ts +9 -0
@@ -10,6 +10,9 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
10
10
  /**
11
11
  * @remarks
12
12
  * Specifies whether to enable intelligent managed mode.
13
+ * Valid values:
14
+ * - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
15
+ * - false: Does not enable intelligent managed mode.
13
16
  *
14
17
  * @example
15
18
  * true
@@ -43,6 +46,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
43
46
  * @remarks
44
47
  * **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
45
48
  *
49
+ * The billing method of the EIP. Valid values:
50
+ * - `PayByBandwidth`: pay-by-bandwidth.
51
+ * - `PayByTraffic`: pay-by-traffic.
52
+ *
53
+ * Default value: `PayByBandwidth`.
54
+ *
46
55
  * @example
47
56
  * null
48
57
  *
@@ -51,7 +60,15 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
51
60
  eipInternetChargeType?: string;
52
61
  /**
53
62
  * @remarks
54
- * Specifies whether to enable auto scaling. Valid values:
63
+ * Specifies whether to enable automatic scaling. Valid values:
64
+ *
65
+ * - `true`: enables the automatic 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 enable instant node scaling by default. Clusters of versions earlier than 1.24 enable automatic node scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
66
+ *
67
+ * - `false`: disables automatic 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.
68
+ *
69
+ * When the value is false, other configuration parameters in `auto_scaling` do not take effect.
70
+ *
71
+ * Default value: `false`.
55
72
  *
56
73
  * @example
57
74
  * false
@@ -61,6 +78,14 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
61
78
  * @remarks
62
79
  * **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
63
80
  *
81
+ * Specifies whether to associate an EIP. Valid values:
82
+ *
83
+ * - `true`: associates an EIP.
84
+ *
85
+ * - `false`: does not associate an EIP.
86
+ *
87
+ * Default value: `false`.
88
+ *
64
89
  * @example
65
90
  * null
66
91
  *
@@ -69,7 +94,9 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
69
94
  isBondEip?: boolean;
70
95
  /**
71
96
  * @remarks
72
- * The maximum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
97
+ * The maximum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
98
+ *
99
+ * Valid values: [min_instances, 2000]. Default value: 0.
73
100
  *
74
101
  * @example
75
102
  * 10
@@ -77,7 +104,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
77
104
  maxInstances?: number;
78
105
  /**
79
106
  * @remarks
80
- * The minimum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
107
+ * The minimum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
108
+ *
109
+ * Valid values: [0, max_instances]. Default value: 0.
110
+ *
111
+ * > - If the minimum number of instances is not 0, the corresponding number of ECS instances are subject to automatic creation after the scaling group takes effect.
112
+ * > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the elastic scaling feature takes effect.
81
113
  *
82
114
  * @example
83
115
  * 1
@@ -85,7 +117,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
85
117
  minInstances?: number;
86
118
  /**
87
119
  * @remarks
88
- * The automatic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
120
+ * The instance type for elastic scaling. This parameter takes effect only when `enable=true`. Valid values:
121
+ *
122
+ * - `cpu`: regular instance type.
123
+ *
124
+ * - `gpu`: GPU instance type.
125
+ *
126
+ * - `gpushare`: GPU sharing type.
127
+ *
128
+ * - `spot`: spot instance type.
129
+ *
130
+ * Default value: `cpu`.
131
+ * >Notice: This parameter cannot be modified after the node pool is created.
89
132
  *
90
133
  * @example
91
134
  * cpu
@@ -105,7 +148,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
105
148
  export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
106
149
  /**
107
150
  * @remarks
108
- * Specifies whether to enable automatic addition for the Lingjun node pool.
151
+ * Specifies whether to enable automatic node addition for the Lingjun node pool.
109
152
  */
110
153
  autoAttachEnabled?: boolean;
111
154
  /**
@@ -145,6 +188,8 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
145
188
  * @remarks
146
189
  * **[Deprecated]**
147
190
  *
191
+ * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
192
+ *
148
193
  * @example
149
194
  * null
150
195
  */
@@ -153,6 +198,8 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
153
198
  * @remarks
154
199
  * **[Deprecated]**
155
200
  *
201
+ * The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
202
+ *
156
203
  * @example
157
204
  * null
158
205
  */
@@ -161,6 +208,8 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
161
208
  * @remarks
162
209
  * **[Deprecated]**
163
210
  *
211
+ * The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
212
+ *
164
213
  * @example
165
214
  * null
166
215
  */
@@ -169,6 +218,8 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
169
218
  * @remarks
170
219
  * **[Deprecated]**
171
220
  *
221
+ * The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
222
+ *
172
223
  * @example
173
224
  * null
174
225
  */
@@ -177,6 +228,8 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
177
228
  * @remarks
178
229
  * **[Deprecated]**
179
230
  *
231
+ * The purchase duration of the enhanced edge node pool. Unit: months.
232
+ *
180
233
  * @example
181
234
  * null
182
235
  */
@@ -195,7 +248,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
195
248
  export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
196
249
  /**
197
250
  * @remarks
198
- * 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:
251
+ * Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
199
252
  *
200
253
  * - `true`: Installs the CloudMonitor agent on ECS nodes.
201
254
  *
@@ -209,7 +262,12 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
209
262
  cmsEnabled?: boolean;
210
263
  /**
211
264
  * @remarks
212
- * The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
265
+ * The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 and later:
266
+ *
267
+ * - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
268
+ * - `none`: Enables the existing default CPU affinity scheme.
269
+ *
270
+ * Default value: `none`.
213
271
  *
214
272
  * @example
215
273
  * none
@@ -223,6 +281,21 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
223
281
  /**
224
282
  * @remarks
225
283
  * The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
284
+ * > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing the dots (.) in the IP address, and does not include the prefix or suffix.
285
+ *
286
+ * The node name consists of three parts: prefix, node IP address, and suffix.
287
+ *
288
+ * - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
289
+ *
290
+ * - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
291
+ * - The prefix is required (ECS restriction). The suffix is optional.
292
+ * - The node IP is the full private IP address of the node.
293
+ *
294
+ * Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
295
+ *
296
+ * - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
297
+ *
298
+ * - For a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
226
299
  *
227
300
  * @example
228
301
  * aliyun.com192.XX.YY.55test
@@ -230,7 +303,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
230
303
  nodeNameMode?: string;
231
304
  /**
232
305
  * @remarks
233
- * The instance pre-custom data. Before the node joins the cluster, the specified pre-custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
306
+ * The pre-user data for the instance. Before the node joins the cluster, the specified pre-user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
234
307
  *
235
308
  * @example
236
309
  * dGhpcyBpcyBhIGV4YW1wbGU
@@ -238,7 +311,13 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
238
311
  preUserData?: string;
239
312
  /**
240
313
  * @remarks
241
- * The container runtime name. ACK supports the following three container runtimes.
314
+ * The container runtime name. ACK supports the following three container runtimes:
315
+ *
316
+ * - containerd: Recommended. Supported by all cluster versions.
317
+ * - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supported by clusters of version 1.31 and earlier.
318
+ * - docker: No longer maintained. Supported by clusters of version 1.22 and earlier.
319
+ *
320
+ * Default value: containerd.
242
321
  *
243
322
  * @example
244
323
  * containerd
@@ -259,7 +338,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
259
338
  taints?: Taint[];
260
339
  /**
261
340
  * @remarks
262
- * Specifies whether the scaled-out nodes are unschedulable.
341
+ * Specifies whether nodes are unschedulable after scale-out.
342
+ *
343
+ * - true: Unschedulable.
344
+ *
345
+ * - false: Schedulable.
263
346
  *
264
347
  * @example
265
348
  * true
@@ -267,7 +350,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
267
350
  unschedulable?: boolean;
268
351
  /**
269
352
  * @remarks
270
- * The instance user data. After the node joins the cluster, the specified instance user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
353
+ * The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
271
354
  *
272
355
  * @example
273
356
  * dGhpcyBpcyBhIGV4YW1wbGU=
@@ -292,7 +375,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
292
375
  approvalRequired?: boolean;
293
376
  /**
294
377
  * @remarks
295
- * The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
378
+ * The maximum number of nodes that can be repaired in parallel. When a large number of unhealthy nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
296
379
  *
297
380
  * @example
298
381
  * 5
@@ -300,7 +383,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
300
383
  maxParallelRepairingNodes?: string;
301
384
  /**
302
385
  * @remarks
303
- * 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. You can specify a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
386
+ * The self-healing circuit breaker threshold. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. You can specify a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
304
387
  *
305
388
  * @example
306
389
  * 20%
@@ -310,6 +393,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
310
393
  * @remarks
311
394
  * Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
312
395
  *
396
+ * - `true`: Node restarts are allowed.
397
+ * - `false`: Node restarts are not allowed.
398
+ *
399
+ * Default value: `true`.
400
+ *
313
401
  * @example
314
402
  * true
315
403
  */
@@ -329,6 +417,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
329
417
  /**
330
418
  * @remarks
331
419
  * Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
420
+ * - `true`: Automatic kubelet upgrade is allowed.
421
+ * - `false`: Automatic kubelet upgrade is not allowed.
422
+ *
423
+ * Default value: `true`.
332
424
  *
333
425
  * @example
334
426
  * true
@@ -337,6 +429,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
337
429
  /**
338
430
  * @remarks
339
431
  * Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
432
+ * - `true`: Automatic OS upgrade is allowed.
433
+ * - `false`: Automatic OS upgrade is not allowed.
434
+ *
435
+ *
436
+ * Default value: `false`.
340
437
  *
341
438
  * @example
342
439
  * false
@@ -345,6 +442,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
345
442
  /**
346
443
  * @remarks
347
444
  * Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
445
+ * - `true`: Automatic runtime upgrade is allowed.
446
+ * - `false`: Automatic runtime upgrade is not allowed.
447
+ *
448
+ * Default value: `true`.
348
449
  *
349
450
  * @example
350
451
  * false
@@ -366,6 +467,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
366
467
  * @remarks
367
468
  * The packages to exclude during vulnerability fix.
368
469
  *
470
+ * Default value: `kernel`.
471
+ *
369
472
  * @example
370
473
  * kernel
371
474
  */
@@ -384,7 +487,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
384
487
  restartNode?: boolean;
385
488
  /**
386
489
  * @remarks
387
- * The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
490
+ * The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`. Valid values:
491
+ *
492
+ * - `asap`: high
493
+ * - `later`: medium
494
+ * - `nntf`: low
495
+ *
496
+ * Default value: `asap`.
388
497
  *
389
498
  * @example
390
499
  * asap,nntf
@@ -406,6 +515,12 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
406
515
  * @remarks
407
516
  * **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
408
517
  *
518
+ * Specifies whether to enable automatic upgrade. Valid values:
519
+ *
520
+ * - `true`: Automatic upgrade is enabled.
521
+ *
522
+ * - `false`: Automatic upgrade is disabled.
523
+ *
409
524
  * @example
410
525
  * null
411
526
  *
@@ -415,6 +530,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
415
530
  /**
416
531
  * @remarks
417
532
  * The maximum number of unavailable nodes.
533
+ * Valid range: [1,1000\\].
534
+ *
535
+ * Default value: 1.
418
536
  *
419
537
  * @example
420
538
  * 1
@@ -424,6 +542,10 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
424
542
  * @remarks
425
543
  * The number of extra nodes. You can specify either this parameter or `surge_percentage`.
426
544
  *
545
+ * Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
546
+ *
547
+ * > The number of extra nodes should not exceed the current number of nodes.
548
+ *
427
549
  * @example
428
550
  * 0
429
551
  */
@@ -432,6 +554,8 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
432
554
  * @remarks
433
555
  * The percentage of extra nodes. You can specify either this parameter or `surge`.
434
556
  *
557
+ * 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.
558
+ *
435
559
  * @example
436
560
  * 0
437
561
  */
@@ -457,6 +581,12 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
457
581
  * @remarks
458
582
  * Specifies whether to enable automatic node repair. This parameter takes effect only when `enable=true`.
459
583
  *
584
+ * - `true`: Enabled.
585
+ *
586
+ * - `false`: Disabled.
587
+ *
588
+ * Default value: `true`.
589
+ *
460
590
  * @example
461
591
  * true
462
592
  */
@@ -469,6 +599,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
469
599
  /**
470
600
  * @remarks
471
601
  * Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
602
+ * - `true`: Automatic upgrade is enabled.
603
+ * - `false`: Automatic upgrade is disabled.
604
+ *
605
+ * Default value: `true`.
472
606
  *
473
607
  * @example
474
608
  * true
@@ -483,6 +617,11 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
483
617
  * @remarks
484
618
  * Specifies whether to enable automatic CVE vulnerability fix. This parameter takes effect only when `enable=true`.
485
619
  *
620
+ * - `true`: Automatic CVE fix is enabled.
621
+ * - `false`: Automatic CVE fix is disabled.
622
+ *
623
+ * Default value: `true`.
624
+ *
486
625
  * @example
487
626
  * true
488
627
  */
@@ -494,13 +633,19 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
494
633
  autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
495
634
  /**
496
635
  * @remarks
497
- * Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Regular node pools do not support this feature.
636
+ * 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.
498
637
  */
499
638
  driftEnabled?: boolean;
500
639
  /**
501
640
  * @remarks
502
641
  * Specifies whether to enable the managed node pool feature. Valid values:
503
642
  *
643
+ * - `true`: Enabled.
644
+ *
645
+ * - `false`: Disabled. Other related configurations take effect only when enable is set to true.
646
+ *
647
+ * Default value: false.
648
+ *
504
649
  * @example
505
650
  * false
506
651
  */
@@ -525,6 +670,34 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
525
670
  [key: string]: any;
526
671
  });
527
672
  }
673
+ export declare class CreateClusterNodePoolRequestNodeComponentsConfigEnvs extends $dara.Model {
674
+ /**
675
+ * @remarks
676
+ * The name of the environment variable.
677
+ *
678
+ * @example
679
+ * LOG_LEVEL
680
+ */
681
+ name?: string;
682
+ /**
683
+ * @remarks
684
+ * The value of the environment variable.
685
+ *
686
+ * @example
687
+ * info
688
+ */
689
+ value?: string;
690
+ static names(): {
691
+ [key: string]: string;
692
+ };
693
+ static types(): {
694
+ [key: string]: any;
695
+ };
696
+ validate(): void;
697
+ constructor(map?: {
698
+ [key: string]: any;
699
+ });
700
+ }
528
701
  export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
529
702
  /**
530
703
  * @remarks
@@ -536,6 +709,11 @@ export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $d
536
709
  customConfig?: {
537
710
  [key: string]: any;
538
711
  };
712
+ /**
713
+ * @remarks
714
+ * The environment variables of the node component.
715
+ */
716
+ envs?: CreateClusterNodePoolRequestNodeComponentsConfigEnvs[];
539
717
  static names(): {
540
718
  [key: string]: string;
541
719
  };
@@ -550,12 +728,12 @@ export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $d
550
728
  export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
551
729
  /**
552
730
  * @remarks
553
- * The node component configuration.
731
+ * The configuration of the node component.
554
732
  */
555
733
  config?: CreateClusterNodePoolRequestNodeComponentsConfig;
556
734
  /**
557
735
  * @remarks
558
- * The node component name.
736
+ * The name of the node component.
559
737
  *
560
738
  * @example
561
739
  * kubelet
@@ -563,7 +741,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
563
741
  name?: string;
564
742
  /**
565
743
  * @remarks
566
- * The node component version.
744
+ * The version of the node component.
567
745
  *
568
746
  * @example
569
747
  * 1.33.3-aliyun.1
@@ -583,7 +761,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
583
761
  export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
584
762
  /**
585
763
  * @remarks
586
- * The Kubelet parameter settings.
764
+ * The kubelet parameter settings.
587
765
  */
588
766
  kubeletConfiguration?: KubeletConfig;
589
767
  static names(): {
@@ -612,6 +790,8 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
612
790
  * @remarks
613
791
  * The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
614
792
  *
793
+ * A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on different business scenarios.
794
+ *
615
795
  * @example
616
796
  * rg-acfmyvw3wjmb****
617
797
  */
@@ -620,6 +800,11 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
620
800
  * @remarks
621
801
  * The node pool type. Valid values:
622
802
  *
803
+ * - `ess`: regular node pool (includes managed features and elastic scaling).
804
+ * - `edge`: edge node pool.
805
+ * - `lingjun`: Lingjun node pool.
806
+ * - `hybrid`: hybrid cloud node pool.
807
+ *
623
808
  * @example
624
809
  * ess
625
810
  */
@@ -666,10 +851,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
666
851
  id?: string;
667
852
  /**
668
853
  * @remarks
669
- * The type of the private node pool. The private pool option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during startup. Valid values:
670
- * - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to start the instance.
671
- * - `Target`: targeted mode. The instance is started using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to start.
672
- * - `None`: none mode. The instance does not use private pool capacity during startup.
854
+ * 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:
855
+ * - `Open`: open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
856
+ * - `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.
857
+ * - `None`: none mode. The instance launch does not use private pool capacity.
673
858
  *
674
859
  * @example
675
860
  * Target
@@ -694,13 +879,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
694
879
  privatePoolIds?: string[];
695
880
  /**
696
881
  * @remarks
697
- * The resource pool strategy used when instances are created. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, which are available for instance startup. Valid values:
698
- *
699
- * - PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
700
- * - PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
701
- * - None: no resource pool strategy is used.
702
- *
703
- * Default value: None.
882
+ * The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launch. Valid values: PrivatePoolFirst: private pool first. When this policy is selected and resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open private pools are automatically matched. If no matching private pool is available, public pool resources are used. PrivatePoolOnly: private pool only. When this policy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, the instance fails to launch. None: no resource pool policy. Default value: None.
704
883
  *
705
884
  * @example
706
885
  * PrivatePoolFirst
@@ -728,7 +907,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
728
907
  instanceType?: string;
729
908
  /**
730
909
  * @remarks
731
- * The maximum price of a single instance.
910
+ * The maximum price per instance.
732
911
  * <props="china">Unit: CNY/hour.
733
912
  *
734
913
  *
@@ -783,13 +962,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
783
962
  * @remarks
784
963
  * Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
785
964
  *
965
+ * - `true`: enables auto-renewal.
966
+ * - `false`: disables auto-renewal.
967
+ *
968
+ * Default value: `false`.
969
+ *
786
970
  * @example
787
971
  * true
788
972
  */
789
973
  autoRenew?: boolean;
790
974
  /**
791
975
  * @remarks
792
- * The duration of a single auto-renewal cycle. Valid values:
976
+ * The auto-renewal duration for a single renewal. Valid values:
977
+ * - PeriodUnit=Week: 1, 2, 3.
978
+ * - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
979
+ *
980
+ * Default value: 1.
793
981
  *
794
982
  * @example
795
983
  * 1
@@ -807,7 +995,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
807
995
  cisEnabled?: boolean;
808
996
  /**
809
997
  * @remarks
810
- * Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
998
+ * Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when `multi_az_policy` is set to `COST_OPTIMIZED` and spot instances cannot be created due to cost, inventory, or other reasons. Valid values:
811
999
  *
812
1000
  * - `true`: Allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
813
1001
  * - `false`: Does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
@@ -823,15 +1011,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
823
1011
  cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
824
1012
  /**
825
1013
  * @remarks
826
- * The data cloud disk configurations for nodes in the node pool.
1014
+ * The data cloud disk configurations of nodes in the node pool.
827
1015
  */
828
1016
  dataDisks?: DataDisk[];
829
1017
  /**
830
1018
  * @remarks
831
- * The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When ECS instances are created within a deployment set, they are launched in the specified region based on the preconfigured deployment strategy.
1019
+ * The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery. When ECS instances are created within a deployment set, they are launched in the specified region based on the preconfigured deployment policy.
832
1020
  *
833
1021
  *
834
- * >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × number of zones (the number of zones is determined by the vSwitches). Select a deployment set with caution and ensure that the quota in the deployment set is sufficient to avoid node scale-out failures.
1022
+ * >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. The default maximum number of nodes supported by a deployment set is 20 × the number of zones (the number of zones is determined by the vSwitches). Select carefully and ensure that the deployment set has sufficient quota to avoid node scale-out failures.
835
1023
  *
836
1024
  * @example
837
1025
  * ds-bp1d19mmbsv3jf6xxxxx
@@ -841,6 +1029,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
841
1029
  * @remarks
842
1030
  * The desired number of nodes in the node pool.
843
1031
  *
1032
+ * The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
1033
+ *
1034
+ * If you do not need to create nodes, set this parameter to 0. You can manually adjust the value later to add nodes.
1035
+ *
844
1036
  * @example
845
1037
  * 0
846
1038
  */
@@ -852,7 +1044,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
852
1044
  diskInit?: DiskInit[];
853
1045
  /**
854
1046
  * @remarks
855
- * Specifies whether to enable high-density cloud disk mode. 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 high-density cloud disk limit supported by the instance type.
1047
+ * Specifies whether to enable high-density cloud disk mode. 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.
856
1048
  *
857
1049
  * @example
858
1050
  * false
@@ -870,6 +1062,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
870
1062
  * @remarks
871
1063
  * The type of operating system image. Valid values:
872
1064
  *
1065
+ * - `AliyunLinux`: Alinux2 image.
1066
+ * - `AliyunLinuxSecurity`: Alinux2 UEFI image.
1067
+ * - `AliyunLinux3`: Alinux3 image.
1068
+ * - `AliyunLinux3Arm64`: Alinux3 ARM image.
1069
+ * - `AliyunLinux3Security`: Alinux3 UEFI image.
1070
+ * - `CentOS`: CentOS image.
1071
+ * - `Windows`: Windows image.
1072
+ * - `WindowsCore`: WindowsCore image.
1073
+ * - `ContainerOS`: container-optimized image.
1074
+ * - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
1075
+ *
873
1076
  * @example
874
1077
  * AliyunLinux3
875
1078
  */
@@ -878,6 +1081,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
878
1081
  * @remarks
879
1082
  * The billing method of nodes in the node pool. Valid values:
880
1083
  *
1084
+ * - `PrePaid`: subscription.
1085
+ *
1086
+ * - `PostPaid`: pay-as-you-go.
1087
+ *
1088
+ * Default value: `PostPaid`.
1089
+ *
881
1090
  * This parameter is required.
882
1091
  *
883
1092
  * @example
@@ -896,11 +1105,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
896
1105
  instancePatterns?: InstancePatterns[];
897
1106
  /**
898
1107
  * @remarks
899
- * The list of instance types for nodes in the node pool. When the node pool scales out, instances are created based on eligible instance types from this list.
1108
+ * The list of instance types for the node pool. When the node pool scales out, instances are created based on the instance types that meet the requirements from this list.
900
1109
  *
901
- * Number of supported instance types: [1, 10].
1110
+ * The number of supported instance types ranges from 1 to 10.
902
1111
  *
903
- * > To ensure high availability, select multiple instance types.
1112
+ *
1113
+ * > To ensure high availability, specify multiple instance types.
904
1114
  *
905
1115
  * This parameter is required.
906
1116
  */
@@ -909,8 +1119,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
909
1119
  * @remarks
910
1120
  * The billing method for public IP addresses. Valid values:
911
1121
  *
912
- * - PayByBandwidth: pay-by-bandwidth.
913
- * - PayByTraffic: pay-by-data-transfer.
1122
+ * - PayByBandwidth: billed on a fixed bandwidth basis.
1123
+ * - PayByTraffic: billed on a traffic usage basis.
914
1124
  *
915
1125
  * @example
916
1126
  * PayByTraffic
@@ -918,7 +1128,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
918
1128
  internetChargeType?: string;
919
1129
  /**
920
1130
  * @remarks
921
- * The maximum outbound bandwidth for the public IP of nodes. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
1131
+ * The maximum outbound public bandwidth of the node. Unit: Mbit/s. Valid values: [1,100\\].
922
1132
  *
923
1133
  * @example
924
1134
  * 5
@@ -928,17 +1138,19 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
928
1138
  * @remarks
929
1139
  * The name of the key pair for password-free logon. Use either this parameter or `login_password`.
930
1140
  *
1141
+ * >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
1142
+ *
931
1143
  * @example
932
1144
  * np-key-name
933
1145
  */
934
1146
  keyPair?: string;
935
1147
  /**
936
1148
  * @remarks
937
- * Specifies whether to log on to the scaled-out ECS instances as a non-root user.
1149
+ * Specifies whether the scaled-out ECS instance uses a non-root user for logon.
938
1150
  *
939
- * - true: Log on as a non-root user (ecs-user).
1151
+ * - true: logs on as a non-root user (ecs-user).
940
1152
  *
941
- * - false: Log on as the root user.
1153
+ * - false: logs on as the root user.
942
1154
  *
943
1155
  * @example
944
1156
  * true
@@ -946,7 +1158,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
946
1158
  loginAsNonRoot?: boolean;
947
1159
  /**
948
1160
  * @remarks
949
- * The SSH logon password. Use either this parameter or `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.
1161
+ * The SSH logon password. Use either this parameter or `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.
950
1162
  *
951
1163
  * @example
952
1164
  * ****
@@ -956,13 +1168,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
956
1168
  * @remarks
957
1169
  * The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
958
1170
  *
959
- * - `PRIORITY`: Scales ECS instances 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.
1171
+ * - `PRIORITY`: Scales instances 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.
960
1172
  *
961
- * - `COST_OPTIMIZED`: Attempts to create ECS instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with the spot billing method, 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 or other reasons.
1173
+ * - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration settings specify multiple instance types with the preemptible billing method, 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 or other reasons.
962
1174
  *
963
- * >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
1175
+ * >`COST_OPTIMIZED` takes effect only when the scaling configuration settings specify multiple instance types or use spot instances.
964
1176
  *
965
- * - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in 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) operation to rebalance resources.
1177
+ * - `BALANCE`: Evenly allocates ECS instances across the zones specified in 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.
966
1178
  *
967
1179
  * Default value: `PRIORITY`.
968
1180
  *
@@ -972,7 +1184,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
972
1184
  multiAzPolicy?: string;
973
1185
  /**
974
1186
  * @remarks
975
- * The minimum number of pay-as-you-go instances required in 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 preferentially created.
1187
+ * The minimum number of pay-as-you-go instances required in 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.
976
1188
  *
977
1189
  * @example
978
1190
  * 0
@@ -990,13 +1202,21 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
990
1202
  * @remarks
991
1203
  * The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
992
1204
  *
1205
+ * - If `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
1206
+ * - If `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
1207
+ *
993
1208
  * @example
994
1209
  * 1
995
1210
  */
996
1211
  period?: number;
997
1212
  /**
998
1213
  * @remarks
999
- * The unit of the subscription period for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
1214
+ * The billing epoch of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
1215
+ *
1216
+ * - `Month`: uses month as the compute unit (CU).
1217
+ * - `Week`: uses week as the compute unit (CU).
1218
+ *
1219
+ * Default value: `Month`.
1000
1220
  *
1001
1221
  * @example
1002
1222
  * Month
@@ -1006,6 +1226,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1006
1226
  * @remarks
1007
1227
  * **[Deprecated]** Use the `image_type` parameter instead.
1008
1228
  *
1229
+ * The operating system distribution. Valid values:
1230
+ * - `CentOS`
1231
+ * - `AliyunLinux`
1232
+ * - `Windows`
1233
+ * - `WindowsCore`
1234
+ *
1235
+ * Default value: `AliyunLinux`.
1236
+ *
1009
1237
  * @example
1010
1238
  * null
1011
1239
  *
@@ -1019,12 +1247,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1019
1247
  privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
1020
1248
  /**
1021
1249
  * @remarks
1022
- * The name of the worker RAM role.
1250
+ * The Worker RAM role name.
1023
1251
  *
1024
- * * If this parameter is left empty, the default worker RAM role created by the cluster is used.
1025
- * * If this parameter is specified, the specified RAM role must be a **normal service role**, and its **trusted service** must be configured as **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
1252
+ * * If left empty, the default Worker RAM role created by the cluster is used.
1253
+ * * If specified, the RAM role must be a **regular service role** with its **trusted service** configured as **Elastic Compute Service**. For more information, see [Create a regular service role](https://help.aliyun.com/document_detail/116800.html). When the specified RAM role is not the default Worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
1026
1254
  *
1027
- * >Notice: This parameter is supported only by ACK managed clusters of version 1.22 or later.</notice>
1255
+ * >Notice: Only ACK managed clusters of version 1.22 or later support this parameter.
1028
1256
  *
1029
1257
  * @example
1030
1258
  * example-role
@@ -1032,25 +1260,30 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1032
1260
  ramRoleName?: string;
1033
1261
  /**
1034
1262
  * @remarks
1035
- * The list of RDS instances.
1263
+ * The list of ApsaraDB RDS instances.
1036
1264
  */
1037
1265
  rdsInstances?: string[];
1038
1266
  /**
1039
1267
  * @remarks
1040
- * The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
1268
+ * The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following: This parameter takes effect only when creating pay-as-you-go instances. This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
1041
1269
  */
1042
1270
  resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
1043
1271
  /**
1044
1272
  * @remarks
1045
1273
  * The scaling group mode. Valid values:
1046
1274
  *
1275
+ * - `release`: standard mode. Scales instances by creating and releasing ECS instances based on resource usage.
1276
+ * - `recycle`: swift mode. Scales instances by creating, stopping, and starting ECS instances, which improves the speed of subsequent scaling operations. Compute resources are not charged during the stop period. Only storage fees are charged, except for instances with local disks.
1277
+ *
1278
+ * Default value: `release`.
1279
+ *
1047
1280
  * @example
1048
1281
  * release
1049
1282
  */
1050
1283
  scalingPolicy?: string;
1051
1284
  /**
1052
1285
  * @remarks
1053
- * The security group ID of the node pool. Use either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
1286
+ * The security group ID of the node pool. Use either this parameter or `security_group_ids`. Using `security_group_ids` is recommended.
1054
1287
  *
1055
1288
  * @example
1056
1289
  * sg-wz9a8g2mt6x5llu0****
@@ -1065,7 +1298,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1065
1298
  securityGroupIds?: string[];
1066
1299
  /**
1067
1300
  * @remarks
1068
- * Alibaba Cloud OS security hardening. Valid values:
1301
+ * Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
1302
+ *
1303
+ * - `true`: enables Alibaba Cloud OS security hardening.
1304
+ * - `false`: disables Alibaba Cloud OS security hardening.
1305
+ *
1306
+ * Default value: `false`.
1069
1307
  *
1070
1308
  * @example
1071
1309
  * false
@@ -1073,7 +1311,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1073
1311
  securityHardeningOs?: boolean;
1074
1312
  /**
1075
1313
  * @remarks
1076
- * Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides 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.
1314
+ * Specifies whether to enable MLPS 2.0 security hardening. This feature 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 Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
1077
1315
  *
1078
1316
  * @example
1079
1317
  * false
@@ -1089,7 +1327,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1089
1327
  spotInstancePools?: number;
1090
1328
  /**
1091
1329
  * @remarks
1092
- * Specifies whether to enable supplementation of spot instances. If enabled, when the system receives a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
1330
+ * Specifies whether to enable the supplementation of spot instances. If enabled, when the system receives a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
1331
+ *
1332
+ * - `true`: Enables the supplementation of spot instances.
1333
+ * - `false`: Disables the supplementation of spot instances.
1093
1334
  *
1094
1335
  * @example
1095
1336
  * false
@@ -1097,13 +1338,21 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1097
1338
  spotInstanceRemedy?: boolean;
1098
1339
  /**
1099
1340
  * @remarks
1100
- * The price limit configurations for a single spot instance of the current instance type.
1341
+ * The price range configurations for the current spot instance type.
1101
1342
  */
1102
1343
  spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
1103
1344
  /**
1104
1345
  * @remarks
1105
1346
  * The type of spot instance. Valid values:
1106
1347
  *
1348
+ * - `NoSpot`: non-spot instance.
1349
+ *
1350
+ * - `SpotWithPriceLimit`: spot instance with a price limit.
1351
+ *
1352
+ * - `SpotAsPriceGo`: system automatically bids at the current market price.
1353
+ *
1354
+ * For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
1355
+ *
1107
1356
  * @example
1108
1357
  * NoSpot
1109
1358
  */
@@ -1111,6 +1360,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1111
1360
  /**
1112
1361
  * @remarks
1113
1362
  * Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
1363
+ * - true: enables burst.
1364
+ * - false: disables burst.
1365
+ *
1366
+ * 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).
1114
1367
  *
1115
1368
  * @example
1116
1369
  * true
@@ -1118,17 +1371,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1118
1371
  systemDiskBurstingEnabled?: boolean;
1119
1372
  /**
1120
1373
  * @remarks
1121
- * Multiple disk types for the system cloud disk. If a disk type with a higher priority is unavailable, the system automatically attempts to create the system cloud disk with the next priority disk type.
1374
+ * The multiple cloud disk types for the system cloud disk. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
1122
1375
  */
1123
1376
  systemDiskCategories?: string[];
1124
1377
  /**
1125
1378
  * @remarks
1126
- * The type of the system cloud disk for nodes. Valid values:
1379
+ * The type of the node system cloud disk. Valid values:
1127
1380
  * - `cloud_efficiency`: ultra cloud disk.
1128
1381
  * - `cloud_ssd`: standard SSD.
1129
1382
  * - `cloud_essd`: ESSD.
1130
- * - `cloud_auto`: ESSD AutoPL.
1131
- * - `cloud_essd_entry`: ESSD Entry disk.
1383
+ * - `cloud_auto`: ESSD AutoPL cloud disk.
1384
+ * - `cloud_essd_entry`: ESSD Entry cloud disk.
1132
1385
  *
1133
1386
  * Default value: `cloud_efficiency`.
1134
1387
  *
@@ -1148,6 +1401,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1148
1401
  * @remarks
1149
1402
  * Specifies whether to encrypt the system cloud disk. Valid values:
1150
1403
  *
1404
+ * - true: encrypts the system cloud disk.
1405
+ *
1406
+ * - false: does not encrypt the system cloud disk.
1407
+ *
1151
1408
  * @example
1152
1409
  * false
1153
1410
  */
@@ -1162,7 +1419,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1162
1419
  systemDiskKmsKeyId?: string;
1163
1420
  /**
1164
1421
  * @remarks
1165
- * The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSD disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
1422
+ * The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
1423
+ * - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1424
+ * - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1425
+ * - PL2: high maximum concurrent I/O performance with stable read/write latency.
1426
+ * - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
1166
1427
  *
1167
1428
  * @example
1168
1429
  * PL1
@@ -1172,13 +1433,19 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1172
1433
  * @remarks
1173
1434
  * The provisioned read/write IOPS of the node system cloud disk.
1174
1435
  *
1436
+ * Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
1437
+ *
1438
+ * 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).
1439
+ *
1175
1440
  * @example
1176
1441
  * 1000
1177
1442
  */
1178
1443
  systemDiskProvisionedIops?: number;
1179
1444
  /**
1180
1445
  * @remarks
1181
- * The size of the system cloud disk for nodes. Unit: GiB.
1446
+ * The size of the node system cloud disk. Unit: GiB.
1447
+ *
1448
+ * Valid values: [20,2048\\].
1182
1449
  *
1183
1450
  * @example
1184
1451
  * 120
@@ -1186,7 +1453,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1186
1453
  systemDiskSize?: number;
1187
1454
  /**
1188
1455
  * @remarks
1189
- * The system cloud disk snapshot policy.
1456
+ * The snapshot policy for the system cloud disk.
1190
1457
  *
1191
1458
  * @example
1192
1459
  * sp-0jl6xnmme8v7o935****
@@ -1194,7 +1461,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1194
1461
  systemDiskSnapshotPolicyId?: string;
1195
1462
  /**
1196
1463
  * @remarks
1197
- * Tags that are added only to ECS instances.
1464
+ * Tags added only to ECS instances.
1465
+ *
1466
+ * Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
1198
1467
  */
1199
1468
  tags?: CreateClusterNodePoolRequestScalingGroupTags[];
1200
1469
  /**
@@ -1220,7 +1489,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1220
1489
  export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
1221
1490
  /**
1222
1491
  * @remarks
1223
- * Specifies whether to enable the confidential computing cluster.
1492
+ * Specifies whether to enable confidential computing for the cluster.
1493
+ *
1494
+ * - true: Enables confidential computing.
1495
+ *
1496
+ * - false: Does not enable confidential computing.
1224
1497
  *
1225
1498
  * @example
1226
1499
  * true
@@ -1245,13 +1518,15 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1245
1518
  autoMode?: CreateClusterNodePoolRequestAutoMode;
1246
1519
  /**
1247
1520
  * @remarks
1248
- * The automatic scaling configuration.
1521
+ * The elastic scaling configuration.
1249
1522
  */
1250
1523
  autoScaling?: CreateClusterNodePoolRequestAutoScaling;
1251
1524
  /**
1252
1525
  * @remarks
1253
1526
  * **[Deprecated]** Use desired_size instead.
1254
1527
  *
1528
+ * The number of nodes in the node pool.
1529
+ *
1255
1530
  * @example
1256
1531
  * null
1257
1532
  *
@@ -1265,7 +1540,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1265
1540
  efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
1266
1541
  /**
1267
1542
  * @remarks
1268
- * Specifies whether the Pod network mode uses host network mode.
1543
+ * Specifies whether the pod network mode uses host network mode.
1544
+ * - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
1545
+ * - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
1269
1546
  *
1270
1547
  * @example
1271
1548
  * true
@@ -1275,6 +1552,8 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1275
1552
  * @remarks
1276
1553
  * **[Deprecated]**
1277
1554
  *
1555
+ * The edge node pool configuration.
1556
+ *
1278
1557
  * @deprecated
1279
1558
  */
1280
1559
  interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
@@ -1282,6 +1561,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1282
1561
  * @remarks
1283
1562
  * The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
1284
1563
  *
1564
+ * - `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 private network.
1565
+ * - `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.
1566
+ *
1285
1567
  * @example
1286
1568
  * basic
1287
1569
  */
@@ -1289,6 +1571,8 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1289
1571
  /**
1290
1572
  * @remarks
1291
1573
  * Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
1574
+ * - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity with each other.
1575
+ * - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity with each other.
1292
1576
  *
1293
1577
  * @example
1294
1578
  * true
@@ -1308,6 +1592,8 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1308
1592
  * @remarks
1309
1593
  * **[Deprecated]**
1310
1594
  *
1595
+ * The maximum number of nodes allowed in the edge node pool.
1596
+ *
1311
1597
  * @example
1312
1598
  * null
1313
1599
  *