@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
@@ -9,9 +9,11 @@ import { Taint } from "./Taint";
9
9
  export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
10
10
  /**
11
11
  * @remarks
12
- * Whether to enable the intelligent managed mode.
12
+ * Specifies whether to enable the intelligent managed mode.
13
13
  * Valid values:
14
- * - true: Enables the intelligent managed mode. This can be enabled only when the cluster has the intelligent managed mode enabled.
14
+ *
15
+ * - true: Enables the intelligent managed mode. You can enable this mode only when the intelligent managed mode is enabled for the cluster.
16
+ *
15
17
  * - false: Disables the intelligent managed mode.
16
18
  *
17
19
  * @example
@@ -32,13 +34,9 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
32
34
  export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
33
35
  /**
34
36
  * @remarks
35
- * This parameter is deprecated.
36
- *
37
- * The maximum bandwidth of the EIP. Unit: Mbit/s.
38
- *
39
- * **
37
+ * [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
40
38
  *
41
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
39
+ * The peak bandwidth of the EIP. Unit: Mbps.
42
40
  *
43
41
  * @example
44
42
  * null
@@ -48,18 +46,15 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
48
46
  eipBandwidth?: number;
49
47
  /**
50
48
  * @remarks
51
- * This parameter is deprecated.
49
+ * [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
52
50
  *
53
- * The metering method of the EIP. Valid values:
51
+ * The billing method of the EIP. Valid values:
54
52
  *
55
- * * `PayByBandwidth`: pay-by-bandwidth.
56
- * * `PayByTraffic`: pay-by-data-transfer.
53
+ * - `PayByBandwidth`: pay-by-bandwidth.
57
54
  *
58
- * Default value: `PayByBandwidth`.
59
- *
60
- * **
55
+ * - `PayByTraffic`: pay-by-traffic.
61
56
  *
62
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
57
+ * Default value: `PayByBandwidth`.
63
58
  *
64
59
  * @example
65
60
  * null
@@ -69,10 +64,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
69
64
  eipInternetChargeType?: string;
70
65
  /**
71
66
  * @remarks
72
- * Specifies whether to enable auto scaling for the node pool. Valid values:
67
+ * Specifies whether to enable auto scaling. Valid values:
68
+ *
69
+ * - `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).
73
70
  *
74
- * * `true`: enables auto scaling.
75
- * * `false`: disables auto scaling. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
71
+ * - `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.
72
+ *
73
+ * If you set this parameter to false, other parameters in \\`auto_scaling\\` do not take effect.
76
74
  *
77
75
  * Default value: `false`.
78
76
  *
@@ -82,18 +80,15 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
82
80
  enable?: boolean;
83
81
  /**
84
82
  * @remarks
85
- * This parameter is deprecated.
86
- *
87
- * Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
83
+ * [This parameter is deprecated] This parameter is deprecated. Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
88
84
  *
89
- * * `true`: associates an EIP with the node pool.
90
- * * `false`: does not associate an EIP with the node pool.
85
+ * Specifies whether to associate an EIP with the node. Valid values:
91
86
  *
92
- * Default value: `false`.
87
+ * - `true`: associates an EIP with the node.
93
88
  *
94
- * **
89
+ * - `false`: does not associate an EIP with the node.
95
90
  *
96
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
91
+ * Default value: `false`.
97
92
  *
98
93
  * @example
99
94
  * null
@@ -103,7 +98,9 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
103
98
  isBondEip?: boolean;
104
99
  /**
105
100
  * @remarks
106
- * 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.
101
+ * 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\\`.
102
+ *
103
+ * The value must be in the range of [\\`min_instances\\`, 2000]. Default value: 0.
107
104
  *
108
105
  * @example
109
106
  * 10
@@ -111,7 +108,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
111
108
  maxInstances?: number;
112
109
  /**
113
110
  * @remarks
114
- * 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.
111
+ * 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\\`.
112
+ *
113
+ * The value must be in the range of [0, \\`max_instances\\`]. Default value: 0.
114
+ *
115
+ * > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
116
+ * >
117
+ * > - 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.
115
118
  *
116
119
  * @example
117
120
  * 1
@@ -119,16 +122,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
119
122
  minInstances?: number;
120
123
  /**
121
124
  * @remarks
122
- * The instance type that is used for auto scaling. This parameter takes effect only when `enable` is set to true. Valid values:
125
+ * The type of instances that are automatically scaled. This parameter takes effect only if \\`enable\\` is set to \\`true\\`. Valid values:
123
126
  *
124
- * * `cpu`: regular instance.
125
- * * `gpu`: GPU-accelerated instance.
126
- * * `gpushare`: shared GPU-accelerated instance.
127
- * * `spot`: preemptible instance.
127
+ * - `cpu`: regular instance.
128
128
  *
129
- * Default value: `cpu`.
129
+ * - `gpu`: GPU-accelerated instance.
130
+ *
131
+ * - `gpushare`: shared GPU-accelerated instance.
130
132
  *
131
- * > You cannot modify this parameter after the node pool is created.
133
+ * - `spot`: spot instance.
134
+ *
135
+ * Default value: `cpu`.
136
+ * >Notice: You cannot change the value of this parameter after the node pool is created.
132
137
  *
133
138
  * @example
134
139
  * cpu
@@ -148,7 +153,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
148
153
  export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
149
154
  /**
150
155
  * @remarks
151
- * The Lingjun cluster ID that must be associated when creating a Lingjun node pool.
156
+ * The ID of the Lingjun cluster that you want to associate with the Lingjun node pool when you create the node pool.
152
157
  *
153
158
  * @example
154
159
  * i1169130516633730****
@@ -156,7 +161,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
156
161
  clusterId?: string;
157
162
  /**
158
163
  * @remarks
159
- * The ID of the Lingjun group in the Lingjun cluster to associate when creating a Lingjun node pool.
164
+ * 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.
160
165
  *
161
166
  * @example
162
167
  * ng-ec3c96ff0aa****
@@ -176,9 +181,9 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
176
181
  export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
177
182
  /**
178
183
  * @remarks
179
- * This parameter is deprecated.
184
+ * [This parameter is deprecated]
180
185
  *
181
- * The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
186
+ * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
182
187
  *
183
188
  * @example
184
189
  * null
@@ -186,9 +191,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
186
191
  bandwidth?: number;
187
192
  /**
188
193
  * @remarks
189
- * This parameter is deprecated.
194
+ * [This parameter is deprecated]
190
195
  *
191
- * The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
196
+ * The ID of the CCN instance that is associated with the enhanced edge node pool.
192
197
  *
193
198
  * @example
194
199
  * null
@@ -196,9 +201,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
196
201
  ccnId?: string;
197
202
  /**
198
203
  * @remarks
199
- * This parameter is deprecated.
204
+ * [This parameter is deprecated]
200
205
  *
201
- * The region to which the CCN instance that is associated with the enhanced edge node pool belongs.
206
+ * The region of the CCN instance that is associated with the enhanced edge node pool.
202
207
  *
203
208
  * @example
204
209
  * null
@@ -206,9 +211,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
206
211
  ccnRegionId?: string;
207
212
  /**
208
213
  * @remarks
209
- * This parameter is deprecated.
214
+ * [This parameter is deprecated]
210
215
  *
211
- * The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
216
+ * The ID of the CEN instance that is associated with the enhanced edge node pool.
212
217
  *
213
218
  * @example
214
219
  * null
@@ -216,9 +221,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
216
221
  cenId?: string;
217
222
  /**
218
223
  * @remarks
219
- * This parameter is deprecated.
224
+ * [This parameter is deprecated]
220
225
  *
221
- * The subscription duration of the enhanced edge node pool. The duration is measured in months.
226
+ * The subscription duration of the enhanced edge node pool. Unit: months.
222
227
  *
223
228
  * @example
224
229
  * null
@@ -238,12 +243,13 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
238
243
  export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
239
244
  /**
240
245
  * @remarks
241
- * 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:
246
+ * 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:
242
247
  *
243
- * * `true`: installs the CloudMonitor agent on ECS nodes.
244
- * * `false`: does not install the CloudMonitor agent on ECS nodes.
248
+ * - `true`: Installs Cloud Monitor on the ECS nodes.
245
249
  *
246
- * Default value: `false`
250
+ * - `false`: Does not install Cloud Monitor on the ECS nodes.
251
+ *
252
+ * Default value: `false`.
247
253
  *
248
254
  * @example
249
255
  * false
@@ -251,10 +257,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
251
257
  cmsEnabled?: boolean;
252
258
  /**
253
259
  * @remarks
254
- * 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:
260
+ * 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:
261
+ *
262
+ * - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
255
263
  *
256
- * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
257
- * * `none`: specifies that the default CPU affinity is used.
264
+ * - `none`: Enables the default CPU affinity scheme.
258
265
  *
259
266
  * Default value: `none`.
260
267
  *
@@ -264,17 +271,30 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
264
271
  cpuPolicy?: string;
265
272
  /**
266
273
  * @remarks
267
- * The labels that you want to add to the nodes in the cluster.
274
+ * The labels that you want to add to the nodes in the Kubernetes cluster.
268
275
  */
