@alicloud/cs20151215 7.0.2 → 7.0.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.
Files changed (45) hide show
  1. package/dist/client.d.ts +50 -28
  2. package/dist/client.js +53 -28
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
  5. package/dist/models/CreateClusterNodePoolRequest.js +31 -1
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +372 -345
  8. package/dist/models/CreateClusterRequest.js +27 -1
  9. package/dist/models/CreateClusterRequest.js.map +1 -1
  10. package/dist/models/CreateClusterResponseBody.d.ts +3 -3
  11. package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
  12. package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
  13. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  14. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +119 -91
  15. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
  16. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  17. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
  18. package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
  19. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  20. package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
  21. package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
  22. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  23. package/dist/models/ModifyClusterRequest.d.ts +151 -112
  24. package/dist/models/ModifyClusterRequest.js +29 -1
  25. package/dist/models/ModifyClusterRequest.js.map +1 -1
  26. package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
  27. package/dist/models/Nodepool.d.ts +266 -220
  28. package/dist/models/Nodepool.js +31 -1
  29. package/dist/models/Nodepool.js.map +1 -1
  30. package/dist/models/model.d.ts +7 -0
  31. package/dist/models/model.js +80 -66
  32. package/dist/models/model.js.map +1 -1
  33. package/package.json +2 -2
  34. package/src/client.ts +54 -28
  35. package/src/models/CreateClusterNodePoolRequest.ts +155 -83
  36. package/src/models/CreateClusterRequest.ts +389 -345
  37. package/src/models/CreateClusterResponseBody.ts +3 -3
  38. package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
  39. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +140 -91
  40. package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
  41. package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
  42. package/src/models/ModifyClusterRequest.ts +170 -112
  43. package/src/models/ModifyClusterResponseBody.ts +3 -3
  44. package/src/models/Nodepool.ts +287 -220
  45. package/src/models/model.ts +7 -0
@@ -8,7 +8,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
8
8
  /**
9
9
  * @remarks
10
10
  * [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
11
- * The peak EIP bandwidth.
11
+ * The peak bandwidth of the EIP.
12
12
  *
13
13
  * Valid values: [1,100]. Unit: Mbit/s.
14
14
  *
@@ -25,7 +25,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
25
25
  * The EIP billing type. Valid values:
26
26
  *
27
27
  * - `PayByBandwidth`: pay-by-bandwidth.
28
- * - `PayByTraffic`: pay-by-data-transfer.
28
+ * - `PayByTraffic`: pay-by-traffic.
29
29
  *
30
30
  * Default value: `PayByBandwidth`.
31
31
  *
@@ -39,11 +39,11 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
39
39
  * @remarks
40
40
  * Specifies whether to enable auto scaling. Valid values:
41
41
  *
42
- * - `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 nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant elasticity by default. Clusters of versions earlier than 1.24 use auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
42
+ * - `true`: enables the auto scaling feature for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant elasticity by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
43
43
  *
44
- * - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
44
+ * - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
45
45
  *
46
- * When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
46
+ * When the value is false, other configuration parameters in `auto_scaling` do not take effect.
47
47
  *
48
48
  * Default value: `false`.
49
49
  *
@@ -55,8 +55,8 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
55
55
  * @remarks
56
56
  * [This field is deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
57
57
  *
58
- * - `true`: Associates an EIP.
59
- * - `false`: Does not associate an EIP.
58
+ * - `true`: associates an EIP.
59
+ * - `false`: does not associate an EIP.
60
60
  *
61
61
  * Default value: `false`.
62
62
  *
@@ -68,7 +68,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
68
68
  isBondEip?: boolean;
69
69
  /**
70
70
  * @remarks
71
- * The maximum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
71
+ * The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
72
72
  *
73
73
  * Valid values: [min_instances, 2000]. Default value: 0.
74
74
  *
@@ -78,12 +78,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
78
78
  maxInstances?: number;
79
79
  /**
80
80
  * @remarks
81
- * The minimum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
81
+ * The minimum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
82
82
  *
83
83
  * Valid values: [0, max_instances]. Default value: 0.
84
84
  *
85
85
  * > - If the minimum number of instances is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
86
- * > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the elastic scaling feature takes effect.
86
+ * > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be scaled in after the elastic scaling feature takes effect.
87
87
  *
88
88
  * @example
89
89
  * 2
@@ -118,6 +118,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
118
118
  });
119
119
  }
120
120
  export declare class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
121
+ /**
122
+ * @remarks
123
+ * Specifies whether to enable automatic addition for the Lingjun node pool. (Not effective)
124
+ */
121
125
  autoAttachEnabled?: string;
