@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
@@ -10,9 +10,10 @@ import { Taint } from "./Taint";
10
10
  export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
11
11
  /**
12
12
  * @remarks
13
- * This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
13
+ * This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
14
+ * The peak bandwidth of the EIP.
14
15
  *
15
- * The valid values are 1 to 100. The unit is Mbps.
16
+ * Valid values: [1, 100]. Unit: Mbit/s.
16
17
  *
17
18
  * @example
18
19
  * null
@@ -22,13 +23,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
22
23
  eipBandwidth?: number;
23
24
  /**
24
25
  * @remarks
25
- * [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
26
+ * This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
26
27
  *
27
- * The billing method for the EIP. Valid values:
28
+ * The billing method of the EIP. Valid values:
28
29
  *
29
- * - `PayByBandwidth`: Pay by bandwidth.
30
+ * - `PayByBandwidth`: pay-by-bandwidth.
30
31
  *
31
- * - `PayByTraffic`: Pay by traffic.
32
+ * - `PayByTraffic`: pay-by-traffic.
32
33
  *
33
34
  * Default value: `PayByBandwidth`.
34
35
  *
@@ -40,13 +41,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
40
41
  eipInternetChargeType?: string;
41
42
  /**
42
43
  * @remarks
43
- * Enable auto scaling. Valid values:
44
+ * Specifies whether to enable auto scaling. Valid values:
44
45
  *
45
- * - `true`: Enable auto scaling. When cluster capacity is insufficient for pod scheduling, ACK automatically scales nodes based on the minimum and maximum instance counts you configure. For clusters running Kubernetes 1.24 or later, instant elasticity is enabled by default. For earlier versions, auto scaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
46
+ * - `true`: Enables auto scaling for the node pool. If the resources in the cluster do not meet the scheduling requirements of application pods, ACK automatically scales the nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, instant elasticity 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).
46
47
  *
47
- * - `false`: Disable auto scaling. ACK adjusts the number of nodes in the node pool to match the desired node count you specify.
48
+ * - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool to the value of \\`desired_size\\` and keeps the number of nodes unchanged.
48
49
  *
49
- * When set to false, other parameters under `auto_scaling` are ignored.
50
+ * If this parameter is set to false, other parameters in `auto_scaling` do not take effect.
50
51
  *
51
52
  * Default value: `false`.
52
53
  *
@@ -56,11 +57,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
56
57
  enable?: boolean;
57
58
  /**
58
59
  * @remarks
59
- * [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
60
+ * This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
60
61
  *
61
- * - `true`: Bind an EIP.
62
+ * - `true`: associates an EIP.
62
63
  *
63
- * - `false`: Do not bind an EIP.
64
+ * - `false`: does not associate an EIP.
64
65
  *
65
66
  * Default value: `false`.
66
67
  *
@@ -72,7 +73,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
72
73
  isBondEip?: boolean;
73
74
  /**
74
75
  * @remarks
75
- * The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
76
+ * The maximum number of instances that can be created in the node pool. This parameter does not include existing instances. This parameter takes effect only when `enable=true`.
76
77
  *
77
78
  * Valid values: [min_instances, 2000]. Default value: 0.
78
79
  *
@@ -82,13 +83,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
82
83
  maxInstances?: number;
83
84
  /**
84
85
  * @remarks
85
- * The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
86
+ * The minimum number of instances that can be created in the node pool. This parameter does not include existing instances. This parameter takes effect only when `enable=true`.
86
87
  *
87
88
  * Valid values: [0, max_instances]. Default value: 0.
88
89
  *
89
- * > - If the minimum instance count is not zero, the system creates the specified number of ECS instances after the scaling group becomes active.
90
+ * > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
90
91
  * >
91
- * > - To avoid unintended scale-in, set the maximum instance count to at least the current number of nodes in the node pool.
92
+ * > - Set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, a scale-in event is triggered after auto scaling is enabled.
92
93
  *
93
94
  * @example
94
95
  * 2
@@ -96,15 +97,15 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
96
97
  minInstances?: number;
97
98
  /**
98
99
  * @remarks
99
- * The auto scaling type, defined by instance type. Valid values:
100
+ * The type of auto scaling. This parameter is specified based on the instance type. Valid values:
100
101
  *
101
- * - `cpu`: Standard instance.
102
+ * - `cpu`: regular instance.
102
103
  *
103
- * - `gpu`: GPU instance.
104
+ * - `gpu`: GPU-accelerated instance.
104
105
  *
105
- * - `gpushare`: GPU shared instance.
106
+ * - `gpushare`: shared GPU-accelerated instance.
106
107
  *
107
- * - `spot`: Spot instance.
108
+ * - `spot`: spot instance.
108
109
  *
109
110
  * Default value: `cpu`.
110
111
  *
@@ -150,11 +151,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
150
151
  export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
151
152
  /**
152
153
  * @remarks
153
- * Install Cloud Monitor on ECS nodes. After installation, you can view monitoring information for the created ECS instances in the Cloud Monitor console. We recommend enabling this. Valid values:
154
+ * 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:
154
155
  *
155
- * - `true`: Install Cloud Monitor on ECS nodes.
156
+ * - `true`: installs Cloud Monitor on ECS nodes.
156
157
  *
157
- * - `false`: Do not install Cloud Monitor on ECS nodes.
158
+ * - `false`: does not install Cloud Monitor on ECS nodes.
158
159
  *
159
160
  * Default value: `false`.
160
161
  *
@@ -164,11 +165,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
164
165
  cmsEnabled?: boolean;
165
166
  /**
166
167
  * @remarks
167
- * The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 and later:
168
+ * 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:
168
169
  *
169
- * - `static`: Allows pods with certain resource characteristics on the node to have enhanced CPU affinity and exclusivity.
170
+ * - `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
170
171
  *
171
- * - `none`: Enables the existing default CPU affinity scheme.
172
+ * - `none`: indicates that the default CPU affinity is used.
172
173
  *
173
174
  * Default value: `none`.
174
175
  *
@@ -178,20 +179,20 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
178
179
  cpuPolicy?: string;
179
180
  /**
180
181
  * @remarks
181
- * Node labels. Add labels to Kubernetes cluster nodes. Label rules:
182
+ * The labels that you want to add to the nodes. The following rules apply:
182
183
  *
183
- * - Labels are case-sensitive key-value pairs. You can set up to 20 labels.
184
+ * - A label is a case-sensitive key-value pair. You can add up to 20 labels.
184
185
  *
185
- * - Tag keys must be unique and up to 64 characters long. Tag values can be empty and up to 128 characters long. Neither tag keys nor tag values can start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
186
+ * - The key must be unique and can be up to 64 characters in length. The value can be empty and can be up to 128 characters in length. The key and the value cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
186
187
  */