269
276
  labels?: Tag[];
270
277
  /**
271
278
  * @remarks
272
- * A custom node name consists of a prefix, a node IP address, and a suffix.
279
+ * The custom node name. If you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed.
280
+ *
281
+ * > 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.
282
+ *
283
+ * A node name consists of a prefix, the node IP address, and a suffix.
284
+ *
285
+ * - The total length must be 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
286
+ *
287
+ * - 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 (.).
288
+ *
289
+ * - The prefix is required (due to an ECS limit). The suffix is optional.
290
+ *
291
+ * - The node IP address is the complete private IP address of the node.
292
+ *
293
+ * For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
273
294
  *
274
- * * 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.
275
- * * The node IP address in a custom node name is the private IP address of the node.
295
+ * - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
276
296
  *
277
- * 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.
297
+ * - 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.
278
298
  *
279
299
  * @example
280
300
  * aliyun.com192.XX.YY.55test
@@ -282,7 +302,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
282
302
  nodeNameMode?: string;
283
303
  /**
284
304
  * @remarks
285
- * The user-defined data of nodes. You can specify custom scripts that are automatically executed before the nodes are initialized.
305
+ * 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).
286
306
  *
287
307
  * @example
288
308
  * dGhpcyBpcyBhIGV4YW1wbGU
@@ -290,11 +310,13 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
290
310
  preUserData?: string;
291
311
  /**
292
312
  * @remarks
293
- * The name of the container runtime. The following types of runtime are supported by ACK:
313
+ * The name of the container runtime. ACK supports the following three container runtimes.
294
314
  *
295
- * * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
296
- * * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
297
- * * docker: The Docker runtime supports Kubernetes 1.22 and earlier.
315
+ * - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
316
+ *
317
+ * - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 or earlier.
318
+ *
319
+ * - docker: no longer maintained. It is supported by clusters of Kubernetes 1.22 or earlier.
298
320
  *
299
321
  * Default value: containerd.
300
322
  *
@@ -312,12 +334,16 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
312
334
  runtimeVersion?: string;
313
335
  /**
314
336
  * @remarks
315
- * The configurations of the taints.
337
+ * The taint configurations.
316
338
  */
317
339
  taints?: Taint[];
318
340
  /**
319
341
  * @remarks
320
- * Specifies whether the nodes are schedulable after a scale-out operation is performed.
342
+ * Specifies whether the scaled-out nodes are unschedulable.
343
+ *
344
+ * - true: The nodes are unschedulable.
345
+ *
346
+ * - false: The nodes are schedulable.
321
347
  *
322
348
  * @example
323
349
  * true
@@ -325,7 +351,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
325
351
  unschedulable?: boolean;
326
352
  /**
327
353
  * @remarks
328
- * The user-defined data of nodes. You can specify custom scripts that are automatically executed after the nodes are initialized.
354
+ * 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).
329
355
  *
330
356
  * @example
331
357
  * dGhpcyBpcyBhIGV4YW1wbGU=
@@ -345,17 +371,18 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
345
371
  export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
346
372
  /**
347
373
  * @remarks
348
- * Whether manual approval is required for edge zone repair.
374
+ * Specifies whether manual approval is required for node repair.
349
375
  */
350
376
  approvalRequired?: boolean;
