@alicloud/cs20151215 7.1.0 → 7.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +18 -6
- package/dist/client.js +18 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
- package/dist/models/CreateClusterNodePoolRequest.js +27 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +345 -70
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
- package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +225 -55
- package/dist/models/Nodepool.js +33 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
- package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +110 -92
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -6
- package/src/models/CreateClusterNodePoolRequest.ts +379 -76
- package/src/models/CreateClusterRequest.ts +345 -70
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
- package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
- package/src/models/Nodepool.ts +247 -55
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
- package/src/models/model.ts +9 -0
package/src/models/Nodepool.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
import { DataDisk } from "./DataDisk";
|
|
4
4
|
import { DiskInit } from "./DiskInit";
|
|
5
5
|
import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
|
|
6
|
+
import { InstancePatterns } from "./InstancePatterns";
|
|
6
7
|
import { KubeletConfig } from "./KubeletConfig";
|
|
7
8
|
import { Tag } from "./Tag";
|
|
8
9
|
import { Taint } from "./Taint";
|
|
@@ -13,6 +14,8 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
13
14
|
* @remarks
|
|
14
15
|
* **[Deprecated]**
|
|
15
16
|
*
|
|
17
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
18
|
+
*
|
|
16
19
|
* @example
|
|
17
20
|
* 5
|
|
18
21
|
*
|
|
@@ -23,6 +26,13 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
23
26
|
* @remarks
|
|
24
27
|
* **[Deprecated]**
|
|
25
28
|
*
|
|
29
|
+
* The billing method of the EIP. Valid values:
|
|
30
|
+
*
|
|
31
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
32
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
33
|
+
*
|
|
34
|
+
* Default value: PayByBandwidth.
|
|
35
|
+
*
|
|
26
36
|
* @example
|
|
27
37
|
* PayByBandwidth
|
|
28
38
|
*
|
|
@@ -31,10 +41,10 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
31
41
|
eipInternetChargeType?: string;
|
|
32
42
|
/**
|
|
33
43
|
* @remarks
|
|
34
|
-
* Specifies whether to enable
|
|
44
|
+
* Specifies whether to enable auto scaling.
|
|
35
45
|
*
|
|
36
|
-
* - `true`: Enables the
|
|
37
|
-
* - `false`: Disables
|
|
46
|
+
* - `true`: Enables the auto scaling feature for the node pool.
|
|
47
|
+
* - `false`: Disables auto scaling. When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
38
48
|
*
|
|
39
49
|
* Default value: `false`.
|
|
40
50
|
*
|
|
@@ -48,7 +58,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
48
58
|
* @remarks
|
|
49
59
|
* **[Deprecated]**
|
|
50
60
|
*
|
|
51
|
-
* Specifies whether to associate an
|
|
61
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
52
62
|
*
|
|
53
63
|
* - `true`: Associates an EIP.
|
|
54
64
|
* - `false`: Does not associate an EIP.
|
|
@@ -83,7 +93,14 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
83
93
|
minInstances?: number;
|
|
84
94
|
/**
|
|
85
95
|
* @remarks
|
|
86
|
-
* The auto scaling type, classified by
|
|
96
|
+
* The auto scaling type, classified by instance type. Valid values:
|
|
97
|
+
*
|
|
98
|
+
* - `cpu`: regular instance type.
|
|
99
|
+
* - `gpu`: GPU instance type.
|
|
100
|
+
* - `gpushare`: GPU sharing type.
|
|
101
|
+
* - `spot`: spot instance type.
|
|
102
|
+
*
|
|
103
|
+
* Default value: `cpu`.
|
|
87
104
|
*
|
|
88
105
|
* @example
|
|
89
106
|
* cpu
|
|
@@ -127,6 +144,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
127
144
|
* @remarks
|
|
128
145
|
* **[Deprecated]**
|
|
129
146
|
*
|
|
147
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
148
|
+
*
|
|
130
149
|
* @example
|
|
131
150
|
* 10
|
|
132
151
|
*
|
|
@@ -137,6 +156,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
137
156
|
* @remarks
|
|
138
157
|
* **[Deprecated]**
|
|
139
158
|
*
|
|
159
|
+
* The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
|
|
160
|
+
*
|
|
140
161
|
* @example
|
|
141
162
|
* ccn-qm5i0i0q9yi*******
|
|
142
163
|
*
|
|
@@ -147,6 +168,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
147
168
|
* @remarks
|
|
148
169
|
* **[Deprecated]**
|
|
149
170
|
*
|
|
171
|
+
* The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
|
|
172
|
+
*
|
|
150
173
|
* @example
|
|
151
174
|
* cn-shanghai
|
|
152
175
|
*
|
|
@@ -157,6 +180,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
157
180
|
* @remarks
|
|
158
181
|
* **[Deprecated]**
|
|
159
182
|
*
|
|
183
|
+
* The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
|
|
184
|
+
*
|
|
160
185
|
* @example
|
|
161
186
|
* cen-ey9k9nfhz0f*******
|
|
162
187
|
*
|
|
@@ -167,6 +192,8 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
167
192
|
* @remarks
|
|
168
193
|
* **[Deprecated]**
|
|
169
194
|
*
|
|
195
|
+
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
196
|
+
*
|
|
170
197
|
* @example
|
|
171
198
|
* 1
|
|
172
199
|
*
|
|
@@ -205,7 +232,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
205
232
|
export class NodepoolKubernetesConfig extends $dara.Model {
|
|
206
233
|
/**
|
|
207
234
|
* @remarks
|
|
208
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
235
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
209
236
|
*
|
|
210
237
|
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
211
238
|
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
@@ -218,7 +245,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
218
245
|
cmsEnabled?: boolean;
|
|
219
246
|
/**
|
|
220
247
|
* @remarks
|
|
221
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
248
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
249
|
+
*
|
|
250
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
251
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
252
|
+
*
|
|
253
|
+
* Default value: `none`.
|
|
222
254
|
*
|
|
223
255
|
* @example
|
|
224
256
|
* none
|
|
@@ -226,13 +258,18 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
226
258
|
cpuPolicy?: string;
|
|
227
259
|
/**
|
|
228
260
|
* @remarks
|
|
229
|
-
* The node labels.
|
|
261
|
+
* The node labels. Adds labels to Kubernetes cluster nodes.
|
|
230
262
|
*/
|
|
231
263
|
labels?: Tag[];
|
|
232
264
|
/**
|
|
233
265
|
* @remarks
|
|
234
266
|
* The node name consists of three parts: prefix + node IP + suffix:
|
|
235
267
|
*
|
|
268
|
+
* - 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.
|
|
269
|
+
* - The node IP is the complete private IP address of the node.
|
|
270
|
+
*
|
|
271
|
+
* 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.
|
|
272
|
+
*
|
|
236
273
|
* @example
|
|
237
274
|
* customized,aliyun,ip,com
|
|
238
275
|
*/
|
|
@@ -240,9 +277,9 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
240
277
|
/**
|
|
241
278
|
* @remarks
|
|
242
279
|
* The container runtime. Valid values:
|
|
243
|
-
* - `containerd`: Recommended.
|
|
244
|
-
* - `Sandboxed-Container.runv`: Sandboxed container
|
|
245
|
-
* - `docker`:
|
|
280
|
+
* - `containerd`: Recommended. Supports all cluster versions.
|
|
281
|
+
* - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation. Supports clusters of version 1.24 or earlier.
|
|
282
|
+
* - `docker`: Supports clusters of version 1.22 or earlier.
|
|
246
283
|
*
|
|
247
284
|
* Default value: `containerd`
|
|
248
285
|
*
|
|
@@ -269,7 +306,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
269
306
|
taints?: Taint[];
|
|
270
307
|
/**
|
|
271
308
|
* @remarks
|
|
272
|
-
* The custom data
|
|
309
|
+
* The node custom data.
|
|
273
310
|
*
|
|
274
311
|
* @example
|
|
275
312
|
* MXM=
|
|
@@ -318,11 +355,17 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
318
355
|
|
|
319
356
|
export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
320
357
|
/**
|
|
358
|
+
* @remarks
|
|
359
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. Supports a quantity (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default parallel repair count: 1.
|
|
360
|
+
*
|
|
321
361
|
* @example
|
|
322
362
|
* 5
|
|
323
363
|
*/
|
|
324
364
|
maxParallelRepairingNodes?: string;
|
|
325
365
|
/**
|
|
366
|
+
* @remarks
|
|
367
|
+
* The self-healing circuit breaker threshold. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. Supports a quantity (such as 10, valid values: 1 to 100000) or a percentage (such as 20%, valid values: 1% to 100%). Default circuit breaker threshold: 100%.
|
|
368
|
+
*
|
|
326
369
|
* @example
|
|
327
370
|
* 20%
|
|
328
371
|
*/
|
|
@@ -401,7 +444,7 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
401
444
|
restartNode?: boolean;
|
|
402
445
|
/**
|
|
403
446
|
* @remarks
|
|
404
|
-
* The vulnerability levels
|
|
447
|
+
* The vulnerability levels allowed for automatic fix, separated by commas.
|
|
405
448
|
*
|
|
406
449
|
* @example
|
|
407
450
|
* asap,nntf
|
|
@@ -435,6 +478,9 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
435
478
|
* @remarks
|
|
436
479
|
* Specifies whether to enable auto upgrade. Valid values:
|
|
437
480
|
*
|
|
481
|
+
* - `true`: enables auto upgrade.
|
|
482
|
+
* - `false`: does not enable auto upgrade.
|
|
483
|
+
*
|
|
438
484
|
* @example
|
|
439
485
|
* false
|
|
440
486
|
*/
|
|
@@ -443,6 +489,8 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
443
489
|
* @remarks
|
|
444
490
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
445
491
|
*
|
|
492
|
+
* Default value: 1.
|
|
493
|
+
*
|
|
446
494
|
* @example
|
|
447
495
|
* 0
|
|
448
496
|
*/
|
|
@@ -457,7 +505,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
457
505
|
surge?: number;
|
|
458
506
|
/**
|
|
459
507
|
* @remarks
|
|
460
|
-
* The
|
|
508
|
+
* The extra node percentage. This parameter is mutually exclusive with `surge`.
|
|
461
509
|
*
|
|
462
510
|
* @example
|
|
463
511
|
* 0
|
|
@@ -498,10 +546,10 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
498
546
|
autoFaultDiagnosis?: boolean;
|
|
499
547
|
/**
|
|
500
548
|
* @remarks
|
|
501
|
-
* Specifies whether to enable
|
|
549
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
|
|
502
550
|
*
|
|
503
|
-
* - `true`:
|
|
504
|
-
* - `false`:
|
|
551
|
+
* - `true`: enables auto repair.
|
|
552
|
+
* - `false`: does not enable auto repair.
|
|
505
553
|
*
|
|
506
554
|
* @example
|
|
507
555
|
* false
|
|
@@ -547,6 +595,9 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
547
595
|
* @remarks
|
|
548
596
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
549
597
|
*
|
|
598
|
+
* - `true`: enables the managed node pool.
|
|
599
|
+
* - `false`: does not enable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
600
|
+
*
|
|
550
601
|
* @example
|
|
551
602
|
* false
|
|
552
603
|
*/
|
|
@@ -609,24 +660,71 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
609
660
|
}
|
|
610
661
|
}
|
|
611
662
|
|
|
663
|
+
export class NodepoolNodeComponentsConfigEnvs extends $dara.Model {
|
|
664
|
+
/**
|
|
665
|
+
* @remarks
|
|
666
|
+
* The environment variable name.
|
|
667
|
+
*
|
|
668
|
+
* @example
|
|
669
|
+
* LOG_LEVEL
|
|
670
|
+
*/
|
|
671
|
+
name?: string;
|
|
672
|
+
/**
|
|
673
|
+
* @remarks
|
|
674
|
+
* The environment variable value.
|
|
675
|
+
*
|
|
676
|
+
* @example
|
|
677
|
+
* info
|
|
678
|
+
*/
|
|
679
|
+
value?: string;
|
|
680
|
+
static names(): { [key: string]: string } {
|
|
681
|
+
return {
|
|
682
|
+
name: 'name',
|
|
683
|
+
value: 'value',
|
|
684
|
+
};
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
static types(): { [key: string]: any } {
|
|
688
|
+
return {
|
|
689
|
+
name: 'string',
|
|
690
|
+
value: 'string',
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
validate() {
|
|
695
|
+
super.validate();
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
constructor(map?: { [key: string]: any }) {
|
|
699
|
+
super(map);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
|
|
612
703
|
export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
613
704
|
/**
|
|
614
705
|
* @remarks
|
|
615
|
-
* The custom configuration
|
|
706
|
+
* The node component custom configuration.
|
|
616
707
|
*
|
|
617
708
|
* @example
|
|
618
709
|
* {"cpuManagerPolicy":"static"}
|
|
619
710
|
*/
|
|
620
711
|
customConfig?: { [key: string]: any };
|
|
712
|
+
/**
|
|
713
|
+
* @remarks
|
|
714
|
+
* The node component environment variables.
|
|
715
|
+
*/
|
|
716
|
+
envs?: NodepoolNodeComponentsConfigEnvs[];
|
|
621
717
|
static names(): { [key: string]: string } {
|
|
622
718
|
return {
|
|
623
719
|
customConfig: 'custom_config',
|
|
720
|
+
envs: 'envs',
|
|
624
721
|
};
|
|
625
722
|
}
|
|
626
723
|
|
|
627
724
|
static types(): { [key: string]: any } {
|
|
628
725
|
return {
|
|
629
726
|
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
727
|
+
envs: { 'type': 'array', 'itemType': NodepoolNodeComponentsConfigEnvs },
|
|
630
728
|
};
|
|
631
729
|
}
|
|
632
730
|
|
|
@@ -634,6 +732,9 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
634
732
|
if(this.customConfig) {
|
|
635
733
|
$dara.Model.validateMap(this.customConfig);
|
|
636
734
|
}
|
|
735
|
+
if(Array.isArray(this.envs)) {
|
|
736
|
+
$dara.Model.validateArray(this.envs);
|
|
737
|
+
}
|
|
637
738
|
super.validate();
|
|
638
739
|
}
|
|
639
740
|
|
|
@@ -695,7 +796,7 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
695
796
|
export class NodepoolNodeConfig extends $dara.Model {
|
|
696
797
|
/**
|
|
697
798
|
* @remarks
|
|
698
|
-
* The
|
|
799
|
+
* The Kubelet parameter settings.
|
|
699
800
|
*/
|
|
700
801
|
kubeletConfiguration?: KubeletConfig;
|
|
701
802
|
static names(): { [key: string]: string } {
|
|
@@ -745,6 +846,9 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
745
846
|
* @remarks
|
|
746
847
|
* The node pool type. Valid values:
|
|
747
848
|
*
|
|
849
|
+
* - `ess`: node pool.
|
|
850
|
+
* - `edge`: edge node pool.
|
|
851
|
+
*
|
|
748
852
|
* @example
|
|
749
853
|
* ess
|
|
750
854
|
*/
|
|
@@ -778,6 +882,8 @@ export class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
|
778
882
|
/**
|
|
779
883
|
* @remarks
|
|
780
884
|
* Specifies whether to enable nested virtualization. Valid values:
|
|
885
|
+
* disabled: disables nested virtualization.
|
|
886
|
+
* enabled: enables nested virtualization.
|
|
781
887
|
*
|
|
782
888
|
* @example
|
|
783
889
|
* enabled
|
|
@@ -815,13 +921,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
815
921
|
id?: string;
|
|
816
922
|
/**
|
|
817
923
|
* @remarks
|
|
818
|
-
* The
|
|
924
|
+
* The private node pool type. This specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance startup. Valid values:
|
|
819
925
|
*
|
|
820
|
-
* - `Open`: open mode.
|
|
926
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for instance startup.
|
|
821
927
|
*
|
|
822
|
-
* - `Target`: targeted mode.
|
|
928
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity for instance startup. If the specified private pool capacity is unavailable, the instance fails to start.
|
|
823
929
|
*
|
|
824
|
-
* - `None`:
|
|
930
|
+
* - `None`: do not use mode. Instance startup does not use private pool capacity.
|
|
825
931
|
*
|
|
826
932
|
* @example
|
|
827
933
|
* Open
|
|
@@ -858,12 +964,10 @@ export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
|
858
964
|
privatePoolIds?: string[];
|
|
859
965
|
/**
|
|
860
966
|
* @remarks
|
|
861
|
-
* The resource pool
|
|
862
|
-
*
|
|
863
|
-
*
|
|
864
|
-
*
|
|
865
|
-
* None: no resource pool strategy is used.
|
|
866
|
-
*
|
|
967
|
+
* The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, as well as public pools, for instance startup. Valid values:
|
|
968
|
+
* 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.
|
|
969
|
+
* PrivatePoolOnly: private pool only. When this policy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, the instance fails to start.
|
|
970
|
+
* None: do not use resource pool policy.
|
|
867
971
|
* Default value: None.
|
|
868
972
|
*
|
|
869
973
|
* @example
|
|
@@ -981,13 +1085,22 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
981
1085
|
* @remarks
|
|
982
1086
|
* 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:
|
|
983
1087
|
*
|
|
1088
|
+
* - `true`: Enables auto-renewal.
|
|
1089
|
+
* - `false`: Disables auto-renewal.
|
|
1090
|
+
*
|
|
1091
|
+
* Default value: `true`.
|
|
1092
|
+
*
|
|
984
1093
|
* @example
|
|
985
1094
|
* false
|
|
986
1095
|
*/
|
|
987
1096
|
autoRenew?: boolean;
|
|
988
1097
|
/**
|
|
989
1098
|
* @remarks
|
|
990
|
-
* The auto-renewal
|
|
1099
|
+
* The auto-renewal period of the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1100
|
+
*
|
|
1101
|
+
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
1102
|
+
*
|
|
1103
|
+
* Default value: 1.
|
|
991
1104
|
*
|
|
992
1105
|
* @example
|
|
993
1106
|
* 0
|
|
@@ -995,10 +1108,10 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
995
1108
|
autoRenewPeriod?: number;
|
|
996
1109
|
/**
|
|
997
1110
|
* @remarks
|
|
998
|
-
*
|
|
1111
|
+
* 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:
|
|
999
1112
|
*
|
|
1000
|
-
* - `true`:
|
|
1001
|
-
* - `false`:
|
|
1113
|
+
* - `true`: Allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1114
|
+
* - `false`: Do not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1002
1115
|
*
|
|
1003
1116
|
* @example
|
|
1004
1117
|
* true
|
|
@@ -1045,7 +1158,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1045
1158
|
imageId?: string;
|
|
1046
1159
|
/**
|
|
1047
1160
|
* @remarks
|
|
1048
|
-
* The operating system image type.
|
|
1161
|
+
* The operating system image type. Specify either this parameter or the platform parameter. Valid values:
|
|
1049
1162
|
*
|
|
1050
1163
|
* - `AliyunLinux`: Alinux2 image.
|
|
1051
1164
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -1064,6 +1177,11 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1064
1177
|
* @remarks
|
|
1065
1178
|
* The billing method for nodes in the node pool. Valid values:
|
|
1066
1179
|
*
|
|
1180
|
+
* - `PrePaid`: subscription.
|
|
1181
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1182
|
+
*
|
|
1183
|
+
* Default value: `PostPaid`.
|
|
1184
|
+
*
|
|
1067
1185
|
* This parameter is required.
|
|
1068
1186
|
*
|
|
1069
1187
|
* @example
|
|
@@ -1073,8 +1191,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1073
1191
|
/**
|
|
1074
1192
|
* @remarks
|
|
1075
1193
|
* The metadata access configuration for ECS instances.
|
|
1194
|
+
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to request access.
|
|
1076
1195
|
*/
|
|
1077
1196
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1197
|
+
/**
|
|
1198
|
+
* @remarks
|
|
1199
|
+
* The instance attributes.
|
|
1200
|
+
*/
|
|
1201
|
+
instancePatterns?: InstancePatterns[];
|
|
1078
1202
|
/**
|
|
1079
1203
|
* @remarks
|
|
1080
1204
|
* The instance types.
|
|
@@ -1086,13 +1210,16 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1086
1210
|
* @remarks
|
|
1087
1211
|
* The billing type for public IP addresses. Valid values:
|
|
1088
1212
|
*
|
|
1213
|
+
* - `PayByBandwidth`: billed by fixed bandwidth.
|
|
1214
|
+
* - `PayByTraffic`: billed by traffic usage.
|
|
1215
|
+
*
|
|
1089
1216
|
* @example
|
|
1090
1217
|
* PayByBandwidth
|
|
1091
1218
|
*/
|
|
1092
1219
|
internetChargeType?: string;
|
|
1093
1220
|
/**
|
|
1094
1221
|
* @remarks
|
|
1095
|
-
* The maximum outbound bandwidth for node public IP
|
|
1222
|
+
* The maximum outbound bandwidth for node public IP. Unit: Mbps (Mega bit per second). Valid values: [1,100].
|
|
1096
1223
|
*
|
|
1097
1224
|
* @example
|
|
1098
1225
|
* 10
|
|
@@ -1102,13 +1229,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1102
1229
|
* @remarks
|
|
1103
1230
|
* The key pair name. Specify either this parameter or `login_password`.
|
|
1104
1231
|
*
|
|
1232
|
+
* > If you create a managed node pool, only `key_pair` is supported.
|
|
1233
|
+
*
|
|
1105
1234
|
* @example
|
|
1106
1235
|
* np-key
|
|
1107
1236
|
*/
|
|
1108
1237
|
keyPair?: string;
|
|
1109
1238
|
/**
|
|
1110
1239
|
* @remarks
|
|
1111
|
-
* Specifies whether
|
|
1240
|
+
* Specifies whether the scaled-out ECS instance uses a non-root user for logon.
|
|
1112
1241
|
*/
|
|
1113
1242
|
loginAsNonRoot?: boolean;
|
|
1114
1243
|
/**
|
|
@@ -1123,13 +1252,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1123
1252
|
* @remarks
|
|
1124
1253
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1125
1254
|
*
|
|
1126
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the next-priority vSwitch
|
|
1255
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1127
1256
|
*
|
|
1128
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order from
|
|
1257
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration settings include multiple instance types with spot billing, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether the system is allowed to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1129
1258
|
*
|
|
1130
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
1259
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration settings include multiple instance types or use spot instances.
|
|
1131
1260
|
*
|
|
1132
|
-
* - `BALANCE`:
|
|
1261
|
+
* - `BALANCE`: Allocates ECS instances evenly across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the RebalanceInstances API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1133
1262
|
*
|
|
1134
1263
|
* Default value: `PRIORITY`.
|
|
1135
1264
|
*
|
|
@@ -1155,7 +1284,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1155
1284
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1156
1285
|
/**
|
|
1157
1286
|
* @remarks
|
|
1158
|
-
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values: when `period_unit` is set to Month,
|
|
1287
|
+
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values: when `period_unit` is set to Month, valid values for `period`: {1, 2, 3, 6, 12}.
|
|
1288
|
+
*
|
|
1289
|
+
* Default value: 1.
|
|
1159
1290
|
*
|
|
1160
1291
|
* @example
|
|
1161
1292
|
* 0
|
|
@@ -1165,6 +1296,8 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1165
1296
|
* @remarks
|
|
1166
1297
|
* The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1167
1298
|
*
|
|
1299
|
+
* `Month`: Currently, only month is supported as the unit.
|
|
1300
|
+
*
|
|
1168
1301
|
* @example
|
|
1169
1302
|
* Month
|
|
1170
1303
|
*/
|
|
@@ -1173,6 +1306,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1173
1306
|
* @remarks
|
|
1174
1307
|
* The operating system distribution. Valid values:
|
|
1175
1308
|
*
|
|
1309
|
+
* - `CentOS`
|
|
1310
|
+
* - `AliyunLinux`
|
|
1311
|
+
* - `Windows`
|
|
1312
|
+
* - `WindowsCore`
|
|
1313
|
+
*
|
|
1314
|
+
* Default value: `AliyunLinux`.
|
|
1315
|
+
*
|
|
1176
1316
|
* @example
|
|
1177
1317
|
* AliyunLinux
|
|
1178
1318
|
*
|
|
@@ -1187,6 +1327,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1187
1327
|
/**
|
|
1188
1328
|
* @remarks
|
|
1189
1329
|
* The Worker RAM role name.
|
|
1330
|
+
* >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
|
|
1190
1331
|
*
|
|
1191
1332
|
* @example
|
|
1192
1333
|
* example-role
|
|
@@ -1199,12 +1340,19 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1199
1340
|
rdsInstances?: string[];
|
|
1200
1341
|
/**
|
|
1201
1342
|
* @remarks
|
|
1202
|
-
* The resource pool and resource pool policy used when creating instances.
|
|
1343
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1344
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1345
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1203
1346
|
*/
|
|
1204
1347
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1205
1348
|
/**
|
|
1206
1349
|
* @remarks
|
|
1207
|
-
* The scaling group
|
|
1350
|
+
* The scaling group pattern. Valid values:
|
|
1351
|
+
*
|
|
1352
|
+
* - `release`: standard pattern. Scales in or out by creating or releasing ECS instances based on resource usage.
|
|
1353
|
+
* - `recycle`: swift pattern. Scales in or out by creating, stopping, or starting ECS instances to improve the speed of subsequent scaling operations. Stopped instances do not incur compute resource charges, but storage charges still apply, except for instances with local disks.
|
|
1354
|
+
*
|
|
1355
|
+
* Default value: `release`.
|
|
1208
1356
|
*
|
|
1209
1357
|
* @example
|
|
1210
1358
|
* release
|
|
@@ -1225,7 +1373,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1225
1373
|
securityGroupIds?: string[];
|
|
1226
1374
|
/**
|
|
1227
1375
|
* @remarks
|
|
1228
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1376
|
+
* The number of available instance types. The scaling group creates spot instances across multiple types with the lowest cost. Valid values: [1,10].
|
|
1229
1377
|
*
|
|
1230
1378
|
* @example
|
|
1231
1379
|
* 5
|
|
@@ -1233,7 +1381,10 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1233
1381
|
spotInstancePools?: number;
|
|
1234
1382
|
/**
|
|
1235
1383
|
* @remarks
|
|
1236
|
-
* Specifies whether to enable
|
|
1384
|
+
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1385
|
+
*
|
|
1386
|
+
* - `true`: Enable supplementing spot instances.
|
|
1387
|
+
* - `false`: Disable supplementing spot instances.
|
|
1237
1388
|
*
|
|
1238
1389
|
* @example
|
|
1239
1390
|
* false
|
|
@@ -1241,12 +1392,17 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1241
1392
|
spotInstanceRemedy?: boolean;
|
|
1242
1393
|
/**
|
|
1243
1394
|
* @remarks
|
|
1244
|
-
* The price range
|
|
1395
|
+
* The price range configurations for a single spot instance of the current instance type.
|
|
1245
1396
|
*/
|
|
1246
1397
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1247
1398
|
/**
|
|
1248
1399
|
* @remarks
|
|
1249
|
-
* The spot instance
|
|
1400
|
+
* The type of spot instance. Valid values:
|
|
1401
|
+
* - NoSpot: non-spot instance.
|
|
1402
|
+
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1403
|
+
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1404
|
+
*
|
|
1405
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1250
1406
|
*
|
|
1251
1407
|
* @example
|
|
1252
1408
|
* NoSpot
|
|
@@ -1254,7 +1410,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1254
1410
|
spotStrategy?: string;
|
|
1255
1411
|
/**
|
|
1256
1412
|
* @remarks
|
|
1257
|
-
* Specifies whether to enable burst (
|
|
1413
|
+
* Specifies whether to enable burst (performance bursting) for the node system cloud disk. Valid values:
|
|
1414
|
+
*
|
|
1415
|
+
* - true: Enable.
|
|
1416
|
+
* - false: Disable.
|
|
1417
|
+
*
|
|
1418
|
+
* 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).
|
|
1258
1419
|
*
|
|
1259
1420
|
* @example
|
|
1260
1421
|
* true
|
|
@@ -1262,13 +1423,26 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1262
1423
|
systemDiskBurstingEnabled?: boolean;
|
|
1263
1424
|
/**
|
|
1264
1425
|
* @remarks
|
|
1265
|
-
*
|
|
1426
|
+
* Multiple disk types for the system cloud disk. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk. Valid values:
|
|
1427
|
+
*
|
|
1428
|
+
* - cloud: basic cloud disk.
|
|
1429
|
+
* - cloud_efficiency: ultra cloud disk.
|
|
1430
|
+
* - cloud_ssd: standard SSD.
|
|
1431
|
+
* - cloud_essd: ESSD.
|
|
1266
1432
|
*/
|
|
1267
1433
|
systemDiskCategories?: string[];
|
|
1268
1434
|
/**
|
|
1269
1435
|
* @remarks
|
|
1270
1436
|
* The type of the node system cloud disk. Valid values:
|
|
1271
1437
|
*
|
|
1438
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1439
|
+
* - `cloud_ssd`: standard SSD.
|
|
1440
|
+
* - `cloud_essd`: ESSD.
|
|
1441
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
1442
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1443
|
+
*
|
|
1444
|
+
* Default value: `cloud_efficiency`.
|
|
1445
|
+
*
|
|
1272
1446
|
* @example
|
|
1273
1447
|
* cloud_efficiency
|
|
1274
1448
|
*/
|
|
@@ -1283,7 +1457,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1283
1457
|
systemDiskEncryptAlgorithm?: string;
|
|
1284
1458
|
/**
|
|
1285
1459
|
* @remarks
|
|
1286
|
-
* Specifies whether to encrypt the system cloud disk. Valid values: true:
|
|
1460
|
+
* Specifies whether to encrypt the system cloud disk. Valid values: true: encrypt. false: do not encrypt.
|
|
1287
1461
|
*/
|
|
1288
1462
|
systemDiskEncrypted?: boolean;
|
|
1289
1463
|
/**
|
|
@@ -1296,7 +1470,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1296
1470
|
systemDiskKmsKeyId?: string;
|
|
1297
1471
|
/**
|
|
1298
1472
|
* @remarks
|
|
1299
|
-
* The performance level of the system cloud disk
|
|
1473
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD disks.
|
|
1300
1474
|
*
|
|
1301
1475
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1302
1476
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
@@ -1309,7 +1483,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1309
1483
|
systemDiskPerformanceLevel?: string;
|
|
1310
1484
|
/**
|
|
1311
1485
|
* @remarks
|
|
1312
|
-
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000
|
|
1486
|
+
* 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}.
|
|
1487
|
+
*
|
|
1488
|
+
* 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).
|
|
1313
1489
|
*
|
|
1314
1490
|
* @example
|
|
1315
1491
|
* 1000
|
|
@@ -1319,6 +1495,8 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1319
1495
|
* @remarks
|
|
1320
1496
|
* The size of the node system cloud disk. Unit: GiB.
|
|
1321
1497
|
*
|
|
1498
|
+
* Valid values: [40,500].
|
|
1499
|
+
*
|
|
1322
1500
|
* @example
|
|
1323
1501
|
* 120
|
|
1324
1502
|
*/
|
|
@@ -1326,6 +1504,8 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1326
1504
|
/**
|
|
1327
1505
|
* @remarks
|
|
1328
1506
|
* Tags added only to ECS instances.
|
|
1507
|
+
*
|
|
1508
|
+
* Tag keys cannot be duplicated and have a maximum length of 128 characters. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1329
1509
|
*/
|
|
1330
1510
|
tags?: NodepoolScalingGroupTags[];
|
|
1331
1511
|
/**
|
|
@@ -1349,6 +1529,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1349
1529
|
imageType: 'image_type',
|
|
1350
1530
|
instanceChargeType: 'instance_charge_type',
|
|
1351
1531
|
instanceMetadataOptions: 'instance_metadata_options',
|
|
1532
|
+
instancePatterns: 'instance_patterns',
|
|
1352
1533
|
instanceTypes: 'instance_types',
|
|
1353
1534
|
internetChargeType: 'internet_charge_type',
|
|
1354
1535
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
@@ -1400,6 +1581,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1400
1581
|
imageType: 'string',
|
|
1401
1582
|
instanceChargeType: 'string',
|
|
1402
1583
|
instanceMetadataOptions: InstanceMetadataOptions,
|
|
1584
|
+
instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
|
|
1403
1585
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
1404
1586
|
internetChargeType: 'string',
|
|
1405
1587
|
internetMaxBandwidthOut: 'number',
|
|
@@ -1450,6 +1632,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1450
1632
|
if(this.instanceMetadataOptions && typeof (this.instanceMetadataOptions as any).validate === 'function') {
|
|
1451
1633
|
(this.instanceMetadataOptions as any).validate();
|
|
1452
1634
|
}
|
|
1635
|
+
if(Array.isArray(this.instancePatterns)) {
|
|
1636
|
+
$dara.Model.validateArray(this.instancePatterns);
|
|
1637
|
+
}
|
|
1453
1638
|
if(Array.isArray(this.instanceTypes)) {
|
|
1454
1639
|
$dara.Model.validateArray(this.instanceTypes);
|
|
1455
1640
|
}
|
|
@@ -1488,7 +1673,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1488
1673
|
export class NodepoolTeeConfig extends $dara.Model {
|
|
1489
1674
|
/**
|
|
1490
1675
|
* @remarks
|
|
1491
|
-
*
|
|
1676
|
+
* Specifies whether the node pool is a confidential computing node pool.
|
|
1492
1677
|
*
|
|
1493
1678
|
* This parameter is required.
|
|
1494
1679
|
*
|
|
@@ -1527,6 +1712,8 @@ export class Nodepool extends $dara.Model {
|
|
|
1527
1712
|
* @remarks
|
|
1528
1713
|
* **[Deprecated]** Use desired_size instead.
|
|
1529
1714
|
*
|
|
1715
|
+
* The number of nodes in the node pool.
|
|
1716
|
+
*
|
|
1530
1717
|
* @example
|
|
1531
1718
|
* 1
|
|
1532
1719
|
*
|
|
@@ -1537,12 +1724,17 @@ export class Nodepool extends $dara.Model {
|
|
|
1537
1724
|
* @remarks
|
|
1538
1725
|
* **[Deprecated]**
|
|
1539
1726
|
*
|
|
1727
|
+
* The edge node pool configuration.
|
|
1728
|
+
*
|
|
1540
1729
|
* @deprecated
|
|
1541
1730
|
*/
|
|
1542
1731
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1543
1732
|
/**
|
|
1544
1733
|
* @remarks
|
|
1545
|
-
* The network type of the edge node pool. This parameter is
|
|
1734
|
+
* The network type of the edge node pool. This parameter is meaningful only for node pools whose `type` is `edge`. Valid values:
|
|
1735
|
+
*
|
|
1736
|
+
* - `basic`: basic.
|
|
1737
|
+
* - `private`: dedicated. Supported in version 1.22 and later.
|
|
1546
1738
|
*
|
|
1547
1739
|
* @example
|
|
1548
1740
|
* basic
|
|
@@ -1560,7 +1752,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1560
1752
|
management?: NodepoolManagement;
|
|
1561
1753
|
/**
|
|
1562
1754
|
* @remarks
|
|
1563
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1755
|
+
* The maximum number of nodes allowed in the edge node pool. This parameter must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the maximum number of nodes the cluster can accommodate, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0.
|
|
1564
1756
|
*
|
|
1565
1757
|
* @example
|
|
1566
1758
|
* 10
|