187
188
  labels?: Tag[];
188
189
  /**
189
190
  * @remarks
190
- * The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
191
+ * The custom node name parameter. A node name consists of three parts: a prefix, the node IP address, and a suffix.
191
192
  *
192
- * The prefix and suffix can each consist of one or more parts separated by periods (.). Each part can contain lowercase letters, numbers, and hyphens (-). The node name must start and end with a lowercase letter or a number. The node IP is the complete private IP address of the node.
193
+ * The prefix and suffix can contain one or more parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or a digit. The node IP address is the complete private IP address of the node.
193
194
  *
194
- * The parameter is passed as four parts separated by commas. For example, if you pass the string "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name will be: aliyun.192.168.xxx.xxx.com.
195
+ * The parameter consists of four parts that are separated by commas. For example, if you pass the "customized,aliyun,ip,com" string (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is aliyun.192.168.xxx.xxx.com.
195
196
  *
196
197
  * @example
197
198
  * customized,aliyun,ip,com
@@ -199,7 +200,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
199
200
  nodeNameMode?: string;
200
201
  /**
201
202
  * @remarks
202
- * The instance pre-customization data. Before a node joins the cluster, it runs the specified pre-customization data script. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
203
+ * The pre-customized instance data. Before a node is added to the cluster, the specified pre-customized instance data script is run. For more information, see [User data](https://help.aliyun.com/document_detail/49121.html).
203
204
  *
204
205
  * @example
205
206
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -207,13 +208,13 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
207
208
  preUserData?: string;
208
209
  /**
209
210
  * @remarks
210
- * The container runtime name. ACK supports the following three container runtimes.
211
+ * The name of the container runtime. ACK supports the following three container runtimes.
211
212
  *
212
- * - containerd: Recommended. Supports all cluster versions.
213
+ * - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
213
214
  *
214
- * - Sandboxed-Container.runv: Sandboxed container. Provides higher isolation. Supports clusters of version 1.31 and earlier.
215
+ * - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 and earlier.
215
216
  *
216
- * - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
217
+ * - docker: This runtime is no longer maintained. It is supported by clusters of Kubernetes 1.22 and earlier.
217
218
  *
218
219
  * Default value: containerd.
219
220
  *
@@ -223,7 +224,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
223
224
  runtime?: string;
224
225
  /**
225
226
  * @remarks
226
- * The container runtime version.
227
+ * The version of the container runtime.
227
228
  *
228
229
  * @example
229
230
  * 1.6.38
@@ -231,16 +232,16 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
231
232
  runtimeVersion?: string;
232
233
  /**
233
234
  * @remarks
234
- * The node taint configuration.
235
+ * The node taint configurations.
235
236
  */
236
237
  taints?: Taint[];
237
238
  /**
238
239
  * @remarks
239
- * Whether scaled-out nodes are unschedulable.
240
+ * Specifies whether the scaled-out nodes are unschedulable.
240
241
  *
241
- * - true: Unschedulable.
242
+ * - true: The nodes are unschedulable.
242
243
  *
243
- * - false: Schedulable.
244
+ * - false: The nodes are schedulable.
244
245
  *
245
246
  * @example
246
247
  * false
@@ -248,7 +249,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
248
249
  unschedulable?: boolean;
249
250
  /**
250
251
  * @remarks
251
- * The instance user data. After a node joins the cluster, it runs the specified user data script. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
252
+ * The instance user data. After a node is added to the cluster, the specified user data script is run. For more information, see [User data](https://help.aliyun.com/document_detail/49121.html).
252
253
  *
253
254
  * @example
254
255
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -302,12 +303,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
302
303
  export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
303
304
  /**
304
305
  * @remarks
305
- * Require manual approval for node repair.
306
+ * Specifies whether manual approval is required for node repair.
306
307
  */
307
308
  approvalRequired?: boolean;
