@alicloud/cs20151215 7.2.3 → 7.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,7 +45,9 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
45
45
  export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. The peak bandwidth of the EIP. Unit: Mbit/s.
48
+ * **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
49
+ *
50
+ * The peak bandwidth of the EIP. Unit: Mbit/s.
49
51
  *
50
52
  * @example
51
53
  * null
@@ -55,10 +57,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
55
57
  eipBandwidth?: number;
56
58
  /**
57
59
  * @remarks
58
- * **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. The billing method of the EIP. Valid values:
59
- * - PayByBandwidth: pay-by-bandwidth.
60
- * - PayByTraffic: pay-by-data-transfer.
61
- * Default value: PayByBandwidth.
60
+ * **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
61
+ *
62
+ * The billing method of the EIP. Valid values:
63
+ * - `PayByBandwidth`: pay-by-bandwidth.
64
+ * - `PayByTraffic`: pay-by-data-transfer.
65
+ *
66
+ * Default value: `PayByBandwidth`.
62
67
  *
63
68
  * @example
64
69
  * null
@@ -69,10 +74,14 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
69
74
  /**
70
75
  * @remarks
71
76
  * Specifies whether to enable auto scaling. Valid values:
72
- * - true: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales the node resources based on the configured minimum and maximum numbers of instances. For clusters running Kubernetes 1.24 or later, instant node elasticity is enabled by default. For clusters running Kubernetes versions earlier than 1.24, node auto scaling is enabled by default. For more information, see [Node auto scaling](https://help.aliyun.com/document_detail/2746785.html).
73
- * - false: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes and always maintains the number of nodes at the expected value.
74
- * When this parameter is set to false, other configuration parameters in auto_scaling do not take effect.
75
- * Default value: false.
77
+ *
78
+ * - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales node resources based on the configured minimum and maximum numbers of instances. For clusters of version 1.24 and later, node instant elasticity is enabled by default. For clusters earlier than version 1.24, node auto scaling is enabled by default. For more information, see [Node auto scaling](https://help.aliyun.com/document_detail/2746785.html).
79
+ *
80
+ * - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes to keep the number of nodes at the expected value.
81
+ *
82
+ * If this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
83
+ *
84
+ * Default value: `false`.
76
85
  *
77
86
  * @example
78
87
  * false
@@ -80,10 +89,15 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
80
89
  enable?: boolean;
81
90
  /**
82
91
  * @remarks
83
- * **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead. Specifies whether to bind an EIP. Valid values:
84
- * - true: binds an EIP.
85
- * - false: does not bind an EIP.
86
- * Default value: false.
92
+ * **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
93
+ *
94
+ * Specifies whether to associate an EIP. Valid values:
95
+ *
96
+ * - `true`: associates an EIP.
97
+ *
98
+ * - `false`: does not associate an EIP.
99
+ *
100
+ * Default value: `false`.
87
101
  *
88
102
  * @example
89
103
  * null
@@ -93,7 +107,8 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
93
107
  isBondEip?: boolean;
94
108
  /**
95
109
  * @remarks
96
- * The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when enable is set to true.
110
+ * The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
111
+ *
97
112
  * Valid values: [min_instances, 2000]. Default value: 0.
98
113
  *
99
114
  * @example
@@ -102,12 +117,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
102
117
  maxInstances?: number;
103
118
  /**
104
119
  * @remarks
105
- * The minimum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
120
+ * The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
106
121
  *
107
122
  * Valid values: [0, max_instances]. Default value: 0.
108
123
  *
109
- * > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances is triggered after the scaling group takes effect.
110
- * > - We recommend that you set the maximum number of instances to a value no less than the current number of nodes in the node pool. Otherwise, the nodes in the node pool are scaled in immediately after the elastic scaling feature takes effect.
124
+ * > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances occurs after the scaling group takes effect.
125
+ * > - The recommended Settings for the maximum number of instances should not be less than the current number of nodes in the node pool. Otherwise, the elastic scaling feature scales in the nodes in the node pool immediately after it takes effect.
111
126
  *
112
127
  * @example
113
128
  * 1
@@ -115,18 +130,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
115
130
  minInstances?: number;
116
131
  /**
117
132
  * @remarks
118
- * The instance type for elastic scaling. This parameter takes effect only when `enable=true`. Valid values:
133
+ * The instance type for elastic scaling. This parameter takes effect only when `enable` is set to true. Valid values:
119
134
  *
120
135
  * - `cpu`: regular instance.
121
136
  *
122
137
  * - `gpu`: GPU-accelerated instance.
123
138
  *
124
- * - `gpushare`: shared GPU instance.
139
+ * - `gpushare`: GPU-shared instance.
125
140
  *
126
141
  * - `spot`: spot instance.
127
142
  *
128
143
  * Default value: `cpu`.
129
- * >Notice: This field cannot be modified after the node pool is created.</notice>
144
+ * >Notice: This parameter cannot be modified after the node pool is created.
130
145
  *
131
146
  * @example
132
147
  * cpu
@@ -168,12 +183,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
168
183
  export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
169
184
  /**
170
185
  * @remarks
171
- * Specifies whether to enable automatic addition to the Lingjun node pool.
186
+ * Specifies whether to enable auto-attach for the Lingjun node pool.
172
187
  */
173
188
  autoAttachEnabled?: boolean;
