@alicloud/cs20151215 7.1.0 → 7.1.2

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 (48) hide show
  1. package/dist/client.d.ts +18 -6
  2. package/dist/client.js +18 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
  5. package/dist/models/CreateClusterNodePoolRequest.js +27 -1
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +345 -70
  8. package/dist/models/CreateClusterRequest.js.map +1 -1
  9. package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
  10. package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
  11. package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
  12. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
  13. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
  14. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  15. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
  16. package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
  17. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  18. package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
  19. package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
  20. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  21. package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
  22. package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
  23. package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
  24. package/dist/models/Nodepool.d.ts +225 -55
  25. package/dist/models/Nodepool.js +33 -1
  26. package/dist/models/Nodepool.js.map +1 -1
  27. package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
  28. package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
  29. package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
  30. package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
  31. package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
  32. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  33. package/dist/models/model.d.ts +9 -0
  34. package/dist/models/model.js +110 -92
  35. package/dist/models/model.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +18 -6
  38. package/src/models/CreateClusterNodePoolRequest.ts +379 -76
  39. package/src/models/CreateClusterRequest.ts +345 -70
  40. package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
  41. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
  42. package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
  43. package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
  44. package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
  45. package/src/models/Nodepool.ts +247 -55
  46. package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
  47. package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
  48. package/src/models/model.ts +9 -0
@@ -2,6 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  import { DataDisk } from "./DataDisk";
3
3
  import { DiskInit } from "./DiskInit";
4
4
  import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
5
+ import { InstancePatterns } from "./InstancePatterns";
5
6
  import { KubeletConfig } from "./KubeletConfig";
6
7
  import { Tag } from "./Tag";
7
8
  import { Taint } from "./Taint";
