@alicloud/cs20151215 7.0.1 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +34 -12
- package/dist/client.js +37 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +259 -264
- package/dist/models/CreateClusterNodePoolRequest.js +6 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -229
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +8 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +177 -153
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +8 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +0 -6
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +238 -217
- package/dist/models/ModifyClusterNodePoolRequest.js +27 -1
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +198 -196
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +25 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +38 -12
- package/src/models/CreateClusterNodePoolRequest.ts +265 -264
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +240 -229
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +185 -153
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +255 -217
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- package/src/models/Nodepool.ts +200 -196
- package/src/models/model.ts +1 -0
|
@@ -8,9 +8,9 @@ import { Taint } from "./Taint";
|
|
|
8
8
|
export declare class NodepoolAutoScaling extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
*
|
|
11
|
+
* [This field is deprecated]
|
|
12
12
|
*
|
|
13
|
-
* EIP
|
|
13
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 5
|
|
@@ -20,14 +20,14 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
20
20
|
eipBandwidth?: number;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
*
|
|
23
|
+
* [This field is deprecated]
|
|
24
24
|
*
|
|
25
|
-
* EIP
|
|
25
|
+
* The billing method of the EIP. Valid values:
|
|
26
26
|
*
|
|
27
|
-
* - `PayByBandwidth
|
|
28
|
-
* - `PayByTraffic
|
|
27
|
+
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
28
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
29
29
|
*
|
|
30
|
-
*
|
|
30
|
+
* Default value: PayByBandwidth.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* PayByBandwidth
|
|
@@ -37,12 +37,12 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
37
37
|
eipInternetChargeType?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* Specifies whether to enable auto scaling.
|
|
41
41
|
*
|
|
42
|
-
* - `true
|
|
43
|
-
* - `false
|
|
42
|
+
* - `true`: Enables the auto scaling feature for the node pool.
|
|
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`.
|
|
46
46
|
*
|
|
47
47
|
* This parameter is required.
|
|
48
48
|
*
|
|
@@ -52,14 +52,14 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
52
52
|
enable?: boolean;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
*
|
|
55
|
+
* [This field is deprecated]
|
|
56
56
|
*
|
|
57
|
-
*
|
|
57
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
58
58
|
*
|
|
59
|
-
* - `true
|
|
60
|
-
* - `false
|
|
59
|
+
* - `true`: Associates an EIP.
|
|
60
|
+
* - `false`: Does not associate an EIP.
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
* Default value: `false`.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* true
|
|
@@ -69,7 +69,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
69
69
|
isBondEip?: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
*
|
|
72
|
+
* The maximum number of instances in the auto scaling group.
|
|
73
73
|
*
|
|
74
74
|
* This parameter is required.
|
|
75
75
|
*
|
|
@@ -79,7 +79,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
79
79
|
maxInstances?: number;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
*
|
|
82
|
+
* The minimum number of instances in the auto scaling group.
|
|
83
83
|
*
|
|
84
84
|
* This parameter is required.
|
|
85
85
|
*
|
|
@@ -89,14 +89,14 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
89
89
|
minInstances?: number;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
*
|
|
92
|
+
* The auto scaling type, classified by instance type. Valid values:
|
|
93
93
|
*
|
|
94
|
-
* - `cpu
|
|
95
|
-
* - `gpu
|
|
96
|
-
* - `gpushare
|
|
97
|
-
* - `spot
|
|
94
|
+
* - `cpu`: regular instance type.
|
|
95
|
+
* - `gpu`: GPU instance type.
|
|
96
|
+
* - `gpushare`: GPU shared type.
|
|
97
|
+
* - `spot`: spot instance type.
|
|
98
98
|
*
|
|
99
|
-
*
|
|
99
|
+
* Default value: `cpu`.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* cpu
|
|
@@ -188,12 +188,12 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
188
188
|
export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
189
189
|
/**
|
|
190
190
|
* @remarks
|
|
191
|
-
*
|
|
191
|
+
* 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
192
|
*
|
|
193
|
-
* - `true
|
|
194
|
-
* - `false
|
|
193
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
194
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
195
195
|
*
|
|
196
|
-
*
|
|
196
|
+
* Default value: `false`.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* true
|
|
@@ -201,12 +201,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
201
201
|
cmsEnabled?: boolean;
|
|
202
202
|
/**
|
|
203
203
|
* @remarks
|
|
204
|
-
*
|
|
204
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
205
205
|
*
|
|
206
|
-
* - `static
|
|
207
|
-
* - `none
|
|
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
208
|
*
|
|
209
|
-
*
|
|
209
|
+
* Default value: `none`.
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* none
|
|
@@ -214,17 +214,17 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
214
214
|
cpuPolicy?: string;
|
|
215
215
|
/**
|
|
216
216
|
* @remarks
|
|
217
|
-
*
|
|
217
|
+
* The node labels. Adds labels to Kubernetes cluster nodes.
|
|
218
218
|
*/
|
|
219
219
|
labels?: Tag[];
|
|
220
220
|
/**
|
|
221
221
|
* @remarks
|
|
222
|
-
*
|
|
222
|
+
* The node name consists of three parts: prefix + node IP + suffix:
|
|
223
223
|
*
|
|
224
|
-
* -
|
|
225
|
-
* -
|
|
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 complete 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
|
*
|
|
229
229
|
* @example
|
|
230
230
|
* customized,aliyun,ip,com
|
|
@@ -232,12 +232,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
232
232
|
nodeNameMode?: string;
|
|
233
233
|
/**
|
|
234
234
|
* @remarks
|
|
235
|
-
*
|
|
236
|
-
* - `containerd
|
|
237
|
-
* - `Sandboxed-Container.runv
|
|
238
|
-
* - `docker
|
|
235
|
+
* The container runtime. Valid values:
|
|
236
|
+
* - `containerd`: Recommended. Supports all cluster versions.
|
|
237
|
+
* - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation. Supports clusters of version 1.24 or earlier.
|
|
238
|
+
* - `docker`: Supports clusters of version 1.22 or earlier.
|
|
239
239
|
*
|
|
240
|
-
*
|
|
240
|
+
* Default value: `containerd`
|
|
241
241
|
*
|
|
242
242
|
* This parameter is required.
|
|
243
243
|
*
|
|
@@ -247,7 +247,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
247
247
|
runtime?: string;
|
|
248
248
|
/**
|
|
249
249
|
* @remarks
|
|
250
|
-
*
|
|
250
|
+
* The container runtime version.
|
|
251
251
|
*
|
|
252
252
|
* This parameter is required.
|
|
253
253
|
*
|
|
@@ -257,12 +257,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
257
257
|
runtimeVersion?: string;
|
|
258
258
|
/**
|
|
259
259
|
* @remarks
|
|
260
|
-
*
|
|
260
|
+
* The taint configuration.
|
|
261
261
|
*/
|
|
262
262
|
taints?: Taint[];
|
|
263
263
|
/**
|
|
264
264
|
* @remarks
|
|
265
|
-
*
|
|
265
|
+
* The node custom data.
|
|
266
266
|
*
|
|
267
267
|
* @example
|
|
268
268
|
* MXM=
|
|
@@ -282,7 +282,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
282
282
|
export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
283
283
|
/**
|
|
284
284
|
* @remarks
|
|
285
|
-
*
|
|
285
|
+
* Specifies whether to allow node restart.
|
|
286
286
|
*
|
|
287
287
|
* @example
|
|
288
288
|
* true
|
|
@@ -322,7 +322,7 @@ export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
322
322
|
export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
323
323
|
/**
|
|
324
324
|
* @remarks
|
|
325
|
-
*
|
|
325
|
+
* Specifies whether to allow node restart.
|
|
326
326
|
*
|
|
327
327
|
* @example
|
|
328
328
|
* true
|
|
@@ -350,10 +350,10 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
350
350
|
export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
351
351
|
/**
|
|
352
352
|
* @remarks
|
|
353
|
-
*
|
|
353
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
354
354
|
*
|
|
355
|
-
* - `true
|
|
356
|
-
* - `false
|
|
355
|
+
* - `true`: Enables auto upgrade.
|
|
356
|
+
* - `false`: Disables auto upgrade.
|
|
357
357
|
*
|
|
358
358
|
* @example
|
|
359
359
|
* false
|
|
@@ -361,9 +361,9 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
361
361
|
autoUpgrade?: boolean;
|
|
362
362
|
/**
|
|
363
363
|
* @remarks
|
|
364
|
-
*
|
|
364
|
+
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
365
365
|
*
|
|
366
|
-
*
|
|
366
|
+
* Default value: 1.
|
|
367
367
|
*
|
|
368
368
|
* @example
|
|
369
369
|
* 0
|
|
@@ -371,7 +371,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
371
371
|
maxUnavailable?: number;
|
|
372
372
|
/**
|
|
373
373
|
* @remarks
|
|
374
|
-
*
|
|
374
|
+
* The number of extra nodes.
|
|
375
375
|
*
|
|
376
376
|
* @example
|
|
377
377
|
* 0
|
|
@@ -379,7 +379,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
379
379
|
surge?: number;
|
|
380
380
|
/**
|
|
381
381
|
* @remarks
|
|
382
|
-
*
|
|
382
|
+
* The extra node percentage. Specify either this parameter or `surge`.
|
|
383
383
|
*
|
|
384
384
|
* @example
|
|
385
385
|
* 0
|
|
@@ -400,10 +400,10 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
400
400
|
autoFaultDiagnosis?: boolean;
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
*
|
|
403
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
|
|
404
404
|
*
|
|
405
|
-
* - `true
|
|
406
|
-
* - `false
|
|
405
|
+
* - `true`: Enables auto repair.
|
|
406
|
+
* - `false`: Disables auto repair.
|
|
407
407
|
*
|
|
408
408
|
* @example
|
|
409
409
|
* false
|
|
@@ -411,7 +411,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
411
411
|
autoRepair?: boolean;
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
*
|
|
414
|
+
* The auto repair node policy.
|
|
415
415
|
*/
|
|
416
416
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
417
417
|
/**
|
|
@@ -429,7 +429,8 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
429
429
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
430
430
|
/**
|
|
431
431
|
* @remarks
|
|
432
|
-
*
|
|
432
|
+
* Specifies whether to automatically fix CVEs.
|
|
433
|
+
* [properties.management.properties.auto_v
|
|
433
434
|
*
|
|
434
435
|
* @example
|
|
435
436
|
* true
|
|
@@ -440,12 +441,13 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
440
441
|
* 自动修复CVE策略。
|
|
441
442
|
*/
|
|
442
443
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
444
|
+
driftEnabled?: boolean;
|
|
443
445
|
/**
|
|
444
446
|
* @remarks
|
|
445
|
-
*
|
|
447
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
446
448
|
*
|
|
447
|
-
* - `true
|
|
448
|
-
* - `false
|
|
449
|
+
* - `true`: Enables the managed node pool.
|
|
450
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
449
451
|
*
|
|
450
452
|
* @example
|
|
451
453
|
* false
|
|
@@ -453,7 +455,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
453
455
|
enable?: boolean;
|
|
454
456
|
/**
|
|
455
457
|
* @remarks
|
|
456
|
-
*
|
|
458
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
457
459
|
*
|
|
458
460
|
* @deprecated
|
|
459
461
|
*/
|
|
@@ -544,7 +546,7 @@ export declare class NodepoolNodeConfig extends $dara.Model {
|
|
|
544
546
|
export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
545
547
|
/**
|
|
546
548
|
* @remarks
|
|
547
|
-
*
|
|
549
|
+
* The node pool name.
|
|
548
550
|
*
|
|
549
551
|
* This parameter is required.
|
|
550
552
|
*
|
|
@@ -554,7 +556,7 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
554
556
|
name?: string;
|
|
555
557
|
/**
|
|
556
558
|
* @remarks
|
|
557
|
-
*
|
|
559
|
+
* The resource group ID of the node pool.
|
|
558
560
|
*
|
|
559
561
|
* @example
|
|
560
562
|
* rg-acfmyvw3wjm****
|
|
@@ -562,10 +564,10 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
562
564
|
resourceGroupId?: string;
|
|
563
565
|
/**
|
|
564
566
|
* @remarks
|
|
565
|
-
*
|
|
567
|
+
* The node pool type. Valid values:
|
|
566
568
|
*
|
|
567
|
-
* - `ess
|
|
568
|
-
* - `edge
|
|
569
|
+
* - `ess`: node pool.
|
|
570
|
+
* - `edge`: edge node pool.
|
|
569
571
|
*
|
|
570
572
|
* @example
|
|
571
573
|
* ess
|
|
@@ -585,7 +587,7 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
585
587
|
export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
586
588
|
/**
|
|
587
589
|
* @remarks
|
|
588
|
-
*
|
|
590
|
+
* The private pool ID.
|
|
589
591
|
*
|
|
590
592
|
* @example
|
|
591
593
|
* eap-bp67acfmxazb4****
|
|
@@ -593,13 +595,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
593
595
|
id?: string;
|
|
594
596
|
/**
|
|
595
597
|
* @remarks
|
|
596
|
-
*
|
|
598
|
+
* The private pool type. The private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to select during launch. Valid values:
|
|
597
599
|
*
|
|
598
|
-
* - `Open
|
|
600
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for launch.
|
|
599
601
|
*
|
|
600
|
-
* - `Target
|
|
602
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
601
603
|
*
|
|
602
|
-
* - `None
|
|
604
|
+
* - `None`: None mode. The instance launch does not use private pool capacity.
|
|
603
605
|
*
|
|
604
606
|
* @example
|
|
605
607
|
* Open
|
|
@@ -619,16 +621,16 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
619
621
|
export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
620
622
|
/**
|
|
621
623
|
* @remarks
|
|
622
|
-
*
|
|
624
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be passed in. Valid values of N: 1 to 20.
|
|
623
625
|
*/
|
|
624
626
|
privatePoolIds?: string[];
|
|
625
627
|
/**
|
|
626
628
|
* @remarks
|
|
627
|
-
*
|
|
628
|
-
* PrivatePoolFirst
|
|
629
|
-
* PrivatePoolOnly
|
|
630
|
-
* None
|
|
631
|
-
*
|
|
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 instances to select during launch. Valid values:
|
|
630
|
+
* 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.
|
|
631
|
+
* 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 launch.
|
|
632
|
+
* None: No resource pool policy is used.
|
|
633
|
+
* Default value: None.
|
|
632
634
|
*
|
|
633
635
|
* @example
|
|
634
636
|
* PrivatePoolFirst
|
|
@@ -648,7 +650,7 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
|
|
|
648
650
|
export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
649
651
|
/**
|
|
650
652
|
* @remarks
|
|
651
|
-
*
|
|
653
|
+
* The spot instance type.
|
|
652
654
|
*
|
|
653
655
|
* @example
|
|
654
656
|
* ecs.c6.large
|
|
@@ -656,7 +658,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
656
658
|
instanceType?: string;
|
|
657
659
|
/**
|
|
658
660
|
* @remarks
|
|
659
|
-
*
|
|
661
|
+
* The maximum price for a single instance.
|
|
660
662
|
*
|
|
661
663
|
* @example
|
|
662
664
|
* 0.39
|
|
@@ -676,7 +678,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
676
678
|
export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
677
679
|
/**
|
|
678
680
|
* @remarks
|
|
679
|
-
*
|
|
681
|
+
* The tag key.
|
|
680
682
|
*
|
|
681
683
|
* @example
|
|
682
684
|
* key
|
|
@@ -684,7 +686,7 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
684
686
|
key?: string;
|
|
685
687
|
/**
|
|
686
688
|
* @remarks
|
|
687
|
-
*
|
|
689
|
+
* The tag value.
|
|
688
690
|
*
|
|
689
691
|
* @example
|
|
690
692
|
* value
|
|
@@ -704,12 +706,12 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
704
706
|
export declare class NodepoolScalingGroup extends $dara.Model {
|
|
705
707
|
/**
|
|
706
708
|
* @remarks
|
|
707
|
-
*
|
|
709
|
+
* 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:
|
|
708
710
|
*
|
|
709
|
-
* - `true
|
|
710
|
-
* - `false
|
|
711
|
+
* - `true`: Enables auto-renewal.
|
|
712
|
+
* - `false`: Disables auto-renewal.
|
|
711
713
|
*
|
|
712
|
-
*
|
|
714
|
+
* Default value: `true`.
|
|
713
715
|
*
|
|
714
716
|
* @example
|
|
715
717
|
* false
|
|
@@ -717,11 +719,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
717
719
|
autoRenew?: boolean;
|
|
718
720
|
/**
|
|
719
721
|
* @remarks
|
|
720
|
-
*
|
|
722
|
+
* The auto-renewal period of the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
721
723
|
*
|
|
722
|
-
*
|
|
724
|
+
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
723
725
|
*
|
|
724
|
-
*
|
|
726
|
+
* Default value: 1.
|
|
725
727
|
*
|
|
726
728
|
* @example
|
|
727
729
|
* 0
|
|
@@ -729,10 +731,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
729
731
|
autoRenewPeriod?: number;
|
|
730
732
|
/**
|
|
731
733
|
* @remarks
|
|
732
|
-
*
|
|
734
|
+
* 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:
|
|
733
735
|
*
|
|
734
|
-
* - `true
|
|
735
|
-
* - `false
|
|
736
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
737
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
736
738
|
*
|
|
737
739
|
* @example
|
|
738
740
|
* true
|
|
@@ -740,12 +742,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
740
742
|
compensateWithOnDemand?: boolean;
|
|
741
743
|
/**
|
|
742
744
|
* @remarks
|
|
743
|
-
*
|
|
745
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
744
746
|
*/
|
|
745
747
|
dataDisks?: DataDisk[];
|
|
746
748
|
/**
|
|
747
749
|
* @remarks
|
|
748
|
-
*
|
|
750
|
+
* The deployment set ID.
|
|
749
751
|
*
|
|
750
752
|
* @example
|
|
751
753
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -753,7 +755,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
753
755
|
deploymentsetId?: string;
|
|
754
756
|
/**
|
|
755
757
|
* @remarks
|
|
756
|
-
*
|
|
758
|
+
* The desired number of nodes in the node pool.
|
|
757
759
|
*
|
|
758
760
|
* @example
|
|
759
761
|
* 2
|
|
@@ -761,12 +763,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
761
763
|
desiredSize?: number;
|
|
762
764
|
/**
|
|
763
765
|
* @remarks
|
|
764
|
-
*
|
|
766
|
+
* The block device initialization configuration.
|
|
765
767
|
*/
|
|
766
768
|
diskInit?: DiskInit[];
|
|
767
769
|
/**
|
|
768
770
|
* @remarks
|
|
769
|
-
*
|
|
771
|
+
* The custom image ID. The system-provided image is used by default.
|
|
770
772
|
*
|
|
771
773
|
* @example
|
|
772
774
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -774,16 +776,16 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
774
776
|
imageId?: string;
|
|
775
777
|
/**
|
|
776
778
|
* @remarks
|
|
777
|
-
*
|
|
779
|
+
* The operating system image type. Specify either this parameter or the platform parameter. Valid values:
|
|
778
780
|
*
|
|
779
|
-
* - `AliyunLinux
|
|
780
|
-
* - `AliyunLinux3
|
|
781
|
-
* - `AliyunLinux3Arm64
|
|
782
|
-
* - `AliyunLinuxUEFI
|
|
783
|
-
* - `CentOS
|
|
784
|
-
* - `Windows
|
|
785
|
-
* - `WindowsCore
|
|
786
|
-
* - `ContainerOS
|
|
781
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
782
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
783
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
784
|
+
* - `AliyunLinuxUEFI`: Alinux2 UEFI image.
|
|
785
|
+
* - `CentOS`: CentOS image.
|
|
786
|
+
* - `Windows`: Windows image.
|
|
787
|
+
* - `WindowsCore`: WindowsCore image.
|
|
788
|
+
* - `ContainerOS`: container-optimized image.
|
|
787
789
|
*
|
|
788
790
|
* @example
|
|
789
791
|
* AliyunLinux
|
|
@@ -791,12 +793,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
791
793
|
imageType?: string;
|
|
792
794
|
/**
|
|
793
795
|
* @remarks
|
|
794
|
-
*
|
|
796
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
795
797
|
*
|
|
796
|
-
* - `PrePaid
|
|
797
|
-
* - `PostPaid
|
|
798
|
+
* - `PrePaid`: subscription.
|
|
799
|
+
* - `PostPaid`: pay-as-you-go.
|
|
798
800
|
*
|
|
799
|
-
*
|
|
801
|
+
* Default value: `PostPaid`.
|
|
800
802
|
*
|
|
801
803
|
* This parameter is required.
|
|
802
804
|
*
|
|
@@ -806,23 +808,23 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
806
808
|
instanceChargeType?: string;
|
|
807
809
|
/**
|
|
808
810
|
* @remarks
|
|
809
|
-
* ECS
|
|
810
|
-
*
|
|
811
|
+
* The ECS instance metadata access configuration.
|
|
812
|
+
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to apply.
|
|
811
813
|
*/
|
|
812
814
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
813
815
|
/**
|
|
814
816
|
* @remarks
|
|
815
|
-
*
|
|
817
|
+
* The instance types.
|
|
816
818
|
*
|
|
817
819
|
* This parameter is required.
|
|
818
820
|
*/
|
|
819
821
|
instanceTypes?: string[];
|
|
820
822
|
/**
|
|
821
823
|
* @remarks
|
|
822
|
-
*
|
|
824
|
+
* The billing method for public IP addresses. Valid values:
|
|
823
825
|
*
|
|
824
|
-
* - `PayByBandwidth
|
|
825
|
-
* - `PayByTraffic
|
|
826
|
+
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
827
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
826
828
|
*
|
|
827
829
|
* @example
|
|
828
830
|
* PayByBandwidth
|
|
@@ -830,7 +832,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
830
832
|
internetChargeType?: string;
|
|
831
833
|
/**
|
|
832
834
|
* @remarks
|
|
833
|
-
*
|
|
835
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbit/s. Valid values: [1,100].
|
|
834
836
|
*
|
|
835
837
|
* @example
|
|
836
838
|
* 10
|
|
@@ -838,9 +840,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
838
840
|
internetMaxBandwidthOut?: number;
|
|
839
841
|
/**
|
|
840
842
|
* @remarks
|
|
841
|
-
*
|
|
843
|
+
* The key pair name. Specify either this parameter or `login_password`.
|
|
842
844
|
*
|
|
843
|
-
* >
|
|
845
|
+
* > If you create a managed node pool, only `key_pair` is supported.
|
|
844
846
|
*
|
|
845
847
|
* @example
|
|
846
848
|
* np-key
|
|
@@ -848,12 +850,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
848
850
|
keyPair?: string;
|
|
849
851
|
/**
|
|
850
852
|
* @remarks
|
|
851
|
-
*
|
|
853
|
+
* Specifies whether to use a non-root user to log on to scaled-out ECS instances.
|
|
852
854
|
*/
|
|
853
855
|
loginAsNonRoot?: boolean;
|
|
854
856
|
/**
|
|
855
857
|
* @remarks
|
|
856
|
-
* SSH
|
|
858
|
+
* The SSH logon password. Specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
857
859
|
*
|
|
858
860
|
* @example
|
|
859
861
|
* Hello1234
|
|
@@ -861,17 +863,17 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
861
863
|
loginPassword?: string;
|
|
862
864
|
/**
|
|
863
865
|
* @remarks
|
|
864
|
-
*
|
|
866
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
865
867
|
*
|
|
866
|
-
* - `PRIORITY
|
|
868
|
+
* - `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.
|
|
867
869
|
*
|
|
868
|
-
* - `COST_OPTIMIZED
|
|
870
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with 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 or other reasons.
|
|
869
871
|
*
|
|
870
|
-
* >`COST_OPTIMIZED
|
|
872
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
871
873
|
*
|
|
872
|
-
* - `BALANCE
|
|
874
|
+
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory or other reasons, you can use the API RebalanceInstances to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
873
875
|
*
|
|
874
|
-
*
|
|
876
|
+
* Default value: `PRIORITY`.
|
|
875
877
|
*
|
|
876
878
|
* @example
|
|
877
879
|
* COST_OPTIMIZED
|
|
@@ -879,7 +881,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
879
881
|
multiAzPolicy?: string;
|
|
880
882
|
/**
|
|
881
883
|
* @remarks
|
|
882
|
-
*
|
|
884
|
+
* 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.
|
|
883
885
|
*
|
|
884
886
|
* @example
|
|
885
887
|
* 0
|
|
@@ -887,7 +889,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
887
889
|
onDemandBaseCapacity?: number;
|
|
888
890
|
/**
|
|
889
891
|
* @remarks
|
|
890
|
-
*
|
|
892
|
+
* 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].
|
|
891
893
|
*
|
|
892
894
|
* @example
|
|
893
895
|
* 20
|
|
@@ -895,9 +897,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
895
897
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
896
898
|
/**
|
|
897
899
|
* @remarks
|
|
898
|
-
*
|
|
900
|
+
* 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`. When `period_unit` is set to Month, valid values for `period`: {1, 2, 3, 6, 12}.
|
|
899
901
|
*
|
|
900
|
-
*
|
|
902
|
+
* Default value: 1.
|
|
901
903
|
*
|
|
902
904
|
* @example
|
|
903
905
|
* 0
|
|
@@ -905,9 +907,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
905
907
|
period?: number;
|
|
906
908
|
/**
|
|
907
909
|
* @remarks
|
|
908
|
-
*
|
|
910
|
+
* The subscription period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
909
911
|
*
|
|
910
|
-
* `Month
|
|
912
|
+
* `Month`: Currently only month is supported as the unit.
|
|
911
913
|
*
|
|
912
914
|
* @example
|
|
913
915
|
* Month
|
|
@@ -915,14 +917,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
915
917
|
periodUnit?: string;
|
|
916
918
|
/**
|
|
917
919
|
* @remarks
|
|
918
|
-
*
|
|
920
|
+
* The operating system distribution. Valid values:
|
|
919
921
|
*
|
|
920
922
|
* - `CentOS`
|
|
921
923
|
* - `AliyunLinux`
|
|
922
924
|
* - `Windows`
|
|
923
925
|
* - `WindowsCore`
|
|
924
926
|
*
|
|
925
|
-
*
|
|
927
|
+
* Default value: `AliyunLinux`.
|
|
926
928
|
*
|
|
927
929
|
* @example
|
|
928
930
|
* AliyunLinux
|
|
@@ -932,13 +934,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
932
934
|
platform?: string;
|
|
933
935
|
/**
|
|
934
936
|
* @remarks
|
|
935
|
-
*
|
|
937
|
+
* The private pool configuration.
|
|
936
938
|
*/
|
|
937
939
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
938
940
|
/**
|
|
939
941
|
* @remarks
|
|
940
|
-
* Worker RAM
|
|
941
|
-
* >Notice:
|
|
942
|
+
* The Worker RAM role name.
|
|
943
|
+
* >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
|
|
942
944
|
*
|
|
943
945
|
* @example
|
|
944
946
|
* example-role
|
|
@@ -946,24 +948,24 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
946
948
|
ramRoleName?: string;
|
|
947
949
|
/**
|
|
948
950
|
* @remarks
|
|
949
|
-
* RDS
|
|
951
|
+
* The list of RDS instances.
|
|
950
952
|
*/
|
|
951
953
|
rdsInstances?: string[];
|
|
952
954
|
/**
|
|
953
955
|
* @remarks
|
|
954
|
-
*
|
|
955
|
-
*
|
|
956
|
-
*
|
|
956
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
957
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
958
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
957
959
|
*/
|
|
958
960
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
959
961
|
/**
|
|
960
962
|
* @remarks
|
|
961
|
-
*
|
|
963
|
+
* The scaling group mode. Valid values:
|
|
962
964
|
*
|
|
963
|
-
* - `release
|
|
964
|
-
* - `recycle
|
|
965
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
966
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances to improve the speed of subsequent scaling operations (compute resources are not charged during stop, only storage fees are charged, except for local disk instance types).
|
|
965
967
|
*
|
|
966
|
-
*
|
|
968
|
+
* Default value: `release`.
|
|
967
969
|
*
|
|
968
970
|
* @example
|
|
969
971
|
* release
|
|
@@ -971,7 +973,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
971
973
|
scalingPolicy?: string;
|
|
972
974
|
/**
|
|
973
975
|
* @remarks
|
|
974
|
-
*
|
|
976
|
+
* The security group ID of the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
975
977
|
*
|
|
976
978
|
* @example
|
|
977
979
|
* sg-2zeihch86ooz9io4****
|
|
@@ -979,12 +981,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
979
981
|
securityGroupId?: string;
|
|
980
982
|
/**
|
|
981
983
|
* @remarks
|
|
982
|
-
*
|
|
984
|
+
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. When both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
983
985
|
*/
|
|
984
986
|
securityGroupIds?: string[];
|
|
985
987
|
/**
|
|
986
988
|
* @remarks
|
|
987
|
-
*
|
|
989
|
+
* The number of available instance types. The scaling group creates spot instances across the lowest-cost instance types in a balanced manner. Valid values: [1,10].
|
|
988
990
|
*
|
|
989
991
|
* @example
|
|
990
992
|
* 5
|
|
@@ -992,10 +994,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
992
994
|
spotInstancePools?: number;
|
|
993
995
|
/**
|
|
994
996
|
* @remarks
|
|
995
|
-
*
|
|
997
|
+
* 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 upon receiving a system notification. Valid values:
|
|
996
998
|
*
|
|
997
|
-
* - `true
|
|
998
|
-
* - `false
|
|
999
|
+
* - `true`: Enables supplementing spot instances.
|
|
1000
|
+
* - `false`: Disables supplementing spot instances.
|
|
999
1001
|
*
|
|
1000
1002
|
* @example
|
|
1001
1003
|
* false
|
|
@@ -1003,17 +1005,17 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1003
1005
|
spotInstanceRemedy?: boolean;
|
|
1004
1006
|
/**
|
|
1005
1007
|
* @remarks
|
|
1006
|
-
*
|
|
1008
|
+
* The market price range configuration for a single spot instance type.
|
|
1007
1009
|
*/
|
|
1008
1010
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1009
1011
|
/**
|
|
1010
1012
|
* @remarks
|
|
1011
|
-
*
|
|
1012
|
-
* - NoSpot
|
|
1013
|
-
* - SpotWithPriceLimit
|
|
1014
|
-
* - SpotAsPriceGo
|
|
1013
|
+
* The type of spot instance. Valid values:
|
|
1014
|
+
* - NoSpot: non-spot instance.
|
|
1015
|
+
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1016
|
+
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1015
1017
|
*
|
|
1016
|
-
*
|
|
1018
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1017
1019
|
*
|
|
1018
1020
|
* @example
|
|
1019
1021
|
* NoSpot
|
|
@@ -1021,12 +1023,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1021
1023
|
spotStrategy?: string;
|
|
1022
1024
|
/**
|
|
1023
1025
|
* @remarks
|
|
1024
|
-
*
|
|
1026
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1025
1027
|
*
|
|
1026
|
-
* - true
|
|
1027
|
-
* - false
|
|
1028
|
+
* - true: Enabled.
|
|
1029
|
+
* - false: Disabled.
|
|
1028
1030
|
*
|
|
1029
|
-
*
|
|
1031
|
+
* 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).
|
|
1030
1032
|
*
|
|
1031
1033
|
* @example
|
|
1032
1034
|
* true
|
|
@@ -1034,25 +1036,25 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1034
1036
|
systemDiskBurstingEnabled?: boolean;
|
|
1035
1037
|
/**
|
|
1036
1038
|
* @remarks
|
|
1037
|
-
*
|
|
1039
|
+
* 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:
|
|
1038
1040
|
*
|
|
1039
|
-
* - cloud
|
|
1040
|
-
* - cloud_efficiency
|
|
1041
|
-
* - cloud_ssd
|
|
1042
|
-
* - cloud_essd
|
|
1041
|
+
* - cloud: basic cloud disk.
|
|
1042
|
+
* - cloud_efficiency: ultra cloud disk.
|
|
1043
|
+
* - cloud_ssd: standard SSD.
|
|
1044
|
+
* - cloud_essd: ESSD.
|
|
1043
1045
|
*/
|
|
1044
1046
|
systemDiskCategories?: string[];
|
|
1045
1047
|
/**
|
|
1046
1048
|
* @remarks
|
|
1047
|
-
*
|
|
1049
|
+
* The system cloud disk type for nodes. Valid values:
|
|
1048
1050
|
*
|
|
1049
|
-
* - `cloud_efficiency
|
|
1050
|
-
* - `cloud_ssd
|
|
1051
|
-
* - `cloud_essd
|
|
1052
|
-
* - `cloud_auto
|
|
1053
|
-
* - `cloud_essd_entry
|
|
1051
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1052
|
+
* - `cloud_ssd`: standard SSD.
|
|
1053
|
+
* - `cloud_essd`: ESSD.
|
|
1054
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1055
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1054
1056
|
*
|
|
1055
|
-
*
|
|
1057
|
+
* Default value: `cloud_efficiency`.
|
|
1056
1058
|
*
|
|
1057
1059
|
* @example
|
|
1058
1060
|
* cloud_efficiency
|
|
@@ -1060,7 +1062,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1060
1062
|
systemDiskCategory?: string;
|
|
1061
1063
|
/**
|
|
1062
1064
|
* @remarks
|
|
1063
|
-
*
|
|
1065
|
+
* The encryption algorithm for the node system cloud disk. Valid values: aes-256.
|
|
1064
1066
|
*
|
|
1065
1067
|
* @example
|
|
1066
1068
|
* aes-256
|
|
@@ -1068,12 +1070,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1068
1070
|
systemDiskEncryptAlgorithm?: string;
|
|
1069
1071
|
/**
|
|
1070
1072
|
* @remarks
|
|
1071
|
-
*
|
|
1073
|
+
* Specifies whether to encrypt the system cloud disk. Valid values: true: encrypted. false: not encrypted.
|
|
1072
1074
|
*/
|
|
1073
1075
|
systemDiskEncrypted?: boolean;
|
|
1074
1076
|
/**
|
|
1075
1077
|
* @remarks
|
|
1076
|
-
*
|
|
1078
|
+
* The KMS key ID used for the node system cloud disk.
|
|
1077
1079
|
*
|
|
1078
1080
|
* @example
|
|
1079
1081
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1081,12 +1083,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1081
1083
|
systemDiskKmsKeyId?: string;
|
|
1082
1084
|
/**
|
|
1083
1085
|
* @remarks
|
|
1084
|
-
*
|
|
1086
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks.
|
|
1085
1087
|
*
|
|
1086
|
-
* - PL0
|
|
1087
|
-
* - PL1
|
|
1088
|
-
* - PL2
|
|
1089
|
-
* - PL3
|
|
1088
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1089
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1090
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1091
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1090
1092
|
*
|
|
1091
1093
|
* @example
|
|
1092
1094
|
* PL1
|
|
@@ -1094,9 +1096,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1094
1096
|
systemDiskPerformanceLevel?: string;
|
|
1095
1097
|
/**
|
|
1096
1098
|
* @remarks
|
|
1097
|
-
*
|
|
1099
|
+
* 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}.
|
|
1098
1100
|
*
|
|
1099
|
-
*
|
|
1101
|
+
* 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).
|
|
1100
1102
|
*
|
|
1101
1103
|
* @example
|
|
1102
1104
|
* 1000
|
|
@@ -1104,9 +1106,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1104
1106
|
systemDiskProvisionedIops?: number;
|
|
1105
1107
|
/**
|
|
1106
1108
|
* @remarks
|
|
1107
|
-
*
|
|
1109
|
+
* The node system cloud disk size. Unit: GiB.
|
|
1108
1110
|
*
|
|
1109
|
-
*
|
|
1111
|
+
* Valid values: [40,500].
|
|
1110
1112
|
*
|
|
1111
1113
|
* @example
|
|
1112
1114
|
* 120
|
|
@@ -1114,14 +1116,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1114
1116
|
systemDiskSize?: number;
|
|
1115
1117
|
/**
|
|
1116
1118
|
* @remarks
|
|
1117
|
-
*
|
|
1119
|
+
* Adds tags only to ECS instances.
|
|
1118
1120
|
*
|
|
1119
|
-
*
|
|
1121
|
+
* 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://".
|
|
1120
1122
|
*/
|
|
1121
1123
|
tags?: NodepoolScalingGroupTags[];
|
|
1122
1124
|
/**
|
|
1123
1125
|
* @remarks
|
|
1124
|
-
*
|
|
1126
|
+
* The vSwitch IDs.
|
|
1125
1127
|
*
|
|
1126
1128
|
* This parameter is required.
|
|
1127
1129
|
*/
|
|
@@ -1140,7 +1142,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1140
1142
|
export declare class NodepoolTeeConfig extends $dara.Model {
|
|
1141
1143
|
/**
|
|
1142
1144
|
* @remarks
|
|
1143
|
-
*
|
|
1145
|
+
* Specifies whether this is a confidential computing node pool.
|
|
1144
1146
|
*
|
|
1145
1147
|
* This parameter is required.
|
|
1146
1148
|
*
|
|
@@ -1167,7 +1169,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1167
1169
|
autoScaling?: NodepoolAutoScaling;
|
|
1168
1170
|
/**
|
|
1169
1171
|
* @remarks
|
|
1170
|
-
* This
|
|
1172
|
+
* [This field is deprecated. Use desired_size instead.]
|
|
1171
1173
|
*
|
|
1172
1174
|
* The number of nodes in the node pool.
|
|
1173
1175
|
*
|
|
@@ -1179,7 +1181,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1179
1181
|
count?: number;
|
|
1180
1182
|
/**
|
|
1181
1183
|
* @remarks
|
|
1182
|
-
* This
|
|
1184
|
+
* [This field is deprecated.]
|
|
1183
1185
|
*
|
|
1184
1186
|
* The edge node pool configuration.
|
|
1185
1187
|
*
|
|
@@ -1188,7 +1190,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1188
1190
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1189
1191
|
/**
|
|
1190
1192
|
* @remarks
|
|
1191
|
-
* The network type of the edge node pool. This
|
|
1193
|
+
* The network type of the edge node pool. This value is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1192
1194
|
*
|
|
1193
1195
|
* - `basic`: basic.
|
|
1194
1196
|
* - `private`: dedicated. Supported in version 1.22 and later.
|
|
@@ -1209,7 +1211,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1209
1211
|
management?: NodepoolManagement;
|
|
1210
1212
|
/**
|
|
1211
1213
|
* @remarks
|
|
1212
|
-
* 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
|
|
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 (the node pool is limited only by the maximum number of nodes that the cluster can accommodate). For edge node pools, this value is typically greater than 0. For ESS-type node pools and default edge-type node pools, this value is 0.
|
|
1213
1215
|
*
|
|
1214
1216
|
* @example
|
|
1215
1217
|
* 10
|
|
@@ -1237,7 +1239,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1237
1239
|
scalingGroup?: NodepoolScalingGroup;
|
|
1238
1240
|
/**
|
|
1239
1241
|
* @remarks
|
|
1240
|
-
* The confidential computing
|
|
1242
|
+
* The confidential computing node pool configuration.
|
|
1241
1243
|
*/
|
|
1242
1244
|
teeConfig?: NodepoolTeeConfig;
|
|
1243
1245
|
static names(): {
|