174
189
  /**
175
190
  * @remarks
176
- * The ID of the Lingjun cluster to associate when you create the Lingjun node pool.
191
+ * The ID of the Lingjun cluster to associate when creating the Lingjun node pool.
177
192
  *
178
193
  * @example
179
194
  * i1169130516633730****
@@ -181,7 +196,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
181
196
  clusterId?: string;
182
197
  /**
183
198
  * @remarks
184
- * The ID of the Lingjun group in the Lingjun cluster to associate when you create the Lingjun node pool.
199
+ * The ID of the Lingjun group in the Lingjun cluster to associate when creating the Lingjun node pool.
185
200
  *
186
201
  * @example
187
202
  * ng-ec3c96ff0aa****
@@ -222,7 +237,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
222
237
  export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
223
238
  /**
224
239
  * @remarks
225
- * **[Deprecated]** The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
240
+ * **[Deprecated]**
241
+ *
242
+ * The network bandwidth of the edge-enhanced node pool. Unit: Mbit/s.
226
243
  *
227
244
  * @example
228
245
  * null
@@ -232,7 +249,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
232
249
  * @remarks
233
250
  * **[Deprecated]**
234
251
  *
235
- * The Cloud Connect Network (CCN) instance ID attached to the enhanced edge node pool.
252
+ * The instance ID of the Cloud Connect Network (CCN) attached to the edge-enhanced node pool.
236
253
  *
237
254
  * @example
238
255
  * null
@@ -240,7 +257,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
240
257
  ccnId?: string;
241
258
  /**
242
259
  * @remarks
243
- * **[Deprecated]** The region of the CCN instance bound to the enhanced edge node pool.
260
+ * **[Deprecated]**
261
+ *
262
+ * The region of the CCN instance associated with the edge-enhanced node pool.
244
263
  *
245
264
  * @example
246
265
  * null
@@ -250,7 +269,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
250
269
  * @remarks
251
270
  * **[Deprecated]**
252
271
  *
253
- * The Cloud Enterprise Network (CEN) instance ID attached to the enhanced edge node pool.
272
+ * The instance ID of the Cloud Enterprise Network (CEN) attached to the edge-enhanced node pool.
254
273
  *
255
274
  * @example
256
275
  * null
@@ -258,7 +277,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
258
277
  cenId?: string;
259
278
  /**
260
279
  * @remarks
261
- * **[Deprecated]** The subscription duration of the enhanced edge node pool. Unit: months.
280
+ * **[Deprecated]**
281
+ *
282
+ * The subscription duration of the edge-enhanced node pool. Unit: months.
262
283
  *
263
284
  * @example
264
285
  * null
@@ -296,12 +317,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
296
317
  export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
297
318
  /**
298
319
  * @remarks
299
- * Specifies whether to install CloudMonitor on Elastic Compute Service (ECS) nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Enabling this feature is recommended. Valid values:
300
- *
301
- * - `true`: installs CloudMonitor on ECS nodes.
302
- *
303
- * - `false`: does not install CloudMonitor on ECS nodes.
304
- *
320
+ * Specifies whether to install the CloudMonitor agent on ECS nodes. After the agent is installed, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Valid values:
321
+ * - `true`: The CloudMonitor agent is installed on ECS nodes.
322
+ * - `false`: The CloudMonitor agent is not installed on ECS nodes.
305
323
  * Default value: `false`.
306
324
  *
307
325
  * @example
@@ -311,10 +329,8 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
311
329
  /**
312
330
  * @remarks
313
331
  * The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
314
- *
315
- * - `static`: allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
316
- * - `none`: enables the existing default CPU affinity scheme.
317
- *
332
+ * - `static`: Allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
333
+ * - `none`: Uses the default CPU affinity scheme.
318
334
  * Default value: `none`.
319
335
  *
320
336
  * @example
@@ -323,26 +339,22 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
323
339
  cpuPolicy?: string;
324
340
  /**
325
341
  * @remarks
326
- * The labels added to the nodes in the Kubernetes cluster.
342
+ * The labels to be added to the nodes in the Kubernetes cluster.
327
343
  */
328
344
  labels?: Tag[];
329
345
  /**
330
346
  * @remarks
331
- * The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed at the same time.
332
- * > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing dots (.) in the IP address, and does not include prefixes or suffixes.
333
- *
334
- * The node name consists of three parts: a prefix, the node IP address, and a suffix:
347
+ * The custom node name. After you specify a custom node name, the node name, ECS instance name, and ECS instance hostname are changed accordingly.
348
+ * > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing periods (.) in the IP address, and without prefixes or suffixes.
335
349
  *
350
+ * The node name consists of a prefix, the node IP address, and a suffix:
336
351
  * - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
337
- *
338
- * - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and dots (.). They must start with a letter and cannot start or end with a hyphen (-) or a dot (.). Consecutive hyphens (-) or dots (.) are not allowed.
339
- * - The prefix is required (due to ECS limits), and the suffix is optional.
352
+ * - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with a letter and cannot start or end with a hyphen (-) or a period (.). Consecutive hyphens (-) or periods (.) are not allowed.
353
+ * - The prefix is required due to ECS limits, and the suffix is optional.
340
354
  * - The node IP address is the complete private IP address of the node.
341
355
  *
342
- * For example, if the node IP address is 192.XX.YY.55, the specified prefix is aliyun.com, and the suffix is test:
343
- *
356
+ * For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
344
357
  * - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
345
- *
346
358
  * - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and both the node name and ECS instance name are aliyun.com192.XX.YY.55test.
347
359
  *
348
360
  * @example
@@ -351,7 +363,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
351
363
  nodeNameMode?: string;
352
364
  /**
353
365
  * @remarks
354
- * The pre-custom data of the instance. Before the node joins the cluster, the specified pre-custom data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
366
+ * The pre-custom data of the instance. Before the node is added to the cluster, the specified pre-custom data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
355
367
  *
356
368
  * @example
357
369
  * dGhpcyBpcyBhIGV4YW1wbGU
@@ -359,13 +371,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
359
371
  preUserData?: string;
360
372
  /**
361
373
  * @remarks
362
- * The name of the container runtime. Container Service for Kubernetes (ACK) supports the following three container runtimes:
363
- *
364
- * - containerd: recommended. Supported by all cluster versions.
365
- * - Sandboxed-Container.runv: secure sandboxed containers that provide higher isolation. Supported by clusters of version 1.31 and earlier.
366
- * - docker: no longer maintained. Supported by clusters of version 1.22 and earlier.
367
- *
368
- * Default value: containerd.
374
+ * The name of the container runtime. ACK supports the following three container runtimes:
375
+ * - `containerd`: Recommended. Supported by all cluster versions.
376
+ * - `Sandboxed-Container.runv`: Secure sandboxed containers that provide higher isolation. Supported by clusters of version 1.31 and earlier.
377
+ * - `docker`: Deprecated. Supported by clusters of version 1.22 and earlier.
378
+ * Default value: `containerd`.
369
379
  *
370
380
  * @example
371
381
  * containerd
@@ -381,16 +391,14 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
381
391
  runtimeVersion?: string;
382
392
  /**
383
393
  * @remarks
384
- * The taint configurations.
394
+ * The taint configuration.
385
395
  */
386
396
  taints?: Taint[];
