@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
@@ -14,6 +14,8 @@ export class NodepoolAutoScaling extends $dara.Model {
14
14
  * @remarks
15
15
  * **[Deprecated]**
16
16
  *
17
+ * The peak bandwidth of the EIP. Unit: Mbit/s.
18
+ *
17
19
  * @example
18
20
  * 5
19
21
  *
@@ -24,6 +26,13 @@ export class NodepoolAutoScaling extends $dara.Model {
24
26
  * @remarks
25
27
  * **[Deprecated]**
26
28
  *
29
+ * The billing method of the EIP. Valid values:
30
+ *
31
+ * - `PayByBandwidth`: pay-by-bandwidth.
32
+ * - `PayByTraffic`: pay-by-traffic.
33
+ *
34
+ * Default value: PayByBandwidth.
35
+ *
27
36
  * @example
28
37
  * PayByBandwidth
29
38
  *
@@ -32,10 +41,10 @@ export class NodepoolAutoScaling extends $dara.Model {
32
41
  eipInternetChargeType?: string;
33
42
  /**
34
43
  * @remarks
35
- * Specifies whether to enable automatic scaling.
44
+ * Specifies whether to enable auto scaling.
36
45
  *
37
- * - `true`: Enables the automatic scaling feature for the node pool.
38
- * - `false`: Disables automatic scaling. If this parameter is set to `false`, other configuration parameters in `auto_scaling` do not take effect.
46
+ * - `true`: Enables the auto scaling feature for the node pool.
47
+ * - `false`: Disables auto scaling. When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
39
48
  *
40
49
  * Default value: `false`.
41
50
  *
@@ -49,7 +58,7 @@ export class NodepoolAutoScaling extends $dara.Model {
49
58
  * @remarks
50
59
  * **[Deprecated]**
51
60
  *
52
- * Specifies whether to associate an Elastic IP Address (EIP). Valid values:
61
+ * Specifies whether to associate an EIP. Valid values:
53
62
  *
54
63
  * - `true`: Associates an EIP.
55
64
  * - `false`: Does not associate an EIP.
@@ -84,7 +93,14 @@ export class NodepoolAutoScaling extends $dara.Model {
84
93
  minInstances?: number;
85
94
  /**
86
95
  * @remarks
87
- * The auto scaling type, classified by auto scaling instance type. Valid values:
96
+ * The auto scaling type, classified by instance type. Valid values:
97
+ *
98
+ * - `cpu`: regular instance type.
99
+ * - `gpu`: GPU instance type.
100
+ * - `gpushare`: GPU sharing type.
101
+ * - `spot`: spot instance type.
102
+ *
103
+ * Default value: `cpu`.
88
104
  *
89
105
  * @example
90
106
  * cpu
@@ -128,6 +144,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
128
144
  * @remarks
129
145
  * **[Deprecated]**
130
146
  *
147
+ * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
148
+ *
131
149
  * @example
132
150
  * 10
133
151
  *
@@ -138,6 +156,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
138
156
  * @remarks
139
157
  * **[Deprecated]**
140
158
  *
159
+ * The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
160
+ *
141
161
  * @example
142
162
  * ccn-qm5i0i0q9yi*******
143
163
  *
@@ -148,6 +168,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
148
168
  * @remarks
149
169
  * **[Deprecated]**
150
170
  *
171
+ * The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
172
+ *
151
173
  * @example
152
174
  * cn-shanghai
153
175
  *
@@ -158,6 +180,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
158
180
  * @remarks
159
181
  * **[Deprecated]**
160
182
  *
183
+ * The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
184
+ *
161
185
  * @example
162
186
  * cen-ey9k9nfhz0f*******
163
187
  *
@@ -168,6 +192,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
168
192
  * @remarks
169
193
  * **[Deprecated]**
170
194
  *
195
+ * The purchase duration of the enhanced edge node pool. Unit: months.
196
+ *
171
197
  * @example
172
198
  * 1
173
199
  *
@@ -206,7 +232,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
206
232
  export class NodepoolKubernetesConfig extends $dara.Model {
207
233
  /**
208
234
  * @remarks
209
- * 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:
235
+ * 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:
210
236
  *
211
237
  * - `true`: Installs the CloudMonitor agent on ECS nodes.
212
238
  * - `false`: Does not install the CloudMonitor agent on ECS nodes.
@@ -219,7 +245,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
219
245
  cmsEnabled?: boolean;
220
246
  /**
221
247
  * @remarks
222
- * The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
248
+ * The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
249
+ *
250
+ * - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
251
+ * - `none`: Enables the existing default CPU affinity scheme.
252
+ *
253
+ * Default value: `none`.
223
254
  *
224
255
  * @example
225
256
  * none
@@ -234,6 +265,11 @@ export class NodepoolKubernetesConfig extends $dara.Model {
234
265
  * @remarks
235
266
  * The node name consists of three parts: prefix + node IP + suffix:
236
267
  *
268
+ * - 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.
269
+ * - The node IP is the complete private IP address of the node.
270
+ *
271
+ * 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.
272
+ *
237
273
  * @example
238
274
  * customized,aliyun,ip,com
239
275
  */
@@ -241,9 +277,9 @@ export class NodepoolKubernetesConfig extends $dara.Model {
241
277
  /**
242
278
  * @remarks
243
279
  * The container runtime. Valid values:
244
- * - `containerd`: Recommended. Supported by all cluster versions.
245
- * - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation. Supported by clusters of version 1.24 and earlier.
246
- * - `docker`: Supported by clusters of version 1.22 and earlier.
280
+ * - `containerd`: Recommended. Supports all cluster versions.
281
+ * - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation. Supports clusters of version 1.24 or earlier.
282
+ * - `docker`: Supports clusters of version 1.22 or earlier.
247
283
  *
248
284
  * Default value: `containerd`
249
285
  *
@@ -320,7 +356,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
320
356
  export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
321
357
  /**
322
358
  * @remarks
323
- * 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.
359
+ * 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.
324
360
  *
325
361
  * @example
326
362
  * 5
@@ -328,7 +364,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
328
364
  maxParallelRepairingNodes?: string;
329
365
  /**
330
366
  * @remarks
331
- * 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%.
367
+ * 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%.
332
368
  *
333
369
  * @example
334
370
  * 20%
@@ -370,7 +406,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
370
406
  export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
371
407
  /**
372
408
  * @remarks
373
- * Specifies whether to allow auto upgrade of kubelet.
409
+ * Specifies whether to allow automatic kubelet upgrade.
374
410
  *
375
411
  * @example
376
412
  * true
@@ -408,7 +444,7 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
408
444
  restartNode?: boolean;
409
445
  /**
410
446
  * @remarks
411
- * The vulnerability levels allowed for auto fix, separated by commas.
447
+ * The vulnerability levels allowed for automatic fix, separated by commas.
412
448
  *
413
449
  * @example
414
450
  * asap,nntf
@@ -442,6 +478,9 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
442
478
  * @remarks
443
479
  * Specifies whether to enable auto upgrade. Valid values:
444
480
  *
481
+ * - `true`: enables auto upgrade.
482
+ * - `false`: does not enable auto upgrade.
483
+ *
445
484
  * @example
446
485
  * false
447
486
  */
@@ -450,6 +489,8 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
450
489
  * @remarks
451
490
  * The maximum number of unavailable nodes. Valid values: [1,1000\\].
452
491
  *
492
+ * Default value: 1.
493
+ *
453
494
  * @example
454
495
  * 0
455
496
  */
@@ -464,7 +505,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
464
505
  surge?: number;
465
506
  /**
466
507
  * @remarks
467
- * The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
508
+ * The extra node percentage. This parameter is mutually exclusive with `surge`.
468
509
  *
469
510
  * @example
470
511
  * 0
@@ -500,13 +541,16 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
500
541
  export class NodepoolManagement extends $dara.Model {
501
542
  /**
502
543
  * @remarks
503
- * Specifies whether to enable self-healing ECS fault detection for nodes.
544
+ * Specifies whether to enable node self-healing ECS fault detection.
504
545
  */
505
546
  autoFaultDiagnosis?: boolean;
506
547
  /**
507
548
  * @remarks
508
549
  * Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
509
550
  *
551
+ * - `true`: enables auto repair.
552
+ * - `false`: does not enable auto repair.
553
+ *
510
554
  * @example
511
555
  * false
512
556
  */
@@ -551,6 +595,9 @@ export class NodepoolManagement extends $dara.Model {
551
595
  * @remarks
552
596
  * Specifies whether to enable the managed node pool. Valid values:
553
597
  *
598
+ * - `true`: enables the managed node pool.
599
+ * - `false`: does not enable the managed node pool. Other related configurations take effect only when `enable=true`.
600
+ *
554
601
  * @example
555
602
  * false
556
603
  */
@@ -613,24 +660,71 @@ export class NodepoolManagement extends $dara.Model {
613
660
  }
614
661
  }
615
662
 
663
+ export class NodepoolNodeComponentsConfigEnvs extends $dara.Model {
664
+ /**
665
+ * @remarks
666
+ * The environment variable name.
667
+ *
668
+ * @example
669
+ * LOG_LEVEL
670
+ */
671
+ name?: string;
672
+ /**
673
+ * @remarks
674
+ * The environment variable value.
675
+ *
676
+ * @example
677
+ * info
678
+ */
679
+ value?: string;
680
+ static names(): { [key: string]: string } {
681
+ return {
682
+ name: 'name',
683
+ value: 'value',
684
+ };
685
+ }
686
+
687
+ static types(): { [key: string]: any } {
688
+ return {
689
+ name: 'string',
690
+ value: 'string',
691
+ };
692
+ }
693
+
694
+ validate() {
695
+ super.validate();
696
+ }
697
+
698
+ constructor(map?: { [key: string]: any }) {
699
+ super(map);
700
+ }
701
+ }
702
+
616
703
  export class NodepoolNodeComponentsConfig extends $dara.Model {
617
704
  /**
618
705
  * @remarks
619
- * The custom configuration of the node component.
706
+ * The node component custom configuration.
620
707
  *
621
708
  * @example
622
709
  * {"cpuManagerPolicy":"static"}
623
710
  */
624
711
  customConfig?: { [key: string]: any };
712
+ /**
713
+ * @remarks
714
+ * The node component environment variables.
715
+ */
716
+ envs?: NodepoolNodeComponentsConfigEnvs[];
625
717
  static names(): { [key: string]: string } {
626
718
  return {
627
719
  customConfig: 'custom_config',
720
+ envs: 'envs',
628
721
  };
629
722
  }
630
723
 
631
724
  static types(): { [key: string]: any } {
632
725
  return {
633
726
  customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
727
+ envs: { 'type': 'array', 'itemType': NodepoolNodeComponentsConfigEnvs },
634
728
  };
635
729
  }
636
730
 
@@ -638,6 +732,9 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
638
732
  if(this.customConfig) {
639
733
  $dara.Model.validateMap(this.customConfig);
640
734
  }
735
+ if(Array.isArray(this.envs)) {
736
+ $dara.Model.validateArray(this.envs);
737
+ }
641
738
  super.validate();
642
739
  }
643
740
 
@@ -662,7 +759,7 @@ export class NodepoolNodeComponents extends $dara.Model {
662
759
  name?: string;
663
760
  /**
664
761
  * @remarks
665
- * The version of the node component.
762
+ * The node component version.
666
763
  *
667
764
  * @example
668
765
  * 1.33.3-aliyun.1
@@ -699,7 +796,7 @@ export class NodepoolNodeComponents extends $dara.Model {
699
796
  export class NodepoolNodeConfig extends $dara.Model {
700
797
  /**
701
798
  * @remarks
702
- * The kubelet parameter settings.
799
+ * The Kubelet parameter settings.
703
800
  */
704
801
  kubeletConfiguration?: KubeletConfig;
705
802
  static names(): { [key: string]: string } {
@@ -749,6 +846,9 @@ export class NodepoolNodepoolInfo extends $dara.Model {
749
846
  * @remarks
750
847
  * The node pool type. Valid values:
751
848
  *
849
+ * - `ess`: node pool.
850
+ * - `edge`: edge node pool.
851
+ *
752
852
  * @example
753
853
  * ess
754
854
  */
@@ -782,6 +882,8 @@ export class NodepoolScalingGroupCpuOptions extends $dara.Model {
782
882
  /**
783
883
  * @remarks
784
884
  * Specifies whether to enable nested virtualization. Valid values:
885
+ * disabled: disables nested virtualization.
886
+ * enabled: enables nested virtualization.
785
887
  *
786
888
  * @example
787
889
  * enabled
@@ -819,13 +921,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
819
921
  id?: string;
820
922
  /**
821
923
  * @remarks
822
- * 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:
924
+ * 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:
823
925
  *
824
- * - `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.
926
+ * - `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.
825
927
  *
826
- * - `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.
928
+ * - `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.
827
929
  *
828
- * - `None`: none mode. The instance does not use private pool capacity during startup.
930
+ * - `None`: do not use mode. Instance startup does not use private pool capacity.
829
931
  *
830
932
  * @example
831
933
  * Open
@@ -862,11 +964,10 @@ export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
862
964
  privatePoolIds?: string[];
863
965
  /**
864
966
  * @remarks
865
- * 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:
866
- *
867
- * 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.
868
- * 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.
869
- * None: no resource pool strategy is used.
967
+ * 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:
968
+ * 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.
969
+ * 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.
970
+ * None: do not use resource pool policy.
870
971
  * Default value: None.
871
972
  *
872
973
  * @example
@@ -984,13 +1085,22 @@ export class NodepoolScalingGroup extends $dara.Model {
984
1085
  * @remarks
985
1086
  * 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:
986
1087
  *
1088
+ * - `true`: Enables auto-renewal.
1089
+ * - `false`: Disables auto-renewal.
1090
+ *
1091
+ * Default value: `true`.
1092
+ *
987
1093
  * @example
988
1094
  * false
989
1095
  */
990
1096
  autoRenew?: boolean;
991
1097
  /**
992
1098
  * @remarks
993
- * 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.
1099
+ * The auto-renewal period of the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
1100
+ *
1101
+ * When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
1102
+ *
1103
+ * Default value: 1.
994
1104
  *
995
1105
  * @example
996
1106
  * 0
@@ -998,10 +1108,10 @@ export class NodepoolScalingGroup extends $dara.Model {
998
1108
  autoRenewPeriod?: number;
999
1109
  /**
1000
1110
  * @remarks
1001
- * 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:
1111
+ * 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:
1002
1112
  *
1003
- * - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
1004
- * - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
1113
+ * - `true`: Allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
1114
+ * - `false`: Do not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
1005
1115
  *
1006
1116
  * @example
1007
1117
  * true
@@ -1014,7 +1124,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1014
1124
  cpuOptions?: NodepoolScalingGroupCpuOptions;
1015
1125
  /**
1016
1126
  * @remarks
1017
- * The data cloud disk configuration for node pool nodes.
1127
+ * The data cloud disk configuration for nodes in the node pool.
1018
1128
  */
1019
1129
  dataDisks?: DataDisk[];
1020
1130
  /**
@@ -1048,7 +1158,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1048
1158
  imageId?: string;
1049
1159
  /**
1050
1160
  * @remarks
1051
- * The operating system image type. You can specify either this parameter or the platform parameter. Valid values:
1161
+ * The operating system image type. Specify either this parameter or the platform parameter. Valid values:
1052
1162
  *
1053
1163
  * - `AliyunLinux`: Alinux2 image.
1054
1164
  * - `AliyunLinux3`: Alinux3 image.
@@ -1065,7 +1175,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1065
1175
  imageType?: string;
1066
1176
  /**
1067
1177
  * @remarks
1068
- * The billing method for node pool nodes. Valid values:
1178
+ * The billing method for nodes in the node pool. Valid values:
1179
+ *
1180
+ * - `PrePaid`: subscription.
1181
+ * - `PostPaid`: pay-as-you-go.
1182
+ *
1183
+ * Default value: `PostPaid`.
1069
1184
  *
1070
1185
  * This parameter is required.
1071
1186
  *
@@ -1075,7 +1190,8 @@ export class NodepoolScalingGroup extends $dara.Model {
1075
1190
  instanceChargeType?: string;
1076
1191
  /**
1077
1192
  * @remarks
1078
- * The ECS instance metadata access configuration.
1193
+ * The metadata access configuration for ECS instances.
1194
+ * This parameter is currently available only to accounts on the whitelist. Submit a ticket to request access.
1079
1195
  */
1080
1196
  instanceMetadataOptions?: InstanceMetadataOptions;
1081
1197
  /**
@@ -1094,13 +1210,16 @@ export class NodepoolScalingGroup extends $dara.Model {
1094
1210
  * @remarks
1095
1211
  * The billing type for public IP addresses. Valid values:
1096
1212
  *
1213
+ * - `PayByBandwidth`: billed by fixed bandwidth.
1214
+ * - `PayByTraffic`: billed by traffic usage.
1215
+ *
1097
1216
  * @example
1098
1217
  * PayByBandwidth
1099
1218
  */
1100
1219
  internetChargeType?: string;
1101
1220
  /**
1102
1221
  * @remarks
1103
- * The maximum outbound bandwidth for node public IP addresses. Unit: Mbps (Mega bit per second). Valid values: [1,100].
1222
+ * The maximum outbound bandwidth for node public IP. Unit: Mbps (Mega bit per second). Valid values: [1,100].
1104
1223
  *
1105
1224
  * @example
1106
1225
  * 10
@@ -1108,7 +1227,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1108
1227
  internetMaxBandwidthOut?: number;
1109
1228
  /**
1110
1229
  * @remarks
1111
- * The key pair name. Choose either this or `login_password`.
1230
+ * The key pair name. Specify either this parameter or `login_password`.
1231
+ *
1232
+ * > If you create a managed node pool, only `key_pair` is supported.
1112
1233
  *
1113
1234
  * @example
1114
1235
  * np-key
@@ -1116,12 +1237,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1116
1237
  keyPair?: string;
1117
1238
  /**
1118
1239
  * @remarks
1119
- * Specifies whether scaled-out ECS instances use non-root user logon.
1240
+ * Specifies whether the scaled-out ECS instance uses a non-root user for logon.
1120
1241
  */
1121
1242
  loginAsNonRoot?: boolean;
1122
1243
  /**
1123
1244
  * @remarks
1124
- * 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.
1245
+ * 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.
1125
1246
  *
1126
1247
  * @example
1127
1248
  * Hello1234
@@ -1131,13 +1252,13 @@ export class NodepoolScalingGroup extends $dara.Model {
1131
1252
  * @remarks
1132
1253
  * The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
1133
1254
  *
1134
- * - `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.
1255
+ * - `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.
1135
1256
  *
1136
- * - `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.
1257
+ * - `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.
1137
1258
  *
1138
- * >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
1259
+ * >`COST_OPTIMIZED` takes effect only when the scaling configuration settings include multiple instance types or use spot instances.
1139
1260
  *
1140
- * - `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).
1261
+ * - `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).
1141
1262
  *
1142
1263
  * Default value: `PRIORITY`.
1143
1264
  *
@@ -1147,7 +1268,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1147
1268
  multiAzPolicy?: string;
1148
1269
  /**
1149
1270
  * @remarks
1150
- * 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.
1271
+ * 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.
1151
1272
  *
1152
1273
  * @example
1153
1274
  * 0
@@ -1163,7 +1284,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1163
1284
  onDemandPercentageAboveBaseCapacity?: number;
1164
1285
  /**
1165
1286
  * @remarks
1166
- * 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}.
1287
+ * 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}.
1288
+ *
1289
+ * Default value: 1.
1167
1290
  *
1168
1291
  * @example
1169
1292
  * 0
@@ -1171,7 +1294,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1171
1294
  period?: number;
1172
1295
  /**
1173
1296
  * @remarks
1174
- * The billing period unit for node pool nodes. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
1297
+ * The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
1298
+ *
1299
+ * `Month`: Currently, only month is supported as the unit.
1175
1300
  *
1176
1301
  * @example
1177
1302
  * Month
@@ -1181,6 +1306,13 @@ export class NodepoolScalingGroup extends $dara.Model {
1181
1306
  * @remarks
1182
1307
  * The operating system distribution. Valid values:
1183
1308
  *
1309
+ * - `CentOS`
1310
+ * - `AliyunLinux`
1311
+ * - `Windows`
1312
+ * - `WindowsCore`
1313
+ *
1314
+ * Default value: `AliyunLinux`.
1315
+ *
1184
1316
  * @example
1185
1317
  * AliyunLinux
1186
1318
  *
@@ -1194,8 +1326,8 @@ export class NodepoolScalingGroup extends $dara.Model {
1194
1326
  privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
1195
1327
  /**
1196
1328
  * @remarks
1197
- * The RAM role name for worker nodes.
1198
- * >Notice: This parameter is supported only when you create a node pool for ACK managed clusters of version 1.22 or later.
1329
+ * The Worker RAM role name.
1330
+ * >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
1199
1331
  *
1200
1332
  * @example
1201
1333
  * example-role
@@ -1208,15 +1340,17 @@ export class NodepoolScalingGroup extends $dara.Model {
1208
1340
  rdsInstances?: string[];
1209
1341
  /**
1210
1342
  * @remarks
1211
- * The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
1343
+ * The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
1344
+ * This parameter takes effect only when creating pay-as-you-go instances.
1345
+ * This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
1212
1346
  */
1213
1347
  resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
1214
1348
  /**
1215
1349
  * @remarks
1216
- * The scaling mode of the scaling group. Valid values:
1350
+ * The scaling group pattern. Valid values:
1217
1351
  *
1218
- * - `release`: standard mode. The scaling group scales in or out by creating or releasing ECS instances based on resource usage.
1219
- * - `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.
1352
+ * - `release`: standard pattern. Scales in or out by creating or releasing ECS instances based on resource usage.
1353
+ * - `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.
1220
1354
  *
1221
1355
  * Default value: `release`.
1222
1356
  *
@@ -1226,7 +1360,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1226
1360
  scalingPolicy?: string;
1227
1361
  /**
1228
1362
  * @remarks
1229
- * The security group ID of the node pool. Use either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
1363
+ * The security group ID of the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
1230
1364
  *
1231
1365
  * @example
1232
1366
  * sg-2zeihch86ooz9io4****
@@ -1234,12 +1368,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1234
1368
  securityGroupId?: string;
1235
1369
  /**
1236
1370
  * @remarks
1237
- * 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.
1371
+ * 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.
1238
1372
  */
1239
1373
  securityGroupIds?: string[];
1240
1374
  /**
1241
1375
  * @remarks
1242
- * 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].
1376
+ * The number of available instance types. The scaling group creates spot instances across multiple types with the lowest cost. Valid values: [1,10].
1243
1377
  *
1244
1378
  * @example
1245
1379
  * 5
@@ -1247,7 +1381,10 @@ export class NodepoolScalingGroup extends $dara.Model {
1247
1381
  spotInstancePools?: number;
1248
1382
  /**
1249
1383
  * @remarks
1250
- * 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:
1384
+ * 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:
1385
+ *
1386
+ * - `true`: Enable supplementing spot instances.
1387
+ * - `false`: Disable supplementing spot instances.
1251
1388
  *
1252
1389
  * @example
1253
1390
  * false
@@ -1255,15 +1392,15 @@ export class NodepoolScalingGroup extends $dara.Model {
1255
1392
  spotInstanceRemedy?: boolean;
1256
1393
  /**
1257
1394
  * @remarks
1258
- * The price limit configurations for a single spot instance of the current instance type.
1395
+ * The price range configurations for a single spot instance of the current instance type.
1259
1396
  */
1260
1397
  spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
1261
1398
  /**
1262
1399
  * @remarks
1263
- * The type of the spot instance. Valid values:
1400
+ * The type of spot instance. Valid values:
1264
1401
  * - NoSpot: non-spot instance.
1265
- * - SpotWithPriceLimit: sets a maximum price for the spot instance.
1266
- * - SpotAsPriceGo: the system automatically bids at the current market price.
1402
+ * - SpotWithPriceLimit: spot instance with a price limit.
1403
+ * - SpotAsPriceGo: system automatically bids at the current market price.
1267
1404
  *
1268
1405
  * For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
1269
1406
  *
@@ -1273,7 +1410,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1273
1410
  spotStrategy?: string;
1274
1411
  /**
1275
1412
  * @remarks
1276
- * Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
1413
+ * Specifies whether to enable burst (performance bursting) for the node system cloud disk. Valid values:
1414
+ *
1415
+ * - true: Enable.
1416
+ * - false: Disable.
1417
+ *
1418
+ * 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).
1277
1419
  *
1278
1420
  * @example
1279
1421
  * true
@@ -1281,13 +1423,26 @@ export class NodepoolScalingGroup extends $dara.Model {
1281
1423
  systemDiskBurstingEnabled?: boolean;
1282
1424
  /**
1283
1425
  * @remarks
1284
- * 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:
1426
+ * 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:
1427
+ *
1428
+ * - cloud: basic cloud disk.
1429
+ * - cloud_efficiency: ultra cloud disk.
1430
+ * - cloud_ssd: standard SSD.
1431
+ * - cloud_essd: ESSD.
1285
1432
  */
1286
1433
  systemDiskCategories?: string[];
1287
1434
  /**
1288
1435
  * @remarks
1289
1436
  * The type of the node system cloud disk. Valid values:
1290
1437
  *
1438
+ * - `cloud_efficiency`: ultra cloud disk.
1439
+ * - `cloud_ssd`: standard SSD.
1440
+ * - `cloud_essd`: ESSD.
1441
+ * - `cloud_auto`: ESSD AutoPL.
1442
+ * - `cloud_essd_entry`: ESSD Entry disk.
1443
+ *
1444
+ * Default value: `cloud_efficiency`.
1445
+ *
1291
1446
  * @example
1292
1447
  * cloud_efficiency
1293
1448
  */
@@ -1302,7 +1457,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1302
1457
  systemDiskEncryptAlgorithm?: string;
1303
1458
  /**
1304
1459
  * @remarks
1305
- * Specifies whether to encrypt the system cloud disk. Valid values: true: Encrypt. false: Do not encrypt.
1460
+ * Specifies whether to encrypt the system cloud disk. Valid values: true: encrypt. false: do not encrypt.
1306
1461
  */
1307
1462
  systemDiskEncrypted?: boolean;
1308
1463
  /**
@@ -1315,7 +1470,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1315
1470
  systemDiskKmsKeyId?: string;
1316
1471
  /**
1317
1472
  * @remarks
1318
- * The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs.
1473
+ * The performance level of the node system cloud disk. This parameter takes effect only for ESSD disks.
1319
1474
  *
1320
1475
  * - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1321
1476
  * - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
@@ -1328,7 +1483,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1328
1483
  systemDiskPerformanceLevel?: string;
1329
1484
  /**
1330
1485
  * @remarks
1331
- * 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}.
1486
+ * 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}.
1487
+ *
1488
+ * 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).
1332
1489
  *
1333
1490
  * @example
1334
1491
  * 1000
@@ -1338,6 +1495,8 @@ export class NodepoolScalingGroup extends $dara.Model {
1338
1495
  * @remarks
1339
1496
  * The size of the node system cloud disk. Unit: GiB.
1340
1497
  *
1498
+ * Valid values: [40,500].
1499
+ *
1341
1500
  * @example
1342
1501
  * 120
1343
1502
  */
@@ -1345,6 +1504,8 @@ export class NodepoolScalingGroup extends $dara.Model {
1345
1504
  /**
1346
1505
  * @remarks
1347
1506
  * Tags added only to ECS instances.
1507
+ *
1508
+ * 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://".
1348
1509
  */
1349
1510
  tags?: NodepoolScalingGroupTags[];
1350
1511
  /**
@@ -1512,7 +1673,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1512
1673
  export class NodepoolTeeConfig extends $dara.Model {
1513
1674
  /**
1514
1675
  * @remarks
1515
- * Specifies whether this is a confidential computing node pool.
1676
+ * Specifies whether the node pool is a confidential computing node pool.
1516
1677
  *
1517
1678
  * This parameter is required.
1518
1679
  *
@@ -1551,6 +1712,8 @@ export class Nodepool extends $dara.Model {
1551
1712
  * @remarks
1552
1713
  * **[Deprecated]** Use desired_size instead.
1553
1714
  *
1715
+ * The number of nodes in the node pool.
1716
+ *
1554
1717
  * @example
1555
1718
  * 1
1556
1719
  *
@@ -1561,12 +1724,17 @@ export class Nodepool extends $dara.Model {
1561
1724
  * @remarks
1562
1725
  * **[Deprecated]**
1563
1726
  *
1727
+ * The edge node pool configuration.
1728
+ *
1564
1729
  * @deprecated
1565
1730
  */
1566
1731
  interconnectConfig?: NodepoolInterconnectConfig;
1567
1732
  /**
1568
1733
  * @remarks
1569
- * The network type of the edge node pool. This value is meaningful only for node pools whose `type` is `edge`. Valid values:
1734
+ * The network type of the edge node pool. This parameter is meaningful only for node pools whose `type` is `edge`. Valid values:
1735
+ *
1736
+ * - `basic`: basic.
1737
+ * - `private`: dedicated. Supported in version 1.22 and later.
1570
1738
  *
1571
1739
  * @example
1572
1740
  * basic
@@ -1584,7 +1752,7 @@ export class Nodepool extends $dara.Model {
1584
1752
  management?: NodepoolManagement;
1585
1753
  /**
1586
1754
  * @remarks
1587
- * 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.
1755
+ * 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.
1588
1756
  *
1589
1757
  * @example
1590
1758
  * 10
@@ -1607,7 +1775,7 @@ export class Nodepool extends $dara.Model {
1607
1775
  nodepoolInfo?: NodepoolNodepoolInfo;
1608
1776
  /**
1609
1777
  * @remarks
1610
- * The node pool scaling group configuration.
1778
+ * The scaling group configuration for the node pool.
1611
1779
  */
1612
1780
  scalingGroup?: NodepoolScalingGroup;
1613
1781
  /**