308
309
  /**
309
310
  * @remarks
310
- * The automatic node repair policy ID.
311
+ * The ID of the auto repair policy.
311
312
  *
312
313
  * @example
313
314
  * r-xxxxxxxxxx
@@ -315,13 +316,13 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
315
316
  autoRepairPolicyId?: string;
316
317
  /**
317
318
  * @remarks
318
- * Allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
319
+ * Specifies whether to allow node restart. This parameter takes effect only when auto_repair is set to `true`. Valid values:
319
320
  *
320
- * - `true`: Allow node restart.
321
+ * - `true`: allows node restart.
321
322
  *
322
- * - `false`: Disallow node restart.
323
+ * - `false`: disallows node restart.
323
324
  *
324
- * Default value: `true`.
325
+ * Default value: `true`
325
326
  *
326
327
  * @example
327
328
  * true
@@ -355,13 +356,13 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
355
356
  export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
356
357
  /**
357
358
  * @remarks
358
- * Enable automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
359
+ * Specifies whether to allow auto kubelet upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
359
360
  *
360
- * - `true`: Enable automatic kubelet upgrades.
361
+ * - `true`: allows auto kubelet upgrade.
361
362
  *
362
- * - `false`: Disable automatic kubelet upgrades.
363
+ * - `false`: disallows auto kubelet upgrade.
363
364
  *
364
- * Default value: `true`.
365
+ * Default value: `true`
365
366
  *
366
367
  * @example
367
368
  * true
@@ -369,11 +370,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
369
370
  autoUpgradeKubelet?: boolean;
370
371
  /**
371
372
  * @remarks
372
- * Enable automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
373
+ * Specifies whether to allow auto operating system upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
373
374
  *
374
- * - `true`: Enable automatic OS upgrades.
375
+ * - `true`: allows auto operating system upgrade.
375
376
  *
376
- * - `false`: Disable automatic OS upgrades.
377
+ * - `false`: disallows auto operating system upgrade.
377
378
  *
378
379
  * Default value: `false`.
379
380
  *
@@ -383,11 +384,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
383
384
  autoUpgradeOs?: boolean;
384
385
  /**
385
386
  * @remarks
386
- * Enable automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
387
+ * Specifies whether to allow auto runtime upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
387
388
  *
388
- * - `true`: Enable automatic runtime upgrades.
389
+ * - `true`: allows auto runtime upgrade.
389
390
  *
390
- * - `false`: Disable automatic runtime upgrades.
391
+ * - `false`: disallows auto runtime upgrade.
391
392
  *
392
393
  * Default value: `true`.
393
394
  *
@@ -423,7 +424,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
423
424
  export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
424
425
  /**
425
426
  * @remarks
426
- * Packages to exclude during vulnerability fixes.
427
+ * The packages that should be excluded during vulnerability fixing.
427
428
  *
428
429
  * Default value: `kernel`.
429
430
  *
@@ -433,13 +434,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
433
434
  excludePackages?: string;
434
435
  /**
435
436
  * @remarks
436
- * Allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
437
+ * Specifies whether to allow node restart. This parameter takes effect only when auto_vul_fix is set to `true`. Valid values:
437
438
  *
438
- * - `true`: Allow node restart.
439
+ * - `true`: allows node restart.
439
440
  *
440
- * - `false`: Disallow node restart.
441
+ * - `false`: disallows node restart.
441
442
  *
442
- * Default value: `true`.
443
+ * Default value: `true`
443
444
  *
444
445
  * @example
445
446
  * true
@@ -447,13 +448,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
447
448
  restartNode?: boolean;
448
449
  /**
449
450
  * @remarks
450
- * The severity levels of vulnerabilities that can be fixed automatically, separated by commas. Example: `asap,later`. Supported levels:
451
+ * The vulnerability levels that are allowed to be automatically fixed. The value is a comma-separated list. Example: `asap,later`. Supported vulnerability levels:
451
452
  *
452
- * - `asap`: High
453
+ * - `asap`: high
453
454
  *
454
- * - `later`: Medium
455
+ * - `later`: medium
455
456
  *
456
- * - `nntf`: Low
457
+ * - `nntf`: low
457
458
  *
458
459
  * Default value: `asap`.
459
460
  *
@@ -489,13 +490,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
489
490
  export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
490
491
  /**
491
492
  * @remarks
492
- * [Deprecated] Use the top-level `auto_upgrade` parameter instead.
493
+ * This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
493
494
  *
494
- * Enable automatic upgrades. Valid values:
495
+ * Specifies whether to enable auto upgrade:
495
496
  *
496
- * - true: Enable.
497
+ * - true: enables auto upgrade.
497
498
  *
498
- * - false: Disable.
499
+ * - false: disables auto upgrade.
499
500
  *
500
501
  * Default value: `true`.
501
502
  *
@@ -509,7 +510,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
509
510
  * @remarks
510
511
  * The maximum number of unavailable nodes.
511
512
  *
512
- * Valid values: [1, 1000].
513
+ * Valid values: [1, 1000]
513
514
  *
514
515
  * Default value: 1.
515
516
  *
@@ -519,11 +520,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
519
520
  maxUnavailable?: number;
520
521
  /**
521
522
  * @remarks
522
- * The number of additional nodes. Choose either surge or `surge_percentage`.
523
+ * The number of extra nodes. You can specify only one of surge and `surge_percentage`.
523
524
  *
524
- * Nodes become unavailable during upgrades. Create extra nodes to maintain cluster load.
525
+ * Nodes may become unavailable during an upgrade. You can create extra nodes to ensure service continuity.
525
526
  *
526
- * > Do not create more extra nodes than the current number of nodes.
527
+ * > The number of extra nodes must not exceed the current number of nodes.
527
528
  *
528
529
  * @example
529
530
  * 5
@@ -531,9 +532,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
531
532
  surge?: number;
532
533
  /**
533
534
  * @remarks
534
- * The percentage of additional nodes. Choose either surge or surge_percentage. The number of additional nodes equals `surge_percentage` × the number of nodes. For example, if `surge_percentage` is 50% and there are 6 nodes, then 3 additional nodes are created.
535
+ * The percentage of extra nodes. You can specify only one of surge and `surge_percentage`.
535
536
  *
536
- * The number of additional nodes = The percentage of additional nodes × The number of nodes in the node pool. For example, if the percentage of additional nodes is 50% and the number of nodes in the node pool is 6, the number of additional nodes is 3.
537
+ * 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.
537
538
  *
538
539
  * @example
539
540
  * 0
@@ -570,13 +571,13 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
570
571
  autoFaultDiagnosis?: boolean;
571
572
  /**
572
573
  * @remarks
573
- * Enable automatic node repair. This parameter takes effect only when `enable=true`.
574
+ * Specifies whether to enable auto node repair. This parameter takes effect only when enable is set to `true`.
574
575
  *
575
- * - `true`: Enable automatic repair.
576
+ * - `true`: Auto repair is enabled.
576
577
  *
577
- * - `false`: Disable automatic repair.
578
+ * - `false`: Auto repair is disabled.
578
579
  *
579
- * Default value: `true`.
580
+ * Default value: `true`
580
581
  *
581
582
  * @example
582
583
  * true
@@ -584,18 +585,18 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
584
585
  autoRepair?: boolean;
585
586
  /**
586
587
  * @remarks
587
- * The automatic node repair policy.
588
+ * The auto node repair policy.
588
589
  */
589
590
  autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
590
591
  /**
591
592
  * @remarks
592
- * Enable automatic node upgrades. This parameter takes effect only when `enable=true`. Valid values:
593
+ * Specifies whether to enable auto node upgrade. This parameter takes effect only when enable is set to `true`.
593
594
  *
594
- * - `true`: Enable automatic upgrades.
595
+ * - `true`: enables auto upgrade.
595
596
  *
596
- * - `false`: Disable automatic upgrades.
597
+ * - `false`: disables auto upgrade.
597
598
  *
598
- * Default value: `true`.
599
+ * Default value: `true`
599
600
  *
600
601
  * @example
601
602
  * true
@@ -603,16 +604,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
603
604
  autoUpgrade?: boolean;
604
605
  /**
605
606
  * @remarks
606
- * The automatic upgrade policy.
607
+ * The auto upgrade policy.
607
608
  */
608
609
  autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
609
610
  /**
610
611
  * @remarks
611
- * Enable automatic CVE vulnerability fixes. This parameter takes effect only when `enable=true`. Valid values:
612
+ * Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when enable is set to `true`.
612
613
  *
613
- * - `true`: Enable automatic CVE fixes.
614
+ * - `true`: allows automatic CVE fixing.
614
615
  *
615
- * - `false`: Disable automatic CVE fixes.
616
+ * - `false`: disallows automatic CVE fixing.
616
617
  *
617
618
  * Default value: `true`.
618
619
  *
@@ -622,16 +623,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
622
623
  autoVulFix?: boolean;
623
624
  /**
624
625
  * @remarks
625
- * The automatic CVE fix policy.
626
+ * The policy for automatically fixing CVE vulnerabilities.
626
627
  */
627
628
  autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
628
629
  /**
629
630
  * @remarks
630
- * Enable the managed node pool. Valid values:
631
+ * Specifies whether to enable the managed node pool. Valid values:
631
632
  *
632
- * - `true`: Enable the managed node pool.
633
+ * - `true`: Enables the managed node pool.
633
634
  *
634
- * - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
635
+ * - `false`: Disables the managed node pool. Other related configurations are ignored.
635
636
  *
636
637
  * Default value: `false`.
637
638
  *
@@ -641,9 +642,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
641
642
  enable?: boolean;
642
643
  /**
643
644
  * @remarks
644
- * [Deprecated] Use the top-level `auto_upgrade` parameter instead.
645
+ * This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
645
646
  *
646
- * The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
647
+ * The auto upgrade configurations. This parameter takes effect only when enable is set to `true`.
647
648
  *
648
649
  * @deprecated
649
650
  */