387
397
  /**
388
398
  * @remarks
389
- * Specifies whether the scaled-out nodes are unschedulable.
390
- *
391
- * - true: unschedulable.
392
- *
393
- * - false: schedulable.
399
+ * Specifies whether the scaled-out nodes are unschedulable. Valid values:
400
+ * - `true`: The nodes are unschedulable.
401
+ * - `false`: The nodes are schedulable.
394
402
  *
395
403
  * @example
396
404
  * true
@@ -398,7 +406,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
398
406
  unschedulable?: boolean;
399
407
  /**
400
408
  * @remarks
401
- * The instance user data. After a node joins the cluster, the specified instance user data script runs. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
409
+ * The instance user data. After the node is added to the cluster, the specified instance user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
402
410
  *
403
411
  * @example
404
412
  * dGhpcyBpcyBhIGV4YW1wbGU=
@@ -457,7 +465,15 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
457
465
  approvalRequired?: boolean;
458
466
  /**
459
467
  * @remarks
460
- * The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired at the same time. You can specify a number (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default value on the backend: 1.
468
+ * The ID of the auto-repair policy. If you do not specify this parameter or specify an empty string, no auto-healing rule is bound.
469
+ *
470
+ * @example
471
+ * r-xxxxxxxxxx
472
+ */
473
+ autoRepairPolicyId?: string;
474
+ /**
475
+ * @remarks
476
+ * The maximum number of nodes or the percentage of nodes that can be repaired simultaneously when a large number of abnormal nodes exist in the node pool. You can specify a number (for example, 5, valid values: 1 to 100000) or a percentage (for example, 10%, valid values: 1% to 100%). Default value: 1.
461
477
  *
462
478
  * @example
463
479
  * 5
@@ -465,7 +481,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
465
481
  maxParallelRepairingNodes?: string;
466
482
  /**
467
483
  * @remarks
468
- * The circuit breaker condition for auto-healing. When the number or percentage of faulty nodes exceeds this threshold, auto-healing enters the circuit breaker state and stops initiating new auto-healing repair actions. You can specify a number (such as 10, valid values: 1 to 100000) or a percentage (such as 20%, valid values: 1% to 100%). Default circuit breaker condition on the backend: 100%.
484
+ * The circuit breaker threshold for auto-healing. When the number or percentage of faulty nodes exceeds this threshold, auto-healing enters the circuit breaker state and stops initiating new auto-healing repair actions. You can specify a number (for example, 10, valid values: 1 to 100000) or a percentage (for example, 20%, valid values: 1% to 100%). Default value: 100%.
469
485
  *
470
486
  * @example
471
487
  * 20%
@@ -473,11 +489,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
473
489
  maxUnhealthyNodesThreshold?: string;
474
490
  /**
475
491
  * @remarks
476
- * Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair` is set to `true`. Valid values:
477
- *
478
- * - `true`: allows node restarts.
479
- * - `false`: does not allow node restarts.
480
- *
492
+ * Specifies whether to allow node restarts. This parameter takes effect only when auto_repair is set to true. Valid values:
493
+ * - `true`: Allows node restarts.
494
+ * - `false`: Does not allow node restarts.
481
495
  * Default value: `true`.
482
496
  *
483
497
  * @example
@@ -487,6 +501,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
487
501
  static names(): { [key: string]: string } {
488
502
  return {
489
503
  approvalRequired: 'approval_required',
504
+ autoRepairPolicyId: 'auto_repair_policy_id',
490
505
  maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
491
506
  maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
492
507
  restartNode: 'restart_node',
@@ -496,6 +511,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
496
511
  static types(): { [key: string]: any } {
497
512
  return {
498
513
  approvalRequired: 'boolean',
514
+ autoRepairPolicyId: 'string',
499
515
  maxParallelRepairingNodes: 'string',
500
516
  maxUnhealthyNodesThreshold: 'string',
501
517
  restartNode: 'boolean',
@@ -514,10 +530,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
514
530
  export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
515
531
  /**
516
532
  * @remarks
517
- * Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
518
- * - `true`: allows automatic kubelet upgrades.
519
- * - `false`: does not allow automatic kubelet upgrades.
520
- *
533
+ * Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
534
+ * - `true`: Allows automatic kubelet upgrades.
535
+ * - `false`: Does not allow automatic kubelet upgrades.
521
536
  * Default value: `true`.
522
537
  *
523
538
  * @example
@@ -526,10 +541,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
526
541
  autoUpgradeKubelet?: boolean;
527
542
  /**
528
543
  * @remarks
529
- * Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
530
- * - `true`: allows automatic operating system upgrades.
531
- * - `false`: does not allow automatic operating system upgrades.
532
- *
544
+ * Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
545
+ * - `true`: Allows automatic operating system upgrades.
546
+ * - `false`: Does not allow automatic operating system upgrades.
533
547
  * Default value: `false`.
534
548
  *
535
549
  * @example
@@ -538,10 +552,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
538
552
  autoUpgradeOs?: boolean;
539
553
  /**
540
554
  * @remarks
541
- * Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade` is set to `true`. Valid values:
542
- * - `true`: allows automatic runtime upgrades.
543
- * - `false`: does not allow automatic runtime upgrades.
544
- *
555
+ * Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
556
+ * - `true`: Allows automatic runtime upgrades.
557
+ * - `false`: Does not allow automatic runtime upgrades.
545
558
  * Default value: `true`.
546
559
  *
547
560
  * @example
@@ -576,9 +589,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
576
589
  export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
577
590
  /**
578
591
  * @remarks
579
- * The packages to be excluded during vulnerability repair.
580
- *
581
- * Default value: `kernel`.
592
+ * The packages to be excluded during vulnerability repair. Default value: `kernel`.
582
593
  *
583
594
  * @example
584
595
  * kernel
@@ -586,10 +597,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
586
597
  excludePackages?: string;
587
598
  /**
588
599
  * @remarks
589
- * Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix` is set to `true`. Valid values:
590
- * - `true`: allows node restarts.
591
- * - `false`: does not allow node restarts.
592
- *
600
+ * Specifies whether to allow node restarts. This parameter takes effect only when auto_vul_fix is set to true. Valid values:
601
+ * - `true`: Allows node restarts.
602
+ * - `false`: Does not allow node restarts.
593
603
  * Default value: `true`.
594
604
  *
595
605
  * @example
@@ -598,12 +608,10 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
598
608
  restartNode?: boolean;
599
609
  /**
600
610
  * @remarks
601
- * The vulnerability levels that are allowed for auto-repair, separated by commas. Example: `asap,later`. Supported vulnerability levels:
602
- *
603
- * - `asap`: high.
604
- * - `later`: medium.
605
- * - `nntf`: low.
606
- *
611
+ * The vulnerability levels that are allowed for automatic repair, separated by commas. Example: `asap,later`. Valid values:
612
+ * - `asap`: High.
613
+ * - `later`: Medium.
614
+ * - `nntf`: Low.
607
615
  * Default value: `asap`.
608
616
  *
609
617
  * @example
@@ -638,13 +646,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
638
646
  export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
639
647
  /**
640
648
  * @remarks
641
- * **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
642
- *
643
- * Specifies whether to enable auto-upgrade. Valid values:
644
- *
645
- * - `true`: enables auto-upgrade.
646
- *
647
- * - `false`: disables auto-upgrade.
649
+ * **[Deprecated]** Use the auto_upgrade parameter at the upper level instead. Specifies whether to enable auto-upgrade. Valid values:
650
+ * - `true`: Enables auto-upgrade.
651
+ * - `false`: Disables auto-upgrade.
648
652
  *
649
653
  * @example
650
654
  * null
@@ -654,10 +658,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
654
658
  autoUpgrade?: boolean;
655
659
  /**
656
660
  * @remarks
657
- * The maximum number of unavailable nodes.
658
- * Valid values: [1, 1000].
659
- *
660
- * Default value: 1.
661
+ * The maximum number of unavailable nodes. Valid values: 1 to 1000. Default value: 1.
661
662
  *
662
663
  * @example
663
664
  * 1
@@ -665,11 +666,8 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
665
666
  maxUnavailable?: number;
666
667
  /**
667
668
  * @remarks
668
- * The number of extra nodes. This parameter and `surge_percentage` are mutually exclusive.
669
- *
670
- * Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
671
- *
672
- * > Do not create more extra nodes than the current number of nodes.
669
+ * The number of extra nodes. This parameter and surge_percentage are mutually exclusive. Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
670
+ * > The number of extra nodes should not exceed the current number of nodes.
673
671
  *
674
672
  * @example
675
673
  * 0
@@ -677,9 +675,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
677
675
  surge?: number;
678
676
  /**
679
677
  * @remarks
680
- * The percentage of extra nodes. This parameter and `surge` are mutually exclusive.
681
- *
682
- * Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if the percentage of extra nodes is set to 50% and the number of existing nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
678
+ * The percentage of extra nodes. This parameter and surge are mutually exclusive. Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if the percentage of extra nodes is set to 50% and the current number of nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
683
679
  *
684
680
  * @example
685
681
  * 0
@@ -720,12 +716,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
720
716
  autoFaultDiagnosis?: boolean;
721
717
  /**
722
718
  * @remarks
723
- * Specifies whether to automatically repair nodes. This parameter takes effect only when `enable` is set to `true`.
724
- *
725
- * - `true`: automatically repairs nodes.
726
- *
727
- * - `false`: does not automatically repair nodes.
728
- *
719
+ * Specifies whether to automatically repair nodes. This parameter takes effect only when enable is set to true. Valid values:
720
+ * - `true`: Automatically repairs nodes.
721
+ * - `false`: Does not automatically repair nodes.
729
722
  * Default value: `true`.
730
723
  *
731
724
  * @example
@@ -739,10 +732,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
739
732
  autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
740
733
  /**
741
734
  * @remarks
742
- * Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable` is set to `true`.
743
- * - `true`: enables auto-upgrade.
744
- * - `false`: disables auto-upgrade.
745
- *
735
+ * Specifies whether to automatically upgrade nodes. This parameter takes effect only when enable is set to true. Valid values:
736
+ * - `true`: Enables auto-upgrade.
737
+ * - `false`: Disables auto-upgrade.
746
738
  * Default value: `true`.
747
739
  *
748
740
  * @example
@@ -756,11 +748,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
756
748
  autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
757
749
  /**
758
750
  * @remarks
759
- * Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable` is set to `true`.
760
- *
761
- * - `true`: allows automatic CVE repairs.
762
- * - `false`: does not allow automatic CVE repairs.
763
- *
751
+ * Specifies whether to automatically repair CVE vulnerabilities. This parameter takes effect only when enable is set to true. Valid values:
752
+ * - `true`: Allows automatic CVE repair.
753
+ * - `false`: Does not allow automatic CVE repair.
764
754
  * Default value: `true`.
765
755
  *
766
756
  * @example
@@ -769,22 +759,19 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
769
759
  autoVulFix?: boolean;
770
760
  /**
771
761
  * @remarks
772
- * The CVE auto-repair policy.
762
+ * The auto-repair policy for CVE vulnerabilities.
773
763
  */
