@alicloud/cs20151215 7.0.3 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +30 -30
- package/dist/client.js +33 -30
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +139 -83
- package/dist/models/CreateClusterNodePoolRequest.js +29 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +163 -131
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +120 -92
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +64 -49
- package/dist/models/ModifyClusterNodePoolRequest.js +4 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/Nodepool.d.ts +132 -88
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +34 -30
- package/src/models/CreateClusterNodePoolRequest.ts +158 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +182 -131
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +139 -92
- package/src/models/ModifyClusterNodePoolRequest.ts +68 -49
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +151 -88
- package/src/models/model.ts +7 -0
|
@@ -22,9 +22,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
22
22
|
* @remarks
|
|
23
23
|
* [This field is deprecated]
|
|
24
24
|
*
|
|
25
|
-
* The billing method
|
|
25
|
+
* The billing method for the EIP. Valid values:
|
|
26
26
|
*
|
|
27
|
-
* - `PayByBandwidth`: pay-by-
|
|
27
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
28
|
* - `PayByTraffic`: pay-by-data-transfer.
|
|
29
29
|
*
|
|
30
30
|
* Default value: PayByBandwidth.
|
|
@@ -39,7 +39,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* Specifies whether to enable auto scaling.
|
|
41
41
|
*
|
|
42
|
-
* - `true`: Enables
|
|
42
|
+
* - `true`: Enables auto scaling for the node pool.
|
|
43
43
|
* - `false`: Disables auto scaling. When set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
44
44
|
*
|
|
45
45
|
* Default value: `false`.
|
|
@@ -116,9 +116,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
116
116
|
export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
*
|
|
119
|
+
* **This field is deprecated.**
|
|
120
120
|
*
|
|
121
|
-
*
|
|
121
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* 10
|
|
@@ -128,9 +128,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
128
128
|
bandwidth?: number;
|
|
129
129
|
/**
|
|
130
130
|
* @remarks
|
|
131
|
-
*
|
|
131
|
+
* **This field is deprecated.**
|
|
132
132
|
*
|
|
133
|
-
*
|
|
133
|
+
* The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
|
|
134
134
|
*
|
|
135
135
|
* @example
|
|
136
136
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -140,9 +140,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
140
140
|
ccnId?: string;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
*
|
|
143
|
+
* **This field is deprecated.**
|
|
144
144
|
*
|
|
145
|
-
*
|
|
145
|
+
* The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* cn-shanghai
|
|
@@ -152,9 +152,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
152
152
|
ccnRegionId?: string;
|
|
153
153
|
/**
|
|
154
154
|
* @remarks
|
|
155
|
-
*
|
|
155
|
+
* **This field is deprecated.**
|
|
156
156
|
*
|
|
157
|
-
*
|
|
157
|
+
* The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* cen-ey9k9nfhz0f*******
|
|
@@ -164,9 +164,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
164
164
|
cenId?: string;
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
|
-
*
|
|
167
|
+
* **This field is deprecated.**
|
|
168
168
|
*
|
|
169
|
-
*
|
|
169
|
+
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
170
170
|
*
|
|
171
171
|
* @example
|
|
172
172
|
* 1
|
|
@@ -214,7 +214,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
214
214
|
cpuPolicy?: string;
|
|
215
215
|
/**
|
|
216
216
|
* @remarks
|
|
217
|
-
* The node labels. Adds labels to Kubernetes cluster
|
|
217
|
+
* The node labels. Adds labels to the nodes in the Kubernetes cluster.
|
|
218
218
|
*/
|
|
219
219
|
labels?: Tag[];
|
|
220
220
|
/**
|
|
@@ -222,7 +222,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
222
222
|
* The node name consists of three parts: prefix + node IP + suffix:
|
|
223
223
|
*
|
|
224
224
|
* - 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.
|
|
225
|
-
* - The node IP is the
|
|
225
|
+
* - The node IP is the full private IP address of the node.
|
|
226
226
|
*
|
|
227
227
|
* 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.
|
|
228
228
|
*
|
|
@@ -234,7 +234,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
234
234
|
* @remarks
|
|
235
235
|
* The container runtime. Valid values:
|
|
236
236
|
* - `containerd`: Recommended. Supports all cluster versions.
|
|
237
|
-
* - `Sandboxed-Container.runv`: Sandboxed container
|
|
237
|
+
* - `Sandboxed-Container.runv`: Sandboxed container. Provides higher isolation. Supports clusters of version 1.24 or earlier.
|
|
238
238
|
* - `docker`: Supports clusters of version 1.22 or earlier.
|
|
239
239
|
*
|
|
240
240
|
* Default value: `containerd`
|
|
@@ -280,6 +280,16 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
283
|
+
/**
|
|
284
|
+
* @example
|
|
285
|
+
* 5
|
|
286
|
+
*/
|
|
287
|
+
maxParallelRepairingNodes?: string;
|
|
288
|
+
/**
|
|
289
|
+
* @example
|
|
290
|
+
* 20%
|
|
291
|
+
*/
|
|
292
|
+
maxUnhealthyNodesThreshold?: string;
|
|
283
293
|
/**
|
|
284
294
|
* @remarks
|
|
285
295
|
* Specifies whether to allow node restart.
|
|
@@ -302,7 +312,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
302
312
|
export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
303
313
|
/**
|
|
304
314
|
* @remarks
|
|
305
|
-
*
|
|
315
|
+
* Specifies whether to allow automatic kubelet upgrade.
|
|
306
316
|
*
|
|
307
317
|
* @example
|
|
308
318
|
* true
|
|
@@ -330,7 +340,7 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
330
340
|
restartNode?: boolean;
|
|
331
341
|
/**
|
|
332
342
|
* @remarks
|
|
333
|
-
*
|
|
343
|
+
* The vulnerability levels that are allowed for automatic fix, separated by commas.
|
|
334
344
|
*
|
|
335
345
|
* @example
|
|
336
346
|
* asap,nntf
|
|
@@ -352,8 +362,8 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
352
362
|
* @remarks
|
|
353
363
|
* Specifies whether to enable auto upgrade. Valid values:
|
|
354
364
|
*
|
|
355
|
-
* - `true`:
|
|
356
|
-
* - `false`:
|
|
365
|
+
* - `true`: Enable auto upgrade.
|
|
366
|
+
* - `false`: Disable auto upgrade.
|
|
357
367
|
*
|
|
358
368
|
* @example
|
|
359
369
|
* false
|
|
@@ -379,7 +389,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
379
389
|
surge?: number;
|
|
380
390
|
/**
|
|
381
391
|
* @remarks
|
|
382
|
-
* The extra
|
|
392
|
+
* The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
|
|
383
393
|
*
|
|
384
394
|
* @example
|
|
385
395
|
* 0
|
|
@@ -397,13 +407,17 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
397
407
|
});
|
|
398
408
|
}
|
|
399
409
|
export declare class NodepoolManagement extends $dara.Model {
|
|
410
|
+
/**
|
|
411
|
+
* @remarks
|
|
412
|
+
* Specifies whether to enable node self-healing ECS fault detection.
|
|
413
|
+
*/
|
|
400
414
|
autoFaultDiagnosis?: boolean;
|
|
401
415
|
/**
|
|
402
416
|
* @remarks
|
|
403
|
-
* Specifies whether to enable
|
|
417
|
+
* Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
|
|
404
418
|
*
|
|
405
|
-
* - `true`:
|
|
406
|
-
* - `false`:
|
|
419
|
+
* - `true`: Enable automatic repair.
|
|
420
|
+
* - `false`: Disable automatic repair.
|
|
407
421
|
*
|
|
408
422
|
* @example
|
|
409
423
|
* false
|
|
@@ -416,7 +430,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
416
430
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
417
431
|
/**
|
|
418
432
|
* @remarks
|
|
419
|
-
*
|
|
433
|
+
* Specifies whether to enable auto upgrade.
|
|
420
434
|
*
|
|
421
435
|
* @example
|
|
422
436
|
* true
|
|
@@ -424,13 +438,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
424
438
|
autoUpgrade?: boolean;
|
|
425
439
|
/**
|
|
426
440
|
* @remarks
|
|
427
|
-
*
|
|
441
|
+
* The auto upgrade policy.
|
|
428
442
|
*/
|
|
429
443
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
430
444
|
/**
|
|
431
445
|
* @remarks
|
|
432
446
|
* Specifies whether to automatically fix CVEs.
|
|
433
|
-
* [properties.management.properties.auto_v
|
|
434
447
|
*
|
|
435
448
|
* @example
|
|
436
449
|
* true
|
|
@@ -438,16 +451,20 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
438
451
|
autoVulFix?: boolean;
|
|
439
452
|
/**
|
|
440
453
|
* @remarks
|
|
441
|
-
*
|
|
454
|
+
* The auto CVE fix policy.
|
|
442
455
|
*/
|
|
443
456
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
457
|
+
/**
|
|
458
|
+
* @remarks
|
|
459
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
|
|
460
|
+
*/
|
|
444
461
|
driftEnabled?: boolean;
|
|
445
462
|
/**
|
|
446
463
|
* @remarks
|
|
447
464
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
448
465
|
*
|
|
449
|
-
* - `true`:
|
|
450
|
-
* - `false`:
|
|
466
|
+
* - `true`: Enable the managed node pool.
|
|
467
|
+
* - `false`: Do not enable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
451
468
|
*
|
|
452
469
|
* @example
|
|
453
470
|
* false
|
|
@@ -474,7 +491,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
474
491
|
export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
475
492
|
/**
|
|
476
493
|
* @remarks
|
|
477
|
-
*
|
|
494
|
+
* The custom node component configuration.
|
|
478
495
|
*
|
|
479
496
|
* @example
|
|
480
497
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -496,12 +513,12 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
496
513
|
export declare class NodepoolNodeComponents extends $dara.Model {
|
|
497
514
|
/**
|
|
498
515
|
* @remarks
|
|
499
|
-
*
|
|
516
|
+
* The node component configuration.
|
|
500
517
|
*/
|
|
501
518
|
config?: NodepoolNodeComponentsConfig;
|
|
502
519
|
/**
|
|
503
520
|
* @remarks
|
|
504
|
-
*
|
|
521
|
+
* The node component name.
|
|
505
522
|
*
|
|
506
523
|
* @example
|
|
507
524
|
* kubelet
|
|
@@ -509,7 +526,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
509
526
|
name?: string;
|
|
510
527
|
/**
|
|
511
528
|
* @remarks
|
|
512
|
-
*
|
|
529
|
+
* The node component version.
|
|
513
530
|
*
|
|
514
531
|
* @example
|
|
515
532
|
* 1.33.3-aliyun.1
|
|
@@ -529,7 +546,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
529
546
|
export declare class NodepoolNodeConfig extends $dara.Model {
|
|
530
547
|
/**
|
|
531
548
|
* @remarks
|
|
532
|
-
* Kubelet
|
|
549
|
+
* The Kubelet parameter settings.
|
|
533
550
|
*/
|
|
534
551
|
kubeletConfiguration?: KubeletConfig;
|
|
535
552
|
static names(): {
|
|
@@ -556,7 +573,7 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
556
573
|
name?: string;
|
|
557
574
|
/**
|
|
558
575
|
* @remarks
|
|
559
|
-
* The resource group
|
|
576
|
+
* The ID of the resource group to which the node pool belongs.
|
|
560
577
|
*
|
|
561
578
|
* @example
|
|
562
579
|
* rg-acfmyvw3wjm****
|
|
@@ -584,10 +601,32 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
584
601
|
[key: string]: any;
|
|
585
602
|
});
|
|
586
603
|
}
|
|
604
|
+
export declare class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
605
|
+
/**
|
|
606
|
+
* @remarks
|
|
607
|
+
* Specifies whether to enable nested virtualization. Valid values:
|
|
608
|
+
* disabled: Disable nested virtualization.
|
|
609
|
+
* enabled: Enable nested virtualization.
|
|
610
|
+
*
|
|
611
|
+
* @example
|
|
612
|
+
* enabled
|
|
613
|
+
*/
|
|
614
|
+
nestedVirtualization?: string;
|
|
615
|
+
static names(): {
|
|
616
|
+
[key: string]: string;
|
|
617
|
+
};
|
|
618
|
+
static types(): {
|
|
619
|
+
[key: string]: any;
|
|
620
|
+
};
|
|
621
|
+
validate(): void;
|
|
622
|
+
constructor(map?: {
|
|
623
|
+
[key: string]: any;
|
|
624
|
+
});
|
|
625
|
+
}
|
|
587
626
|
export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
588
627
|
/**
|
|
589
628
|
* @remarks
|
|
590
|
-
* The private pool ID.
|
|
629
|
+
* The private node pool ID.
|
|
591
630
|
*
|
|
592
631
|
* @example
|
|
593
632
|
* eap-bp67acfmxazb4****
|
|
@@ -595,13 +634,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
595
634
|
id?: string;
|
|
596
635
|
/**
|
|
597
636
|
* @remarks
|
|
598
|
-
* The private pool type. The private pool capacity option for instance
|
|
637
|
+
* The private node pool type. 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:
|
|
599
638
|
*
|
|
600
|
-
* - `Open`:
|
|
639
|
+
* - `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.
|
|
601
640
|
*
|
|
602
|
-
* - `Target`:
|
|
641
|
+
* - `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.
|
|
603
642
|
*
|
|
604
|
-
* - `None`:
|
|
643
|
+
* - `None`: none mode. The instance does not use private pool capacity for startup.
|
|
605
644
|
*
|
|
606
645
|
* @example
|
|
607
646
|
* Open
|
|
@@ -626,10 +665,10 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
|
|
|
626
665
|
privatePoolIds?: string[];
|
|
627
666
|
/**
|
|
628
667
|
* @remarks
|
|
629
|
-
* The resource pool policy used when creating instances. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, for
|
|
630
|
-
* PrivatePoolFirst:
|
|
631
|
-
* PrivatePoolOnly:
|
|
632
|
-
* None:
|
|
668
|
+
* The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance startup. Valid values:
|
|
669
|
+
* 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.
|
|
670
|
+
* 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.
|
|
671
|
+
* None: no resource pool policy.
|
|
633
672
|
* Default value: None.
|
|
634
673
|
*
|
|
635
674
|
* @example
|
|
@@ -658,7 +697,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
658
697
|
instanceType?: string;
|
|
659
698
|
/**
|
|
660
699
|
* @remarks
|
|
661
|
-
* The maximum price
|
|
700
|
+
* The maximum price per instance.
|
|
662
701
|
*
|
|
663
702
|
* @example
|
|
664
703
|
* 0.39
|
|
@@ -719,7 +758,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
719
758
|
autoRenew?: boolean;
|
|
720
759
|
/**
|
|
721
760
|
* @remarks
|
|
722
|
-
* The auto-renewal
|
|
761
|
+
* The auto-renewal epoch for the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
723
762
|
*
|
|
724
763
|
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
725
764
|
*
|
|
@@ -731,15 +770,20 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
731
770
|
autoRenewPeriod?: number;
|
|
732
771
|
/**
|
|
733
772
|
* @remarks
|
|
734
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet
|
|
773
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
735
774
|
*
|
|
736
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
737
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
775
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
776
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
738
777
|
*
|
|
739
778
|
* @example
|
|
740
779
|
* true
|
|
741
780
|
*/
|
|
742
781
|
compensateWithOnDemand?: boolean;
|
|
782
|
+
/**
|
|
783
|
+
* @remarks
|
|
784
|
+
* The CPU configuration options.
|
|
785
|
+
*/
|
|
786
|
+
cpuOptions?: NodepoolScalingGroupCpuOptions;
|
|
743
787
|
/**
|
|
744
788
|
* @remarks
|
|
745
789
|
* The data cloud disk configuration for nodes in the node pool.
|
|
@@ -776,7 +820,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
776
820
|
imageId?: string;
|
|
777
821
|
/**
|
|
778
822
|
* @remarks
|
|
779
|
-
* The operating system image type. Specify either this parameter or
|
|
823
|
+
* The operating system image type. Specify either this parameter or platform. Valid values:
|
|
780
824
|
*
|
|
781
825
|
* - `AliyunLinux`: Alinux2 image.
|
|
782
826
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -808,8 +852,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
808
852
|
instanceChargeType?: string;
|
|
809
853
|
/**
|
|
810
854
|
* @remarks
|
|
811
|
-
* The
|
|
812
|
-
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to
|
|
855
|
+
* The metadata access configuration for ECS instances.
|
|
856
|
+
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to request access.
|
|
813
857
|
*/
|
|
814
858
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
815
859
|
/**
|
|
@@ -823,7 +867,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
823
867
|
* @remarks
|
|
824
868
|
* The billing method for public IP addresses. Valid values:
|
|
825
869
|
*
|
|
826
|
-
* - `PayByBandwidth`: pay-by-
|
|
870
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
827
871
|
* - `PayByTraffic`: pay-by-data-transfer.
|
|
828
872
|
*
|
|
829
873
|
* @example
|
|
@@ -842,7 +886,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
842
886
|
* @remarks
|
|
843
887
|
* The key pair name. Specify either this parameter or `login_password`.
|
|
844
888
|
*
|
|
845
|
-
* >
|
|
889
|
+
* > For managed node pools, only `key_pair` is supported.
|
|
846
890
|
*
|
|
847
891
|
* @example
|
|
848
892
|
* np-key
|
|
@@ -850,7 +894,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
850
894
|
keyPair?: string;
|
|
851
895
|
/**
|
|
852
896
|
* @remarks
|
|
853
|
-
* Specifies whether
|
|
897
|
+
* Specifies whether scaled-out ECS instances log on as a non-root user.
|
|
854
898
|
*/
|
|
855
899
|
loginAsNonRoot?: boolean;
|
|
856
900
|
/**
|
|
@@ -867,11 +911,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
867
911
|
*
|
|
868
912
|
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that 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.
|
|
869
913
|
*
|
|
870
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price
|
|
914
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of ascending vCPU unit price. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
871
915
|
*
|
|
872
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
916
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
|
|
873
917
|
*
|
|
874
|
-
* - `BALANCE`:
|
|
918
|
+
* - `BALANCE`: Distributes ECS instances evenly across the active zones specified in the scaling group. If the 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).
|
|
875
919
|
*
|
|
876
920
|
* Default value: `PRIORITY`.
|
|
877
921
|
*
|
|
@@ -881,7 +925,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
881
925
|
multiAzPolicy?: string;
|
|
882
926
|
/**
|
|
883
927
|
* @remarks
|
|
884
|
-
* The minimum number of pay-as-you-go instances required
|
|
928
|
+
* The minimum number of pay-as-you-go instances required by 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.
|
|
885
929
|
*
|
|
886
930
|
* @example
|
|
887
931
|
* 0
|
|
@@ -907,9 +951,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
907
951
|
period?: number;
|
|
908
952
|
/**
|
|
909
953
|
* @remarks
|
|
910
|
-
* The
|
|
954
|
+
* The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
911
955
|
*
|
|
912
|
-
* `Month`: Currently only
|
|
956
|
+
* `Month`: Currently, only monthly billing is supported.
|
|
913
957
|
*
|
|
914
958
|
* @example
|
|
915
959
|
* Month
|
|
@@ -934,7 +978,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
934
978
|
platform?: string;
|
|
935
979
|
/**
|
|
936
980
|
* @remarks
|
|
937
|
-
* The private pool configuration.
|
|
981
|
+
* The private node pool configuration.
|
|
938
982
|
*/
|
|
939
983
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
940
984
|
/**
|
|
@@ -962,8 +1006,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
962
1006
|
* @remarks
|
|
963
1007
|
* The scaling group mode. Valid values:
|
|
964
1008
|
*
|
|
965
|
-
* - `release`: standard mode. Scales by creating
|
|
966
|
-
* - `recycle`:
|
|
1009
|
+
* - `release`: standard mode. Scales in or out by creating or releasing ECS instances based on resource usage.
|
|
1010
|
+
* - `recycle`: swift mode. 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 storage fees still apply, except for instances with local disks.)
|
|
967
1011
|
*
|
|
968
1012
|
* Default value: `release`.
|
|
969
1013
|
*
|
|
@@ -973,7 +1017,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
973
1017
|
scalingPolicy?: string;
|
|
974
1018
|
/**
|
|
975
1019
|
* @remarks
|
|
976
|
-
* The security group ID
|
|
1020
|
+
* The security group ID for the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
977
1021
|
*
|
|
978
1022
|
* @example
|
|
979
1023
|
* sg-2zeihch86ooz9io4****
|
|
@@ -994,10 +1038,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
994
1038
|
spotInstancePools?: number;
|
|
995
1039
|
/**
|
|
996
1040
|
* @remarks
|
|
997
|
-
* Specifies whether to enable
|
|
1041
|
+
* Specifies whether to enable spot instance supplementation. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
998
1042
|
*
|
|
999
|
-
* - `true`: Enables
|
|
1000
|
-
* - `false`: Disables
|
|
1043
|
+
* - `true`: Enables spot instance supplementation.
|
|
1044
|
+
* - `false`: Disables spot instance supplementation.
|
|
1001
1045
|
*
|
|
1002
1046
|
* @example
|
|
1003
1047
|
* false
|
|
@@ -1028,7 +1072,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1028
1072
|
* - true: Enabled.
|
|
1029
1073
|
* - false: Disabled.
|
|
1030
1074
|
*
|
|
1031
|
-
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud
|
|
1075
|
+
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
|
|
1032
1076
|
*
|
|
1033
1077
|
* @example
|
|
1034
1078
|
* true
|
|
@@ -1036,7 +1080,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1036
1080
|
systemDiskBurstingEnabled?: boolean;
|
|
1037
1081
|
/**
|
|
1038
1082
|
* @remarks
|
|
1039
|
-
*
|
|
1083
|
+
* The multiple cloud disk types for the system cloud disk. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk. Valid values:
|
|
1040
1084
|
*
|
|
1041
1085
|
* - cloud: basic cloud disk.
|
|
1042
1086
|
* - cloud_efficiency: ultra cloud disk.
|
|
@@ -1046,7 +1090,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1046
1090
|
systemDiskCategories?: string[];
|
|
1047
1091
|
/**
|
|
1048
1092
|
* @remarks
|
|
1049
|
-
* The system cloud disk
|
|
1093
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
1050
1094
|
*
|
|
1051
1095
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1052
1096
|
* - `cloud_ssd`: standard SSD.
|
|
@@ -1075,7 +1119,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1075
1119
|
systemDiskEncrypted?: boolean;
|
|
1076
1120
|
/**
|
|
1077
1121
|
* @remarks
|
|
1078
|
-
* The KMS key ID used
|
|
1122
|
+
* The KMS key ID used by the node system cloud disk.
|
|
1079
1123
|
*
|
|
1080
1124
|
* @example
|
|
1081
1125
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1083,7 +1127,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1083
1127
|
systemDiskKmsKeyId?: string;
|
|
1084
1128
|
/**
|
|
1085
1129
|
* @remarks
|
|
1086
|
-
* The performance level of the
|
|
1130
|
+
* The performance level of the system cloud disk for nodes. Applies only to ESSD cloud disks.
|
|
1087
1131
|
*
|
|
1088
1132
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1089
1133
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
@@ -1096,9 +1140,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1096
1140
|
systemDiskPerformanceLevel?: string;
|
|
1097
1141
|
/**
|
|
1098
1142
|
* @remarks
|
|
1099
|
-
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0
|
|
1143
|
+
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1100
1144
|
*
|
|
1101
|
-
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud
|
|
1145
|
+
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
|
|
1102
1146
|
*
|
|
1103
1147
|
* @example
|
|
1104
1148
|
* 1000
|
|
@@ -1106,7 +1150,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1106
1150
|
systemDiskProvisionedIops?: number;
|
|
1107
1151
|
/**
|
|
1108
1152
|
* @remarks
|
|
1109
|
-
* The
|
|
1153
|
+
* The size of the system cloud disk for nodes. Unit: GiB.
|
|
1110
1154
|
*
|
|
1111
1155
|
* Valid values: [40,500].
|
|
1112
1156
|
*
|
|
@@ -1116,7 +1160,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1116
1160
|
systemDiskSize?: number;
|
|
1117
1161
|
/**
|
|
1118
1162
|
* @remarks
|
|
1119
|
-
*
|
|
1163
|
+
* The tags that are added only to ECS instances.
|
|
1120
1164
|
*
|
|
1121
1165
|
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1122
1166
|
*/
|
|
@@ -1142,7 +1186,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1142
1186
|
export declare class NodepoolTeeConfig extends $dara.Model {
|
|
1143
1187
|
/**
|
|
1144
1188
|
* @remarks
|
|
1145
|
-
* Specifies whether
|
|
1189
|
+
* Specifies whether the node pool is a confidential computing node pool.
|
|
1146
1190
|
*
|
|
1147
1191
|
* This parameter is required.
|
|
1148
1192
|
*
|
|
@@ -1164,12 +1208,12 @@ export declare class NodepoolTeeConfig extends $dara.Model {
|
|
|
1164
1208
|
export declare class Nodepool extends $dara.Model {
|
|
1165
1209
|
/**
|
|
1166
1210
|
* @remarks
|
|
1167
|
-
* The auto scaling configuration
|
|
1211
|
+
* The auto scaling configuration for the node pool.
|
|
1168
1212
|
*/
|
|
1169
1213
|
autoScaling?: NodepoolAutoScaling;
|
|
1170
1214
|
/**
|
|
1171
1215
|
* @remarks
|
|
1172
|
-
*
|
|
1216
|
+
* **This field is deprecated. Use desired_size instead.**
|
|
1173
1217
|
*
|
|
1174
1218
|
* The number of nodes in the node pool.
|
|
1175
1219
|
*
|
|
@@ -1181,7 +1225,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1181
1225
|
count?: number;
|
|
1182
1226
|
/**
|
|
1183
1227
|
* @remarks
|
|
1184
|
-
*
|
|
1228
|
+
* **This field is deprecated.**
|
|
1185
1229
|
*
|
|
1186
1230
|
* The edge node pool configuration.
|
|
1187
1231
|
*
|
|
@@ -1190,10 +1234,10 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1190
1234
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1191
1235
|
/**
|
|
1192
1236
|
* @remarks
|
|
1193
|
-
* The network type of the edge node pool. This
|
|
1237
|
+
* The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1194
1238
|
*
|
|
1195
|
-
* - `basic`:
|
|
1196
|
-
* - `private`:
|
|
1239
|
+
* - `basic`: Basic.
|
|
1240
|
+
* - `private`: Dedicated. Supported in version 1.22 and later.
|
|
1197
1241
|
*
|
|
1198
1242
|
* @example
|
|
1199
1243
|
* basic
|
|
@@ -1211,7 +1255,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1211
1255
|
management?: NodepoolManagement;
|
|
1212
1256
|
/**
|
|
1213
1257
|
* @remarks
|
|
1214
|
-
* 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 (
|
|
1258
|
+
* 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). This value is typically greater than 0 for edge node pools. For ess-type node pools and default edge-type node pools, this value is 0.
|
|
1215
1259
|
*
|
|
1216
1260
|
* @example
|
|
1217
1261
|
* 10
|
|
@@ -1219,7 +1263,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1219
1263
|
maxNodes?: number;
|
|
1220
1264
|
/**
|
|
1221
1265
|
* @remarks
|
|
1222
|
-
* The
|
|
1266
|
+
* The node component list.
|
|
1223
1267
|
*/
|
|
1224
1268
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1225
1269
|
/**
|
|
@@ -1234,7 +1278,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1234
1278
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1235
1279
|
/**
|
|
1236
1280
|
* @remarks
|
|
1237
|
-
* The scaling group configuration
|
|
1281
|
+
* The scaling group configuration for the node pool.
|
|
1238
1282
|
*/
|
|
1239
1283
|
scalingGroup?: NodepoolScalingGroup;
|
|
1240
1284
|
/**
|