@alicloud/cs20151215 7.0.4 → 7.0.5
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 -42
- package/dist/client.js +61 -71
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +119 -621
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +70 -195
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +61 -71
- package/src/models/CreateClusterNodePoolRequest.ts +126 -367
- package/src/models/CreateClusterRequest.ts +119 -621
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +70 -195
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
|
@@ -8,9 +8,7 @@ import { Taint } from "./Taint";
|
|
|
8
8
|
export declare class NodepoolAutoScaling extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
* [
|
|
12
|
-
*
|
|
13
|
-
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
11
|
+
* **[Deprecated]**
|
|
14
12
|
*
|
|
15
13
|
* @example
|
|
16
14
|
* 5
|
|
@@ -20,14 +18,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
20
18
|
eipBandwidth?: number;
|
|
21
19
|
/**
|
|
22
20
|
* @remarks
|
|
23
|
-
* [
|
|
24
|
-
*
|
|
25
|
-
* The billing method for the EIP. Valid values:
|
|
26
|
-
*
|
|
27
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
29
|
-
*
|
|
30
|
-
* Default value: PayByBandwidth.
|
|
21
|
+
* **[Deprecated]**
|
|
31
22
|
*
|
|
32
23
|
* @example
|
|
33
24
|
* PayByBandwidth
|
|
@@ -37,10 +28,10 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
37
28
|
eipInternetChargeType?: string;
|
|
38
29
|
/**
|
|
39
30
|
* @remarks
|
|
40
|
-
* Specifies whether to enable
|
|
31
|
+
* Specifies whether to enable automatic scaling.
|
|
41
32
|
*
|
|
42
|
-
* - `true`: Enables
|
|
43
|
-
* - `false`: Disables
|
|
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.
|
|
44
35
|
*
|
|
45
36
|
* Default value: `false`.
|
|
46
37
|
*
|
|
@@ -52,9 +43,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
52
43
|
enable?: boolean;
|
|
53
44
|
/**
|
|
54
45
|
* @remarks
|
|
55
|
-
* [
|
|
46
|
+
* **[Deprecated]**
|
|
56
47
|
*
|
|
57
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
48
|
+
* Specifies whether to associate an elastic IP address (EIP). Valid values:
|
|
58
49
|
*
|
|
59
50
|
* - `true`: Associates an EIP.
|
|
60
51
|
* - `false`: Does not associate an EIP.
|
|
@@ -89,14 +80,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
89
80
|
minInstances?: number;
|
|
90
81
|
/**
|
|
91
82
|
* @remarks
|
|
92
|
-
* The auto scaling type, classified by instance type. Valid values:
|
|
93
|
-
*
|
|
94
|
-
* - `cpu`: regular instance type.
|
|
95
|
-
* - `gpu`: GPU instance type.
|
|
96
|
-
* - `gpushare`: GPU shared type.
|
|
97
|
-
* - `spot`: spot instance type.
|
|
98
|
-
*
|
|
99
|
-
* Default value: `cpu`.
|
|
83
|
+
* The auto scaling type, classified by auto scaling instance type. Valid values:
|
|
100
84
|
*
|
|
101
85
|
* @example
|
|
102
86
|
* cpu
|
|
@@ -116,9 +100,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
116
100
|
export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
117
101
|
/**
|
|
118
102
|
* @remarks
|
|
119
|
-
* **
|
|
120
|
-
*
|
|
121
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
103
|
+
* **[Deprecated]**
|
|
122
104
|
*
|
|
123
105
|
* @example
|
|
124
106
|
* 10
|
|
@@ -128,9 +110,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
128
110
|
bandwidth?: number;
|
|
129
111
|
/**
|
|
130
112
|
* @remarks
|
|
131
|
-
* **
|
|
132
|
-
*
|
|
133
|
-
* The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
|
|
113
|
+
* **[Deprecated]**
|
|
134
114
|
*
|
|
135
115
|
* @example
|
|
136
116
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -140,9 +120,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
140
120
|
ccnId?: string;
|
|
141
121
|
/**
|
|
142
122
|
* @remarks
|
|
143
|
-
* **
|
|
144
|
-
*
|
|
145
|
-
* The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
|
|
123
|
+
* **[Deprecated]**
|
|
146
124
|
*
|
|
147
125
|
* @example
|
|
148
126
|
* cn-shanghai
|
|
@@ -152,9 +130,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
152
130
|
ccnRegionId?: string;
|
|
153
131
|
/**
|
|
154
132
|
* @remarks
|
|
155
|
-
* **
|
|
156
|
-
*
|
|
157
|
-
* The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
|
|
133
|
+
* **[Deprecated]**
|
|
158
134
|
*
|
|
159
135
|
* @example
|
|
160
136
|
* cen-ey9k9nfhz0f*******
|
|
@@ -164,9 +140,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
164
140
|
cenId?: string;
|
|
165
141
|
/**
|
|
166
142
|
* @remarks
|
|
167
|
-
* **
|
|
168
|
-
*
|
|
169
|
-
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
143
|
+
* **[Deprecated]**
|
|
170
144
|
*
|
|
171
145
|
* @example
|
|
172
146
|
* 1
|
|
@@ -201,12 +175,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
201
175
|
cmsEnabled?: boolean;
|
|
202
176
|
/**
|
|
203
177
|
* @remarks
|
|
204
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
205
|
-
*
|
|
206
|
-
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
207
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
208
|
-
*
|
|
209
|
-
* Default value: `none`.
|
|
178
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
210
179
|
*
|
|
211
180
|
* @example
|
|
212
181
|
* none
|
|
@@ -214,18 +183,13 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
214
183
|
cpuPolicy?: string;
|
|
215
184
|
/**
|
|
216
185
|
* @remarks
|
|
217
|
-
* The node labels.
|
|
186
|
+
* The node labels. Labels are added to the nodes in the Kubernetes cluster.
|
|
218
187
|
*/
|
|
219
188
|
labels?: Tag[];
|
|
220
189
|
/**
|
|
221
190
|
* @remarks
|
|
222
191
|
* The node name consists of three parts: prefix + node IP + suffix:
|
|
223
192
|
*
|
|
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 full private IP address of the node.
|
|
226
|
-
*
|
|
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
|
-
*
|
|
229
193
|
* @example
|
|
230
194
|
* customized,aliyun,ip,com
|
|
231
195
|
*/
|
|
@@ -233,9 +197,9 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
233
197
|
/**
|
|
234
198
|
* @remarks
|
|
235
199
|
* The container runtime. Valid values:
|
|
236
|
-
* - `containerd`: Recommended.
|
|
237
|
-
* - `Sandboxed-Container.runv`: Sandboxed container
|
|
238
|
-
* - `docker`:
|
|
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.
|
|
239
203
|
*
|
|
240
204
|
* Default value: `containerd`
|
|
241
205
|
*
|
|
@@ -262,7 +226,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
262
226
|
taints?: Taint[];
|
|
263
227
|
/**
|
|
264
228
|
* @remarks
|
|
265
|
-
* The
|
|
229
|
+
* The custom data for nodes.
|
|
266
230
|
*
|
|
267
231
|
* @example
|
|
268
232
|
* MXM=
|
|
@@ -362,9 +326,6 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
362
326
|
* @remarks
|
|
363
327
|
* Specifies whether to enable auto upgrade. Valid values:
|
|
364
328
|
*
|
|
365
|
-
* - `true`: Enable auto upgrade.
|
|
366
|
-
* - `false`: Disable auto upgrade.
|
|
367
|
-
*
|
|
368
329
|
* @example
|
|
369
330
|
* false
|
|
370
331
|
*/
|
|
@@ -373,8 +334,6 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
373
334
|
* @remarks
|
|
374
335
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
375
336
|
*
|
|
376
|
-
* Default value: 1.
|
|
377
|
-
*
|
|
378
337
|
* @example
|
|
379
338
|
* 0
|
|
380
339
|
*/
|
|
@@ -389,7 +348,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
389
348
|
surge?: number;
|
|
390
349
|
/**
|
|
391
350
|
* @remarks
|
|
392
|
-
* The percentage of extra nodes.
|
|
351
|
+
* The percentage of extra nodes. You can set either this parameter or `surge`.
|
|
393
352
|
*
|
|
394
353
|
* @example
|
|
395
354
|
* 0
|
|
@@ -416,8 +375,8 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
416
375
|
* @remarks
|
|
417
376
|
* Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
|
|
418
377
|
*
|
|
419
|
-
* - `true`:
|
|
420
|
-
* - `false`:
|
|
378
|
+
* - `true`: Enables automatic repair.
|
|
379
|
+
* - `false`: Disables automatic repair.
|
|
421
380
|
*
|
|
422
381
|
* @example
|
|
423
382
|
* false
|
|
@@ -463,9 +422,6 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
463
422
|
* @remarks
|
|
464
423
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
465
424
|
*
|
|
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`.
|
|
468
|
-
*
|
|
469
425
|
* @example
|
|
470
426
|
* false
|
|
471
427
|
*/
|
|
@@ -491,7 +447,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
491
447
|
export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
492
448
|
/**
|
|
493
449
|
* @remarks
|
|
494
|
-
* The custom node
|
|
450
|
+
* The custom configuration of node components.
|
|
495
451
|
*
|
|
496
452
|
* @example
|
|
497
453
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -546,7 +502,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
546
502
|
export declare class NodepoolNodeConfig extends $dara.Model {
|
|
547
503
|
/**
|
|
548
504
|
* @remarks
|
|
549
|
-
* The
|
|
505
|
+
* The kubelet parameter settings.
|
|
550
506
|
*/
|
|
551
507
|
kubeletConfiguration?: KubeletConfig;
|
|
552
508
|
static names(): {
|
|
@@ -583,9 +539,6 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
583
539
|
* @remarks
|
|
584
540
|
* The node pool type. Valid values:
|
|
585
541
|
*
|
|
586
|
-
* - `ess`: node pool.
|
|
587
|
-
* - `edge`: edge node pool.
|
|
588
|
-
*
|
|
589
542
|
* @example
|
|
590
543
|
* ess
|
|
591
544
|
*/
|
|
@@ -605,8 +558,6 @@ export declare class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
|
605
558
|
/**
|
|
606
559
|
* @remarks
|
|
607
560
|
* Specifies whether to enable nested virtualization. Valid values:
|
|
608
|
-
* disabled: Disable nested virtualization.
|
|
609
|
-
* enabled: Enable nested virtualization.
|
|
610
561
|
*
|
|
611
562
|
* @example
|
|
612
563
|
* enabled
|
|
@@ -634,13 +585,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
634
585
|
id?: string;
|
|
635
586
|
/**
|
|
636
587
|
* @remarks
|
|
637
|
-
* The private node pool
|
|
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:
|
|
638
589
|
*
|
|
639
|
-
* - `Open`: open mode.
|
|
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.
|
|
640
591
|
*
|
|
641
|
-
* - `Target`: targeted mode.
|
|
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.
|
|
642
593
|
*
|
|
643
|
-
* - `None`: none mode. The instance does not use private pool capacity
|
|
594
|
+
* - `None`: none mode. The instance does not use private pool capacity during startup.
|
|
644
595
|
*
|
|
645
596
|
* @example
|
|
646
597
|
* Open
|
|
@@ -660,15 +611,17 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
660
611
|
export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
661
612
|
/**
|
|
662
613
|
* @remarks
|
|
663
|
-
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be
|
|
614
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
664
615
|
*/
|
|
665
616
|
privatePoolIds?: string[];
|
|
666
617
|
/**
|
|
667
618
|
* @remarks
|
|
668
|
-
* The resource pool
|
|
669
|
-
*
|
|
670
|
-
*
|
|
671
|
-
*
|
|
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
|
+
*
|
|
672
625
|
* Default value: None.
|
|
673
626
|
*
|
|
674
627
|
* @example
|
|
@@ -697,7 +650,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
697
650
|
instanceType?: string;
|
|
698
651
|
/**
|
|
699
652
|
* @remarks
|
|
700
|
-
* The maximum price
|
|
653
|
+
* The maximum price for a single instance.
|
|
701
654
|
*
|
|
702
655
|
* @example
|
|
703
656
|
* 0.39
|
|
@@ -747,11 +700,6 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
747
700
|
* @remarks
|
|
748
701
|
* 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:
|
|
749
702
|
*
|
|
750
|
-
* - `true`: Enables auto-renewal.
|
|
751
|
-
* - `false`: Disables auto-renewal.
|
|
752
|
-
*
|
|
753
|
-
* Default value: `true`.
|
|
754
|
-
*
|
|
755
703
|
* @example
|
|
756
704
|
* false
|
|
757
705
|
*/
|
|
@@ -760,17 +708,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
760
708
|
* @remarks
|
|
761
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`.
|
|
762
710
|
*
|
|
763
|
-
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
764
|
-
*
|
|
765
|
-
* Default value: 1.
|
|
766
|
-
*
|
|
767
711
|
* @example
|
|
768
712
|
* 0
|
|
769
713
|
*/
|
|
770
714
|
autoRenewPeriod?: number;
|
|
771
715
|
/**
|
|
772
716
|
* @remarks
|
|
773
|
-
*
|
|
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:
|
|
774
718
|
*
|
|
775
719
|
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
776
720
|
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
@@ -820,7 +764,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
820
764
|
imageId?: string;
|
|
821
765
|
/**
|
|
822
766
|
* @remarks
|
|
823
|
-
* The operating system image type.
|
|
767
|
+
* The operating system image type. You can specify either this parameter or the platform parameter. Valid values:
|
|
824
768
|
*
|
|
825
769
|
* - `AliyunLinux`: Alinux2 image.
|
|
826
770
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -839,11 +783,6 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
839
783
|
* @remarks
|
|
840
784
|
* The billing method for nodes in the node pool. Valid values:
|
|
841
785
|
*
|
|
842
|
-
* - `PrePaid`: subscription.
|
|
843
|
-
* - `PostPaid`: pay-as-you-go.
|
|
844
|
-
*
|
|
845
|
-
* Default value: `PostPaid`.
|
|
846
|
-
*
|
|
847
786
|
* This parameter is required.
|
|
848
787
|
*
|
|
849
788
|
* @example
|
|
@@ -853,7 +792,6 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
853
792
|
/**
|
|
854
793
|
* @remarks
|
|
855
794
|
* 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.
|
|
857
795
|
*/
|
|
858
796
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
859
797
|
/**
|
|
@@ -865,10 +803,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
865
803
|
instanceTypes?: string[];
|
|
866
804
|
/**
|
|
867
805
|
* @remarks
|
|
868
|
-
* The billing
|
|
869
|
-
*
|
|
870
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
871
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
806
|
+
* The billing type for public IP addresses. Valid values:
|
|
872
807
|
*
|
|
873
808
|
* @example
|
|
874
809
|
* PayByBandwidth
|
|
@@ -876,7 +811,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
876
811
|
internetChargeType?: string;
|
|
877
812
|
/**
|
|
878
813
|
* @remarks
|
|
879
|
-
* The maximum outbound bandwidth for node public IP addresses. Unit:
|
|
814
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbps (Mega bit per second). Valid values: [1,100].
|
|
880
815
|
*
|
|
881
816
|
* @example
|
|
882
817
|
* 10
|
|
@@ -886,15 +821,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
886
821
|
* @remarks
|
|
887
822
|
* The key pair name. Specify either this parameter or `login_password`.
|
|
888
823
|
*
|
|
889
|
-
* > For managed node pools, only `key_pair` is supported.
|
|
890
|
-
*
|
|
891
824
|
* @example
|
|
892
825
|
* np-key
|
|
893
826
|
*/
|
|
894
827
|
keyPair?: string;
|
|
895
828
|
/**
|
|
896
829
|
* @remarks
|
|
897
|
-
* Specifies whether scaled-out ECS instances
|
|
830
|
+
* Specifies whether to log on to scaled-out ECS instances as a non-root user.
|
|
898
831
|
*/
|
|
899
832
|
loginAsNonRoot?: boolean;
|
|
900
833
|
/**
|
|
@@ -909,13 +842,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
909
842
|
* @remarks
|
|
910
843
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
911
844
|
*
|
|
912
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N)
|
|
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.
|
|
913
846
|
*
|
|
914
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order
|
|
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.
|
|
915
848
|
*
|
|
916
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
849
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
917
850
|
*
|
|
918
|
-
* - `BALANCE`:
|
|
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).
|
|
919
852
|
*
|
|
920
853
|
* Default value: `PRIORITY`.
|
|
921
854
|
*
|
|
@@ -925,7 +858,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
925
858
|
multiAzPolicy?: string;
|
|
926
859
|
/**
|
|
927
860
|
* @remarks
|
|
928
|
-
* The minimum number of pay-as-you-go instances required
|
|
861
|
+
* 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.
|
|
929
862
|
*
|
|
930
863
|
* @example
|
|
931
864
|
* 0
|
|
@@ -933,7 +866,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
933
866
|
onDemandBaseCapacity?: number;
|
|
934
867
|
/**
|
|
935
868
|
* @remarks
|
|
936
|
-
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100].
|
|
869
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100].
|
|
937
870
|
*
|
|
938
871
|
* @example
|
|
939
872
|
* 20
|
|
@@ -941,9 +874,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
941
874
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
942
875
|
/**
|
|
943
876
|
* @remarks
|
|
944
|
-
* 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`.
|
|
945
|
-
*
|
|
946
|
-
* Default value: 1.
|
|
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}.
|
|
947
878
|
*
|
|
948
879
|
* @example
|
|
949
880
|
* 0
|
|
@@ -953,8 +884,6 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
953
884
|
* @remarks
|
|
954
885
|
* The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
955
886
|
*
|
|
956
|
-
* `Month`: Currently, only monthly billing is supported.
|
|
957
|
-
*
|
|
958
887
|
* @example
|
|
959
888
|
* Month
|
|
960
889
|
*/
|
|
@@ -963,13 +892,6 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
963
892
|
* @remarks
|
|
964
893
|
* The operating system distribution. Valid values:
|
|
965
894
|
*
|
|
966
|
-
* - `CentOS`
|
|
967
|
-
* - `AliyunLinux`
|
|
968
|
-
* - `Windows`
|
|
969
|
-
* - `WindowsCore`
|
|
970
|
-
*
|
|
971
|
-
* Default value: `AliyunLinux`.
|
|
972
|
-
*
|
|
973
895
|
* @example
|
|
974
896
|
* AliyunLinux
|
|
975
897
|
*
|
|
@@ -984,7 +906,6 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
984
906
|
/**
|
|
985
907
|
* @remarks
|
|
986
908
|
* The Worker RAM role name.
|
|
987
|
-
* >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
|
|
988
909
|
*
|
|
989
910
|
* @example
|
|
990
911
|
* example-role
|
|
@@ -997,27 +918,20 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
997
918
|
rdsInstances?: string[];
|
|
998
919
|
/**
|
|
999
920
|
* @remarks
|
|
1000
|
-
* The resource pool and resource pool policy used when creating instances.
|
|
1001
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1002
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
921
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
1003
922
|
*/
|
|
1004
923
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1005
924
|
/**
|
|
1006
925
|
* @remarks
|
|
1007
926
|
* The scaling group mode. Valid values:
|
|
1008
927
|
*
|
|
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.)
|
|
1011
|
-
*
|
|
1012
|
-
* Default value: `release`.
|
|
1013
|
-
*
|
|
1014
928
|
* @example
|
|
1015
929
|
* release
|
|
1016
930
|
*/
|
|
1017
931
|
scalingPolicy?: string;
|
|
1018
932
|
/**
|
|
1019
933
|
* @remarks
|
|
1020
|
-
* The security group ID
|
|
934
|
+
* The security group ID of the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
1021
935
|
*
|
|
1022
936
|
* @example
|
|
1023
937
|
* sg-2zeihch86ooz9io4****
|
|
@@ -1025,12 +939,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1025
939
|
securityGroupId?: string;
|
|
1026
940
|
/**
|
|
1027
941
|
* @remarks
|
|
1028
|
-
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`.
|
|
942
|
+
* 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.
|
|
1029
943
|
*/
|
|
1030
944
|
securityGroupIds?: string[];
|
|
1031
945
|
/**
|
|
1032
946
|
* @remarks
|
|
1033
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
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].
|
|
1034
948
|
*
|
|
1035
949
|
* @example
|
|
1036
950
|
* 5
|
|
@@ -1038,10 +952,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1038
952
|
spotInstancePools?: number;
|
|
1039
953
|
/**
|
|
1040
954
|
* @remarks
|
|
1041
|
-
* Specifies whether to enable spot
|
|
1042
|
-
*
|
|
1043
|
-
* - `true`: Enables spot instance supplementation.
|
|
1044
|
-
* - `false`: Disables spot instance supplementation.
|
|
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:
|
|
1045
956
|
*
|
|
1046
957
|
* @example
|
|
1047
958
|
* false
|
|
@@ -1049,17 +960,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1049
960
|
spotInstanceRemedy?: boolean;
|
|
1050
961
|
/**
|
|
1051
962
|
* @remarks
|
|
1052
|
-
* The
|
|
963
|
+
* The price range configuration for a single spot instance type.
|
|
1053
964
|
*/
|
|
1054
965
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1055
966
|
/**
|
|
1056
967
|
* @remarks
|
|
1057
|
-
* The
|
|
1058
|
-
* - NoSpot: non-spot instance.
|
|
1059
|
-
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1060
|
-
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1061
|
-
*
|
|
1062
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
968
|
+
* The spot instance type. Valid values:
|
|
1063
969
|
*
|
|
1064
970
|
* @example
|
|
1065
971
|
* NoSpot
|
|
@@ -1067,12 +973,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1067
973
|
spotStrategy?: string;
|
|
1068
974
|
/**
|
|
1069
975
|
* @remarks
|
|
1070
|
-
* Specifies whether to enable burst (
|
|
1071
|
-
*
|
|
1072
|
-
* - true: Enabled.
|
|
1073
|
-
* - false: Disabled.
|
|
1074
|
-
*
|
|
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).
|
|
976
|
+
* Specifies whether to enable burst (I/O burst) for the node system cloud disk. Valid values:
|
|
1076
977
|
*
|
|
1077
978
|
* @example
|
|
1078
979
|
* true
|
|
@@ -1080,25 +981,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1080
981
|
systemDiskBurstingEnabled?: boolean;
|
|
1081
982
|
/**
|
|
1082
983
|
* @remarks
|
|
1083
|
-
* The multiple cloud disk types for the system cloud disk.
|
|
1084
|
-
*
|
|
1085
|
-
* - cloud: basic cloud disk.
|
|
1086
|
-
* - cloud_efficiency: ultra cloud disk.
|
|
1087
|
-
* - cloud_ssd: standard SSD.
|
|
1088
|
-
* - cloud_essd: ESSD.
|
|
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:
|
|
1089
985
|
*/
|
|
1090
986
|
systemDiskCategories?: string[];
|
|
1091
987
|
/**
|
|
1092
988
|
* @remarks
|
|
1093
|
-
* The type of the system cloud disk
|
|
1094
|
-
*
|
|
1095
|
-
* - `cloud_efficiency`: ultra cloud disk.
|
|
1096
|
-
* - `cloud_ssd`: standard SSD.
|
|
1097
|
-
* - `cloud_essd`: ESSD.
|
|
1098
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1099
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1100
|
-
*
|
|
1101
|
-
* Default value: `cloud_efficiency`.
|
|
989
|
+
* The type of the node system cloud disk. Valid values:
|
|
1102
990
|
*
|
|
1103
991
|
* @example
|
|
1104
992
|
* cloud_efficiency
|
|
@@ -1106,7 +994,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1106
994
|
systemDiskCategory?: string;
|
|
1107
995
|
/**
|
|
1108
996
|
* @remarks
|
|
1109
|
-
* The encryption algorithm for the node system cloud disk. Valid values: aes-256.
|
|
997
|
+
* The encryption algorithm used for the node system cloud disk. Valid values: aes-256.
|
|
1110
998
|
*
|
|
1111
999
|
* @example
|
|
1112
1000
|
* aes-256
|
|
@@ -1114,12 +1002,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1114
1002
|
systemDiskEncryptAlgorithm?: string;
|
|
1115
1003
|
/**
|
|
1116
1004
|
* @remarks
|
|
1117
|
-
* Specifies whether to encrypt the system cloud disk. Valid values: true:
|
|
1005
|
+
* Specifies whether to encrypt the system cloud disk. Valid values: true: Encrypt. false: Do not encrypt.
|
|
1118
1006
|
*/
|
|
1119
1007
|
systemDiskEncrypted?: boolean;
|
|
1120
1008
|
/**
|
|
1121
1009
|
* @remarks
|
|
1122
|
-
* The KMS key ID used
|
|
1010
|
+
* The KMS key ID used for the node system cloud disk.
|
|
1123
1011
|
*
|
|
1124
1012
|
* @example
|
|
1125
1013
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1127,7 +1015,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1127
1015
|
systemDiskKmsKeyId?: string;
|
|
1128
1016
|
/**
|
|
1129
1017
|
* @remarks
|
|
1130
|
-
* The performance level of the system cloud disk for nodes.
|
|
1018
|
+
* The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs.
|
|
1131
1019
|
*
|
|
1132
1020
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1133
1021
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
@@ -1140,9 +1028,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1140
1028
|
systemDiskPerformanceLevel?: string;
|
|
1141
1029
|
/**
|
|
1142
1030
|
* @remarks
|
|
1143
|
-
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0
|
|
1144
|
-
*
|
|
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).
|
|
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}.
|
|
1146
1032
|
*
|
|
1147
1033
|
* @example
|
|
1148
1034
|
* 1000
|
|
@@ -1150,9 +1036,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1150
1036
|
systemDiskProvisionedIops?: number;
|
|
1151
1037
|
/**
|
|
1152
1038
|
* @remarks
|
|
1153
|
-
* The size of the system cloud disk
|
|
1154
|
-
*
|
|
1155
|
-
* Valid values: [40,500].
|
|
1039
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1156
1040
|
*
|
|
1157
1041
|
* @example
|
|
1158
1042
|
* 120
|
|
@@ -1160,9 +1044,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1160
1044
|
systemDiskSize?: number;
|
|
1161
1045
|
/**
|
|
1162
1046
|
* @remarks
|
|
1163
|
-
*
|
|
1164
|
-
*
|
|
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://".
|
|
1047
|
+
* Tags added only to ECS instances.
|
|
1166
1048
|
*/
|
|
1167
1049
|
tags?: NodepoolScalingGroupTags[];
|
|
1168
1050
|
/**
|
|
@@ -1186,7 +1068,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1186
1068
|
export declare class NodepoolTeeConfig extends $dara.Model {
|
|
1187
1069
|
/**
|
|
1188
1070
|
* @remarks
|
|
1189
|
-
*
|
|
1071
|
+
* Indicates whether the node pool is a confidential computing node pool.
|
|
1190
1072
|
*
|
|
1191
1073
|
* This parameter is required.
|
|
1192
1074
|
*
|
|
@@ -1208,14 +1090,12 @@ export declare class NodepoolTeeConfig extends $dara.Model {
|
|
|
1208
1090
|
export declare class Nodepool extends $dara.Model {
|
|
1209
1091
|
/**
|
|
1210
1092
|
* @remarks
|
|
1211
|
-
* The auto scaling
|
|
1093
|
+
* The auto scaling node pool configuration.
|
|
1212
1094
|
*/
|
|
1213
1095
|
autoScaling?: NodepoolAutoScaling;
|
|
1214
1096
|
/**
|
|
1215
1097
|
* @remarks
|
|
1216
|
-
* **
|
|
1217
|
-
*
|
|
1218
|
-
* The number of nodes in the node pool.
|
|
1098
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1219
1099
|
*
|
|
1220
1100
|
* @example
|
|
1221
1101
|
* 1
|
|
@@ -1225,9 +1105,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1225
1105
|
count?: number;
|
|
1226
1106
|
/**
|
|
1227
1107
|
* @remarks
|
|
1228
|
-
* **
|
|
1229
|
-
*
|
|
1230
|
-
* The edge node pool configuration.
|
|
1108
|
+
* **[Deprecated]**
|
|
1231
1109
|
*
|
|
1232
1110
|
* @deprecated
|
|
1233
1111
|
*/
|
|
@@ -1236,9 +1114,6 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1236
1114
|
* @remarks
|
|
1237
1115
|
* The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1238
1116
|
*
|
|
1239
|
-
* - `basic`: Basic.
|
|
1240
|
-
* - `private`: Dedicated. Supported in version 1.22 and later.
|
|
1241
|
-
*
|
|
1242
1117
|
* @example
|
|
1243
1118
|
* basic
|
|
1244
1119
|
*/
|
|
@@ -1255,7 +1130,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1255
1130
|
management?: NodepoolManagement;
|
|
1256
1131
|
/**
|
|
1257
1132
|
* @remarks
|
|
1258
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
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.
|
|
1259
1134
|
*
|
|
1260
1135
|
* @example
|
|
1261
1136
|
* 10
|