774
764
  autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
775
765
  /**
776
766
  * @remarks
777
- * Specifies whether to enable the node rotation capability. This feature is supported only by intelligent managed node pools and is enabled by default. It is not supported by regular node pools.
767
+ * Specifies whether to enable the node rotation feature. This feature is supported only by intelligent managed node pools and is enabled by default. It is not supported by regular node pools.
778
768
  */
779
769
  driftEnabled?: boolean;
780
770
  /**
781
771
  * @remarks
782
- * Specifies whether to enable the managed feature for the node pool. Valid values:
783
- *
784
- * - `true`: enables the managed feature.
785
- *
786
- * - `false`: disables the managed feature. Other related configurations take effect only when `enable` is set to `true`.
787
- *
772
+ * Specifies whether to enable the managed node pool feature. Valid values:
773
+ * - `true`: Enables the managed node pool feature.
774
+ * - `false`: Disables the managed node pool feature. Other related configurations take effect only when this parameter is set to true.
788
775
  * Default value: `false`.
789
776
  *
790
777
  * @example
@@ -793,9 +780,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
793
780
  enable?: boolean;
794
781
  /**
795
782
  * @remarks
796
- * **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
797
- *
798
- * The auto-upgrade configurations. This parameter takes effect only when `enable` is set to `true`.
783
+ * **[Deprecated]** Use the auto_upgrade parameter at the upper level instead. The auto-upgrade configuration. This parameter takes effect only when enable is set to true.
799
784
  *
800
785
  * @deprecated
801
786
  */
@@ -992,7 +977,7 @@ export class CreateClusterNodePoolRequestNodeConfigNodeOsConfig extends $dara.Mo
992
977
  hugepage?: Hugepage;