@@ -10,6 +11,8 @@ export declare class NodepoolAutoScaling extends $dara.Model {
10
11
  * @remarks
11
12
  * **[Deprecated]**
12
13
  *
14
+ * The peak bandwidth of the EIP. Unit: Mbit/s.
15
+ *
13
16
  * @example
14
17
  * 5
15
18
  *
@@ -20,6 +23,13 @@ export declare class NodepoolAutoScaling extends $dara.Model {
20
23
  * @remarks
21
24
  * **[Deprecated]**
22
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
+ *
23
33
  * @example
24
34
  * PayByBandwidth
25
35
  *
@@ -28,10 +38,10 @@ export declare class NodepoolAutoScaling extends $dara.Model {
28
38
  eipInternetChargeType?: string;
29
39
  /**
30
40
  * @remarks
31
- * Specifies whether to enable automatic scaling.
41
+ * Specifies whether to enable auto scaling.
32
42
  *
33
- * - `true`: Enables the automatic scaling feature for the node pool.
34
- * - `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.
35
45
  *
36
46
  * Default value: `false`.
37
47
  *
@@ -45,7 +55,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
45
55
  * @remarks
46
56
  * **[Deprecated]**
47
57
  *
48
- * Specifies whether to associate an elastic IP address (EIP). Valid values:
58
+ * Specifies whether to associate an EIP. Valid values:
49
59
  *
50
60
  * - `true`: Associates an EIP.
51
61
  * - `false`: Does not associate an EIP.
@@ -80,7 +90,14 @@ export declare class NodepoolAutoScaling extends $dara.Model {
80
90
  minInstances?: number;
81
91
  /**
82
92
  * @remarks
83
- * 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`.
84
101
  *
85
102
  * @example
86
103
  * cpu
@@ -102,6 +119,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
102
119
  * @remarks
103
120
  * **[Deprecated]**
104
121
  *
122
+ * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
123
+ *
105
124
  * @example
106
125
  * 10
107
126
  *
@@ -112,6 +131,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
112
131
  * @remarks
113
132
  * **[Deprecated]**
114
133
  *
134
+ * The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
135
+ *
115
136
  * @example
116
137
  * ccn-qm5i0i0q9yi*******
117
138
  *
@@ -122,6 +143,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
122
143
  * @remarks
123
144
  * **[Deprecated]**
124
145
  *
146
+ * The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
147
+ *
125
148
  * @example
126
149
  * cn-shanghai
127
150
  *
@@ -132,6 +155,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
132
155
  * @remarks
133
156
  * **[Deprecated]**
134
157
  *
158
+ * The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
159
+ *
135
160
  * @example
136
161
  * cen-ey9k9nfhz0f*******
137
162
  *
@@ -142,6 +167,8 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
142
167
  * @remarks
143
168
  * **[Deprecated]**
144
169
  *
170
+ * The purchase duration of the enhanced edge node pool. Unit: months.
171
+ *
145
172
  * @example
146
173
  * 1
147
174
  *
@@ -162,7 +189,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
162
189
  export declare class NodepoolKubernetesConfig extends $dara.Model {
163
190
  /**
164
191
  * @remarks
165
- * 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:
166
193
  *
167
194
  * - `true`: Installs the CloudMonitor agent on ECS nodes.
168
195
  * - `false`: Does not install the CloudMonitor agent on ECS nodes.
@@ -175,7 +202,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
175
202
  cmsEnabled?: boolean;
176
203
  /**
177
204
  * @remarks
178
- * 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`.
179
211
  *
180
212
  * @example
181
213
  * none
@@ -183,13 +215,18 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
183
215
  cpuPolicy?: string;
184
216
  /**
185
217
  * @remarks
186
- * The node labels. Labels are added to the nodes in the Kubernetes cluster.
218
+ * The node labels. Adds labels to Kubernetes cluster nodes.
187
219
  */
188
220
  labels?: Tag[];
189
221
  /**
190
222
  * @remarks
191
223
  * The node name consists of three parts: prefix + node IP + suffix:
192
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
+ *
193
230
  * @example
194
231
  * customized,aliyun,ip,com
195
232
  */
@@ -197,9 +234,9 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
197
234
  /**
198
235
  * @remarks
199
236
  * The container runtime. Valid values:
200
- * - `containerd`: Recommended. Supported by all cluster versions.
201
- * - `Sandboxed-Container.runv`: Sandboxed container runtime that provides higher isolation. Supported by clusters of version 1.24 and earlier.
202
- * - `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.
203
240
  *
204
241
  * Default value: `containerd`
205
242
  *
@@ -226,7 +263,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
226
263
  taints?: Taint[];
227
264
  /**
228
265
  * @remarks
229
- * The custom data for nodes.
266
+ * The node custom data.
230
267
  *
231
268
  * @example
232
269
  * MXM=
@@ -245,11 +282,17 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
245
282
  }
246
283
  export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
247
284
  /**
285
+ * @remarks
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.
287
+ *
248
288
  * @example
249
289
  * 5
250
290
  */
251
291
  maxParallelRepairingNodes?: string;
252
292
  /**
293
+ * @remarks
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%.
295
+ *
253
296
  * @example
254
297
  * 20%
255
298
  */
@@ -304,7 +347,7 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
304
347
  restartNode?: boolean;
305
348
  /**
306
349
  * @remarks
307
- * The vulnerability levels that are allowed for automatic fix, separated by commas.
350
+ * The vulnerability levels allowed for automatic fix, separated by commas.
308
351
  *
309
352
  * @example
310
353
  * asap,nntf
@@ -326,6 +369,9 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
326
369
  * @remarks
327
370
  * Specifies whether to enable auto upgrade. Valid values:
328
371
  *
372
+ * - `true`: enables auto upgrade.
373
+ * - `false`: does not enable auto upgrade.
374
+ *
329
375
  * @example
330
376
  * false
331
377
  */
@@ -334,6 +380,8 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
334
380
  * @remarks
335
381
  * The maximum number of unavailable nodes. Valid values: [1,1000\\].
336
382
  *
383
+ * Default value: 1.
384
+ *
337
385
  * @example
338
386
  * 0
339
387
  */
@@ -348,7 +396,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
348
396
  surge?: number;
349
397
  /**
350
398
  * @remarks
351
- * The percentage of extra nodes. You can set either this parameter or `surge`.
399
+ * The extra node percentage. This parameter is mutually exclusive with `surge`.
352
400
  *
353
401
  * @example
354
402
  * 0
@@ -373,10 +421,10 @@ export declare class NodepoolManagement extends $dara.Model {
373
421
  autoFaultDiagnosis?: boolean;
374
422
  /**
375
423
  * @remarks
376
- * Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
424
+ * Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
377
425
  *
378
- * - `true`: Enables automatic repair.
379
- * - `false`: Disables automatic repair.
426
+ * - `true`: enables auto repair.
427
+ * - `false`: does not enable auto repair.
380
428
  *
381
429
  * @example
382
430
  * false
@@ -422,6 +470,9 @@ export declare class NodepoolManagement extends $dara.Model {
422
470
  * @remarks
423
471
  * Specifies whether to enable the managed node pool. Valid values:
424
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
+ *
425
476
  * @example
426
477
  * false
427
478
  */
@@ -444,10 +495,38 @@ export declare class NodepoolManagement extends $dara.Model {
444
495
  [key: string]: any;
445
496
  });
446
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
+ }
447
526
  export declare class NodepoolNodeComponentsConfig extends $dara.Model {
448
527
  /**
449
528
  * @remarks
450
- * The custom configuration of node components.
529
+ * The node component custom configuration.
451
530
  *
452
531
  * @example
453
532
  * {"cpuManagerPolicy":"static"}
@@ -455,6 +534,11 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
455
534
  customConfig?: {
456
535
  [key: string]: any;
457
536
  };
537
+ /**
538
+ * @remarks
539
+ * The node component environment variables.
540
+ */
541
+ envs?: NodepoolNodeComponentsConfigEnvs[];
458
542
  static names(): {
459
543
  [key: string]: string;
460
544
  };
@@ -502,7 +586,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
502
586
  export declare class NodepoolNodeConfig extends $dara.Model {
503
587
  /**
504
588
  * @remarks
505
- * The kubelet parameter settings.
589
+ * The Kubelet parameter settings.
506
590
  */
507
591
  kubeletConfiguration?: KubeletConfig;
508
592
  static names(): {
@@ -539,6 +623,9 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
539
623
  * @remarks
540
624
  * The node pool type. Valid values:
541
625
  *
626
+ * - `ess`: node pool.
627
+ * - `edge`: edge node pool.
628
+ *
542
629
  * @example
543
630
  * ess
544
631
  */
@@ -558,6 +645,8 @@ export declare class NodepoolScalingGroupCpuOptions extends $dara.Model {
558
645
  /**
559
646
  * @remarks
560
647
  * Specifies whether to enable nested virtualization. Valid values:
648
+ * disabled: disables nested virtualization.
649
+ * enabled: enables nested virtualization.
561
650
  *
562
651
  * @example
563
652
  * enabled
@@ -585,13 +674,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
585
674
  id?: string;
586
675
  /**
587
676
  * @remarks
588
- * The type of the private node pool. Specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use 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:
589
678
  *
590
- * - `Open`: open mode. The instance 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.
591
680
  *
592
- * - `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.
593
682
  *
594
- * - `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.
595
684
  *
596
685
  * @example
597
686
  * Open
@@ -616,12 +705,10 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
616
705
  privatePoolIds?: string[];
617
706
  /**
618
707
  * @remarks
619
- * The resource pool strategy used when creating instances. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, as well as public pools, which are available for instance startup. Valid values:
620
- *
621
- * 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 pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
622
- * PrivatePoolOnly: private pool only. When this strategy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool has insufficient capacity, the instance fails to start.
623
- * None: no resource pool strategy is used.
624
- *
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.
625
712
  * Default value: None.
626
713
  *
627
714
  * @example
@@ -700,13 +787,22 @@ export declare class NodepoolScalingGroup extends $dara.Model {
700
787
  * @remarks
701
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:
702
789
  *
790
+ * - `true`: Enables auto-renewal.
791
+ * - `false`: Disables auto-renewal.
792
+ *
793
+ * Default value: `true`.
794
+ *
703
795
  * @example
704
796
  * false
705
797
  */
706
798
  autoRenew?: boolean;
707
799
  /**
708
800
  * @remarks
709
- * The auto-renewal epoch for the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
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.
710
806
  *
711
807
  * @example
712
808
  * 0
@@ -714,10 +810,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
714
810
  autoRenewPeriod?: number;
715
811
  /**
716
812
  * @remarks
717
- * 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:
718
814
  *
719
- * - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
720
- * - `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.
721
817
  *
722
818
  * @example
723
819
  * true
@@ -764,7 +860,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
764
860
  imageId?: string;
765
861
  /**
766
862
  * @remarks
767
- * 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:
768
864
  *
769
865
  * - `AliyunLinux`: Alinux2 image.
770
866
  * - `AliyunLinux3`: Alinux3 image.
@@ -783,6 +879,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
783
879
  * @remarks
784
880
  * The billing method for nodes in the node pool. Valid values:
785
881
  *
882
+ * - `PrePaid`: subscription.
883
+ * - `PostPaid`: pay-as-you-go.
884
+ *
885
+ * Default value: `PostPaid`.
886
+ *
786
887
  * This parameter is required.
787
888
  *
788
889
  * @example
@@ -792,8 +893,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
792
893
  /**
793
894
  * @remarks
794
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.
795
897
  */
796
898
  instanceMetadataOptions?: InstanceMetadataOptions;
899
+ /**
900
+ * @remarks
901
+ * The instance attributes.
902
+ */
903
+ instancePatterns?: InstancePatterns[];
797
904
  /**
798
905
  * @remarks
799
906
  * The instance types.
@@ -805,13 +912,16 @@ export declare class NodepoolScalingGroup extends $dara.Model {
805
912
  * @remarks
806
913
  * The billing type for public IP addresses. Valid values:
807
914
  *
915
+ * - `PayByBandwidth`: billed by fixed bandwidth.
916
+ * - `PayByTraffic`: billed by traffic usage.
917
+ *
808
918
  * @example
809
919
  * PayByBandwidth
810
920
  */
811
921
  internetChargeType?: string;
812
922
  /**
813
923
  * @remarks
814
- * 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].
815
925
  *
816
926
  * @example
817
927
  * 10
@@ -821,13 +931,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
821
931
  * @remarks
822
932
  * The key pair name. Specify either this parameter or `login_password`.
823
933
  *
934
+ * > If you create a managed node pool, only `key_pair` is supported.
935
+ *
824
936
  * @example
825
937
  * np-key
826
938
  */
827
939
  keyPair?: string;
828
940
  /**
829
941
  * @remarks
830
- * Specifies whether to log on to scaled-out ECS instances as a non-root user.
942
+ * Specifies whether the scaled-out ECS instance uses a non-root user for logon.
831
943
  */
832
944
  loginAsNonRoot?: boolean;
833
945
  /**
@@ -842,13 +954,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
842
954
  * @remarks
843
955
  * The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
844
956
  *
845
- * - `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 next-priority vSwitch is automatically used 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.
846
958
  *
847
- * - `COST_OPTIMIZED`: Attempts to create instances in order from the lowest to the highest 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.
848
960
  *
849
- * >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
961
+ * >`COST_OPTIMIZED` takes effect only when the scaling configuration settings include multiple instance types or use spot instances.
850
962
  *
851
- * - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the RebalanceInstances API 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).
852
964
  *
853
965
  * Default value: `PRIORITY`.
854
966
  *
@@ -874,7 +986,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
874
986
  onDemandPercentageAboveBaseCapacity?: number;
875
987
  /**
876
988
  * @remarks
877
- * 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, the valid values of `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.
878
992
  *
879
993
  * @example
880
994
  * 0
@@ -884,6 +998,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
884
998
  * @remarks
885
999
  * The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
886
1000
  *
1001
+ * `Month`: Currently, only month is supported as the unit.
1002
+ *
887
1003
  * @example
888
1004
  * Month
889
1005
  */
@@ -892,6 +1008,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
892
1008
  * @remarks
893
1009
  * The operating system distribution. Valid values:
894
1010
  *
1011
+ * - `CentOS`
1012
+ * - `AliyunLinux`
1013
+ * - `Windows`
1014
+ * - `WindowsCore`
1015
+ *
1016
+ * Default value: `AliyunLinux`.
1017
+ *
895
1018
  * @example
896
1019
  * AliyunLinux
897
1020
  *
@@ -906,6 +1029,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
906
1029
  /**
907
1030
  * @remarks
908
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>
909
1033
  *
910
1034
  * @example
911
1035
  * example-role
@@ -918,12 +1042,19 @@ export declare class NodepoolScalingGroup extends $dara.Model {
918
1042
  rdsInstances?: string[];
919
1043
  /**
920
1044
  * @remarks
921
- * 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.
922
1048
  */
923
1049
  resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
924
1050
  /**
925
1051
  * @remarks
926
- * The scaling group mode. Valid values:
1052
+ * The scaling group pattern. Valid values:
1053
+ *
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.
1056
+ *
1057
+ * Default value: `release`.
927
1058
  *
928
1059
  * @example
929
1060
  * release
@@ -944,7 +1075,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
944
1075
  securityGroupIds?: string[];
945
1076
  /**
946
1077
  * @remarks
947
- * 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].
948
1079
  *
949
1080
  * @example
950
1081
  * 5
@@ -952,7 +1083,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
952
1083
  spotInstancePools?: number;
953
1084
  /**
954
1085
  * @remarks
955
- * Specifies whether to enable supplementation of spot instances. If enabled, when the system sends a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
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.
956
1090
  *
957
1091
  * @example
958
1092
  * false
@@ -960,12 +1094,17 @@ export declare class NodepoolScalingGroup extends $dara.Model {
960
1094
  spotInstanceRemedy?: boolean;
961
1095
  /**
962
1096
  * @remarks
963
- * The price range configuration for a single spot instance type.
1097
+ * The price range configurations for a single spot instance of the current instance type.
964
1098
  */
965
1099
  spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
966
1100
  /**
967
1101
  * @remarks
968
- * The spot instance type. Valid values:
1102
+ * The type of spot instance. Valid values:
1103
+ * - NoSpot: non-spot instance.
1104
+ * - SpotWithPriceLimit: spot instance with a price limit.
1105
+ * - SpotAsPriceGo: system automatically bids at the current market price.
1106
+ *
1107
+ * For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
969
1108
  *
970
1109
  * @example
971
1110
  * NoSpot
@@ -973,7 +1112,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
973
1112
  spotStrategy?: string;
974
1113
  /**
975
1114
  * @remarks
976
- * Specifies whether to enable burst (I/O 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).
977
1121
  *
978
1122
  * @example
979
1123
  * true
@@ -981,13 +1125,26 @@ export declare class NodepoolScalingGroup extends $dara.Model {
981
1125
  systemDiskBurstingEnabled?: boolean;
982
1126
  /**
983
1127
  * @remarks
984
- * 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.
985
1134
  */
986
1135
  systemDiskCategories?: string[];
987
1136
  /**
988
1137
  * @remarks
989
1138
  * The type of the node system cloud disk. Valid values:
990
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
+ *
991
1148
  * @example
992
1149
  * cloud_efficiency
993
1150
  */
@@ -1002,7 +1159,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1002
1159
  systemDiskEncryptAlgorithm?: string;
1003
1160
  /**
1004
1161
  * @remarks
1005
- * 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.
1006
1163
  */
1007
1164
  systemDiskEncrypted?: boolean;
1008
1165
  /**
@@ -1015,7 +1172,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1015
1172
  systemDiskKmsKeyId?: string;
1016
1173
  /**
1017
1174
  * @remarks
1018
- * 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.
1019
1176
  *
1020
1177
  * - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1021
1178
  * - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
@@ -1028,7 +1185,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1028
1185
  systemDiskPerformanceLevel?: string;
1029
1186
  /**
1030
1187
  * @remarks
1031
- * 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).
1032
1191
  *
1033
1192
  * @example
1034
1193
  * 1000
@@ -1038,6 +1197,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1038
1197
  * @remarks
1039
1198
  * The size of the node system cloud disk. Unit: GiB.
1040
1199
  *
1200
+ * Valid values: [40,500].
1201
+ *
1041
1202
  * @example
1042
1203
  * 120
1043
1204
  */
@@ -1045,6 +1206,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1045
1206
  /**
1046
1207
  * @remarks
1047
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://".
1048
1211
  */
1049
1212
  tags?: NodepoolScalingGroupTags[];
1050
1213
  /**
@@ -1068,7 +1231,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
1068
1231
  export declare class NodepoolTeeConfig extends $dara.Model {
1069
1232
  /**
1070
1233
  * @remarks
1071
- * Indicates whether the node pool is a confidential computing node pool.
1234
+ * Specifies whether the node pool is a confidential computing node pool.
1072
1235
  *
1073
1236
  * This parameter is required.
1074
1237
  *
@@ -1097,6 +1260,8 @@ export declare class Nodepool extends $dara.Model {
1097
1260
  * @remarks
1098
1261
  * **[Deprecated]** Use desired_size instead.
1099
1262
  *
1263
+ * The number of nodes in the node pool.
1264
+ *
1100
1265
  * @example
1101
1266
  * 1
1102
1267
  *
@@ -1107,12 +1272,17 @@ export declare class Nodepool extends $dara.Model {
1107
1272
  * @remarks
1108
1273
  * **[Deprecated]**
1109
1274
  *
1275
+ * The edge node pool configuration.
1276
+ *
1110
1277
  * @deprecated
1111
1278
  */
1112
1279
  interconnectConfig?: NodepoolInterconnectConfig;
1113
1280
  /**
1114
1281
  * @remarks
1115
- * The network type of the edge node pool. This parameter is valid 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.
1116
1286
  *
1117
1287
  * @example
1118
1288
  * basic
@@ -1130,7 +1300,7 @@ export declare class Nodepool extends $dara.Model {
1130
1300
  management?: NodepoolManagement;
1131
1301
  /**
1132
1302
  * @remarks
1133
- * The maximum number of nodes allowed in the edge node pool. The value must be greater than or equal to 0. A value of 0 indicates no additional limit (only limited 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.
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.
1134
1304
  *
1135
1305
  * @example
1136
1306
  * 10