@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
|
@@ -8,7 +8,7 @@ import { Taint } from "./Taint";
|
|
|
8
8
|
export declare class NodepoolAutoScaling extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
*
|
|
11
|
+
* This parameter is deprecated.
|
|
12
12
|
*
|
|
13
13
|
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
14
14
|
*
|
|
@@ -20,9 +20,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
20
20
|
eipBandwidth?: number;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
*
|
|
23
|
+
* This parameter is deprecated.
|
|
24
24
|
*
|
|
25
|
-
* The billing method
|
|
25
|
+
* The billing method of the EIP. Valid values:
|
|
26
26
|
*
|
|
27
27
|
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
28
28
|
*
|
|
@@ -38,11 +38,11 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
38
38
|
eipInternetChargeType?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
*
|
|
41
|
+
* Specifies whether to enable auto-scaling.
|
|
42
42
|
*
|
|
43
|
-
* - `true`:
|
|
43
|
+
* - `true`: Enables auto-scaling for the node pool.
|
|
44
44
|
*
|
|
45
|
-
* - `false`: Disables auto
|
|
45
|
+
* - `false`: Disables auto-scaling. If you set this parameter to false, other parameters in the `auto_scaling` object do not take effect.
|
|
46
46
|
*
|
|
47
47
|
* Default value: `false`.
|
|
48
48
|
*
|
|
@@ -54,13 +54,13 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
54
54
|
enable?: boolean;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
*
|
|
57
|
+
* This parameter is deprecated.
|
|
58
58
|
*
|
|
59
|
-
*
|
|
59
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
60
60
|
*
|
|
61
|
-
* - `true`:
|
|
61
|
+
* - `true`: Associates an EIP.
|
|
62
62
|
*
|
|
63
|
-
* - `false`:
|
|
63
|
+
* - `false`: Does not associate an EIP.
|
|
64
64
|
*
|
|
65
65
|
* Default value: `false`.
|
|
66
66
|
*
|
|
@@ -72,7 +72,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
72
72
|
isBondEip?: boolean;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The maximum number of instances in the
|
|
75
|
+
* The maximum number of instances in the scaling group.
|
|
76
76
|
*
|
|
77
77
|
* This parameter is required.
|
|
78
78
|
*
|
|
@@ -82,7 +82,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
82
82
|
maxInstances?: number;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The minimum number of instances in the
|
|
85
|
+
* The minimum number of instances in the scaling group.
|
|
86
86
|
*
|
|
87
87
|
* This parameter is required.
|
|
88
88
|
*
|
|
@@ -92,13 +92,13 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
92
92
|
minInstances?: number;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The type of
|
|
95
|
+
* The type of auto-scaling, which is determined by the instance type. Valid values:
|
|
96
96
|
*
|
|
97
|
-
* - `cpu`:
|
|
97
|
+
* - `cpu`: Standard instances.
|
|
98
98
|
*
|
|
99
99
|
* - `gpu`: GPU-accelerated instances.
|
|
100
100
|
*
|
|
101
|
-
* - `gpushare`: Shared GPU
|
|
101
|
+
* - `gpushare`: Shared GPU instances.
|
|
102
102
|
*
|
|
103
103
|
* - `spot`: Spot instances.
|
|
104
104
|
*
|
|
@@ -122,9 +122,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
122
122
|
export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
123
123
|
/**
|
|
124
124
|
* @remarks
|
|
125
|
-
*
|
|
125
|
+
* This parameter is deprecated.
|
|
126
126
|
*
|
|
127
|
-
*
|
|
127
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* 10
|
|
@@ -134,9 +134,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
134
134
|
bandwidth?: number;
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
|
-
*
|
|
137
|
+
* This parameter is deprecated.
|
|
138
138
|
*
|
|
139
|
-
*
|
|
139
|
+
* The CCN instance ID (CCNID) bound to the enhanced edge node pool.
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -146,9 +146,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
146
146
|
ccnId?: string;
|
|
147
147
|
/**
|
|
148
148
|
* @remarks
|
|
149
|
-
*
|
|
149
|
+
* This parameter is deprecated.
|
|
150
150
|
*
|
|
151
|
-
*
|
|
151
|
+
* The region where the CCN instance bound to the enhanced edge node pool is located.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* cn-shanghai
|
|
@@ -158,9 +158,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
158
158
|
ccnRegionId?: string;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
*
|
|
161
|
+
* This parameter is deprecated.
|
|
162
162
|
*
|
|
163
|
-
* The ID
|
|
163
|
+
* The CEN instance ID (CENID) bound to the enhanced edge node pool.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
166
|
* cen-ey9k9nfhz0f*******
|
|
@@ -170,9 +170,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
170
170
|
cenId?: string;
|
|
171
171
|
/**
|
|
172
172
|
* @remarks
|
|
173
|
-
*
|
|
173
|
+
* This parameter is deprecated.
|
|
174
174
|
*
|
|
175
|
-
*
|
|
175
|
+
* The subscription duration of the enhanced edge node pool. Unit: month.
|
|
176
176
|
*
|
|
177
177
|
* @example
|
|
178
178
|
* 1
|
|
@@ -194,11 +194,11 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
194
194
|
export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
195
195
|
/**
|
|
196
196
|
* @remarks
|
|
197
|
-
*
|
|
197
|
+
* 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:
|
|
198
198
|
*
|
|
199
|
-
* - `true`:
|
|
199
|
+
* - `true`: Installs Cloud Monitor on ECS nodes.
|
|
200
200
|
*
|
|
201
|
-
* - `false`:
|
|
201
|
+
* - `false`: Does not install Cloud Monitor on ECS nodes.
|
|
202
202
|
*
|
|
203
203
|
* Default value: `false`.
|
|
204
204
|
*
|
|
@@ -208,11 +208,11 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
208
208
|
cmsEnabled?: boolean;
|
|
209
209
|
/**
|
|
210
210
|
* @remarks
|
|
211
|
-
* The CPU management policy
|
|
211
|
+
* The CPU management policy for the node. The following policies are supported for clusters of Kubernetes v1.12.6 or later:
|
|
212
212
|
*
|
|
213
|
-
* - `static`:
|
|
213
|
+
* - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
214
214
|
*
|
|
215
|
-
* - `none`:
|
|
215
|
+
* - `none`: Indicates that the existing default CPU affinity scheme is enabled.
|
|
216
216
|
*
|
|
217
217
|
* Default value: `none`.
|
|
218
218
|
*
|
|
@@ -222,18 +222,18 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
222
222
|
cpuPolicy?: string;
|
|
223
223
|
/**
|
|
224
224
|
* @remarks
|
|
225
|
-
* The labels
|
|
225
|
+
* The node labels. Adds labels to the nodes of the Kubernetes cluster.
|
|
226
226
|
*/
|
|
227
227
|
labels?: Tag[];
|
|
228
228
|
/**
|
|
229
229
|
* @remarks
|
|
230
|
-
* The
|
|
230
|
+
* The node name consists of three parts: a prefix, the node IP address, and a suffix.
|
|
231
231
|
*
|
|
232
|
-
* - The prefix and suffix can consist of one or more parts
|
|
232
|
+
* - 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.
|
|
233
233
|
*
|
|
234
234
|
* - The node IP address is the complete private IP address of the node.
|
|
235
235
|
*
|
|
236
|
-
*
|
|
236
|
+
* 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.
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
239
|
* customized,aliyun,ip,com
|
|
@@ -243,11 +243,11 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
243
243
|
* @remarks
|
|
244
244
|
* The container runtime. Valid values:
|
|
245
245
|
*
|
|
246
|
-
* - `containerd`: Recommended. This
|
|
246
|
+
* - `containerd`: Recommended. This option is supported for all cluster versions.
|
|
247
247
|
*
|
|
248
|
-
* - `Sandboxed-Container.runv`:
|
|
248
|
+
* - `Sandboxed-Container.runv`: A sandboxed container that provides higher isolation. This option is supported for clusters of Kubernetes v1.24 or earlier.
|
|
249
249
|
*
|
|
250
|
-
* - `docker`: This
|
|
250
|
+
* - `docker`: This option is supported for clusters of Kubernetes v1.22 or earlier.
|
|
251
251
|
*
|
|
252
252
|
* Default value: `containerd`
|
|
253
253
|
*
|
|
@@ -259,7 +259,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
259
259
|
runtime?: string;
|
|
260
260
|
/**
|
|
261
261
|
* @remarks
|
|
262
|
-
* The
|
|
262
|
+
* The container runtime version.
|
|
263
263
|
*
|
|
264
264
|
* This parameter is required.
|
|
265
265
|
*
|
|
@@ -269,12 +269,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
269
269
|
runtimeVersion?: string;
|
|
270
270
|
/**
|
|
271
271
|
* @remarks
|
|
272
|
-
* The
|
|
272
|
+
* The taint configurations.
|
|
273
273
|
*/
|
|
274
274
|
taints?: Taint[];
|
|
275
275
|
/**
|
|
276
276
|
* @remarks
|
|
277
|
-
* The
|
|
277
|
+
* The custom data of the node.
|
|
278
278
|
*
|
|
279
279
|
* @example
|
|
280
280
|
* MXM=
|
|
@@ -294,7 +294,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
294
294
|
export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
295
295
|
/**
|
|
296
296
|
* @remarks
|
|
297
|
-
* Specifies whether to allow
|
|
297
|
+
* Specifies whether to allow restarting nodes.
|
|
298
298
|
*
|
|
299
299
|
* @example
|
|
300
300
|
* true
|
|
@@ -314,7 +314,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
314
314
|
export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
315
315
|
/**
|
|
316
316
|
* @remarks
|
|
317
|
-
* Specifies whether to allow the kubelet
|
|
317
|
+
* Specifies whether to allow auto-upgrading the kubelet.
|
|
318
318
|
*
|
|
319
319
|
* @example
|
|
320
320
|
* true
|
|
@@ -334,7 +334,7 @@ export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
334
334
|
export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
335
335
|
/**
|
|
336
336
|
* @remarks
|
|
337
|
-
* Specifies whether to allow
|
|
337
|
+
* Specifies whether to allow restarting nodes.
|
|
338
338
|
*
|
|
339
339
|
* @example
|
|
340
340
|
* true
|
|
@@ -342,7 +342,7 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
342
342
|
restartNode?: boolean;
|
|
343
343
|
/**
|
|
344
344
|
* @remarks
|
|
345
|
-
* The
|
|
345
|
+
* The vulnerability levels that are allowed to be automatically fixed, separated by commas.
|
|
346
346
|
*
|
|
347
347
|
* @example
|
|
348
348
|
* asap,nntf
|
|
@@ -362,11 +362,11 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
362
362
|
export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
363
363
|
/**
|
|
364
364
|
* @remarks
|
|
365
|
-
* Specifies whether to enable auto
|
|
365
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
366
366
|
*
|
|
367
|
-
* - `true
|
|
367
|
+
* - `true`: Enables auto-upgrade.
|
|
368
368
|
*
|
|
369
|
-
* - `false
|
|
369
|
+
* - `false`: Disables auto-upgrade.
|
|
370
370
|
*
|
|
371
371
|
* @example
|
|
372
372
|
* false
|
|
@@ -374,7 +374,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
374
374
|
autoUpgrade?: boolean;
|
|
375
375
|
/**
|
|
376
376
|
* @remarks
|
|
377
|
-
* The maximum number of unavailable nodes.
|
|
377
|
+
* The maximum number of unavailable nodes. Value range: [1, 1000].
|
|
378
378
|
*
|
|
379
379
|
* Default value: 1.
|
|
380
380
|
*
|
|
@@ -413,11 +413,11 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
413
413
|
autoFaultDiagnosis?: boolean;
|
|
414
414
|
/**
|
|
415
415
|
* @remarks
|
|
416
|
-
*
|
|
416
|
+
* Auto repair. This takes effect only when `enable=true`.
|
|
417
417
|
*
|
|
418
|
-
* - `true
|
|
418
|
+
* - `true`: Enables auto repair.
|
|
419
419
|
*
|
|
420
|
-
* - `false
|
|
420
|
+
* - `false`: Disables auto repair.
|
|
421
421
|
*
|
|
422
422
|
* @example
|
|
423
423
|
* false
|
|
@@ -425,12 +425,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
425
425
|
autoRepair?: boolean;
|
|
426
426
|
/**
|
|
427
427
|
* @remarks
|
|
428
|
-
* The auto
|
|
428
|
+
* The auto-repair policy for nodes.
|
|
429
429
|
*/
|
|
430
430
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
431
431
|
/**
|
|
432
432
|
* @remarks
|
|
433
|
-
* Specifies whether to enable auto
|
|
433
|
+
* Specifies whether to enable auto-upgrade.
|
|
434
434
|
*
|
|
435
435
|
* @example
|
|
436
436
|
* true
|
|
@@ -438,7 +438,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
438
438
|
autoUpgrade?: boolean;
|
|
439
439
|
/**
|
|
440
440
|
* @remarks
|
|
441
|
-
* The auto
|
|
441
|
+
* The auto-upgrade policy.
|
|
442
442
|
*/
|
|
443
443
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
444
444
|
/**
|
|
@@ -451,16 +451,16 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
451
451
|
autoVulFix?: boolean;
|
|
452
452
|
/**
|
|
453
453
|
* @remarks
|
|
454
|
-
* The policy for
|
|
454
|
+
* The auto-fix policy for CVEs.
|
|
455
455
|
*/
|
|
456
456
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
457
457
|
/**
|
|
458
458
|
* @remarks
|
|
459
|
-
* Specifies whether to enable the managed node pool
|
|
459
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
460
460
|
*
|
|
461
|
-
* - `true
|
|
461
|
+
* - `true`: Enables the managed node pool.
|
|
462
462
|
*
|
|
463
|
-
* - `false`:
|
|
463
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
464
464
|
*
|
|
465
465
|
* @example
|
|
466
466
|
* false
|
|
@@ -468,7 +468,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
468
468
|
enable?: boolean;
|
|
469
469
|
/**
|
|
470
470
|
* @remarks
|
|
471
|
-
* The auto
|
|
471
|
+
* The auto-upgrade configurations. This takes effect only when `enable=true`.
|
|
472
472
|
*
|
|
473
473
|
* @deprecated
|
|
474
474
|
*/
|
|
@@ -487,7 +487,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
487
487
|
export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
488
488
|
/**
|
|
489
489
|
* @remarks
|
|
490
|
-
*
|
|
490
|
+
* The custom configuration of the node component.
|
|
491
491
|
*/
|
|
492
492
|
customConfig?: {
|
|
493
493
|
[key: string]: string;
|
|
@@ -506,12 +506,12 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
506
506
|
export declare class NodepoolNodeComponents extends $dara.Model {
|
|
507
507
|
/**
|
|
508
508
|
* @remarks
|
|
509
|
-
*
|
|
509
|
+
* The configuration of the node component.
|
|
510
510
|
*/
|
|
511
511
|
config?: NodepoolNodeComponentsConfig;
|
|
512
512
|
/**
|
|
513
513
|
* @remarks
|
|
514
|
-
*
|
|
514
|
+
* The name of the node component.
|
|
515
515
|
*
|
|
516
516
|
* @example
|
|
517
517
|
* kubelet
|
|
@@ -519,7 +519,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
519
519
|
name?: string;
|
|
520
520
|
/**
|
|
521
521
|
* @remarks
|
|
522
|
-
*
|
|
522
|
+
* The version of the node component.
|
|
523
523
|
*
|
|
524
524
|
* @example
|
|
525
525
|
* 1.33.3-aliyun.1
|
|
@@ -539,7 +539,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
539
539
|
export declare class NodepoolNodeConfig extends $dara.Model {
|
|
540
540
|
/**
|
|
541
541
|
* @remarks
|
|
542
|
-
* Kubelet
|
|
542
|
+
* The Kubelet parameter settings.
|
|
543
543
|
*/
|
|
544
544
|
kubeletConfiguration?: KubeletConfig;
|
|
545
545
|
static names(): {
|
|
@@ -576,9 +576,9 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
576
576
|
* @remarks
|
|
577
577
|
* The type of the node pool. Valid values:
|
|
578
578
|
*
|
|
579
|
-
* - `ess`:
|
|
579
|
+
* - `ess`: A regular node pool.
|
|
580
580
|
*
|
|
581
|
-
* - `edge`:
|
|
581
|
+
* - `edge`: An edge node pool.
|
|
582
582
|
*
|
|
583
583
|
* @example
|
|
584
584
|
* ess
|
|
@@ -598,7 +598,7 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
598
598
|
export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
599
599
|
/**
|
|
600
600
|
* @remarks
|
|
601
|
-
* The
|
|
601
|
+
* The private node pool ID.
|
|
602
602
|
*
|
|
603
603
|
* @example
|
|
604
604
|
* eap-bp67acfmxazb4****
|
|
@@ -606,13 +606,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
606
606
|
id?: string;
|
|
607
607
|
/**
|
|
608
608
|
* @remarks
|
|
609
|
-
* The type
|
|
609
|
+
* 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:
|
|
610
610
|
*
|
|
611
|
-
* - `Open`:
|
|
611
|
+
* - `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.
|
|
612
612
|
*
|
|
613
|
-
* - `Target`:
|
|
613
|
+
* - `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.
|
|
614
614
|
*
|
|
615
|
-
* - `None`:
|
|
615
|
+
* - `None`: No mode used. The instance will not use private pool capacity to start.
|
|
616
616
|
*
|
|
617
617
|
* @example
|
|
618
618
|
* Open
|
|
@@ -632,15 +632,15 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
632
632
|
export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
633
633
|
/**
|
|
634
634
|
* @remarks
|
|
635
|
-
* The list of private pool IDs
|
|
635
|
+
* 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.
|
|
636
636
|
*/
|
|
637
637
|
privatePoolIds?: string[];
|
|
638
638
|
/**
|
|
639
639
|
* @remarks
|
|
640
|
-
* The resource pool policy
|
|
641
|
-
* PrivatePoolFirst:
|
|
642
|
-
* PrivatePoolOnly:
|
|
643
|
-
* None:
|
|
640
|
+
* 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:
|
|
641
|
+
* 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.
|
|
642
|
+
* 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.
|
|
643
|
+
* None: Do not use a resource pool policy.
|
|
644
644
|
* Default value: None.
|
|
645
645
|
*
|
|
646
646
|
* @example
|
|
@@ -669,7 +669,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
669
669
|
instanceType?: string;
|
|
670
670
|
/**
|
|
671
671
|
* @remarks
|
|
672
|
-
* The maximum price
|
|
672
|
+
* The maximum price for a single instance.
|
|
673
673
|
*
|
|
674
674
|
* @example
|
|
675
675
|
* 0.39
|
|
@@ -689,7 +689,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
689
689
|
export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
690
690
|
/**
|
|
691
691
|
* @remarks
|
|
692
|
-
* The
|
|
692
|
+
* The name of the tag.
|
|
693
693
|
*
|
|
694
694
|
* @example
|
|
695
695
|
* key
|
|
@@ -697,7 +697,7 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
697
697
|
key?: string;
|
|
698
698
|
/**
|
|
699
699
|
* @remarks
|
|
700
|
-
* The value
|
|
700
|
+
* The tag value.
|
|
701
701
|
*
|
|
702
702
|
* @example
|
|
703
703
|
* value
|
|
@@ -717,11 +717,11 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
717
717
|
export declare class NodepoolScalingGroup extends $dara.Model {
|
|
718
718
|
/**
|
|
719
719
|
* @remarks
|
|
720
|
-
*
|
|
720
|
+
* 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:
|
|
721
721
|
*
|
|
722
|
-
* - `true`:
|
|
722
|
+
* - `true`: Enables auto-renewal.
|
|
723
723
|
*
|
|
724
|
-
* - `false`:
|
|
724
|
+
* - `false`: Disables auto-renewal.
|
|
725
725
|
*
|
|
726
726
|
* Default value: `true`.
|
|
727
727
|
*
|
|
@@ -731,9 +731,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
731
731
|
autoRenew?: boolean;
|
|
732
732
|
/**
|
|
733
733
|
* @remarks
|
|
734
|
-
* The auto-renewal period for the
|
|
734
|
+
* The auto-renewal period for the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
735
735
|
*
|
|
736
|
-
* If `PeriodUnit
|
|
736
|
+
* If `PeriodUnit=Month`, valid values are 1, 2, 3, 6, and 12.
|
|
737
737
|
*
|
|
738
738
|
* Default value: 1.
|
|
739
739
|
*
|
|
@@ -743,11 +743,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
743
743
|
autoRenewPeriod?: number;
|
|
744
744
|
/**
|
|
745
745
|
* @remarks
|
|
746
|
-
*
|
|
746
|
+
* 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:
|
|
747
747
|
*
|
|
748
|
-
* - `true
|
|
748
|
+
* - `true`: Allows automatically attempting to create on-demand instances to meet the required number of ECS instances.
|
|
749
749
|
*
|
|
750
|
-
* - `false
|
|
750
|
+
* - `false`: Does not allow automatically attempting to create on-demand instances to meet the required number of ECS instances.
|
|
751
751
|
*
|
|
752
752
|
* @example
|
|
753
753
|
* true
|
|
@@ -755,12 +755,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
755
755
|
compensateWithOnDemand?: boolean;
|
|
756
756
|
/**
|
|
757
757
|
* @remarks
|
|
758
|
-
* The
|
|
758
|
+
* The data disk configurations for the nodes in the node pool.
|
|
759
759
|
*/
|
|
760
760
|
dataDisks?: DataDisk[];
|
|
761
761
|
/**
|
|
762
762
|
* @remarks
|
|
763
|
-
* The
|
|
763
|
+
* The deployment set ID.
|
|
764
764
|
*
|
|
765
765
|
* @example
|
|
766
766
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -768,7 +768,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
768
768
|
deploymentsetId?: string;
|
|
769
769
|
/**
|
|
770
770
|
* @remarks
|
|
771
|
-
* The
|
|
771
|
+
* The desired number of nodes in the node pool.
|
|
772
772
|
*
|
|
773
773
|
* @example
|
|
774
774
|
* 2
|
|
@@ -776,12 +776,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
776
776
|
desiredSize?: number;
|
|
777
777
|
/**
|
|
778
778
|
* @remarks
|
|
779
|
-
* The
|
|
779
|
+
* The block device initialization configurations.
|
|
780
780
|
*/
|
|
781
781
|
diskInit?: DiskInit[];
|
|
782
782
|
/**
|
|
783
783
|
* @remarks
|
|
784
|
-
* The ID of the custom image.
|
|
784
|
+
* The ID of the custom image. By default, the system-provided image is used.
|
|
785
785
|
*
|
|
786
786
|
* @example
|
|
787
787
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -789,15 +789,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
789
789
|
imageId?: string;
|
|
790
790
|
/**
|
|
791
791
|
* @remarks
|
|
792
|
-
* The type of
|
|
792
|
+
* The type of OS image. You must specify this parameter or the platform parameter. Valid values:
|
|
793
793
|
*
|
|
794
|
-
* - `AliyunLinux`:
|
|
794
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
795
795
|
*
|
|
796
|
-
* - `AliyunLinux3`:
|
|
796
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
797
797
|
*
|
|
798
|
-
* - `AliyunLinux3Arm64`:
|
|
798
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
799
799
|
*
|
|
800
|
-
* - `AliyunLinuxUEFI`:
|
|
800
|
+
* - `AliyunLinuxUEFI`: Alinux2 image for UEFI.
|
|
801
801
|
*
|
|
802
802
|
* - `CentOS`: CentOS image.
|
|
803
803
|
*
|
|
@@ -815,9 +815,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
815
815
|
* @remarks
|
|
816
816
|
* The billing method of the nodes in the node pool. Valid values:
|
|
817
817
|
*
|
|
818
|
-
* - `PrePaid`:
|
|
818
|
+
* - `PrePaid`: Subscription.
|
|
819
819
|
*
|
|
820
|
-
* - `PostPaid`:
|
|
820
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
821
821
|
*
|
|
822
822
|
* Default value: `PostPaid`.
|
|
823
823
|
*
|
|
@@ -829,8 +829,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
829
829
|
instanceChargeType?: string;
|
|
830
830
|
/**
|
|
831
831
|
* @remarks
|
|
832
|
-
* The
|
|
833
|
-
* This feature is available only to
|
|
832
|
+
* The metadata access configuration for the ECS instance.
|
|
833
|
+
* This feature is currently available only to whitelisted users. Submit a ticket to request access.
|
|
834
834
|
*/
|
|
835
835
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
836
836
|
/**
|
|
@@ -842,11 +842,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
842
842
|
instanceTypes?: string[];
|
|
843
843
|
/**
|
|
844
844
|
* @remarks
|
|
845
|
-
* The billing method
|
|
845
|
+
* The billing method for the public IP address. Valid values:
|
|
846
846
|
*
|
|
847
|
-
* - `PayByBandwidth`:
|
|
847
|
+
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
848
848
|
*
|
|
849
|
-
* - `PayByTraffic`:
|
|
849
|
+
* - `PayByTraffic`: Pay-by-traffic.
|
|
850
850
|
*
|
|
851
851
|
* @example
|
|
852
852
|
* PayByBandwidth
|
|
@@ -854,7 +854,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
854
854
|
internetChargeType?: string;
|
|
855
855
|
/**
|
|
856
856
|
* @remarks
|
|
857
|
-
* The maximum outbound
|
|
857
|
+
* The maximum outbound bandwidth of the public IP address for the node. Unit: Mbit/s. Value range: [1, 100].
|
|
858
858
|
*
|
|
859
859
|
* @example
|
|
860
860
|
* 10
|
|
@@ -864,7 +864,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
864
864
|
* @remarks
|
|
865
865
|
* The name of the key pair. You must specify this parameter or `login_password`.
|
|
866
866
|
*
|
|
867
|
-
* > If you create a managed node pool, you can specify
|
|
867
|
+
* > If you create a managed node pool, you can only specify `key_pair`.
|
|
868
868
|
*
|
|
869
869
|
* @example
|
|
870
870
|
* np-key
|
|
@@ -872,12 +872,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
872
872
|
keyPair?: string;
|
|
873
873
|
/**
|
|
874
874
|
* @remarks
|
|
875
|
-
* Specifies whether to
|
|
875
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
876
876
|
*/
|
|
877
877
|
loginAsNonRoot?: boolean;
|
|
878
878
|
/**
|
|
879
879
|
* @remarks
|
|
880
|
-
* The
|
|
880
|
+
* 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.
|
|
881
881
|
*
|
|
882
882
|
* @example
|
|
883
883
|
* Hello1234
|
|
@@ -885,15 +885,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
885
885
|
loginPassword?: string;
|
|
886
886
|
/**
|
|
887
887
|
* @remarks
|
|
888
|
-
* The scaling policy for
|
|
888
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
889
889
|
*
|
|
890
|
-
* - `PRIORITY`:
|
|
890
|
+
* - `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.
|
|
891
891
|
*
|
|
892
|
-
* - `COST_OPTIMIZED`:
|
|
892
|
+
* - `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.
|
|
893
893
|
*
|
|
894
|
-
* >
|
|
894
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or when spot instances are selected.
|
|
895
895
|
*
|
|
896
|
-
* - `BALANCE`:
|
|
896
|
+
* - `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).
|
|
897
897
|
*
|
|
898
898
|
* Default value: `PRIORITY`.
|
|
899
899
|
*
|
|
@@ -903,7 +903,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
903
903
|
multiAzPolicy?: string;
|
|
904
904
|
/**
|
|
905
905
|
* @remarks
|
|
906
|
-
* The minimum number of
|
|
906
|
+
* 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.
|
|
907
907
|
*
|
|
908
908
|
* @example
|
|
909
909
|
* 0
|
|
@@ -911,7 +911,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
911
911
|
onDemandBaseCapacity?: number;
|
|
912
912
|
/**
|
|
913
913
|
* @remarks
|
|
914
|
-
* The percentage of
|
|
914
|
+
* 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].
|
|
915
915
|
*
|
|
916
916
|
* @example
|
|
917
917
|
* 20
|
|
@@ -919,7 +919,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
919
919
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
920
920
|
/**
|
|
921
921
|
* @remarks
|
|
922
|
-
* 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
|
|
922
|
+
* 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.
|
|
923
923
|
*
|
|
924
924
|
* Default value: 1.
|
|
925
925
|
*
|
|
@@ -929,7 +929,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
929
929
|
period?: number;
|
|
930
930
|
/**
|
|
931
931
|
* @remarks
|
|
932
|
-
* The billing cycle of the
|
|
932
|
+
* The billing cycle of the nodes in the node pool. You must specify this parameter when `instance_charge_type` is set to `PrePaid`.
|
|
933
933
|
*
|
|
934
934
|
* `Month`: The billing cycle is measured in months.
|
|
935
935
|
*
|
|
@@ -959,13 +959,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
959
959
|
platform?: string;
|
|
960
960
|
/**
|
|
961
961
|
* @remarks
|
|
962
|
-
* The
|
|
962
|
+
* The private node pool configurations.
|
|
963
963
|
*/
|
|
964
964
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
965
965
|
/**
|
|
966
966
|
* @remarks
|
|
967
|
-
* The name of the
|
|
968
|
-
* >Notice: This parameter
|
|
967
|
+
* The name of the Worker RAM role.
|
|
968
|
+
* >Notice: This parameter is supported only for ACK managed clusters of v1.22 or later when creating a node pool.
|
|
969
969
|
*
|
|
970
970
|
* @example
|
|
971
971
|
* example-role
|
|
@@ -973,23 +973,23 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
973
973
|
ramRoleName?: string;
|
|
974
974
|
/**
|
|
975
975
|
* @remarks
|
|
976
|
-
*
|
|
976
|
+
* The list of RDS instances.
|
|
977
977
|
*/
|
|
978
978
|
rdsInstances?: string[];
|
|
979
979
|
/**
|
|
980
980
|
* @remarks
|
|
981
|
-
* The resource pool and resource pool policy
|
|
982
|
-
* This parameter
|
|
983
|
-
*
|
|
981
|
+
* The resource pool and resource pool policy used when creating an instance. Note the following when setting this parameter:
|
|
982
|
+
* This parameter is effective only when creating pay-as-you-go instances.
|
|
983
|
+
* This parameter cannot be set at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
984
984
|
*/
|
|
985
985
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
986
986
|
/**
|
|
987
987
|
* @remarks
|
|
988
|
-
* The scaling mode
|
|
988
|
+
* The scaling group mode. Valid values:
|
|
989
989
|
*
|
|
990
|
-
* - `release`:
|
|
990
|
+
* - `release`: Standard mode. Creates and releases ECS instances to meet resource demands.
|
|
991
991
|
*
|
|
992
|
-
* - `recycle`:
|
|
992
|
+
* - `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.
|
|
993
993
|
*
|
|
994
994
|
* Default value: `release`.
|
|
995
995
|
*
|
|
@@ -999,7 +999,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
999
999
|
scalingPolicy?: string;
|
|
1000
1000
|
/**
|
|
1001
1001
|
* @remarks
|
|
1002
|
-
* The ID of the security group
|
|
1002
|
+
* 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`.
|
|
1003
1003
|
*
|
|
1004
1004
|
* @example
|
|
1005
1005
|
* sg-2zeihch86ooz9io4****
|
|
@@ -1007,12 +1007,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1007
1007
|
securityGroupId?: string;
|
|
1008
1008
|
/**
|
|
1009
1009
|
* @remarks
|
|
1010
|
-
*
|
|
1010
|
+
* 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.
|
|
1011
1011
|
*/
|
|
1012
1012
|
securityGroupIds?: string[];
|
|
1013
1013
|
/**
|
|
1014
1014
|
* @remarks
|
|
1015
|
-
*
|
|
1015
|
+
* 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].
|
|
1016
1016
|
*
|
|
1017
1017
|
* @example
|
|
1018
1018
|
* 5
|
|
@@ -1020,11 +1020,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1020
1020
|
spotInstancePools?: number;
|
|
1021
1021
|
/**
|
|
1022
1022
|
* @remarks
|
|
1023
|
-
* Specifies whether to enable replenishment for
|
|
1023
|
+
* 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:
|
|
1024
1024
|
*
|
|
1025
|
-
* - `true
|
|
1025
|
+
* - `true`: Enables replenishment for spot instances.
|
|
1026
1026
|
*
|
|
1027
|
-
* - `false
|
|
1027
|
+
* - `false`: Disables replenishment for spot instances.
|
|
1028
1028
|
*
|
|
1029
1029
|
* @example
|
|
1030
1030
|
* false
|
|
@@ -1032,20 +1032,20 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1032
1032
|
spotInstanceRemedy?: boolean;
|
|
1033
1033
|
/**
|
|
1034
1034
|
* @remarks
|
|
1035
|
-
* The price
|
|
1035
|
+
* The market price range configuration for a single spot instance type.
|
|
1036
1036
|
*/
|
|
1037
1037
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1038
1038
|
/**
|
|
1039
1039
|
* @remarks
|
|
1040
|
-
* The
|
|
1040
|
+
* The preemption policy for the spot instance. Valid values:
|
|
1041
1041
|
*
|
|
1042
|
-
* - NoSpot:
|
|
1042
|
+
* - NoSpot: A regular on-demand instance.
|
|
1043
1043
|
*
|
|
1044
|
-
* - SpotWithPriceLimit:
|
|
1044
|
+
* - SpotWithPriceLimit: Sets the maximum hourly price for the spot instance.
|
|
1045
1045
|
*
|
|
1046
|
-
* - SpotAsPriceGo:
|
|
1046
|
+
* - SpotAsPriceGo: The system automatically bids, following the current market price.
|
|
1047
1047
|
*
|
|
1048
|
-
* For more information, see [
|
|
1048
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1049
1049
|
*
|
|
1050
1050
|
* @example
|
|
1051
1051
|
* NoSpot
|
|
@@ -1053,13 +1053,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1053
1053
|
spotStrategy?: string;
|
|
1054
1054
|
/**
|
|
1055
1055
|
* @remarks
|
|
1056
|
-
* Specifies whether to enable
|
|
1056
|
+
* Specifies whether to enable performance burst for the system disk of the nodes. Valid values:
|
|
1057
1057
|
*
|
|
1058
|
-
* - true:
|
|
1058
|
+
* - true: Yes.
|
|
1059
1059
|
*
|
|
1060
|
-
* - false:
|
|
1060
|
+
* - false: No.
|
|
1061
1061
|
*
|
|
1062
|
-
* This parameter
|
|
1062
|
+
* 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).
|
|
1063
1063
|
*
|
|
1064
1064
|
* @example
|
|
1065
1065
|
* true
|
|
@@ -1067,26 +1067,26 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1067
1067
|
systemDiskBurstingEnabled?: boolean;
|
|
1068
1068
|
/**
|
|
1069
1069
|
* @remarks
|
|
1070
|
-
*
|
|
1070
|
+
* 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:
|
|
1071
1071
|
*
|
|
1072
|
-
* - cloud:
|
|
1072
|
+
* - cloud: Basic disk.
|
|
1073
1073
|
*
|
|
1074
|
-
* - cloud_efficiency:
|
|
1074
|
+
* - cloud_efficiency: Ultra disk.
|
|
1075
1075
|
*
|
|
1076
|
-
* - cloud_ssd:
|
|
1076
|
+
* - cloud_ssd: Standard SSD.
|
|
1077
1077
|
*
|
|
1078
1078
|
* - cloud_essd: ESSD.
|
|
1079
1079
|
*/
|
|
1080
1080
|
systemDiskCategories?: string[];
|
|
1081
1081
|
/**
|
|
1082
1082
|
* @remarks
|
|
1083
|
-
* The type of the system disk. Valid values:
|
|
1083
|
+
* The type of the system disk for the nodes. Valid values:
|
|
1084
1084
|
*
|
|
1085
|
-
* - `cloud_efficiency`:
|
|
1085
|
+
* - `cloud_efficiency`: Ultra disk.
|
|
1086
1086
|
*
|
|
1087
|
-
* - `cloud_ssd`:
|
|
1087
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1088
1088
|
*
|
|
1089
|
-
* - `cloud_essd`:
|
|
1089
|
+
* - `cloud_essd`: ESSD.
|
|
1090
1090
|
*
|
|
1091
1091
|
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1092
1092
|
*
|
|
@@ -1100,7 +1100,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1100
1100
|
systemDiskCategory?: string;
|
|
1101
1101
|
/**
|
|
1102
1102
|
* @remarks
|
|
1103
|
-
* The encryption algorithm
|
|
1103
|
+
* The encryption algorithm used by the system disk of the node. Valid value: aes-256.
|
|
1104
1104
|
*
|
|
1105
1105
|
* @example
|
|
1106
1106
|
* aes-256
|
|
@@ -1108,12 +1108,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1108
1108
|
systemDiskEncryptAlgorithm?: string;
|
|
1109
1109
|
/**
|
|
1110
1110
|
* @remarks
|
|
1111
|
-
* Specifies whether to encrypt the system disk. Valid values: true
|
|
1111
|
+
* Specifies whether to encrypt the system disk. Valid values: true: Encrypts the disk. false: Does not encrypt the disk.
|
|
1112
1112
|
*/
|
|
1113
1113
|
systemDiskEncrypted?: boolean;
|
|
1114
1114
|
/**
|
|
1115
1115
|
* @remarks
|
|
1116
|
-
* The
|
|
1116
|
+
* The KMS key ID used by the system disk of the node.
|
|
1117
1117
|
*
|
|
1118
1118
|
* @example
|
|
1119
1119
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1121,15 +1121,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1121
1121
|
systemDiskKmsKeyId?: string;
|
|
1122
1122
|
/**
|
|
1123
1123
|
* @remarks
|
|
1124
|
-
* The performance level of the
|
|
1124
|
+
* The performance level of the system disk for the nodes. This parameter is only effective for ESSDs.
|
|
1125
1125
|
*
|
|
1126
|
-
* - PL0:
|
|
1126
|
+
* - PL0: Medium concurrent I/O performance, stable read and write latency.
|
|
1127
1127
|
*
|
|
1128
|
-
* - PL1:
|
|
1128
|
+
* - PL1: Medium concurrent I/O performance, stable read and write latency.
|
|
1129
1129
|
*
|
|
1130
|
-
* - PL2:
|
|
1130
|
+
* - PL2: High concurrent I/O performance, stable read and write latency.
|
|
1131
1131
|
*
|
|
1132
|
-
* - PL3:
|
|
1132
|
+
* - PL3: Extremely high concurrent I/O performance, extremely stable read and write latency.
|
|
1133
1133
|
*
|
|
1134
1134
|
* @example
|
|
1135
1135
|
* PL1
|
|
@@ -1137,9 +1137,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1137
1137
|
systemDiskPerformanceLevel?: string;
|
|
1138
1138
|
/**
|
|
1139
1139
|
* @remarks
|
|
1140
|
-
* The
|
|
1140
|
+
* 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}.
|
|
1141
1141
|
*
|
|
1142
|
-
* This parameter
|
|
1142
|
+
* 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).
|
|
1143
1143
|
*
|
|
1144
1144
|
* @example
|
|
1145
1145
|
* 1000
|
|
@@ -1147,9 +1147,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1147
1147
|
systemDiskProvisionedIops?: number;
|
|
1148
1148
|
/**
|
|
1149
1149
|
* @remarks
|
|
1150
|
-
* The size of the system disk. Unit: GiB.
|
|
1150
|
+
* The size of the system disk for the nodes. Unit: GiB.
|
|
1151
1151
|
*
|
|
1152
|
-
*
|
|
1152
|
+
* Value range: [40, 500].
|
|
1153
1153
|
*
|
|
1154
1154
|
* @example
|
|
1155
1155
|
* 120
|
|
@@ -1157,14 +1157,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1157
1157
|
systemDiskSize?: number;
|
|
1158
1158
|
/**
|
|
1159
1159
|
* @remarks
|
|
1160
|
-
*
|
|
1160
|
+
* Adds tags only to ECS instances.
|
|
1161
1161
|
*
|
|
1162
|
-
*
|
|
1162
|
+
* 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\\://".
|
|
1163
1163
|
*/
|
|
1164
1164
|
tags?: NodepoolScalingGroupTags[];
|
|
1165
1165
|
/**
|
|
1166
1166
|
* @remarks
|
|
1167
|
-
* The
|
|
1167
|
+
* The virtual switch ID.
|
|
1168
1168
|
*
|
|
1169
1169
|
* This parameter is required.
|
|
1170
1170
|
*/
|
|
@@ -1183,7 +1183,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1183
1183
|
export declare class NodepoolTeeConfig extends $dara.Model {
|
|
1184
1184
|
/**
|
|
1185
1185
|
* @remarks
|
|
1186
|
-
* Specifies whether
|
|
1186
|
+
* Specifies whether it is a confidential computing node pool.
|
|
1187
1187
|
*
|
|
1188
1188
|
* This parameter is required.
|
|
1189
1189
|
*
|
|
@@ -1205,12 +1205,12 @@ export declare class NodepoolTeeConfig extends $dara.Model {
|
|
|
1205
1205
|
export declare class Nodepool extends $dara.Model {
|
|
1206
1206
|
/**
|
|
1207
1207
|
* @remarks
|
|
1208
|
-
* The auto
|
|
1208
|
+
* The auto-scaling configurations for the node pool.
|
|
1209
1209
|
*/
|
|
1210
1210
|
autoScaling?: NodepoolAutoScaling;
|
|
1211
1211
|
/**
|
|
1212
1212
|
* @remarks
|
|
1213
|
-
*
|
|
1213
|
+
* This parameter is deprecated. Use desired_size instead.
|
|
1214
1214
|
*
|
|
1215
1215
|
* The number of nodes in the node pool.
|
|
1216
1216
|
*
|
|
@@ -1222,20 +1222,20 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1222
1222
|
count?: number;
|
|
1223
1223
|
/**
|
|
1224
1224
|
* @remarks
|
|
1225
|
-
*
|
|
1225
|
+
* This parameter is deprecated.
|
|
1226
1226
|
*
|
|
1227
|
-
* The
|
|
1227
|
+
* The edge node pool configurations.
|
|
1228
1228
|
*
|
|
1229
1229
|
* @deprecated
|
|
1230
1230
|
*/
|
|
1231
1231
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1232
1232
|
/**
|
|
1233
1233
|
* @remarks
|
|
1234
|
-
* The network
|
|
1234
|
+
* The network type of the edge node pool. This parameter is only meaningful for node pools of type `edge`. Valid values:
|
|
1235
1235
|
*
|
|
1236
|
-
* - `basic`:
|
|
1236
|
+
* - `basic`: Basic.
|
|
1237
1237
|
*
|
|
1238
|
-
* - `private`:
|
|
1238
|
+
* - `private`: Private. Supported in versions 1.22 and later.
|
|
1239
1239
|
*
|
|
1240
1240
|
* @example
|
|
1241
1241
|
* basic
|
|
@@ -1243,17 +1243,17 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1243
1243
|
interconnectMode?: string;
|
|
1244
1244
|
/**
|
|
1245
1245
|
* @remarks
|
|
1246
|
-
* The
|
|
1246
|
+
* The cluster configurations.
|
|
1247
1247
|
*/
|
|
1248
1248
|
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
1249
1249
|
/**
|
|
1250
1250
|
* @remarks
|
|
1251
|
-
* The
|
|
1251
|
+
* The managed node pool configurations.
|
|
1252
1252
|
*/
|
|
1253
1253
|
management?: NodepoolManagement;
|
|
1254
1254
|
/**
|
|
1255
1255
|
* @remarks
|
|
1256
|
-
*
|
|
1256
|
+
* 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.
|
|
1257
1257
|
*
|
|
1258
1258
|
* @example
|
|
1259
1259
|
* 10
|
|
@@ -1261,27 +1261,27 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1261
1261
|
maxNodes?: number;
|
|
1262
1262
|
/**
|
|
1263
1263
|
* @remarks
|
|
1264
|
-
*
|
|
1264
|
+
* The list of node components.
|
|
1265
1265
|
*/
|
|
1266
1266
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1267
1267
|
/**
|
|
1268
1268
|
* @remarks
|
|
1269
|
-
*
|
|
1269
|
+
* The node configurations.
|
|
1270
1270
|
*/
|
|
1271
1271
|
nodeConfig?: NodepoolNodeConfig;
|
|
1272
1272
|
/**
|
|
1273
1273
|
* @remarks
|
|
1274
|
-
* The
|
|
1274
|
+
* The node pool configurations.
|
|
1275
1275
|
*/
|
|
1276
1276
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1277
1277
|
/**
|
|
1278
1278
|
* @remarks
|
|
1279
|
-
* The configurations of the scaling group.
|
|
1279
|
+
* The configurations of the scaling group for the node pool.
|
|
1280
1280
|
*/
|
|
1281
1281
|
scalingGroup?: NodepoolScalingGroup;
|
|
1282
1282
|
/**
|
|
1283
1283
|
* @remarks
|
|
1284
|
-
* The
|
|
1284
|
+
* The confidential computing node pool configurations.
|
|
1285
1285
|
*/
|
|
1286
1286
|
teeConfig?: NodepoolTeeConfig;
|
|
1287
1287
|
static names(): {
|