@alicloud/cs20151215 6.6.5 → 6.7.0

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 (38) hide show
  1. package/dist/client.d.ts +26 -8
  2. package/dist/client.js +53 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +396 -287
  5. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  6. package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
  7. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +241 -244
  8. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  9. package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
  10. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +254 -254
  11. package/dist/models/ModifyClusterNodePoolRequest.d.ts +225 -218
  12. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  13. package/dist/models/Nodepool.d.ts +183 -183
  14. package/dist/models/RunNodeOperationRequest.d.ts +22 -0
  15. package/dist/models/RunNodeOperationRequest.js +63 -0
  16. package/dist/models/RunNodeOperationRequest.js.map +1 -0
  17. package/dist/models/RunNodeOperationResponse.d.ts +19 -0
  18. package/dist/models/RunNodeOperationResponse.js +69 -0
  19. package/dist/models/RunNodeOperationResponse.js.map +1 -0
  20. package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
  21. package/dist/models/RunNodeOperationResponseBody.js +62 -0
  22. package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
  23. package/dist/models/model.d.ts +3 -0
  24. package/dist/models/model.js +8 -2
  25. package/dist/models/model.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +57 -8
  28. package/src/models/CreateClusterNodePoolRequest.ts +397 -288
  29. package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
  30. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +241 -244
  31. package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
  32. package/src/models/DescribeClusterNodePoolsResponseBody.ts +254 -254
  33. package/src/models/ModifyClusterNodePoolRequest.ts +225 -218
  34. package/src/models/Nodepool.ts +183 -183
  35. package/src/models/RunNodeOperationRequest.ts +40 -0
  36. package/src/models/RunNodeOperationResponse.ts +40 -0
  37. package/src/models/RunNodeOperationResponseBody.ts +45 -0
  38. package/src/models/model.ts +3 -0
@@ -12,9 +12,11 @@ import { Taint } from "./Taint";
12
12
  export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
13
13
  /**
14
14
  * @remarks
15
- * Whether to enable the intelligent managed mode.
16
- * Valid values:
17
- * - true: Enables the intelligent managed mode. This can be enabled only when the cluster has the intelligent managed mode enabled.
15
+ * Specifies whether to enable the intelligent managed mode.
16
+ * Valid values:
17
+ *
18
+ * - true: Enables the intelligent managed mode. You can enable this mode only when the intelligent managed mode is enabled for the cluster.
19
+ *
18
20
  * - false: Disables the intelligent managed mode.
19
21
  *
20
22
  * @example
@@ -45,13 +47,9 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
45
47
  export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
46
48
  /**
47
49
  * @remarks
48
- * This parameter is deprecated.
49
- *
50
- * The maximum bandwidth of the EIP. Unit: Mbit/s.
51
- *
52
- * **
50
+ * [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
53
51
  *
54
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
52
+ * The peak bandwidth of the EIP. Unit: Mbps.
55
53
  *
56
54
  * @example
57
55
  * null
@@ -61,18 +59,15 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
61
59
  eipBandwidth?: number;
62
60
  /**
63
61
  * @remarks
64
- * This parameter is deprecated.
62
+ * [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
65
63
  *
66
- * The metering method of the EIP. Valid values:
64
+ * The billing method of the EIP. Valid values:
67
65
  *
68
- * * `PayByBandwidth`: pay-by-bandwidth.
69
- * * `PayByTraffic`: pay-by-data-transfer.
66
+ * - `PayByBandwidth`: pay-by-bandwidth.
70
67
  *
71
- * Default value: `PayByBandwidth`.
72
- *
73
- * **
68
+ * - `PayByTraffic`: pay-by-traffic.
74
69
  *
75
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
70
+ * Default value: `PayByBandwidth`.
76
71
  *
77
72
  * @example
78
73
  * null
@@ -82,10 +77,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
82
77
  eipInternetChargeType?: string;
83
78
  /**
84
79
  * @remarks
85
- * Specifies whether to enable auto scaling for the node pool. Valid values:
80
+ * Specifies whether to enable auto scaling. Valid values:
81
+ *
82
+ * - `true`: Enables auto scaling for the node pool. If the resources planned for the cluster cannot meet the scheduling requirements of pods, Container Service for Kubernetes (ACK) automatically scales out or scales in nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, instant scaling is enabled by default. For clusters of a Kubernetes version earlier than 1.24, node autoscaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
86
83
  *
87
- * * `true`: enables auto scaling.
88
- * * `false`: disables auto scaling. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
84
+ * - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the value of \\`desired_size\\` to maintain a specific number of nodes.
85
+ *
86
+ * If you set this parameter to false, other parameters in \\`auto_scaling\\` do not take effect.
89
87
  *
90
88
  * Default value: `false`.
91
89
  *
@@ -95,18 +93,15 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
95
93
  enable?: boolean;
96
94
  /**
97
95
  * @remarks
98
- * This parameter is deprecated.
99
- *
100
- * Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
96
+ * [This parameter is deprecated] This parameter is deprecated. Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
101
97
  *
102
- * * `true`: associates an EIP with the node pool.
103
- * * `false`: does not associate an EIP with the node pool.
98
+ * Specifies whether to associate an EIP with the node. Valid values:
104
99
  *
105
- * Default value: `false`.
100
+ * - `true`: associates an EIP with the node.
106
101
  *
107
- * **
102
+ * - `false`: does not associate an EIP with the node.
108
103
  *
109
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
104
+ * Default value: `false`.
110
105
  *
111
106
  * @example
112
107
  * null
@@ -116,7 +111,9 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
116
111
  isBondEip?: boolean;
117
112
  /**
118
113
  * @remarks
119
- * The maximum number to which the Elastic Compute Service (ECS) instances in the node pool can be scaled. The number of nodes in the node pool cannot be greater than this value. This parameter takes effect only when `enable` is set to true. Valid values: [min_instances, 2000]. Default value: 0.
114
+ * The maximum number of instances that can be created in the node pool. This does not include existing instances. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
115
+ *
116
+ * The value must be in the range of [\\`min_instances\\`, 2000]. Default value: 0.
120
117
  *
121
118
  * @example
122
119
  * 10
@@ -124,7 +121,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
124
121
  maxInstances?: number;
125
122
  /**
126
123
  * @remarks
127
- * The minimum number to which the ECS instances in the node pool can be scaled. The number of nodes in the node pool cannot be smaller than this value. This parameter takes effect only when `enable` is set to true. Valid values: [0, max_instances]. Default value: 0.
124
+ * The minimum number of instances that can be created in the node pool. This does not include existing instances. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
125
+ *
126
+ * The value must be in the range of [0, \\`max_instances\\`]. Default value: 0.
127
+ *
128
+ * > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
129
+ * >
130
+ * > - We recommend that you set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after auto scaling is enabled.
128
131
  *
129
132
  * @example
130
133
  * 1
@@ -132,16 +135,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
132
135
  minInstances?: number;
133
136
  /**
134
137
  * @remarks
135
- * The instance type that is used for auto scaling. This parameter takes effect only when `enable` is set to true. Valid values:
138
+ * The type of instances that are automatically scaled. This parameter takes effect only if \\`enable\\` is set to \\`true\\`. Valid values:
136
139
  *
137
- * * `cpu`: regular instance.
138
- * * `gpu`: GPU-accelerated instance.
139
- * * `gpushare`: shared GPU-accelerated instance.
140
- * * `spot`: preemptible instance.
140
+ * - `cpu`: regular instance.
141
141
  *
142
- * Default value: `cpu`.
142
+ * - `gpu`: GPU-accelerated instance.
143
+ *
144
+ * - `gpushare`: shared GPU-accelerated instance.
143
145
  *
144
- * > You cannot modify this parameter after the node pool is created.
146
+ * - `spot`: spot instance.
147
+ *
148
+ * Default value: `cpu`.
149
+ * >Notice: You cannot change the value of this parameter after the node pool is created.
145
150
  *
146
151
  * @example
147
152
  * cpu
@@ -183,7 +188,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
183
188
  export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
184
189
  /**
185
190
  * @remarks
186
- * The Lingjun cluster ID that must be associated when creating a Lingjun node pool.
191
+ * The ID of the Lingjun cluster that you want to associate with the Lingjun node pool when you create the node pool.
187
192
  *
188
193
  * @example
189
194
  * i1169130516633730****
@@ -191,7 +196,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
191
196
  clusterId?: string;
192
197
  /**
193
198
  * @remarks
194
- * The ID of the Lingjun group in the Lingjun cluster to associate when creating a Lingjun node pool.
199
+ * The ID of the Lingjun group in the Lingjun cluster that you want to associate with the Lingjun node pool when you create the node pool.
195
200
  *
196
201
  * @example
197
202
  * ng-ec3c96ff0aa****
@@ -223,9 +228,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
223
228
  export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
224
229
  /**
225
230
  * @remarks
226
- * This parameter is deprecated.
231
+ * [This parameter is deprecated]
227
232
  *
228
- * The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
233
+ * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
229
234
  *
230
235
  * @example
231
236
  * null
@@ -233,9 +238,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
233
238
  bandwidth?: number;
234
239
  /**
235
240
  * @remarks
236
- * This parameter is deprecated.
241
+ * [This parameter is deprecated]
237
242
  *
238
- * The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
243
+ * The ID of the CCN instance that is associated with the enhanced edge node pool.
239
244
  *
240
245
  * @example
241
246
  * null
@@ -243,9 +248,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
243
248
  ccnId?: string;
244
249
  /**
245
250
  * @remarks
246
- * This parameter is deprecated.
251
+ * [This parameter is deprecated]
247
252
  *
248
- * The region to which the CCN instance that is associated with the enhanced edge node pool belongs.
253
+ * The region of the CCN instance that is associated with the enhanced edge node pool.
249
254
  *
250
255
  * @example
251
256
  * null
@@ -253,9 +258,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
253
258
  ccnRegionId?: string;
254
259
  /**
255
260
  * @remarks
256
- * This parameter is deprecated.
261
+ * [This parameter is deprecated]
257
262
  *
258
- * The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
263
+ * The ID of the CEN instance that is associated with the enhanced edge node pool.
259
264
  *
260
265
  * @example
261
266
  * null
@@ -263,9 +268,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
263
268
  cenId?: string;
264
269
  /**
265
270
  * @remarks
266
- * This parameter is deprecated.
271
+ * [This parameter is deprecated]
267
272
  *
268
- * The subscription duration of the enhanced edge node pool. The duration is measured in months.
273
+ * The subscription duration of the enhanced edge node pool. Unit: months.
269
274
  *
270
275
  * @example
271
276
  * null
@@ -303,12 +308,13 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
303
308
  export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
304
309
  /**
305
310
  * @remarks
306
- * Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values:
311
+ * Specifies whether to install Cloud Monitor on the ECS nodes. After Cloud Monitor is installed, you can view the monitoring information of the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
307
312
  *
308
- * * `true`: installs the CloudMonitor agent on ECS nodes.
309
- * * `false`: does not install the CloudMonitor agent on ECS nodes.
313
+ * - `true`: Installs Cloud Monitor on the ECS nodes.
310
314
  *
311
- * Default value: `false`
315
+ * - `false`: Does not install Cloud Monitor on the ECS nodes.
316
+ *
317
+ * Default value: `false`.
312
318
  *
313
319
  * @example
314
320
  * false
@@ -316,10 +322,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
316
322
  cmsEnabled?: boolean;
317
323
  /**
318
324
  * @remarks
319
- * The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
325
+ * The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
326
+ *
327
+ * - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
320
328
  *
321
- * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
322
- * * `none`: specifies that the default CPU affinity is used.
329
+ * - `none`: Enables the default CPU affinity scheme.
323
330
  *
324
331
  * Default value: `none`.
325
332
  *
@@ -329,17 +336,30 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
329
336
  cpuPolicy?: string;
330
337
  /**
331
338
  * @remarks
332
- * The labels that you want to add to the nodes in the cluster.
339
+ * The labels that you want to add to the nodes in the Kubernetes cluster.
333
340
  */