@@ -700,9 +701,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
700
701
  export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
701
702
  /**
702
703
  * @remarks
703
- * The node pool name.
704
+ * The name of the node pool.
704
705
  *
705
- * Name rules: Use only numbers, letters, or hyphens (-). The name must be 1 to 63 characters long and cannot start with a hyphen (-).
706
+ * The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
706
707
  *
707
708
  * @example
708
709
  * default-nodepool
@@ -710,9 +711,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
710
711
  name?: string;
711
712
  /**
712
713
  * @remarks
713
- * The resource group ID for the node pool. Nodes created from this node pool belong to this resource group.
714
+ * The ID of the resource group for the node pool. Instances created in the node pool belong to this resource group.
714
715
  *
715
- * A resource can belong to only one resource group. Map resource groups to projects, applications, or organizations based on your business needs.
716
+ * A resource can belong to only one resource group. You can use resource groups to categorize resources by project, application, or organization.
716
717
  *
717
718
  * @example
718
719
  * rg-acfmyvw3wjm****
@@ -744,7 +745,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
744
745
  export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
745
746
  /**
746
747
  * @remarks
747
- * The private node pool ID. This is required when `match_criteria` is set to `Target`.
748
+ * The ID of the private node pool. If `match_criteria` is set to `Target`, you must specify the ID of the private pool.
748
749
  *
749
750
  * @example
750
751
  * eap-bp67acfmxazb4****
@@ -752,13 +753,13 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
752
753
  id?: string;
753
754
  /**
754
755
  * @remarks
755
- * The private node pool type, which determines the capacity option for instance startup. Elastic assurance services or capacity reservation services generate private pool capacity for instance startup. Valid values:
756
+ * The type of the private node pool. This parameter specifies the private pool capacity option for instance startup. After an elastic assurance service or a capacity reservation service takes effect, it generates a private pool of capacity for instance startup. Valid values:
756
757
  *
757
- * - `Open`: Open mode. Automatically matches open-type private pool capacity. If no suitable private pool is found, public pool resources are used.
758
+ * - `Open`: Open mode. The system automatically matches the capacity of private pools in Open mode. If no matching private pool is found, the instance is started using public pool resources.
758
759
  *
759
- * - `Target`: Specified mode. Starts instances using the specified private pool capacity. If the capacity is unavailable, the instance startup fails.
760
+ * - `Target`: Specified mode. The instance is started using the capacity of a specified private pool. If the capacity of the specified private pool is unavailable, the instance fails to be started.
760
761
  *
761
- * - `None`: No mode. The instance startup does not use private pool capacity.
762
+ * - `None`: The instance is started without using the capacity of a private pool.
762
763
  *
763
764
  * @example
764
765
  * Open
@@ -790,12 +791,16 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
790
791
  export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
791
792
  /**
792
793
  * @remarks
793
- * The list of private pool IDs, which are the IDs of elastic assurance or capacity reservation services. You can only pass Target mode private pool IDs. The value of N can range from 1 to 20.
794
+ * A list of private pool IDs. The IDs of elastic assurance services or capacity reservation services. You can specify only the IDs of private pools in Target mode. You can specify 1 to 20 IDs.
794
795
  */
795
796
  privatePoolIds?: string[];
796
797
  /**
797
798
  * @remarks
798
- * 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: PrivatePoolFirst: Prioritizes private pools. If resouce_pool_options.private_pool_ids is specified, it uses the specified private pools first. If no private pool is specified or the specified capacity is insufficient, it automatically matches open-type private pools. If no suitable private pool is found, it uses the public pool. PrivatePoolOnly: Uses only private pools. You must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance startup fails. None: Does not use a resource pool policy. Default value: None.
799
+ * The resource pool policy that is used when you create an instance. Resource pools include private pools that are generated after elastic assurance services or capacity reservation services take effect, and public pools. You can select a resource pool when you start an instance. Valid values:
800
+ * PrivatePoolFirst: Private pool first. If you select this policy and specify resouce_pool_options.private_pool_ids, the specified private pool is used first. If you do not specify a private pool or the capacity of the specified private pool is insufficient, the system automatically matches a private pool in Open mode. If no matching private pool is found, a public pool is used to create the instance.
801
+ * PrivatePoolOnly: Private pool only. If you select this policy, you must specify resouce_pool_options.private_pool_ids. If the capacity of the specified private pool is insufficient, the instance fails to be started.
802
+ * None: No resource pool policy is used.
803
+ * Default value: None.
799
804
  *
800
805
  * @example
801
806
  * PrivatePoolFirst
@@ -830,7 +835,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
830
835
  export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
831
836
  /**
832
837
  * @remarks
833
- * The spot instance type.
838
+ * The instance type of the spot instance.
834
839
  *
835
840
  * @example
836
841
  * ecs.c6.large
@@ -838,7 +843,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
838
843
  instanceType?: string;
839
844
  /**
840
845
  * @remarks
841
- * The maximum hourly price for the instance.
846
+ * The maximum price of a single instance.
842
847
  *
843
848
  * <props="china">
844
849
  *
@@ -880,11 +885,11 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
880
885
  export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
881
886
  /**
882
887
  * @remarks
883
- * Enable automatic renewal for nodes. This parameter takes effect only when `instance_charge_type` is `PrePaid`. Valid values:
888
+ * Specifies whether to enable auto-renewal for the nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
884
889
  *
885
- * - `true`: Enable automatic renewal.
890
+ * - `true`: Auto-renewal is enabled.
886
891
  *
887
- * - `false`: Disable automatic renewal.
892
+ * - `false`: Auto-renewal is disabled.
888
893
  *
889
894
  * Default value: `false`.
890
895
  *
@@ -894,11 +899,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
894
899
  autoRenew?: boolean;
895
900
  /**
896
901
  * @remarks
897
- * The duration of each automatic renewal. Valid values:
902
+ * The auto-renewal period. Valid values:
898
903
  *
899
- * - When PeriodUnit=Week: 1, 2, 3.
904
+ * - If PeriodUnit=Week, valid values are 1, 2, and 3.
900
905
  *
901
- * - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
906
+ * - If PeriodUnit=Month, valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
902
907
  *
903
908
  * Default value: 1.
904
909
  *
@@ -908,11 +913,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
908
913
  autoRenewPeriod?: number;
909
914
  /**
910
915
  * @remarks
911
- * When `multi_az_policy` is set to `COST_OPTIMIZED`, this parameter specifies whether to automatically create on-demand instances to meet the required number of ECS instances if enough spot instances cannot be created due to price or inventory issues. Valid values:
916
+ * If `multi_az_policy` is set to `COST_OPTIMIZED`, this parameter specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to reasons such as price and stock. Valid values:
912
917
  *
913
- * - `true`: Allow automatic creation of on-demand instances.
918
+ * - `true`: allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
914
919
  *
915
- * - `false`: Disallow automatic creation of on-demand instances.
920
+ * - `false`: does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
916
921
  *
917
922
  * @example
918
923
  * true
@@ -920,12 +925,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
920
925
  compensateWithOnDemand?: boolean;
921
926
  /**
922
927
  * @remarks
923
- * The data disk configuration for nodes. Valid values: [0, 10]. You can attach up to 10 data disks.
928
+ * The data disk configurations of the node. You can specify 0 to 10 data disks.
924
929
  */