993
978
  /**
994
979
  * @remarks
995
- * The sysctl kernel parameter settings. Only some kernel parameters are supported, and the cluster version must be 1.28 or later.
980
+ * The sysctl kernel parameter settings. Only specific kernel parameters are supported, and the cluster version must be 1.28 or later.
996
981
  *
997
982
  * @example
998
983
  * {"fs.file-max":"1048576"}
@@ -1080,7 +1065,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
1080
1065
  name?: string;
1081
1066
  /**
1082
1067
  * @remarks
1083
- * The resource group ID of the node pool. The instances created by the node pool belong to this resource group.
1068
+ * The ID of the resource group to which the node pool belongs. Instances added to the node pool belong to this resource group.
1084
1069
  *
1085
1070
  * 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.
1086
1071
  *
@@ -1090,9 +1075,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
1090
1075
  resourceGroupId?: string;
1091
1076
  /**
1092
1077
  * @remarks
1093
- * The node pool type. Valid values:
1078
+ * The type of the node pool. Valid values:
1094
1079
  *
1095
- * - `ess`: standard node pool (includes managed and elastic scaling features).
1080
+ * - `ess`: standard node pool, which supports managed features and automatic elastic scaling.
1096
1081
  * - `edge`: edge node pool.
1097
1082
  * - `lingjun`: Lingjun node pool.
1098
1083
  * - `hybrid`: hybrid cloud node pool.
@@ -1129,7 +1114,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
1129
1114
  export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
1130
1115
  /**
1131
1116
  * @remarks
1132
- * Specifies whether to enable nested virtualization. Valid values: `disabled`: disables nested virtualization. `enabled`: enables nested virtualization.
1117
+ * Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
1133
1118
  *
1134
1119
  * @example
1135
1120
  * enabled
@@ -1159,7 +1144,7 @@ export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Mo
1159
1144
  export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
1160
1145
  /**
1161
1146
  * @remarks
1162
- * The ID of the private pool, which is the ID of the elasticity assurance or capacity reservation. When `match_criteria` is set to `Target`, you must specify the private pool ID.
1147
+ * The ID of the private pool. When `match_criteria` is set to `Target`, you must specify the private pool ID.
1163
1148
  *
1164
1149
  * @example
1165
1150
  * eap-bp67acfmxazb4****
@@ -1167,9 +1152,9 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
1167
1152
  id?: string;
1168
1153
  /**
1169
1154
  * @remarks
1170
- * The private pool capacity matching mode for instance startup. After an elasticity assurance or capacity reservation takes effect, private pool capacity is generated for you to select when starting instances. Valid values:
1171
- * - `Open`: open mode. The system automatically matches the capacity of open private pools. If no matching private pool capacity is available, public pool resources are used. In this mode, you do not need to specify the PrivatePoolOptions.Id parameter.
1172
- * - `Target`: targeted mode. The system uses the capacity of the specified private pool to start instances. If the specified private pool capacity is unavailable, the instances fail to start. In this mode, you must specify the private pool ID by setting the PrivatePoolOptions.Id parameter.
1155
+ * The private pool capacity matching mode for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for you to select when you start instances. Valid values:
1156
+ * - `Open`: open mode. The system automatically matches the capacity of an open private pool. If no eligible private pool capacity is available, the system uses public pool resources to start the instances.
1157
+ * - `Target`: specified mode. The system uses the capacity of the specified private pool to start instances. If the specified private pool capacity is unavailable, the instances fail to start.
1173
1158
  * - `None`: no private pool mode. The system does not use private pool capacity to start instances.
1174
1159
  *
1175
1160
  * @example
@@ -1202,14 +1187,14 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
1202
1187
  export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
1203
1188
  /**
1204
1189
  * @remarks
1205
- * The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can only specify the IDs of private pools in Target mode. Valid values of N: 1 to 20.
1190
+ * The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can specify only the IDs of private pools in Target mode. Valid values of N: 1 to 20.
1206
1191
  */
1207
1192
  privatePoolIds?: string[];