334
341
  labels?: Tag[];
335
342
  /**
336
343
  * @remarks
337
- * A custom node name consists of a prefix, a node IP address, and a suffix.
344
+ * The custom node name. If you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed.
345
+ *
346
+ * > For Windows instances for which custom node names are enabled, the hostname is fixed as the IP address. Hyphens (-) are used to replace periods (.) in the IP address. The hostname does not contain a prefix or a suffix.
347
+ *
348
+ * A node name consists of a prefix, the node IP address, and a suffix.
349
+ *
350
+ * - The total length must be 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
351
+ *
352
+ * - The prefix and suffix can contain uppercase letters, lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter. They cannot start or end with a hyphen (-) or a period (.). You cannot use consecutive hyphens (-)or periods (.). You cannot use consecutive hyphens (-) or periods (.).
353
+ *
354
+ * - The prefix is required (due to an ECS limit). The suffix is optional.
355
+ *
356
+ * - The node IP address is the complete private IP address of the node.
357
+ *
358
+ * For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
338
359
  *
339
- * * The prefix and the suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
340
- * * The node IP address in a custom node name is the private IP address of the node.
360
+ * - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
341
361
  *
342
- * Set the parameter to a value in the customized,aliyun,ip,com format. The value consists of four parts that are separated by commas (,). customized and ip are fixed content. aliyun is the prefix and com is the suffix. Example: aliyun.192.168.xxx.xxx.com.
362
+ * - If the node is 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.
343
363
  *
344
364
  * @example
345
365
  * aliyun.com192.XX.YY.55test
@@ -347,7 +367,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
347
367
  nodeNameMode?: string;
348
368
  /**
349
369
  * @remarks
350
- * The user-defined data of nodes. You can specify custom scripts that are automatically executed before the nodes are initialized.
370
+ * The pre-join instance user data. The specified user data script is run before the node joins the cluster. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
351
371
  *
352
372
  * @example
353
373
  * dGhpcyBpcyBhIGV4YW1wbGU
@@ -355,11 +375,13 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
355
375
  preUserData?: string;
356
376
  /**
357
377
  * @remarks
358
- * The name of the container runtime. The following types of runtime are supported by ACK:
378
+ * The name of the container runtime. ACK supports the following three container runtimes.
359
379
  *
360
- * * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
361
- * * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
362
- * * docker: The Docker runtime supports Kubernetes 1.22 and earlier.
380
+ * - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
381
+ *
382
+ * - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 or earlier.
383
+ *
384
+ * - docker: no longer maintained. It is supported by clusters of Kubernetes 1.22 or earlier.
363
385
  *
364
386
  * Default value: containerd.
365
387
  *
@@ -377,12 +399,16 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
377
399
  runtimeVersion?: string;
378
400
  /**
379
401
  * @remarks
380
- * The configurations of the taints.
402
+ * The taint configurations.
381
403
  */
382
404
  taints?: Taint[];
383
405
  /**
384
406
  * @remarks
385
- * Specifies whether the nodes are schedulable after a scale-out operation is performed.
407
+ * Specifies whether the scaled-out nodes are unschedulable.
408
+ *
409
+ * - true: The nodes are unschedulable.
410
+ *
411
+ * - false: The nodes are schedulable.
386
412
  *
387
413
  * @example
388
414
  * true
@@ -390,7 +416,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
390
416
  unschedulable?: boolean;
391
417
  /**
392
418
  * @remarks
393
- * The user-defined data of nodes. You can specify custom scripts that are automatically executed after the nodes are initialized.
419
+ * 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).
394
420
  *
395
421
  * @example
396
422
  * dGhpcyBpcyBhIGV4YW1wbGU=
@@ -444,17 +470,18 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
444
470
  export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
445
471
  /**
446
472
  * @remarks
447
- * Whether manual approval is required for edge zone repair.
473
+ * Specifies whether manual approval is required for node repair.
448
474
  */
449
475
  approvalRequired?: boolean;