925
930
  dataDisks?: DataDisk[];
926
931
  /**
927
932
  * @remarks
928
- * The deployment set to which the ECS instances created in the node pool belong. This setting applies only to new nodes. The deployment set of existing nodes is not changed.
933
+ * The ID of the deployment set to which the ECS instances in the node pool belong. This parameter is valid only for incremental nodes. The deployment sets of existing nodes are not changed.
929
934
  *
930
935
  * @example
931
936
  * ds-bp1d19mmbsv3jf6xxxxx
@@ -933,11 +938,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
933
938
  deploymentsetId?: string;
934
939
  /**
935
940
  * @remarks
936
- * The desired number of nodes in the node pool.
941
+ * The expected number of nodes in the node pool.
937
942
  *
938
- * This is the total number of nodes the node pool should maintain. Configure at least 2 nodes to ensure cluster components run properly. Adjust this number to scale the node pool in or out.
943
+ * The total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure that the cluster components run as expected. You can adjust the expected number of nodes to scale in or scale out the node pool.
939
944
  *
940
- * If you do not need to create nodes, set this to 0 and adjust it manually later.
945
+ * If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
941
946
  *
942
947
  * @example
943
948
  * 2
@@ -950,7 +955,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
950
955
  diskInit?: DiskInit[];
951
956
  /**
952
957
  * @remarks
953
- * The custom image ID. Query supported images using `DescribeKubernetesVersionMetadata`. By default, the latest system image is used.
958
+ * The ID of the custom image. You can call `DescribeKubernetesVersionMetadata` to query the images that are supported by the system. By default, the latest image is used.
954
959
  *
955
960
  * @example
956
961
  * aliyun_3_x64_20G_alibase_20241218.vhd
@@ -958,27 +963,27 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
958
963
  imageId?: string;
959
964
  /**
960
965
  * @remarks
961
- * The operating system distribution type. We recommend using this field to specify the node OS. Valid values:
966
+ * The distribution of the operating system. We recommend that you use this parameter to specify the operating system of the nodes. Valid values:
962
967
  *
963
- * - `AliyunLinux`: Alibaba Cloud Linux 2 image.
968
+ * - `AliyunLinux`: Alinux2 image.
964
969
  *
965
- * - `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 UEFI image.
970
+ * - `AliyunLinuxSecurity`: Alinux2 image with UEFI.
966
971
  *
967
- * - `AliyunLinux3`: Alibaba Cloud Linux 3 image.
972
+ * - `AliyunLinux3`: Alinux3 image.
968
973
  *
969
- * - `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 ARM image.
974
+ * - `AliyunLinux3Arm64`: Alinux3 image for ARM.
970
975
  *
971
- * - `AliyunLinux3Security`: Alibaba Cloud Linux 3 UEFI image.
976
+ * - `AliyunLinux3Security`: Alinux3 image with UEFI.
972
977
  *
973
978
  * - `CentOS`: CentOS image.
974
979
  *
975
980
  * - `Windows`: Windows image.
976
981
  *
977
- * - `WindowsCore`: Windows Core image.
982
+ * - `WindowsCore`: WindowsCore image.
978
983
  *
979
- * - `ContainerOS`: Container-optimized image.
984
+ * - `ContainerOS`: container-optimized image.
980
985
  *
981
- * - `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 container-optimized image.
986
+ * - `AliyunLinux3ContainerOptimized`: container-optimized Alinux3 image.
982
987
  *
983
988
  * @example
984
989
  * AliyunLinux3
@@ -986,11 +991,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
986
991
  imageType?: string;
987
992
  /**
988
993
  * @remarks
989
- * The billing method for nodes in the node pool. Valid values:
994
+ * The billing method of the nodes in the node pool. Valid values:
990
995
  *
991
- * - `PrePaid`: Subscription.
996
+ * - `PrePaid`: subscription
992
997
  *
993
- * - `PostPaid`: Pay-as-you-go.
998
+ * - `PostPaid`: pay-as-you-go
994
999
  *
995
1000
  * Default value: `PostPaid`.
996
1001
  *
@@ -1000,23 +1005,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1000
1005
  instanceChargeType?: string;
1001
1006
  /**
1002
1007
  * @remarks
1003
- * The instance attribute configuration.
1008
+ * The instance attribute configurations.
1004
1009
  */
1005
1010
  instancePatterns?: InstancePatterns[];
1006
1011
  /**
1007
1012
  * @remarks
1008
- * The list of instance types for the nodes. You can specify multiple instance types as fallback options. When creating a node, the system tries each instance type in order until it succeeds. The final instance type may vary depending on inventory.
1013
+ * A list of node instance types. You can specify multiple instance types as alternatives. When a node is created, the system attempts to purchase the instance types in the order they are specified until one is successfully purchased. The final instance type that is purchased may vary depending on the stock.
1009
1014
  *
1010
- * Valid values: [1, 10].
1015
+ * You can specify 1 to 10 instance types.
1011
1016
  */
1012
1017
  instanceTypes?: string[];