351
377
  /**
352
378
  * @remarks
353
- * Specifies whether to allow node restart. This parameter takes effect only when `auto_repair` is set to true. Valid values:
379
+ * Specifies whether to allow node restart. This parameter takes effect only if \\`auto_repair\\` is set to \\`true\\`. Valid values:
354
380
  *
355
- * * `true`: allows node restart.
356
- * * `false`: does not allow node restart.
381
+ * - `true`: Allows node restart.
357
382
  *
358
- * 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`.
383
+ * - `false`: Disallows node restart.
384
+ *
385
+ * Default value: `true`
359
386
  *
360
387
  * @example
361
388
  * true
@@ -375,12 +402,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
375
402
  export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
376
403
  /**
377
404
  * @remarks
378
- * Specifies whether to allow the auto upgrade of the kubelet. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
405
+ * Specifies whether to allow auto kubelet upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
406
+ *
407
+ * - `true`: Allows auto kubelet upgrade.
379
408
  *
380
- * * `true`: allows the auto upgrade of the kubelet.
381
- * * `false`: does not allow the auto upgrade of the kubelet.
409
+ * - `false`: Disallows auto kubelet upgrade.
382
410
  *
383
- * 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`.
411
+ * Default value: `true`.
384
412
  *
385
413
  * @example
386
414
  * true
@@ -388,10 +416,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
388
416
  autoUpgradeKubelet?: boolean;
389
417
  /**
390
418
  * @remarks
391
- * Specifies whether to allow the auto upgrade of the OS. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
419
+ * Specifies whether to allow auto OS upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
420
+ *
421
+ * - `true`: Allows auto OS upgrade.
392
422
  *
393
- * * `true`: allows the auto upgrade of the OS.
394
- * * `false`: does not allow the auto upgrade of the OS.
423
+ * - `false`: Disallows auto OS upgrade.
395
424
  *
396
425
  * Default value: `false`.
397
426
  *
@@ -401,12 +430,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
401
430
  autoUpgradeOs?: boolean;
402
431
  /**
403
432
  * @remarks
404
- * Specifies whether to allow the auto upgrade of the runtime. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
433
+ * Specifies whether to allow auto runtime upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
405
434
  *
406
- * * `true`: allows the auto upgrade of the runtime.
407
- * * `false`: does not allow the auto upgrade of the runtime.
435
+ * - `true`: Allows auto runtime upgrade.
408
436
  *
409
- * Default value: `false`.
437
+ * - `false`: Disallows auto runtime upgrade.
438
+ *
439
+ * Default value: `true`.
410
440
  *
411
441
  * @example
412
442
  * false
@@ -426,9 +456,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
426
456
  export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
427
457
  /**
428
458
  * @remarks
429
- * Packages to exclude during vulnerability remediation.
459
+ * The packages that should be excluded from vulnerability fixing.
430
460
  *
431
- * Default Value: `kernel`.
461
+ * Default value: `kernel`.
432
462
  *
433
463
  * @example
434
464
  * kernel
@@ -436,10 +466,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
436
466
  excludePackages?: string;
437
467
  /**
438
468
  * @remarks
439
- * Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix` is set to true. Valid values:
469
+ * Specifies whether to allow node restart. This parameter takes effect only if \\`auto_vul_fix\\` is set to \\`true\\`. Valid values:
470
+ *
471
+ * - `true`: Allows node restart.
472
+ *
473
+ * - `false`: Disallows node restart.
440
474
  *
441
- * * `true`: allows node restart.
442
- * * `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`.
475
+ * Default value: `true`
443
476
  *
444
477
  * @example
445
478
  * false
@@ -447,13 +480,15 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
447
480
  restartNode?: boolean;
448
481
  /**
449
482
  * @remarks
450
- * The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
483
+ * The vulnerability levels that are allowed to be automatically fixed. Separate multiple levels with commas. Example: `asap,later`. Supported vulnerability levels:
451
484
  *
452
- * * `asap`: high.
453
- * * `later`: medium.
454
- * * `nntf`: low.
485
+ * - `asap`: high
455
486
  *
456
- * If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
487
+ * - `later`: medium
488
+ *
489
+ * - `nntf`: low
490
+ *
491
+ * Default value: `asap`.
457
492
  *
458
493
  * @example
459
494
  * asap,nntf
@@ -473,14 +508,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
473
508
  export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
474
509
  /**
475
510
  * @remarks
476
- * Specifies whether to enable auto upgrade. Valid values:
511
+ * [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
477
512
  *
478
- * * `true`: enables auto OS upgrade.
479
- * * `false`: disables auto OS upgrade.
513
+ * Specifies whether to enable auto upgrade. Valid values:
480
514
  *
481
- * **
515
+ * - `true`: enables auto upgrade.
482
516
  *
483
- * **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter instead.
517
+ * - `false`: disables auto upgrade.
484
518
  *
485
519
  * @example
486
520
  * null
@@ -490,7 +524,8 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
490
524
  autoUpgrade?: boolean;
491
525
  /**
492
526
  * @remarks
493
- * The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
527
+ * The maximum number of unavailable nodes.
528
+ * The value must be in the range of [1, 1000].
494
529
  *
495
530
  * Default value: 1.
496
531
  *
@@ -500,7 +535,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
500
535
  maxUnavailable?: number;
501
536
  /**
502
537
  * @remarks
503
- * The number of nodes that are temporarily added to the node pool during an auto upgrade.
538
+ * The number of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
539
+ *
540
+ * Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the load on the cluster.
541
+ *
542
+ * > We recommend that the number of extra nodes does not exceed the current number of nodes.
504
543
  *
505
544
  * @example
506
545
  * 0
@@ -508,7 +547,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
508
547
  surge?: number;
509
548
  /**
510
549
  * @remarks
511
- * The percentage of additional nodes that are temporarily added to the node pool during an auto upgrade. You must set this parameter or `surge`.
550
+ * The percentage of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
551
+ *
552
+ * 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.
512
553
  *
513
554
  * @example
514
555
  * 0
@@ -529,12 +570,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
529
570
  autoFaultDiagnosis?: boolean;
530
571
  /**
531
572
  * @remarks
532
- * Specifies whether to enable auto node repair. This parameter takes effect only when `enable` is set to true.
573
+ * Specifies whether to enable auto node repair. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
533
574
  *
534
- * * `true`: enables auto node repair.
535
- * * `false`: disables auto node repair.
575
+ * - `true`: Enables auto node repair.
536
576
  *
537
- * 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`.
577
+ * - `false`: Disables auto node repair.
578
+ *
579
+ * Default value: `true`
538
580
  *
539
581
  * @example
540
582
  * true
@@ -547,12 +589,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
547
589
  autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
548
590
  /**
549
591
  * @remarks
550
- * Specifies whether to enable auto node upgrade. This parameter takes effect only when `enable` is set to true.
592
+ * Specifies whether to enable auto node upgrade. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
593
+ *
594
+ * - `true`: Enables auto node upgrade.
551
595
  *
552
- * * `true`: enables auto node upgrade.
553
- * * `false`: disables auto node upgrade.
596
+ * - `false`: Disables auto node upgrade.
554
597
  *
555
- * 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`.
598
+ * Default value: `true`.
556
599
  *
557
600
  * @example
558
601
  * true
@@ -565,12 +608,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
565
608
  autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
566
609
  /**
567
610
  * @remarks
568
- * Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. This parameter takes effect only when `enable` is set to true.
611
+ * Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
612
+ *
613
+ * - `true`: Automatically fixes CVE vulnerabilities.
569
614
  *
570
- * * `true`: enables auto CVE patching.
571
- * * `false`: disables auto CVE patching.
615
+ * - `false`: Does not automatically fix CVE vulnerabilities.
572
616
  *
573
- * 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`.
617
+ * Default value: `true`.
574
618
  *
575
619
  * @example
576
620
  * true
@@ -578,15 +622,16 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
578
622
  autoVulFix?: boolean;
579
623
  /**
580
624
  * @remarks
581
- * The auto CVE patching policy.
625
+ * The policy for automatically fixing CVE vulnerabilities.
582
626
  */
583
627
  autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
