@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
|
@@ -13,7 +13,7 @@ import { Taint } from "./Taint";
|
|
|
13
13
|
export class DescribeClusterNodePoolDetailResponseBodyAutoMode extends $dara.Model {
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Indicates whether
|
|
16
|
+
* Indicates whether to enable the feature.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* false
|
|
@@ -43,9 +43,9 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoMode extends $dara.Mod
|
|
|
43
43
|
export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.Model {
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The peak bandwidth
|
|
46
|
+
* The peak EIP bandwidth.
|
|
47
47
|
*
|
|
48
|
-
* Valid values:
|
|
48
|
+
* Valid values: 1 to 100. Unit: Mbit/s.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 5
|
|
@@ -53,11 +53,11 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
53
53
|
eipBandwidth?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The billing method of the EIP. Valid values:
|
|
57
57
|
*
|
|
58
|
-
* - `PayByBandwidth`:
|
|
58
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
59
59
|
*
|
|
60
|
-
* - `PayByTraffic`:
|
|
60
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* PayByBandwidth
|
|
@@ -65,13 +65,13 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
65
65
|
eipInternetChargeType?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* Indicates whether automatic scaling
|
|
68
|
+
* Indicates whether to enable automatic scaling. Valid values:
|
|
69
69
|
*
|
|
70
|
-
* - `true`:
|
|
70
|
+
* - `true`: enables automatic scaling for the node pool. If the resources of the cluster cannot meet the scheduling requirements of pods, ACK automatically scales out or in nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, node elastic scaling is enabled by default. For clusters of a Kubernetes version earlier than 1.24, node autoscaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
71
71
|
*
|
|
72
|
-
* - `false`:
|
|
72
|
+
* - `false`: disables automatic scaling. ACK adjusts the number of nodes in the node pool to the expected number of nodes. The number of nodes is always the same as the expected number of nodes.
|
|
73
73
|
*
|
|
74
|
-
* If set to false, other parameters
|
|
74
|
+
* If this parameter is set to false, other parameters in auto_scaling do not take effect.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* true
|
|
@@ -79,11 +79,11 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
79
79
|
enable?: boolean;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* Indicates whether an EIP
|
|
82
|
+
* Indicates whether to associate an EIP with the node pool. Valid values:
|
|
83
83
|
*
|
|
84
|
-
* - `true`:
|
|
84
|
+
* - `true`: Associates an EIP with the node pool.
|
|
85
85
|
*
|
|
86
|
-
* - `false`: Does not
|
|
86
|
+
* - `false`: Does not associate an EIP with the node pool.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* true
|
|
@@ -91,7 +91,7 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
91
91
|
isBondEip?: boolean;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* The maximum number of
|
|
94
|
+
* The maximum number of instances that can be created in the node pool. This value does not include the existing instances.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* 10
|
|
@@ -99,7 +99,7 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
99
99
|
maxInstances?: number;
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
* The minimum number of
|
|
102
|
+
* The minimum number of instances that can be created in the node pool. This value does not include the existing instances.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* 1
|
|
@@ -107,15 +107,15 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
107
107
|
minInstances?: number;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* The automatic scaling
|
|
110
|
+
* The type of automatic scaling that is configured for the node pool. This parameter is specified based on the instance type for automatic scaling. Valid values:
|
|
111
111
|
*
|
|
112
|
-
* - `cpu`:
|
|
112
|
+
* - `cpu`: regular instances.
|
|
113
113
|
*
|
|
114
|
-
* - `gpu`: GPU
|
|
114
|
+
* - `gpu`: GPU-accelerated instances.
|
|
115
115
|
*
|
|
116
|
-
* - `gpushare`:
|
|
116
|
+
* - `gpushare`: shared GPU-accelerated instances.
|
|
117
117
|
*
|
|
118
|
-
* - `spot`:
|
|
118
|
+
* - `spot`: spot instances.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* cpu
|
|
@@ -191,9 +191,9 @@ export class DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup extends $dar
|
|
|
191
191
|
export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends $dara.Model {
|
|
192
192
|
/**
|
|
193
193
|
* @remarks
|
|
194
|
-
* [
|
|
194
|
+
* [This parameter is deprecated]
|
|
195
195
|
*
|
|
196
|
-
* The network bandwidth
|
|
196
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* 10
|
|
@@ -201,9 +201,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
201
201
|
bandwidth?: number;
|
|
202
202
|
/**
|
|
203
203
|
* @remarks
|
|
204
|
-
* [
|
|
204
|
+
* [This parameter is deprecated]
|
|
205
205
|
*
|
|
206
|
-
* The CCN instance
|
|
206
|
+
* The ID of the CCN instance that is associated with the enhanced edge node pool.
|
|
207
207
|
*
|
|
208
208
|
* @example
|
|
209
209
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -211,9 +211,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
211
211
|
ccnId?: string;
|
|
212
212
|
/**
|
|
213
213
|
* @remarks
|
|
214
|
-
* [
|
|
214
|
+
* [This parameter is deprecated]
|
|
215
215
|
*
|
|
216
|
-
* The region
|
|
216
|
+
* The region where the CCN instance that is associated with the enhanced edge node pool resides.
|
|
217
217
|
*
|
|
218
218
|
* @example
|
|
219
219
|
* cn-shanghai
|
|
@@ -221,9 +221,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
221
221
|
ccnRegionId?: string;
|
|
222
222
|
/**
|
|
223
223
|
* @remarks
|
|
224
|
-
* [
|
|
224
|
+
* [This parameter is deprecated]
|
|
225
225
|
*
|
|
226
|
-
* The CEN instance
|
|
226
|
+
* The ID of the CEN instance that is associated with the enhanced edge node pool.
|
|
227
227
|
*
|
|
228
228
|
* @example
|
|
229
229
|
* cen-ey9k9nfhz0f*******
|
|
@@ -231,9 +231,9 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
231
231
|
cenId?: string;
|
|
232
232
|
/**
|
|
233
233
|
* @remarks
|
|
234
|
-
* [
|
|
234
|
+
* [This parameter is deprecated]
|
|
235
235
|
*
|
|
236
|
-
* The subscription duration
|
|
236
|
+
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
239
|
* 1
|
|
@@ -271,11 +271,11 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
271
271
|
export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $dara.Model {
|
|
272
272
|
/**
|
|
273
273
|
* @remarks
|
|
274
|
-
* Indicates whether Cloud Monitor
|
|
274
|
+
* Indicates whether to install Cloud Monitor on the ECS nodes. After you install Cloud Monitor, you can view the monitoring information of the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
|
|
275
275
|
*
|
|
276
|
-
* - `true`: Installs Cloud Monitor on ECS nodes.
|
|
276
|
+
* - `true`: Installs Cloud Monitor on the ECS nodes.
|
|
277
277
|
*
|
|
278
|
-
* - `false`: Does not install Cloud Monitor on ECS nodes.
|
|
278
|
+
* - `false`: Does not install Cloud Monitor on the ECS nodes.
|
|
279
279
|
*
|
|
280
280
|
* @example
|
|
281
281
|
* true
|
|
@@ -283,11 +283,11 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
283
283
|
cmsEnabled?: boolean;
|
|
284
284
|
/**
|
|
285
285
|
* @remarks
|
|
286
|
-
* The
|
|
286
|
+
* The CPU management policy for the nodes. The following policies are supported for clusters of Kubernetes 1.12.6 and later:
|
|
287
287
|
*
|
|
288
|
-
* - `static`:
|
|
288
|
+
* - `static`: Allows pods with specific resource characteristics on a node to have enhanced CPU affinity and exclusivity.
|
|
289
289
|
*
|
|
290
|
-
* - `none`:
|
|
290
|
+
* - `none`: Enables the default CPU affinity scheme.
|
|
291
291
|
*
|
|
292
292
|
* @example
|
|
293
293
|
* none
|
|
@@ -295,20 +295,20 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
295
295
|
cpuPolicy?: string;
|
|
296
296
|
/**
|
|
297
297
|
* @remarks
|
|
298
|
-
*
|
|
298
|
+
* The node labels.
|
|
299
299
|
*/
|
|
300
300
|
labels?: Tag[];
|
|
301
301
|
/**
|
|
302
302
|
* @remarks
|
|
303
|
-
*
|
|
303
|
+
* The custom node name.
|
|
304
304
|
*
|
|
305
|
-
* A node name consists of
|
|
305
|
+
* A node name consists of a prefix, the IP address of the node, and a suffix:
|
|
306
306
|
*
|
|
307
|
-
* -
|
|
307
|
+
* - The prefix and suffix can 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.
|
|
308
308
|
*
|
|
309
|
-
* - The IP address
|
|
309
|
+
* - The IP address segment length indicates the number of digits to be truncated from the end of the node IP address. Valid values: 5 to 12.
|
|
310
310
|
*
|
|
311
|
-
*
|
|
311
|
+
* 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.
|
|
312
312
|
*
|
|
313
313
|
* @example
|
|
314
314
|
* aliyun.com192.XX.YY.55test
|
|
@@ -316,7 +316,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
316
316
|
nodeNameMode?: string;
|
|
317
317
|
/**
|
|
318
318
|
* @remarks
|
|
319
|
-
*
|
|
319
|
+
* The pre-custom data of the node pool. The script is run before the node is initialized. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
320
320
|
*
|
|
321
321
|
* @example
|
|
322
322
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -324,13 +324,13 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
324
324
|
preUserData?: string;
|
|
325
325
|
/**
|
|
326
326
|
* @remarks
|
|
327
|
-
* The container runtime. ACK supports the following runtimes
|
|
327
|
+
* The name of the container runtime. ACK supports the following container runtimes.
|
|
328
328
|
*
|
|
329
|
-
* - containerd:
|
|
329
|
+
* - containerd: recommended. It is supported by all cluster versions.
|
|
330
330
|
*
|
|
331
|
-
* - Sandboxed-Container.runv:
|
|
331
|
+
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 and earlier.
|
|
332
332
|
*
|
|
333
|
-
* - docker:
|
|
333
|
+
* - docker: no longer maintained. It is supported by clusters of Kubernetes 1.22 and earlier.
|
|
334
334
|
*
|
|
335
335
|
* @example
|
|
336
336
|
* containerd
|
|
@@ -338,7 +338,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
338
338
|
runtime?: string;
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
|
-
* The container runtime
|
|
341
|
+
* The version of the container runtime.
|
|
342
342
|
*
|
|
343
343
|
* @example
|
|
344
344
|
* 1.6.38
|
|
@@ -346,16 +346,16 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
346
346
|
runtimeVersion?: string;
|
|
347
347
|
/**
|
|
348
348
|
* @remarks
|
|
349
|
-
*
|
|
349
|
+
* The node taints. Taints work with tolerations to prevent pods from being scheduled to unsuitable nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
350
350
|
*/
|
|
351
351
|
taints?: Taint[];
|
|
352
352
|
/**
|
|
353
353
|
* @remarks
|
|
354
|
-
* Indicates whether
|
|
354
|
+
* Indicates whether the scaled-out nodes are unschedulable.
|
|
355
355
|
*
|
|
356
|
-
* - true:
|
|
356
|
+
* - true: The nodes are unschedulable.
|
|
357
357
|
*
|
|
358
|
-
* - false:
|
|
358
|
+
* - false: The nodes are schedulable.
|
|
359
359
|
*
|
|
360
360
|
* @example
|
|
361
361
|
* true
|
|
@@ -363,7 +363,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
363
363
|
unschedulable?: boolean;
|
|
364
364
|
/**
|
|
365
365
|
* @remarks
|
|
366
|
-
*
|
|
366
|
+
* The custom data of the node pool. The script is run after the node is initialized. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
367
367
|
*
|
|
368
368
|
* @example
|
|
369
369
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -425,7 +425,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
425
425
|
approvalRequired?: boolean;
|
|
426
426
|
/**
|
|
427
427
|
* @remarks
|
|
428
|
-
* The
|
|
428
|
+
* The ID of the auto repair policy
|
|
429
429
|
*
|
|
430
430
|
* @example
|
|
431
431
|
* r-xxxxxxxxxx
|
|
@@ -433,11 +433,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
433
433
|
autoRepairPolicyId?: string;
|
|
434
434
|
/**
|
|
435
435
|
* @remarks
|
|
436
|
-
* Indicates whether node restart
|
|
436
|
+
* Indicates whether to allow node restart. This parameter takes effect only if auto_repair is set to true.
|
|
437
437
|
*
|
|
438
|
-
* - `true`:
|
|
438
|
+
* - `true`: Nodes can be restarted.
|
|
439
439
|
*
|
|
440
|
-
* - `false`:
|
|
440
|
+
* - `false`: Nodes cannot be restarted.
|
|
441
441
|
*
|
|
442
442
|
* @example
|
|
443
443
|
* true
|
|
@@ -471,11 +471,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
471
471
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $dara.Model {
|
|
472
472
|
/**
|
|
473
473
|
* @remarks
|
|
474
|
-
* Indicates whether
|
|
474
|
+
* Indicates whether to allow automatic kubelet upgrades. This parameter takes effect only if auto_upgrade is set to true. Valid values:
|
|
475
475
|
*
|
|
476
|
-
* - `true`:
|
|
476
|
+
* - `true`: Automatic kubelet upgrades are allowed.
|
|
477
477
|
*
|
|
478
|
-
* - `false`:
|
|
478
|
+
* - `false`: Automatic kubelet upgrades are not allowed.
|
|
479
479
|
*
|
|
480
480
|
* @example
|
|
481
481
|
* true
|
|
@@ -505,7 +505,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolic
|
|
|
505
505
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $dara.Model {
|
|
506
506
|
/**
|
|
507
507
|
* @remarks
|
|
508
|
-
* The packages excluded during
|
|
508
|
+
* The packages that should be excluded during CVE fixing.
|
|
509
509
|
*
|
|
510
510
|
* @example
|
|
511
511
|
* kernel
|
|
@@ -513,11 +513,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
513
513
|
excludePackages?: string;
|
|
514
514
|
/**
|
|
515
515
|
* @remarks
|
|
516
|
-
* Indicates whether node restart
|
|
516
|
+
* Indicates whether to allow node restart. This parameter takes effect only if auto_vul_fix is set to true. Valid values:
|
|
517
517
|
*
|
|
518
|
-
* - `true`:
|
|
518
|
+
* - `true`: Nodes can be restarted.
|
|
519
519
|
*
|
|
520
|
-
* - `false`:
|
|
520
|
+
* - `false`: Nodes cannot be restarted.
|
|
521
521
|
*
|
|
522
522
|
* @example
|
|
523
523
|
* true
|
|
@@ -525,13 +525,13 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
525
525
|
restartNode?: boolean;
|
|
526
526
|
/**
|
|
527
527
|
* @remarks
|
|
528
|
-
* The
|
|
528
|
+
* The levels of CVEs that are allowed to be automatically fixed. The levels are separated by commas.
|
|
529
529
|
*
|
|
530
|
-
* - `asap`:
|
|
530
|
+
* - `asap`: high
|
|
531
531
|
*
|
|
532
|
-
* - `later`:
|
|
532
|
+
* - `later`: medium
|
|
533
533
|
*
|
|
534
|
-
* - `nntf`:
|
|
534
|
+
* - `nntf`: low
|
|
535
535
|
*
|
|
536
536
|
* @example
|
|
537
537
|
* asap,nntf
|
|
@@ -565,11 +565,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
565
565
|
export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $dara.Model {
|
|
566
566
|
/**
|
|
567
567
|
* @remarks
|
|
568
|
-
* Indicates whether
|
|
568
|
+
* Indicates whether to enable automatic upgrades. Valid values:
|
|
569
569
|
*
|
|
570
|
-
* - `true`:
|
|
570
|
+
* - `true`: Automatic upgrades are enabled.
|
|
571
571
|
*
|
|
572
|
-
* - `false`:
|
|
572
|
+
* - `false`: Automatic upgrades are disabled.
|
|
573
573
|
*
|
|
574
574
|
* @example
|
|
575
575
|
* true
|
|
@@ -577,7 +577,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
577
577
|
autoUpgrade?: boolean;
|
|
578
578
|
/**
|
|
579
579
|
* @remarks
|
|
580
|
-
* The maximum number of unavailable nodes. Valid values:
|
|
580
|
+
* The maximum number of unavailable nodes. Valid values: 1 to 1000.
|
|
581
581
|
*
|
|
582
582
|
* Default value: 1.
|
|
583
583
|
*
|
|
@@ -587,7 +587,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
587
587
|
maxUnavailable?: number;
|
|
588
588
|
/**
|
|
589
589
|
* @remarks
|
|
590
|
-
* The number of extra nodes.
|
|
590
|
+
* The number of extra nodes. You can specify only one of surge and surge_percentage.
|
|
591
591
|
*
|
|
592
592
|
* @example
|
|
593
593
|
* 5
|
|
@@ -595,9 +595,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
595
595
|
surge?: number;
|
|
596
596
|
/**
|
|
597
597
|
* @remarks
|
|
598
|
-
* The percentage of extra nodes.
|
|
598
|
+
* The percentage of extra nodes. You can specify only one of surge and surge_percentage.
|
|
599
599
|
*
|
|
600
|
-
*
|
|
600
|
+
* The number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if you set the percentage of extra nodes to 50% and the number of existing nodes is 6, the number of extra nodes is 3 (50% × 6).
|
|
601
601
|
*
|
|
602
602
|
* @example
|
|
603
603
|
* 50
|
|
@@ -634,11 +634,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
634
634
|
autoFaultDiagnosis?: boolean;
|
|
635
635
|
/**
|
|
636
636
|
* @remarks
|
|
637
|
-
*
|
|
637
|
+
* Indicates whether to enable auto repair. This parameter takes effect only if enable is set to true.
|
|
638
638
|
*
|
|
639
|
-
* - `true`:
|
|
639
|
+
* - `true`: Auto repair is enabled.
|
|
640
640
|
*
|
|
641
|
-
* - `false`:
|
|
641
|
+
* - `false`: Auto repair is disabled.
|
|
642
642
|
*
|
|
643
643
|
* @example
|
|
644
644
|
* true
|
|
@@ -646,16 +646,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
646
646
|
autoRepair?: boolean;
|
|
647
647
|
/**
|
|
648
648
|
* @remarks
|
|
649
|
-
*
|
|
649
|
+
* The policy for automatic node repair.
|
|
650
650
|
*/
|
|
651
651
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
652
652
|
/**
|
|
653
653
|
* @remarks
|
|
654
|
-
* Indicates whether
|
|
654
|
+
* Indicates whether to enable automatic node upgrades. This parameter takes effect only if enable is set to true.
|
|
655
655
|
*
|
|
656
|
-
* - `true`:
|
|
656
|
+
* - `true`: Automatic upgrades are enabled.
|
|
657
657
|
*
|
|
658
|
-
* - `false`:
|
|
658
|
+
* - `false`: Automatic upgrades are disabled.
|
|
659
659
|
*
|
|
660
660
|
* @example
|
|
661
661
|
* true
|
|
@@ -663,16 +663,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
663
663
|
autoUpgrade?: boolean;
|
|
664
664
|
/**
|
|
665
665
|
* @remarks
|
|
666
|
-
*
|
|
666
|
+
* The policy for automatic upgrades.
|
|
667
667
|
*/
|
|
668
668
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
669
669
|
/**
|
|
670
670
|
* @remarks
|
|
671
|
-
* Indicates whether
|
|
671
|
+
* Indicates whether to automatically fix CVEs. This parameter takes effect only if enable is set to true.
|
|
672
672
|
*
|
|
673
|
-
* - `true`:
|
|
673
|
+
* - `true`: CVEs are automatically fixed.
|
|
674
674
|
*
|
|
675
|
-
* - `false`:
|
|
675
|
+
* - `false`: CVEs are not automatically fixed.
|
|
676
676
|
*
|
|
677
677
|
* @example
|
|
678
678
|
* true
|
|
@@ -680,16 +680,16 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
680
680
|
autoVulFix?: boolean;
|
|
681
681
|
/**
|
|
682
682
|
* @remarks
|
|
683
|
-
*
|
|
683
|
+
* The policy for automatically fixing CVEs.
|
|
684
684
|
*/
|
|
685
685
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
686
686
|
/**
|
|
687
687
|
* @remarks
|
|
688
|
-
* Indicates whether the managed node pool feature
|
|
688
|
+
* Indicates whether to enable the managed node pool feature. Valid values:
|
|
689
689
|
*
|
|
690
|
-
* - `true`: Enables the managed node pool.
|
|
690
|
+
* - `true`: Enables the managed node pool feature.
|
|
691
691
|
*
|
|
692
|
-
* - `false`: Disables the managed node pool. Other
|
|
692
|
+
* - `false`: Disables the managed node pool feature. Other parameters in this section take effect only if this parameter is set to true.
|
|
693
693
|
*
|
|
694
694
|
* @example
|
|
695
695
|
* true
|
|
@@ -697,7 +697,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
697
697
|
enable?: boolean;
|
|
698
698
|
/**
|
|
699
699
|
* @remarks
|
|
700
|
-
*
|
|
700
|
+
* The automatic upgrade configurations. This parameter takes effect only if enable is set to true.
|
|
701
701
|
*/
|
|
702
702
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
703
703
|
static names(): { [key: string]: string } {
|
|
@@ -752,7 +752,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
752
752
|
export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig extends $dara.Model {
|
|
753
753
|
/**
|
|
754
754
|
* @remarks
|
|
755
|
-
*
|
|
755
|
+
* The custom configurations of the node component.
|
|
756
756
|
*/
|
|
757
757
|
customConfig?: { [key: string]: string };
|
|
758
758
|
static names(): { [key: string]: string } {
|
|
@@ -782,12 +782,12 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig exten
|
|
|
782
782
|
export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $dara.Model {
|
|
783
783
|
/**
|
|
784
784
|
* @remarks
|
|
785
|
-
*
|
|
785
|
+
* The configurations of the node component.
|
|
786
786
|
*/
|
|
787
787
|
config?: DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig;
|
|
788
788
|
/**
|
|
789
789
|
* @remarks
|
|
790
|
-
* The node component
|
|
790
|
+
* The name of the node component.
|
|
791
791
|
*
|
|
792
792
|
* @example
|
|
793
793
|
* kubelet
|
|
@@ -795,7 +795,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $da
|
|
|
795
795
|
name?: string;
|
|
796
796
|
/**
|
|
797
797
|
* @remarks
|
|
798
|
-
* The node component
|
|
798
|
+
* The version of the node component.
|
|
799
799
|
*
|
|
800
800
|
* @example
|
|
801
801
|
* 1.33.3-aliyun.1
|
|
@@ -832,7 +832,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $da
|
|
|
832
832
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig extends $dara.Model {
|
|
833
833
|
/**
|
|
834
834
|
* @remarks
|
|
835
|
-
* Hugepage
|
|
835
|
+
* The Hugepage configurations.
|
|
836
836
|
*/
|
|
837
837
|
hugepage?: Hugepage;
|
|
838
838
|
static names(): { [key: string]: string } {
|
|
@@ -862,12 +862,12 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig ext
|
|
|
862
862
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $dara.Model {
|
|
863
863
|
/**
|
|
864
864
|
* @remarks
|
|
865
|
-
* Kubelet parameter settings.
|
|
865
|
+
* The Kubelet parameter settings.
|
|
866
866
|
*/
|
|
867
867
|
kubeletConfiguration?: KubeletConfig;
|
|
868
868
|
/**
|
|
869
869
|
* @remarks
|
|
870
|
-
*
|
|
870
|
+
* The node OS configurations.
|
|
871
871
|
*/
|
|
872
872
|
nodeOsConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig;
|
|
873
873
|
static names(): { [key: string]: string } {
|
|
@@ -910,11 +910,11 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
910
910
|
created?: string;
|
|
911
911
|
/**
|
|
912
912
|
* @remarks
|
|
913
|
-
* Indicates whether
|
|
913
|
+
* Indicates whether the node pool is the default node pool. A cluster usually has only one default node pool. Valid values:
|
|
914
914
|
*
|
|
915
|
-
* - `true`:
|
|
915
|
+
* - `true`: the default node pool.
|
|
916
916
|
*
|
|
917
|
-
* - `false`:
|
|
917
|
+
* - `false`: not the default node pool.
|
|
918
918
|
*
|
|
919
919
|
* @example
|
|
920
920
|
* true
|
|
@@ -922,7 +922,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
922
922
|
isDefault?: boolean;
|
|
923
923
|
/**
|
|
924
924
|
* @remarks
|
|
925
|
-
* The node pool
|
|
925
|
+
* The name of the node pool.
|
|
926
926
|
*
|
|
927
927
|
* @example
|
|
928
928
|
* default-nodepool
|
|
@@ -954,13 +954,13 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
954
954
|
resourceGroupId?: string;
|
|
955
955
|
/**
|
|
956
956
|
* @remarks
|
|
957
|
-
* The node pool
|
|
957
|
+
* The type of the node pool.
|
|
958
958
|
*
|
|
959
|
-
* - `ess`:
|
|
959
|
+
* - `ess`: a regular node pool. It includes the features of managed node pools and automatic scaling.
|
|
960
960
|
*
|
|
961
|
-
* - `edge`:
|
|
961
|
+
* - `edge`: an edge node pool.
|
|
962
962
|
*
|
|
963
|
-
* - `lingjun`: Lingjun node pool.
|
|
963
|
+
* - `lingjun`: a Lingjun node pool.
|
|
964
964
|
*
|
|
965
965
|
* @example
|
|
966
966
|
* ess
|
|
@@ -1020,13 +1020,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOpt
|
|
|
1020
1020
|
id?: string;
|
|
1021
1021
|
/**
|
|
1022
1022
|
* @remarks
|
|
1023
|
-
* The private node pool
|
|
1023
|
+
* The type of the private node pool. This parameter specifies the capacity option for the private pool that is used to start instances. After an elastic assurance service or a capacity reservation service takes effect, a private pool is generated. You can select the private pool to start instances. Valid values:
|
|
1024
1024
|
*
|
|
1025
|
-
* - `Open`:
|
|
1025
|
+
* - `Open`: The system automatically matches the capacity of an open private pool. If no matching private pool is found, the system uses public resources.
|
|
1026
1026
|
*
|
|
1027
|
-
* - `Target`:
|
|
1027
|
+
* - `Target`: The system uses the capacity of a specified private pool to start the instance. If the capacity of the specified private pool is unavailable, the instance fails to start.
|
|
1028
1028
|
*
|
|
1029
|
-
* - `None`:
|
|
1029
|
+
* - `None`: The system does not use the capacity of a private pool.
|
|
1030
1030
|
*
|
|
1031
1031
|
* @example
|
|
1032
1032
|
* Open
|
|
@@ -1063,10 +1063,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOp
|
|
|
1063
1063
|
privatePoolIds?: string[];
|
|
1064
1064
|
/**
|
|
1065
1065
|
* @remarks
|
|
1066
|
-
* The resource pool
|
|
1067
|
-
* PrivatePoolFirst: Private pool first.
|
|
1068
|
-
* PrivatePoolOnly: Private pool only.
|
|
1069
|
-
* None: Do not use resource pool strategy.
|
|
1066
|
+
* The resource pool policy used when creating instances. Valid values: PrivatePoolFirst: The private pool is used first. PrivatePoolOnly: Only the private pool is used. None: No resource pool policy is used.
|
|
1070
1067
|
*
|
|
1071
1068
|
* @example
|
|
1072
1069
|
* PrivatePoolFirst
|
|
@@ -1109,7 +1106,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
1109
1106
|
instanceType?: string;
|
|
1110
1107
|
/**
|
|
1111
1108
|
* @remarks
|
|
1112
|
-
* The
|
|
1109
|
+
* The price of a single instance.
|
|
1113
1110
|
*
|
|
1114
1111
|
* <props="china">
|
|
1115
1112
|
*
|
|
@@ -1151,11 +1148,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
1151
1148
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara.Model {
|
|
1152
1149
|
/**
|
|
1153
1150
|
* @remarks
|
|
1154
|
-
* Indicates whether auto-renewal
|
|
1151
|
+
* Indicates whether to enable auto-renewal for the nodes. This parameter takes effect only if instance_charge_type is set to PrePaid. Valid values:
|
|
1155
1152
|
*
|
|
1156
|
-
* - `true`:
|
|
1153
|
+
* - `true`: Auto-renewal is enabled.
|
|
1157
1154
|
*
|
|
1158
|
-
* - `false`:
|
|
1155
|
+
* - `false`: Auto-renewal is disabled.
|
|
1159
1156
|
*
|
|
1160
1157
|
* @example
|
|
1161
1158
|
* false
|
|
@@ -1163,11 +1160,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1163
1160
|
autoRenew?: boolean;
|
|
1164
1161
|
/**
|
|
1165
1162
|
* @remarks
|
|
1166
|
-
* The auto-renewal
|
|
1163
|
+
* The duration of each auto-renewal. Valid values:
|
|
1167
1164
|
*
|
|
1168
|
-
* - If PeriodUnit
|
|
1165
|
+
* - If PeriodUnit is set to Week: 1, 2, and 3.
|
|
1169
1166
|
*
|
|
1170
|
-
* - If PeriodUnit
|
|
1167
|
+
* - If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1171
1168
|
*
|
|
1172
1169
|
* @example
|
|
1173
1170
|
* 1
|
|
@@ -1175,7 +1172,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1175
1172
|
autoRenewPeriod?: number;
|
|
1176
1173
|
/**
|
|
1177
1174
|
* @remarks
|
|
1178
|
-
* [
|
|
1175
|
+
* [This parameter is deprecated] Use the security_hardening_os parameter instead.
|
|
1179
1176
|
*
|
|
1180
1177
|
* @example
|
|
1181
1178
|
* false
|
|
@@ -1185,11 +1182,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1185
1182
|
cisEnabled?: boolean;
|
|
1186
1183
|
/**
|
|
1187
1184
|
* @remarks
|
|
1188
|
-
*
|
|
1185
|
+
* If multi_az_policy is set to COST_OPTIMIZED, this parameter specifies whether to allow the system to automatically create on-demand instances to meet the required number of ECS instances when it is not possible to create a sufficient number of spot instances due to price or stock issues. Valid values:
|
|
1189
1186
|
*
|
|
1190
|
-
* - `true`: Allows
|
|
1187
|
+
* - `true`: Allows the system to automatically create on-demand instances to meet the required number of ECS instances.
|
|
1191
1188
|
*
|
|
1192
|
-
* - `false`:
|
|
1189
|
+
* - `false`: Does not allow the system to automatically create on-demand instances to meet the required number of ECS instances.
|
|
1193
1190
|
*
|
|
1194
1191
|
* @example
|
|
1195
1192
|
* true
|
|
@@ -1197,7 +1194,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1197
1194
|
compensateWithOnDemand?: boolean;
|
|
1198
1195
|
/**
|
|
1199
1196
|
* @remarks
|
|
1200
|
-
*
|
|
1197
|
+
* The combination of the configurations, such as the type and size, of the data disks of the nodes.
|
|
1201
1198
|
*/
|
|
1202
1199
|
dataDisks?: DataDisk[];
|
|
1203
1200
|
/**
|
|
@@ -1210,7 +1207,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1210
1207
|
deploymentsetId?: string;
|
|
1211
1208
|
/**
|
|
1212
1209
|
* @remarks
|
|
1213
|
-
* The
|
|
1210
|
+
* The expected number of nodes in the node pool.
|
|
1214
1211
|
*
|
|
1215
1212
|
* @example
|
|
1216
1213
|
* 2
|
|
@@ -1218,7 +1215,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1218
1215
|
desiredSize?: number;
|
|
1219
1216
|
/**
|
|
1220
1217
|
* @remarks
|
|
1221
|
-
*
|
|
1218
|
+
* The configurations for block device initialization.
|
|
1222
1219
|
*/
|
|
1223
1220
|
diskInit?: DiskInit[];
|
|
1224
1221
|
/**
|
|
@@ -1259,11 +1256,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1259
1256
|
imageType?: string;
|
|
1260
1257
|
/**
|
|
1261
1258
|
* @remarks
|
|
1262
|
-
* The billing method
|
|
1259
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
1263
1260
|
*
|
|
1264
|
-
* - `PrePaid`:
|
|
1261
|
+
* - `PrePaid`: subscription.
|
|
1265
1262
|
*
|
|
1266
|
-
* - `PostPaid`:
|
|
1263
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1267
1264
|
*
|
|
1268
1265
|
* @example
|
|
1269
1266
|
* PostPaid
|
|
@@ -1271,12 +1268,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1271
1268
|
instanceChargeType?: string;
|
|
1272
1269
|
/**
|
|
1273
1270
|
* @remarks
|
|
1274
|
-
*
|
|
1271
|
+
* The configurations for accessing the metadata of ECS instances.
|
|
1275
1272
|
*/
|
|
1276
1273
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1277
1274
|
/**
|
|
1278
1275
|
* @remarks
|
|
1279
|
-
*
|
|
1276
|
+
* The instance attribute configurations.
|
|
1280
1277
|
*/
|
|
1281
1278
|
instancePatterns?: InstancePatterns[];
|
|
1282
1279
|
/**
|
|
@@ -1286,11 +1283,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1286
1283
|
instanceTypes?: string[];
|
|
1287
1284
|
/**
|
|
1288
1285
|
* @remarks
|
|
1289
|
-
* The billing method for public
|
|
1286
|
+
* The billing method for the public IP address of the nodes.
|
|
1290
1287
|
*
|
|
1291
|
-
* - PayByBandwidth:
|
|
1288
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1292
1289
|
*
|
|
1293
|
-
* - PayByTraffic:
|
|
1290
|
+
* - PayByTraffic: pay-by-traffic.
|
|
1294
1291
|
*
|
|
1295
1292
|
* @example
|
|
1296
1293
|
* PayByBandwidth
|
|
@@ -1298,7 +1295,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1298
1295
|
internetChargeType?: string;
|
|
1299
1296
|
/**
|
|
1300
1297
|
* @remarks
|
|
1301
|
-
* The maximum outbound bandwidth
|
|
1298
|
+
* The maximum outbound public bandwidth of the nodes. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1302
1299
|
*
|
|
1303
1300
|
* @example
|
|
1304
1301
|
* 10
|
|
@@ -1306,7 +1303,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1306
1303
|
internetMaxBandwidthOut?: number;
|
|
1307
1304
|
/**
|
|
1308
1305
|
* @remarks
|
|
1309
|
-
* The key pair
|
|
1306
|
+
* The name of the key pair. You must specify either this parameter or login_password. When the node pool is a managed node pool, only key_pair is supported.
|
|
1310
1307
|
*
|
|
1311
1308
|
* @example
|
|
1312
1309
|
* pro-nodepool
|
|
@@ -1314,11 +1311,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1314
1311
|
keyPair?: string;
|
|
1315
1312
|
/**
|
|
1316
1313
|
* @remarks
|
|
1317
|
-
* Indicates whether ECS instances
|
|
1314
|
+
* Indicates whether to log on to the created ECS instances as a non-root user.
|
|
1318
1315
|
*
|
|
1319
|
-
* - true:
|
|
1316
|
+
* - true: Logs on as a non-root user (ecs-user).
|
|
1320
1317
|
*
|
|
1321
|
-
* - false:
|
|
1318
|
+
* - false: Logs on as the root user.
|
|
1322
1319
|
*
|
|
1323
1320
|
* @example
|
|
1324
1321
|
* true
|
|
@@ -1326,9 +1323,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1326
1323
|
loginAsNonRoot?: boolean;
|
|
1327
1324
|
/**
|
|
1328
1325
|
* @remarks
|
|
1329
|
-
* The SSH logon password.
|
|
1326
|
+
* The SSH logon password. You must specify either this parameter or key_pair. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1330
1327
|
*
|
|
1331
|
-
* For security reasons, the
|
|
1328
|
+
* For security reasons, the password is encrypted in the query result.
|
|
1332
1329
|
*
|
|
1333
1330
|
* @example
|
|
1334
1331
|
* ********
|
|
@@ -1336,15 +1333,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1336
1333
|
loginPassword?: string;
|
|
1337
1334
|
/**
|
|
1338
1335
|
* @remarks
|
|
1339
|
-
* The scaling policy for multi-zone scaling
|
|
1336
|
+
* The scaling policy for the ECS instances in the multi-zone scaling group. Valid values:
|
|
1340
1337
|
*
|
|
1341
|
-
* - `PRIORITY`: Scales based on the
|
|
1338
|
+
* - `PRIORITY`: Scales instances based on the vSwitches that you define (VSwitchIds.N). If the ECS instances cannot be created in the zone of the vSwitch with a higher priority, the system automatically uses the vSwitch with the next priority to create the instances.
|
|
1342
1339
|
*
|
|
1343
|
-
* - `COST_OPTIMIZED`:
|
|
1340
|
+
* - `COST_OPTIMIZED`: Attempts to create instances at the lowest vCPU unit price. If multiple instance types are specified for the scaling configuration and the preemption policy is configured, the system preferentially creates the corresponding spot instances. You can also use the `CompensateWithOnDemand` parameter to specify whether to automatically try to create on-demand instances when spot instances cannot be created due to reasons such as stock shortages.
|
|
1344
1341
|
*
|
|
1345
|
-
* > `COST_OPTIMIZED` takes effect only when multiple instance types or spot instances are
|
|
1342
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are specified or spot instances are used for the scaling configuration.
|
|
1346
1343
|
*
|
|
1347
|
-
* - `BALANCE`:
|
|
1344
|
+
* - `BALANCE`: Evenly distributes ECS instances across the specified zones of the scaling group. If the distribution of ECS instances becomes unbalanced between zones due to stock shortages, you can call the API RebalanceInstances operation to balance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) .
|
|
1348
1345
|
*
|
|
1349
1346
|
* Default value: `PRIORITY`.
|
|
1350
1347
|
*
|
|
@@ -1354,7 +1351,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1354
1351
|
multiAzPolicy?: string;
|
|
1355
1352
|
/**
|
|
1356
1353
|
* @remarks
|
|
1357
|
-
* The minimum number of
|
|
1354
|
+
* The minimum number of on-demand instances that the scaling group must contain. Valid values: 0 to 1000. If the number of on-demand instances is less than this value, on-demand instances are preferentially created.
|
|
1358
1355
|
*
|
|
1359
1356
|
* @example
|
|
1360
1357
|
* 0
|
|
@@ -1362,7 +1359,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1362
1359
|
onDemandBaseCapacity?: number;
|
|
1363
1360
|
/**
|
|
1364
1361
|
* @remarks
|
|
1365
|
-
* The percentage of
|
|
1362
|
+
* The percentage of on-demand instances among the instances that exceed the minimum number of on-demand instances (on_demand_base_capacity). Valid values: 0 to 100.
|
|
1366
1363
|
*
|
|
1367
1364
|
* @example
|
|
1368
1365
|
* 20
|
|
@@ -1370,11 +1367,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1370
1367
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1371
1368
|
/**
|
|
1372
1369
|
* @remarks
|
|
1373
|
-
* The subscription duration
|
|
1370
|
+
* The subscription duration of the nodes. This parameter is required and takes effect only if instance_charge_type is set to PrePaid.
|
|
1374
1371
|
*
|
|
1375
|
-
* - If
|
|
1372
|
+
* - If period_unit is set to Week, the valid values of period are 1, 2, 3, and 4.
|
|
1376
1373
|
*
|
|
1377
|
-
* - If
|
|
1374
|
+
* - If period_unit is set to Month, the valid values of period are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1378
1375
|
*
|
|
1379
1376
|
* @example
|
|
1380
1377
|
* 0
|
|
@@ -1382,11 +1379,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1382
1379
|
period?: number;
|
|
1383
1380
|
/**
|
|
1384
1381
|
* @remarks
|
|
1385
|
-
* The billing cycle
|
|
1382
|
+
* The billing cycle of the nodes. This parameter is required if instance_charge_type is set to PrePaid.
|
|
1386
1383
|
*
|
|
1387
|
-
* - `Month`:
|
|
1384
|
+
* - `Month`: The billing cycle is measured in months.
|
|
1388
1385
|
*
|
|
1389
|
-
* - `Week`:
|
|
1386
|
+
* - `Week`: The billing cycle is measured in weeks.
|
|
1390
1387
|
*
|
|
1391
1388
|
* @example
|
|
1392
1389
|
* Month
|
|
@@ -1410,12 +1407,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1410
1407
|
platform?: string;
|
|
1411
1408
|
/**
|
|
1412
1409
|
* @remarks
|
|
1413
|
-
*
|
|
1410
|
+
* The private node pool configurations.
|
|
1414
1411
|
*/
|
|
1415
1412
|
privatePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions;
|
|
1416
1413
|
/**
|
|
1417
1414
|
* @remarks
|
|
1418
|
-
* [
|
|
1415
|
+
* [This parameter is deprecated] Use ram_role_name instead.
|
|
1419
1416
|
*
|
|
1420
1417
|
* @example
|
|
1421
1418
|
* KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****
|
|
@@ -1423,7 +1420,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1423
1420
|
ramPolicy?: string;
|
|
1424
1421
|
/**
|
|
1425
1422
|
* @remarks
|
|
1426
|
-
* The
|
|
1423
|
+
* The name of the worker RAM role.
|
|
1427
1424
|
*
|
|
1428
1425
|
* @example
|
|
1429
1426
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -1431,17 +1428,17 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1431
1428
|
ramRoleName?: string;
|
|
1432
1429
|
/**
|
|
1433
1430
|
* @remarks
|
|
1434
|
-
* If RDS instances
|
|
1431
|
+
* If you specify a list of RDS instances, the ECS nodes of the cluster are automatically added to the RDS instance whitelist.
|
|
1435
1432
|
*/
|
|
1436
1433
|
rdsInstances?: string[];
|
|
1437
1434
|
/**
|
|
1438
1435
|
* @remarks
|
|
1439
|
-
* The resource pool and
|
|
1436
|
+
* The resource pool and resource pool policy used when creating instances.
|
|
1440
1437
|
*/
|
|
1441
1438
|
resourcePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOptions;
|
|
1442
1439
|
/**
|
|
1443
1440
|
* @remarks
|
|
1444
|
-
* The scaling group
|
|
1441
|
+
* The ID of the scaling group.
|
|
1445
1442
|
*
|
|
1446
1443
|
* @example
|
|
1447
1444
|
* asg-2zeieod8giqmov7z****
|
|
@@ -1451,9 +1448,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1451
1448
|
* @remarks
|
|
1452
1449
|
* The scaling group mode. Valid values:
|
|
1453
1450
|
*
|
|
1454
|
-
* - `release`:
|
|
1451
|
+
* - `release`: standard mode. Instances are created and released based on the resource usage.
|
|
1455
1452
|
*
|
|
1456
|
-
* - `recycle`:
|
|
1453
|
+
* - `recycle`: fast mode. Instances are created, stopped, and started to accelerate scaling. Compute resources are not billed when instances are stopped, but storage resources are. This does not apply to instances with local disks.
|
|
1457
1454
|
*
|
|
1458
1455
|
* @example
|
|
1459
1456
|
* release
|
|
@@ -1461,7 +1458,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1461
1458
|
scalingPolicy?: string;
|
|
1462
1459
|
/**
|
|
1463
1460
|
* @remarks
|
|
1464
|
-
* The security group ID
|
|
1461
|
+
* The security group ID of the node pool. If the node pool is associated with multiple security groups, this is the first value in security_group_ids.
|
|
1465
1462
|
*
|
|
1466
1463
|
* @example
|
|
1467
1464
|
* sg-2ze60ockeekspl3d****
|
|
@@ -1488,7 +1485,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1488
1485
|
securityHardeningOs?: boolean;
|
|
1489
1486
|
/**
|
|
1490
1487
|
* @remarks
|
|
1491
|
-
* Indicates whether
|
|
1488
|
+
* Indicates whether to enable classified protection compliance. You can enable classified protection compliance for nodes only when you select Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 as the OS image. Alibaba Cloud provides baseline check standards and scanning programs for MLPS 2.0 Level 3-compliant Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images.
|
|
1492
1489
|
*
|
|
1493
1490
|
* @example
|
|
1494
1491
|
* false
|
|
@@ -1496,7 +1493,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1496
1493
|
socEnabled?: boolean;
|
|
1497
1494
|
/**
|
|
1498
1495
|
* @remarks
|
|
1499
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1496
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types that have the lowest costs in a balanced manner. Valid values: 1 to 10.
|
|
1500
1497
|
*
|
|
1501
1498
|
* @example
|
|
1502
1499
|
* 5
|
|
@@ -1504,11 +1501,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1504
1501
|
spotInstancePools?: number;
|
|
1505
1502
|
/**
|
|
1506
1503
|
* @remarks
|
|
1507
|
-
* Indicates whether to
|
|
1504
|
+
* Indicates whether to enable the feature of supplementing spot instances. If this feature is enabled, the scaling group attempts to create a new instance to replace a spot instance that is reclaimed. Valid values:
|
|
1508
1505
|
*
|
|
1509
|
-
* - `true`: Enables
|
|
1506
|
+
* - `true`: Enables the feature of supplementing spot instances.
|
|
1510
1507
|
*
|
|
1511
|
-
* - `false`: Disables
|
|
1508
|
+
* - `false`: Disables the feature of supplementing spot instances.
|
|
1512
1509
|
*
|
|
1513
1510
|
* @example
|
|
1514
1511
|
* false
|
|
@@ -1516,18 +1513,18 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1516
1513
|
spotInstanceRemedy?: boolean;
|
|
1517
1514
|
/**
|
|
1518
1515
|
* @remarks
|
|
1519
|
-
*
|
|
1516
|
+
* The configurations of the price range for spot instances.
|
|
1520
1517
|
*/
|
|
1521
1518
|
spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
|
|
1522
1519
|
/**
|
|
1523
1520
|
* @remarks
|
|
1524
|
-
* The spot
|
|
1521
|
+
* The preemption policy for the spot instances. Valid values:
|
|
1525
1522
|
*
|
|
1526
|
-
* - NoSpot:
|
|
1523
|
+
* - NoSpot: The instances are not spot instances.
|
|
1527
1524
|
*
|
|
1528
|
-
* - SpotWithPriceLimit: Sets
|
|
1525
|
+
* - SpotWithPriceLimit: Sets the maximum price for a spot instance.
|
|
1529
1526
|
*
|
|
1530
|
-
* - SpotAsPriceGo:
|
|
1527
|
+
* - SpotAsPriceGo: The system automatically places bids based on the market price.
|
|
1531
1528
|
*
|
|
1532
1529
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1533
1530
|
*
|
|
@@ -1537,13 +1534,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1537
1534
|
spotStrategy?: string;
|
|
1538
1535
|
/**
|
|
1539
1536
|
* @remarks
|
|
1540
|
-
* Indicates whether
|
|
1537
|
+
* Indicates whether to enable performance burst for the system disk of the nodes. Valid values:
|
|
1541
1538
|
*
|
|
1542
|
-
* - true:
|
|
1539
|
+
* - true: Enables performance burst. If you enable this feature, the cloud disk can temporarily improve its performance to handle sudden data read and write pressure when the business is unstable.
|
|
1543
1540
|
*
|
|
1544
|
-
* - false:
|
|
1541
|
+
* - false: Disables performance burst.
|
|
1545
1542
|
*
|
|
1546
|
-
* This parameter
|
|
1543
|
+
* This parameter can be set only when system_disk_category is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1547
1544
|
*
|
|
1548
1545
|
* @example
|
|
1549
1546
|
* true
|
|
@@ -1551,22 +1548,22 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1551
1548
|
systemDiskBurstingEnabled?: boolean;
|
|
1552
1549
|
/**
|
|
1553
1550
|
* @remarks
|
|
1554
|
-
*
|
|
1551
|
+
* The types of system disks. When a disk of a high-priority type is not available, the system automatically tries the next-priority disk type to create the system disk.
|
|
1555
1552
|
*/
|
|
1556
1553
|
systemDiskCategories?: string[];
|
|
1557
1554
|
/**
|
|
1558
1555
|
* @remarks
|
|
1559
|
-
* The system disk
|
|
1556
|
+
* The type of the system disk of the nodes. Valid values:
|
|
1560
1557
|
*
|
|
1561
|
-
* - `cloud_efficiency`:
|
|
1558
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1562
1559
|
*
|
|
1563
|
-
* - `cloud_ssd`:
|
|
1560
|
+
* - `cloud_ssd`: standard SSD.
|
|
1564
1561
|
*
|
|
1565
|
-
* - `cloud_essd`: ESSD.
|
|
1562
|
+
* - `cloud_essd`: Enhanced SSD (ESSD).
|
|
1566
1563
|
*
|
|
1567
|
-
* - `cloud_auto`: ESSD AutoPL.
|
|
1564
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1568
1565
|
*
|
|
1569
|
-
* - `cloud_essd_entry`: ESSD Entry.
|
|
1566
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1570
1567
|
*
|
|
1571
1568
|
* @example
|
|
1572
1569
|
* cloud_efficiency
|
|
@@ -1574,7 +1571,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1574
1571
|
systemDiskCategory?: string;
|
|
1575
1572
|
/**
|
|
1576
1573
|
* @remarks
|
|
1577
|
-
* The encryption algorithm used for the system disk. Valid value: aes-256.
|
|
1574
|
+
* The encryption algorithm that is used for the system disk. Valid value: aes-256.
|
|
1578
1575
|
*
|
|
1579
1576
|
* @example
|
|
1580
1577
|
* aes-256
|
|
@@ -1582,11 +1579,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1582
1579
|
systemDiskEncryptAlgorithm?: string;
|
|
1583
1580
|
/**
|
|
1584
1581
|
* @remarks
|
|
1585
|
-
* Indicates whether the system disk
|
|
1582
|
+
* Indicates whether to encrypt the system disk. Valid values:
|
|
1586
1583
|
*
|
|
1587
|
-
* - `true`:
|
|
1584
|
+
* - `true`: Encrypts the system disk.
|
|
1588
1585
|
*
|
|
1589
|
-
* - `false`:
|
|
1586
|
+
* - `false`: Does not encrypt the system disk.
|
|
1590
1587
|
*
|
|
1591
1588
|
* @example
|
|
1592
1589
|
* false
|
|
@@ -1594,7 +1591,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1594
1591
|
systemDiskEncrypted?: boolean;
|
|
1595
1592
|
/**
|
|
1596
1593
|
* @remarks
|
|
1597
|
-
* The KMS key
|
|
1594
|
+
* The ID of the KMS key that is used to encrypt the system disk.
|
|
1598
1595
|
*
|
|
1599
1596
|
* @example
|
|
1600
1597
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1602,15 +1599,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1602
1599
|
systemDiskKmsKeyId?: string;
|
|
1603
1600
|
/**
|
|
1604
1601
|
* @remarks
|
|
1605
|
-
* The system disk
|
|
1602
|
+
* The performance level of the system disk of the nodes. This parameter is valid only for ESSDs. The disk performance level is related to the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1606
1603
|
*
|
|
1607
|
-
* - PL0:
|
|
1604
|
+
* - PL0: The I/O performance is moderate and the read/write latency is stable.
|
|
1608
1605
|
*
|
|
1609
|
-
* - PL1:
|
|
1606
|
+
* - PL1: The I/O performance is moderate and the read/write latency is stable.
|
|
1610
1607
|
*
|
|
1611
|
-
* - PL2:
|
|
1608
|
+
* - PL2: The I/O performance is high and the read/write latency is stable.
|
|
1612
1609
|
*
|
|
1613
|
-
* - PL3:
|
|
1610
|
+
* - PL3: The I/O performance is very high and the read/write latency is very stable.
|
|
1614
1611
|
*
|
|
1615
1612
|
* @example
|
|
1616
1613
|
* PL1
|
|
@@ -1618,11 +1615,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1618
1615
|
systemDiskPerformanceLevel?: string;
|
|
1619
1616
|
/**
|
|
1620
1617
|
* @remarks
|
|
1621
|
-
* The
|
|
1618
|
+
* The pre-configured read and write IOPS of the system disk of the nodes.
|
|
1622
1619
|
*
|
|
1623
|
-
* Valid values: 0 to min{50,000,
|
|
1620
|
+
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1624
1621
|
*
|
|
1625
|
-
* This parameter
|
|
1622
|
+
* This parameter can be set only when system_disk_category is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1626
1623
|
*
|
|
1627
1624
|
* @example
|
|
1628
1625
|
* 1000
|
|
@@ -1630,9 +1627,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1630
1627
|
systemDiskProvisionedIops?: number;
|
|
1631
1628
|
/**
|
|
1632
1629
|
* @remarks
|
|
1633
|
-
* The system disk
|
|
1630
|
+
* The size of the system disk of the nodes. Unit: GiB.
|
|
1634
1631
|
*
|
|
1635
|
-
* Valid values:
|
|
1632
|
+
* Valid values: 20 to 2048.
|
|
1636
1633
|
*
|
|
1637
1634
|
* @example
|
|
1638
1635
|
* 120
|
|
@@ -1640,7 +1637,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1640
1637
|
systemDiskSize?: number;
|
|
1641
1638
|
/**
|
|
1642
1639
|
* @remarks
|
|
1643
|
-
* The system disk snapshot policy
|
|
1640
|
+
* The system disk snapshot policy
|
|
1644
1641
|
*
|
|
1645
1642
|
* @example
|
|
1646
1643
|
* sp-bp11g8z59rawcud9****
|
|
@@ -1648,12 +1645,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1648
1645
|
systemDiskSnapshotPolicyId?: string;
|
|
1649
1646
|
/**
|
|
1650
1647
|
* @remarks
|
|
1651
|
-
* ECS instance tags.
|
|
1648
|
+
* The ECS instance tags.
|
|
1652
1649
|
*/
|
|
1653
1650
|
tags?: Tag[];
|
|
1654
1651
|
/**
|
|
1655
1652
|
* @remarks
|
|
1656
|
-
* The list of
|
|
1653
|
+
* The list of vSwitch IDs.
|
|
1657
1654
|
*/
|
|
1658
1655
|
vswitchIds?: string[];
|
|
1659
1656
|
static names(): { [key: string]: string } {
|
|
@@ -1821,7 +1818,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1821
1818
|
export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $dara.Model {
|
|
1822
1819
|
/**
|
|
1823
1820
|
* @remarks
|
|
1824
|
-
* The
|
|
1821
|
+
* The time of the last status transition.
|
|
1825
1822
|
*
|
|
1826
1823
|
* @example
|
|
1827
1824
|
* 20**-**-30T10:39:00+08:00
|
|
@@ -1829,7 +1826,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1829
1826
|
lastTransitionTime?: string;
|
|
1830
1827
|
/**
|
|
1831
1828
|
* @remarks
|
|
1832
|
-
*
|
|
1829
|
+
* The detailed information.
|
|
1833
1830
|
*
|
|
1834
1831
|
* @example
|
|
1835
1832
|
* AutoUpgradeDisabled
|
|
@@ -1837,7 +1834,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1837
1834
|
message?: string;
|
|
1838
1835
|
/**
|
|
1839
1836
|
* @remarks
|
|
1840
|
-
* The reason
|
|
1837
|
+
* The reason.
|
|
1841
1838
|
*
|
|
1842
1839
|
* @example
|
|
1843
1840
|
* UpgradeDisabled
|
|
@@ -1845,7 +1842,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1845
1842
|
reason?: string;
|
|
1846
1843
|
/**
|
|
1847
1844
|
* @remarks
|
|
1848
|
-
* The
|
|
1845
|
+
* The status.
|
|
1849
1846
|
*
|
|
1850
1847
|
* @example
|
|
1851
1848
|
* True
|
|
@@ -1853,7 +1850,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1853
1850
|
status?: string;
|
|
1854
1851
|
/**
|
|
1855
1852
|
* @remarks
|
|
1856
|
-
* The
|
|
1853
|
+
* The type.
|
|
1857
1854
|
*
|
|
1858
1855
|
* @example
|
|
1859
1856
|
* ImageUpgradeReady
|
|
@@ -1891,7 +1888,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1891
1888
|
export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model {
|
|
1892
1889
|
/**
|
|
1893
1890
|
* @remarks
|
|
1894
|
-
* The current
|
|
1891
|
+
* The current status of the node pool. This parameter indicates the status of the node pool from different dimensions.
|
|
1895
1892
|
*/
|
|
1896
1893
|
conditions?: DescribeClusterNodePoolDetailResponseBodyStatusConditions[];
|
|
1897
1894
|
/**
|
|
@@ -1912,7 +1909,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1912
1909
|
healthyNodes?: number;
|
|
1913
1910
|
/**
|
|
1914
1911
|
* @remarks
|
|
1915
|
-
* The number of nodes being created.
|
|
1912
|
+
* The number of nodes that are being created.
|
|
1916
1913
|
*
|
|
1917
1914
|
* @example
|
|
1918
1915
|
* 0
|
|
@@ -1928,7 +1925,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1928
1925
|
offlineNodes?: number;
|
|
1929
1926
|
/**
|
|
1930
1927
|
* @remarks
|
|
1931
|
-
* The number of nodes being removed.
|
|
1928
|
+
* The number of nodes that are being removed.
|
|
1932
1929
|
*
|
|
1933
1930
|
* @example
|
|
1934
1931
|
* 0
|
|
@@ -1936,7 +1933,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1936
1933
|
removingNodes?: number;
|
|
1937
1934
|
/**
|
|
1938
1935
|
* @remarks
|
|
1939
|
-
* The number of
|
|
1936
|
+
* The number of nodes that are in service.
|
|
1940
1937
|
*
|
|
1941
1938
|
* @example
|
|
1942
1939
|
* 3
|
|
@@ -1944,17 +1941,17 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1944
1941
|
servingNodes?: number;
|
|
1945
1942
|
/**
|
|
1946
1943
|
* @remarks
|
|
1947
|
-
* The node pool
|
|
1944
|
+
* The state of the node pool. Valid values:
|
|
1948
1945
|
*
|
|
1949
|
-
* - `active`:
|
|
1946
|
+
* - `active`: The node pool is active.
|
|
1950
1947
|
*
|
|
1951
|
-
* - `scaling`:
|
|
1948
|
+
* - `scaling`: The node pool is being scaled.
|
|
1952
1949
|
*
|
|
1953
|
-
* - `removing`:
|
|
1950
|
+
* - `removing`: Nodes are being removed.
|
|
1954
1951
|
*
|
|
1955
|
-
* - `deleting`:
|
|
1952
|
+
* - `deleting`: The node pool is being deleted.
|
|
1956
1953
|
*
|
|
1957
|
-
* - `updating`:
|
|
1954
|
+
* - `updating`: The node pool is being updated.
|
|
1958
1955
|
*
|
|
1959
1956
|
* @example
|
|
1960
1957
|
* active
|
|
@@ -2011,11 +2008,11 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
2011
2008
|
export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Model {
|
|
2012
2009
|
/**
|
|
2013
2010
|
* @remarks
|
|
2014
|
-
* Indicates whether confidential computing
|
|
2011
|
+
* Indicates whether to enable the confidential computing cluster. Valid values:
|
|
2015
2012
|
*
|
|
2016
|
-
* - `true`:
|
|
2013
|
+
* - `true`: Enables the confidential computing cluster.
|
|
2017
2014
|
*
|
|
2018
|
-
* - `false`:
|
|
2015
|
+
* - `false`: Disables the confidential computing cluster.
|
|
2019
2016
|
*
|
|
2020
2017
|
* @example
|
|
2021
2018
|
* false
|
|
@@ -2045,22 +2042,22 @@ export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Mo
|
|
|
2045
2042
|
export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
2046
2043
|
/**
|
|
2047
2044
|
* @remarks
|
|
2048
|
-
*
|
|
2045
|
+
* The smart hosting configurations.
|
|
2049
2046
|
*/
|
|
2050
2047
|
autoMode?: DescribeClusterNodePoolDetailResponseBodyAutoMode;
|
|
2051
2048
|
/**
|
|
2052
2049
|
* @remarks
|
|
2053
|
-
*
|
|
2050
|
+
* The configurations of the node pool that is configured for automatic scaling.
|
|
2054
2051
|
*/
|
|
2055
2052
|
autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
2056
2053
|
efloNodeGroup?: DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup;
|
|
2057
2054
|
/**
|
|
2058
2055
|
* @remarks
|
|
2059
|
-
* Indicates whether
|
|
2056
|
+
* Indicates whether the pod network uses the host network mode.
|
|
2060
2057
|
*
|
|
2061
|
-
* - `true`:
|
|
2058
|
+
* - `true`: host network. Pods directly use the host\\"s network stack and share IP addresses and ports with the host.
|
|
2062
2059
|
*
|
|
2063
|
-
* - `false`:
|
|
2060
|
+
* - `false`: container network. Pods have an independent network stack and do not use host network ports.
|
|
2064
2061
|
*
|
|
2065
2062
|
* @example
|
|
2066
2063
|
* true
|
|
@@ -2068,18 +2065,18 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2068
2065
|
hostNetwork?: boolean;
|
|
2069
2066
|
/**
|
|
2070
2067
|
* @remarks
|
|
2071
|
-
* [
|
|
2068
|
+
* [This parameter is deprecated]
|
|
2072
2069
|
*
|
|
2073
|
-
*
|
|
2070
|
+
* The network configurations of the edge node pool. This parameter is valid only for edge node pools.
|
|
2074
2071
|
*/
|
|
2075
2072
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
2076
2073
|
/**
|
|
2077
2074
|
* @remarks
|
|
2078
|
-
* The network type
|
|
2075
|
+
* The network type of the edge node pool. This parameter is valid only for `edge` node pools. Valid values:
|
|
2079
2076
|
*
|
|
2080
|
-
* - `basic`:
|
|
2077
|
+
* - `basic`: public network. The nodes in the node pool interact with cloud nodes over the Internet. Applications in the node pool cannot directly access the VPC in the cloud.
|
|
2081
2078
|
*
|
|
2082
|
-
* - `private`:
|
|
2079
|
+
* - `private`: dedicated network. The nodes in the node pool connect to the cloud network through leased lines, VPNs, or CEN. This provides higher communication quality between the cloud and the edge and offers more effective security.
|
|
2083
2080
|
*
|
|
2084
2081
|
* @example
|
|
2085
2082
|
* basic
|
|
@@ -2087,11 +2084,11 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2087
2084
|
interconnectMode?: string;
|
|
2088
2085
|
/**
|
|
2089
2086
|
* @remarks
|
|
2090
|
-
* Indicates whether
|
|
2087
|
+
* Indicates whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
2091
2088
|
*
|
|
2092
|
-
* - `true`:
|
|
2089
|
+
* - `true`: connected. All nodes in this node pool have Layer 3 network connectivity.
|
|
2093
2090
|
*
|
|
2094
|
-
* - `false`:
|
|
2091
|
+
* - `false`: not connected. All hosts in this node pool do not have Layer 3 network connectivity.
|
|
2095
2092
|
*
|
|
2096
2093
|
* @example
|
|
2097
2094
|
* true
|
|
@@ -2099,19 +2096,19 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2099
2096
|
intranet?: boolean;
|
|
2100
2097
|
/**
|
|
2101
2098
|
* @remarks
|
|
2102
|
-
*
|
|
2099
|
+
* The cluster-related configurations.
|
|
2103
2100
|
*/
|
|
2104
2101
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
2105
2102
|
/**
|
|
2106
2103
|
* @remarks
|
|
2107
|
-
*
|
|
2104
|
+
* The configurations of the managed node pool.
|
|
2108
2105
|
*/
|
|
2109
2106
|
management?: DescribeClusterNodePoolDetailResponseBodyManagement;
|
|
2110
2107
|
/**
|
|
2111
2108
|
* @remarks
|
|
2112
|
-
* [
|
|
2109
|
+
* [This parameter is deprecated]
|
|
2113
2110
|
*
|
|
2114
|
-
* The maximum number of nodes
|
|
2111
|
+
* The maximum number of nodes that the edge node pool can contain.
|
|
2115
2112
|
*
|
|
2116
2113
|
* @example
|
|
2117
2114
|
* 10
|
|
@@ -2119,22 +2116,22 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2119
2116
|
maxNodes?: number;
|
|
2120
2117
|
/**
|
|
2121
2118
|
* @remarks
|
|
2122
|
-
*
|
|
2119
|
+
* The list of node components.
|
|
2123
2120
|
*/
|
|
2124
2121
|
nodeComponents?: DescribeClusterNodePoolDetailResponseBodyNodeComponents[];
|
|
2125
2122
|
/**
|
|
2126
2123
|
* @remarks
|
|
2127
|
-
*
|
|
2124
|
+
* The node configurations.
|
|
2128
2125
|
*/
|
|
2129
2126
|
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
2130
2127
|
/**
|
|
2131
2128
|
* @remarks
|
|
2132
|
-
*
|
|
2129
|
+
* The node pool configurations.
|
|
2133
2130
|
*/
|
|
2134
2131
|
nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
|
|
2135
2132
|
/**
|
|
2136
2133
|
* @remarks
|
|
2137
|
-
*
|
|
2134
|
+
* The configurations of the scaling group for the node pool.
|
|
2138
2135
|
*/
|
|
2139
2136
|
scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
|
|
2140
2137
|
/**
|
|
@@ -2144,7 +2141,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2144
2141
|
status?: DescribeClusterNodePoolDetailResponseBodyStatus;
|
|
2145
2142
|
/**
|
|
2146
2143
|
* @remarks
|
|
2147
|
-
*
|
|
2144
|
+
* The configurations of the confidential computing cluster.
|
|
2148
2145
|
*/
|
|
2149
2146
|
teeConfig?: DescribeClusterNodePoolDetailResponseBodyTeeConfig;
|
|
2150
2147
|
static names(): { [key: string]: string } {
|