1013
1018
  /**
1014
1019
  * @remarks
1015
- * The billing method for public IP addresses. Valid values:
1020
+ * The billing method of the public IP address. Valid values:
1016
1021
  *
1017
- * - `PayByBandwidth`: Pay by bandwidth.
1022
+ * - `PayByBandwidth`: pay-by-bandwidth.
1018
1023
  *
1019
- * - `PayByTraffic`: Pay by traffic.
1024
+ * - `PayByTraffic`: pay-by-traffic.
1020
1025
  *
1021
1026
  * @example
1022
1027
  * PayByBandwidth
@@ -1024,7 +1029,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1024
1029
  internetChargeType?: string;
1025
1030
  /**
1026
1031
  * @remarks
1027
- * The maximum outbound bandwidth for the public IP address of a node, measured in megabits per second (Mbps). The value must be an integer from 1 to 100.
1032
+ * The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: [1, 100].
1028
1033
  *
1029
1034
  * @example
1030
1035
  * 5
@@ -1032,7 +1037,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1032
1037
  internetMaxBandwidthOut?: number;
1033
1038
  /**
1034
1039
  * @remarks
1035
- * The key pair name. Specify either key_pair or `login_password`. For managed node pools, only `key_pair` is supported.
1040
+ * The name of the key pair. You must specify key_pair or `login_password`. For managed node pools, you can specify only `key_pair`.
1036
1041
  *
1037
1042
  * @example
1038
1043
  * pro-nodepool
@@ -1040,7 +1045,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1040
1045
  keyPair?: string;
1041
1046
  /**
1042
1047
  * @remarks
1043
- * The SSH login password. Specify either login_password or `key_pair`. Password rules: 8 to 30 characters, including at least three of the following: uppercase letters, lowercase letters, digits, and special characters.
1048
+ * The SSH logon password. You must specify key_pair or `login_password`. 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.
1044
1049
  *
1045
1050
  * @example
1046
1051
  * Hello1234
@@ -1050,13 +1055,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1050
1055
  * @remarks
1051
1056
  * The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
1052
1057
  *
1053
- * - `PRIORITY`: Scales instances based on the virtual switches (VSwitchIds.N) you define. If an ECS instance cannot be created in the zone of a higher-priority virtual switch, the system automatically uses the next-priority virtual switch.
1058
+ * - `PRIORITY`: The system scales ECS instances based on the vSwitch priority. The vSwitch priority is specified by the VSwitchIds.N parameter. If the system fails to create an ECS instance in the zone where the vSwitch with the highest priority resides, it attempts to create the ECS instance in the zone where the vSwitch with the next highest priority resides.
1054
1059
  *
1055
- * - `COST_OPTIMIZED`: Tries to create instances starting with the lowest vCPU unit price. If multiple instance types are configured with a spot instance billing method, it prioritizes creating spot instances. Use the `CompensateWithOnDemand` parameter to specify whether to automatically create on-demand instances if spot instances cannot be created due to inventory or other reasons.
1060
+ * - `COST_OPTIMIZED`: The system creates ECS instances of the instance type that has the lowest vCPU price. When the scaling configuration is set to create multiple instance types and the billing method is set to preemptible, the system preferentially creates preemptible instances. You can also use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when the system fails to create preemptible instances due to insufficient stock.
1056
1061
  *
1057
- * > `COST_OPTIMIZED` takes effect only when multiple instance types or spot instances are configured.
1062
+ * > The `COST_OPTIMIZED` policy is valid only when multiple instance types are specified or preemptible instances are selected in the scaling configuration.
1058
1063
  *
1059
- * - `BALANCE`: Evenly distributes ECS instances across the specified zones in the scaling group. If the distribution becomes unbalanced due to inventory shortages or other reasons, you can use the API `RebalanceInstances` to rebalance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
1064
+ * - `BALANCE`: The system evenly distributes ECS instances across the zones that are specified in the scaling group. If the distribution of ECS instances becomes unbalanced due to insufficient stock, you can call the `RebalanceInstances` operation to rebalance the distribution. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) .
1060
1065
  *
1061
1066
  * Default value: `PRIORITY`.
1062
1067
  *
@@ -1066,7 +1071,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1066
1071
  multiAzPolicy?: string;
1067
1072
  /**
1068
1073
  * @remarks
1069
- * The minimum number of on-demand instances required in the scaling group. Valid values: [0, 1000]. When the number of on-demand instances is below this value, the system prioritizes creating on-demand instances.
1074
+ * The minimum number of on-demand instances that must be contained in the scaling group. Valid values: [0, 1000]. When the number of on-demand instances is less than this value, on-demand instances are preferentially created.
1070
1075
  *
1071
1076
  * @example
1072
1077
  * 0
@@ -1074,7 +1079,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1074
1079
  onDemandBaseCapacity?: number;
1075
1080
  /**
1076
1081
  * @remarks
1077
- * The percentage of on-demand instances among the instances that exceed the minimum on-demand instance count (`on_demand_base_capacity`). Valid values: [0, 100].
1082
+ * The percentage of on-demand instances among the instances that exceed the minimum number of on-demand instances (`on_demand_base_capacity`). Valid values: [0, 100].
1078
1083
  *
1079
1084
  * @example
1080
1085
  * 20
@@ -1082,11 +1087,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1082
1087
  onDemandPercentageAboveBaseCapacity?: number;
1083
1088
  /**
1084
1089
  * @remarks
1085
- * The subscription duration for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is `PrePaid`, and is required in that case.
1090
+ * The subscription duration of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
1086
1091
  *
1087
- * - When `period_unit=Week`, valid values: {1, 2, 3, 4}.
1092
+ * - If `period_unit=Week`, valid values of `period` are {1, 2, 3, 4}.
1088
1093
  *
1089
- * - When `period_unit=Month`, valid values: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
1094
+ * - If `period_unit=Month`, valid values of `period` are {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
1090
1095
  *
1091
1096
  * @example
1092
1097
  * 1
@@ -1094,11 +1099,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1094
1099
  period?: number;
1095
1100
  /**
1096
1101
  * @remarks
1097
- * The billing cycle for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is `PrePaid`, and is required in that case.
1102
+ * The billing cycle of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
1098
1103
  *
1099
- * - `Month`: Billed monthly.
1104
+ * - `Month`: billed by month.
1100
1105
  *
1101
- * - `Week`: Billed weekly.
1106
+ * - `Week`: billed by week.
1102
1107
  *
1103
1108
  * Default value: `Month`.
1104
1109
  *
@@ -1108,9 +1113,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1108
1113
  periodUnit?: string;
1109
1114
  /**
1110
1115
  * @remarks
1111
- * [Deprecated] Use the `image_type` parameter instead.
1116
+ * This parameter is deprecated. Use the `image_type` parameter instead.
1112
1117
  *
1113
- * The operating system platform. Valid values:
1118
+ * The OS platform. Valid values:
1114
1119
  *
1115
1120
  * - `AliyunLinux`
1116
1121
  *
@@ -1128,26 +1133,28 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1128
1133
  platform?: string;
1129
1134
  /**
1130
1135
  * @remarks
1131
- * The private node pool configuration.
1136
+ * The private node pool configurations.
1132
1137
  */
1133
1138
  privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
1134
1139
  /**
1135
1140
  * @remarks
1136
- * The list of RDS instances.
1141
+ * A list of ApsaraDB RDS instances.
1137
1142
  */
1138
1143
  rdsInstances?: string[];
