@alicloud/cs20151215 7.1.1 → 7.1.3

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 (44) hide show
  1. package/dist/client.d.ts +4 -4
  2. package/dist/client.js +4 -4
  3. package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
  4. package/dist/models/CreateClusterNodePoolRequest.js +27 -1
  5. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  6. package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
  7. package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
  8. package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
  9. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
  10. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
  11. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  12. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
  13. package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
  14. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  15. package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
  16. package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
  17. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  18. package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
  19. package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
  20. package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
  21. package/dist/models/Nodepool.d.ts +221 -70
  22. package/dist/models/Nodepool.js +27 -1
  23. package/dist/models/Nodepool.js.map +1 -1
  24. package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
  25. package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
  26. package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
  27. package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
  28. package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
  29. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  30. package/dist/models/model.d.ts +9 -0
  31. package/dist/models/model.js +110 -92
  32. package/dist/models/model.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/client.ts +4 -4
  35. package/src/models/CreateClusterNodePoolRequest.ts +379 -76
  36. package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
  37. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
  38. package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
  39. package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
  40. package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
  41. package/src/models/Nodepool.ts +238 -70
  42. package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
  43. package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
  44. package/src/models/model.ts +9 -0
@@ -11,6 +11,8 @@ export declare class NodepoolAutoScaling extends $dara.Model {
11
11
  * @remarks
12
12
  * **[Deprecated]**
13
13
  *
14
+ * The peak bandwidth of the EIP. Unit: Mbit/s.
15
+ *
14
16
  * @example
15
17
  * 5
16
18
  *
@@ -21,6 +23,13 @@ export declare class NodepoolAutoScaling extends $dara.Model {
21
23
  * @remarks
22
24
  * **[Deprecated]**
23
25
  *
26
+ * The billing method of the EIP. Valid values:
27
+ *
28
+ * - `PayByBandwidth`: pay-by-bandwidth.
29
+ * - `PayByTraffic`: pay-by-traffic.
30
+ *
31
+ * Default value: PayByBandwidth.
32
+ *
24
33
  * @example
25
34
  * PayByBandwidth
26
35
  *
@@ -29,10 +38,10 @@ export declare class NodepoolAutoScaling extends $dara.Model {
29
38
  eipInternetChargeType?: string;
30
39
  /**
31
40
  * @remarks
32
- * Specifies whether to enable automatic scaling.
41
+ * Specifies whether to enable auto scaling.
33
42
  *
34
- * - `true`: Enables the automatic scaling feature for the node pool.
35
- * - `false`: Disables automatic scaling. If this parameter is set to `false`, other configuration parameters in `auto_scaling` do not take effect.
43
+ * - `true`: Enables the auto scaling feature for the node pool.
44
+ * - `false`: Disables auto scaling. When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
36
45
  *
37
46
  * Default value: `false`.
38
47
  *
@@ -46,7 +55,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
46
55
  * @remarks
47
56
  * **[Deprecated]**
48
57
  *
49
- * Specifies whether to associate an Elastic IP Address (EIP). Valid values:
58
+ * Specifies whether to associate an EIP. Valid values:
50
59
  *
51
60
  * - `true`: Associates an EIP.
52
61
  * - `false`: Does not associate an EIP.
@@ -81,7 +90,14 @@ export declare class NodepoolAutoScaling extends $dara.Model {
81
90
  minInstances?: number;
82
91
  /**
83
92
  * @remarks
84
- * The auto scaling type, classified by auto scaling instance type. Valid values:
93
+ * The auto scaling type, classified by instance type. Valid values:
94
+ *
95
+ * - `cpu`: regular instance type.
96
+ * - `gpu`: GPU instance type.
97
+ * - `gpushare`: GPU sharing type.
98
+ * - `spot`: spot instance type.
99
+ *
100
+ * Default value: `cpu`.
85
101
  *
86
102
  * @example
87
103
  * cpu
@@ -103,6 +119,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
103
119
  * @remarks
104
120
  * **[Deprecated]**
105
121
  *
122
+ * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
123
+ *
106
124
  * @example
107
125
  * 10
108
126
  *
@@ -113,6 +131,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
113
131
  * @remarks
114
132
  * **[Deprecated]**
115
133
  *
134
+ * The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
135
+ *
116
136
  * @example
117
137
  * ccn-qm5i0i0q9yi*******
118
138
  *
@@ -123,6 +143,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
123
143
  * @remarks
124
144
  * **[Deprecated]**
125
145
  *
146
+ * The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
147
+ *
126
148
  * @example
127
149
  * cn-shanghai
128
150
  *
@@ -133,6 +155,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
133
155
  * @remarks
134
156
  * **[Deprecated]**
135
157
  *
158
+ * The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
159
+ *
136
160
  * @example
137
161
  * cen-ey9k9nfhz0f*******
138
162
  *
@@ -143,6 +167,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
143
167
  * @remarks
144
168
  * **[Deprecated]**
145
169
  *
170
+ * The purchase duration of the enhanced edge node pool. Unit: months.
171
+ *
146
172
  * @example
147
173
  * 1
148
174
  *
@@ -163,7 +189,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
163
189
  export declare class NodepoolKubernetesConfig extends $dara.Model {
164
190
  /**
165
191
  * @remarks
166
- * 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:
192
+ * 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:
167
193
  *
168
194
  * - `true`: Installs the CloudMonitor agent on ECS nodes.
169
195
  * - `false`: Does not install the CloudMonitor agent on ECS nodes.
@@ -176,7 +202,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
176
202
  cmsEnabled?: boolean;
177
203
  /**
178
204
  * @remarks
179
- * The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
205
+ * The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
206
+ *
207
+ * - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
208
+ * - `none`: Enables the existing default CPU affinity scheme.
209
+ *
210
+ * Default value: `none`.
180
211
  *
181
212
  * @example
182
213
  * none
@@ -191,6 +222,11 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
191
222
  * @remarks
192
223
  * The node name consists of three parts: prefix + node IP + suffix:
193
224
  *
225
+ * - 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.
226
+ * - The node IP is the complete private IP address of the node.
227
+ *
228
+ * 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.
229
+ *
194
230
  * @example
195
231
  * customized,aliyun,ip,com
196
232
  */
@@ -198,9 +234,9 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
198
234
  /**
199
235
  * @remarks
200
236
  * The container runtime. Valid values:
201
- * - `containerd`: Recommended. Supported by all cluster versions.
202
- * - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation. Supported by clusters of version 1.24 and earlier.
203
- * - `docker`: Supported by clusters of version 1.22 and earlier.
237
+ * - `containerd`: Recommended. Supports all cluster versions.
238
+ * - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation. Supports clusters of version 1.24 or earlier.
239
+ * - `docker`: Supports clusters of version 1.22 or earlier.
204
240
  *
205
241
  * Default value: `containerd`
206
242
  *
@@ -247,7 +283,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
247
283
  export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
248
284
  /**
249
285
  * @remarks
250
- * The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this specifies the maximum number or percentage of nodes that can be repaired simultaneously. Supports a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
286
+ * The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. Supports a quantity (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default parallel repair count: 1.
251
287
  *
252
288
  * @example
253
289
  * 5
@@ -255,7 +291,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
255
291
  maxParallelRepairingNodes?: string;
256
292
  /**
257
293
  * @remarks
258
- * The self-healing circuit breaker threshold. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. Supports a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
294
+ * The self-healing circuit breaker threshold. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. Supports a quantity (such as 10, valid values: 1 to 100000) or a percentage (such as 20%, valid values: 1% to 100%). Default circuit breaker threshold: 100%.
259
295
  *
260
296
  * @example
261
297
  * 20%
@@ -283,7 +319,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
283
319
  export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
284
320
  /**
285
321
  * @remarks
286
- * Specifies whether to allow auto upgrade of kubelet.
322
+ * Specifies whether to allow automatic kubelet upgrade.
287
323
  *
288
324
  * @example
289
325
  * true
@@ -311,7 +347,7 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
311
347
  restartNode?: boolean;
312
348
  /**
313
349
  * @remarks
314
- * The vulnerability levels allowed for auto fix, separated by commas.
350
+ * The vulnerability levels allowed for automatic fix, separated by commas.
315
351
  *
316
352
  * @example
317
353
  * asap,nntf
@@ -333,6 +369,9 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
333
369
  * @remarks
334
370
  * Specifies whether to enable auto upgrade. Valid values:
335
371
  *
372
+ * - `true`: enables auto upgrade.
373
+ * - `false`: does not enable auto upgrade.
374
+ *
336
375
  * @example
337
376
  * false
338
377
  */
@@ -341,6 +380,8 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
341
380
  * @remarks
342
381
  * The maximum number of unavailable nodes. Valid values: [1,1000\\].
343
382
  *
383
+ * Default value: 1.
384
+ *
344
385
  * @example
345
386
  * 0
346
387
  */
@@ -355,7 +396,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
355
396
  surge?: number;
356
397
  /**
357
398
  * @remarks
358
- * The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
399
+ * The extra node percentage. This parameter is mutually exclusive with `surge`.
359
400
  *
360
401
  * @example
361
402
  * 0
@@ -375,13 +416,16 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
375
416
  export declare class NodepoolManagement extends $dara.Model {
376
417
  /**
377
418
  * @remarks
378
- * Specifies whether to enable self-healing ECS fault detection for nodes.
419
+ * Specifies whether to enable node self-healing ECS fault detection.
379
420
  */
380
421
  autoFaultDiagnosis?: boolean;
381
422
  /**
382
423
  * @remarks
383
424
  * Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
384
425
  *
426
+ * - `true`: enables auto repair.
427
+ * - `false`: does not enable auto repair.
428
+ *
385
429
  * @example
386
430
  * false
387
431
  */
@@ -426,6 +470,9 @@ export declare class NodepoolManagement extends $dara.Model {
426
470
  * @remarks
427
471
  * Specifies whether to enable the managed node pool. Valid values:
428
472
  *
473
+ * - `true`: enables the managed node pool.
474
+ * - `false`: does not enable the managed node pool. Other related configurations take effect only when `enable=true`.
475
+ *
429
476
  * @example
430
477
  * false
431
478
  */
@@ -448,10 +495,38 @@ export declare class NodepoolManagement extends $dara.Model {
448
495
  [key: string]: any;
449
496
  });
450
497
  }
498
+ export declare class NodepoolNodeComponentsConfigEnvs extends $dara.Model {
499
+ /**
500
+ * @remarks
501
+ * The environment variable name.
502
+ *
503
+ * @example
504
+ * LOG_LEVEL
505
+ */
506
+ name?: string;
507
+ /**
508
+ * @remarks
509
+ * The environment variable value.
510
+ *
511
+ * @example
512
+ * info
513
+ */
514
+ value?: string;
515
+ static names(): {
516
+ [key: string]: string;
517
+ };
518
+ static types(): {
519
+ [key: string]: any;
520
+ };
521
+ validate(): void;
522
+ constructor(map?: {
523
+ [key: string]: any;
524
+ });
525
+ }
451
526
  export declare class NodepoolNodeComponentsConfig extends $dara.Model {
452
527
  /**
453
528
  * @remarks
454
- * The custom configuration of the node component.
529
+ * The node component custom configuration.
455
530
  *
456
531
  * @example
457
532
  * {"cpuManagerPolicy":"static"}
@@ -459,6 +534,11 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
459
534
  customConfig?: {
460
535
  [key: string]: any;
461
536
  };
537
+ /**
538
+ * @remarks
539
+ * The node component environment variables.
540
+ */
541
+ envs?: NodepoolNodeComponentsConfigEnvs[];
462
542
  static names(): {
463
543
  [key: string]: string;
464
544
  };
@@ -486,7 +566,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
486
566
  name?: string;
487
567
  /**
488
568
  * @remarks
489
- * The version of the node component.
569
+ * The node component version.
490
570
  *
491
571
  * @example
492
572
  * 1.33.3-aliyun.1
@@ -506,7 +586,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
506
586
  export declare class NodepoolNodeConfig extends $dara.Model {
507
587
  /**
508
588
  * @remarks
509
- * The kubelet parameter settings.
589
+ * The Kubelet parameter settings.
510
590
  */
511
591
  kubeletConfiguration?: KubeletConfig;
512
592
  static names(): {
@@ -543,6 +623,9 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
543
623
  * @remarks
544
624
  * The node pool type. Valid values:
545
625
  *
626
+ * - `ess`: node pool.
627
+ * - `edge`: edge node pool.
628
+ *
546
629
  * @example
547
630
  * ess
548
631
  */
@@ -562,6 +645,8 @@ export declare class NodepoolScalingGroupCpuOptions extends $dara.Model {
562
645
  /**
563
646
  * @remarks
564
647
  * Specifies whether to enable nested virtualization. Valid values:
648
+ * disabled: disables nested virtualization.
649
+ * enabled: enables nested virtualization.
565
650
  *
566
651
  * @example
567
652
  * enabled
@@ -589,13 +674,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
589
674
  id?: string;
590
675
  /**
591
676
  * @remarks
592
- * The type of the private node pool. The private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool capacity is generated for instances to select during startup. Valid values:
677
+ * The private node pool type. This specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance startup. Valid values:
593
678
  *
594
- * - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to start the instance.
679
+ * - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for instance startup.
595
680
  *
596
- * - `Target`: targeted mode. The instance is started using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to start.
681
+ * - `Target`: targeted mode. Uses the specified private pool capacity for instance startup. If the specified private pool capacity is unavailable, the instance fails to start.
597
682
  *
598
- * - `None`: none mode. The instance does not use private pool capacity during startup.
683
+ * - `None`: do not use mode. Instance startup does not use private pool capacity.
599
684
  *
600
685
  * @example
601
686
  * Open
@@ -620,11 +705,10 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
620
705
  privatePoolIds?: string[];
621
706
  /**
622
707
  * @remarks
623
- * The resource pool strategy used when instances are created. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, as well as public pools, for instances to select from during startup. Valid values:
624
- *
625
- * PrivatePoolFirst: private pool first. When this strategy is selected, if resource_pool_options.private_pool_ids is specified, the specified private pools are used preferentially. If no private pools are specified or the specified private pools have insufficient capacity, open-type private pools are automatically matched. If no eligible private pools are available, instances are created from the public pool.
626
- * PrivatePoolOnly: private pool only. When this strategy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pools have insufficient capacity, instance startup fails.
627
- * None: no resource pool strategy is used.
708
+ * The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, as well as public pools, for instance startup. Valid values:
709
+ * PrivatePoolFirst: private pool first. When this policy is selected and resource_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 to create instances.
710
+ * PrivatePoolOnly: private pool only. When this policy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, the instance fails to start.
711
+ * None: do not use resource pool policy.
628
712
  * Default value: None.
629
713
  *
630
714
  * @example
@@ -703,13 +787,22 @@ export declare class NodepoolScalingGroup extends $dara.Model {
703
787
  * @remarks
704
788
  * Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
705
789
  *
790
+ * - `true`: Enables auto-renewal.
791
+ * - `false`: Disables auto-renewal.
792
+ *
793
+ * Default value: `true`.
794
+ *
706
795
  * @example
707
796
  * false
708
797
  */
709
798
  autoRenew?: boolean;
710
799
  /**
711
800
  * @remarks
712
- * The auto-renewal period for the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`, and is required in that case.
801
+ * The auto-renewal period of the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
802
+ *
803
+ * When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
804
+ *
805
+ * Default value: 1.
713
806
  *
714
807
  * @example
715
808
  * 0
@@ -717,10 +810,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
717
810
  autoRenewPeriod?: number;
718
811
  /**
719
812
  * @remarks
720
- * Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
813
+ * When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to price or inventory reasons. Valid values:
721
814
  *
722
- * - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
723
- * - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
815
+ * - `true`: Allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
816
+ * - `false`: Do not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
724
817
  *
725
818
  * @example
726
819
  * true
@@ -733,7 +826,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
733
826
  cpuOptions?: NodepoolScalingGroupCpuOptions;
734
827
  /**
735
828
  * @remarks
736
- * The data cloud disk configuration for node pool nodes.
829
+ * The data cloud disk configuration for nodes in the node pool.
737
830
  */
738
831
  dataDisks?: DataDisk[];
739
832
  /**
@@ -767,7 +860,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
767
860
  imageId?: string;
768
861
  /**
769
862
  * @remarks
770
- * The operating system image type. You can specify either this parameter or the platform parameter. Valid values:
863
+ * The operating system image type. Specify either this parameter or the platform parameter. Valid values:
771
864
  *
772
865
  * - `AliyunLinux`: Alinux2 image.
773
866
  * - `AliyunLinux3`: Alinux3 image.
@@ -784,7 +877,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
784
877
  imageType?: string;
785
878
  /**
786
879
  * @remarks
787
- * The billing method for node pool nodes. Valid values:
880
+ * The billing method for nodes in the node pool. Valid values:
881
+ *
882
+ * - `PrePaid`: subscription.
883
+ * - `PostPaid`: pay-as-you-go.
884
+ *
885
+ * Default value: `PostPaid`.
788
886
  *
789
887
  * This parameter is required.
790
888
  *
@@ -794,7 +892,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
794
892
  instanceChargeType?: string;
795
893
  /**
796
894
  * @remarks
797
- * The ECS instance metadata access configuration.
895
+ * The metadata access configuration for ECS instances.
896
+ * This parameter is currently available only to accounts on the whitelist. Submit a ticket to request access.
798
897
  */
799
898
  instanceMetadataOptions?: InstanceMetadataOptions;
800
899
  /**
@@ -813,13 +912,16 @@ export declare class NodepoolScalingGroup extends $dara.Model {
813
912
  * @remarks
814
913
  * The billing type for public IP addresses. Valid values:
815
914
  *
915
+ * - `PayByBandwidth`: billed by fixed bandwidth.
916
+ * - `PayByTraffic`: billed by traffic usage.
917
+ *
816
918
  * @example
817
919
  * PayByBandwidth
818
920
  */
819
921
  internetChargeType?: string;
820
922
  /**
821
923
  * @remarks
822
- * The maximum outbound bandwidth for node public IP addresses. Unit: Mbps (Mega bit per second). Valid values: [1,100].
924
+ * The maximum outbound bandwidth for node public IP. Unit: Mbps (Mega bit per second). Valid values: [1,100].
823
925
  *
824
926
  * @example
825
927
  * 10
@@ -827,7 +929,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
827
929
  internetMaxBandwidthOut?: number;
828
930
  /**
829
931
  * @remarks
830
- * The key pair name. Choose either this or `login_password`.
932
+ * The key pair name. Specify either this parameter or `login_password`.
933
+ *
934
+ * > If you create a managed node pool, only `key_pair` is supported.
831
935
  *
832
936
  * @example
833
937
  * np-key
@@ -835,12 +939,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
835
939
  keyPair?: string;
836
940
  /**
837
941
  * @remarks
838
- * Specifies whether scaled-out ECS instances use non-root user logon.
942
+ * Specifies whether the scaled-out ECS instance uses a non-root user for logon.
839
943
  */
840
944
  loginAsNonRoot?: boolean;
841
945
  /**
842
946
  * @remarks
843
- * The SSH logon password. Choose either this or `key_pair`. 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.
947
+ * The SSH logon password. Specify either this parameter or `key_pair`. 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.
844
948
  *
845
949
  * @example
846
950
  * Hello1234
@@ -850,13 +954,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
850
954
  * @remarks
851
955
  * The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
852
956
  *
853
- * - `PRIORITY`: Scales ECS instances based on the virtual switches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the highest-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
957
+ * - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. 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.
854
958
  *
855
- * - `COST_OPTIMIZED`: Attempts to create ECS instances in ascending order of vCPU unit price. When the scaling configuration specifies multiple instance types with the spot billing method, 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.
959
+ * - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration settings include multiple instance types with spot billing, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether the system is allowed to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
856
960
  *
857
- * >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
961
+ * >`COST_OPTIMIZED` takes effect only when the scaling configuration settings include multiple instance types or use spot instances.
858
962
  *
859
- * - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the RebalanceInstances operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
963
+ * - `BALANCE`: Allocates ECS instances evenly 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).
860
964
  *
861
965
  * Default value: `PRIORITY`.
862
966
  *
@@ -866,7 +970,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
866
970
  multiAzPolicy?: string;
867
971
  /**
868
972
  * @remarks
869
- * The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000]. If the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
973
+ * The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
870
974
  *
871
975
  * @example
872
976
  * 0
@@ -882,7 +986,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
882
986
  onDemandPercentageAboveBaseCapacity?: number;
883
987
  /**
884
988
  * @remarks
885
- * The subscription duration for node pool nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`, and is required in that case. Valid values: when `period_unit` is set to Month, valid values for `period` are: {1, 2, 3, 6, 12}.
989
+ * The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values: when `period_unit` is set to Month, valid values for `period`: {1, 2, 3, 6, 12}.
990
+ *
991
+ * Default value: 1.
886
992
  *
887
993
  * @example
888
994
  * 0
@@ -890,7 +996,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
890
996
  period?: number;
891
997
  /**
892
998
  * @remarks
893
- * The billing period unit for node pool nodes. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
999
+ * The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
1000
+ *
1001
+ * `Month`: Currently, only month is supported as the unit.
894
1002
  *
895
1003
  * @example
896
1004
  * Month
@@ -900,6 +1008,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
900
1008
  * @remarks
901
1009
  * The operating system distribution. Valid values:
902
1010
  *
1011
+ * - `CentOS`
1012
+ * - `AliyunLinux`
1013
+ * - `Windows`
1014
+ * - `WindowsCore`
1015
+ *
1016
+ * Default value: `AliyunLinux`.
1017
+ *
903
1018
  * @example
904
1019
  * AliyunLinux
905
1020
  *
@@ -913,8 +1028,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
913
1028
  privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
914
1029
  /**
915
1030
  * @remarks
916
- * The RAM role name for worker nodes.
917
- * >Notice: This parameter is supported only when you create a node pool for ACK managed clusters of version 1.22 or later.
1031
+ * The Worker RAM role name.
1032
+ * >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
918
1033
  *
919
1034
  * @example
920
1035
  * example-role
@@ -927,15 +1042,17 @@ export declare class NodepoolScalingGroup extends $dara.Model {
927
1042
  rdsInstances?: string[];
928
1043
  /**
929
1044
  * @remarks
930
- * The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
1045
+ * The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
1046
+ * This parameter takes effect only when creating pay-as-you-go instances.
1047
+ * This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
931
1048
  */
932
1049
  resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
933
1050
  /**
934
1051
  * @remarks
935
- * The scaling mode of the scaling group. Valid values:
1052
+ * The scaling group pattern. Valid values:
936
1053
  *
937
- * - `release`: standard mode. The scaling group scales in or out by creating or releasing ECS instances based on resource usage.
938
- * - `recycle`: swift mode. The scaling group scales in or out by creating, stopping, or starting ECS instances, which improves the speed of subsequent scaling operations. Stopped instances are not charged for compute resources but are still charged for storage resources, except for instances that use local disks.
1054
+ * - `release`: standard pattern. Scales in or out by creating or releasing ECS instances based on resource usage.
1055
+ * - `recycle`: swift pattern. Scales in or out by creating, stopping, or starting ECS instances to improve the speed of subsequent scaling operations. Stopped instances do not incur compute resource charges, but storage charges still apply, except for instances with local disks.
939
1056
  *
940
1057
  * Default value: `release`.
941
1058
  *
@@ -945,7 +1062,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
945
1062
  scalingPolicy?: string;
946
1063
  /**
947
1064
  * @remarks
948
- * The security group ID of the node pool. Use either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
1065
+ * The security group ID of the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
949
1066
  *
950
1067
  * @example
951
1068
  * sg-2zeihch86ooz9io4****
@@ -953,12 +1070,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
953
1070
  securityGroupId?: string;
954
1071
  /**
955
1072
  * @remarks
956
- * The list of security group IDs. Use either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
1073
+ * The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
957
1074
  */
958
1075
  securityGroupIds?: string[];
959
1076
  /**
960
1077
  * @remarks
961
- * The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost in a balanced manner. Valid values: [1,10].
1078
+ * The number of available instance types. The scaling group creates spot instances across multiple types with the lowest cost. Valid values: [1,10].
962
1079
  *
963
1080
  * @example
964
1081
  * 5
@@ -966,7 +1083,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
966
1083
  spotInstancePools?: number;
967
1084
  /**
968
1085
  * @remarks
969
- * Specifies whether to enable supplementing spot instances. If enabled, when the system receives 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:
1086
+ * Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
1087
+ *
1088
+ * - `true`: Enable supplementing spot instances.
1089
+ * - `false`: Disable supplementing spot instances.
970
1090
  *
971
1091
  * @example
972
1092
  * false
@@ -974,15 +1094,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
974
1094
  spotInstanceRemedy?: boolean;
975
1095
  /**
976
1096
  * @remarks
977
- * The price limit configurations for a single spot instance of the current instance type.
1097
+ * The price range configurations for a single spot instance of the current instance type.
978
1098
  */
979
1099
  spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
980
1100
  /**
981
1101
  * @remarks
982
- * The type of the spot instance. Valid values:
1102
+ * The type of spot instance. Valid values:
983
1103
  * - NoSpot: non-spot instance.
984
- * - SpotWithPriceLimit: sets a maximum price for the spot instance.
985
- * - SpotAsPriceGo: the system automatically bids at the current market price.
1104
+ * - SpotWithPriceLimit: spot instance with a price limit.
1105
+ * - SpotAsPriceGo: system automatically bids at the current market price.
986
1106
  *
987
1107
  * For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
988
1108
  *
@@ -992,7 +1112,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
992
1112
  spotStrategy?: string;
993
1113
  /**
994
1114
  * @remarks
995
- * Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
1115
+ * Specifies whether to enable burst (performance bursting) for the node system cloud disk. Valid values:
1116
+ *
1117
+ * - true: Enable.
1118
+ * - false: Disable.
1119
+ *
1120
+ * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
996
1121
  *
997
1122
  * @example
998
1123
  * true
@@ -1000,13 +1125,26 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1000
1125
  systemDiskBurstingEnabled?: boolean;
1001
1126
  /**
1002
1127
  * @remarks
1003
- * The multiple cloud disk types for the system cloud disk. If the highest-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk. Valid values:
1128
+ * Multiple disk types for the system cloud disk. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk. Valid values:
1129
+ *
1130
+ * - cloud: basic cloud disk.
1131
+ * - cloud_efficiency: ultra cloud disk.
1132
+ * - cloud_ssd: standard SSD.
1133
+ * - cloud_essd: ESSD.
1004
1134
  */
1005
1135
  systemDiskCategories?: string[];
1006
1136
  /**
1007
1137
  * @remarks
1008
1138
  * The type of the node system cloud disk. Valid values:
1009
1139
  *
1140
+ * - `cloud_efficiency`: ultra cloud disk.
1141
+ * - `cloud_ssd`: standard SSD.
1142
+ * - `cloud_essd`: ESSD.
1143
+ * - `cloud_auto`: ESSD AutoPL.
1144
+ * - `cloud_essd_entry`: ESSD Entry disk.
1145
+ *
1146
+ * Default value: `cloud_efficiency`.
1147
+ *
1010
1148
  * @example
1011
1149
  * cloud_efficiency
1012
1150
  */
@@ -1021,7 +1159,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1021
1159
  systemDiskEncryptAlgorithm?: string;
1022
1160
  /**
1023
1161
  * @remarks
1024
- * Specifies whether to encrypt the system cloud disk. Valid values: true: Encrypt. false: Do not encrypt.
1162
+ * Specifies whether to encrypt the system cloud disk. Valid values: true: encrypt. false: do not encrypt.
1025
1163
  */
1026
1164
  systemDiskEncrypted?: boolean;
1027
1165
  /**
@@ -1034,7 +1172,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1034
1172
  systemDiskKmsKeyId?: string;
1035
1173
  /**
1036
1174
  * @remarks
1037
- * The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs.
1175
+ * The performance level of the node system cloud disk. This parameter takes effect only for ESSD disks.
1038
1176
  *
1039
1177
  * - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1040
1178
  * - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
@@ -1047,7 +1185,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1047
1185
  systemDiskPerformanceLevel?: string;
1048
1186
  /**
1049
1187
  * @remarks
1050
- * The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000×capacity-baseline performance}. Baseline performance=min{1,800+50×capacity, 50000}.
1188
+ * The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
1189
+ *
1190
+ * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
1051
1191
  *
1052
1192
  * @example
1053
1193
  * 1000
@@ -1057,6 +1197,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1057
1197
  * @remarks
1058
1198
  * The size of the node system cloud disk. Unit: GiB.
1059
1199
  *
1200
+ * Valid values: [40,500].
1201
+ *
1060
1202
  * @example
1061
1203
  * 120
1062
1204
  */
@@ -1064,6 +1206,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1064
1206
  /**
1065
1207
  * @remarks
1066
1208
  * Tags added only to ECS instances.
1209
+ *
1210
+ * Tag keys cannot be duplicated and have a maximum length of 128 characters. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
1067
1211
  */
1068
1212
  tags?: NodepoolScalingGroupTags[];
1069
1213
  /**
@@ -1087,7 +1231,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1087
1231
  export declare class NodepoolTeeConfig extends $dara.Model {
1088
1232
  /**
1089
1233
  * @remarks
1090
- * Specifies whether this is a confidential computing node pool.
1234
+ * Specifies whether the node pool is a confidential computing node pool.
1091
1235
  *
1092
1236
  * This parameter is required.
1093
1237
  *
@@ -1116,6 +1260,8 @@ export declare class Nodepool extends $dara.Model {
1116
1260
  * @remarks
1117
1261
  * **[Deprecated]** Use desired_size instead.
1118
1262
  *
1263
+ * The number of nodes in the node pool.
1264
+ *
1119
1265
  * @example
1120
1266
  * 1
1121
1267
  *
@@ -1126,12 +1272,17 @@ export declare class Nodepool extends $dara.Model {
1126
1272
  * @remarks
1127
1273
  * **[Deprecated]**
1128
1274
  *
1275
+ * The edge node pool configuration.
1276
+ *
1129
1277
  * @deprecated
1130
1278
  */
1131
1279
  interconnectConfig?: NodepoolInterconnectConfig;
1132
1280
  /**
1133
1281
  * @remarks
1134
- * The network type of the edge node pool. This value is meaningful only for node pools whose `type` is `edge`. Valid values:
1282
+ * The network type of the edge node pool. This parameter is meaningful only for node pools whose `type` is `edge`. Valid values:
1283
+ *
1284
+ * - `basic`: basic.
1285
+ * - `private`: dedicated. Supported in version 1.22 and later.
1135
1286
  *
1136
1287
  * @example
1137
1288
  * basic
@@ -1149,7 +1300,7 @@ export declare class Nodepool extends $dara.Model {
1149
1300
  management?: NodepoolManagement;
1150
1301
  /**
1151
1302
  * @remarks
1152
- * The maximum number of nodes allowed in the edge node pool. This parameter must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the maximum number of nodes the cluster can contain, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS type node pools and default edge type node pools have a value of 0.
1303
+ * The maximum number of nodes allowed in the edge node pool. This parameter must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the maximum number of nodes the cluster can accommodate, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0.
1153
1304
  *
1154
1305
  * @example
1155
1306
  * 10
@@ -1172,7 +1323,7 @@ export declare class Nodepool extends $dara.Model {
1172
1323
  nodepoolInfo?: NodepoolNodepoolInfo;
1173
1324
  /**
1174
1325
  * @remarks
1175
- * The node pool scaling group configuration.
1326
+ * The scaling group configuration for the node pool.
1176
1327
  */
1177
1328
  scalingGroup?: NodepoolScalingGroup;
1178
1329
  /**