@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
package/src/models/Nodepool.ts
CHANGED
|
@@ -11,9 +11,9 @@ import { Taint } from "./Taint";
|
|
|
11
11
|
export class NodepoolAutoScaling extends $dara.Model {
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
*
|
|
14
|
+
* [This field is deprecated]
|
|
15
15
|
*
|
|
16
|
-
* EIP
|
|
16
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 5
|
|
@@ -23,14 +23,14 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
23
23
|
eipBandwidth?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* [This field is deprecated]
|
|
27
27
|
*
|
|
28
|
-
* EIP
|
|
28
|
+
* The billing method of the EIP. Valid values:
|
|
29
29
|
*
|
|
30
|
-
* - `PayByBandwidth
|
|
31
|
-
* - `PayByTraffic
|
|
30
|
+
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
31
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
32
32
|
*
|
|
33
|
-
*
|
|
33
|
+
* Default value: PayByBandwidth.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* PayByBandwidth
|
|
@@ -40,12 +40,12 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
40
40
|
eipInternetChargeType?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
*
|
|
43
|
+
* Specifies whether to enable auto scaling.
|
|
44
44
|
*
|
|
45
|
-
* - `true
|
|
46
|
-
* - `false
|
|
45
|
+
* - `true`: Enables the auto scaling feature for the node pool.
|
|
46
|
+
* - `false`: Disables auto scaling. When set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
47
47
|
*
|
|
48
|
-
*
|
|
48
|
+
* Default value: `false`.
|
|
49
49
|
*
|
|
50
50
|
* This parameter is required.
|
|
51
51
|
*
|
|
@@ -55,14 +55,14 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
55
55
|
enable?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
*
|
|
58
|
+
* [This field is deprecated]
|
|
59
59
|
*
|
|
60
|
-
*
|
|
60
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
61
61
|
*
|
|
62
|
-
* - `true
|
|
63
|
-
* - `false
|
|
62
|
+
* - `true`: Associates an EIP.
|
|
63
|
+
* - `false`: Does not associate an EIP.
|
|
64
64
|
*
|
|
65
|
-
*
|
|
65
|
+
* Default value: `false`.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* true
|
|
@@ -72,7 +72,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
72
72
|
isBondEip?: boolean;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
*
|
|
75
|
+
* The maximum number of instances in the auto scaling group.
|
|
76
76
|
*
|
|
77
77
|
* This parameter is required.
|
|
78
78
|
*
|
|
@@ -82,7 +82,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
82
82
|
maxInstances?: number;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
*
|
|
85
|
+
* The minimum number of instances in the auto scaling group.
|
|
86
86
|
*
|
|
87
87
|
* This parameter is required.
|
|
88
88
|
*
|
|
@@ -92,14 +92,14 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
92
92
|
minInstances?: number;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
*
|
|
95
|
+
* The auto scaling type, classified by instance type. Valid values:
|
|
96
96
|
*
|
|
97
|
-
* - `cpu
|
|
98
|
-
* - `gpu
|
|
99
|
-
* - `gpushare
|
|
100
|
-
* - `spot
|
|
97
|
+
* - `cpu`: regular instance type.
|
|
98
|
+
* - `gpu`: GPU instance type.
|
|
99
|
+
* - `gpushare`: GPU shared type.
|
|
100
|
+
* - `spot`: spot instance type.
|
|
101
101
|
*
|
|
102
|
-
*
|
|
102
|
+
* Default value: `cpu`.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* cpu
|
|
@@ -231,12 +231,12 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
231
231
|
export class NodepoolKubernetesConfig extends $dara.Model {
|
|
232
232
|
/**
|
|
233
233
|
* @remarks
|
|
234
|
-
*
|
|
234
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
235
235
|
*
|
|
236
|
-
* - `true
|
|
237
|
-
* - `false
|
|
236
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
237
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
238
238
|
*
|
|
239
|
-
*
|
|
239
|
+
* Default value: `false`.
|
|
240
240
|
*
|
|
241
241
|
* @example
|
|
242
242
|
* true
|
|
@@ -244,12 +244,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
244
244
|
cmsEnabled?: boolean;
|
|
245
245
|
/**
|
|
246
246
|
* @remarks
|
|
247
|
-
*
|
|
247
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
248
248
|
*
|
|
249
|
-
* - `static
|
|
250
|
-
* - `none
|
|
249
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
250
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
251
251
|
*
|
|
252
|
-
*
|
|
252
|
+
* Default value: `none`.
|
|
253
253
|
*
|
|
254
254
|
* @example
|
|
255
255
|
* none
|
|
@@ -257,17 +257,17 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
257
257
|
cpuPolicy?: string;
|
|
258
258
|
/**
|
|
259
259
|
* @remarks
|
|
260
|
-
*
|
|
260
|
+
* The node labels. Adds labels to Kubernetes cluster nodes.
|
|
261
261
|
*/
|
|
262
262
|
labels?: Tag[];
|
|
263
263
|
/**
|
|
264
264
|
* @remarks
|
|
265
|
-
*
|
|
265
|
+
* The node name consists of three parts: prefix + node IP + suffix:
|
|
266
266
|
*
|
|
267
|
-
* -
|
|
268
|
-
* -
|
|
267
|
+
* - 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.
|
|
268
|
+
* - The node IP is the complete private IP address of the node.
|
|
269
269
|
*
|
|
270
|
-
*
|
|
270
|
+
* 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.
|
|
271
271
|
*
|
|
272
272
|
* @example
|
|
273
273
|
* customized,aliyun,ip,com
|
|
@@ -275,12 +275,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
275
275
|
nodeNameMode?: string;
|
|
276
276
|
/**
|
|
277
277
|
* @remarks
|
|
278
|
-
*
|
|
279
|
-
* - `containerd
|
|
280
|
-
* - `Sandboxed-Container.runv
|
|
281
|
-
* - `docker
|
|
278
|
+
* The container runtime. Valid values:
|
|
279
|
+
* - `containerd`: Recommended. Supports all cluster versions.
|
|
280
|
+
* - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation. Supports clusters of version 1.24 or earlier.
|
|
281
|
+
* - `docker`: Supports clusters of version 1.22 or earlier.
|
|
282
282
|
*
|
|
283
|
-
*
|
|
283
|
+
* Default value: `containerd`
|
|
284
284
|
*
|
|
285
285
|
* This parameter is required.
|
|
286
286
|
*
|
|
@@ -290,7 +290,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
290
290
|
runtime?: string;
|
|
291
291
|
/**
|
|
292
292
|
* @remarks
|
|
293
|
-
*
|
|
293
|
+
* The container runtime version.
|
|
294
294
|
*
|
|
295
295
|
* This parameter is required.
|
|
296
296
|
*
|
|
@@ -300,12 +300,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
300
300
|
runtimeVersion?: string;
|
|
301
301
|
/**
|
|
302
302
|
* @remarks
|
|
303
|
-
*
|
|
303
|
+
* The taint configuration.
|
|
304
304
|
*/
|
|
305
305
|
taints?: Taint[];
|
|
306
306
|
/**
|
|
307
307
|
* @remarks
|
|
308
|
-
*
|
|
308
|
+
* The node custom data.
|
|
309
309
|
*
|
|
310
310
|
* @example
|
|
311
311
|
* MXM=
|
|
@@ -355,7 +355,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
355
355
|
export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
356
356
|
/**
|
|
357
357
|
* @remarks
|
|
358
|
-
*
|
|
358
|
+
* Specifies whether to allow node restart.
|
|
359
359
|
*
|
|
360
360
|
* @example
|
|
361
361
|
* true
|
|
@@ -415,7 +415,7 @@ export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
415
415
|
export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
416
416
|
/**
|
|
417
417
|
* @remarks
|
|
418
|
-
*
|
|
418
|
+
* Specifies whether to allow node restart.
|
|
419
419
|
*
|
|
420
420
|
* @example
|
|
421
421
|
* true
|
|
@@ -455,10 +455,10 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
455
455
|
export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
456
456
|
/**
|
|
457
457
|
* @remarks
|
|
458
|
-
*
|
|
458
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
459
459
|
*
|
|
460
|
-
* - `true
|
|
461
|
-
* - `false
|
|
460
|
+
* - `true`: Enables auto upgrade.
|
|
461
|
+
* - `false`: Disables auto upgrade.
|
|
462
462
|
*
|
|
463
463
|
* @example
|
|
464
464
|
* false
|
|
@@ -466,9 +466,9 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
466
466
|
autoUpgrade?: boolean;
|
|
467
467
|
/**
|
|
468
468
|
* @remarks
|
|
469
|
-
*
|
|
469
|
+
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
470
470
|
*
|
|
471
|
-
*
|
|
471
|
+
* Default value: 1.
|
|
472
472
|
*
|
|
473
473
|
* @example
|
|
474
474
|
* 0
|
|
@@ -476,7 +476,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
476
476
|
maxUnavailable?: number;
|
|
477
477
|
/**
|
|
478
478
|
* @remarks
|
|
479
|
-
*
|
|
479
|
+
* The number of extra nodes.
|
|
480
480
|
*
|
|
481
481
|
* @example
|
|
482
482
|
* 0
|
|
@@ -484,7 +484,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
484
484
|
surge?: number;
|
|
485
485
|
/**
|
|
486
486
|
* @remarks
|
|
487
|
-
*
|
|
487
|
+
* The extra node percentage. Specify either this parameter or `surge`.
|
|
488
488
|
*
|
|
489
489
|
* @example
|
|
490
490
|
* 0
|
|
@@ -521,10 +521,10 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
521
521
|
autoFaultDiagnosis?: boolean;
|
|
522
522
|
/**
|
|
523
523
|
* @remarks
|
|
524
|
-
*
|
|
524
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
|
|
525
525
|
*
|
|
526
|
-
* - `true
|
|
527
|
-
* - `false
|
|
526
|
+
* - `true`: Enables auto repair.
|
|
527
|
+
* - `false`: Disables auto repair.
|
|
528
528
|
*
|
|
529
529
|
* @example
|
|
530
530
|
* false
|
|
@@ -532,7 +532,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
532
532
|
autoRepair?: boolean;
|
|
533
533
|
/**
|
|
534
534
|
* @remarks
|
|
535
|
-
*
|
|
535
|
+
* The auto repair node policy.
|
|
536
536
|
*/
|
|
537
537
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
538
538
|
/**
|
|
@@ -550,7 +550,8 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
550
550
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
551
551
|
/**
|
|
552
552
|
* @remarks
|
|
553
|
-
*
|
|
553
|
+
* Specifies whether to automatically fix CVEs.
|
|
554
|
+
* [properties.management.properties.auto_v
|
|
554
555
|
*
|
|
555
556
|
* @example
|
|
556
557
|
* true
|
|
@@ -561,12 +562,13 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
561
562
|
* 自动修复CVE策略。
|
|
562
563
|
*/
|
|
563
564
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
565
|
+
driftEnabled?: boolean;
|
|
564
566
|
/**
|
|
565
567
|
* @remarks
|
|
566
|
-
*
|
|
568
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
567
569
|
*
|
|
568
|
-
* - `true
|
|
569
|
-
* - `false
|
|
570
|
+
* - `true`: Enables the managed node pool.
|
|
571
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
570
572
|
*
|
|
571
573
|
* @example
|
|
572
574
|
* false
|
|
@@ -574,7 +576,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
574
576
|
enable?: boolean;
|
|
575
577
|
/**
|
|
576
578
|
* @remarks
|
|
577
|
-
*
|
|
579
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
578
580
|
*
|
|
579
581
|
* @deprecated
|
|
580
582
|
*/
|
|
@@ -588,6 +590,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
588
590
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
589
591
|
autoVulFix: 'auto_vul_fix',
|
|
590
592
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
593
|
+
driftEnabled: 'drift_enabled',
|
|
591
594
|
enable: 'enable',
|
|
592
595
|
upgradeConfig: 'upgrade_config',
|
|
593
596
|
};
|
|
@@ -602,6 +605,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
602
605
|
autoUpgradePolicy: NodepoolManagementAutoUpgradePolicy,
|
|
603
606
|
autoVulFix: 'boolean',
|
|
604
607
|
autoVulFixPolicy: NodepoolManagementAutoVulFixPolicy,
|
|
608
|
+
driftEnabled: 'boolean',
|
|
605
609
|
enable: 'boolean',
|
|
606
610
|
upgradeConfig: NodepoolManagementUpgradeConfig,
|
|
607
611
|
};
|
|
@@ -744,7 +748,7 @@ export class NodepoolNodeConfig extends $dara.Model {
|
|
|
744
748
|
export class NodepoolNodepoolInfo extends $dara.Model {
|
|
745
749
|
/**
|
|
746
750
|
* @remarks
|
|
747
|
-
*
|
|
751
|
+
* The node pool name.
|
|
748
752
|
*
|
|
749
753
|
* This parameter is required.
|
|
750
754
|
*
|
|
@@ -754,7 +758,7 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
754
758
|
name?: string;
|
|
755
759
|
/**
|
|
756
760
|
* @remarks
|
|
757
|
-
*
|
|
761
|
+
* The resource group ID of the node pool.
|
|
758
762
|
*
|
|
759
763
|
* @example
|
|
760
764
|
* rg-acfmyvw3wjm****
|
|
@@ -762,10 +766,10 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
762
766
|
resourceGroupId?: string;
|
|
763
767
|
/**
|
|
764
768
|
* @remarks
|
|
765
|
-
*
|
|
769
|
+
* The node pool type. Valid values:
|
|
766
770
|
*
|
|
767
|
-
* - `ess
|
|
768
|
-
* - `edge
|
|
771
|
+
* - `ess`: node pool.
|
|
772
|
+
* - `edge`: edge node pool.
|
|
769
773
|
*
|
|
770
774
|
* @example
|
|
771
775
|
* ess
|
|
@@ -799,7 +803,7 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
799
803
|
export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
800
804
|
/**
|
|
801
805
|
* @remarks
|
|
802
|
-
*
|
|
806
|
+
* The private pool ID.
|
|
803
807
|
*
|
|
804
808
|
* @example
|
|
805
809
|
* eap-bp67acfmxazb4****
|
|
@@ -807,13 +811,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
807
811
|
id?: string;
|
|
808
812
|
/**
|
|
809
813
|
* @remarks
|
|
810
|
-
*
|
|
814
|
+
* 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:
|
|
811
815
|
*
|
|
812
|
-
* - `Open
|
|
816
|
+
* - `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.
|
|
813
817
|
*
|
|
814
|
-
* - `Target
|
|
818
|
+
* - `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.
|
|
815
819
|
*
|
|
816
|
-
* - `None
|
|
820
|
+
* - `None`: None mode. The instance launch does not use private pool capacity.
|
|
817
821
|
*
|
|
818
822
|
* @example
|
|
819
823
|
* Open
|
|
@@ -845,16 +849,16 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
845
849
|
export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
846
850
|
/**
|
|
847
851
|
* @remarks
|
|
848
|
-
*
|
|
852
|
+
* 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.
|
|
849
853
|
*/
|
|
850
854
|
privatePoolIds?: string[];
|
|
851
855
|
/**
|
|
852
856
|
* @remarks
|
|
853
|
-
*
|
|
854
|
-
* PrivatePoolFirst
|
|
855
|
-
* PrivatePoolOnly
|
|
856
|
-
* None
|
|
857
|
-
*
|
|
857
|
+
* 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:
|
|
858
|
+
* 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.
|
|
859
|
+
* 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.
|
|
860
|
+
* None: No resource pool policy is used.
|
|
861
|
+
* Default value: None.
|
|
858
862
|
*
|
|
859
863
|
* @example
|
|
860
864
|
* PrivatePoolFirst
|
|
@@ -889,7 +893,7 @@ export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
|
889
893
|
export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
890
894
|
/**
|
|
891
895
|
* @remarks
|
|
892
|
-
*
|
|
896
|
+
* The spot instance type.
|
|
893
897
|
*
|
|
894
898
|
* @example
|
|
895
899
|
* ecs.c6.large
|
|
@@ -897,7 +901,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
897
901
|
instanceType?: string;
|
|
898
902
|
/**
|
|
899
903
|
* @remarks
|
|
900
|
-
*
|
|
904
|
+
* The maximum price for a single instance.
|
|
901
905
|
*
|
|
902
906
|
* @example
|
|
903
907
|
* 0.39
|
|
@@ -929,7 +933,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
929
933
|
export class NodepoolScalingGroupTags extends $dara.Model {
|
|
930
934
|
/**
|
|
931
935
|
* @remarks
|
|
932
|
-
*
|
|
936
|
+
* The tag key.
|
|
933
937
|
*
|
|
934
938
|
* @example
|
|
935
939
|
* key
|
|
@@ -937,7 +941,7 @@ export class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
937
941
|
key?: string;
|
|
938
942
|
/**
|
|
939
943
|
* @remarks
|
|
940
|
-
*
|
|
944
|
+
* The tag value.
|
|
941
945
|
*
|
|
942
946
|
* @example
|
|
943
947
|
* value
|
|
@@ -969,12 +973,12 @@ export class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
969
973
|
export class NodepoolScalingGroup extends $dara.Model {
|
|
970
974
|
/**
|
|
971
975
|
* @remarks
|
|
972
|
-
*
|
|
976
|
+
* 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:
|
|
973
977
|
*
|
|
974
|
-
* - `true
|
|
975
|
-
* - `false
|
|
978
|
+
* - `true`: Enables auto-renewal.
|
|
979
|
+
* - `false`: Disables auto-renewal.
|
|
976
980
|
*
|
|
977
|
-
*
|
|
981
|
+
* Default value: `true`.
|
|
978
982
|
*
|
|
979
983
|
* @example
|
|
980
984
|
* false
|
|
@@ -982,11 +986,11 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
982
986
|
autoRenew?: boolean;
|
|
983
987
|
/**
|
|
984
988
|
* @remarks
|
|
985
|
-
*
|
|
989
|
+
* The auto-renewal period of the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
986
990
|
*
|
|
987
|
-
*
|
|
991
|
+
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
988
992
|
*
|
|
989
|
-
*
|
|
993
|
+
* Default value: 1.
|
|
990
994
|
*
|
|
991
995
|
* @example
|
|
992
996
|
* 0
|
|
@@ -994,10 +998,10 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
994
998
|
autoRenewPeriod?: number;
|
|
995
999
|
/**
|
|
996
1000
|
* @remarks
|
|
997
|
-
*
|
|
1001
|
+
* 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:
|
|
998
1002
|
*
|
|
999
|
-
* - `true
|
|
1000
|
-
* - `false
|
|
1003
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1004
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1001
1005
|
*
|
|
1002
1006
|
* @example
|
|
1003
1007
|
* true
|
|
@@ -1005,12 +1009,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1005
1009
|
compensateWithOnDemand?: boolean;
|
|
1006
1010
|
/**
|
|
1007
1011
|
* @remarks
|
|
1008
|
-
*
|
|
1012
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1009
1013
|
*/
|
|
1010
1014
|
dataDisks?: DataDisk[];
|
|
1011
1015
|
/**
|
|
1012
1016
|
* @remarks
|
|
1013
|
-
*
|
|
1017
|
+
* The deployment set ID.
|
|
1014
1018
|
*
|
|
1015
1019
|
* @example
|
|
1016
1020
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1018,7 +1022,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1018
1022
|
deploymentsetId?: string;
|
|
1019
1023
|
/**
|
|
1020
1024
|
* @remarks
|
|
1021
|
-
*
|
|
1025
|
+
* The desired number of nodes in the node pool.
|
|
1022
1026
|
*
|
|
1023
1027
|
* @example
|
|
1024
1028
|
* 2
|
|
@@ -1026,12 +1030,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1026
1030
|
desiredSize?: number;
|
|
1027
1031
|
/**
|
|
1028
1032
|
* @remarks
|
|
1029
|
-
*
|
|
1033
|
+
* The block device initialization configuration.
|
|
1030
1034
|
*/
|
|
1031
1035
|
diskInit?: DiskInit[];
|
|
1032
1036
|
/**
|
|
1033
1037
|
* @remarks
|
|
1034
|
-
*
|
|
1038
|
+
* The custom image ID. The system-provided image is used by default.
|
|
1035
1039
|
*
|
|
1036
1040
|
* @example
|
|
1037
1041
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -1039,16 +1043,16 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1039
1043
|
imageId?: string;
|
|
1040
1044
|
/**
|
|
1041
1045
|
* @remarks
|
|
1042
|
-
*
|
|
1046
|
+
* The operating system image type. Specify either this parameter or the platform parameter. Valid values:
|
|
1043
1047
|
*
|
|
1044
|
-
* - `AliyunLinux
|
|
1045
|
-
* - `AliyunLinux3
|
|
1046
|
-
* - `AliyunLinux3Arm64
|
|
1047
|
-
* - `AliyunLinuxUEFI
|
|
1048
|
-
* - `CentOS
|
|
1049
|
-
* - `Windows
|
|
1050
|
-
* - `WindowsCore
|
|
1051
|
-
* - `ContainerOS
|
|
1048
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1049
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1050
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
1051
|
+
* - `AliyunLinuxUEFI`: Alinux2 UEFI image.
|
|
1052
|
+
* - `CentOS`: CentOS image.
|
|
1053
|
+
* - `Windows`: Windows image.
|
|
1054
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1055
|
+
* - `ContainerOS`: container-optimized image.
|
|
1052
1056
|
*
|
|
1053
1057
|
* @example
|
|
1054
1058
|
* AliyunLinux
|
|
@@ -1056,12 +1060,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1056
1060
|
imageType?: string;
|
|
1057
1061
|
/**
|
|
1058
1062
|
* @remarks
|
|
1059
|
-
*
|
|
1063
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
1060
1064
|
*
|
|
1061
|
-
* - `PrePaid
|
|
1062
|
-
* - `PostPaid
|
|
1065
|
+
* - `PrePaid`: subscription.
|
|
1066
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1063
1067
|
*
|
|
1064
|
-
*
|
|
1068
|
+
* Default value: `PostPaid`.
|
|
1065
1069
|
*
|
|
1066
1070
|
* This parameter is required.
|
|
1067
1071
|
*
|
|
@@ -1071,23 +1075,23 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1071
1075
|
instanceChargeType?: string;
|
|
1072
1076
|
/**
|
|
1073
1077
|
* @remarks
|
|
1074
|
-
* ECS
|
|
1075
|
-
*
|
|
1078
|
+
* The ECS instance metadata access configuration.
|
|
1079
|
+
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to apply.
|
|
1076
1080
|
*/
|
|
1077
1081
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1078
1082
|
/**
|
|
1079
1083
|
* @remarks
|
|
1080
|
-
*
|
|
1084
|
+
* The instance types.
|
|
1081
1085
|
*
|
|
1082
1086
|
* This parameter is required.
|
|
1083
1087
|
*/
|
|
1084
1088
|
instanceTypes?: string[];
|
|
1085
1089
|
/**
|
|
1086
1090
|
* @remarks
|
|
1087
|
-
*
|
|
1091
|
+
* The billing method for public IP addresses. Valid values:
|
|
1088
1092
|
*
|
|
1089
|
-
* - `PayByBandwidth
|
|
1090
|
-
* - `PayByTraffic
|
|
1093
|
+
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
1094
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
1091
1095
|
*
|
|
1092
1096
|
* @example
|
|
1093
1097
|
* PayByBandwidth
|
|
@@ -1095,7 +1099,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1095
1099
|
internetChargeType?: string;
|
|
1096
1100
|
/**
|
|
1097
1101
|
* @remarks
|
|
1098
|
-
*
|
|
1102
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbit/s. Valid values: [1,100].
|
|
1099
1103
|
*
|
|
1100
1104
|
* @example
|
|
1101
1105
|
* 10
|
|
@@ -1103,9 +1107,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1103
1107
|
internetMaxBandwidthOut?: number;
|
|
1104
1108
|
/**
|
|
1105
1109
|
* @remarks
|
|
1106
|
-
*
|
|
1110
|
+
* The key pair name. Specify either this parameter or `login_password`.
|
|
1107
1111
|
*
|
|
1108
|
-
* >
|
|
1112
|
+
* > If you create a managed node pool, only `key_pair` is supported.
|
|
1109
1113
|
*
|
|
1110
1114
|
* @example
|
|
1111
1115
|
* np-key
|
|
@@ -1113,12 +1117,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1113
1117
|
keyPair?: string;
|
|
1114
1118
|
/**
|
|
1115
1119
|
* @remarks
|
|
1116
|
-
*
|
|
1120
|
+
* Specifies whether to use a non-root user to log on to scaled-out ECS instances.
|
|
1117
1121
|
*/
|
|
1118
1122
|
loginAsNonRoot?: boolean;
|
|
1119
1123
|
/**
|
|
1120
1124
|
* @remarks
|
|
1121
|
-
* SSH
|
|
1125
|
+
* 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.
|
|
1122
1126
|
*
|
|
1123
1127
|
* @example
|
|
1124
1128
|
* Hello1234
|
|
@@ -1126,17 +1130,17 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1126
1130
|
loginPassword?: string;
|
|
1127
1131
|
/**
|
|
1128
1132
|
* @remarks
|
|
1129
|
-
*
|
|
1133
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1130
1134
|
*
|
|
1131
|
-
* - `PRIORITY
|
|
1135
|
+
* - `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.
|
|
1132
1136
|
*
|
|
1133
|
-
* - `COST_OPTIMIZED
|
|
1137
|
+
* - `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.
|
|
1134
1138
|
*
|
|
1135
|
-
* >`COST_OPTIMIZED
|
|
1139
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1136
1140
|
*
|
|
1137
|
-
* - `BALANCE
|
|
1141
|
+
* - `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).
|
|
1138
1142
|
*
|
|
1139
|
-
*
|
|
1143
|
+
* Default value: `PRIORITY`.
|
|
1140
1144
|
*
|
|
1141
1145
|
* @example
|
|
1142
1146
|
* COST_OPTIMIZED
|
|
@@ -1144,7 +1148,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1144
1148
|
multiAzPolicy?: string;
|
|
1145
1149
|
/**
|
|
1146
1150
|
* @remarks
|
|
1147
|
-
*
|
|
1151
|
+
* 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.
|
|
1148
1152
|
*
|
|
1149
1153
|
* @example
|
|
1150
1154
|
* 0
|
|
@@ -1152,7 +1156,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1152
1156
|
onDemandBaseCapacity?: number;
|
|
1153
1157
|
/**
|
|
1154
1158
|
* @remarks
|
|
1155
|
-
*
|
|
1159
|
+
* 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].
|
|
1156
1160
|
*
|
|
1157
1161
|
* @example
|
|
1158
1162
|
* 20
|
|
@@ -1160,9 +1164,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1160
1164
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1161
1165
|
/**
|
|
1162
1166
|
* @remarks
|
|
1163
|
-
*
|
|
1167
|
+
* 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}.
|
|
1164
1168
|
*
|
|
1165
|
-
*
|
|
1169
|
+
* Default value: 1.
|
|
1166
1170
|
*
|
|
1167
1171
|
* @example
|
|
1168
1172
|
* 0
|
|
@@ -1170,9 +1174,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1170
1174
|
period?: number;
|
|
1171
1175
|
/**
|
|
1172
1176
|
* @remarks
|
|
1173
|
-
*
|
|
1177
|
+
* The subscription period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1174
1178
|
*
|
|
1175
|
-
* `Month
|
|
1179
|
+
* `Month`: Currently only month is supported as the unit.
|
|
1176
1180
|
*
|
|
1177
1181
|
* @example
|
|
1178
1182
|
* Month
|
|
@@ -1180,14 +1184,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1180
1184
|
periodUnit?: string;
|
|
1181
1185
|
/**
|
|
1182
1186
|
* @remarks
|
|
1183
|
-
*
|
|
1187
|
+
* The operating system distribution. Valid values:
|
|
1184
1188
|
*
|
|
1185
1189
|
* - `CentOS`
|
|
1186
1190
|
* - `AliyunLinux`
|
|
1187
1191
|
* - `Windows`
|
|
1188
1192
|
* - `WindowsCore`
|
|
1189
1193
|
*
|
|
1190
|
-
*
|
|
1194
|
+
* Default value: `AliyunLinux`.
|
|
1191
1195
|
*
|
|
1192
1196
|
* @example
|
|
1193
1197
|
* AliyunLinux
|
|
@@ -1197,13 +1201,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1197
1201
|
platform?: string;
|
|
1198
1202
|
/**
|
|
1199
1203
|
* @remarks
|
|
1200
|
-
*
|
|
1204
|
+
* The private pool configuration.
|
|
1201
1205
|
*/
|
|
1202
1206
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
1203
1207
|
/**
|
|
1204
1208
|
* @remarks
|
|
1205
|
-
* Worker RAM
|
|
1206
|
-
* >Notice:
|
|
1209
|
+
* The Worker RAM role name.
|
|
1210
|
+
* >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
|
|
1207
1211
|
*
|
|
1208
1212
|
* @example
|
|
1209
1213
|
* example-role
|
|
@@ -1211,24 +1215,24 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1211
1215
|
ramRoleName?: string;
|
|
1212
1216
|
/**
|
|
1213
1217
|
* @remarks
|
|
1214
|
-
* RDS
|
|
1218
|
+
* The list of RDS instances.
|
|
1215
1219
|
*/
|
|
1216
1220
|
rdsInstances?: string[];
|
|
1217
1221
|
/**
|
|
1218
1222
|
* @remarks
|
|
1219
|
-
*
|
|
1220
|
-
*
|
|
1221
|
-
*
|
|
1223
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1224
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1225
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1222
1226
|
*/
|
|
1223
1227
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1224
1228
|
/**
|
|
1225
1229
|
* @remarks
|
|
1226
|
-
*
|
|
1230
|
+
* The scaling group mode. Valid values:
|
|
1227
1231
|
*
|
|
1228
|
-
* - `release
|
|
1229
|
-
* - `recycle
|
|
1232
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1233
|
+
* - `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).
|
|
1230
1234
|
*
|
|
1231
|
-
*
|
|
1235
|
+
* Default value: `release`.
|
|
1232
1236
|
*
|
|
1233
1237
|
* @example
|
|
1234
1238
|
* release
|
|
@@ -1236,7 +1240,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1236
1240
|
scalingPolicy?: string;
|
|
1237
1241
|
/**
|
|
1238
1242
|
* @remarks
|
|
1239
|
-
*
|
|
1243
|
+
* The security group ID of the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
1240
1244
|
*
|
|
1241
1245
|
* @example
|
|
1242
1246
|
* sg-2zeihch86ooz9io4****
|
|
@@ -1244,12 +1248,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1244
1248
|
securityGroupId?: string;
|
|
1245
1249
|
/**
|
|
1246
1250
|
* @remarks
|
|
1247
|
-
*
|
|
1251
|
+
* 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.
|
|
1248
1252
|
*/
|
|
1249
1253
|
securityGroupIds?: string[];
|
|
1250
1254
|
/**
|
|
1251
1255
|
* @remarks
|
|
1252
|
-
*
|
|
1256
|
+
* 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].
|
|
1253
1257
|
*
|
|
1254
1258
|
* @example
|
|
1255
1259
|
* 5
|
|
@@ -1257,10 +1261,10 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1257
1261
|
spotInstancePools?: number;
|
|
1258
1262
|
/**
|
|
1259
1263
|
* @remarks
|
|
1260
|
-
*
|
|
1264
|
+
* 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:
|
|
1261
1265
|
*
|
|
1262
|
-
* - `true
|
|
1263
|
-
* - `false
|
|
1266
|
+
* - `true`: Enables supplementing spot instances.
|
|
1267
|
+
* - `false`: Disables supplementing spot instances.
|
|
1264
1268
|
*
|
|
1265
1269
|
* @example
|
|
1266
1270
|
* false
|
|
@@ -1268,17 +1272,17 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1268
1272
|
spotInstanceRemedy?: boolean;
|
|
1269
1273
|
/**
|
|
1270
1274
|
* @remarks
|
|
1271
|
-
*
|
|
1275
|
+
* The market price range configuration for a single spot instance type.
|
|
1272
1276
|
*/
|
|
1273
1277
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1274
1278
|
/**
|
|
1275
1279
|
* @remarks
|
|
1276
|
-
*
|
|
1277
|
-
* - NoSpot
|
|
1278
|
-
* - SpotWithPriceLimit
|
|
1279
|
-
* - SpotAsPriceGo
|
|
1280
|
+
* The type of spot instance. Valid values:
|
|
1281
|
+
* - NoSpot: non-spot instance.
|
|
1282
|
+
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1283
|
+
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1280
1284
|
*
|
|
1281
|
-
*
|
|
1285
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1282
1286
|
*
|
|
1283
1287
|
* @example
|
|
1284
1288
|
* NoSpot
|
|
@@ -1286,12 +1290,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1286
1290
|
spotStrategy?: string;
|
|
1287
1291
|
/**
|
|
1288
1292
|
* @remarks
|
|
1289
|
-
*
|
|
1293
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1290
1294
|
*
|
|
1291
|
-
* - true
|
|
1292
|
-
* - false
|
|
1295
|
+
* - true: Enabled.
|
|
1296
|
+
* - false: Disabled.
|
|
1293
1297
|
*
|
|
1294
|
-
*
|
|
1298
|
+
* 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).
|
|
1295
1299
|
*
|
|
1296
1300
|
* @example
|
|
1297
1301
|
* true
|
|
@@ -1299,25 +1303,25 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1299
1303
|
systemDiskBurstingEnabled?: boolean;
|
|
1300
1304
|
/**
|
|
1301
1305
|
* @remarks
|
|
1302
|
-
*
|
|
1306
|
+
* 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:
|
|
1303
1307
|
*
|
|
1304
|
-
* - cloud
|
|
1305
|
-
* - cloud_efficiency
|
|
1306
|
-
* - cloud_ssd
|
|
1307
|
-
* - cloud_essd
|
|
1308
|
+
* - cloud: basic cloud disk.
|
|
1309
|
+
* - cloud_efficiency: ultra cloud disk.
|
|
1310
|
+
* - cloud_ssd: standard SSD.
|
|
1311
|
+
* - cloud_essd: ESSD.
|
|
1308
1312
|
*/
|
|
1309
1313
|
systemDiskCategories?: string[];
|
|
1310
1314
|
/**
|
|
1311
1315
|
* @remarks
|
|
1312
|
-
*
|
|
1316
|
+
* The system cloud disk type for nodes. Valid values:
|
|
1313
1317
|
*
|
|
1314
|
-
* - `cloud_efficiency
|
|
1315
|
-
* - `cloud_ssd
|
|
1316
|
-
* - `cloud_essd
|
|
1317
|
-
* - `cloud_auto
|
|
1318
|
-
* - `cloud_essd_entry
|
|
1318
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1319
|
+
* - `cloud_ssd`: standard SSD.
|
|
1320
|
+
* - `cloud_essd`: ESSD.
|
|
1321
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1322
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1319
1323
|
*
|
|
1320
|
-
*
|
|
1324
|
+
* Default value: `cloud_efficiency`.
|
|
1321
1325
|
*
|
|
1322
1326
|
* @example
|
|
1323
1327
|
* cloud_efficiency
|
|
@@ -1325,7 +1329,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1325
1329
|
systemDiskCategory?: string;
|
|
1326
1330
|
/**
|
|
1327
1331
|
* @remarks
|
|
1328
|
-
*
|
|
1332
|
+
* The encryption algorithm for the node system cloud disk. Valid values: aes-256.
|
|
1329
1333
|
*
|
|
1330
1334
|
* @example
|
|
1331
1335
|
* aes-256
|
|
@@ -1333,12 +1337,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1333
1337
|
systemDiskEncryptAlgorithm?: string;
|
|
1334
1338
|
/**
|
|
1335
1339
|
* @remarks
|
|
1336
|
-
*
|
|
1340
|
+
* Specifies whether to encrypt the system cloud disk. Valid values: true: encrypted. false: not encrypted.
|
|
1337
1341
|
*/
|
|
1338
1342
|
systemDiskEncrypted?: boolean;
|
|
1339
1343
|
/**
|
|
1340
1344
|
* @remarks
|
|
1341
|
-
*
|
|
1345
|
+
* The KMS key ID used for the node system cloud disk.
|
|
1342
1346
|
*
|
|
1343
1347
|
* @example
|
|
1344
1348
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1346,12 +1350,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1346
1350
|
systemDiskKmsKeyId?: string;
|
|
1347
1351
|
/**
|
|
1348
1352
|
* @remarks
|
|
1349
|
-
*
|
|
1353
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks.
|
|
1350
1354
|
*
|
|
1351
|
-
* - PL0
|
|
1352
|
-
* - PL1
|
|
1353
|
-
* - PL2
|
|
1354
|
-
* - PL3
|
|
1355
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1356
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1357
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1358
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1355
1359
|
*
|
|
1356
1360
|
* @example
|
|
1357
1361
|
* PL1
|
|
@@ -1359,9 +1363,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1359
1363
|
systemDiskPerformanceLevel?: string;
|
|
1360
1364
|
/**
|
|
1361
1365
|
* @remarks
|
|
1362
|
-
*
|
|
1366
|
+
* 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}.
|
|
1363
1367
|
*
|
|
1364
|
-
*
|
|
1368
|
+
* 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).
|
|
1365
1369
|
*
|
|
1366
1370
|
* @example
|
|
1367
1371
|
* 1000
|
|
@@ -1369,9 +1373,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1369
1373
|
systemDiskProvisionedIops?: number;
|
|
1370
1374
|
/**
|
|
1371
1375
|
* @remarks
|
|
1372
|
-
*
|
|
1376
|
+
* The node system cloud disk size. Unit: GiB.
|
|
1373
1377
|
*
|
|
1374
|
-
*
|
|
1378
|
+
* Valid values: [40,500].
|
|
1375
1379
|
*
|
|
1376
1380
|
* @example
|
|
1377
1381
|
* 120
|
|
@@ -1379,14 +1383,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1379
1383
|
systemDiskSize?: number;
|
|
1380
1384
|
/**
|
|
1381
1385
|
* @remarks
|
|
1382
|
-
*
|
|
1386
|
+
* Adds tags only to ECS instances.
|
|
1383
1387
|
*
|
|
1384
|
-
*
|
|
1388
|
+
* 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://".
|
|
1385
1389
|
*/
|
|
1386
1390
|
tags?: NodepoolScalingGroupTags[];
|
|
1387
1391
|
/**
|
|
1388
1392
|
* @remarks
|
|
1389
|
-
*
|
|
1393
|
+
* The vSwitch IDs.
|
|
1390
1394
|
*
|
|
1391
1395
|
* This parameter is required.
|
|
1392
1396
|
*/
|
|
@@ -1539,7 +1543,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1539
1543
|
export class NodepoolTeeConfig extends $dara.Model {
|
|
1540
1544
|
/**
|
|
1541
1545
|
* @remarks
|
|
1542
|
-
*
|
|
1546
|
+
* Specifies whether this is a confidential computing node pool.
|
|
1543
1547
|
*
|
|
1544
1548
|
* This parameter is required.
|
|
1545
1549
|
*
|
|
@@ -1576,7 +1580,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1576
1580
|
autoScaling?: NodepoolAutoScaling;
|
|
1577
1581
|
/**
|
|
1578
1582
|
* @remarks
|
|
1579
|
-
* This
|
|
1583
|
+
* [This field is deprecated. Use desired_size instead.]
|
|
1580
1584
|
*
|
|
1581
1585
|
* The number of nodes in the node pool.
|
|
1582
1586
|
*
|
|
@@ -1588,7 +1592,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1588
1592
|
count?: number;
|
|
1589
1593
|
/**
|
|
1590
1594
|
* @remarks
|
|
1591
|
-
* This
|
|
1595
|
+
* [This field is deprecated.]
|
|
1592
1596
|
*
|
|
1593
1597
|
* The edge node pool configuration.
|
|
1594
1598
|
*
|
|
@@ -1597,7 +1601,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1597
1601
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1598
1602
|
/**
|
|
1599
1603
|
* @remarks
|
|
1600
|
-
* The network type of the edge node pool. This
|
|
1604
|
+
* The network type of the edge node pool. This value is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1601
1605
|
*
|
|
1602
1606
|
* - `basic`: basic.
|
|
1603
1607
|
* - `private`: dedicated. Supported in version 1.22 and later.
|
|
@@ -1618,7 +1622,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1618
1622
|
management?: NodepoolManagement;
|
|
1619
1623
|
/**
|
|
1620
1624
|
* @remarks
|
|
1621
|
-
* 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
|
|
1625
|
+
* 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.
|
|
1622
1626
|
*
|
|
1623
1627
|
* @example
|
|
1624
1628
|
* 10
|
|
@@ -1646,7 +1650,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1646
1650
|
scalingGroup?: NodepoolScalingGroup;
|
|
1647
1651
|
/**
|
|
1648
1652
|
* @remarks
|
|
1649
|
-
* The confidential computing
|
|
1653
|
+
* The confidential computing node pool configuration.
|
|
1650
1654
|
*/
|
|
1651
1655
|
teeConfig?: NodepoolTeeConfig;
|
|
1652
1656
|
static names(): { [key: string]: string } {
|