@alicloud/cs20151215 7.0.1 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +12 -12
- package/dist/client.js +15 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -267
- package/dist/models/CreateClusterNodePoolRequest.js +4 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -225
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +174 -167
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +0 -6
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +228 -218
- package/dist/models/ModifyClusterNodePoolRequest.js +25 -1
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +5 -5
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +25 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +16 -12
- package/src/models/CreateClusterNodePoolRequest.ts +271 -267
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +238 -225
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +180 -167
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +243 -218
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- package/src/models/model.ts +1 -0
|
@@ -12,7 +12,7 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Specifies whether to enable intelligent managed mode.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -42,7 +42,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara
|
|
|
42
42
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $dara.Model {
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The peak bandwidth
|
|
45
|
+
* The EIP peak bandwidth.
|
|
46
46
|
*
|
|
47
47
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
48
48
|
*
|
|
@@ -52,7 +52,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
52
52
|
eipBandwidth?: number;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The billing
|
|
55
|
+
* The EIP billing type. Valid values:
|
|
56
56
|
*
|
|
57
57
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
58
58
|
* - `PayByTraffic`: pay-by-traffic.
|
|
@@ -65,11 +65,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
65
65
|
* @remarks
|
|
66
66
|
* Specifies whether auto scaling is enabled. Valid values:
|
|
67
67
|
*
|
|
68
|
-
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet
|
|
68
|
+
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later use instant node elasticity by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
69
69
|
*
|
|
70
70
|
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
71
71
|
*
|
|
72
|
-
* When
|
|
72
|
+
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* true
|
|
@@ -77,10 +77,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
77
77
|
enable?: boolean;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* Specifies whether
|
|
80
|
+
* Specifies whether an EIP is associated. Valid values:
|
|
81
81
|
*
|
|
82
|
-
* - `true`:
|
|
83
|
-
* - `false`:
|
|
82
|
+
* - `true`: An EIP is associated.
|
|
83
|
+
* - `false`: No EIP is associated.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
86
|
* true
|
|
@@ -88,7 +88,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
88
88
|
isBondEip?: boolean;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The maximum number of instances that can be scaled in the node pool, excluding existing instances.
|
|
91
|
+
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* 10
|
|
@@ -96,7 +96,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
96
96
|
maxInstances?: number;
|
|
97
97
|
/**
|
|
98
98
|
* @remarks
|
|
99
|
-
* The minimum number of instances that can be scaled in the node pool, excluding existing instances.
|
|
99
|
+
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* 2
|
|
@@ -108,7 +108,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
108
108
|
*
|
|
109
109
|
* - `cpu`: regular instance type.
|
|
110
110
|
* - `gpu`: GPU instance type.
|
|
111
|
-
* - `gpushare`: GPU
|
|
111
|
+
* - `gpushare`: GPU shared type.
|
|
112
112
|
* - `spot`: spot instance type.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
@@ -149,9 +149,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends $dara.Model {
|
|
152
|
+
autoAttachEnabled?: boolean;
|
|
152
153
|
/**
|
|
153
154
|
* @remarks
|
|
154
|
-
*
|
|
155
|
+
* The Lingjun cluster ID.
|
|
155
156
|
*
|
|
156
157
|
* @example
|
|
157
158
|
* i113790071760688002461
|
|
@@ -159,23 +160,28 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
159
160
|
clusterId?: string;
|
|
160
161
|
/**
|
|
161
162
|
* @remarks
|
|
162
|
-
*
|
|
163
|
+
* The Lingjun group ID.
|
|
163
164
|
*
|
|
164
165
|
* @example
|
|
165
166
|
* i128147721760688002463
|
|
166
167
|
*/
|
|
167
168
|
groupId?: string;
|
|
169
|
+
workerRamRoleName?: string;
|
|
168
170
|
static names(): { [key: string]: string } {
|
|
169
171
|
return {
|
|
172
|
+
autoAttachEnabled: 'auto_attach_enabled',
|
|
170
173
|
clusterId: 'cluster_id',
|
|
171
174
|
groupId: 'group_id',
|
|
175
|
+
workerRamRoleName: 'worker_ram_role_name',
|
|
172
176
|
};
|
|
173
177
|
}
|
|
174
178
|
|
|
175
179
|
static types(): { [key: string]: any } {
|
|
176
180
|
return {
|
|
181
|
+
autoAttachEnabled: 'boolean',
|
|
177
182
|
clusterId: 'string',
|
|
178
183
|
groupId: 'string',
|
|
184
|
+
workerRamRoleName: 'string',
|
|
179
185
|
};
|
|
180
186
|
}
|
|
181
187
|
|
|
@@ -191,9 +197,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
191
197
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig extends $dara.Model {
|
|
192
198
|
/**
|
|
193
199
|
* @remarks
|
|
194
|
-
*
|
|
200
|
+
* [This field is deprecated]
|
|
195
201
|
*
|
|
196
|
-
*
|
|
202
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
197
203
|
*
|
|
198
204
|
* @example
|
|
199
205
|
* 10
|
|
@@ -201,9 +207,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
201
207
|
bandwidth?: number;
|
|
202
208
|
/**
|
|
203
209
|
* @remarks
|
|
204
|
-
*
|
|
210
|
+
* [This field is deprecated]
|
|
205
211
|
*
|
|
206
|
-
*
|
|
212
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
207
213
|
*
|
|
208
214
|
* @example
|
|
209
215
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -211,9 +217,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
211
217
|
ccnId?: string;
|
|
212
218
|
/**
|
|
213
219
|
* @remarks
|
|
214
|
-
*
|
|
220
|
+
* [This field is deprecated]
|
|
215
221
|
*
|
|
216
|
-
*
|
|
222
|
+
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
217
223
|
*
|
|
218
224
|
* @example
|
|
219
225
|
* cn-shanghai
|
|
@@ -221,9 +227,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
221
227
|
ccnRegionId?: string;
|
|
222
228
|
/**
|
|
223
229
|
* @remarks
|
|
224
|
-
*
|
|
230
|
+
* [This field is deprecated]
|
|
225
231
|
*
|
|
226
|
-
*
|
|
232
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
227
233
|
*
|
|
228
234
|
* @example
|
|
229
235
|
* cen-ey9k9nfhz0f*******
|
|
@@ -231,9 +237,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
231
237
|
cenId?: string;
|
|
232
238
|
/**
|
|
233
239
|
* @remarks
|
|
234
|
-
*
|
|
240
|
+
* [This field is deprecated]
|
|
235
241
|
*
|
|
236
|
-
*
|
|
242
|
+
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
237
243
|
*
|
|
238
244
|
* @example
|
|
239
245
|
* 1
|
|
@@ -271,10 +277,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
271
277
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $dara.Model {
|
|
272
278
|
/**
|
|
273
279
|
* @remarks
|
|
274
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
280
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
275
281
|
*
|
|
276
|
-
* - `true`:
|
|
277
|
-
* - `false`:
|
|
282
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
283
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
278
284
|
*
|
|
279
285
|
* @example
|
|
280
286
|
* true
|
|
@@ -282,10 +288,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
282
288
|
cmsEnabled?: boolean;
|
|
283
289
|
/**
|
|
284
290
|
* @remarks
|
|
285
|
-
* The CPU management policy
|
|
291
|
+
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
286
292
|
*
|
|
287
|
-
* - `static`:
|
|
288
|
-
* - `none`:
|
|
293
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
294
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
289
295
|
*
|
|
290
296
|
* @example
|
|
291
297
|
* none
|
|
@@ -298,14 +304,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
298
304
|
labels?: Tag[];
|
|
299
305
|
/**
|
|
300
306
|
* @remarks
|
|
301
|
-
*
|
|
307
|
+
* The custom node name.
|
|
302
308
|
*
|
|
303
|
-
*
|
|
309
|
+
* A node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
304
310
|
*
|
|
305
|
-
* -
|
|
306
|
-
* - IP
|
|
311
|
+
* - The prefix and suffix can each consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit.
|
|
312
|
+
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5-12.
|
|
307
313
|
*
|
|
308
|
-
*
|
|
314
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
309
315
|
*
|
|
310
316
|
* @example
|
|
311
317
|
* aliyun.com192.XX.YY.55test
|
|
@@ -313,7 +319,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
313
319
|
nodeNameMode?: string;
|
|
314
320
|
/**
|
|
315
321
|
* @remarks
|
|
316
|
-
*
|
|
322
|
+
* The node pool pre-custom data, which is a script that runs before node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
317
323
|
*
|
|
318
324
|
* @example
|
|
319
325
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD
|
|
@@ -323,9 +329,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
323
329
|
* @remarks
|
|
324
330
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
325
331
|
*
|
|
326
|
-
* - containerd:
|
|
327
|
-
* - Sandboxed-Container.runv:
|
|
328
|
-
* - docker:
|
|
332
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
333
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
334
|
+
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
329
335
|
*
|
|
330
336
|
* @example
|
|
331
337
|
* containerd
|
|
@@ -341,12 +347,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
341
347
|
runtimeVersion?: string;
|
|
342
348
|
/**
|
|
343
349
|
* @remarks
|
|
344
|
-
* The node taint information. Taints and tolerations work together to prevent
|
|
350
|
+
* The node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
345
351
|
*/
|
|
346
352
|
taints?: Taint[];
|
|
347
353
|
/**
|
|
348
354
|
* @remarks
|
|
349
|
-
* Specifies whether the scaled nodes are unschedulable.
|
|
355
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
350
356
|
*
|
|
351
357
|
* - true: Unschedulable.
|
|
352
358
|
*
|
|
@@ -358,7 +364,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
358
364
|
unschedulable?: boolean;
|
|
359
365
|
/**
|
|
360
366
|
* @remarks
|
|
361
|
-
* The custom data
|
|
367
|
+
* The node pool custom data, which is a script that runs after node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
362
368
|
*
|
|
363
369
|
* @example
|
|
364
370
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -412,7 +418,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
412
418
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
|
|
413
419
|
/**
|
|
414
420
|
* @remarks
|
|
415
|
-
*
|
|
421
|
+
* Indicates whether manual approval is required for node repair.
|
|
416
422
|
*
|
|
417
423
|
* @example
|
|
418
424
|
* false
|
|
@@ -428,10 +434,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
428
434
|
autoRepairPolicyId?: string;
|
|
429
435
|
/**
|
|
430
436
|
* @remarks
|
|
431
|
-
* Specifies whether
|
|
437
|
+
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_repair=true`.
|
|
432
438
|
*
|
|
433
|
-
* - `true`:
|
|
434
|
-
* - `false`:
|
|
439
|
+
* - `true`: Node restart is allowed.
|
|
440
|
+
* - `false`: Node restart is not allowed.
|
|
435
441
|
*
|
|
436
442
|
* @example
|
|
437
443
|
* true
|
|
@@ -465,9 +471,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
465
471
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
466
472
|
/**
|
|
467
473
|
* @remarks
|
|
468
|
-
* Specifies whether
|
|
469
|
-
* - `true`:
|
|
470
|
-
* - `false`:
|
|
474
|
+
* Specifies whether automatic kubelet upgrade is allowed. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
475
|
+
* - `true`: Automatic kubelet upgrade is allowed.
|
|
476
|
+
* - `false`: Automatic kubelet upgrade is not allowed.
|
|
471
477
|
*
|
|
472
478
|
* @example
|
|
473
479
|
* true
|
|
@@ -497,7 +503,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradeP
|
|
|
497
503
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $dara.Model {
|
|
498
504
|
/**
|
|
499
505
|
* @remarks
|
|
500
|
-
* The packages
|
|
506
|
+
* The packages to exclude during vulnerability fix.
|
|
501
507
|
*
|
|
502
508
|
* @example
|
|
503
509
|
* kernel
|
|
@@ -505,9 +511,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
505
511
|
excludePackages?: string;
|
|
506
512
|
/**
|
|
507
513
|
* @remarks
|
|
508
|
-
* Specifies whether
|
|
509
|
-
* - `true`:
|
|
510
|
-
* - `false`:
|
|
514
|
+
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
515
|
+
* - `true`: Node restart is allowed.
|
|
516
|
+
* - `false`: Node restart is not allowed.
|
|
511
517
|
*
|
|
512
518
|
* @example
|
|
513
519
|
* true
|
|
@@ -515,11 +521,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
515
521
|
restartNode?: boolean;
|
|
516
522
|
/**
|
|
517
523
|
* @remarks
|
|
518
|
-
* The vulnerability levels
|
|
524
|
+
* The vulnerability levels allowed for automatic fix, separated by commas.
|
|
519
525
|
*
|
|
520
526
|
* - `asap`: high
|
|
521
527
|
* - `later`: medium
|
|
522
|
-
* - `nntf`: low
|
|
528
|
+
* - `nntf`: low
|
|
523
529
|
*
|
|
524
530
|
* @example
|
|
525
531
|
* asap,nntf
|
|
@@ -553,10 +559,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
553
559
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
|
|
554
560
|
/**
|
|
555
561
|
* @remarks
|
|
556
|
-
* Specifies whether
|
|
562
|
+
* Specifies whether auto upgrade is enabled. Valid values:
|
|
557
563
|
*
|
|
558
|
-
* - `true`:
|
|
559
|
-
* - `false`:
|
|
564
|
+
* - `true`: Enables auto upgrade.
|
|
565
|
+
* - `false`: Disables auto upgrade.
|
|
560
566
|
*
|
|
561
567
|
* @example
|
|
562
568
|
* true
|
|
@@ -574,7 +580,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
574
580
|
maxUnavailable?: number;
|
|
575
581
|
/**
|
|
576
582
|
* @remarks
|
|
577
|
-
* The number of extra nodes.
|
|
583
|
+
* The number of extra nodes. This parameter is mutually exclusive with `surge_percentage`.
|
|
578
584
|
*
|
|
579
585
|
* @example
|
|
580
586
|
* 5
|
|
@@ -582,9 +588,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
582
588
|
surge?: number;
|
|
583
589
|
/**
|
|
584
590
|
* @remarks
|
|
585
|
-
* The percentage of extra nodes.
|
|
591
|
+
* The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
|
|
586
592
|
*
|
|
587
|
-
* Number of extra nodes =
|
|
593
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
588
594
|
*
|
|
589
595
|
* @example
|
|
590
596
|
* 50
|
|
@@ -621,10 +627,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
621
627
|
autoFaultDiagnosis?: boolean;
|
|
622
628
|
/**
|
|
623
629
|
* @remarks
|
|
624
|
-
* Specifies whether
|
|
630
|
+
* Specifies whether auto repair is enabled. This parameter takes effect only when `enable=true`.
|
|
625
631
|
*
|
|
626
|
-
* - `true`:
|
|
627
|
-
* - `false`:
|
|
632
|
+
* - `true`: Enables auto repair.
|
|
633
|
+
* - `false`: Disables auto repair.
|
|
628
634
|
*
|
|
629
635
|
* @example
|
|
630
636
|
* true
|
|
@@ -632,14 +638,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
632
638
|
autoRepair?: boolean;
|
|
633
639
|
/**
|
|
634
640
|
* @remarks
|
|
635
|
-
* The auto repair policy
|
|
641
|
+
* The auto repair node policy.
|
|
636
642
|
*/
|
|
637
643
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
638
644
|
/**
|
|
639
645
|
* @remarks
|
|
640
|
-
* Specifies whether
|
|
641
|
-
* - `true`:
|
|
642
|
-
* - `false`:
|
|
646
|
+
* Specifies whether auto upgrade is enabled for nodes. This parameter takes effect only when `enable=true`.
|
|
647
|
+
* - `true`: Enables auto upgrade.
|
|
648
|
+
* - `false`: Disables auto upgrade.
|
|
643
649
|
*
|
|
644
650
|
* @example
|
|
645
651
|
* true
|
|
@@ -647,15 +653,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
647
653
|
autoUpgrade?: boolean;
|
|
648
654
|
/**
|
|
649
655
|
* @remarks
|
|
650
|
-
* The
|
|
656
|
+
* The auto upgrade policy.
|
|
651
657
|
*/
|
|
652
658
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
653
659
|
/**
|
|
654
660
|
* @remarks
|
|
655
|
-
* Specifies whether
|
|
661
|
+
* Specifies whether automatic CVE fix is enabled. This parameter takes effect only when `enable=true`.
|
|
656
662
|
*
|
|
657
|
-
* - `true`:
|
|
658
|
-
* - `false`:
|
|
663
|
+
* - `true`: Enables automatic CVE fix.
|
|
664
|
+
* - `false`: Disables automatic CVE fix.
|
|
659
665
|
*
|
|
660
666
|
* @example
|
|
661
667
|
* true
|
|
@@ -663,15 +669,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
663
669
|
autoVulFix?: boolean;
|
|
664
670
|
/**
|
|
665
671
|
* @remarks
|
|
666
|
-
* The automatic CVE
|
|
672
|
+
* The automatic CVE fix policy.
|
|
667
673
|
*/
|
|
668
674
|
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
669
675
|
/**
|
|
670
676
|
* @remarks
|
|
671
|
-
* Specifies whether
|
|
677
|
+
* Specifies whether the managed node pool is enabled. Valid values:
|
|
672
678
|
*
|
|
673
|
-
* - `true`:
|
|
674
|
-
* - `false`:
|
|
679
|
+
* - `true`: Enables the managed node pool.
|
|
680
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
675
681
|
*
|
|
676
682
|
* @example
|
|
677
683
|
* true
|
|
@@ -679,7 +685,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
679
685
|
enable?: boolean;
|
|
680
686
|
/**
|
|
681
687
|
* @remarks
|
|
682
|
-
* The
|
|
688
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
683
689
|
*/
|
|
684
690
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
685
691
|
static names(): { [key: string]: string } {
|
|
@@ -734,7 +740,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
734
740
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
735
741
|
/**
|
|
736
742
|
* @remarks
|
|
737
|
-
*
|
|
743
|
+
* The node component custom configuration.
|
|
738
744
|
*
|
|
739
745
|
* @example
|
|
740
746
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -767,12 +773,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig e
|
|
|
767
773
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends $dara.Model {
|
|
768
774
|
/**
|
|
769
775
|
* @remarks
|
|
770
|
-
*
|
|
776
|
+
* The node component configuration.
|
|
771
777
|
*/
|
|
772
778
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
779
|
+
/**
|
|
780
|
+
* @example
|
|
781
|
+
* 1
|
|
782
|
+
*/
|
|
783
|
+
configRevision?: string;
|
|
773
784
|
/**
|
|
774
785
|
* @remarks
|
|
775
|
-
*
|
|
786
|
+
* The node component name.
|
|
776
787
|
*
|
|
777
788
|
* @example
|
|
778
789
|
* kubelet
|
|
@@ -780,7 +791,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
780
791
|
name?: string;
|
|
781
792
|
/**
|
|
782
793
|
* @remarks
|
|
783
|
-
*
|
|
794
|
+
* The node component version.
|
|
784
795
|
*
|
|
785
796
|
* @example
|
|
786
797
|
* 1.33.3-aliyun.1
|
|
@@ -789,6 +800,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
789
800
|
static names(): { [key: string]: string } {
|
|
790
801
|
return {
|
|
791
802
|
config: 'config',
|
|
803
|
+
configRevision: 'config_revision',
|
|
792
804
|
name: 'name',
|
|
793
805
|
version: 'version',
|
|
794
806
|
};
|
|
@@ -797,6 +809,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
797
809
|
static types(): { [key: string]: any } {
|
|
798
810
|
return {
|
|
799
811
|
config: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig,
|
|
812
|
+
configRevision: 'string',
|
|
800
813
|
name: 'string',
|
|
801
814
|
version: 'string',
|
|
802
815
|
};
|
|
@@ -817,7 +830,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
817
830
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig extends $dara.Model {
|
|
818
831
|
/**
|
|
819
832
|
* @remarks
|
|
820
|
-
* The
|
|
833
|
+
* The hugepage configuration.
|
|
821
834
|
*/
|
|
822
835
|
hugepage?: Hugepage;
|
|
823
836
|
static names(): { [key: string]: string } {
|
|
@@ -895,7 +908,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
895
908
|
created?: string;
|
|
896
909
|
/**
|
|
897
910
|
* @remarks
|
|
898
|
-
* Indicates whether this is the default node pool.
|
|
911
|
+
* Indicates whether this is the default node pool. A cluster typically has only one default node pool. Valid values:
|
|
899
912
|
*
|
|
900
913
|
* - `true`: This is the default node pool.
|
|
901
914
|
* - `false`: This is not the default node pool.
|
|
@@ -1002,13 +1015,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoo
|
|
|
1002
1015
|
id?: string;
|
|
1003
1016
|
/**
|
|
1004
1017
|
* @remarks
|
|
1005
|
-
* The private pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
1018
|
+
* The private node pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
1006
1019
|
*
|
|
1007
|
-
* - `Open`:
|
|
1020
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1008
1021
|
*
|
|
1009
|
-
* - `Target`:
|
|
1022
|
+
* - `Target`: Specified mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, instance launch fails.
|
|
1010
1023
|
*
|
|
1011
|
-
* - `None`:
|
|
1024
|
+
* - `None`: Not used mode. Instance launch does not use private pool capacity.
|
|
1012
1025
|
*
|
|
1013
1026
|
* @example
|
|
1014
1027
|
* Open
|
|
@@ -1045,10 +1058,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePo
|
|
|
1045
1058
|
privatePoolIds?: string[];
|
|
1046
1059
|
/**
|
|
1047
1060
|
* @remarks
|
|
1048
|
-
* The resource pool policy used
|
|
1049
|
-
* PrivatePoolFirst:
|
|
1050
|
-
* PrivatePoolOnly:
|
|
1051
|
-
* None:
|
|
1061
|
+
* The resource pool policy used when creating instances. Valid values:
|
|
1062
|
+
* PrivatePoolFirst: Private pool first.
|
|
1063
|
+
* PrivatePoolOnly: Private pool only.
|
|
1064
|
+
* None: No resource pool policy.
|
|
1052
1065
|
*
|
|
1053
1066
|
* @example
|
|
1054
1067
|
* PrivatePoolFirst
|
|
@@ -1091,11 +1104,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
|
|
|
1091
1104
|
instanceType?: string;
|
|
1092
1105
|
/**
|
|
1093
1106
|
* @remarks
|
|
1094
|
-
* The price
|
|
1107
|
+
* The market price range per instance.
|
|
1095
1108
|
*
|
|
1096
1109
|
* <props="china">Unit: CNY/hour.
|
|
1097
1110
|
*
|
|
1098
|
-
* <props="intl">Unit: USD/hour
|
|
1111
|
+
* <props="intl">Unit: USD/hour.
|
|
1099
1112
|
*
|
|
1100
1113
|
* @example
|
|
1101
1114
|
* 0.39
|
|
@@ -1127,10 +1140,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
|
|
|
1127
1140
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $dara.Model {
|
|
1128
1141
|
/**
|
|
1129
1142
|
* @remarks
|
|
1130
|
-
* Specifies whether
|
|
1143
|
+
* Specifies whether auto-renewal is enabled for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1131
1144
|
*
|
|
1132
|
-
* - `true`:
|
|
1133
|
-
* - `false`:
|
|
1145
|
+
* - `true`: Enables auto-renewal.
|
|
1146
|
+
* - `false`: Disables auto-renewal.
|
|
1134
1147
|
*
|
|
1135
1148
|
* @example
|
|
1136
1149
|
* false
|
|
@@ -1160,10 +1173,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1160
1173
|
cisEnabled?: boolean;
|
|
1161
1174
|
/**
|
|
1162
1175
|
* @remarks
|
|
1163
|
-
*
|
|
1176
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
1164
1177
|
*
|
|
1165
|
-
* - `true`:
|
|
1166
|
-
* - `false`:
|
|
1178
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1179
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1167
1180
|
*
|
|
1168
1181
|
* @example
|
|
1169
1182
|
* true
|
|
@@ -1171,7 +1184,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1171
1184
|
compensateWithOnDemand?: boolean;
|
|
1172
1185
|
/**
|
|
1173
1186
|
* @remarks
|
|
1174
|
-
* The
|
|
1187
|
+
* The combination of data cloud disk type, size, and other configurations for nodes.
|
|
1175
1188
|
*/
|
|
1176
1189
|
dataDisks?: DataDisk[];
|
|
1177
1190
|
/**
|
|
@@ -1223,7 +1236,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1223
1236
|
imageType?: string;
|
|
1224
1237
|
/**
|
|
1225
1238
|
* @remarks
|
|
1226
|
-
* The billing
|
|
1239
|
+
* The billing type of nodes in the node pool. Valid values:
|
|
1227
1240
|
*
|
|
1228
1241
|
* - `PrePaid`: subscription.
|
|
1229
1242
|
* - `PostPaid`: pay-as-you-go.
|
|
@@ -1247,7 +1260,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1247
1260
|
instanceTypes?: string[];
|
|
1248
1261
|
/**
|
|
1249
1262
|
* @remarks
|
|
1250
|
-
* The billing
|
|
1263
|
+
* The billing type for node public IP addresses.
|
|
1251
1264
|
*
|
|
1252
1265
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1253
1266
|
* - PayByTraffic: pay-by-traffic.
|
|
@@ -1258,7 +1271,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1258
1271
|
internetChargeType?: string;
|
|
1259
1272
|
/**
|
|
1260
1273
|
* @remarks
|
|
1261
|
-
* The maximum outbound bandwidth for
|
|
1274
|
+
* The maximum outbound public bandwidth for nodes. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1262
1275
|
*
|
|
1263
1276
|
* @example
|
|
1264
1277
|
* 10
|
|
@@ -1266,7 +1279,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1266
1279
|
internetMaxBandwidthOut?: number;
|
|
1267
1280
|
/**
|
|
1268
1281
|
* @remarks
|
|
1269
|
-
* The key pair name.
|
|
1282
|
+
* The key pair name. This parameter is mutually exclusive with `login_password`.
|
|
1270
1283
|
*
|
|
1271
1284
|
* For managed node pools, only `key_pair` is supported.
|
|
1272
1285
|
*
|
|
@@ -1276,7 +1289,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1276
1289
|
keyPair?: string;
|
|
1277
1290
|
/**
|
|
1278
1291
|
* @remarks
|
|
1279
|
-
* Specifies whether the scaled ECS
|
|
1292
|
+
* Specifies whether to log on to the scaled ECS instance as a non-root user.
|
|
1280
1293
|
*
|
|
1281
1294
|
* - true: Log on as a non-root user (ecs-user).
|
|
1282
1295
|
*
|
|
@@ -1288,9 +1301,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1288
1301
|
loginAsNonRoot?: boolean;
|
|
1289
1302
|
/**
|
|
1290
1303
|
* @remarks
|
|
1291
|
-
* The SSH
|
|
1304
|
+
* The SSH login password. This parameter is mutually exclusive with `key_pair`. Logon password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1292
1305
|
*
|
|
1293
|
-
* For security purposes,
|
|
1306
|
+
* For security purposes, logon password is encrypted in query results.
|
|
1294
1307
|
*
|
|
1295
1308
|
* @example
|
|
1296
1309
|
* ******
|
|
@@ -1300,13 +1313,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1300
1313
|
* @remarks
|
|
1301
1314
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1302
1315
|
*
|
|
1303
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of
|
|
1316
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1304
1317
|
*
|
|
1305
|
-
* - `COST_OPTIMIZED`:
|
|
1318
|
+
* - `COST_OPTIMIZED`: Creates instances based on the unit price of vCPUs, in ascending order. When the scaling configuration sets multiple instance types with preemptible billing methods, spot instances are preferentially created. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1306
1319
|
*
|
|
1307
|
-
* >`COST_OPTIMIZED` takes effect only when multiple instance types are
|
|
1320
|
+
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or the preemptible instance type is used.
|
|
1308
1321
|
*
|
|
1309
|
-
* - `BALANCE`: Allocates ECS instances evenly across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1322
|
+
* - `BALANCE`: Allocates ECS instances evenly across the multiple active zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1310
1323
|
*
|
|
1311
1324
|
* @example
|
|
1312
1325
|
* COST_OPTIMIZED
|
|
@@ -1314,7 +1327,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1314
1327
|
multiAzPolicy?: string;
|
|
1315
1328
|
/**
|
|
1316
1329
|
* @remarks
|
|
1317
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created
|
|
1330
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are preferentially created.
|
|
1318
1331
|
*
|
|
1319
1332
|
* @example
|
|
1320
1333
|
* 0
|
|
@@ -1322,7 +1335,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1322
1335
|
onDemandBaseCapacity?: number;
|
|
1323
1336
|
/**
|
|
1324
1337
|
* @remarks
|
|
1325
|
-
* The percentage of pay-as-you-go instances among the instances that exceed the minimum pay-as-you-go
|
|
1338
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1326
1339
|
*
|
|
1327
1340
|
* @example
|
|
1328
1341
|
* 20
|
|
@@ -1341,10 +1354,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1341
1354
|
period?: number;
|
|
1342
1355
|
/**
|
|
1343
1356
|
* @remarks
|
|
1344
|
-
* The
|
|
1357
|
+
* The subscription period unit. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1345
1358
|
*
|
|
1346
|
-
* - `Month`:
|
|
1347
|
-
* - `Week`:
|
|
1359
|
+
* - `Month`: month as the time unit.
|
|
1360
|
+
* - `Week`: week as the time unit.
|
|
1348
1361
|
*
|
|
1349
1362
|
* @example
|
|
1350
1363
|
* Month
|
|
@@ -1359,7 +1372,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1359
1372
|
* - `CentOS`
|
|
1360
1373
|
* - `AliyunLinux`
|
|
1361
1374
|
* - `Windows`
|
|
1362
|
-
* - `WindowsCore
|
|
1375
|
+
* - `WindowsCore`
|
|
1363
1376
|
*
|
|
1364
1377
|
* @example
|
|
1365
1378
|
* AliyunLinux
|
|
@@ -1388,12 +1401,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1388
1401
|
ramRoleName?: string;
|
|
1389
1402
|
/**
|
|
1390
1403
|
* @remarks
|
|
1391
|
-
*
|
|
1404
|
+
* If an RDS instance list is specified, the ECS instances in the cluster nodes are automatically added to the RDS access whitelist.
|
|
1392
1405
|
*/
|
|
1393
1406
|
rdsInstances?: string[];
|
|
1394
1407
|
/**
|
|
1395
1408
|
* @remarks
|
|
1396
|
-
* The resource pool and resource pool policy used
|
|
1409
|
+
* The resource pool and resource pool policy used when creating instances.
|
|
1397
1410
|
*/
|
|
1398
1411
|
resourcePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePoolOptions;
|
|
1399
1412
|
/**
|
|
@@ -1408,8 +1421,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1408
1421
|
* @remarks
|
|
1409
1422
|
* The scaling group mode. Valid values:
|
|
1410
1423
|
*
|
|
1411
|
-
* - `release`:
|
|
1412
|
-
* - `recycle`:
|
|
1424
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1425
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting ECS instances, which improves the speed of subsequent scaling operations. Compute resources are not charged during the stopped state. Only storage fees are charged, except for instances with local disks.
|
|
1413
1426
|
*
|
|
1414
1427
|
* @example
|
|
1415
1428
|
* release
|
|
@@ -1432,10 +1445,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1432
1445
|
securityGroupIds?: string[];
|
|
1433
1446
|
/**
|
|
1434
1447
|
* @remarks
|
|
1435
|
-
* Specifies whether
|
|
1448
|
+
* Specifies whether Alibaba Cloud OS security hardening is enabled. Valid values:
|
|
1436
1449
|
*
|
|
1437
|
-
* - `true`:
|
|
1438
|
-
* - `false`:
|
|
1450
|
+
* - `true`: Enabled.
|
|
1451
|
+
* - `false`: Disabled.
|
|
1439
1452
|
*
|
|
1440
1453
|
* Default value: `false`.
|
|
1441
1454
|
*
|
|
@@ -1445,7 +1458,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1445
1458
|
securityHardeningOs?: boolean;
|
|
1446
1459
|
/**
|
|
1447
1460
|
* @remarks
|
|
1448
|
-
* Specifies whether
|
|
1461
|
+
* Specifies whether MLPS 2.0 security hardening is enabled. This feature can be enabled only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1449
1462
|
*
|
|
1450
1463
|
* @example
|
|
1451
1464
|
* false
|
|
@@ -1453,7 +1466,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1453
1466
|
socEnabled?: boolean;
|
|
1454
1467
|
/**
|
|
1455
1468
|
* @remarks
|
|
1456
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1469
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1457
1470
|
*
|
|
1458
1471
|
* @example
|
|
1459
1472
|
* 5
|
|
@@ -1461,10 +1474,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1461
1474
|
spotInstancePools?: number;
|
|
1462
1475
|
/**
|
|
1463
1476
|
* @remarks
|
|
1464
|
-
* Specifies whether to enable
|
|
1477
|
+
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1465
1478
|
*
|
|
1466
|
-
* - `true`:
|
|
1467
|
-
* - `false`:
|
|
1479
|
+
* - `true`: Enables supplementing spot instances.
|
|
1480
|
+
* - `false`: Disables supplementing spot instances.
|
|
1468
1481
|
*
|
|
1469
1482
|
* @example
|
|
1470
1483
|
* false
|
|
@@ -1472,7 +1485,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1472
1485
|
spotInstanceRemedy?: boolean;
|
|
1473
1486
|
/**
|
|
1474
1487
|
* @remarks
|
|
1475
|
-
* The
|
|
1488
|
+
* The spot instance market price range configuration.
|
|
1476
1489
|
*/
|
|
1477
1490
|
spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
|
|
1478
1491
|
/**
|
|
@@ -1490,9 +1503,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1490
1503
|
spotStrategy?: string;
|
|
1491
1504
|
/**
|
|
1492
1505
|
* @remarks
|
|
1493
|
-
* Specifies whether
|
|
1494
|
-
* - true:
|
|
1495
|
-
* - false:
|
|
1506
|
+
* Specifies whether burst (performance burst) is enabled for the node system cloud disk. Valid values:
|
|
1507
|
+
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure until the workload stabilizes.
|
|
1508
|
+
* - false: Disabled.
|
|
1496
1509
|
*
|
|
1497
1510
|
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1498
1511
|
*
|
|
@@ -1502,12 +1515,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1502
1515
|
systemDiskBurstingEnabled?: boolean;
|
|
1503
1516
|
/**
|
|
1504
1517
|
* @remarks
|
|
1505
|
-
* The
|
|
1518
|
+
* The multiple system cloud disk types. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk.
|
|
1506
1519
|
*/
|
|
1507
1520
|
systemDiskCategories?: string[];
|
|
1508
1521
|
/**
|
|
1509
1522
|
* @remarks
|
|
1510
|
-
* The system cloud disk type
|
|
1523
|
+
* The node system cloud disk type. Valid values:
|
|
1511
1524
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1512
1525
|
* - `cloud_ssd`: standard SSD.
|
|
1513
1526
|
* - `cloud_essd`: ESSD.
|
|
@@ -1520,7 +1533,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1520
1533
|
systemDiskCategory?: string;
|
|
1521
1534
|
/**
|
|
1522
1535
|
* @remarks
|
|
1523
|
-
* The encryption algorithm used
|
|
1536
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1524
1537
|
*
|
|
1525
1538
|
* @example
|
|
1526
1539
|
* aes-256
|
|
@@ -1528,10 +1541,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1528
1541
|
systemDiskEncryptAlgorithm?: string;
|
|
1529
1542
|
/**
|
|
1530
1543
|
* @remarks
|
|
1531
|
-
* Specifies whether
|
|
1544
|
+
* Specifies whether the system cloud disk is encrypted. Valid values:
|
|
1532
1545
|
*
|
|
1533
|
-
* - true:
|
|
1534
|
-
* - false:
|
|
1546
|
+
* - true: Encrypted.
|
|
1547
|
+
* - false: Not encrypted.
|
|
1535
1548
|
*
|
|
1536
1549
|
* @example
|
|
1537
1550
|
* false
|
|
@@ -1539,7 +1552,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1539
1552
|
systemDiskEncrypted?: boolean;
|
|
1540
1553
|
/**
|
|
1541
1554
|
* @remarks
|
|
1542
|
-
* The KMS key ID used
|
|
1555
|
+
* The KMS key ID used by the system cloud disk.
|
|
1543
1556
|
*
|
|
1544
1557
|
* @example
|
|
1545
1558
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1547,7 +1560,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1547
1560
|
systemDiskKmsKeyId?: string;
|
|
1548
1561
|
/**
|
|
1549
1562
|
* @remarks
|
|
1550
|
-
* The
|
|
1563
|
+
* The node system cloud disk performance level. This parameter takes effect only for ESSD cloud disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1551
1564
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1552
1565
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1553
1566
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1559,7 +1572,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1559
1572
|
systemDiskPerformanceLevel?: string;
|
|
1560
1573
|
/**
|
|
1561
1574
|
* @remarks
|
|
1562
|
-
* The provisioned read/write IOPS for the system cloud disk. This parameter is
|
|
1575
|
+
* The provisioned read/write IOPS for the node system cloud disk. This parameter is applicable when the disk type is cloud_auto.
|
|
1563
1576
|
*
|
|
1564
1577
|
* @example
|
|
1565
1578
|
* 1000
|
|
@@ -1567,7 +1580,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1567
1580
|
systemDiskProvisionedIops?: number;
|
|
1568
1581
|
/**
|
|
1569
1582
|
* @remarks
|
|
1570
|
-
* The system cloud disk size
|
|
1583
|
+
* The node system cloud disk size. Unit: GiB.
|
|
1571
1584
|
*
|
|
1572
1585
|
* Valid values: [20,2048\\].
|
|
1573
1586
|
*
|
|
@@ -1585,7 +1598,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1585
1598
|
systemDiskSnapshotPolicyId?: string;
|
|
1586
1599
|
/**
|
|
1587
1600
|
* @remarks
|
|
1588
|
-
* The ECS instance
|
|
1601
|
+
* The ECS instance labels.
|
|
1589
1602
|
*/
|
|
1590
1603
|
tags?: Tag[];
|
|
1591
1604
|
/**
|
|
@@ -1753,7 +1766,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1753
1766
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.Model {
|
|
1754
1767
|
/**
|
|
1755
1768
|
* @remarks
|
|
1756
|
-
* The number of failed
|
|
1769
|
+
* The number of failed instances.
|
|
1757
1770
|
*
|
|
1758
1771
|
* @example
|
|
1759
1772
|
* 0
|
|
@@ -1761,7 +1774,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1761
1774
|
failedNodes?: number;
|
|
1762
1775
|
/**
|
|
1763
1776
|
* @remarks
|
|
1764
|
-
* The number of healthy
|
|
1777
|
+
* The number of healthy instances.
|
|
1765
1778
|
*
|
|
1766
1779
|
* @example
|
|
1767
1780
|
* 3
|
|
@@ -1769,7 +1782,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1769
1782
|
healthyNodes?: number;
|
|
1770
1783
|
/**
|
|
1771
1784
|
* @remarks
|
|
1772
|
-
* The number of nodes
|
|
1785
|
+
* The number of nodes being created.
|
|
1773
1786
|
*
|
|
1774
1787
|
* @example
|
|
1775
1788
|
* 0
|
|
@@ -1785,7 +1798,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1785
1798
|
offlineNodes?: number;
|
|
1786
1799
|
/**
|
|
1787
1800
|
* @remarks
|
|
1788
|
-
* The number of nodes
|
|
1801
|
+
* The number of nodes being removed.
|
|
1789
1802
|
*
|
|
1790
1803
|
* @example
|
|
1791
1804
|
* 0
|
|
@@ -1801,13 +1814,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1801
1814
|
servingNodes?: number;
|
|
1802
1815
|
/**
|
|
1803
1816
|
* @remarks
|
|
1804
|
-
* The node pool
|
|
1817
|
+
* The node pool status. Valid values:
|
|
1805
1818
|
*
|
|
1806
|
-
* - `active`:
|
|
1807
|
-
* - `scaling`:
|
|
1808
|
-
* - `removing`:
|
|
1809
|
-
* - `deleting`:
|
|
1810
|
-
* - `updating`:
|
|
1819
|
+
* - `active`: Active.
|
|
1820
|
+
* - `scaling`: Scaling.
|
|
1821
|
+
* - `removing`: Removing nodes.
|
|
1822
|
+
* - `deleting`: Deleting.
|
|
1823
|
+
* - `updating`: Updating.
|
|
1811
1824
|
*
|
|
1812
1825
|
* @example
|
|
1813
1826
|
* active
|
|
@@ -1859,10 +1872,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1859
1872
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig extends $dara.Model {
|
|
1860
1873
|
/**
|
|
1861
1874
|
* @remarks
|
|
1862
|
-
*
|
|
1875
|
+
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1863
1876
|
*
|
|
1864
|
-
* - `true
|
|
1865
|
-
* - `false
|
|
1877
|
+
* - `true`: Enabled.
|
|
1878
|
+
* - `false`: Disabled.
|
|
1866
1879
|
*
|
|
1867
1880
|
* @example
|
|
1868
1881
|
* false
|
|
@@ -1892,7 +1905,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig extends $dar
|
|
|
1892
1905
|
export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
1893
1906
|
/**
|
|
1894
1907
|
* @remarks
|
|
1895
|
-
*
|
|
1908
|
+
* The intelligent managed configuration.
|
|
1896
1909
|
*/
|
|
1897
1910
|
autoMode?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode;
|
|
1898
1911
|
/**
|
|
@@ -1902,22 +1915,22 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1902
1915
|
autoScaling?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling;
|
|
1903
1916
|
/**
|
|
1904
1917
|
* @remarks
|
|
1905
|
-
*
|
|
1918
|
+
* The Lingjun node group information.
|
|
1906
1919
|
*/
|
|
1907
1920
|
efloNodeGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup;
|
|
1908
1921
|
/**
|
|
1909
1922
|
* @remarks
|
|
1910
|
-
*
|
|
1923
|
+
* [This field is deprecated]
|
|
1911
1924
|
*
|
|
1912
|
-
*
|
|
1925
|
+
* The network configuration for edge node pools. This value is meaningful only for edge-type node pools.
|
|
1913
1926
|
*/
|
|
1914
1927
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
1915
1928
|
/**
|
|
1916
1929
|
* @remarks
|
|
1917
|
-
*
|
|
1930
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
1918
1931
|
*
|
|
1919
|
-
* - `basic
|
|
1920
|
-
* - `private
|
|
1932
|
+
* - `basic`: Public network. Nodes in cloud node pool interact with cloud nodes over the public network. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
1933
|
+
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1921
1934
|
*
|
|
1922
1935
|
* @example
|
|
1923
1936
|
* basic
|
|
@@ -1935,7 +1948,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1935
1948
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
1936
1949
|
/**
|
|
1937
1950
|
* @remarks
|
|
1938
|
-
*
|
|
1951
|
+
* The maximum number of nodes allowed in the edge node pool. This value must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the total number of nodes the cluster can contain, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0.
|
|
1939
1952
|
*
|
|
1940
1953
|
* @example
|
|
1941
1954
|
* 10
|
|
@@ -1943,7 +1956,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1943
1956
|
maxNodes?: number;
|
|
1944
1957
|
/**
|
|
1945
1958
|
* @remarks
|
|
1946
|
-
*
|
|
1959
|
+
* The list of node components.
|
|
1947
1960
|
*/
|
|
1948
1961
|
nodeComponents?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents[];
|
|
1949
1962
|
/**
|
|
@@ -1958,7 +1971,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1958
1971
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
1959
1972
|
/**
|
|
1960
1973
|
* @remarks
|
|
1961
|
-
* The scaling group configuration
|
|
1974
|
+
* The node pool scaling group configuration.
|
|
1962
1975
|
*/
|
|
1963
1976
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
1964
1977
|
/**
|
|
@@ -1968,7 +1981,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1968
1981
|
status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
|
|
1969
1982
|
/**
|
|
1970
1983
|
* @remarks
|
|
1971
|
-
*
|
|
1984
|
+
* The confidential computing configuration.
|
|
1972
1985
|
*/
|
|
1973
1986
|
teeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig;
|
|
1974
1987
|
static names(): { [key: string]: string } {
|