450
476
  /**
451
477
  * @remarks
452
- * Specifies whether to allow node restart. This parameter takes effect only when `auto_repair` is set to true. Valid values:
478
+ * Specifies whether to allow node restart. This parameter takes effect only if \\`auto_repair\\` is set to \\`true\\`. Valid values:
453
479
  *
454
- * * `true`: allows node restart.
455
- * * `false`: does not allow node restart.
480
+ * - `true`: Allows node restart.
456
481
  *
457
- * If `auto_repair` is set to true, the default value of this parameter is `true`. If `auto_repair` is set to false, the default value of this parameter is `false`.
482
+ * - `false`: Disallows node restart.
483
+ *
484
+ * Default value: `true`
458
485
  *
459
486
  * @example
460
487
  * true
@@ -486,12 +513,13 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
486
513
  export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
487
514
  /**
488
515
  * @remarks
489
- * Specifies whether to allow the auto upgrade of the kubelet. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
516
+ * Specifies whether to allow auto kubelet upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
517
+ *
518
+ * - `true`: Allows auto kubelet upgrade.
490
519
  *
491
- * * `true`: allows the auto upgrade of the kubelet.
492
- * * `false`: does not allow the auto upgrade of the kubelet.
520
+ * - `false`: Disallows auto kubelet upgrade.
493
521
  *
494
- * If `auto_upgrade` is set to true, the default value of this parameter is `true`. If `auto_upgrade` is set to false, the default value of this parameter is `false`.
522
+ * Default value: `true`.
495
523
  *
496
524
  * @example
497
525
  * true
@@ -499,10 +527,11 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
499
527
  autoUpgradeKubelet?: boolean;
500
528
  /**
501
529
  * @remarks
502
- * Specifies whether to allow the auto upgrade of the OS. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
530
+ * Specifies whether to allow auto OS upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
531
+ *
532
+ * - `true`: Allows auto OS upgrade.
503
533
  *
504
- * * `true`: allows the auto upgrade of the OS.
505
- * * `false`: does not allow the auto upgrade of the OS.
534
+ * - `false`: Disallows auto OS upgrade.
506
535
  *
507
536
  * Default value: `false`.
508
537
  *
@@ -512,12 +541,13 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
512
541
  autoUpgradeOs?: boolean;
513
542
  /**
514
543
  * @remarks
515
- * Specifies whether to allow the auto upgrade of the runtime. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
544
+ * Specifies whether to allow auto runtime upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
516
545
  *
517
- * * `true`: allows the auto upgrade of the runtime.
518
- * * `false`: does not allow the auto upgrade of the runtime.
546
+ * - `true`: Allows auto runtime upgrade.
519
547
  *
520
- * Default value: `false`.
548
+ * - `false`: Disallows auto runtime upgrade.
549
+ *
550
+ * Default value: `true`.
521
551
  *
522
552
  * @example
523
553
  * false
@@ -551,9 +581,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
551
581
  export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
552
582
  /**
553
583
  * @remarks
554
- * Packages to exclude during vulnerability remediation.
584
+ * The packages that should be excluded from vulnerability fixing.
555
585
  *
556
- * Default Value: `kernel`.
586
+ * Default value: `kernel`.
557
587
  *
558
588
  * @example
559
589
  * kernel
@@ -561,10 +591,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
561
591
  excludePackages?: string;
562
592
  /**
563
593
  * @remarks
564
- * Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix` is set to true. Valid values:
594
+ * Specifies whether to allow node restart. This parameter takes effect only if \\`auto_vul_fix\\` is set to \\`true\\`. Valid values:
595
+ *
596
+ * - `true`: Allows node restart.
597
+ *
598
+ * - `false`: Disallows node restart.
565
599
  *
566
- * * `true`: allows node restart.
567
- * * `false`: does not allow node restart. If `auto_vul_fix` is set to true, the default value of this parameter is `false`. If `auto_vul_fix` is set to false, the default value of this parameter is `false`.
600
+ * Default value: `true`
568
601
  *
569
602
  * @example
570
603
  * false
@@ -572,13 +605,15 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
572
605
  restartNode?: boolean;
573
606
  /**
574
607
  * @remarks
575
- * The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
608
+ * The vulnerability levels that are allowed to be automatically fixed. Separate multiple levels with commas. Example: `asap,later`. Supported vulnerability levels:
576
609
  *
577
- * * `asap`: high.
578
- * * `later`: medium.
579
- * * `nntf`: low.
610
+ * - `asap`: high
580
611
  *
581
- * If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
612
+ * - `later`: medium
613
+ *
614
+ * - `nntf`: low
615
+ *
616
+ * Default value: `asap`.
582
617
  *
583
618
  * @example
584
619
  * asap,nntf
@@ -612,14 +647,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
612
647
  export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
613
648
  /**
614
649
  * @remarks
615
- * Specifies whether to enable auto upgrade. Valid values:
650
+ * [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
616
651
  *
617
- * * `true`: enables auto OS upgrade.
618
- * * `false`: disables auto OS upgrade.
652
+ * Specifies whether to enable auto upgrade. Valid values:
619
653
  *
620
- * **
654
+ * - `true`: enables auto upgrade.
621
655
  *
622
- * **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter instead.
656
+ * - `false`: disables auto upgrade.
623
657
  *
624
658
  * @example
625
659
  * null
@@ -629,7 +663,8 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
629
663
  autoUpgrade?: boolean;
630
664
  /**
631
665
  * @remarks
632
- * The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
666
+ * The maximum number of unavailable nodes.
667
+ * The value must be in the range of [1, 1000].
633
668
  *
634
669
  * Default value: 1.
635
670
  *
@@ -639,7 +674,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
639
674
  maxUnavailable?: number;
640
675
  /**
641
676
  * @remarks
642
- * The number of nodes that are temporarily added to the node pool during an auto upgrade.
677
+ * The number of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
678
+ *
679
+ * Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the load on the cluster.
680
+ *
681
+ * > We recommend that the number of extra nodes does not exceed the current number of nodes.
643
682
  *
644
683
  * @example
645
684
  * 0
@@ -647,7 +686,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
647
686
  surge?: number;
648
687
  /**
649
688
  * @remarks
650
- * The percentage of additional nodes that are temporarily added to the node pool during an auto upgrade. You must set this parameter or `surge`.
689
+ * The percentage of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
690
+ *
691
+ * Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if you set the percentage of extra nodes to 50% and the number of existing nodes is 6, three extra nodes are created.
651
692
  *
652
693
  * @example
653
694
  * 0
@@ -684,12 +725,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
684
725
  autoFaultDiagnosis?: boolean;
685
726
  /**
686
727
  * @remarks
687
- * Specifies whether to enable auto node repair. This parameter takes effect only when `enable` is set to true.
728
+ * Specifies whether to enable auto node repair. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
688
729
  *
689
- * * `true`: enables auto node repair.
690
- * * `false`: disables auto node repair.
730
+ * - `true`: Enables auto node repair.
691
731
  *
692
- * If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
732
+ * - `false`: Disables auto node repair.
733
+ *
734
+ * Default value: `true`
693
735
  *
694
736
  * @example
695
737
  * true
@@ -702,12 +744,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
702
744
  autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
703
745
  /**
704
746
  * @remarks
705
- * Specifies whether to enable auto node upgrade. This parameter takes effect only when `enable` is set to true.
747
+ * Specifies whether to enable auto node upgrade. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
748
+ *
749
+ * - `true`: Enables auto node upgrade.
706
750
  *
707
- * * `true`: enables auto node upgrade.
708
- * * `false`: disables auto node upgrade.
751
+ * - `false`: Disables auto node upgrade.
709
752
  *
710
- * If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
753
+ * Default value: `true`.
711
754
  *
712
755
  * @example
713
756
  * true
@@ -720,12 +763,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
720
763
  autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
721
764
  /**
722
765
  * @remarks
723
- * Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. This parameter takes effect only when `enable` is set to true.
766
+ * Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
767
+ *
768
+ * - `true`: Automatically fixes CVE vulnerabilities.
724
769
  *
725
- * * `true`: enables auto CVE patching.
726
- * * `false`: disables auto CVE patching.
770
+ * - `false`: Does not automatically fix CVE vulnerabilities.
727
771
  *
728
- * If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
772
+ * Default value: `true`.
729
773
  *
730
774
  * @example
731
775
  * true
@@ -733,15 +777,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
733
777
  autoVulFix?: boolean;
734
778
  /**
735
779
  * @remarks
736
- * The auto CVE patching policy.
780
+ * The policy for automatically fixing CVE vulnerabilities.
737
781
  */
738
782
  autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
739
783
  /**
740
784
  * @remarks
741
785
  * Specifies whether to enable the managed node pool feature. Valid values:
742
786
  *
743
- * * `true`: enables the managed node pool feature.
744
- * * `false`: disables the managed node pool feature. Other parameters in this section take effect only when enable is set to true.
787
+ * - `true`: Enables the managed node pool feature.
788
+ *
789
+ * - `false`: Disables the managed node pool feature. If you set this parameter to \\`false\\`, the other parameters of \\`management\\` do not take effect.
745
790
  *
746
791
  * Default value: false.
747
792
  *
@@ -751,7 +796,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
751
796
  enable?: boolean;
752
797
  /**
753
798
  * @remarks
754
- * The configurations of auto upgrade. The configurations take effect only when `enable` is set to true.
799
+ * [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
800
+ *
801
+ * The auto upgrade configurations. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
755
802
  *
756
803
  * @deprecated
757
804
  */
@@ -808,7 +855,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
808
855
  export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