1139
1144
  /**
1140
1145
  * @remarks
1141
- * The resource pool and policy to use when creating instances. Note: This parameter is effective only when creating pay-as-you-go instances. It cannot be set at the same time as private_pool_options.match_criteria or private_pool_options.id.
1146
+ * The resource pool and resource pool policy that are used when you create an instance. If you specify this parameter, note the following points:
1147
+ * This parameter is valid only when you create pay-as-you-go instances.
1148
+ * This parameter cannot be specified at the same time as private_pool_options.match_criteria and private_pool_options.id.
1142
1149
  */
1143
1150
  resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
1144
1151
  /**
1145
1152
  * @remarks
1146
- * The scaling group mode. Valid values:
1153
+ * The scaling mode of the scaling group. Valid values:
1147
1154
  *
1148
- * - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
1155
+ * - `release`: standard mode. This mode creates and releases ECS instances to perform scaling.
1149
1156
  *
1150
- * - `recycle`: Fast mode. Scales by creating, stopping, and starting instances to improve scaling speed. You are not charged for compute resources when instances are stopped, only for storage fees (except for local disk models).
1157
+ * - `recycle`: fast mode. This mode creates, stops, and starts ECS instances to perform scaling. This improves scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instance types with local disks.
1151
1158
  *
1152
1159
  * @example
1153
1160
  * release
@@ -1155,12 +1162,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1155
1162
  scalingPolicy?: string;
1156
1163
  /**
1157
1164
  * @remarks
1158
- * The list of security group IDs.
1165
+ * A list of security group IDs.
1159
1166
  */
1160
1167
  securityGroupIds?: string[];
1161
1168
  /**
1162
1169
  * @remarks
1163
- * The number of available instance types. The scaling group creates spot instances in a balanced manner across the specified number of lowest-cost instance types. Valid values: [1, 10].
1170
+ * The number of available instance types. The scaling group creates spot instances of multiple instance types that are provided at the lowest cost. Valid values: [1, 10].
1164
1171
  *
1165
1172
  * @example
1166
1173
  * 5
@@ -1168,11 +1175,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1168
1175
  spotInstancePools?: number;
1169
1176
  /**
1170
1177
  * @remarks
1171
- * Enable spot instance replenishment. When enabled, the scaling group attempts to create a new instance to replace a spot instance that is about to be reclaimed. Valid values:
1178
+ * Specifies whether to enable the feature of supplementing spot instances. If this feature is enabled, the scaling group attempts to create a new instance to replace a spot instance that is reclaimed. Valid values:
1172
1179
  *
1173
- * - `true`: Enable spot instance replenishment.
1180
+ * - `true`: enables the feature of supplementing spot instances.
1174
1181
  *
1175
- * - `false`: Disable spot instance replenishment.
1182
+ * - `false`: disables the feature of supplementing spot instances.
1176
1183
  *
1177
1184
  * @example
1178
1185
  * false
@@ -1180,18 +1187,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1180
1187
  spotInstanceRemedy?: boolean;
1181
1188
  /**
1182
1189
  * @remarks
1183
- * The price range configuration for spot instances.
1190
+ * The price range for the spot instance.
1184
1191
  */
1185
1192
  spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
1186
1193
  /**
1187
1194
  * @remarks
1188
- * The spot instance type. Valid values:
1195
+ * The bidding policy for the spot instance. Valid values:
1189
1196
  *
1190
- * - `NoSpot`: On-demand instance.
1197
+ * - `NoSpot`: The instance is not a spot instance.
1191
1198
  *
1192
- * - `SpotWithPriceLimit`: Set a price limit for spot instances.
1199
+ * - `SpotWithPriceLimit`: The instance is a spot instance for which you can specify the maximum hourly price.
1193
1200
  *
1194
- * - `SpotAsPriceGo`: Let the system automatically bid at the current market price.
1201
+ * - `SpotAsPriceGo`: The system automatically bids for the instance. The bid is based on the market price.
1195
1202
  *
1196
1203
  * For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
1197
1204
  *
@@ -1201,13 +1208,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1201
1208
  spotStrategy?: string;
1202
1209
  /**
1203
1210
  * @remarks
1204
- * Enable bursting for the system disk. Valid values:
1211
+ * Specifies whether to enable the performance burst feature for the system disk. Valid values:
1205
1212
  *
1206
- * - true: Enable. During sudden spikes in read/write activity, the disk temporarily boosts performance until workloads return to normal.
1213
+ * - true: enables the performance burst feature. If your business fluctuates and is subject to unexpected data read and write pressure, the cloud disk temporarily improves its performance until your business returns to a stable state.
1207
1214
  *
1208
- * - false: Disable.
1215
+ * - false: disables the performance burst feature.
1209
1216
  *
1210
- * You can set this parameter only when `system_disk_category` is `cloud_auto`. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
1217
+ * This parameter is supported 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).
1211
1218
  *
1212
1219
  * @example
1213
1220
  * true
@@ -1215,18 +1222,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1215
1222
  systemDiskBurstingEnabled?: boolean;
1216
1223
  /**
1217
1224
  * @remarks
1218
- * The list of system disk types. If the highest-priority disk type is unavailable, the system tries the next priority disk type.
1225
+ * The multi-disk type of the system disk. If a disk of a higher priority disk type cannot be used, the system automatically tries the next priority disk type to create the system disk.
1219
1226
  */
1220
1227
  systemDiskCategories?: string[];