1208
1193
  /**
1209
1194
  * @remarks
1210
- * The resource pool strategy used to create instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools. Valid values:
1211
- * PrivatePoolFirst: Private pool first. If you select this strategy and specify resouce_pool_options.private_pool_ids, the specified private pools are used first. If no private pool is specified or the specified private pools do not have sufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
1212
- * PrivatePoolOnly: Private pool only. If you select this strategy, you must specify resouce_pool_options.private_pool_ids. If the specified private pools do not have sufficient capacity, the instances fail to start.
1195
+ * The resource pool strategy used when creating instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools, which are available for selection during instance startup. Valid values:
1196
+ * PrivatePoolFirst: Private pool first. When this strategy is selected and resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pools have insufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create the instance.
1197
+ * PrivatePoolOnly: Private pool only. When this strategy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pools have insufficient capacity, the instance fails to start.
1213
1198
  * None: No resource pool strategy is used.
1214
1199
  * Default value: None.
1215
1200
  *
@@ -1254,7 +1239,12 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
1254
1239
  instanceType?: string;
1255
1240
  /**
1256
1241
  * @remarks
1257
- * The maximum price per instance. <props="china">Unit: CNY/hour. <props="intl">Unit: USD/hour.
1242
+ * The maximum price per instance.
1243
+ * <props="china">Unit: CNY/hour.
1244
+ *
1245
+ *
1246
+ *
1247
+ * <props="intl">Unit: USD/hour.
1258
1248
  *
1259
1249
  * @example
1260
1250
  * 0.39
@@ -1339,7 +1329,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1339
1329
  autoRenew?: boolean;
1340
1330
  /**
1341
1331
  * @remarks
1342
- * The duration of each auto-renewal. Valid values:
1332
+ * The duration of each auto-renewal cycle. Valid values:
1343
1333
  * - When PeriodUnit is set to Week: 1, 2, and 3.
1344
1334
  * - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
1345
1335
  *
@@ -1361,7 +1351,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1361
1351
  cisEnabled?: boolean;
1362
1352
  /**
1363
1353
  * @remarks
1364
- * Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory issues and `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
1354
+ * Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory issues, provided that `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
1365
1355
  *
1366
1356
  * - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
1367
1357
  * - `false`: does not automatically create pay-as-you-go instances.
@@ -1382,10 +1372,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1382
1372
  dataDisks?: DataDisk[];
1383
1373
  /**
1384
1374
  * @remarks
1385
- * The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When creating ECS instances in a deployment set, the instances are started in a distributed manner in the specified region based on the predefined deployment policy.
1375
+ * The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When you create ECS instances in a deployment set, the instances are distributed and started in the specified region based on the predefined deployment policy.
1386
1376
  *
1387
1377
  *
1388
- * >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 20 × the number of zones nodes. The number of zones is determined by the vSwitches. Proceed with caution and ensure that the quota in the deployment set is sufficient to prevent node scale-out failures.</notice>
1378
+ * >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × the number of zones nodes. The number of zones is determined by the vSwitches. Proceed with caution and ensure that the quota in the deployment set is sufficient to prevent node scale-out failures.
1389
1379
  *
1390
1380
  * @example
1391
1381
  * ds-bp1d19mmbsv3jf6xxxxx
@@ -1426,7 +1416,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1426
1416
  imageId?: string;
1427
1417
  /**
1428
1418
  * @remarks
1429
- * The type of the operating system image. We recommend that you use this field to specify the operating system for nodes. Valid values:
1419
+ * The type of the operating system image. Valid values:
1430
1420
  *
1431
1421
  * - `AliyunLinux`: Alinux2 image.
1432
1422
  * - `AliyunLinuxSecurity`: Alinux2 UEFI image.
@@ -1445,7 +1435,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1445
1435
  imageType?: string;
1446
1436
  /**
1447
1437
  * @remarks
1448
- * The billing method for nodes in the node pool. Valid values:
1438
+ * The billing method of nodes in the node pool. Valid values:
1449
1439
  *
1450
1440
  * - `PrePaid`: subscription.
1451
1441
  *
@@ -1473,7 +1463,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1473
1463
  * @remarks
1474
1464
  * The list of instance types for nodes in the node pool. When the node pool scales out nodes, it selects instance types that meet the requirements from the specified list to create instances.
1475
1465
  *
1476
- * Supported number of instance types: 1 to 10.
1466
+ * Valid values for the number of instance types: 1 to 10.
1477
1467
  *
1478
1468
  *
1479
1469
  * > To ensure high availability, we recommend that you select multiple instance types.
@@ -1483,10 +1473,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1483
1473
  instanceTypes?: string[];
1484
1474
  /**
1485
1475
  * @remarks
1486
- * The billing method for the public IP address. Valid values:
1476
+ * The billing method for public IP addresses. Valid values:
1487
1477
  *
1488
- * - `PayByBandwidth`: pay-by-bandwidth.
1489
- * - `PayByTraffic`: pay-by-data-transfer.
1478
+ * - PayByBandwidth: pay-by-bandwidth.
1479
+ * - PayByTraffic: pay-by-data-transfer.
1490
1480
  *
1491
1481
  * @example
1492
1482
  * PayByTraffic
@@ -1494,7 +1484,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1494
1484
  internetChargeType?: string;
1495
1485
  /**
1496
1486
  * @remarks
1497
- * The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
1487
+ * The maximum outbound bandwidth for public IP addresses of nodes. Unit: Mbit/s. Valid values: 1 to 100.
1498
1488
  *
1499
1489
  * @example
1500
1490
  * 5
@@ -1502,7 +1492,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1502
1492
  internetMaxBandwidthOut?: number;
1503
1493
  /**
1504
1494
  * @remarks
1505
- * The name of the key pair for passwordless logon. This parameter and `login_password` are mutually exclusive.
1495
+ * The name of the key pair used for password-free logon. You must specify either this parameter or `login_password`.
1506
1496
  *
1507
1497
  * > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
1508
1498
  *
@@ -1512,11 +1502,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1512
1502
  keyPair?: string;
1513
1503
  /**
1514
1504
  * @remarks
1515
- * Specifies whether to log on to the created ECS instances as a non-root user. Valid values:
1505
+ * Specifies whether to log on to the created ECS instances as a non-root user.
1516
1506
  *
1517
- * - `true`: logs on as a non-root user (ecs-user).
1507
+ * - true: logs on as a non-root user (ecs-user).
1518
1508
  *
1519
- * - `false`: logs on as the root user.
1509
+ * - false: logs on as the root user.
1520
1510
  *
1521
1511
  * @example
1522
1512
  * true
@@ -1534,13 +1524,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1534
1524
  * @remarks
1535
1525
  * The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
1536
1526
  *
1537
- * - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you specify. If ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
1527
+ * - `PRIORITY`: scales ECS instances based on the vSwitches (VSwitchIds.N) that you specify. If ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
1538
1528
  *
1539
- * - `COST_OPTIMIZED`: Attempts to create instances based on the vCPU unit price from low to high. When the scaling configuration specifies multiple instance types with the spot billing method, the system preferentially creates the corresponding spot instances. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages or other reasons.
1529
+ * - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order. When the scaling configuration specifies multiple instance types with the preemptible billing method, the system preferentially creates spot instances. You can use the `CompensateWithOnDemand` parameter to specify if it is to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages or other reasons.
1540
1530
  *
1541
1531
  * > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
1542
1532
  *
1543
- * - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If the instances are unevenly distributed across zones due to inventory shortages, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
1533
+ * - `BALANCE`: evenly allocates ECS instances across the zones specified in the scaling group. If the zones become unbalanced due to inventory shortages or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
1544
1534
  *
1545
1535
  * Default value: `PRIORITY`.
1546
1536
  *
@@ -1566,7 +1556,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1566
1556
  onDemandPercentageAboveBaseCapacity?: number;
1567
1557
  /**
1568
1558
  * @remarks
1569
- * The subscription duration for nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
1559
+ * The subscription duration of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
1570
1560
  *
1571
1561
  * - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
1572
1562
  * - When `period_unit` is set to `Month`, valid values for `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
@@ -1577,10 +1567,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1577
1567
  period?: number;
1578
1568
  /**
1579
1569
  * @remarks
1580
- * The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values:
1570
+ * The billing cycle of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
1581
1571
  *
1582
- * - `Month`: Uses month as the time unit.
1583
- * - `Week`: Uses week as the time unit.
1572
+ * - `Month`: month.
1573
+ * - `Week`: week.
1584
1574
  *
1585
1575
  * Default value: `Month`.
1586
1576
  *
@@ -1608,7 +1598,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1608
1598
  platform?: string;
1609
1599
  /**
1610
1600
  * @remarks
1611
- * The private node pool configuration.
1601
+ * The private pool configuration.
1612
1602
  */
1613
1603
  privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
1614
1604
  /**
@@ -1618,7 +1608,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1618
1608
  * * If this parameter is left empty, the default worker RAM role created for the cluster is used.
1619
1609
  * * If this parameter is specified, the RAM role must be a **normal service role** and its **trusted service** must be set to **ECS**. 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 for the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
1620
1610
  *
1621
- * >Notice: This parameter is supported only by ACK managed clusters of version 1.22 and later.</notice>
1611
+ * >Notice: This parameter is supported only by ACK managed clusters of version 1.22 and later.
1622
1612
  *
1623
1613
  * @example
1624
1614
  * example-role
@@ -1631,17 +1621,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1631
1621
  rdsInstances?: string[];
1632
1622
  /**
1633
1623
  * @remarks
1634
- * The resource pool and resource pool policy used for creating instances. Take note of the following items when you configure this parameter:
1624
+ * The resource pool and resource pool policy used for instance creation. Take note of the following items when you configure this parameter:
1635
1625
  * This parameter takes effect only when you create pay-as-you-go instances.
1636
- * This parameter cannot be configured at the same time as private_pool_options.match_criteria and private_pool_options.id.
1626
+ * This parameter cannot be specified together with private_pool_options.match_criteria or private_pool_options.id.
1637
1627
  */