809
856
  /**
810
857
  * @remarks
811
- * Custom Configuration of the edge zone widget.
858
+ * The custom configurations of the node component.
812
859
  */
813
860
  customConfig?: { [key: string]: string };
814
861
  static names(): { [key: string]: string } {
@@ -838,12 +885,12 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
838
885
  export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
839
886
  /**
840
887
  * @remarks
841
- * Configuration of the edge zone widget.
888
+ * The configurations of the node component.
842
889
  */
843
890
  config?: CreateClusterNodePoolRequestNodeComponentsConfig;
844
891
  /**
845
892
  * @remarks
846
- * Name of the edge zone widget.
893
+ * The name of the node component.
847
894
  *
848
895
  * @example
849
896
  * kubelet
@@ -851,7 +898,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
851
898
  name?: string;
852
899
  /**
853
900
  * @remarks
854
- * Version of the edge zone widget.
901
+ * The version of the node component.
855
902
  *
856
903
  * @example
857
904
  * 1.33.3-aliyun.1
@@ -888,7 +935,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
888
935
  export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
889
936
  /**
890
937
  * @remarks
891
- * The configurations of the kubelet.
938
+ * The Kubelet parameter settings.
892
939
  */
893
940
  kubeletConfiguration?: KubeletConfig;
894
941
  static names(): { [key: string]: string } {
@@ -928,7 +975,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
928
975
  name?: string;
929
976
  /**
930
977
  * @remarks
931
- * The ID of the resource group to which the node pool belongs. Instances that are added to the node pool belong to this resource group.
978
+ * The ID of the resource group. Instances that are created in the node pool belong to this resource group.
979
+ *
980
+ * A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
932
981
  *
933
982
  * @example
934
983
  * rg-acfmyvw3wjmb****
@@ -936,11 +985,15 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
936
985
  resourceGroupId?: string;
937
986
  /**
938
987
  * @remarks
939
- * The type of node pool. Valid values:
988
+ * The type of the node pool. Valid values:
989
+ *
990
+ * - `ess`: a regular node pool. This type of node pool provides managed features and auto scaling.
940
991
  *
941
- * * `ess`: regular node pool, which supports the managed node pool feature and the auto scaling feature.
942
- * * `edge`: edge node pool.
943
- * * `lingjun`: Lingjun node pool.
992
+ * - `edge`: an edge node pool.
993
+ *
994
+ * - `lingjun`: a Lingjun node pool.
995
+ *
996
+ * - `hybrid`: a hybrid cloud node pool.
944
997
  *
945
998
  * @example
946
999
  * ess
@@ -974,7 +1027,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
974
1027
  export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
975
1028
  /**
976
1029
  * @remarks
977
- * The ID of the private node pool.
1030
+ * The ID of the private pool. You must specify the private pool ID when \\`match_criteria\\` is set to \\`Target\\`.
978
1031
  *
979
1032
  * @example
980
1033
  * eap-bp67acfmxazb4****
@@ -982,11 +1035,13 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
982
1035
  id?: string;
983
1036
  /**
984
1037
  * @remarks
985
- * The type of private node pool. This parameter specifies the type of private pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
1038
+ * The type of the private pool. This parameter specifies the capacity of the private pool that you want to use to launch instances. An elastic assurance service or a capacity reservation service takes effect after it is generated. You can select a capacity type when you launch an instance. Valid values:
1039
+ *
1040
+ * - `Open`: Open mode. The system automatically matches the capacity of open private pools. If no matching private pool is found, the instance is launched using public pool resources.
986
1041
  *
987
- * * `Open`: uses an open private pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
988
- * * `Target`: uses a specified private pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
989
- * * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
1042
+ * - `Target`: Target mode. The instance is launched using the capacity of the specified private pool. If the capacity of the private pool is unavailable, the instance fails to be launched.
1043
+ *
1044
+ * - `None`: The instance is launched without using the capacity of a private pool.
990
1045
  *
991
1046
  * @example
992
1047
  * Target
@@ -1018,16 +1073,16 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
1018
1073
  export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
1019
1074
  /**
1020
1075
  * @remarks
1021
- * A list of private pool IDs, which are either Elasticity Assurance service IDs or Capacity Reservation service IDs. This parameter accepts only private pool IDs in Target pattern. The value range for N is 1 to 20.
1076
+ * A list of private pool IDs. These are the IDs of elastic assurance services or capacity reservation services. You can only specify the IDs of private pools in Target mode. The number of IDs must be in the range of 1 to 20.
1022
1077
  */
1023
1078
  privatePoolIds?: string[];
1024
1079
  /**
1025
1080
  * @remarks
1026
- * The resource pool policy used when creating an instance. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation services take effect, as well as the public pool, which are available for selection when starting an instance. Valid values:
1027
- * PrivatePoolFirst: Private pool first. With this policy, if `resource_pool_options.private_pool_ids` is specified, the specified private pool is used first. If no private pool is specified or the specified private pool lacks sufficient capacity, an open-type private pool is automatically matched. If no eligible private pool exists, the instance is created using the public pool.
1028
- * PrivatePoolOnly: Private pool only. With this policy, you must specify `resource_pool_options.private_pool_ids`. If the specified private pool lacks sufficient capacity, instance startup fails.
1029
- * None: Do not use a resource pool policy.
1030
- * Default Value: None.
1081
+ * The resource pool policy for instance creation. Resource pools include private pools (generated by elastic assurance or capacity reservation services) and public pools. Valid values:
1082
+ * PrivatePoolFirst: Prioritizes private pools. If you specify \\`resouce_pool_options.private_pool_ids\\`, the specified private pools are used first. If no private pool is specified or the specified pools have insufficient capacity, the system automatically tries to use open private pools. If no suitable private pool is found, the public pool is used.
1083
+ * PrivatePoolOnly: Uses only private pools. You must specify \\`resouce_pool_options.private_pool_ids\\`. If the specified private pools have insufficient capacity, the instance fails to launch.
1084
+ * None: No resource pool policy is used.
1085
+ * Default value: None.
1031
1086
  *
1032
1087
  * @example
1033
1088
  * PrivatePoolFirst
@@ -1062,7 +1117,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
1062
1117
  export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
1063
1118
  /**
1064
1119
  * @remarks
1065
- * The instance type of preemptible instances.
1120
+ * The instance type of the spot instance.
1066
1121
  *
1067
1122
  * @example
1068
1123
  * ecs.c6.large
@@ -1070,7 +1125,11 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
1070
1125
  instanceType?: string;
1071
1126
  /**
1072
1127
  * @remarks
1073
- * The price cap of a preemptible instance of the type.
1128
+ * The maximum bid price for a single instance.
1129
+ *
1130
+ * <props="intl">
1131
+ *
1132
+ * Unit: USD/hour.
1074
1133
  *
1075
1134
  * @example
1076
1135
  * 0.39
@@ -1102,7 +1161,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
1102
1161
  export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
1103
1162
  /**
1104
1163
  * @remarks
1105
- * The tag key.
1164
+ * The name of the tag.
1106
1165
  *
1107
1166
  * @example
1108
1167
  * node-k-1
@@ -1142,10 +1201,11 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
1142
1201
  export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1143
1202
  /**
1144
1203
  * @remarks
1145
- * Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
1204
+ * Specifies whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`. Valid values:
1205
+ *
1206
+ * - `true`: enables auto-renewal.
1146
1207
  *
1147
- * * `true`: enables auto-renewal.
1148
- * * `false`: disables auto-renewal.
1208
+ * - `false`: disables auto-renewal.
1149
1209
  *
1150
1210
  * Default value: `false`.
1151
1211
  *
@@ -1157,8 +1217,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1157
1217
  * @remarks
1158
1218
  * The auto-renewal period. Valid values:
1159
1219
  *
1160
- * * Valid values when PeriodUnit is set to Week: 1, 2, and 3.
1161
- * * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
1220
+ * - If \\`PeriodUnit\\` is set to \\`Week\\`: 1, 2, and 3.
1221
+ *
1222
+ * - If \\`PeriodUnit\\` is set to \\`Month\\`: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
1162
1223
  *
1163
1224
  * Default value: 1.
1164
1225
  *
@@ -1168,7 +1229,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1168
1229
  autoRenewPeriod?: number;
1169
1230
  /**
1170
1231
  * @remarks
1171
- * This parameter is deprecated. Use security_hardening_os instead.
1232
+ * [Deprecated] Use the \\`security_hardening_os\\` parameter instead.
1172
1233
  *
1173
1234
  * @example
1174
1235
  * null
@@ -1178,10 +1239,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1178
1239
  cisEnabled?: boolean;
1179
1240
  /**
1180
1241
  * @remarks
1181
- * Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the price or insufficient inventory. This parameter takes effect when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
1242
+ * Specifies whether to automatically create pay-as-you-go instances to meet the instance quantity requirement when \\`multi_az_policy\\` is set to \\`COST_OPTIMIZED\\` and spot instances cannot be created due to issues such as price or insufficient inventory. Valid values:
1243
+ *
1244
+ * - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
1182
1245
  *
1183
- * * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
1184
- * * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
1246
+ * - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
1185
1247
  *
1186
1248
  * @example
1187
1249
  * true
@@ -1189,12 +1251,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1189
1251
  compensateWithOnDemand?: boolean;
1190
1252
  /**
1191
1253
  * @remarks
1192
- * The configurations of the data disks that are attached to nodes in the node pool.
1254
+ * The data disk configurations of the nodes in the node pool.
1193
1255
  */
1194
1256
  dataDisks?: DataDisk[];
1195
1257
  /**
1196
1258
  * @remarks
1197
- * The ID of the deployment set.
1259
+ * The ID of the deployment set. You can use a deployment set to distribute the ECS instances created in the node pool across different physical servers to ensure high availability and underlying disaster recovery. When you create ECS instances in a deployment set, the instances are launched in the specified region based on the deployment strategy that you set.
1260
+ *
1261
+ * >Notice:
1262
+ *
1263
+ * 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) nodes. Select a deployment set with sufficient quota to prevent node creation failures.
1198
1264
  *
1199
1265
  * @example
1200
1266
  * ds-bp1d19mmbsv3jf6xxxxx
@@ -1204,18 +1270,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1204
1270
  * @remarks
1205
1271
  * The expected number of nodes in the node pool.
1206
1272
  *
1273
+ * The total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure that cluster components run as expected. You can adjust the expected number of nodes to scale out or scale in the node pool.
1274
+ *
1275
+ * If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
1276
+ *
1207
1277
  * @example
1208
1278
  * 0
1209
1279
  */
1210
1280
  desiredSize?: number;
1211
1281
  /**
1212
1282
  * @remarks
1213
- * Block device initialization configuration.
1283
+ * The block device initialization configurations.
1214
1284
  */
1215
1285
  diskInit?: DiskInit[];
1216
1286
  /**
1217
1287
  * @remarks
1218
- * The custom image ID. By default, the image provided by Container Service for Kubernetes (ACK) is used.
1288
+ * The ID of the custom image. By default, the system-provided image is used.
1219
1289
  *
1220
1290
  * @example
1221
1291
  * aliyun_2_1903_x64_20G_alibase_20200529.vhd
@@ -1223,18 +1293,27 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1223
1293
  imageId?: string;
1224
1294
  /**
1225
1295
  * @remarks
1226
- * The type of the OS image. You must specify this parameter or `platform`. Valid values:
1296
+ * The OS image type. Valid values:
1297
+ *
1298
+ * - `AliyunLinux`: Alinux2 image.
1299
+ *
1300
+ * - `AliyunLinuxSecurity`: Alinux2 UEFI image.
1301
+ *
1302
+ * - `AliyunLinux3`: Alinux3 image.
1303
+ *
1304
+ * - `AliyunLinux3Arm64`: Alinux3 ARM image.
1227
1305
  *
1228
- * * `AliyunLinux`: Alibaba Cloud Linux 2.
1229
- * * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
1230
- * * `AliyunLinux3`: Alibaba Cloud Linux 3
1231
- * * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 for ARM.
1232
- * * `AliyunLinux3Security`: Alibaba Cloud Linux 3 for ARM.
1233
- * * `CentOS`: CentOS.
1234
- * * `Windows`: Windows.
1235
- * * `WindowsCore`: Windows Core.
1236
- * * `ContainerOS`: ContainerOS.
1237
- * * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
1306
+ * - `AliyunLinux3Security`: Alinux3 UEFI image.
1307
+ *
1308
+ * - `CentOS`: CentOS image.
1309
+ *
1310
+ * - `Windows`: Windows image.
1311
+ *
1312
+ * - `WindowsCore`: WindowsCore image.
1313
+ *
1314
+ * - `ContainerOS`: Container-Optimized OS.
1315
+ *
1316
+ * - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
1238
1317
  *
1239
1318
  * @example
1240
1319
  * AliyunLinux3
@@ -1242,12 +1321,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1242
1321
  imageType?: string;
1243
1322
  /**
1244
1323
  * @remarks
1245
- * The billing method of nodes in the node pool. Valid values:
1324
+ * The billing method of the nodes in the node pool. Valid values:
1325
+ *
1326
+ * - `PrePaid`: subscription.
1246
1327
  *
1247
- * * `PrePaid`: subscription.
1248
- * * `PostPaid`: pay-as-you-go.
1328
+ * - `PostPaid`: pay-as-you-go.
1249
1329
  *
1250
- * Default value: `PostPaid`
1330
+ * Default value: `PostPaid`.
1251
1331
  *
1252
1332
  * This parameter is required.
1253
1333
  *
@@ -1257,29 +1337,32 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1257
1337
  instanceChargeType?: string;
1258
1338
  /**
1259
1339
  * @remarks
1260
- * Access configuration for ECS instance metadata.
1340
+ * The ECS instance metadata access configurations.
1261
1341
  */
1262
1342
  instanceMetadataOptions?: InstanceMetadataOptions;
1263
1343
  /**
1264
1344
  * @remarks
1265
- * The instance attributes.
1345
+ * The instance property configurations.
1266
1346
  */
1267
1347
  instancePatterns?: InstancePatterns[];
1268
1348
  /**
1269
1349
  * @remarks
1270
- * The instance types of nodes in the node pool. When the system adds a node to the node pool, the system selects the most appropriate one from the specified instance types for the node. You can specify 1 to 10 instance types.
1350
+ * A list of instance types for the nodes in the node pool. When the system creates nodes in the node pool, it selects an instance type from the list that meets the requirements.
1351
+ *
1352
+ * The number of instance types must be in the range of [1, 10].
1271
1353
  *
1272
- * > To ensure high availability, we recommend that you specify multiple instance types.
1354
+ * > For high availability, we recommend that you select multiple instance types.
1273
1355
  *
1274
1356
  * This parameter is required.
1275
1357
  */
1276
1358
  instanceTypes?: string[];
1277
1359
  /**
1278
1360
  * @remarks
1279
- * The metering method of the public IP address. Valid values:
1361
+ * The billing method of the public IP address. Valid values:
1280
1362
  *
1281
- * * PayByBandwidth: pay-by-bandwidth.
1282
- * * PayByTraffic: pay-by-data-transfer.
1363
+ * - PayByBandwidth: pay-by-bandwidth.
1364
+ *
1365
+ * - PayByTraffic: pay-by-traffic.
1283
1366
  *
1284
1367
  * @example
1285
1368
  * PayByTraffic
@@ -1287,7 +1370,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1287
1370
  internetChargeType?: string;
1288
1371
  /**
1289
1372
  * @remarks
1290
- * The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
1373
+ * The maximum outbound public bandwidth of the node. Unit: Mbit/s. The value must be in the range of [1, 100].
1291
1374
  *
1292
1375
  * @example
1293
1376
  * 5
@@ -1295,9 +1378,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1295
1378
  internetMaxBandwidthOut?: number;
1296
1379
  /**
1297
1380
  * @remarks
1298
- * The name of the key pair used to log on to nodes in the node pool. You must set this parameter or `login_password`.
1381
+ * The name of the key pair that is used for passwordless logon. You must specify one of \\`key_pair\\` and \\`login_password\\`.
1299
1382
  *
1300
- * > If you select ContainerOS as the OS of nodes in the node pool, you must specify `key_pair`.
1383
+ * > If you select Container-Optimized OS for the node pool, you can use only \\`key_pair\\`.
1301
1384
  *
1302
1385
  * @example
1303
1386
  * np-key-name
@@ -1305,7 +1388,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1305
1388
  keyPair?: string;
1306
1389
  /**
1307
1390
  * @remarks
1308
- * Specifies whether to allow a non-root user to log on to an ECS instance that is added to the node pool.
1391
+ * Specifies whether to log on to the created ECS instances as a non-root user.
1392
+ *
1393
+ * - true: Logs on as the ecs-user.
1394
+ *
1395
+ * - false: Logs on as the root user.
1309
1396
  *
1310
1397
  * @example
1311
1398
  * true
@@ -1313,7 +1400,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1313
1400
  loginAsNonRoot?: boolean;
1314
1401
  /**
1315
1402
  * @remarks
1316
- * The password for SSH logon. You must specify this parameter or the `key_pair` parameter. 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.
1403
+ * The SSH logon password. You must specify one of \\`key_pair\\` and \\`login_password\\`. 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.
1317
1404
  *
1318
1405
  * @example
1319
1406
  * ****
@@ -1321,17 +1408,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1321
1408
  loginPassword?: string;
1322
1409
  /**
1323
1410
  * @remarks
1324
- * The ECS instance scaling policy for the multi-zone scaling group. Valid values:
1325
- *
1326
- * * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
1411
+ * The scaling policy for the ECS instances in the multi-zone scaling group. Valid values:
1327
1412
  *
1328
- * * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created if preemptible instance types are specified in the scaling configurations. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
1413
+ * - `PRIORITY`: Scales instances based on the vSwitch priority. The system scales instances based on the order of vSwitches that you specify in \\`VSwitchIds.N\\`. If the system fails to create an ECS instance in the zone where the vSwitch with the highest priority resides, it automatically uses the vSwitch with the next highest priority to create the instance.
1329
1414
  *
1330
- * **
1415
+ * - `COST_OPTIMIZED`: Creates instances based on the vCPU unit price in ascending order. When multiple instance types are specified and the preemptible instance policy is configured, the system gives priority to creating the lowest-cost instance type. You can also use the \\`CompensateWithOnDemand\\` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
1331
1416
  *
1332
- * **Note** `COST_OPTIMIZED` takes effect only when multiple instance types are specified or at least one preemptible instance type is specified.
1417
+ * > `COST_OPTIMIZED` takes effect only when multiple instance types are specified or the preemptible instance policy is configured.
1333
1418
  *
1334
- * * `BALANCE`: ECS instances are evenly distributed across multiple zones for the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation of Auto Scaling to evenly distribute the ECS instances among zones.
1419
+ * - `BALANCE`: Evenly distributes ECS instances across the specified zones. If the distribution of ECS instances becomes unbalanced due to insufficient inventory, you can call the API [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation to balance the resource distribution.
1335
1420
  *
1336
1421
  * Default value: `PRIORITY`.
1337
1422
  *
@@ -1341,7 +1426,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1341
1426
  multiAzPolicy?: string;
1342
1427
  /**
1343
1428
  * @remarks
1344
- * The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, the system preferably creates pay-as-you-go instances.
1429
+ * The minimum number of pay-as-you-go instances that must be included in the scaling group. The value must be in the range of [0, 1000]. If the number of pay-as-you-go instances is less than this value, the system gives priority to creating pay-as-you-go instances.
1345
1430
  *
1346
1431
  * @example
1347
1432
  * 0
@@ -1349,7 +1434,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1349
1434
  onDemandBaseCapacity?: number;
1350
1435
  /**
1351
1436
  * @remarks
1352
- * The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
1437
+ * The percentage of pay-as-you-go instances among the extra instances that are created after the minimum number of pay-as-you-go instances (\\`on_demand_base_capacity\\`) is met. The value must be in the range of [0, 100].
1353
1438
  *
1354
1439
  * @example
1355
1440
  * 20
@@ -1357,10 +1442,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1357
1442
  onDemandPercentageAboveBaseCapacity?: number;
1358
1443
  /**
1359
1444
  * @remarks
1360
- * The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
1445
+ * The subscription duration of the nodes in the node pool. This parameter is required and takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`.
1361
1446
  *
1362
- * * If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4.
1363
- * * If `period_unit` is set to Month, the valid values of `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
1447
+ * - If \\`period_unit\\` is set to \\`Week\\`, the valid values of \\`period\\` are 1, 2, 3, and 4.
1448
+ *
1449
+ * - If \\`period_unit\\` is set to \\`Month\\`, the valid values of \\`period\\` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
1364
1450
  *
1365
1451
  * @example
1366
1452
  * 1
@@ -1368,10 +1454,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1368
1454
  period?: number;
1369
1455
  /**
1370
1456
  * @remarks
1371
- * The billing cycle of nodes in the node pool. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`. Valid values:
1457
+ * The billing cycle of the nodes in the node pool. This parameter is required and takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`.
1458
+ *
1459
+ * - `Month`: The billing cycle is measured in months.
1372
1460
  *
1373
- * * `Month`: The subscription duration is measured in months.
1374
- * * `Week`: The subscription duration is measured in weeks.
1461
+ * - `Week`: The billing cycle is measured in weeks.
1375
1462
  *
1376
1463
  * Default value: `Month`.
1377
1464
  *
@@ -1381,12 +1468,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1381
1468
  periodUnit?: string;
1382
1469
  /**
1383
1470
  * @remarks
1384
- * The operating system distribution. Valid values:
1471
+ * [This parameter is deprecated] Use the \\`image_type\\` parameter instead.
1472
+ *
1473
+ * The OS distribution. Valid values:
1385
1474
  *
1386
- * * `CentOS`
1387
- * * `AliyunLinux`
1388
- * * `Windows`
1389
- * * `WindowsCore`
1475
+ * - `CentOS`
1476
+ *
1477
+ * - `AliyunLinux`
1478
+ *
1479
+ * - `Windows`
1480
+ *
1481
+ * - `WindowsCore`
1390
1482
  *
1391
1483
  * Default value: `AliyunLinux`.
1392
1484
  *
@@ -1398,17 +1490,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1398
1490
  platform?: string;
1399
1491
  /**
1400
1492
  * @remarks
1401
- * The configurations of the private node pool.
1493
+ * The private pool configurations.
1402
1494
  */
1403
1495
  privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
1404
1496
  /**
1405
1497
  * @remarks
1406
1498
  * The name of the worker RAM role.
1407
1499
  *
1408
- * * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
1409
- * * The specified RAM role must be a **regular service role** and the **Select Trusted Service** parameter must be set to **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 name of the RAM role cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
1500
+ * - If this parameter is left empty, the default worker RAM role of the cluster is used.
1501
+ *
1502
+ * - If this parameter is not empty, the specified RAM role must be a **service role**, and its **trusted service** must be **Elastic Compute Service**. For more information, see [Create a service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role of the cluster, the name of the role cannot start with \\`KubernetesMasterRole-\\` or \\`KubernetesWorkerRole-\\`.
1410
1503
  *
1411
- * > This parameter is available only for ACK managed clusters that run Kubernetes 1.22 or later.
1504
+ * >Notice:
1505
+ *
1506
+ * This parameter is supported only by ACK managed clusters of Kubernetes 1.22 or later.
1412
1507
  *
1413
1508
  * @example
1414
1509
  * example-role
@@ -1416,24 +1511,23 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1416
1511
  ramRoleName?: string;
1417
1512
  /**
1418
1513
  * @remarks
1419
- * The IDs of ApsaraDB RDS instances.
1514
+ * A list of RDS instances.
1420
1515
  */
1421
1516
  rdsInstances?: string[];
1422
1517
  /**
1423
1518
  * @remarks
1424
- * The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
1425
- *
1426
- * This parameter takes effect only when pay-as-you-go instances are created.
1427
- *
1428
- * This parameter cannot be set together with `private_pool_options.match_criteria` or `private_pool_options.id`.
1519
+ * The resource pool and policy used to create instances. Note:
1520
+ * This parameter takes effect only when you create pay-as-you-go instances.
1521
+ * This parameter cannot be set at the same time as \\`private_pool_options.match_criteria\\` and \\`private_pool_options.id\\`.
1429
1522
  */
1430
1523
  resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
1431
1524
  /**
1432
1525
  * @remarks
1433
1526
  * The scaling mode of the scaling group. Valid values:
1434
1527
  *
1435
- * * `release`: the standard mode. ECS instances are created and released based on resource usage.
1436
- * * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
1528
+ * - `release`: standard mode. The system creates and releases ECS instances to scale the group.
1529
+ *
1530
+ * - `recycle`: accelerated mode. The system creates, stops, and starts ECS instances to scale the group. This improves the scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instances with local disks.
1437
1531
  *
1438
1532
  * Default value: `release`.
1439
1533
  *
@@ -1443,7 +1537,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1443
1537
  scalingPolicy?: string;
1444
1538
  /**
1445
1539
  * @remarks
1446
- * The ID of the security group to which you want to add the node pool. You must specify this parameter or the `security_group_ids` parameter. We recommend that you specify `security_group_ids`.
1540
+ * The ID of the security group for the node pool. You must specify one of \\`security_group_ids\\` and \\`security_group_id\\`. We recommend that you specify \\`security_group_ids\\`.
1447
1541
  *
1448
1542
  * @example
1449
1543
  * sg-wz9a8g2mt6x5llu0****
@@ -1453,15 +1547,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1453
1547
  securityGroupId?: string;
1454
1548
  /**
1455
1549
  * @remarks
1456
- * The IDs of security groups. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify both `security_group_id` and `security_group_ids`, `security_group_ids` is used.
1550
+ * A list of security group IDs. You must specify one of \\`security_group_ids\\` and \\`security_group_id\\`. We recommend that you specify \\`security_group_ids\\`. If you specify both \\`security_group_id\\` and \\`security_group_ids\\`, \\`security_group_ids\\` takes precedence.
1457
1551
  */
1458
1552
  securityGroupIds?: string[];
1459
1553
  /**
1460
1554
  * @remarks
1461
- * Indicates whether Alibaba Cloud Linux Security Hardening is enabled. Valid values:
1555
+ * Alibaba Cloud OS security hardening. Valid values:
1556
+ *
1557
+ * - `true`: Enables Alibaba Cloud OS security hardening.
1462
1558
  *
1463
- * * `true`: enables Alibaba Cloud Linux Security Hardening.
1464
- * * `false`: disables Alibaba Cloud Linux Security Hardening.
1559
+ * - `false`: Disables Alibaba Cloud OS security hardening.
1465
1560
  *
1466
1561
  * Default value: `false`.
1467
1562
  *
@@ -1471,7 +1566,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1471
1566
  securityHardeningOs?: boolean;
1472
1567
  /**
1473
1568
  * @remarks
1474
- * Specifies whether to enable MLPS Security Hardening. You can enable security hardening based on Multi-Level Protection Scheme (MLPS) only when Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline checks and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of MLPS 2.0.
1569
+ * Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when you select Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 for the OS image. Alibaba Cloud provides baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 Level 3 of MLPS 2.0 to ensure classified protection compliance.
1475
1570
  *
1476
1571
  * @example
1477
1572
  * false
@@ -1479,7 +1574,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1479
1574
  socEnabled?: boolean;
1480
1575
  /**
1481
1576
  * @remarks
1482
- * The number of instance types that are available for creating preemptible instances. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
1577
+ * The number of instance types that you can specify. The scaling group creates preemptible instances of multiple instance types that are available at the lowest cost. The value must be in the range of [1, 10].
1483
1578
  *
1484
1579
  * @example
1485
1580
  * 5
@@ -1487,10 +1582,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1487
1582
  spotInstancePools?: number;
1488
1583
  /**
1489
1584
  * @remarks
1490
- * Indicates whether preemptible instances can be supplemented. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
1585
+ * Specifies whether to enable the instance reclaim mode. After this mode is enabled, when the system receives a message that a spot instance is about to be reclaimed, the scaling group attempts to create a new instance to replace the instance that is about to be reclaimed. Valid values:
1491
1586
  *
1492
- * * `true`: enables the supplementation of preemptible instances.
1493
- * * `false`: disables the supplementation of preemptible instances.
1587
+ * - `true`: Enables the instance reclaim mode.
1588
+ *
1589
+ * - `false`: Disables the instance reclaim mode.
1494
1590
  *
1495
1591
  * @example
1496
1592
  * false
@@ -1498,18 +1594,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1498
1594
  spotInstanceRemedy?: boolean;
1499
1595
  /**
1500
1596
  * @remarks
1501
- * The instance type of preemptible instances and the price cap for the instance type.
1597
+ * The configurations of the price range for a single spot instance.
1502
1598
  */
1503
1599
  spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
1504
1600
  /**
1505
1601
  * @remarks
1506
- * The bidding policy of preemptible instances. Valid values:
1602
+ * The bidding policy for the spot instances. Valid values:
1603
+ *
1604
+ * - `NoSpot`: The instance is not a spot instance.
1507
1605
  *
1508
- * * `NoSpot`: non-preemptible.
1509
- * * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
1510
- * * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
1606
+ * - `SpotWithPriceLimit`: Sets the maximum bid price for the spot instance.
1511
1607
  *
1512
- * For more information, see [Use preemptible instances](https://help.aliyun.com/document_detail/165053.html).
1608
+ * - `SpotAsPriceGo`: The system automatically bids based on the current market price.
1609
+ *
1610
+ * For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
1513
1611
  *
1514
1612
  * @example
1515
1613
  * NoSpot
@@ -1517,12 +1615,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1517
1615
  spotStrategy?: string;
1518
1616
  /**
1519
1617
  * @remarks
1520
- * Specifies whether to enable the burst feature for the system disk. Valid values:
1618
+ * Specifies whether to enable the performance burst feature for the system disk of the node. Valid values:
1619
+ *
1620
+ * - true: Yes.
1521
1621
  *
1522
- * * true: enables the burst feature.
1523
- * * false: disables the burst feature.
1622
+ * - false: No.
1524
1623
  *
1525
- * This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1624
+ * This parameter can be set only when \\`system_disk_category\\` is set to \\`cloud_auto\\`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1526
1625
  *
1527
1626
  * @example
1528
1627
  * true
@@ -1530,26 +1629,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1530
1629
  systemDiskBurstingEnabled?: boolean;
1531
1630
  /**
1532
1631
  * @remarks
1533
- * The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values:
1534
- *
1535
- * * `cloud`: basic disk.
1536
- * * `cloud_efficiency`: ultra disk.
1537
- * * `cloud_ssd`: standard SSD.
1538
- * * `cloud_essd`: ESSD.
1539
- * * `cloud_auto`: ESSD AutoPL disk.
1540
- * * `cloud_essd_entry`: ESSD Entry disk.
1632
+ * The types of system disks. If a disk of a high-priority type is unavailable, the system automatically uses a disk of the next priority type to create the system disk.
1541
1633
  */
1542
1634
  systemDiskCategories?: string[];
1543
1635
  /**
1544
1636
  * @remarks
1545
- * The category of the system disk. Valid values:
1637
+ * The type of the system disk of the node. Valid values:
1546
1638
  *
1547
- * * `cloud`: basic disk.
1548
- * * `cloud_efficiency`: ultra disk.
1549
- * * `cloud_ssd`: standard SSD.
1550
- * * `cloud_essd`: ESSD.
1551
- * * `cloud_auto`: ESSD AutoPL disk.
1552
- * * `cloud_essd_entry`: ESSD Entry disk.
1639
+ * - `cloud_efficiency`: ultra disk.
1640
+ *
1641
+ * - `cloud_ssd`: standard SSD.
1642
+ *
1643
+ * - `cloud_essd`: ESSD.
1644
+ *
1645
+ * - `cloud_auto`: ESSD AutoPL disk.
1646
+ *
1647
+ * - `cloud_essd_entry`: ESSD Entry disk.
1553
1648
  *
1554
1649
  * Default value: `cloud_efficiency`.
1555
1650
  *
@@ -1559,7 +1654,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1559
1654
  systemDiskCategory?: string;
1560
1655
  /**
1561
1656
  * @remarks
1562
- * The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
1657
+ * The encryption algorithm that is used to encrypt the system disk. Valid value: aes-256.
1563
1658
  *
1564
1659
  * @example
1565
1660
  * aes-256
@@ -1567,7 +1662,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1567
1662
  systemDiskEncryptAlgorithm?: string;
1568
1663
  /**
1569
1664
  * @remarks
1570
- * Specifies whether to encrypt the system disk. true: encrypts the system disk. false: does not encrypt the system disk.
1665
+ * Specifies whether to encrypt the system disk. Valid values:
1666
+ *
1667
+ * - true: encrypts the system disk.
1668
+ *
1669
+ * - false: does not encrypt the system disk.
1571
1670
  *
1572
1671
  * @example
1573
1672
  * false
@@ -1583,14 +1682,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1583
1682
  systemDiskKmsKeyId?: string;
1584
1683
  /**
1585
1684
  * @remarks
1586
- * The PL of the system disk. This parameter takes effect only for an ESSD.
1685
+ * The performance level of the system disk for each node. This parameter applies only to Enhanced SSD (ESSD) disks. The performance level of an ESSD is determined by its size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
1686
+ *
1687
+ * - PL0: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
1587
1688
  *
1588
- * * PL0: moderate maximum concurrent I/O performance and low I/O latency.
1589
- * * PL1: moderate maximum concurrent I/O performance and low I/O latency.
1590
- * * PL2: high maximum concurrent I/O performance and low I/O latency.
1591
- * * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
1689
+ * - PL1: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
1592
1690
  *
1593
- * > Alibaba Cloud disks support the preceding PLs. However, when you create a disk, the available PLs vary based on the ECS instance type that you selected. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
1691
+ * - PL2: A high maximum concurrent I/O performance and a stable read/write latency.
1692
+ *
1693
+ * - PL3: A very high maximum concurrent I/O performance and a very stable read/write latency.
1594
1694
  *
1595
1695
  * @example
1596
1696
  * PL1
@@ -1598,9 +1698,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1598
1698
  systemDiskPerformanceLevel?: string;
1599
1699
  /**
1600
1700
  * @remarks
1601
- * The preset IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
1701
+ * The provisioned read/write IOPS of the system disk of the node.
1702
+ *
1703
+ * Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
1602
1704
  *
1603
- * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1705
+ * This parameter can be set only when \\`system_disk_category\\` is set to \\`cloud_auto\\`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1604
1706
  *
1605
1707
  * @example
1606
1708
  * 1000
@@ -1608,9 +1710,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1608
1710
  systemDiskProvisionedIops?: number;
1609
1711
  /**
1610
1712
  * @remarks
1611
- * The size of the system disk. Unit: GiB.
1713
+ * The size of the system disk of the node. Unit: GiB.
1612
1714
  *
1613
- * Valid values: 20 to 20248.
1715
+ * The value must be in the range of [20, 2048].
1614
1716
  *
1615
1717
  * @example
1616
1718
  * 120
@@ -1618,7 +1720,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1618
1720
  systemDiskSize?: number;
1619
1721
  /**
1620
1722
  * @remarks
1621
- * Snapshot policy for the system disk.
1723
+ * The snapshot policy for the system disk.
1622
1724
  *
1623
1725
  * @example
1624
1726
  * sp-0jl6xnmme8v7o935****
@@ -1628,14 +1730,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1628
1730
  * @remarks
1629
1731
  * The tags that you want to add only to ECS instances.
1630
1732
  *
1631
- * The tag key must be unique and cannot exceed 128 characters in length. The tag key and value cannot start with aliyun or acs: or contain https:// or http://.
1733
+ * A tag key cannot be repeated. The tag key can be up to 128 characters in length. The tag key and the tag value cannot start with aliyun or acs:”, and cannot contain https\\://” or http\\://”.
1632
1734
  */
1633
1735
  tags?: CreateClusterNodePoolRequestScalingGroupTags[];
1634
1736
  /**
1635
1737
  * @remarks
1636
- * The vSwitch IDs. You can specify one to eight vSwitch IDs.
1738
+ * A list of vSwitch IDs. The number of vSwitch IDs must be in the range of [1, 8].
1637
1739
  *
1638
- * > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
1740
+ * > For high availability, we recommend that you select vSwitches in different zones.
1639
1741
  *
1640
1742
  * This parameter is required.
1641
1743
  */
@@ -1801,7 +1903,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1801
1903
  export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
1802
1904
  /**
1803
1905
  * @remarks
1804
- * Specifies whether to enable confidential computing for the cluster.
1906
+ * Specifies whether to enable the confidential computing cluster.
1907
+ *
1908
+ * - true: Enables confidential computing.
1909
+ *
1910
+ * - false: Disables confidential computing.
1805
1911
  *
1806
1912
  * @example
1807
1913
  * true
@@ -1831,17 +1937,17 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
1831
1937
  export class CreateClusterNodePoolRequest extends $dara.Model {
1832
1938
  /**
1833
1939
  * @remarks
1834
- * Intelligent managed configuration for the node pool.
1940
+ * The intelligent managed node pool configurations.
1835
1941
  */
1836
1942
  autoMode?: CreateClusterNodePoolRequestAutoMode;
1837
1943
  /**
1838
1944
  * @remarks
1839
- * The configurations of auto scaling.
1945
+ * The auto scaling configurations.
1840
1946
  */
1841
1947
  autoScaling?: CreateClusterNodePoolRequestAutoScaling;
1842
1948
  /**
1843
1949
  * @remarks
1844
- * This parameter is deprecated. Use the desired_size parameter instead.
1950
+ * [This parameter is deprecated] Use desired_size instead.
1845
1951
  *
1846
1952
  * The number of nodes in the node pool.
1847
1953
  *
@@ -1853,15 +1959,16 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1853
1959
  count?: number;
1854
1960
  /**
1855
1961
  * @remarks
1856
- * Lingjun node pool configuration.
1962
+ * The Lingjun node pool configurations.
1857
1963
  */
1858
1964
  efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
1859
1965
  /**
1860
1966
  * @remarks
1861
- * Specifies whether to set the network type of the pod to host network.
1967
+ * Specifies whether to use the host network for the pod network.
1862
1968
  *
1863
- * * `true`: sets to host network.
1864
- * * `false`: sets to container network.
1969
+ * - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
1970
+ *
1971
+ * - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
1865
1972
  *
1866
1973
  * @example
1867
1974
  * true
@@ -1869,7 +1976,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1869
1976
  hostNetwork?: boolean;
1870
1977
  /**
1871
1978
  * @remarks
1872
- * This parameter is deprecated.
1979
+ * [This parameter is deprecated]
1873
1980
  *
1874
1981
  * The configurations of the edge node pool.
1875
1982
  *
@@ -1878,10 +1985,11 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1878
1985
  interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
1879
1986
  /**
1880
1987
  * @remarks
1881
- * The network type of the edge node pool. This parameter takes effect only when the `type` of the node pool is set to `edge`. Valid values:
1988
+ * The network type of the edge node pool. This parameter takes effect only for node pools of the \\`edge\\` type. Valid values:
1989
+ *
1990
+ * - `basic`: public network. Nodes in the node pool interact with cloud nodes over the Internet. Applications in the node pool cannot directly access the VPC in the cloud.
1882
1991
  *
1883
- * * `basic`: Internet.
1884
- * * `private`: private network.
1992
+ * - `private`: private network. Nodes in the node pool connect to the cloud over a leased line, VPN, or CEN to achieve higher communication quality and better security.
1885
1993
  *
1886
1994
  * @example
1887
1995
  * basic
@@ -1889,10 +1997,11 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1889
1997
  interconnectMode?: string;
1890
1998
  /**
1891
1999
  * @remarks
1892
- * Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3.
2000
+ * Specifies whether nodes in the edge node pool can communicate with each other at Layer 3.
2001
+ *
2002
+ * - `true`: All nodes in the node pool can communicate with each other at Layer 3.
1893
2003
  *
1894
- * * `true`: The nodes in the edge node pool can communicate with each other at Layer 3.
1895
- * * `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
2004
+ * - `false`: All hosts in the node pool cannot communicate with each other at Layer 3.
1896
2005
  *
1897
2006
  * @example
1898
2007
  * true
@@ -1900,7 +2009,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1900
2009
  intranet?: boolean;
1901
2010
  /**
1902
2011
  * @remarks
1903
- * The configurations of the cluster.
2012
+ * The cluster-related configurations.
1904
2013
  */
1905
2014
  kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
1906
2015
  /**
@@ -1910,9 +2019,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1910
2019
  management?: CreateClusterNodePoolRequestManagement;
1911
2020
  /**
1912
2021
  * @remarks
1913
- * This parameter is deprecated.
2022
+ * [This parameter is deprecated]
1914
2023
  *
1915
- * The maximum number of nodes that can be contained in the edge node pool.
2024
+ * The maximum number of nodes that the edge node pool can contain.
1916
2025
  *
1917
2026
  * @example
1918
2027
  * null
@@ -1922,7 +2031,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1922
2031
  maxNodes?: number;
1923
2032
  /**
1924
2033
  * @remarks
1925
- * List of edge zone widgets.
2034
+ * A list of node components.
1926
2035
  */
1927
2036
  nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
1928
2037
  /**
@@ -1932,17 +2041,17 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1932
2041
  nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
1933
2042
  /**
1934
2043
  * @remarks
1935
- * The configurations of the node pool.
2044
+ * The node pool configurations.
1936
2045
  */
1937
2046
  nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
1938
2047
  /**
1939
2048
  * @remarks
1940
- * The configurations of the scaling group that is used by the node pool.
2049
+ * The configurations of the scaling group for the node pool.
1941
2050
  */
1942
2051
  scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
1943
2052
  /**
1944
2053
  * @remarks
1945
- * The configurations of confidential computing for the cluster.
2054
+ * The configurations of the confidential computing cluster.
1946
2055
  */
1947
2056
  teeConfig?: CreateClusterNodePoolRequestTeeConfig;
1948
2057
  static names(): { [key: string]: string } {