@alicloud/cs20151215 6.6.5 → 6.7.0
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 +26 -8
- package/dist/client.js +53 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +396 -287
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +241 -244
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +254 -254
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +225 -218
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +183 -183
- package/dist/models/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +57 -8
- package/src/models/CreateClusterNodePoolRequest.ts +397 -288
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +241 -244
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +254 -254
- package/src/models/ModifyClusterNodePoolRequest.ts +225 -218
- package/src/models/Nodepool.ts +183 -183
- package/src/models/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- package/src/models/model.ts +3 -0
package/src/models/Nodepool.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Taint } from "./Taint";
|
|
|
11
11
|
export class NodepoolAutoScaling extends $dara.Model {
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
*
|
|
14
|
+
* This parameter is deprecated.
|
|
15
15
|
*
|
|
16
16
|
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
17
17
|
*
|
|
@@ -23,9 +23,9 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
23
23
|
eipBandwidth?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* This parameter is deprecated.
|
|
27
27
|
*
|
|
28
|
-
* The billing method
|
|
28
|
+
* The billing method of the EIP. Valid values:
|
|
29
29
|
*
|
|
30
30
|
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
31
31
|
*
|
|
@@ -41,11 +41,11 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
41
41
|
eipInternetChargeType?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
44
|
+
* Specifies whether to enable auto-scaling.
|
|
45
45
|
*
|
|
46
|
-
* - `true`:
|
|
46
|
+
* - `true`: Enables auto-scaling for the node pool.
|
|
47
47
|
*
|
|
48
|
-
* - `false`: Disables auto
|
|
48
|
+
* - `false`: Disables auto-scaling. If you set this parameter to false, other parameters in the `auto_scaling` object do not take effect.
|
|
49
49
|
*
|
|
50
50
|
* Default value: `false`.
|
|
51
51
|
*
|
|
@@ -57,13 +57,13 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
57
57
|
enable?: boolean;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
*
|
|
60
|
+
* This parameter is deprecated.
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
63
63
|
*
|
|
64
|
-
* - `true`:
|
|
64
|
+
* - `true`: Associates an EIP.
|
|
65
65
|
*
|
|
66
|
-
* - `false`:
|
|
66
|
+
* - `false`: Does not associate an EIP.
|
|
67
67
|
*
|
|
68
68
|
* Default value: `false`.
|
|
69
69
|
*
|
|
@@ -75,7 +75,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
75
75
|
isBondEip?: boolean;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The maximum number of instances in the
|
|
78
|
+
* The maximum number of instances in the scaling group.
|
|
79
79
|
*
|
|
80
80
|
* This parameter is required.
|
|
81
81
|
*
|
|
@@ -85,7 +85,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
85
85
|
maxInstances?: number;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The minimum number of instances in the
|
|
88
|
+
* The minimum number of instances in the scaling group.
|
|
89
89
|
*
|
|
90
90
|
* This parameter is required.
|
|
91
91
|
*
|
|
@@ -95,13 +95,13 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
95
95
|
minInstances?: number;
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The type of
|
|
98
|
+
* The type of auto-scaling, which is determined by the instance type. Valid values:
|
|
99
99
|
*
|
|
100
|
-
* - `cpu`:
|
|
100
|
+
* - `cpu`: Standard instances.
|
|
101
101
|
*
|
|
102
102
|
* - `gpu`: GPU-accelerated instances.
|
|
103
103
|
*
|
|
104
|
-
* - `gpushare`: Shared GPU
|
|
104
|
+
* - `gpushare`: Shared GPU instances.
|
|
105
105
|
*
|
|
106
106
|
* - `spot`: Spot instances.
|
|
107
107
|
*
|
|
@@ -147,9 +147,9 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
147
147
|
export class NodepoolInterconnectConfig extends $dara.Model {
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
|
-
*
|
|
150
|
+
* This parameter is deprecated.
|
|
151
151
|
*
|
|
152
|
-
*
|
|
152
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
153
153
|
*
|
|
154
154
|
* @example
|
|
155
155
|
* 10
|
|
@@ -159,9 +159,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
159
159
|
bandwidth?: number;
|
|
160
160
|
/**
|
|
161
161
|
* @remarks
|
|
162
|
-
*
|
|
162
|
+
* This parameter is deprecated.
|
|
163
163
|
*
|
|
164
|
-
*
|
|
164
|
+
* The CCN instance ID (CCNID) bound to the enhanced edge node pool.
|
|
165
165
|
*
|
|
166
166
|
* @example
|
|
167
167
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -171,9 +171,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
171
171
|
ccnId?: string;
|
|
172
172
|
/**
|
|
173
173
|
* @remarks
|
|
174
|
-
*
|
|
174
|
+
* This parameter is deprecated.
|
|
175
175
|
*
|
|
176
|
-
*
|
|
176
|
+
* The region where the CCN instance bound to the enhanced edge node pool is located.
|
|
177
177
|
*
|
|
178
178
|
* @example
|
|
179
179
|
* cn-shanghai
|
|
@@ -183,9 +183,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
183
183
|
ccnRegionId?: string;
|
|
184
184
|
/**
|
|
185
185
|
* @remarks
|
|
186
|
-
*
|
|
186
|
+
* This parameter is deprecated.
|
|
187
187
|
*
|
|
188
|
-
* The ID
|
|
188
|
+
* The CEN instance ID (CENID) bound to the enhanced edge node pool.
|
|
189
189
|
*
|
|
190
190
|
* @example
|
|
191
191
|
* cen-ey9k9nfhz0f*******
|
|
@@ -195,9 +195,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
195
195
|
cenId?: string;
|
|
196
196
|
/**
|
|
197
197
|
* @remarks
|
|
198
|
-
*
|
|
198
|
+
* This parameter is deprecated.
|
|
199
199
|
*
|
|
200
|
-
*
|
|
200
|
+
* The subscription duration of the enhanced edge node pool. Unit: month.
|
|
201
201
|
*
|
|
202
202
|
* @example
|
|
203
203
|
* 1
|
|
@@ -237,11 +237,11 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
237
237
|
export class NodepoolKubernetesConfig extends $dara.Model {
|
|
238
238
|
/**
|
|
239
239
|
* @remarks
|
|
240
|
-
*
|
|
240
|
+
* Specifies whether to install Cloud Monitor on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
|
|
241
241
|
*
|
|
242
|
-
* - `true`:
|
|
242
|
+
* - `true`: Installs Cloud Monitor on ECS nodes.
|
|
243
243
|
*
|
|
244
|
-
* - `false`:
|
|
244
|
+
* - `false`: Does not install Cloud Monitor on ECS nodes.
|
|
245
245
|
*
|
|
246
246
|
* Default value: `false`.
|
|
247
247
|
*
|
|
@@ -251,11 +251,11 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
251
251
|
cmsEnabled?: boolean;
|
|
252
252
|
/**
|
|
253
253
|
* @remarks
|
|
254
|
-
* The CPU management policy
|
|
254
|
+
* The CPU management policy for the node. The following policies are supported for clusters of Kubernetes v1.12.6 or later:
|
|
255
255
|
*
|
|
256
|
-
* - `static`:
|
|
256
|
+
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
257
257
|
*
|
|
258
|
-
* - `none`:
|
|
258
|
+
* - `none`: Indicates that the existing default CPU affinity scheme is enabled.
|
|
259
259
|
*
|
|
260
260
|
* Default value: `none`.
|
|
261
261
|
*
|
|
@@ -265,18 +265,18 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
265
265
|
cpuPolicy?: string;
|
|
266
266
|
/**
|
|
267
267
|
* @remarks
|
|
268
|
-
* The labels
|
|
268
|
+
* The node labels. Adds labels to the nodes of the Kubernetes cluster.
|
|
269
269
|
*/
|
|
270
270
|
labels?: Tag[];
|
|
271
271
|
/**
|
|
272
272
|
* @remarks
|
|
273
|
-
* The
|
|
273
|
+
* The node name consists of three parts: a prefix, the node IP address, and a suffix.
|
|
274
274
|
*
|
|
275
|
-
* - The prefix and suffix can consist of one or more parts
|
|
275
|
+
* - The prefix and suffix can each consist of one or more parts separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or a digit.
|
|
276
276
|
*
|
|
277
277
|
* - The node IP address is the complete private IP address of the node.
|
|
278
278
|
*
|
|
279
|
-
*
|
|
279
|
+
* The parameter consists of four parts separated by commas. For example, if you pass the string "customized,aliyun,ip,com", the node name is aliyun.192.168.xxx.xxx.com. In this example, "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix.
|
|
280
280
|
*
|
|
281
281
|
* @example
|
|
282
282
|
* customized,aliyun,ip,com
|
|
@@ -286,11 +286,11 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
286
286
|
* @remarks
|
|
287
287
|
* The container runtime. Valid values:
|
|
288
288
|
*
|
|
289
|
-
* - `containerd`: Recommended. This
|
|
289
|
+
* - `containerd`: Recommended. This option is supported for all cluster versions.
|
|
290
290
|
*
|
|
291
|
-
* - `Sandboxed-Container.runv`:
|
|
291
|
+
* - `Sandboxed-Container.runv`: A sandboxed container that provides higher isolation. This option is supported for clusters of Kubernetes v1.24 or earlier.
|
|
292
292
|
*
|
|
293
|
-
* - `docker`: This
|
|
293
|
+
* - `docker`: This option is supported for clusters of Kubernetes v1.22 or earlier.
|
|
294
294
|
*
|
|
295
295
|
* Default value: `containerd`
|
|
296
296
|
*
|
|
@@ -302,7 +302,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
302
302
|
runtime?: string;
|
|
303
303
|
/**
|
|
304
304
|
* @remarks
|
|
305
|
-
* The
|
|
305
|
+
* The container runtime version.
|
|
306
306
|
*
|
|
307
307
|
* This parameter is required.
|
|
308
308
|
*
|
|
@@ -312,12 +312,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
312
312
|
runtimeVersion?: string;
|
|
313
313
|
/**
|
|
314
314
|
* @remarks
|
|
315
|
-
* The
|
|
315
|
+
* The taint configurations.
|
|
316
316
|
*/
|
|
317
317
|
taints?: Taint[];
|
|
318
318
|
/**
|
|
319
319
|
* @remarks
|
|
320
|
-
* The
|
|
320
|
+
* The custom data of the node.
|
|
321
321
|
*
|
|
322
322
|
* @example
|
|
323
323
|
* MXM=
|
|
@@ -367,7 +367,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
367
367
|
export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
368
368
|
/**
|
|
369
369
|
* @remarks
|
|
370
|
-
* Specifies whether to allow
|
|
370
|
+
* Specifies whether to allow restarting nodes.
|
|
371
371
|
*
|
|
372
372
|
* @example
|
|
373
373
|
* true
|
|
@@ -397,7 +397,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
397
397
|
export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
398
398
|
/**
|
|
399
399
|
* @remarks
|
|
400
|
-
* Specifies whether to allow the kubelet
|
|
400
|
+
* Specifies whether to allow auto-upgrading the kubelet.
|
|
401
401
|
*
|
|
402
402
|
* @example
|
|
403
403
|
* true
|
|
@@ -427,7 +427,7 @@ export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
427
427
|
export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
428
428
|
/**
|
|
429
429
|
* @remarks
|
|
430
|
-
* Specifies whether to allow
|
|
430
|
+
* Specifies whether to allow restarting nodes.
|
|
431
431
|
*
|
|
432
432
|
* @example
|
|
433
433
|
* true
|
|
@@ -435,7 +435,7 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
435
435
|
restartNode?: boolean;
|
|
436
436
|
/**
|
|
437
437
|
* @remarks
|
|
438
|
-
* The
|
|
438
|
+
* The vulnerability levels that are allowed to be automatically fixed, separated by commas.
|
|
439
439
|
*
|
|
440
440
|
* @example
|
|
441
441
|
* asap,nntf
|
|
@@ -467,11 +467,11 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
467
467
|
export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
468
468
|
/**
|
|
469
469
|
* @remarks
|
|
470
|
-
* Specifies whether to enable auto
|
|
470
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
471
471
|
*
|
|
472
|
-
* - `true
|
|
472
|
+
* - `true`: Enables auto-upgrade.
|
|
473
473
|
*
|
|
474
|
-
* - `false
|
|
474
|
+
* - `false`: Disables auto-upgrade.
|
|
475
475
|
*
|
|
476
476
|
* @example
|
|
477
477
|
* false
|
|
@@ -479,7 +479,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
479
479
|
autoUpgrade?: boolean;
|
|
480
480
|
/**
|
|
481
481
|
* @remarks
|
|
482
|
-
* The maximum number of unavailable nodes.
|
|
482
|
+
* The maximum number of unavailable nodes. Value range: [1, 1000].
|
|
483
483
|
*
|
|
484
484
|
* Default value: 1.
|
|
485
485
|
*
|
|
@@ -534,11 +534,11 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
534
534
|
autoFaultDiagnosis?: boolean;
|
|
535
535
|
/**
|
|
536
536
|
* @remarks
|
|
537
|
-
*
|
|
537
|
+
* Auto repair. This takes effect only when `enable=true`.
|
|
538
538
|
*
|
|
539
|
-
* - `true
|
|
539
|
+
* - `true`: Enables auto repair.
|
|
540
540
|
*
|
|
541
|
-
* - `false
|
|
541
|
+
* - `false`: Disables auto repair.
|
|
542
542
|
*
|
|
543
543
|
* @example
|
|
544
544
|
* false
|
|
@@ -546,12 +546,12 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
546
546
|
autoRepair?: boolean;
|
|
547
547
|
/**
|
|
548
548
|
* @remarks
|
|
549
|
-
* The auto
|
|
549
|
+
* The auto-repair policy for nodes.
|
|
550
550
|
*/
|
|
551
551
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
552
552
|
/**
|
|
553
553
|
* @remarks
|
|
554
|
-
* Specifies whether to enable auto
|
|
554
|
+
* Specifies whether to enable auto-upgrade.
|
|
555
555
|
*
|
|
556
556
|
* @example
|
|
557
557
|
* true
|
|
@@ -559,7 +559,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
559
559
|
autoUpgrade?: boolean;
|
|
560
560
|
/**
|
|
561
561
|
* @remarks
|
|
562
|
-
* The auto
|
|
562
|
+
* The auto-upgrade policy.
|
|
563
563
|
*/
|
|
564
564
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
565
565
|
/**
|
|
@@ -572,16 +572,16 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
572
572
|
autoVulFix?: boolean;
|
|
573
573
|
/**
|
|
574
574
|
* @remarks
|
|
575
|
-
* The policy for
|
|
575
|
+
* The auto-fix policy for CVEs.
|
|
576
576
|
*/
|
|
577
577
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
578
578
|
/**
|
|
579
579
|
* @remarks
|
|
580
|
-
* Specifies whether to enable the managed node pool
|
|
580
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
581
581
|
*
|
|
582
|
-
* - `true
|
|
582
|
+
* - `true`: Enables the managed node pool.
|
|
583
583
|
*
|
|
584
|
-
* - `false`:
|
|
584
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
585
585
|
*
|
|
586
586
|
* @example
|
|
587
587
|
* false
|
|
@@ -589,7 +589,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
589
589
|
enable?: boolean;
|
|
590
590
|
/**
|
|
591
591
|
* @remarks
|
|
592
|
-
* The auto
|
|
592
|
+
* The auto-upgrade configurations. This takes effect only when `enable=true`.
|
|
593
593
|
*
|
|
594
594
|
* @deprecated
|
|
595
595
|
*/
|
|
@@ -646,7 +646,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
646
646
|
export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
647
647
|
/**
|
|
648
648
|
* @remarks
|
|
649
|
-
*
|
|
649
|
+
* The custom configuration of the node component.
|
|
650
650
|
*/
|
|
651
651
|
customConfig?: { [key: string]: string };
|
|
652
652
|
static names(): { [key: string]: string } {
|
|
@@ -676,12 +676,12 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
676
676
|
export class NodepoolNodeComponents extends $dara.Model {
|
|
677
677
|
/**
|
|
678
678
|
* @remarks
|
|
679
|
-
*
|
|
679
|
+
* The configuration of the node component.
|
|
680
680
|
*/
|
|
681
681
|
config?: NodepoolNodeComponentsConfig;
|
|
682
682
|
/**
|
|
683
683
|
* @remarks
|
|
684
|
-
*
|
|
684
|
+
* The name of the node component.
|
|
685
685
|
*
|
|
686
686
|
* @example
|
|
687
687
|
* kubelet
|
|
@@ -689,7 +689,7 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
689
689
|
name?: string;
|
|
690
690
|
/**
|
|
691
691
|
* @remarks
|
|
692
|
-
*
|
|
692
|
+
* The version of the node component.
|
|
693
693
|
*
|
|
694
694
|
* @example
|
|
695
695
|
* 1.33.3-aliyun.1
|
|
@@ -726,7 +726,7 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
726
726
|
export class NodepoolNodeConfig extends $dara.Model {
|
|
727
727
|
/**
|
|
728
728
|
* @remarks
|
|
729
|
-
* Kubelet
|
|
729
|
+
* The Kubelet parameter settings.
|
|
730
730
|
*/
|
|
731
731
|
kubeletConfiguration?: KubeletConfig;
|
|
732
732
|
static names(): { [key: string]: string } {
|
|
@@ -776,9 +776,9 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
776
776
|
* @remarks
|
|
777
777
|
* The type of the node pool. Valid values:
|
|
778
778
|
*
|
|
779
|
-
* - `ess`:
|
|
779
|
+
* - `ess`: A regular node pool.
|
|
780
780
|
*
|
|
781
|
-
* - `edge`:
|
|
781
|
+
* - `edge`: An edge node pool.
|
|
782
782
|
*
|
|
783
783
|
* @example
|
|
784
784
|
* ess
|
|
@@ -812,7 +812,7 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
812
812
|
export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
813
813
|
/**
|
|
814
814
|
* @remarks
|
|
815
|
-
* The
|
|
815
|
+
* The private node pool ID.
|
|
816
816
|
*
|
|
817
817
|
* @example
|
|
818
818
|
* eap-bp67acfmxazb4****
|
|
@@ -820,13 +820,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
820
820
|
id?: string;
|
|
821
821
|
/**
|
|
822
822
|
* @remarks
|
|
823
|
-
* The type
|
|
823
|
+
* The private node pool type, which is the capacity option for the private pool where the instance is launched. An elastic assurance service or capacity reservation service generates a private pool capacity for instance startup. Valid values:
|
|
824
824
|
*
|
|
825
|
-
* - `Open`:
|
|
825
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no eligible private pool capacity is available, it uses public pool resources to start.
|
|
826
826
|
*
|
|
827
|
-
* - `Target`:
|
|
827
|
+
* - `Target`: Specified mode. Uses the specified private pool capacity to start the instance. If the private pool capacity is unavailable, the instance fails to start.
|
|
828
828
|
*
|
|
829
|
-
* - `None`:
|
|
829
|
+
* - `None`: No mode used. The instance will not use private pool capacity to start.
|
|
830
830
|
*
|
|
831
831
|
* @example
|
|
832
832
|
* Open
|
|
@@ -858,15 +858,15 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
858
858
|
export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
859
859
|
/**
|
|
860
860
|
* @remarks
|
|
861
|
-
* The list of private pool IDs
|
|
861
|
+
* The list of private pool IDs, which are the IDs of elastic assurance services or capacity reservation services. This parameter can only pass Target mode private pool IDs. The value of N ranges from 1 to 20.
|
|
862
862
|
*/
|
|
863
863
|
privatePoolIds?: string[];
|
|
864
864
|
/**
|
|
865
865
|
* @remarks
|
|
866
|
-
* The resource pool policy
|
|
867
|
-
* PrivatePoolFirst:
|
|
868
|
-
* PrivatePoolOnly:
|
|
869
|
-
* None:
|
|
866
|
+
* The resource pool policy used when creating an instance. Resource pools include private pools generated by elastic assurance services or capacity reservation services, along with public pools, for instance startup. Valid values:
|
|
867
|
+
* PrivatePoolFirst: Private pool first. When this policy is selected and resource_pool_options.private_pool_ids is specified, the specified private pool is used first. If no private pool is specified or the specified private pool has insufficient capacity, the system automatically matches an open-type private pool. If no eligible private pool is found, the instance is created from the public pool.
|
|
868
|
+
* PrivatePoolOnly: Private pool only. When this policy is selected, you must specify resource_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
869
|
+
* None: Do not use a resource pool policy.
|
|
870
870
|
* Default value: None.
|
|
871
871
|
*
|
|
872
872
|
* @example
|
|
@@ -910,7 +910,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
910
910
|
instanceType?: string;
|
|
911
911
|
/**
|
|
912
912
|
* @remarks
|
|
913
|
-
* The maximum price
|
|
913
|
+
* The maximum price for a single instance.
|
|
914
914
|
*
|
|
915
915
|
* @example
|
|
916
916
|
* 0.39
|
|
@@ -942,7 +942,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
942
942
|
export class NodepoolScalingGroupTags extends $dara.Model {
|
|
943
943
|
/**
|
|
944
944
|
* @remarks
|
|
945
|
-
* The
|
|
945
|
+
* The name of the tag.
|
|
946
946
|
*
|
|
947
947
|
* @example
|
|
948
948
|
* key
|
|
@@ -950,7 +950,7 @@ export class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
950
950
|
key?: string;
|
|
951
951
|
/**
|
|
952
952
|
* @remarks
|
|
953
|
-
* The value
|
|
953
|
+
* The tag value.
|
|
954
954
|
*
|
|
955
955
|
* @example
|
|
956
956
|
* value
|
|
@@ -982,11 +982,11 @@ export class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
982
982
|
export class NodepoolScalingGroup extends $dara.Model {
|
|
983
983
|
/**
|
|
984
984
|
* @remarks
|
|
985
|
-
*
|
|
985
|
+
* 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:
|
|
986
986
|
*
|
|
987
|
-
* - `true`:
|
|
987
|
+
* - `true`: Enables auto-renewal.
|
|
988
988
|
*
|
|
989
|
-
* - `false`:
|
|
989
|
+
* - `false`: Disables auto-renewal.
|
|
990
990
|
*
|
|
991
991
|
* Default value: `true`.
|
|
992
992
|
*
|
|
@@ -996,9 +996,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
996
996
|
autoRenew?: boolean;
|
|
997
997
|
/**
|
|
998
998
|
* @remarks
|
|
999
|
-
* The auto-renewal period for the
|
|
999
|
+
* The auto-renewal period for the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1000
1000
|
*
|
|
1001
|
-
* If `PeriodUnit
|
|
1001
|
+
* If `PeriodUnit=Month`, valid values are 1, 2, 3, 6, and 12.
|
|
1002
1002
|
*
|
|
1003
1003
|
* Default value: 1.
|
|
1004
1004
|
*
|
|
@@ -1008,11 +1008,11 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1008
1008
|
autoRenewPeriod?: number;
|
|
1009
1009
|
/**
|
|
1010
1010
|
* @remarks
|
|
1011
|
-
*
|
|
1011
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to automatically attempt to create on-demand instances to meet the required number of ECS instances if enough spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
1012
1012
|
*
|
|
1013
|
-
* - `true
|
|
1013
|
+
* - `true`: Allows automatically attempting to create on-demand instances to meet the required number of ECS instances.
|
|
1014
1014
|
*
|
|
1015
|
-
* - `false
|
|
1015
|
+
* - `false`: Does not allow automatically attempting to create on-demand instances to meet the required number of ECS instances.
|
|
1016
1016
|
*
|
|
1017
1017
|
* @example
|
|
1018
1018
|
* true
|
|
@@ -1020,12 +1020,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1020
1020
|
compensateWithOnDemand?: boolean;
|
|
1021
1021
|
/**
|
|
1022
1022
|
* @remarks
|
|
1023
|
-
* The
|
|
1023
|
+
* The data disk configurations for the nodes in the node pool.
|
|
1024
1024
|
*/
|
|
1025
1025
|
dataDisks?: DataDisk[];
|
|
1026
1026
|
/**
|
|
1027
1027
|
* @remarks
|
|
1028
|
-
* The
|
|
1028
|
+
* The deployment set ID.
|
|
1029
1029
|
*
|
|
1030
1030
|
* @example
|
|
1031
1031
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1033,7 +1033,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1033
1033
|
deploymentsetId?: string;
|
|
1034
1034
|
/**
|
|
1035
1035
|
* @remarks
|
|
1036
|
-
* The
|
|
1036
|
+
* The desired number of nodes in the node pool.
|
|
1037
1037
|
*
|
|
1038
1038
|
* @example
|
|
1039
1039
|
* 2
|
|
@@ -1041,12 +1041,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1041
1041
|
desiredSize?: number;
|
|
1042
1042
|
/**
|
|
1043
1043
|
* @remarks
|
|
1044
|
-
* The
|
|
1044
|
+
* The block device initialization configurations.
|
|
1045
1045
|
*/
|
|
1046
1046
|
diskInit?: DiskInit[];
|
|
1047
1047
|
/**
|
|
1048
1048
|
* @remarks
|
|
1049
|
-
* The ID of the custom image.
|
|
1049
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
1050
1050
|
*
|
|
1051
1051
|
* @example
|
|
1052
1052
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -1054,15 +1054,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1054
1054
|
imageId?: string;
|
|
1055
1055
|
/**
|
|
1056
1056
|
* @remarks
|
|
1057
|
-
* The type of
|
|
1057
|
+
* The type of OS image. You must specify this parameter or the platform parameter. Valid values:
|
|
1058
1058
|
*
|
|
1059
|
-
* - `AliyunLinux`:
|
|
1059
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1060
1060
|
*
|
|
1061
|
-
* - `AliyunLinux3`:
|
|
1061
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1062
1062
|
*
|
|
1063
|
-
* - `AliyunLinux3Arm64`:
|
|
1063
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
1064
1064
|
*
|
|
1065
|
-
* - `AliyunLinuxUEFI`:
|
|
1065
|
+
* - `AliyunLinuxUEFI`: Alinux2 image for UEFI.
|
|
1066
1066
|
*
|
|
1067
1067
|
* - `CentOS`: CentOS image.
|
|
1068
1068
|
*
|
|
@@ -1080,9 +1080,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1080
1080
|
* @remarks
|
|
1081
1081
|
* The billing method of the nodes in the node pool. Valid values:
|
|
1082
1082
|
*
|
|
1083
|
-
* - `PrePaid`:
|
|
1083
|
+
* - `PrePaid`: Subscription.
|
|
1084
1084
|
*
|
|
1085
|
-
* - `PostPaid`:
|
|
1085
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
1086
1086
|
*
|
|
1087
1087
|
* Default value: `PostPaid`.
|
|
1088
1088
|
*
|
|
@@ -1094,8 +1094,8 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1094
1094
|
instanceChargeType?: string;
|
|
1095
1095
|
/**
|
|
1096
1096
|
* @remarks
|
|
1097
|
-
* The
|
|
1098
|
-
* This feature is available only to
|
|
1097
|
+
* The metadata access configuration for the ECS instance.
|
|
1098
|
+
* This feature is currently available only to whitelisted users. Submit a ticket to request access.
|
|
1099
1099
|
*/
|
|
1100
1100
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1101
1101
|
/**
|
|
@@ -1107,11 +1107,11 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1107
1107
|
instanceTypes?: string[];
|
|
1108
1108
|
/**
|
|
1109
1109
|
* @remarks
|
|
1110
|
-
* The billing method
|
|
1110
|
+
* The billing method for the public IP address. Valid values:
|
|
1111
1111
|
*
|
|
1112
|
-
* - `PayByBandwidth`:
|
|
1112
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
1113
1113
|
*
|
|
1114
|
-
* - `PayByTraffic`:
|
|
1114
|
+
* - `PayByTraffic`: Pay-by-traffic.
|
|
1115
1115
|
*
|
|
1116
1116
|
* @example
|
|
1117
1117
|
* PayByBandwidth
|
|
@@ -1119,7 +1119,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1119
1119
|
internetChargeType?: string;
|
|
1120
1120
|
/**
|
|
1121
1121
|
* @remarks
|
|
1122
|
-
* The maximum outbound
|
|
1122
|
+
* The maximum outbound bandwidth of the public IP address for the node. Unit: Mbit/s. Value range: [1, 100].
|
|
1123
1123
|
*
|
|
1124
1124
|
* @example
|
|
1125
1125
|
* 10
|
|
@@ -1129,7 +1129,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1129
1129
|
* @remarks
|
|
1130
1130
|
* The name of the key pair. You must specify this parameter or `login_password`.
|
|
1131
1131
|
*
|
|
1132
|
-
* > If you create a managed node pool, you can specify
|
|
1132
|
+
* > If you create a managed node pool, you can only specify `key_pair`.
|
|
1133
1133
|
*
|
|
1134
1134
|
* @example
|
|
1135
1135
|
* np-key
|
|
@@ -1137,12 +1137,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1137
1137
|
keyPair?: string;
|
|
1138
1138
|
/**
|
|
1139
1139
|
* @remarks
|
|
1140
|
-
* Specifies whether to
|
|
1140
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1141
1141
|
*/
|
|
1142
1142
|
loginAsNonRoot?: boolean;
|
|
1143
1143
|
/**
|
|
1144
1144
|
* @remarks
|
|
1145
|
-
* The
|
|
1145
|
+
* The SSH logon password. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters long and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1146
1146
|
*
|
|
1147
1147
|
* @example
|
|
1148
1148
|
* Hello1234
|
|
@@ -1150,15 +1150,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1150
1150
|
loginPassword?: string;
|
|
1151
1151
|
/**
|
|
1152
1152
|
* @remarks
|
|
1153
|
-
* The scaling policy for
|
|
1153
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1154
1154
|
*
|
|
1155
|
-
* - `PRIORITY`:
|
|
1155
|
+
* - `PRIORITY`: Scales instances based on the virtual switches (VSwitchIds.N) you define. If an ECS instance cannot be created in the zone of the higher-priority virtual switch, the system automatically uses the next-priority virtual switch to create the instance.
|
|
1156
1156
|
*
|
|
1157
|
-
* - `COST_OPTIMIZED`:
|
|
1157
|
+
* - `COST_OPTIMIZED`: Attempts to create instances with the lowest vCPU unit price. When multiple instance types are specified for a spot instance in the scaling configuration, the system prioritizes creating the corresponding spot instance. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically try creating on-demand instances if spot instances cannot be created due to inventory or other reasons.
|
|
1158
1158
|
*
|
|
1159
|
-
* >
|
|
1159
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or when spot instances are selected.
|
|
1160
1160
|
*
|
|
1161
|
-
* - `BALANCE`:
|
|
1161
|
+
* - `BALANCE`: Evenly distributes ECS instances across the specified multiple zones in the scaling group. If the zones become unbalanced due to inventory shortages or other reasons, you can use the RebalanceInstances API to balance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1162
1162
|
*
|
|
1163
1163
|
* Default value: `PRIORITY`.
|
|
1164
1164
|
*
|
|
@@ -1168,7 +1168,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1168
1168
|
multiAzPolicy?: string;
|
|
1169
1169
|
/**
|
|
1170
1170
|
* @remarks
|
|
1171
|
-
* The minimum number of
|
|
1171
|
+
* The minimum number of on-demand instances required by the scaling group. Value range: [0, 1000]. When the number of on-demand instances is less than this value, on-demand instances will be created first.
|
|
1172
1172
|
*
|
|
1173
1173
|
* @example
|
|
1174
1174
|
* 0
|
|
@@ -1176,7 +1176,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1176
1176
|
onDemandBaseCapacity?: number;
|
|
1177
1177
|
/**
|
|
1178
1178
|
* @remarks
|
|
1179
|
-
* The percentage of
|
|
1179
|
+
* The percentage of on-demand instances among the instances that exceed the minimum on-demand instance count (`on_demand_base_capacity`). Value range: [0, 100].
|
|
1180
1180
|
*
|
|
1181
1181
|
* @example
|
|
1182
1182
|
* 20
|
|
@@ -1184,7 +1184,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1184
1184
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1185
1185
|
/**
|
|
1186
1186
|
* @remarks
|
|
1187
|
-
* The subscription duration of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`. If `period_unit` is set to
|
|
1187
|
+
* The subscription duration of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`. If `period_unit` is set to Month, valid values for `period` are 1, 2, 3, 6, and 12.
|
|
1188
1188
|
*
|
|
1189
1189
|
* Default value: 1.
|
|
1190
1190
|
*
|
|
@@ -1194,7 +1194,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1194
1194
|
period?: number;
|
|
1195
1195
|
/**
|
|
1196
1196
|
* @remarks
|
|
1197
|
-
* The billing cycle of the
|
|
1197
|
+
* The billing cycle of the nodes in the node pool. You must specify this parameter when `instance_charge_type` is set to `PrePaid`.
|
|
1198
1198
|
*
|
|
1199
1199
|
* `Month`: The billing cycle is measured in months.
|
|
1200
1200
|
*
|
|
@@ -1224,13 +1224,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1224
1224
|
platform?: string;
|
|
1225
1225
|
/**
|
|
1226
1226
|
* @remarks
|
|
1227
|
-
* The
|
|
1227
|
+
* The private node pool configurations.
|
|
1228
1228
|
*/
|
|
1229
1229
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
1230
1230
|
/**
|
|
1231
1231
|
* @remarks
|
|
1232
|
-
* The name of the
|
|
1233
|
-
* >Notice: This parameter
|
|
1232
|
+
* The name of the Worker RAM role.
|
|
1233
|
+
* >Notice: This parameter is supported only for ACK managed clusters of v1.22 or later when creating a node pool.
|
|
1234
1234
|
*
|
|
1235
1235
|
* @example
|
|
1236
1236
|
* example-role
|
|
@@ -1238,23 +1238,23 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1238
1238
|
ramRoleName?: string;
|
|
1239
1239
|
/**
|
|
1240
1240
|
* @remarks
|
|
1241
|
-
*
|
|
1241
|
+
* The list of RDS instances.
|
|
1242
1242
|
*/
|
|
1243
1243
|
rdsInstances?: string[];
|
|
1244
1244
|
/**
|
|
1245
1245
|
* @remarks
|
|
1246
|
-
* The resource pool and resource pool policy
|
|
1247
|
-
* This parameter
|
|
1248
|
-
*
|
|
1246
|
+
* The resource pool and resource pool policy used when creating an instance. Note the following when setting this parameter:
|
|
1247
|
+
* This parameter is effective only when creating pay-as-you-go instances.
|
|
1248
|
+
* This parameter cannot be set at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1249
1249
|
*/
|
|
1250
1250
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1251
1251
|
/**
|
|
1252
1252
|
* @remarks
|
|
1253
|
-
* The scaling mode
|
|
1253
|
+
* The scaling group mode. Valid values:
|
|
1254
1254
|
*
|
|
1255
|
-
* - `release`:
|
|
1255
|
+
* - `release`: Standard mode. Creates and releases ECS instances to meet resource demands.
|
|
1256
1256
|
*
|
|
1257
|
-
* - `recycle`:
|
|
1257
|
+
* - `recycle`: Fast mode. Creates, stops, and starts ECS instances to accelerate scaling. When an instance is stopped, you are not charged for its compute resources, but you are still charged for storage fees. This does not apply to instance types with local disks.
|
|
1258
1258
|
*
|
|
1259
1259
|
* Default value: `release`.
|
|
1260
1260
|
*
|
|
@@ -1264,7 +1264,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1264
1264
|
scalingPolicy?: string;
|
|
1265
1265
|
/**
|
|
1266
1266
|
* @remarks
|
|
1267
|
-
* The ID of the security group
|
|
1267
|
+
* The ID of the security group for the node pool. You must specify this parameter or `security_group_ids`. We recommend using `security_group_ids`.
|
|
1268
1268
|
*
|
|
1269
1269
|
* @example
|
|
1270
1270
|
* sg-2zeihch86ooz9io4****
|
|
@@ -1272,12 +1272,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1272
1272
|
securityGroupId?: string;
|
|
1273
1273
|
/**
|
|
1274
1274
|
* @remarks
|
|
1275
|
-
*
|
|
1275
|
+
* The list of security group IDs. You must specify this parameter or `security_group_id`. We recommend using `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1276
1276
|
*/
|
|
1277
1277
|
securityGroupIds?: string[];
|
|
1278
1278
|
/**
|
|
1279
1279
|
* @remarks
|
|
1280
|
-
*
|
|
1280
|
+
* Specifies the number of available instance types. The scaling group will create spot instances in a balanced manner across multiple types with the lowest cost. Value range: [1, 10].
|
|
1281
1281
|
*
|
|
1282
1282
|
* @example
|
|
1283
1283
|
* 5
|
|
@@ -1285,11 +1285,11 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1285
1285
|
spotInstancePools?: number;
|
|
1286
1286
|
/**
|
|
1287
1287
|
* @remarks
|
|
1288
|
-
* Specifies whether to enable replenishment for
|
|
1288
|
+
* Specifies whether to enable replenishment for spot instances. When enabled, the scaling group will attempt to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1289
1289
|
*
|
|
1290
|
-
* - `true
|
|
1290
|
+
* - `true`: Enables replenishment for spot instances.
|
|
1291
1291
|
*
|
|
1292
|
-
* - `false
|
|
1292
|
+
* - `false`: Disables replenishment for spot instances.
|
|
1293
1293
|
*
|
|
1294
1294
|
* @example
|
|
1295
1295
|
* false
|
|
@@ -1297,20 +1297,20 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1297
1297
|
spotInstanceRemedy?: boolean;
|
|
1298
1298
|
/**
|
|
1299
1299
|
* @remarks
|
|
1300
|
-
* The price
|
|
1300
|
+
* The market price range configuration for a single spot instance type.
|
|
1301
1301
|
*/
|
|
1302
1302
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1303
1303
|
/**
|
|
1304
1304
|
* @remarks
|
|
1305
|
-
* The
|
|
1305
|
+
* The preemption policy for the spot instance. Valid values:
|
|
1306
1306
|
*
|
|
1307
|
-
* - NoSpot:
|
|
1307
|
+
* - NoSpot: A regular on-demand instance.
|
|
1308
1308
|
*
|
|
1309
|
-
* - SpotWithPriceLimit:
|
|
1309
|
+
* - SpotWithPriceLimit: Sets the maximum hourly price for the spot instance.
|
|
1310
1310
|
*
|
|
1311
|
-
* - SpotAsPriceGo:
|
|
1311
|
+
* - SpotAsPriceGo: The system automatically bids, following the current market price.
|
|
1312
1312
|
*
|
|
1313
|
-
* For more information, see [
|
|
1313
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1314
1314
|
*
|
|
1315
1315
|
* @example
|
|
1316
1316
|
* NoSpot
|
|
@@ -1318,13 +1318,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1318
1318
|
spotStrategy?: string;
|
|
1319
1319
|
/**
|
|
1320
1320
|
* @remarks
|
|
1321
|
-
* Specifies whether to enable
|
|
1321
|
+
* Specifies whether to enable performance burst for the system disk of the nodes. Valid values:
|
|
1322
1322
|
*
|
|
1323
|
-
* - true:
|
|
1323
|
+
* - true: Yes.
|
|
1324
1324
|
*
|
|
1325
|
-
* - false:
|
|
1325
|
+
* - false: No.
|
|
1326
1326
|
*
|
|
1327
|
-
* This parameter
|
|
1327
|
+
* This parameter can be set only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1328
1328
|
*
|
|
1329
1329
|
* @example
|
|
1330
1330
|
* true
|
|
@@ -1332,26 +1332,26 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1332
1332
|
systemDiskBurstingEnabled?: boolean;
|
|
1333
1333
|
/**
|
|
1334
1334
|
* @remarks
|
|
1335
|
-
*
|
|
1335
|
+
* Multiple disk types for the system disk. When a disk type with a higher priority is unavailable, the system automatically tries the next lower-priority disk type to create the system disk. Valid values:
|
|
1336
1336
|
*
|
|
1337
|
-
* - cloud:
|
|
1337
|
+
* - cloud: Basic disk.
|
|
1338
1338
|
*
|
|
1339
|
-
* - cloud_efficiency:
|
|
1339
|
+
* - cloud_efficiency: Ultra disk.
|
|
1340
1340
|
*
|
|
1341
|
-
* - cloud_ssd:
|
|
1341
|
+
* - cloud_ssd: Standard SSD.
|
|
1342
1342
|
*
|
|
1343
1343
|
* - cloud_essd: ESSD.
|
|
1344
1344
|
*/
|
|
1345
1345
|
systemDiskCategories?: string[];
|
|
1346
1346
|
/**
|
|
1347
1347
|
* @remarks
|
|
1348
|
-
* The type of the system disk. Valid values:
|
|
1348
|
+
* The type of the system disk for the nodes. Valid values:
|
|
1349
1349
|
*
|
|
1350
|
-
* - `cloud_efficiency`:
|
|
1350
|
+
* - `cloud_efficiency`: Ultra disk.
|
|
1351
1351
|
*
|
|
1352
|
-
* - `cloud_ssd`:
|
|
1352
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1353
1353
|
*
|
|
1354
|
-
* - `cloud_essd`:
|
|
1354
|
+
* - `cloud_essd`: ESSD.
|
|
1355
1355
|
*
|
|
1356
1356
|
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1357
1357
|
*
|
|
@@ -1365,7 +1365,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1365
1365
|
systemDiskCategory?: string;
|
|
1366
1366
|
/**
|
|
1367
1367
|
* @remarks
|
|
1368
|
-
* The encryption algorithm
|
|
1368
|
+
* The encryption algorithm used by the system disk of the node. Valid value: aes-256.
|
|
1369
1369
|
*
|
|
1370
1370
|
* @example
|
|
1371
1371
|
* aes-256
|
|
@@ -1373,12 +1373,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1373
1373
|
systemDiskEncryptAlgorithm?: string;
|
|
1374
1374
|
/**
|
|
1375
1375
|
* @remarks
|
|
1376
|
-
* Specifies whether to encrypt the system disk. Valid values: true
|
|
1376
|
+
* Specifies whether to encrypt the system disk. Valid values: true: Encrypts the disk. false: Does not encrypt the disk.
|
|
1377
1377
|
*/
|
|
1378
1378
|
systemDiskEncrypted?: boolean;
|
|
1379
1379
|
/**
|
|
1380
1380
|
* @remarks
|
|
1381
|
-
* The
|
|
1381
|
+
* The KMS key ID used by the system disk of the node.
|
|
1382
1382
|
*
|
|
1383
1383
|
* @example
|
|
1384
1384
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1386,15 +1386,15 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1386
1386
|
systemDiskKmsKeyId?: string;
|
|
1387
1387
|
/**
|
|
1388
1388
|
* @remarks
|
|
1389
|
-
* The performance level of the
|
|
1389
|
+
* The performance level of the system disk for the nodes. This parameter is only effective for ESSDs.
|
|
1390
1390
|
*
|
|
1391
|
-
* - PL0:
|
|
1391
|
+
* - PL0: Medium concurrent I/O performance, stable read and write latency.
|
|
1392
1392
|
*
|
|
1393
|
-
* - PL1:
|
|
1393
|
+
* - PL1: Medium concurrent I/O performance, stable read and write latency.
|
|
1394
1394
|
*
|
|
1395
|
-
* - PL2:
|
|
1395
|
+
* - PL2: High concurrent I/O performance, stable read and write latency.
|
|
1396
1396
|
*
|
|
1397
|
-
* - PL3:
|
|
1397
|
+
* - PL3: Extremely high concurrent I/O performance, extremely stable read and write latency.
|
|
1398
1398
|
*
|
|
1399
1399
|
* @example
|
|
1400
1400
|
* PL1
|
|
@@ -1402,9 +1402,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1402
1402
|
systemDiskPerformanceLevel?: string;
|
|
1403
1403
|
/**
|
|
1404
1404
|
* @remarks
|
|
1405
|
-
* The
|
|
1405
|
+
* The pre-configured read and write IOPS of the system disk for the nodes. Possible values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
1406
1406
|
*
|
|
1407
|
-
* This parameter
|
|
1407
|
+
* This parameter can be set only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1408
1408
|
*
|
|
1409
1409
|
* @example
|
|
1410
1410
|
* 1000
|
|
@@ -1412,9 +1412,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1412
1412
|
systemDiskProvisionedIops?: number;
|
|
1413
1413
|
/**
|
|
1414
1414
|
* @remarks
|
|
1415
|
-
* The size of the system disk. Unit: GiB.
|
|
1415
|
+
* The size of the system disk for the nodes. Unit: GiB.
|
|
1416
1416
|
*
|
|
1417
|
-
*
|
|
1417
|
+
* Value range: [40, 500].
|
|
1418
1418
|
*
|
|
1419
1419
|
* @example
|
|
1420
1420
|
* 120
|
|
@@ -1422,14 +1422,14 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1422
1422
|
systemDiskSize?: number;
|
|
1423
1423
|
/**
|
|
1424
1424
|
* @remarks
|
|
1425
|
-
*
|
|
1425
|
+
* Adds tags only to ECS instances.
|
|
1426
1426
|
*
|
|
1427
|
-
*
|
|
1427
|
+
* Tag keys cannot be repeated and can be up to 128 characters long. Tag keys and values cannot start with "aliyun" or "acs:", or contain "https\\://"" or "http\\://".
|
|
1428
1428
|
*/
|
|
1429
1429
|
tags?: NodepoolScalingGroupTags[];
|
|
1430
1430
|
/**
|
|
1431
1431
|
* @remarks
|
|
1432
|
-
* The
|
|
1432
|
+
* The virtual switch ID.
|
|
1433
1433
|
*
|
|
1434
1434
|
* This parameter is required.
|
|
1435
1435
|
*/
|
|
@@ -1582,7 +1582,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1582
1582
|
export class NodepoolTeeConfig extends $dara.Model {
|
|
1583
1583
|
/**
|
|
1584
1584
|
* @remarks
|
|
1585
|
-
* Specifies whether
|
|
1585
|
+
* Specifies whether it is a confidential computing node pool.
|
|
1586
1586
|
*
|
|
1587
1587
|
* This parameter is required.
|
|
1588
1588
|
*
|
|
@@ -1614,12 +1614,12 @@ export class NodepoolTeeConfig extends $dara.Model {
|
|
|
1614
1614
|
export class Nodepool extends $dara.Model {
|
|
1615
1615
|
/**
|
|
1616
1616
|
* @remarks
|
|
1617
|
-
* The auto
|
|
1617
|
+
* The auto-scaling configurations for the node pool.
|
|
1618
1618
|
*/
|
|
1619
1619
|
autoScaling?: NodepoolAutoScaling;
|
|
1620
1620
|
/**
|
|
1621
1621
|
* @remarks
|
|
1622
|
-
*
|
|
1622
|
+
* This parameter is deprecated. Use desired_size instead.
|
|
1623
1623
|
*
|
|
1624
1624
|
* The number of nodes in the node pool.
|
|
1625
1625
|
*
|
|
@@ -1631,20 +1631,20 @@ export class Nodepool extends $dara.Model {
|
|
|
1631
1631
|
count?: number;
|
|
1632
1632
|
/**
|
|
1633
1633
|
* @remarks
|
|
1634
|
-
*
|
|
1634
|
+
* This parameter is deprecated.
|
|
1635
1635
|
*
|
|
1636
|
-
* The
|
|
1636
|
+
* The edge node pool configurations.
|
|
1637
1637
|
*
|
|
1638
1638
|
* @deprecated
|
|
1639
1639
|
*/
|
|
1640
1640
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1641
1641
|
/**
|
|
1642
1642
|
* @remarks
|
|
1643
|
-
* The network
|
|
1643
|
+
* The network type of the edge node pool. This parameter is only meaningful for node pools of type `edge`. Valid values:
|
|
1644
1644
|
*
|
|
1645
|
-
* - `basic`:
|
|
1645
|
+
* - `basic`: Basic.
|
|
1646
1646
|
*
|
|
1647
|
-
* - `private`:
|
|
1647
|
+
* - `private`: Private. Supported in versions 1.22 and later.
|
|
1648
1648
|
*
|
|
1649
1649
|
* @example
|
|
1650
1650
|
* basic
|
|
@@ -1652,17 +1652,17 @@ export class Nodepool extends $dara.Model {
|
|
|
1652
1652
|
interconnectMode?: string;
|
|
1653
1653
|
/**
|
|
1654
1654
|
* @remarks
|
|
1655
|
-
* The
|
|
1655
|
+
* The cluster configurations.
|
|
1656
1656
|
*/
|
|
1657
1657
|
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
1658
1658
|
/**
|
|
1659
1659
|
* @remarks
|
|
1660
|
-
* The
|
|
1660
|
+
* The managed node pool configurations.
|
|
1661
1661
|
*/
|
|
1662
1662
|
management?: NodepoolManagement;
|
|
1663
1663
|
/**
|
|
1664
1664
|
* @remarks
|
|
1665
|
-
*
|
|
1665
|
+
* The maximum number of nodes that the edge node pool can contain. This parameter must be greater than or equal to 0. A value of 0 indicates no extra limit (limited only by the total number of nodes the cluster can accommodate, with no additional limit on the node pool itself). The value of this parameter for an edge node pool is often greater than 0. For ess type node pools and default edge type node pools, this parameter is 0.
|
|
1666
1666
|
*
|
|
1667
1667
|
* @example
|
|
1668
1668
|
* 10
|
|
@@ -1670,27 +1670,27 @@ export class Nodepool extends $dara.Model {
|
|
|
1670
1670
|
maxNodes?: number;
|
|
1671
1671
|
/**
|
|
1672
1672
|
* @remarks
|
|
1673
|
-
*
|
|
1673
|
+
* The list of node components.
|
|
1674
1674
|
*/
|
|
1675
1675
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1676
1676
|
/**
|
|
1677
1677
|
* @remarks
|
|
1678
|
-
*
|
|
1678
|
+
* The node configurations.
|
|
1679
1679
|
*/
|
|
1680
1680
|
nodeConfig?: NodepoolNodeConfig;
|
|
1681
1681
|
/**
|
|
1682
1682
|
* @remarks
|
|
1683
|
-
* The
|
|
1683
|
+
* The node pool configurations.
|
|
1684
1684
|
*/
|
|
1685
1685
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1686
1686
|
/**
|
|
1687
1687
|
* @remarks
|
|
1688
|
-
* The configurations of the scaling group.
|
|
1688
|
+
* The configurations of the scaling group for the node pool.
|
|
1689
1689
|
*/
|
|
1690
1690
|
scalingGroup?: NodepoolScalingGroup;
|
|
1691
1691
|
/**
|
|
1692
1692
|
* @remarks
|
|
1693
|
-
* The
|
|
1693
|
+
* The confidential computing node pool configurations.
|
|
1694
1694
|
*/
|
|
1695
1695
|
teeConfig?: NodepoolTeeConfig;
|
|
1696
1696
|
static names(): { [key: string]: string } {
|