1638
1628
  resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
1639
1629
  /**
1640
1630
  * @remarks
1641
1631
  * The scaling group mode. Valid values:
1642
- * - release: Standard mode. Instances are scaled by creating and releasing ECS instances based on the requested resource usage.
1643
- * - recycle: Swift mode. Instances are scaled by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
1644
- * Default value: release.
1632
+ * - `release`: Standard mode. Instances are scaled by creating and releasing ECS instances based on the requested resource usage.
1633
+ * - `recycle`: Extreme mode. Instances are scaled by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, compute resources are not billed, and only storage fees are charged, except for instances with local disks.
1634
+ * Default value: `release`.
1645
1635
  *
1646
1636
  * @example
1647
1637
  * release
@@ -1649,7 +1639,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1649
1639
  scalingPolicy?: string;
1650
1640
  /**
1651
1641
  * @remarks
1652
- * The security group ID of the node pool. You can specify this parameter or security_group_ids. We recommend that you use security_group_ids.
1642
+ * The security group ID of the node pool. Specify either this parameter or security_group_ids. We recommend that you use security_group_ids.
1653
1643
  *
1654
1644
  * @example
1655
1645
  * sg-wz9a8g2mt6x5llu0****
@@ -1659,15 +1649,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1659
1649
  securityGroupId?: string;
1660
1650
  /**
1661
1651
  * @remarks
1662
- * The list of security group IDs. You can specify this parameter or security_group_id. We recommend that you use security_group_ids. If you specify both security_group_id and security_group_ids, security_group_ids takes precedence.
1652
+ * The list of security group IDs. Specify either this parameter or security_group_id. We recommend that you use security_group_ids. If both security_group_id and security_group_ids are specified, security_group_ids takes precedence.
1663
1653
  */
1664
1654
  securityGroupIds?: string[];
1665
1655
  /**
1666
1656
  * @remarks
1667
1657
  * Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
1668
- * - true: enables Alibaba Cloud OS security hardening.
1669
- * - false: does not enable Alibaba Cloud OS security hardening.
1670
- * Default value: false.
1658
+ * - `true`: Enables Alibaba Cloud OS security hardening.
1659
+ * - `false`: Does not enable Alibaba Cloud OS security hardening.
1660
+ * Default value: `false`.
1671
1661
  *
1672
1662
  * @example
1673
1663
  * false
@@ -1675,7 +1665,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1675
1665
  securityHardeningOs?: boolean;
1676
1666
  /**
1677
1667
  * @remarks
1678
- * Specifies whether to enable MLPS 2.0 security hardening. You can enable this feature for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
1668
+ * Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs for classified protection compliance for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
1679
1669
  *
1680
1670
  * @example
1681
1671
  * false
@@ -1691,9 +1681,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1691
1681
  spotInstancePools?: number;
1692
1682
  /**
1693
1683
  * @remarks
1694
- * Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance is to be reclaimed, the scaling group attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
1695
- * - true: enables spot instance replenishment.
1696
- * - false: does not enable spot instance replenishment.
1684
+ * Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
1685
+ * - `true`: Enables spot instance replenishment.
1686
+ * - `false`: Does not enable spot instance replenishment.
1697
1687
  *
1698
1688
  * @example
1699
1689
  * false
@@ -1707,9 +1697,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1707
1697
  /**
1708
1698
  * @remarks
1709
1699
  * The spot instance strategy. Valid values:
1710
- * - NoSpot: pay-as-you-go instance.
1711
- * - SpotWithPriceLimit: sets the maximum price for spot instances.
1712
- * - SpotAsPriceGo: uses the system\\"s automatic bidding, which follows the actual market price.
1700
+ * - `NoSpot`: Non-spot instance.
1701
+ * - `SpotWithPriceLimit`: Sets a maximum price for spot instances.
1702
+ * - `SpotAsPriceGo`: The system automatically bids based on the current market price.
1713
1703
  * For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
1714
1704
  *
1715
1705
  * @example
@@ -1718,10 +1708,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1718
1708
  spotStrategy?: string;
1719
1709
  /**
1720
1710
  * @remarks
1721
- * Specifies whether to enable performance burst for the system disk of the node. Valid values:
1722
- * - true: yes.
1723
- * - false: no.
1724
- * This parameter is supported only when system_disk_category is set to cloud_auto. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
1711
+ * Specifies whether to enable performance burst for the node system disk. Valid values:
1712
+ * - true: Yes.
1713
+ * - false: No.
1714
+ * This parameter is supported only when system_disk_category is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
1725
1715
  *
1726
1716
  * @example
1727
1717
  * true
@@ -1729,18 +1719,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1729
1719
  systemDiskBurstingEnabled?: boolean;
1730
1720
  /**
1731
1721
  * @remarks
1732
- * The categories of the system disk. If the system disk cannot be created by using a disk category with a higher priority, the system automatically tries the next disk category in the priority list.
1722
+ * The categories of the system disk. If a higher-priority disk category is unavailable, the system automatically attempts to use the next priority disk category to create the system disk.
1733
1723
  */
1734
1724
  systemDiskCategories?: string[];