122
126
  static names(): {
123
127
  [key: string]: string;
@@ -133,10 +137,10 @@ export declare class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
133
137
  export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
134
138
  /**
135
139
  * @remarks
136
- * Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
140
+ * Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
137
141
  *
138
- * - `true`: installs the CloudMonitor agent on ECS nodes.
139
- * - `false`: does not install the CloudMonitor agent on ECS nodes.
142
+ * - `true`: Installs the CloudMonitor agent on ECS nodes.
143
+ * - `false`: Does not install the CloudMonitor agent on ECS nodes.
140
144
  *
141
145
  * Default value: `false`.
142
146
  *
@@ -146,9 +150,9 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
146
150
  cmsEnabled?: boolean;
147
151
  /**
148
152
  * @remarks
149
- * The CPU management policy for nodes. The following two policies are supported for cluster versions 1.12.6 and later:
153
+ * The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
150
154
  *
151
- * - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
155
+ * - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
152
156
  * - `none`: enables the existing default CPU affinity scheme.
153
157
  *
154
158
  * Default value: `none`.
@@ -162,7 +166,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
162
166
  * The node labels. Adds labels to Kubernetes cluster nodes. Label definition rules:
163
167
  *
164
168
  * - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
165
- * - Label keys cannot be duplicated and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. Neither label keys nor label 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).
169
+ * - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and can be up to 128 characters. Neither label keys nor label 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).
166
170
  */
167
171
  labels?: Tag[];
168
172
  /**
@@ -171,7 +175,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
171
175
  *
172
176
  * Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit. The node IP is the full private IP address of the node.
173
177
  *
174
- * The parameter contains four parts separated by commas. For example, if you pass in 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 is: aliyun.192.168.xxx.xxx.com.
178
+ * The parameter contains four parts separated by commas. For example, if you pass in "customized,aliyun,ip,com" (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.
175
179
  *
176
180
  * @example
177
181
  * customized,aliyun,ip,com
@@ -179,7 +183,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
179
183
  nodeNameMode?: string;
180
184
  /**
181
185
  * @remarks
182
- * The pre-user data for the instance. Before the node joins the cluster, the specified pre-user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
186
+ * The instance pre-user data. Before the node joins the cluster, the specified pre-user data script is executed. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
183
187
  *
184
188
  * @example
185
189
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -189,9 +193,9 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
189
193
  * @remarks
190
194
  * The container runtime name. ACK supports the following three container runtimes:
191
195
  *
192
- * - containerd: recommended. Supported by all cluster versions.
193
- * - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supported by cluster versions 1.31 and earlier.
194
- * - docker: no longer maintained. Supported by cluster versions 1.22 and earlier.
196
+ * - containerd: recommended. Supports all cluster versions.
197
+ * - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
198
+ * - docker: no longer maintained. Supports cluster versions 1.22 and earlier.
195
199
  *
196
200
  * Default value: containerd.
197
201
  *
@@ -214,11 +218,11 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
214
218
  taints?: Taint[];
215
219
  /**
216
220
  * @remarks
217
- * Specifies whether the nodes added during scale-out are unschedulable.
221
+ * Specifies whether the nodes added after scale-out are unschedulable.
218
222
  *
219
- * - true: unschedulable.
223
+ * - true: Unschedulable.
220
224
  *
221
- * - false: schedulable.
225
+ * - false: Schedulable.
222
226
  *
223
227
  * @example
224
228
  * false
@@ -226,7 +230,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
226
230
  unschedulable?: boolean;
227
231
  /**
228
232
  * @remarks
229
- * The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
233
+ * The instance user data. After the node joins the cluster, the specified user data script is executed. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
230
234
  *
231
235
  * @example
232
236
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -257,12 +261,22 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
257
261
  * r-xxxxxxxxxx
258
262
  */
259
263
  autoRepairPolicyId?: string;
264
+ /**
265
+ * @example
266
+ * 5
267
+ */
268
+ maxParallelRepairingNodes?: string;
269
+ /**
270
+ * @example
271
+ * 20%
272
+ */
273
+ maxUnhealthyNodesThreshold?: string;
260
274
  /**
261
275
  * @remarks
262
276
  * Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
263
277
  *
264
- * - `true`: Allows node restart.
265
- * - `false`: Does not allow node restart.
278
+ * - `true`: allows node restart.
279
+ * - `false`: does not allow node restart.
266
280
  *
267
281
  * Default value: `true`.
268
282
  *
@@ -285,8 +299,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
285
299
  /**
286
300
  * @remarks
287
301
  * Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
288
- * - `true`: Allows automatic kubelet upgrade.
289
- * - `false`: Does not allow automatic kubelet upgrade.
302
+ * - `true`: allows automatic kubelet upgrade.
303
+ * - `false`: does not allow automatic kubelet upgrade.
290
304
  *
291
305
  * Default value: `true`.
292
306
  *
@@ -297,8 +311,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
297
311
  /**
298
312
  * @remarks
299
313
  * Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
300
- * - `true`: Allows automatic operating system upgrade.
301
- * - `false`: Does not allow automatic operating system upgrade.
314
+ * - `true`: allows automatic OS upgrade.
315
+ * - `false`: does not allow automatic OS upgrade.
302
316
  *
303
317
  * Default value: `false`.
304
318
  *
@@ -309,8 +323,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
309
323
  /**
310
324
  * @remarks
311
325
  * Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
312
- * - `true`: Allows automatic runtime upgrade.
313
- * - `false`: Does not allow automatic runtime upgrade.
326
+ * - `true`: allows automatic runtime upgrade.
327
+ * - `false`: does not allow automatic runtime upgrade.
314
328
  *
315
329
  * Default value: `true`.
316
330
  *
@@ -343,8 +357,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
343
357
  /**
344
358
  * @remarks
345
359
  * Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
346
- * - `true`: Allows node restart.
347
- * - `false`: Does not allow node restart.
360
+ * - `true`: allows node restart.
361
+ * - `false`: does not allow node restart.
348
362
  *
349
363
  * Default value: `true`.
350
364
  *
@@ -384,8 +398,8 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
384
398
  *
385
399
  * Specifies whether to enable auto upgrade:
386
400
  *
387
- * - true: Enabled.
388
- * - false: Disabled.
401
+ * - true: enables auto upgrade.
402
+ * - false: disables auto upgrade.
389
403
  *
390
404
  * Default value: `true`.
391
405
  *
@@ -411,7 +425,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
411
425
  * @remarks
412
426
  * The number of extra nodes. This parameter is mutually exclusive with `surge_percentage`.
413
427
  *
414
- * Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
428
+ * During an upgrade, nodes become unavailable. You can create extra nodes to compensate for the cluster workload.
415
429
  *
416
430
  * > The number of extra nodes should not exceed the current number of nodes.
417
431
  *
@@ -441,14 +455,18 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
441
455
  });
442
456
  }
443
457
  export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model {
458
+ /**
459
+ * @remarks
460
+ * Specifies whether to enable ECS fault detection for node self-healing.
461
+ */
444
462
  autoFaultDiagnosis?: boolean;
445
463
  /**
446
464
  * @remarks
447
465
  * Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
448
466
  *
449
- * - `true`: Enables auto repair.
467
+ * - `true`: enables auto repair.
450
468
  *
451
- * - `false`: Disables auto repair.
469
+ * - `false`: disables auto repair.
452
470
  *
453
471
  * Default value: `true`.
454
472
  *
@@ -464,8 +482,8 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
464
482
  /**
465
483
  * @remarks
466
484
  * Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
467
- * - `true`: Enables auto upgrade.
468
- * - `false`: Disables auto upgrade.
485
+ * - `true`: enables auto upgrade.
486
+ * - `false`: disables auto upgrade.
469
487
  *
470
488
  * Default value: `true`.
471
489
  *
@@ -482,8 +500,8 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
482
500
  * @remarks
483
501
  * Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
484
502
  *
485
- * - `true`: Allows automatic CVE fixing.
486
- * - `false`: Does not allow automatic CVE fixing.
503
+ * - `true`: allows automatic CVE fixing.
504
+ * - `false`: does not allow automatic CVE fixing.
487
505
  *
488
506
  * Default value: `true`.
489
507
  *
@@ -496,12 +514,13 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
496
514
  * The auto CVE fix policy.
497
515
  */
498
516
  autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
517
+ driftEnabled?: boolean;
499
518
  /**
500
519
  * @remarks
501
520
  * Specifies whether to enable the managed node pool. Valid values:
502
521
  *
503
- * - `true`: Enables the managed node pool.
504
- * - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
522
+ * - `true`: enables the managed node pool.
523
+ * - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
505
524
  *
506
525
  * Default value: `false`.
507
526
  *
@@ -572,10 +591,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
572
591
  id?: string;
573
592
  /**
574
593
  * @remarks
575
- * The private node pool type. Specifies the private pool capacity option for launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launching. Valid values:
576
- * - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
577
- * - `Target`: specified mode. The instance is launched using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to launch.
578
- * - `None`: not used. The instance does not use private pool capacity.
594
+ * The private node pool type and private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
595
+ * - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
596
+ * - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, the instance fails to launch.
597
+ * - `None`: None mode. The instance launch does not use private pool capacity.
579
598
  *
580
599
  * @example
581
600
  * Open
@@ -595,15 +614,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
595
614
  export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
596
615
  /**
597
616
  * @remarks
598
- * The list of private pool IDs, which are the IDs of elasticity assurance or capacity reservation services. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
617
+ * The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
599
618
  */
600
619
  privatePoolIds?: string[];
601
620
  /**
602
621
  * @remarks
603
- * The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launching. Valid values:
604
- * PrivatePoolFirst: private pool first. When this policy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open private pool capacity is automatically matched. If no matching private pool is available, public pool resources are used.
605
- * PrivatePoolOnly: private pool only. When this policy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
606
- * None: no resource pool policy is used.
622
+ * The resource pool strategy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launch. Valid values:
623
+ * PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used.
624
+ * PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
625
+ * None: no resource pool strategy is used.
607
626
  * Default value: None.
608
627
  *
609
628
  * @example
@@ -660,8 +679,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
660
679
  * @remarks
661
680
  * Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
662
681
  *
663
- * - `true`: Enables auto-renewal.
664
- * - `false`: Disables auto-renewal.
682
+ * - `true`: enables auto-renewal.
683
+ * - `false`: disables auto-renewal.
665
684
  *
666
685
  * Default value: `false`.
667
686
  *
@@ -671,7 +690,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
671
690
  autoRenew?: boolean;
672
691
  /**
673
692
  * @remarks
674
- * The auto-renewal period for a single renewal cycle. Valid values:
693
+ * The auto-renewal period for a single renewal. Valid values:
675
694
  * - When PeriodUnit=Week: 1, 2, 3.
676
695
  * - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
677
696
  *
@@ -683,10 +702,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
683
702
  autoRenewPeriod?: number;
684
703
  /**
685
704
  * @remarks
686
- * When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances if spot instances cannot be created due to price or inventory reasons to meet the required number of ECS instances. Valid values:
705
+ * When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances if spot instances cannot be created due to cost or inventory reasons. Valid values:
687
706
  *
688
- * - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
689
- * - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
707
+ * - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
708
+ * - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
690
709
  *
691
710
  * @example
692
711
  * true
@@ -694,12 +713,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
694
713
  compensateWithOnDemand?: boolean;
695
714
  /**
696
715
  * @remarks
697
- * The node data cloud disk configuration. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
716
+ * The data cloud disk configuration for nodes. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
698
717
  */
699
718
  dataDisks?: DataDisk[];
700
719
  /**
701
720
  * @remarks
702
- * The deployment set ID for ECS instances scaled out by the node pool. This setting takes effect only on incremental nodes. The deployment set of existing nodes is not changed.
721
+ * The deployment set ID for ECS instances created by the node pool. This setting applies only to new nodes and does not change the deployment set of existing nodes.
703
722
  *
704
723
  * @example
705
724
  * ds-bp1d19mmbsv3jf6xxxxx
@@ -709,9 +728,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
709
728
  * @remarks
710
729
  * The desired number of nodes in the node pool.
711
730
  *
712
- * The total number of nodes that the node pool should maintain. Configure at least 2 nodes to ensure that cluster components run properly. You can adjust the desired node count to scale the node pool in or out.
731
+ * The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
713
732
  *
714
- * If you do not need to create nodes, set this parameter to 0 and manually adjust the node count later.
733
+ * If you do not need to create nodes, set this parameter to 0 and manually adjust it later to add nodes.
715
734
  *
716
735
  * @example
717
736
  * 2
@@ -732,7 +751,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
732
751
  imageId?: string;
733
752
  /**
734
753
  * @remarks
735
- * The operating system distribution type. Use this field to specify the node operating system. Valid values:
754
+ * The operating system distribution type. We recommend that you use this field to specify the node operating system. Valid values:
736
755
  *
737
756
  * - `AliyunLinux`: Alinux2 image.
738
757
  * - `AliyunLinuxSecurity`: Alinux2 UEFI image.
@@ -779,7 +798,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
779
798
  * The billing type for public IP addresses. Valid values:
780
799
  *
781
800
  * - `PayByBandwidth`: pay-by-bandwidth.
782
- * - `PayByTraffic`: pay-by-data-transfer.
801
+ * - `PayByTraffic`: pay-by-traffic.
783
802
  *
784
803
  * @example
785
804
  * PayByBandwidth
@@ -787,7 +806,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
787
806
  internetChargeType?: string;
788
807
  /**
789
808
  * @remarks
790
- * The maximum outbound bandwidth for node public IP addresses, in Mbit/s. Valid values: [1,100\\].
809
+ * The maximum outbound bandwidth for node public IP addresses. Unit: Mbit/s. Valid values: [1,100\\].
791
810
  *
792
811
  * @example
793
812
  * 5
@@ -813,13 +832,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
813
832
  * @remarks
814
833
  * The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
815
834
  *
816
- * - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch.
835
+ * - `PRIORITY`: scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
817
836
  *
818
- * - `COST_OPTIMIZED`: Attempts to create instances in order of lowest vCPU unit price. When the scaling configuration specifies multiple instance types with spot billing method, spot instances are created first. 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 insufficient inventory.
837
+ * - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
819
838
  *
820
839
  * > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
821
840
  *
822
- * - `BALANCE`: Distributes ECS instances evenly across the zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
841
+ * - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
823
842
  *
824
843
  * Default value: `PRIORITY`.
825
844
  *
@@ -837,7 +856,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
837
856
  onDemandBaseCapacity?: number;
838
857
  /**
839
858
  * @remarks
840
- * The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go instance count (`on_demand_base_capacity`). Valid values: [0,100\\].
859
+ * The percentage of pay-as-you-go instances among instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
841
860
  *
842
861
  * @example
843
862
  * 20
@@ -856,10 +875,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
856
875
  period?: number;
857
876
  /**
858
877
  * @remarks
859
- * The billing period of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
878
+ * 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`.
860
879
  *
861
- * - `Month`: billed on a monthly basis.
862
- * - `Week`: billed on a weekly basis.
880
+ * - `Month`: the billing cycle is month.
881
+ * - `Week`: the billing cycle is week.
863
882
  *
864
883
  * Default value: `Month`.
865
884
  *
@@ -896,7 +915,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
896
915
  rdsInstances?: string[];
897
916
  /**
898
917
  * @remarks
899
- * The resource pools and resource pool policy used when creating instances. Note the following when you set this parameter:
918
+ * The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter:
900
919
  * This parameter takes effect only when creating pay-as-you-go instances.
901
920
  * This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
902
921
  */
@@ -906,7 +925,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
906
925
  * The scaling group mode. Valid values:
907
926
  *
908
927
  * - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
909
- * - `recycle`: swift mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. (Compute resources are not charged during the stopped state. Only storage fees are charged, except for local disk instance types.)
928
+ * - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations (compute resources are not charged during the stopped state, only storage fees are charged, except for local disk instance types).
910
929
  *
911
930
  * @example
912
931
  * release
@@ -919,7 +938,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
919
938
  securityGroupIds?: string[];
920
939
  /**
921
940
  * @remarks
922
- * The number of available instance types. The scaling group creates spot instances across the lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
941
+ * The number of available instance types. The scaling group creates spot instances of multiple types that are the most cost-effective. Valid values: [1,10\\].
923
942
  *
924
943
  * @example
925
944
  * 5
@@ -927,7 +946,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
927
946
  spotInstancePools?: number;
928
947
  /**
929
948
  * @remarks
930
- * Specifies whether to enable spot instance supplementation. When enabled,
949
+ * Specifies whether to enable spot instance supplementation. If enabled, when the system sends a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
950
+ *
951
+ * - `true`: Enables spot instance supplementation.
952
+ * - `false`: Disables spot instance supplementation.
931
953
  *
932
954
  * @example
933
955
  * false
@@ -935,7 +957,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
935
957
  spotInstanceRemedy?: boolean;
936
958
  /**
937
959
  * @remarks
938
- * The spot instance price limit configuration.
960
+ * The price limit configuration for spot instances.
939
961
  */
940
962
  spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
941
963
  /**
@@ -943,8 +965,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
943
965
  * The spot instance type. Valid values:
944
966
  *
945
967
  * - `NoSpot`: non-spot instance.
946
- * - `SpotWithPriceLimit`: spot instance with a price limit.
947
- * - `SpotAsPriceGo`: system automatically bids at the current market price.
968
+ * - `SpotWithPriceLimit`: sets a maximum price for spot instances.
969
+ * - `SpotAsPriceGo`: the system automatically bids at the current market price.
948
970
  *
949
971
  * For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
950
972
  *
@@ -955,8 +977,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
955
977
  /**
956
978
  * @remarks
957
979
  * Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
958
- * - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure from fluctuating workloads until the workload stabilizes.
959
- * - false: Disabled.
980
+ * - true: enables burst. When enabled, the cloud disk temporarily improves performance during sudden data read/write pressure from fluctuating workloads until the workload returns to a steady state.
981
+ * - false: disables burst.
960
982
  *
961
983
  * 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).
962
984
  *
@@ -966,12 +988,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
966
988
  systemDiskBurstingEnabled?: boolean;
967
989
  /**
968
990
  * @remarks
969
- * The multiple system cloud disk types. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
991
+ * Multiple system cloud disk types. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
970
992
  */
971
993
  systemDiskCategories?: string[];
972
994
  /**
973
995
  * @remarks
974
- * The node system cloud disk type. Valid values:
996
+ * The type of the node system cloud disk. Valid values:
975
997
  * - `cloud_efficiency`: ultra cloud disk.
976
998
  * - `cloud_ssd`: standard SSD.
977
999
  * - `cloud_essd`: ESSD.
@@ -996,9 +1018,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
996
1018
  * @remarks
997
1019
  * Specifies whether to encrypt the system cloud disk. Valid values:
998
1020
  *
999
- * - true: Encrypted.
1021
+ * - true: encrypts the system cloud disk.
1000
1022
  *
1001
- * - false: Not encrypted.
1023
+ * - false: does not encrypt the system cloud disk.
1002
1024
  *
1003
1025
  * @example
1004
1026
  * false
@@ -1026,9 +1048,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
1026
1048
  systemDiskPerformanceLevel?: string;
1027
1049
  /**
1028
1050
  * @remarks
1029
- * The provisioned read/write IOPS for the node system cloud disk.
1051
+ * The provisioned read/write IOPS of the node system cloud disk.
1030
1052
  *
1031
- * Valid values: 0~min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
1053
+ * Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
1032
1054
  *
1033
1055
  * 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).
1034
1056
  *
@@ -1038,7 +1060,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
1038
1060
  systemDiskProvisionedIops?: number;
1039
1061
  /**
1040
1062
  * @remarks
1041
- * The node system cloud disk size, in GiB.
1063
+ * The size of the node system cloud disk. Unit: GiB.
1042
1064
  *
1043
1065
  * Valid values: [20,2048\\].
1044
1066
  *
@@ -1060,7 +1082,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
1060
1082
  systemDiskSnapshotPolicyId?: string;
1061
1083
  /**
1062
1084
  * @remarks
1063
- * Tags added to ECS instances only.
1085
+ * Tags added only to ECS instances.
1064
1086
  *
1065
1087
  * Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
1066
1088
  */
@@ -1086,10 +1108,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
1086
1108
  export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
1087
1109
  /**
1088
1110
  * @remarks
1089
- * Specifies whether to enable the confidential computing cluster. Valid values:
1111
+ * Specifies whether to enable confidential computing for the cluster. Valid values:
1090
1112
  *
1091
- * - `true`: enabled.
1092
- * - `false`: disabled.
1113
+ * - `true`: Enabled.
1114
+ * - `false`: Disabled.
1093
1115
  *
1094
1116
  * Default value: `false`.
1095
1117
  *
@@ -1122,6 +1144,10 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
1122
1144
  * true
1123
1145
  */
1124
1146
  concurrency?: boolean;
1147
+ /**
1148
+ * @remarks
1149
+ * The Lingjun node pool configuration. (Not effective)
1150
+ */
1125
1151
  efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
1126
1152
  /**
1127
1153
  * @remarks