584
628
  /**
585
629
  * @remarks
586
630
  * Specifies whether to enable the managed node pool feature. Valid values:
587
631
  *
588
- * * `true`: enables the managed node pool feature.
589
- * * `false`: disables the managed node pool feature. Other parameters in this section take effect only when enable is set to true.
632
+ * - `true`: Enables the managed node pool feature.
633
+ *
634
+ * - `false`: Disables the managed node pool feature. If you set this parameter to \\`false\\`, the other parameters of \\`management\\` do not take effect.
590
635
  *
591
636
  * Default value: false.
592
637
  *
@@ -596,7 +641,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
596
641
  enable?: boolean;
597
642
  /**
598
643
  * @remarks
599
- * The configurations of auto upgrade. The configurations take effect only when `enable` is set to true.
644
+ * [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
645
+ *
646
+ * The auto upgrade configurations. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
600
647
  *
601
648
  * @deprecated
602
649
  */
@@ -615,7 +662,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
615
662
  export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
616
663
  /**
617
664
  * @remarks
618
- * Custom Configuration of the edge zone widget.
665
+ * The custom configurations of the node component.
619
666
  */
620
667
  customConfig?: {
621
668
  [key: string]: string;
@@ -634,12 +681,12 @@ export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $d
634
681
  export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
635
682
  /**
636
683
  * @remarks
637
- * Configuration of the edge zone widget.
684
+ * The configurations of the node component.
638
685
  */
639
686
  config?: CreateClusterNodePoolRequestNodeComponentsConfig;
640
687
  /**
641
688
  * @remarks
642
- * Name of the edge zone widget.
689
+ * The name of the node component.
643
690
  *
644
691
  * @example
645
692
  * kubelet
@@ -647,7 +694,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
647
694
  name?: string;
648
695
  /**
649
696
  * @remarks
650
- * Version of the edge zone widget.
697
+ * The version of the node component.
651
698
  *
652
699
  * @example
653
700
  * 1.33.3-aliyun.1
@@ -667,7 +714,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
667
714
  export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
668
715
  /**
669
716
  * @remarks
670
- * The configurations of the kubelet.
717
+ * The Kubelet parameter settings.
671
718
  */
672
719
  kubeletConfiguration?: KubeletConfig;
673
720
  static names(): {
@@ -694,7 +741,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
694
741
  name?: string;
695
742
  /**
696
743
  * @remarks
697
- * 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.
744
+ * The ID of the resource group. Instances that are created in the node pool belong to this resource group.
745
+ *
746
+ * 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.
698
747
  *
699
748
  * @example
700
749
  * rg-acfmyvw3wjmb****
@@ -702,11 +751,15 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
702
751
  resourceGroupId?: string;
703
752
  /**
704
753
  * @remarks
705
- * The type of node pool. Valid values:
754
+ * The type of the node pool. Valid values:
755
+ *
756
+ * - `ess`: a regular node pool. This type of node pool provides managed features and auto scaling.
706
757
  *
707
- * * `ess`: regular node pool, which supports the managed node pool feature and the auto scaling feature.
708
- * * `edge`: edge node pool.
709
- * * `lingjun`: Lingjun node pool.
758
+ * - `edge`: an edge node pool.
759
+ *
760
+ * - `lingjun`: a Lingjun node pool.
761
+ *
762
+ * - `hybrid`: a hybrid cloud node pool.
710
763
  *
711
764
  * @example
712
765
  * ess
@@ -726,7 +779,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
726
779
  export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
727
780
  /**
728
781
  * @remarks
729
- * The ID of the private node pool.
782
+ * The ID of the private pool. You must specify the private pool ID when \\`match_criteria\\` is set to \\`Target\\`.
730
783
  *
731
784
  * @example
732
785
  * eap-bp67acfmxazb4****
@@ -734,11 +787,13 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
734
787
  id?: string;
735
788
  /**
736
789
  * @remarks
737
- * 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:
790
+ * 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:
791
+ *
792
+ * - `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.
738
793
  *
739
- * * `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.
740
- * * `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.
741
- * * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
794
+ * - `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.
795
+ *
796
+ * - `None`: The instance is launched without using the capacity of a private pool.
742
797
  *
743
798
  * @example
744
799
  * Target
@@ -758,16 +813,16 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
758
813
  export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
759
814
  /**
760
815
  * @remarks
761
- * 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.
816
+ * 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.
762
817
  */
763
818
  privatePoolIds?: string[];
764
819
  /**
765
820
  * @remarks
766
- * 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:
767
- * 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.
768
- * 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.
769
- * None: Do not use a resource pool policy.
770
- * Default Value: None.
821
+ * 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:
822
+ * 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.
823
+ * 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.
824
+ * None: No resource pool policy is used.
825
+ * Default value: None.
771
826
  *
772
827
  * @example
773
828
  * PrivatePoolFirst
@@ -787,7 +842,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
787
842
  export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
788
843
  /**
789
844
  * @remarks
790
- * The instance type of preemptible instances.
845
+ * The instance type of the spot instance.
791
846
  *
792
847
  * @example
793
848
  * ecs.c6.large
@@ -795,7 +850,11 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
795
850
  instanceType?: string;
796
851
  /**
797
852
  * @remarks
798
- * The price cap of a preemptible instance of the type.
853
+ * The maximum bid price for a single instance.
854
+ *
855
+ * <props="intl">
856
+ *
857
+ * Unit: USD/hour.
799
858
  *
800
859
  * @example
801
860
  * 0.39
@@ -815,7 +874,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
815
874
  export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
816
875
  /**
817
876
  * @remarks
818
- * The tag key.
877
+ * The name of the tag.
819
878
  *
820
879
  * @example
821
880
  * node-k-1
@@ -843,10 +902,11 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
843
902
  export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
844
903
  /**
845
904
  * @remarks
846
- * 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:
905
+ * 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:
906
+ *
907
+ * - `true`: enables auto-renewal.
847
908
  *
848
- * * `true`: enables auto-renewal.
849
- * * `false`: disables auto-renewal.
909
+ * - `false`: disables auto-renewal.
850
910
  *
851
911
  * Default value: `false`.
852
912
  *
@@ -858,8 +918,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
858
918
  * @remarks
859
919
  * The auto-renewal period. Valid values:
860
920
  *
861
- * * Valid values when PeriodUnit is set to Week: 1, 2, and 3.
862
- * * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
921
+ * - If \\`PeriodUnit\\` is set to \\`Week\\`: 1, 2, and 3.
922
+ *
923
+ * - If \\`PeriodUnit\\` is set to \\`Month\\`: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
863
924
  *
864
925
  * Default value: 1.
865
926
  *
@@ -869,7 +930,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
869
930
  autoRenewPeriod?: number;
870
931
  /**
871
932
  * @remarks
872
- * This parameter is deprecated. Use security_hardening_os instead.
933
+ * [Deprecated] Use the \\`security_hardening_os\\` parameter instead.
873
934
  *
874
935
  * @example
875
936
  * null
@@ -879,10 +940,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
879
940
  cisEnabled?: boolean;
880
941
  /**
881
942
  * @remarks
882
- * 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:
943
+ * 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:
944
+ *
945
+ * - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
883
946
  *
884
- * * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
885
- * * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
947
+ * - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
886
948
  *
887
949
  * @example
888
950
  * true
@@ -890,12 +952,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
890
952
  compensateWithOnDemand?: boolean;
891
953
  /**
892
954
  * @remarks
893
- * The configurations of the data disks that are attached to nodes in the node pool.
955
+ * The data disk configurations of the nodes in the node pool.
894
956
  */
895
957
  dataDisks?: DataDisk[];
896
958
  /**
897
959
  * @remarks
898
- * The ID of the deployment set.
960
+ * 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.
961
+ *
962
+ * >Notice:
963
+ *
964
+ * 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.
899
965
  *
900
966
  * @example
901
967
  * ds-bp1d19mmbsv3jf6xxxxx
@@ -905,18 +971,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
905
971
  * @remarks
906
972
  * The expected number of nodes in the node pool.
907
973
  *
974
+ * 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.
975
+ *
976
+ * If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
977
+ *
908
978
  * @example
909
979
  * 0
910
980
  */
911
981
  desiredSize?: number;
912
982
  /**
913
983
  * @remarks
914
- * Block device initialization configuration.
984
+ * The block device initialization configurations.
915
985
  */
916
986
  diskInit?: DiskInit[];
917
987
  /**
918
988
  * @remarks
919
- * The custom image ID. By default, the image provided by Container Service for Kubernetes (ACK) is used.
989
+ * The ID of the custom image. By default, the system-provided image is used.
920
990
  *
921
991
  * @example
922
992
  * aliyun_2_1903_x64_20G_alibase_20200529.vhd
@@ -924,18 +994,27 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
924
994
  imageId?: string;
925
995
  /**
926
996
  * @remarks
927
- * The type of the OS image. You must specify this parameter or `platform`. Valid values:
997
+ * The OS image type. Valid values:
998
+ *
999
+ * - `AliyunLinux`: Alinux2 image.
1000
+ *
1001
+ * - `AliyunLinuxSecurity`: Alinux2 UEFI image.
1002
+ *
1003
+ * - `AliyunLinux3`: Alinux3 image.
1004
+ *
1005
+ * - `AliyunLinux3Arm64`: Alinux3 ARM image.
928
1006
  *
929
- * * `AliyunLinux`: Alibaba Cloud Linux 2.
930
- * * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
931
- * * `AliyunLinux3`: Alibaba Cloud Linux 3
932
- * * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 for ARM.
933
- * * `AliyunLinux3Security`: Alibaba Cloud Linux 3 for ARM.
934
- * * `CentOS`: CentOS.
935
- * * `Windows`: Windows.
936
- * * `WindowsCore`: Windows Core.
937
- * * `ContainerOS`: ContainerOS.
938
- * * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
1007
+ * - `AliyunLinux3Security`: Alinux3 UEFI image.
1008
+ *
1009
+ * - `CentOS`: CentOS image.
1010
+ *
1011
+ * - `Windows`: Windows image.
1012
+ *
1013
+ * - `WindowsCore`: WindowsCore image.
1014
+ *
1015
+ * - `ContainerOS`: Container-Optimized OS.
1016
+ *
1017
+ * - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
939
1018
  *
940
1019
  * @example
941
1020
  * AliyunLinux3
@@ -943,12 +1022,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
943
1022
  imageType?: string;
944
1023
  /**
945
1024
  * @remarks
946
- * The billing method of nodes in the node pool. Valid values:
1025
+ * The billing method of the nodes in the node pool. Valid values:
1026
+ *
1027
+ * - `PrePaid`: subscription.
947
1028
  *
948
- * * `PrePaid`: subscription.
949
- * * `PostPaid`: pay-as-you-go.
1029
+ * - `PostPaid`: pay-as-you-go.
950
1030
  *
951
- * Default value: `PostPaid`
1031
+ * Default value: `PostPaid`.
952
1032
  *
953
1033
  * This parameter is required.
954
1034
  *
@@ -958,29 +1038,32 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
958
1038
  instanceChargeType?: string;
959
1039
  /**
960
1040
  * @remarks
961
- * Access configuration for ECS instance metadata.
1041
+ * The ECS instance metadata access configurations.
962
1042
  */
963
1043
  instanceMetadataOptions?: InstanceMetadataOptions;
964
1044
  /**
965
1045
  * @remarks
966
- * The instance attributes.
1046
+ * The instance property configurations.
967
1047
  */
968
1048
  instancePatterns?: InstancePatterns[];
969
1049
  /**
970
1050
  * @remarks
971
- * 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.
1051
+ * 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.
1052
+ *
1053
+ * The number of instance types must be in the range of [1, 10].
972
1054
  *
973
- * > To ensure high availability, we recommend that you specify multiple instance types.
1055
+ * > For high availability, we recommend that you select multiple instance types.
974
1056
  *
975
1057
  * This parameter is required.
976
1058
  */
977
1059
  instanceTypes?: string[];
978
1060
  /**
979
1061
  * @remarks
980
- * The metering method of the public IP address. Valid values:
1062
+ * The billing method of the public IP address. Valid values:
981
1063
  *
982
- * * PayByBandwidth: pay-by-bandwidth.
983
- * * PayByTraffic: pay-by-data-transfer.
1064
+ * - PayByBandwidth: pay-by-bandwidth.
1065
+ *
1066
+ * - PayByTraffic: pay-by-traffic.
984
1067
  *
985
1068
  * @example
986
1069
  * PayByTraffic
@@ -988,7 +1071,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
988
1071
  internetChargeType?: string;
989
1072
  /**
990
1073
  * @remarks
991
- * The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
1074
+ * The maximum outbound public bandwidth of the node. Unit: Mbit/s. The value must be in the range of [1, 100].
992
1075
  *
993
1076
  * @example
994
1077
  * 5
@@ -996,9 +1079,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
996
1079
  internetMaxBandwidthOut?: number;
997
1080
  /**
998
1081
  * @remarks
999
- * The name of the key pair used to log on to nodes in the node pool. You must set this parameter or `login_password`.
1082
+ * The name of the key pair that is used for passwordless logon. You must specify one of \\`key_pair\\` and \\`login_password\\`.
1000
1083
  *
1001
- * > If you select ContainerOS as the OS of nodes in the node pool, you must specify `key_pair`.
1084
+ * > If you select Container-Optimized OS for the node pool, you can use only \\`key_pair\\`.
1002
1085
  *
1003
1086
  * @example
1004
1087
  * np-key-name
@@ -1006,7 +1089,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1006
1089
  keyPair?: string;
1007
1090
  /**
1008
1091
  * @remarks
1009
- * Specifies whether to allow a non-root user to log on to an ECS instance that is added to the node pool.
1092
+ * Specifies whether to log on to the created ECS instances as a non-root user.
1093
+ *
1094
+ * - true: Logs on as the ecs-user.
1095
+ *
1096
+ * - false: Logs on as the root user.
1010
1097
  *
1011
1098
  * @example
1012
1099
  * true
@@ -1014,7 +1101,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1014
1101
  loginAsNonRoot?: boolean;
1015
1102
  /**
1016
1103
  * @remarks
1017
- * 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.
1104
+ * 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.
1018
1105
  *
1019
1106
  * @example
1020
1107
  * ****
@@ -1022,17 +1109,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1022
1109
  loginPassword?: string;
1023
1110
  /**
1024
1111
  * @remarks
1025
- * The ECS instance scaling policy for the multi-zone scaling group. Valid values:
1026
- *
1027
- * * `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.
1112
+ * The scaling policy for the ECS instances in the multi-zone scaling group. Valid values:
1028
1113
  *
1029
- * * `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.
1114
+ * - `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.
1030
1115
  *
1031
- * **
1116
+ * - `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.
1032
1117
  *
1033
- * **Note** `COST_OPTIMIZED` takes effect only when multiple instance types are specified or at least one preemptible instance type is specified.
1118
+ * > `COST_OPTIMIZED` takes effect only when multiple instance types are specified or the preemptible instance policy is configured.
1034
1119
  *
1035
- * * `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.
1120
+ * - `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.
1036
1121
  *
1037
1122
  * Default value: `PRIORITY`.
1038
1123
  *
@@ -1042,7 +1127,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1042
1127
  multiAzPolicy?: string;
1043
1128
  /**
1044
1129
  * @remarks
1045
- * 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.
1130
+ * 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.
1046
1131
  *
1047
1132
  * @example
1048
1133
  * 0
@@ -1050,7 +1135,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1050
1135
  onDemandBaseCapacity?: number;
1051
1136
  /**
1052
1137
  * @remarks
1053
- * 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.
1138
+ * 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].
1054
1139
  *
1055
1140
  * @example
1056
1141
  * 20
@@ -1058,10 +1143,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1058
1143
  onDemandPercentageAboveBaseCapacity?: number;
1059
1144
  /**
1060
1145
  * @remarks
1061
- * The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
1146
+ * 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\\`.
1062
1147
  *
1063
- * * If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4.
1064
- * * 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.
1148
+ * - If \\`period_unit\\` is set to \\`Week\\`, the valid values of \\`period\\` are 1, 2, 3, and 4.
1149
+ *
1150
+ * - 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.
1065
1151
  *
1066
1152
  * @example
1067
1153
  * 1
@@ -1069,10 +1155,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1069
1155
  period?: number;
1070
1156
  /**
1071
1157
  * @remarks
1072
- * 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:
1158
+ * 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\\`.
1159
+ *
1160
+ * - `Month`: The billing cycle is measured in months.
1073
1161
  *
1074
- * * `Month`: The subscription duration is measured in months.
1075
- * * `Week`: The subscription duration is measured in weeks.
1162
+ * - `Week`: The billing cycle is measured in weeks.
1076
1163
  *
1077
1164
  * Default value: `Month`.
1078
1165
  *
@@ -1082,12 +1169,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1082
1169
  periodUnit?: string;
1083
1170
  /**
1084
1171
  * @remarks
1085
- * The operating system distribution. Valid values:
1172
+ * [This parameter is deprecated] Use the \\`image_type\\` parameter instead.
1173
+ *
1174
+ * The OS distribution. Valid values:
1086
1175
  *
1087
- * * `CentOS`
1088
- * * `AliyunLinux`
1089
- * * `Windows`
1090
- * * `WindowsCore`
1176
+ * - `CentOS`
1177
+ *
1178
+ * - `AliyunLinux`
1179
+ *
1180
+ * - `Windows`
1181
+ *
1182
+ * - `WindowsCore`
1091
1183
  *
1092
1184
  * Default value: `AliyunLinux`.
1093
1185
  *
@@ -1099,17 +1191,20 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1099
1191
  platform?: string;
1100
1192
  /**
1101
1193
  * @remarks
1102
- * The configurations of the private node pool.
1194
+ * The private pool configurations.
1103
1195
  */
1104
1196
  privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
1105
1197
  /**
1106
1198
  * @remarks
1107
1199
  * The name of the worker RAM role.
1108
1200
  *
1109
- * * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
1110
- * * 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-`.
1201
+ * - If this parameter is left empty, the default worker RAM role of the cluster is used.
1202
+ *
1203
+ * - 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-\\`.
1111
1204
  *
1112
- * > This parameter is available only for ACK managed clusters that run Kubernetes 1.22 or later.
1205
+ * >Notice:
1206
+ *
1207
+ * This parameter is supported only by ACK managed clusters of Kubernetes 1.22 or later.
1113
1208
  *
1114
1209
  * @example
1115
1210
  * example-role
@@ -1117,24 +1212,23 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1117
1212
  ramRoleName?: string;
1118
1213
  /**
1119
1214
  * @remarks
1120
- * The IDs of ApsaraDB RDS instances.
1215
+ * A list of RDS instances.
1121
1216
  */
1122
1217
  rdsInstances?: string[];
1123
1218
  /**
1124
1219
  * @remarks
1125
- * The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
1126
- *
1127
- * This parameter takes effect only when pay-as-you-go instances are created.
1128
- *
1129
- * This parameter cannot be set together with `private_pool_options.match_criteria` or `private_pool_options.id`.
1220
+ * The resource pool and policy used to create instances. Note:
1221
+ * This parameter takes effect only when you create pay-as-you-go instances.
1222
+ * This parameter cannot be set at the same time as \\`private_pool_options.match_criteria\\` and \\`private_pool_options.id\\`.
1130
1223
  */
1131
1224
  resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
1132
1225
  /**
1133
1226
  * @remarks
1134
1227
  * The scaling mode of the scaling group. Valid values:
1135
1228
  *
1136
- * * `release`: the standard mode. ECS instances are created and released based on resource usage.
1137
- * * `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.
1229
+ * - `release`: standard mode. The system creates and releases ECS instances to scale the group.
1230
+ *
1231
+ * - `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.
1138
1232
  *
1139
1233
  * Default value: `release`.
1140
1234
  *
@@ -1144,7 +1238,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1144
1238
  scalingPolicy?: string;
1145
1239
  /**
1146
1240
  * @remarks
1147
- * 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`.
1241
+ * 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\\`.
1148
1242
  *
1149
1243
  * @example
1150
1244
  * sg-wz9a8g2mt6x5llu0****
@@ -1154,15 +1248,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1154
1248
  securityGroupId?: string;
1155
1249
  /**
1156
1250
  * @remarks
1157
- * 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.
1251
+ * 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.
1158
1252
  */
1159
1253
  securityGroupIds?: string[];
1160
1254
  /**
1161
1255
  * @remarks
1162
- * Indicates whether Alibaba Cloud Linux Security Hardening is enabled. Valid values:
1256
+ * Alibaba Cloud OS security hardening. Valid values:
1257
+ *
1258
+ * - `true`: Enables Alibaba Cloud OS security hardening.
1163
1259
  *
1164
- * * `true`: enables Alibaba Cloud Linux Security Hardening.
1165
- * * `false`: disables Alibaba Cloud Linux Security Hardening.
1260
+ * - `false`: Disables Alibaba Cloud OS security hardening.
1166
1261
  *
1167
1262
  * Default value: `false`.
1168
1263
  *
@@ -1172,7 +1267,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1172
1267
  securityHardeningOs?: boolean;
1173
1268
  /**
1174
1269
  * @remarks
1175
- * 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.
1270
+ * 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.
1176
1271
  *
1177
1272
  * @example
1178
1273
  * false
@@ -1180,7 +1275,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1180
1275
  socEnabled?: boolean;
1181
1276
  /**
1182
1277
  * @remarks
1183
- * 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.
1278
+ * 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].
1184
1279
  *
1185
1280
  * @example
1186
1281
  * 5
@@ -1188,10 +1283,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1188
1283
  spotInstancePools?: number;
1189
1284
  /**
1190
1285
  * @remarks
1191
- * 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:
1286
+ * 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:
1192
1287
  *
1193
- * * `true`: enables the supplementation of preemptible instances.
1194
- * * `false`: disables the supplementation of preemptible instances.
1288
+ * - `true`: Enables the instance reclaim mode.
1289
+ *
1290
+ * - `false`: Disables the instance reclaim mode.
1195
1291
  *
1196
1292
  * @example
1197
1293
  * false
@@ -1199,18 +1295,20 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1199
1295
  spotInstanceRemedy?: boolean;
1200
1296
  /**
1201
1297
  * @remarks
1202
- * The instance type of preemptible instances and the price cap for the instance type.
1298
+ * The configurations of the price range for a single spot instance.
1203
1299
  */
1204
1300
  spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
1205
1301
  /**
1206
1302
  * @remarks
1207
- * The bidding policy of preemptible instances. Valid values:
1303
+ * The bidding policy for the spot instances. Valid values:
1304
+ *
1305
+ * - `NoSpot`: The instance is not a spot instance.
1208
1306
  *
1209
- * * `NoSpot`: non-preemptible.
1210
- * * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
1211
- * * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
1307
+ * - `SpotWithPriceLimit`: Sets the maximum bid price for the spot instance.
1212
1308
  *
1213
- * For more information, see [Use preemptible instances](https://help.aliyun.com/document_detail/165053.html).
1309
+ * - `SpotAsPriceGo`: The system automatically bids based on the current market price.
1310
+ *
1311
+ * For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
1214
1312
  *
1215
1313
  * @example
1216
1314
  * NoSpot
@@ -1218,12 +1316,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1218
1316
  spotStrategy?: string;
1219
1317
  /**
1220
1318
  * @remarks
1221
- * Specifies whether to enable the burst feature for the system disk. Valid values:
1319
+ * Specifies whether to enable the performance burst feature for the system disk of the node. Valid values:
1320
+ *
1321
+ * - true: Yes.
1222
1322
  *
1223
- * * true: enables the burst feature.
1224
- * * false: disables the burst feature.
1323
+ * - false: No.
1225
1324
  *
1226
- * 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).
1325
+ * 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).
1227
1326
  *
1228
1327
  * @example
1229
1328
  * true
@@ -1231,26 +1330,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1231
1330
  systemDiskBurstingEnabled?: boolean;
1232
1331
  /**
1233
1332
  * @remarks
1234
- * 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:
1235
- *
1236
- * * `cloud`: basic disk.
1237
- * * `cloud_efficiency`: ultra disk.
1238
- * * `cloud_ssd`: standard SSD.
1239
- * * `cloud_essd`: ESSD.
1240
- * * `cloud_auto`: ESSD AutoPL disk.
1241
- * * `cloud_essd_entry`: ESSD Entry disk.
1333
+ * 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.
1242
1334
  */
1243
1335
  systemDiskCategories?: string[];
1244
1336
  /**
1245
1337
  * @remarks
1246
- * The category of the system disk. Valid values:
1338
+ * The type of the system disk of the node. Valid values:
1247
1339
  *
1248
- * * `cloud`: basic disk.
1249
- * * `cloud_efficiency`: ultra disk.
1250
- * * `cloud_ssd`: standard SSD.
1251
- * * `cloud_essd`: ESSD.
1252
- * * `cloud_auto`: ESSD AutoPL disk.
1253
- * * `cloud_essd_entry`: ESSD Entry disk.
1340
+ * - `cloud_efficiency`: ultra disk.
1341
+ *
1342
+ * - `cloud_ssd`: standard SSD.
1343
+ *
1344
+ * - `cloud_essd`: ESSD.
1345
+ *
1346
+ * - `cloud_auto`: ESSD AutoPL disk.
1347
+ *
1348
+ * - `cloud_essd_entry`: ESSD Entry disk.
1254
1349
  *
1255
1350
  * Default value: `cloud_efficiency`.
1256
1351
  *
@@ -1260,7 +1355,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1260
1355
  systemDiskCategory?: string;
1261
1356
  /**
1262
1357
  * @remarks
1263
- * The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
1358
+ * The encryption algorithm that is used to encrypt the system disk. Valid value: aes-256.
1264
1359
  *
1265
1360
  * @example
1266
1361
  * aes-256
@@ -1268,7 +1363,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1268
1363
  systemDiskEncryptAlgorithm?: string;
1269
1364
  /**
1270
1365
  * @remarks
1271
- * Specifies whether to encrypt the system disk. true: encrypts the system disk. false: does not encrypt the system disk.
1366
+ * Specifies whether to encrypt the system disk. Valid values:
1367
+ *
1368
+ * - true: encrypts the system disk.
1369
+ *
1370
+ * - false: does not encrypt the system disk.
1272
1371
  *
1273
1372
  * @example
1274
1373
  * false
@@ -1284,14 +1383,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1284
1383
  systemDiskKmsKeyId?: string;
1285
1384
  /**
1286
1385
  * @remarks
1287
- * The PL of the system disk. This parameter takes effect only for an ESSD.
1386
+ * 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).
1387
+ *
1388
+ * - PL0: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
1288
1389
  *
1289
- * * PL0: moderate maximum concurrent I/O performance and low I/O latency.
1290
- * * PL1: moderate maximum concurrent I/O performance and low I/O latency.
1291
- * * PL2: high maximum concurrent I/O performance and low I/O latency.
1292
- * * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
1390
+ * - PL1: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
1293
1391
  *
1294
- * > 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).
1392
+ * - PL2: A high maximum concurrent I/O performance and a stable read/write latency.
1393
+ *
1394
+ * - PL3: A very high maximum concurrent I/O performance and a very stable read/write latency.
1295
1395
  *
1296
1396
  * @example
1297
1397
  * PL1
@@ -1299,9 +1399,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1299
1399
  systemDiskPerformanceLevel?: string;
1300
1400
  /**
1301
1401
  * @remarks
1302
- * 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}.
1402
+ * The provisioned read/write IOPS of the system disk of the node.
1403
+ *
1404
+ * Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
1303
1405
  *
1304
- * 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).
1406
+ * 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).
1305
1407
  *
1306
1408
  * @example
1307
1409
  * 1000
@@ -1309,9 +1411,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1309
1411
  systemDiskProvisionedIops?: number;
1310
1412
  /**
1311
1413
  * @remarks
1312
- * The size of the system disk. Unit: GiB.
1414
+ * The size of the system disk of the node. Unit: GiB.
1313
1415
  *
1314
- * Valid values: 20 to 20248.
1416
+ * The value must be in the range of [20, 2048].
1315
1417
  *
1316
1418
  * @example
1317
1419
  * 120
@@ -1319,7 +1421,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1319
1421
  systemDiskSize?: number;
1320
1422
  /**
1321
1423
  * @remarks
1322
- * Snapshot policy for the system disk.
1424
+ * The snapshot policy for the system disk.
1323
1425
  *
1324
1426
  * @example
1325
1427
  * sp-0jl6xnmme8v7o935****
@@ -1329,14 +1431,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1329
1431
  * @remarks
1330
1432
  * The tags that you want to add only to ECS instances.
1331
1433
  *
1332
- * 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://.
1434
+ * 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\\://”.
1333
1435
  */
1334
1436
  tags?: CreateClusterNodePoolRequestScalingGroupTags[];
1335
1437
  /**
1336
1438
  * @remarks
1337
- * The vSwitch IDs. You can specify one to eight vSwitch IDs.
1439
+ * A list of vSwitch IDs. The number of vSwitch IDs must be in the range of [1, 8].
1338
1440
  *
1339
- * > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
1441
+ * > For high availability, we recommend that you select vSwitches in different zones.
1340
1442
  *
1341
1443
  * This parameter is required.
1342
1444
  */
@@ -1355,7 +1457,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
1355
1457
  export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
1356
1458
  /**
1357
1459
  * @remarks
1358
- * Specifies whether to enable confidential computing for the cluster.
1460
+ * Specifies whether to enable the confidential computing cluster.
1461
+ *
1462
+ * - true: Enables confidential computing.
1463
+ *
1464
+ * - false: Disables confidential computing.
1359
1465
  *
1360
1466
  * @example
1361
1467
  * true
@@ -1375,17 +1481,17 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
1375
1481
  export declare class CreateClusterNodePoolRequest extends $dara.Model {
1376
1482
  /**
1377
1483
  * @remarks
1378
- * Intelligent managed configuration for the node pool.
1484
+ * The intelligent managed node pool configurations.
1379
1485
  */
1380
1486
  autoMode?: CreateClusterNodePoolRequestAutoMode;
1381
1487
  /**
1382
1488
  * @remarks
1383
- * The configurations of auto scaling.
1489
+ * The auto scaling configurations.
1384
1490
  */
1385
1491
  autoScaling?: CreateClusterNodePoolRequestAutoScaling;
1386
1492
  /**
1387
1493
  * @remarks
1388
- * This parameter is deprecated. Use the desired_size parameter instead.
1494
+ * [This parameter is deprecated] Use desired_size instead.
1389
1495
  *
1390
1496
  * The number of nodes in the node pool.
1391
1497
  *
@@ -1397,15 +1503,16 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1397
1503
  count?: number;
1398
1504
  /**
1399
1505
  * @remarks
1400
- * Lingjun node pool configuration.
1506
+ * The Lingjun node pool configurations.
1401
1507
  */
1402
1508
  efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
1403
1509
  /**
1404
1510
  * @remarks
1405
- * Specifies whether to set the network type of the pod to host network.
1511
+ * Specifies whether to use the host network for the pod network.
1406
1512
  *
1407
- * * `true`: sets to host network.
1408
- * * `false`: sets to container network.
1513
+ * - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
1514
+ *
1515
+ * - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
1409
1516
  *
1410
1517
  * @example
1411
1518
  * true
@@ -1413,7 +1520,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1413
1520
  hostNetwork?: boolean;
1414
1521
  /**
1415
1522
  * @remarks
1416
- * This parameter is deprecated.
1523
+ * [This parameter is deprecated]
1417
1524
  *
1418
1525
  * The configurations of the edge node pool.
1419
1526
  *
@@ -1422,10 +1529,11 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1422
1529
  interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
1423
1530
  /**
1424
1531
  * @remarks
1425
- * 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:
1532
+ * The network type of the edge node pool. This parameter takes effect only for node pools of the \\`edge\\` type. Valid values:
1533
+ *
1534
+ * - `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.
1426
1535
  *
1427
- * * `basic`: Internet.
1428
- * * `private`: private network.
1536
+ * - `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.
1429
1537
  *
1430
1538
  * @example
1431
1539
  * basic
@@ -1433,10 +1541,11 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1433
1541
  interconnectMode?: string;
1434
1542
  /**
1435
1543
  * @remarks
1436
- * Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3.
1544
+ * Specifies whether nodes in the edge node pool can communicate with each other at Layer 3.
1545
+ *
1546
+ * - `true`: All nodes in the node pool can communicate with each other at Layer 3.
1437
1547
  *
1438
- * * `true`: The nodes in the edge node pool can communicate with each other at Layer 3.
1439
- * * `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
1548
+ * - `false`: All hosts in the node pool cannot communicate with each other at Layer 3.
1440
1549
  *
1441
1550
  * @example
1442
1551
  * true
@@ -1444,7 +1553,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1444
1553
  intranet?: boolean;
1445
1554
  /**
1446
1555
  * @remarks
1447
- * The configurations of the cluster.
1556
+ * The cluster-related configurations.
1448
1557
  */
1449
1558
  kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
1450
1559
  /**
@@ -1454,9 +1563,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1454
1563
  management?: CreateClusterNodePoolRequestManagement;
1455
1564
  /**
1456
1565
  * @remarks
1457
- * This parameter is deprecated.
1566
+ * [This parameter is deprecated]
1458
1567
  *
1459
- * The maximum number of nodes that can be contained in the edge node pool.
1568
+ * The maximum number of nodes that the edge node pool can contain.
1460
1569
  *
1461
1570
  * @example
1462
1571
  * null
@@ -1466,7 +1575,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1466
1575
  maxNodes?: number;
1467
1576
  /**
1468
1577
  * @remarks
1469
- * List of edge zone widgets.
1578
+ * A list of node components.
1470
1579
  */
1471
1580
  nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
1472
1581
  /**
@@ -1476,17 +1585,17 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
1476
1585
  nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
1477
1586
  /**
1478
1587
  * @remarks
1479
- * The configurations of the node pool.
1588
+ * The node pool configurations.
1480
1589
  */
1481
1590
  nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
1482
1591
  /**
1483
1592
  * @remarks
1484
- * The configurations of the scaling group that is used by the node pool.
1593
+ * The configurations of the scaling group for the node pool.
1485
1594
  */
1486
1595
  scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
1487
1596
  /**
1488
1597
  * @remarks
1489
- * The configurations of confidential computing for the cluster.
1598
+ * The configurations of the confidential computing cluster.
1490
1599
  */
1491
1600
  teeConfig?: CreateClusterNodePoolRequestTeeConfig;
1492
1601
  static names(): {