1221
1228
  /**
1222
1229
  * @remarks
1223
- * The system disk type for nodes. Valid values:
1230
+ * The type of the system disk. Valid values:
1224
1231
  *
1225
- * - `cloud_efficiency`: Ultra disk.
1232
+ * - `cloud_efficiency`: ultra disk.
1226
1233
  *
1227
- * - `cloud_ssd`: Standard SSD.
1234
+ * - `cloud_ssd`: standard SSD.
1228
1235
  *
1229
- * - `cloud_essd`: Enhanced SSD (ESSD).
1236
+ * - `cloud_essd`: ESSD.
1230
1237
  *
1231
1238
  * - `cloud_auto`: ESSD AutoPL disk.
1232
1239
  *
@@ -1240,7 +1247,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1240
1247
  systemDiskCategory?: string;
1241
1248
  /**
1242
1249
  * @remarks
1243
- * The encryption algorithm for the system disk. Valid value: aes-256.
1250
+ * The encryption algorithm that is used for the system disk. Valid value: aes-256.
1244
1251
  *
1245
1252
  * @example
1246
1253
  * aes-256
@@ -1248,11 +1255,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1248
1255
  systemDiskEncryptAlgorithm?: string;
1249
1256
  /**
1250
1257
  * @remarks
1251
- * Encrypt the system disk. Valid values:
1258
+ * Specifies whether to encrypt the system disk. Valid values:
1252
1259
  *
1253
- * - true: Encrypt.
1260
+ * - true: encrypts the system disk.
1254
1261
  *
1255
- * - false: Do not encrypt.
1262
+ * - false: does not encrypt the system disk.
1256
1263
  *
1257
1264
  * @example
1258
1265
  * false
@@ -1260,7 +1267,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1260
1267
  systemDiskEncrypted?: boolean;
1261
1268
  /**
1262
1269
  * @remarks
1263
- * The KMS key ID for the system disk.
1270
+ * The ID of the KMS key that is used to encrypt the system disk.
1264
1271
  *
1265
1272
  * @example
1266
1273
  * 0e478b7a-4262-4802-b8cb-00d3fb40****
@@ -1268,15 +1275,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1268
1275
  systemDiskKmsKeyId?: string;
1269
1276
  /**
1270
1277
  * @remarks
1271
- * The performance level of the system disk. This setting applies only to ESSD disks. Performance level depends on disk size. For more information, see [Enhanced SSD (ESSD)](https://help.aliyun.com/document_detail/122389.html).
1278
+ * The performance level of the system disk. This parameter is valid only for ESSD disks. The performance level of a disk is related to its size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
1272
1279
  *
1273
- * - PL0: Moderate I/O performance with stable read/write latency.
1280
+ * - PL0: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
1274
1281
  *
1275
- * - PL1: Moderate I/O performance with stable read/write latency.
1282
+ * - PL1: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
1276
1283
  *
1277
- * - PL2: High I/O performance with stable read/write latency.
1284
+ * - PL2: The maximum concurrent I/O performance is high and the read/write latency is stable.
1278
1285
  *
1279
- * - PL3: Extremely high I/O performance with extremely stable read/write latency.
1286
+ * - PL3: The maximum concurrent I/O performance is very high and the read/write latency is very stable.
1280
1287
  *
1281
1288
  * @example
1282
1289
  * PL1
@@ -1284,11 +1291,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1284
1291
  systemDiskPerformanceLevel?: string;
1285
1292
  /**
1286
1293
  * @remarks
1287
- * The provisioned IOPS for the system disk.
1294
+ * The pre-configured read/write IOPS of the system disk.
1288
1295
  *
1289
- * Possible values: 0 to min{50,000, 1000 × capacity baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
1296
+ * Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
1290
1297
  *
1291
- * You can set this parameter only when `system_disk_category` is `cloud_auto`. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
1298
+ * This parameter is supported 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).
1292
1299
  *
1293
1300
  * @example
1294
1301
  * 1000
@@ -1296,13 +1303,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1296
1303
  systemDiskProvisionedIops?: number;
1297
1304
  /**
1298
1305
  * @remarks
1299
- * The size of the system disk for nodes. Unit: GiB.
1306
+ * The size of the system disk. Unit: GiB.
1300
1307
  *
1301
1308
  * Valid values: [20, 2048].
1302
1309
  *
1303
- * This value must be greater than or equal to max{20, ImageSize}.
1310
+ * The value of this parameter must be greater than or equal to max{20, ImageSize}.
1304
1311
  *
1305
- * Default value: max{40, image size corresponding to ImageId}.
1312
+ * Default value: max{40, The size of the image that corresponds to the ImageId parameter}.
1306
1313
  *
1307
1314
  * @example
1308
1315
  * 120
@@ -1318,16 +1325,16 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1318
1325
  systemDiskSnapshotPolicyId?: string;
1319
1326
  /**
1320
1327
  * @remarks
1321
- * Add tags to ECS instances only.
1328
+ * The tags that you want to add only to ECS instances.
1322
1329
  *
1323
- * Tag keys must be unique and up to 128 characters long. Neither tag keys nor tag values can start with "aliyun", "acs:", or contain "https\\://" or "http\\://".
1330
+ * Tag keys cannot be repeated. A tag key can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:" and cannot contain "https\\://" or "http\\://".
1324
1331
  */
1325
1332
  tags?: Tag[];
1326
1333
  /**
1327
1334
  * @remarks
1328
- * The list of virtual switch IDs. Valid values: [1, 8].
1335
+ * A list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
1329
1336
  *
1330
- * > To ensure high availability, select virtual switches from different zones.
1337
+ * > For high availability, select vSwitches in different zones.
1331
1338
  */
1332
1339
  vswitchIds?: string[];
1333
1340
  static names(): { [key: string]: string } {
@@ -1474,11 +1481,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1474
1481
  export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
1475
1482
  /**
1476
1483
  * @remarks
1477
- * Enable the Kubernetes cluster for confidential computing. Valid values:
1484
+ * Specifies whether to enable the confidential computing cluster. Valid values:
1478
1485
  *
1479
- * - `true`: Enable.
1486
+ * - `true`: enables the cluster.
1480
1487
  *
1481
- * - `false`: Disable.
1488
+ * - `false`: disables the cluster.
1482
1489
  *
1483
1490
  * Default value: `false`.
1484
1491
  *
@@ -1510,12 +1517,12 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
1510
1517
  export class ModifyClusterNodePoolRequest extends $dara.Model {
1511
1518
  /**
1512
1519
  * @remarks
1513
- * The auto scaling configuration.
1520
+ * The auto scaling configurations.
1514
1521
  */
1515
1522
  autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
1516
1523
  /**
1517
1524
  * @remarks
1518
- * Whether to run concurrently.
1525
+ * Specifies whether to run the task in parallel.
1519
1526
  *
1520
1527
  * @example
1521
1528
  * true
@@ -1523,32 +1530,32 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
1523
1530
  concurrency?: boolean;
1524
1531
  /**
1525
1532
  * @remarks
1526
- * The cluster-related configuration.
1533
+ * The Kubernetes-related configurations.
1527
1534
  */
1528
1535
  kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
1529
1536
  /**
1530
1537
  * @remarks
1531
- * The managed node pool configuration.
1538
+ * The configurations of the managed node pool.
1532
1539
  */
1533
1540
  management?: ModifyClusterNodePoolRequestManagement;
1534
1541
  /**
1535
1542
  * @remarks
1536
- * The node pool configuration.
1543
+ * The node pool configurations.
1537
1544
  */
1538
1545
  nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
1539
1546
  /**
1540
1547
  * @remarks
1541
- * Node pool scaling group configuration.
1548
+ * The configurations of the node pool scaling group.
1542
1549
  */
1543
1550
  scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
1544
1551
  /**
1545
1552
  * @remarks
1546
- * The configuration of the Kubernetes cluster for confidential computing.
1553
+ * The configurations of the Kubernetes cluster for confidential computing.
1547
1554
  */
1548
1555
  teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
1549
1556
  /**
1550
1557
  * @remarks
1551
- * Synchronously update node labels and taints.
1558
+ * Synchronously updates node labels and taints.
1552
1559
  *
1553
1560
  * @example
1554
1561
  * true