1735
1725
  /**
1736
1726
  * @remarks
1737
- * The system disk category of the node. Valid values:
1738
- * - cloud_efficiency: ultra disk.
1739
- * - cloud_ssd: standard SSD.
1740
- * - cloud_essd: ESSD.
1741
- * - cloud_auto: ESSD AutoPL cloud disk.
1742
- * - cloud_essd_entry: ESSD Entry cloud disk.
1743
- * Default value: cloud_efficiency.
1727
+ * The category of the node system disk. Valid values:
1728
+ * - `cloud_efficiency`: Ultra cloud disk.
1729
+ * - `cloud_ssd`: Standard SSD.
1730
+ * - `cloud_essd`: ESSD.
1731
+ * - `cloud_auto`: ESSD AutoPL cloud disk.
1732
+ * - `cloud_essd_entry`: ESSD Entry cloud disk.
1733
+ * Default value: `cloud_efficiency`.
1744
1734
  *
1745
1735
  * @example
1746
1736
  * cloud_efficiency
@@ -1748,7 +1738,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1748
1738
  systemDiskCategory?: string;
1749
1739
  /**
1750
1740
  * @remarks
1751
- * The encryption algorithm used for the system disk. Valid value: aes-256.
1741
+ * The encryption algorithm used for the system disk. Valid values: aes-256.
1752
1742
  *
1753
1743
  * @example
1754
1744
  * aes-256
@@ -1757,8 +1747,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1757
1747
  /**
1758
1748
  * @remarks
1759
1749
  * Specifies whether to encrypt the system disk. Valid values:
1760
- * - true: encrypts the system disk.
1761
- * - false: does not encrypt the system disk.
1750
+ * - true: Encrypts the system disk.
1751
+ * - false: Does not encrypt the system disk.
1762
1752
  *
1763
1753
  * @example
1764
1754
  * false
@@ -1774,11 +1764,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1774
1764
  systemDiskKmsKeyId?: string;
1775
1765
  /**
1776
1766
  * @remarks
1777
- * The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs, not standard SSD. The performance level varies based on the disk size. For more information, see [ESSD](https://help.aliyun.com/document_detail/122389.html). Valid values:
1767
+ * The performance level of the node system disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html). Valid values:
1778
1768
  * - PL0: Medium concurrent I/O performance and relatively stable read/write latency.
1779
1769
  * - PL1: Medium concurrent I/O performance and relatively stable read/write latency.
1780
1770
  * - PL2: High concurrent I/O performance and stable read/write latency.
1781
- * - PL3: Ultra-high concurrent I/O performance and highly stable read/write latency.
1771
+ * - PL3: Extremely high concurrent I/O performance and highly stable read/write latency.
1782
1772
  *
1783
1773
  * @example
1784
1774
  * PL1
@@ -1786,9 +1776,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1786
1776
  systemDiskPerformanceLevel?: string;
1787
1777
  /**
1788
1778
  * @remarks
1789
- * The provisioned read/write IOPS for the system disk.
1790
- * Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50000}.
1791
- * This parameter is supported only when system_disk_category is set to cloud_auto. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
1779
+ * The provisioned read/write IOPS for the node system disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
1780
+ * This parameter is supported only when system_disk_category is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
1792
1781
  *
1793
1782
  * @example
1794
1783
  * 1000
@@ -1796,8 +1785,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1796
1785
  systemDiskProvisionedIops?: number;
1797
1786
  /**
1798
1787
  * @remarks
1799
- * The size of the system disk. Unit: GiB.
1800
- * Valid values: 20 to 2048.
1788
+ * The size of the node system disk. Unit: GiB. Valid values: 20 to 2048.
1801
1789
  *
1802
1790
  * @example
1803
1791
  * 120
@@ -1813,13 +1801,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1813
1801
  systemDiskSnapshotPolicyId?: string;
1814
1802
  /**
1815
1803
  * @remarks
1816
- * Adds tags only to ECS instances.
1817
- * Tag keys must be unique and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
1804
+ * Adds tags only to ECS instances. Tag keys must be unique and can be up to 128 characters in length. Neither tag keys nor tag values can start with "aliyun" or "acs:", or contain "https://" or "http://".
1818
1805
  */
1819
1806
  tags?: CreateClusterNodePoolRequestScalingGroupTags[];
1820
1807
  /**
1821
1808
  * @remarks
1822
- * The list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
1809
+ * The list of vSwitch IDs. Valid values: 1 to 8.
1823
1810
  * > To ensure high availability, we recommend that you select vSwitches in different zones.
1824
1811
  *
1825
1812
  * This parameter is required.
@@ -1994,9 +1981,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
1994
1981
  /**
1995
1982
  * @remarks
1996
1983
  * Specifies whether to enable the confidential computing cluster. Valid values:
1997
- *
1998
1984
  * - true: Enables confidential computing.
1999
- *
2000
1985
  * - false: Does not enable confidential computing.
2001
1986
  *
2002
1987
  * @example
@@ -2037,7 +2022,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
2037
2022
  autoScaling?: CreateClusterNodePoolRequestAutoScaling;
2038
2023
  /**
2039
2024
  * @remarks
2040
- * **[Deprecated]** Use desired_size instead. The number of nodes in the node pool.
2025
+ * **[Deprecated]** Use desired_size instead.
2026
+ *
2027
+ * The number of nodes in the node pool.
2041
2028
  *
2042
2029
  * @example
2043
2030
  * null
@@ -2052,9 +2039,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
2052
2039
  efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
2053
2040
  /**
2054
2041
  * @remarks
2055
- * Specifies whether pods in the edge node pool use the host network mode. Valid values:
2056
- * - true: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
2057
- * - false: container network. Pods have independent network stacks and do not occupy the network ports of the host.
2042
+ * Specifies whether the pod network mode uses the host network mode. Valid values:
2043
+ * - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
2044
+ * - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
2058
2045
  *
2059
2046
  * @example
2060
2047
  * true
@@ -2062,16 +2049,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
2062
2049
  hostNetwork?: boolean;
2063
2050
  /**
2064
2051
  * @remarks
2065
- * **[Deprecated]** The configuration of the edge node pool.
2052
+ * **[Deprecated]**
2053
+ *
2054
+ * The configuration of the edge node pool.
2066
2055
  *
2067
2056
  * @deprecated
2068
2057
  */
2069
2058
  interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
2070
2059
  /**
2071
2060
  * @remarks
2072
- * The network type of the edge node pool. This parameter takes effect only when type is set to edge. Valid values:
2073
- * - basic: public network. Nodes in cloud node pool interact with cloud nodes over the public network. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
2074
- * - private: private network. Nodes in cloud node pool connect to the cloud network over Express Connect circuits, VPNs, or CEN. This provides higher cloud-edge communication quality and more effective security protection.
2061
+ * The network type of the edge node pool. This parameter takes effect only when `type` is set to `edge`. Valid values:
2062
+ *
2063
+ * - `basic`: Internet. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
2064
+ * - `private`: private network. Nodes in cloud node pool connect to the cloud network through Express Connect circuits, VPNs, or CEN, which provides higher cloud-edge communication quality and more effective security protection.
2075
2065
  *
2076
2066
  * @example
2077
2067
  * basic
@@ -2080,8 +2070,8 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
2080
2070
  /**
2081
2071
  * @remarks
2082
2072
  * Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool. Valid values:
2083
- * - true: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
2084
- * - false: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
2073
+ * - `true`: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
2074
+ * - `false`: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
2085
2075
  *
2086
2076
  * @example
2087
2077
  * true
@@ -2099,7 +2089,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
2099
2089
  management?: CreateClusterNodePoolRequestManagement;
2100
2090
  /**
2101
2091
  * @remarks
2102
- * **[Deprecated]** The maximum number of nodes allowed in an edge node pool.
2092
+ * **[Deprecated]** The maximum number of nodes that the edge node pool can accommodate.
2103
2093
  *
2104
2094
  * @example
2105
2095
  * null