@alicloud/cs20151215 7.0.4 → 7.1.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 +120 -42
- package/dist/client.js +332 -71
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +119 -621
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsRequest.js +73 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponse.js +69 -0
- package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +70 -195
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +63 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +366 -71
- package/src/models/CreateClusterNodePoolRequest.ts +126 -367
- package/src/models/CreateClusterRequest.ts +119 -621
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
- package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
- package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
- package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
- package/src/models/ListNodePoolComponentsRequest.ts +76 -0
- package/src/models/ListNodePoolComponentsResponse.ts +40 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +70 -195
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
- package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +25 -0
package/src/models/Nodepool.ts
CHANGED
|
@@ -11,9 +11,7 @@ import { Taint } from "./Taint";
|
|
|
11
11
|
export class NodepoolAutoScaling extends $dara.Model {
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* [
|
|
15
|
-
*
|
|
16
|
-
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
14
|
+
* **[Deprecated]**
|
|
17
15
|
*
|
|
18
16
|
* @example
|
|
19
17
|
* 5
|
|
@@ -23,14 +21,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
23
21
|
eipBandwidth?: number;
|
|
24
22
|
/**
|
|
25
23
|
* @remarks
|
|
26
|
-
* [
|
|
27
|
-
*
|
|
28
|
-
* The billing method for the EIP. Valid values:
|
|
29
|
-
*
|
|
30
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
31
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
32
|
-
*
|
|
33
|
-
* Default value: PayByBandwidth.
|
|
24
|
+
* **[Deprecated]**
|
|
34
25
|
*
|
|
35
26
|
* @example
|
|
36
27
|
* PayByBandwidth
|
|
@@ -40,10 +31,10 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
40
31
|
eipInternetChargeType?: string;
|
|
41
32
|
/**
|
|
42
33
|
* @remarks
|
|
43
|
-
* Specifies whether to enable
|
|
34
|
+
* Specifies whether to enable automatic scaling.
|
|
44
35
|
*
|
|
45
|
-
* - `true`: Enables
|
|
46
|
-
* - `false`: Disables
|
|
36
|
+
* - `true`: Enables the automatic scaling feature for the node pool.
|
|
37
|
+
* - `false`: Disables automatic scaling. If this parameter is set to `false`, other configuration parameters in `auto_scaling` do not take effect.
|
|
47
38
|
*
|
|
48
39
|
* Default value: `false`.
|
|
49
40
|
*
|
|
@@ -55,9 +46,9 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
55
46
|
enable?: boolean;
|
|
56
47
|
/**
|
|
57
48
|
* @remarks
|
|
58
|
-
* [
|
|
49
|
+
* **[Deprecated]**
|
|
59
50
|
*
|
|
60
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
51
|
+
* Specifies whether to associate an elastic IP address (EIP). Valid values:
|
|
61
52
|
*
|
|
62
53
|
* - `true`: Associates an EIP.
|
|
63
54
|
* - `false`: Does not associate an EIP.
|
|
@@ -92,14 +83,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
92
83
|
minInstances?: number;
|
|
93
84
|
/**
|
|
94
85
|
* @remarks
|
|
95
|
-
* The auto scaling type, classified by instance type. Valid values:
|
|
96
|
-
*
|
|
97
|
-
* - `cpu`: regular instance type.
|
|
98
|
-
* - `gpu`: GPU instance type.
|
|
99
|
-
* - `gpushare`: GPU shared type.
|
|
100
|
-
* - `spot`: spot instance type.
|
|
101
|
-
*
|
|
102
|
-
* Default value: `cpu`.
|
|
86
|
+
* The auto scaling type, classified by auto scaling instance type. Valid values:
|
|
103
87
|
*
|
|
104
88
|
* @example
|
|
105
89
|
* cpu
|
|
@@ -141,9 +125,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
141
125
|
export class NodepoolInterconnectConfig extends $dara.Model {
|
|
142
126
|
/**
|
|
143
127
|
* @remarks
|
|
144
|
-
* **
|
|
145
|
-
*
|
|
146
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
128
|
+
* **[Deprecated]**
|
|
147
129
|
*
|
|
148
130
|
* @example
|
|
149
131
|
* 10
|
|
@@ -153,9 +135,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
153
135
|
bandwidth?: number;
|
|
154
136
|
/**
|
|
155
137
|
* @remarks
|
|
156
|
-
* **
|
|
157
|
-
*
|
|
158
|
-
* The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
|
|
138
|
+
* **[Deprecated]**
|
|
159
139
|
*
|
|
160
140
|
* @example
|
|
161
141
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -165,9 +145,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
165
145
|
ccnId?: string;
|
|
166
146
|
/**
|
|
167
147
|
* @remarks
|
|
168
|
-
* **
|
|
169
|
-
*
|
|
170
|
-
* The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
|
|
148
|
+
* **[Deprecated]**
|
|
171
149
|
*
|
|
172
150
|
* @example
|
|
173
151
|
* cn-shanghai
|
|
@@ -177,9 +155,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
177
155
|
ccnRegionId?: string;
|
|
178
156
|
/**
|
|
179
157
|
* @remarks
|
|
180
|
-
* **
|
|
181
|
-
*
|
|
182
|
-
* The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
|
|
158
|
+
* **[Deprecated]**
|
|
183
159
|
*
|
|
184
160
|
* @example
|
|
185
161
|
* cen-ey9k9nfhz0f*******
|
|
@@ -189,9 +165,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
189
165
|
cenId?: string;
|
|
190
166
|
/**
|
|
191
167
|
* @remarks
|
|
192
|
-
* **
|
|
193
|
-
*
|
|
194
|
-
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
168
|
+
* **[Deprecated]**
|
|
195
169
|
*
|
|
196
170
|
* @example
|
|
197
171
|
* 1
|
|
@@ -244,12 +218,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
244
218
|
cmsEnabled?: boolean;
|
|
245
219
|
/**
|
|
246
220
|
* @remarks
|
|
247
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
248
|
-
*
|
|
249
|
-
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
250
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
251
|
-
*
|
|
252
|
-
* Default value: `none`.
|
|
221
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
253
222
|
*
|
|
254
223
|
* @example
|
|
255
224
|
* none
|
|
@@ -257,18 +226,13 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
257
226
|
cpuPolicy?: string;
|
|
258
227
|
/**
|
|
259
228
|
* @remarks
|
|
260
|
-
* The node labels.
|
|
229
|
+
* The node labels. Labels are added to the nodes in the Kubernetes cluster.
|
|
261
230
|
*/
|
|
262
231
|
labels?: Tag[];
|
|
263
232
|
/**
|
|
264
233
|
* @remarks
|
|
265
234
|
* The node name consists of three parts: prefix + node IP + suffix:
|
|
266
235
|
*
|
|
267
|
-
* - Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit.
|
|
268
|
-
* - The node IP is the full private IP address of the node.
|
|
269
|
-
*
|
|
270
|
-
* The parameter contains four parts separated by commas. For example, if you pass in the string "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
|
|
271
|
-
*
|
|
272
236
|
* @example
|
|
273
237
|
* customized,aliyun,ip,com
|
|
274
238
|
*/
|
|
@@ -276,9 +240,9 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
276
240
|
/**
|
|
277
241
|
* @remarks
|
|
278
242
|
* The container runtime. Valid values:
|
|
279
|
-
* - `containerd`: Recommended.
|
|
280
|
-
* - `Sandboxed-Container.runv`: Sandboxed container
|
|
281
|
-
* - `docker`:
|
|
243
|
+
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
244
|
+
* - `Sandboxed-Container.runv`: Sandboxed container runtime that provides higher isolation. Supported by clusters of version 1.24 and earlier.
|
|
245
|
+
* - `docker`: Supported by clusters of version 1.22 and earlier.
|
|
282
246
|
*
|
|
283
247
|
* Default value: `containerd`
|
|
284
248
|
*
|
|
@@ -305,7 +269,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
305
269
|
taints?: Taint[];
|
|
306
270
|
/**
|
|
307
271
|
* @remarks
|
|
308
|
-
* The
|
|
272
|
+
* The custom data for nodes.
|
|
309
273
|
*
|
|
310
274
|
* @example
|
|
311
275
|
* MXM=
|
|
@@ -471,9 +435,6 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
471
435
|
* @remarks
|
|
472
436
|
* Specifies whether to enable auto upgrade. Valid values:
|
|
473
437
|
*
|
|
474
|
-
* - `true`: Enable auto upgrade.
|
|
475
|
-
* - `false`: Disable auto upgrade.
|
|
476
|
-
*
|
|
477
438
|
* @example
|
|
478
439
|
* false
|
|
479
440
|
*/
|
|
@@ -482,8 +443,6 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
482
443
|
* @remarks
|
|
483
444
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
484
445
|
*
|
|
485
|
-
* Default value: 1.
|
|
486
|
-
*
|
|
487
446
|
* @example
|
|
488
447
|
* 0
|
|
489
448
|
*/
|
|
@@ -498,7 +457,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
498
457
|
surge?: number;
|
|
499
458
|
/**
|
|
500
459
|
* @remarks
|
|
501
|
-
* The percentage of extra nodes.
|
|
460
|
+
* The percentage of extra nodes. You can set either this parameter or `surge`.
|
|
502
461
|
*
|
|
503
462
|
* @example
|
|
504
463
|
* 0
|
|
@@ -541,8 +500,8 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
541
500
|
* @remarks
|
|
542
501
|
* Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
|
|
543
502
|
*
|
|
544
|
-
* - `true`:
|
|
545
|
-
* - `false`:
|
|
503
|
+
* - `true`: Enables automatic repair.
|
|
504
|
+
* - `false`: Disables automatic repair.
|
|
546
505
|
*
|
|
547
506
|
* @example
|
|
548
507
|
* false
|
|
@@ -588,9 +547,6 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
588
547
|
* @remarks
|
|
589
548
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
590
549
|
*
|
|
591
|
-
* - `true`: Enable the managed node pool.
|
|
592
|
-
* - `false`: Do not enable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
593
|
-
*
|
|
594
550
|
* @example
|
|
595
551
|
* false
|
|
596
552
|
*/
|
|
@@ -656,7 +612,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
656
612
|
export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
657
613
|
/**
|
|
658
614
|
* @remarks
|
|
659
|
-
* The custom node
|
|
615
|
+
* The custom configuration of node components.
|
|
660
616
|
*
|
|
661
617
|
* @example
|
|
662
618
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -739,7 +695,7 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
739
695
|
export class NodepoolNodeConfig extends $dara.Model {
|
|
740
696
|
/**
|
|
741
697
|
* @remarks
|
|
742
|
-
* The
|
|
698
|
+
* The kubelet parameter settings.
|
|
743
699
|
*/
|
|
744
700
|
kubeletConfiguration?: KubeletConfig;
|
|
745
701
|
static names(): { [key: string]: string } {
|
|
@@ -789,9 +745,6 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
789
745
|
* @remarks
|
|
790
746
|
* The node pool type. Valid values:
|
|
791
747
|
*
|
|
792
|
-
* - `ess`: node pool.
|
|
793
|
-
* - `edge`: edge node pool.
|
|
794
|
-
*
|
|
795
748
|
* @example
|
|
796
749
|
* ess
|
|
797
750
|
*/
|
|
@@ -825,8 +778,6 @@ export class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
|
825
778
|
/**
|
|
826
779
|
* @remarks
|
|
827
780
|
* Specifies whether to enable nested virtualization. Valid values:
|
|
828
|
-
* disabled: Disable nested virtualization.
|
|
829
|
-
* enabled: Enable nested virtualization.
|
|
830
781
|
*
|
|
831
782
|
* @example
|
|
832
783
|
* enabled
|
|
@@ -864,13 +815,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
864
815
|
id?: string;
|
|
865
816
|
/**
|
|
866
817
|
* @remarks
|
|
867
|
-
* The private node pool
|
|
818
|
+
* The type of the private node pool. Specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during startup. Valid values:
|
|
868
819
|
*
|
|
869
|
-
* - `Open`: open mode.
|
|
820
|
+
* - `Open`: open mode. The instance automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to start the instance.
|
|
870
821
|
*
|
|
871
|
-
* - `Target`: targeted mode.
|
|
822
|
+
* - `Target`: targeted mode. The instance is started using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to start.
|
|
872
823
|
*
|
|
873
|
-
* - `None`: none mode. The instance does not use private pool capacity
|
|
824
|
+
* - `None`: none mode. The instance does not use private pool capacity during startup.
|
|
874
825
|
*
|
|
875
826
|
* @example
|
|
876
827
|
* Open
|
|
@@ -902,15 +853,17 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
902
853
|
export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
903
854
|
/**
|
|
904
855
|
* @remarks
|
|
905
|
-
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be
|
|
856
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
906
857
|
*/
|
|
907
858
|
privatePoolIds?: string[];
|
|
908
859
|
/**
|
|
909
860
|
* @remarks
|
|
910
|
-
* The resource pool
|
|
911
|
-
*
|
|
912
|
-
*
|
|
913
|
-
*
|
|
861
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, as well as public pools, which are available for instance startup. Valid values:
|
|
862
|
+
*
|
|
863
|
+
* PrivatePoolFirst: private pool first. When this strategy is selected, if resource_pool_options.private_pool_ids is specified, the specified private pools are used preferentially. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
864
|
+
* PrivatePoolOnly: private pool only. When this strategy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
865
|
+
* None: no resource pool strategy is used.
|
|
866
|
+
*
|
|
914
867
|
* Default value: None.
|
|
915
868
|
*
|
|
916
869
|
* @example
|
|
@@ -954,7 +907,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
954
907
|
instanceType?: string;
|
|
955
908
|
/**
|
|
956
909
|
* @remarks
|
|
957
|
-
* The maximum price
|
|
910
|
+
* The maximum price for a single instance.
|
|
958
911
|
*
|
|
959
912
|
* @example
|
|
960
913
|
* 0.39
|
|
@@ -1028,11 +981,6 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1028
981
|
* @remarks
|
|
1029
982
|
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1030
983
|
*
|
|
1031
|
-
* - `true`: Enables auto-renewal.
|
|
1032
|
-
* - `false`: Disables auto-renewal.
|
|
1033
|
-
*
|
|
1034
|
-
* Default value: `true`.
|
|
1035
|
-
*
|
|
1036
984
|
* @example
|
|
1037
985
|
* false
|
|
1038
986
|
*/
|
|
@@ -1041,17 +989,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1041
989
|
* @remarks
|
|
1042
990
|
* The auto-renewal epoch for the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1043
991
|
*
|
|
1044
|
-
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
1045
|
-
*
|
|
1046
|
-
* Default value: 1.
|
|
1047
|
-
*
|
|
1048
992
|
* @example
|
|
1049
993
|
* 0
|
|
1050
994
|
*/
|
|
1051
995
|
autoRenewPeriod?: number;
|
|
1052
996
|
/**
|
|
1053
997
|
* @remarks
|
|
1054
|
-
*
|
|
998
|
+
* Specifies whether to automatically create 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, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1055
999
|
*
|
|
1056
1000
|
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1057
1001
|
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
@@ -1101,7 +1045,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1101
1045
|
imageId?: string;
|
|
1102
1046
|
/**
|
|
1103
1047
|
* @remarks
|
|
1104
|
-
* The operating system image type.
|
|
1048
|
+
* The operating system image type. You can specify either this parameter or the platform parameter. Valid values:
|
|
1105
1049
|
*
|
|
1106
1050
|
* - `AliyunLinux`: Alinux2 image.
|
|
1107
1051
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -1120,11 +1064,6 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1120
1064
|
* @remarks
|
|
1121
1065
|
* The billing method for nodes in the node pool. Valid values:
|
|
1122
1066
|
*
|
|
1123
|
-
* - `PrePaid`: subscription.
|
|
1124
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1125
|
-
*
|
|
1126
|
-
* Default value: `PostPaid`.
|
|
1127
|
-
*
|
|
1128
1067
|
* This parameter is required.
|
|
1129
1068
|
*
|
|
1130
1069
|
* @example
|
|
@@ -1134,7 +1073,6 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1134
1073
|
/**
|
|
1135
1074
|
* @remarks
|
|
1136
1075
|
* The metadata access configuration for ECS instances.
|
|
1137
|
-
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to request access.
|
|
1138
1076
|
*/
|
|
1139
1077
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1140
1078
|
/**
|
|
@@ -1146,10 +1084,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1146
1084
|
instanceTypes?: string[];
|
|
1147
1085
|
/**
|
|
1148
1086
|
* @remarks
|
|
1149
|
-
* The billing
|
|
1150
|
-
*
|
|
1151
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1152
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
1087
|
+
* The billing type for public IP addresses. Valid values:
|
|
1153
1088
|
*
|
|
1154
1089
|
* @example
|
|
1155
1090
|
* PayByBandwidth
|
|
@@ -1157,7 +1092,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1157
1092
|
internetChargeType?: string;
|
|
1158
1093
|
/**
|
|
1159
1094
|
* @remarks
|
|
1160
|
-
* The maximum outbound bandwidth for node public IP addresses. Unit:
|
|
1095
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbps (Mega bit per second). Valid values: [1,100].
|
|
1161
1096
|
*
|
|
1162
1097
|
* @example
|
|
1163
1098
|
* 10
|
|
@@ -1167,15 +1102,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1167
1102
|
* @remarks
|
|
1168
1103
|
* The key pair name. Specify either this parameter or `login_password`.
|
|
1169
1104
|
*
|
|
1170
|
-
* > For managed node pools, only `key_pair` is supported.
|
|
1171
|
-
*
|
|
1172
1105
|
* @example
|
|
1173
1106
|
* np-key
|
|
1174
1107
|
*/
|
|
1175
1108
|
keyPair?: string;
|
|
1176
1109
|
/**
|
|
1177
1110
|
* @remarks
|
|
1178
|
-
* Specifies whether scaled-out ECS instances
|
|
1111
|
+
* Specifies whether to log on to scaled-out ECS instances as a non-root user.
|
|
1179
1112
|
*/
|
|
1180
1113
|
loginAsNonRoot?: boolean;
|
|
1181
1114
|
/**
|
|
@@ -1190,13 +1123,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1190
1123
|
* @remarks
|
|
1191
1124
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1192
1125
|
*
|
|
1193
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N)
|
|
1126
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the next-priority vSwitch is automatically used to create ECS instances.
|
|
1194
1127
|
*
|
|
1195
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order
|
|
1128
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order from the lowest to the highest vCPU unit price. When the scaling configuration specifies multiple instance types with the spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1196
1129
|
*
|
|
1197
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
1130
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1198
1131
|
*
|
|
1199
|
-
* - `BALANCE`:
|
|
1132
|
+
* - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the RebalanceInstances API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1200
1133
|
*
|
|
1201
1134
|
* Default value: `PRIORITY`.
|
|
1202
1135
|
*
|
|
@@ -1206,7 +1139,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1206
1139
|
multiAzPolicy?: string;
|
|
1207
1140
|
/**
|
|
1208
1141
|
* @remarks
|
|
1209
|
-
* The minimum number of pay-as-you-go instances required
|
|
1142
|
+
* 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 first.
|
|
1210
1143
|
*
|
|
1211
1144
|
* @example
|
|
1212
1145
|
* 0
|
|
@@ -1214,7 +1147,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1214
1147
|
onDemandBaseCapacity?: number;
|
|
1215
1148
|
/**
|
|
1216
1149
|
* @remarks
|
|
1217
|
-
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100].
|
|
1150
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100].
|
|
1218
1151
|
*
|
|
1219
1152
|
* @example
|
|
1220
1153
|
* 20
|
|
@@ -1222,9 +1155,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1222
1155
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1223
1156
|
/**
|
|
1224
1157
|
* @remarks
|
|
1225
|
-
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1226
|
-
*
|
|
1227
|
-
* Default value: 1.
|
|
1158
|
+
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values: when `period_unit` is set to Month, the valid values of `period` are: {1, 2, 3, 6, 12}.
|
|
1228
1159
|
*
|
|
1229
1160
|
* @example
|
|
1230
1161
|
* 0
|
|
@@ -1234,8 +1165,6 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1234
1165
|
* @remarks
|
|
1235
1166
|
* The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1236
1167
|
*
|
|
1237
|
-
* `Month`: Currently, only monthly billing is supported.
|
|
1238
|
-
*
|
|
1239
1168
|
* @example
|
|
1240
1169
|
* Month
|
|
1241
1170
|
*/
|
|
@@ -1244,13 +1173,6 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1244
1173
|
* @remarks
|
|
1245
1174
|
* The operating system distribution. Valid values:
|
|
1246
1175
|
*
|
|
1247
|
-
* - `CentOS`
|
|
1248
|
-
* - `AliyunLinux`
|
|
1249
|
-
* - `Windows`
|
|
1250
|
-
* - `WindowsCore`
|
|
1251
|
-
*
|
|
1252
|
-
* Default value: `AliyunLinux`.
|
|
1253
|
-
*
|
|
1254
1176
|
* @example
|
|
1255
1177
|
* AliyunLinux
|
|
1256
1178
|
*
|
|
@@ -1265,7 +1187,6 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1265
1187
|
/**
|
|
1266
1188
|
* @remarks
|
|
1267
1189
|
* The Worker RAM role name.
|
|
1268
|
-
* >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
|
|
1269
1190
|
*
|
|
1270
1191
|
* @example
|
|
1271
1192
|
* example-role
|
|
@@ -1278,27 +1199,20 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1278
1199
|
rdsInstances?: string[];
|
|
1279
1200
|
/**
|
|
1280
1201
|
* @remarks
|
|
1281
|
-
* The resource pool and resource pool policy used when creating instances.
|
|
1282
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1283
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1202
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
1284
1203
|
*/
|
|
1285
1204
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1286
1205
|
/**
|
|
1287
1206
|
* @remarks
|
|
1288
1207
|
* The scaling group mode. Valid values:
|
|
1289
1208
|
*
|
|
1290
|
-
* - `release`: standard mode. Scales in or out by creating or releasing ECS instances based on resource usage.
|
|
1291
|
-
* - `recycle`: swift mode. Scales in or out by creating, stopping, or starting ECS instances, which improves the speed of subsequent scaling operations. (Stopped instances are not charged for compute resources, but storage fees still apply, except for instances with local disks.)
|
|
1292
|
-
*
|
|
1293
|
-
* Default value: `release`.
|
|
1294
|
-
*
|
|
1295
1209
|
* @example
|
|
1296
1210
|
* release
|
|
1297
1211
|
*/
|
|
1298
1212
|
scalingPolicy?: string;
|
|
1299
1213
|
/**
|
|
1300
1214
|
* @remarks
|
|
1301
|
-
* The security group ID
|
|
1215
|
+
* The security group ID of the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
1302
1216
|
*
|
|
1303
1217
|
* @example
|
|
1304
1218
|
* sg-2zeihch86ooz9io4****
|
|
@@ -1306,12 +1220,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1306
1220
|
securityGroupId?: string;
|
|
1307
1221
|
/**
|
|
1308
1222
|
* @remarks
|
|
1309
|
-
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`.
|
|
1223
|
+
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1310
1224
|
*/
|
|
1311
1225
|
securityGroupIds?: string[];
|
|
1312
1226
|
/**
|
|
1313
1227
|
* @remarks
|
|
1314
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1228
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost in a balanced manner. Valid values: [1,10].
|
|
1315
1229
|
*
|
|
1316
1230
|
* @example
|
|
1317
1231
|
* 5
|
|
@@ -1319,10 +1233,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1319
1233
|
spotInstancePools?: number;
|
|
1320
1234
|
/**
|
|
1321
1235
|
* @remarks
|
|
1322
|
-
* Specifies whether to enable spot
|
|
1323
|
-
*
|
|
1324
|
-
* - `true`: Enables spot instance supplementation.
|
|
1325
|
-
* - `false`: Disables spot instance supplementation.
|
|
1236
|
+
* Specifies whether to enable supplementation of spot instances. If enabled, when the system sends a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1326
1237
|
*
|
|
1327
1238
|
* @example
|
|
1328
1239
|
* false
|
|
@@ -1330,17 +1241,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1330
1241
|
spotInstanceRemedy?: boolean;
|
|
1331
1242
|
/**
|
|
1332
1243
|
* @remarks
|
|
1333
|
-
* The
|
|
1244
|
+
* The price range configuration for a single spot instance type.
|
|
1334
1245
|
*/
|
|
1335
1246
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1336
1247
|
/**
|
|
1337
1248
|
* @remarks
|
|
1338
|
-
* The
|
|
1339
|
-
* - NoSpot: non-spot instance.
|
|
1340
|
-
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1341
|
-
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1342
|
-
*
|
|
1343
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1249
|
+
* The spot instance type. Valid values:
|
|
1344
1250
|
*
|
|
1345
1251
|
* @example
|
|
1346
1252
|
* NoSpot
|
|
@@ -1348,12 +1254,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1348
1254
|
spotStrategy?: string;
|
|
1349
1255
|
/**
|
|
1350
1256
|
* @remarks
|
|
1351
|
-
* Specifies whether to enable burst (
|
|
1352
|
-
*
|
|
1353
|
-
* - true: Enabled.
|
|
1354
|
-
* - false: Disabled.
|
|
1355
|
-
*
|
|
1356
|
-
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
|
|
1257
|
+
* Specifies whether to enable burst (I/O burst) for the node system cloud disk. Valid values:
|
|
1357
1258
|
*
|
|
1358
1259
|
* @example
|
|
1359
1260
|
* true
|
|
@@ -1361,25 +1262,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1361
1262
|
systemDiskBurstingEnabled?: boolean;
|
|
1362
1263
|
/**
|
|
1363
1264
|
* @remarks
|
|
1364
|
-
* The multiple cloud disk types for the system cloud disk.
|
|
1365
|
-
*
|
|
1366
|
-
* - cloud: basic cloud disk.
|
|
1367
|
-
* - cloud_efficiency: ultra cloud disk.
|
|
1368
|
-
* - cloud_ssd: standard SSD.
|
|
1369
|
-
* - cloud_essd: ESSD.
|
|
1265
|
+
* The multiple cloud disk types for the system cloud disk. If the highest-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk. Valid values:
|
|
1370
1266
|
*/
|
|
1371
1267
|
systemDiskCategories?: string[];
|
|
1372
1268
|
/**
|
|
1373
1269
|
* @remarks
|
|
1374
|
-
* The type of the system cloud disk
|
|
1375
|
-
*
|
|
1376
|
-
* - `cloud_efficiency`: ultra cloud disk.
|
|
1377
|
-
* - `cloud_ssd`: standard SSD.
|
|
1378
|
-
* - `cloud_essd`: ESSD.
|
|
1379
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1380
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1381
|
-
*
|
|
1382
|
-
* Default value: `cloud_efficiency`.
|
|
1270
|
+
* The type of the node system cloud disk. Valid values:
|
|
1383
1271
|
*
|
|
1384
1272
|
* @example
|
|
1385
1273
|
* cloud_efficiency
|
|
@@ -1387,7 +1275,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1387
1275
|
systemDiskCategory?: string;
|
|
1388
1276
|
/**
|
|
1389
1277
|
* @remarks
|
|
1390
|
-
* The encryption algorithm for the node system cloud disk. Valid values: aes-256.
|
|
1278
|
+
* The encryption algorithm used for the node system cloud disk. Valid values: aes-256.
|
|
1391
1279
|
*
|
|
1392
1280
|
* @example
|
|
1393
1281
|
* aes-256
|
|
@@ -1395,12 +1283,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1395
1283
|
systemDiskEncryptAlgorithm?: string;
|
|
1396
1284
|
/**
|
|
1397
1285
|
* @remarks
|
|
1398
|
-
* Specifies whether to encrypt the system cloud disk. Valid values: true:
|
|
1286
|
+
* Specifies whether to encrypt the system cloud disk. Valid values: true: Encrypt. false: Do not encrypt.
|
|
1399
1287
|
*/
|
|
1400
1288
|
systemDiskEncrypted?: boolean;
|
|
1401
1289
|
/**
|
|
1402
1290
|
* @remarks
|
|
1403
|
-
* The KMS key ID used
|
|
1291
|
+
* The KMS key ID used for the node system cloud disk.
|
|
1404
1292
|
*
|
|
1405
1293
|
* @example
|
|
1406
1294
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1408,7 +1296,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1408
1296
|
systemDiskKmsKeyId?: string;
|
|
1409
1297
|
/**
|
|
1410
1298
|
* @remarks
|
|
1411
|
-
* The performance level of the system cloud disk for nodes.
|
|
1299
|
+
* The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs.
|
|
1412
1300
|
*
|
|
1413
1301
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1414
1302
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
@@ -1421,9 +1309,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1421
1309
|
systemDiskPerformanceLevel?: string;
|
|
1422
1310
|
/**
|
|
1423
1311
|
* @remarks
|
|
1424
|
-
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0
|
|
1425
|
-
*
|
|
1426
|
-
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
|
|
1312
|
+
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000×capacity-baseline performance}. Baseline performance=min{1,800+50×capacity, 50000}.
|
|
1427
1313
|
*
|
|
1428
1314
|
* @example
|
|
1429
1315
|
* 1000
|
|
@@ -1431,9 +1317,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1431
1317
|
systemDiskProvisionedIops?: number;
|
|
1432
1318
|
/**
|
|
1433
1319
|
* @remarks
|
|
1434
|
-
* The size of the system cloud disk
|
|
1435
|
-
*
|
|
1436
|
-
* Valid values: [40,500].
|
|
1320
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1437
1321
|
*
|
|
1438
1322
|
* @example
|
|
1439
1323
|
* 120
|
|
@@ -1441,9 +1325,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1441
1325
|
systemDiskSize?: number;
|
|
1442
1326
|
/**
|
|
1443
1327
|
* @remarks
|
|
1444
|
-
*
|
|
1445
|
-
*
|
|
1446
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1328
|
+
* Tags added only to ECS instances.
|
|
1447
1329
|
*/
|
|
1448
1330
|
tags?: NodepoolScalingGroupTags[];
|
|
1449
1331
|
/**
|
|
@@ -1606,7 +1488,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1606
1488
|
export class NodepoolTeeConfig extends $dara.Model {
|
|
1607
1489
|
/**
|
|
1608
1490
|
* @remarks
|
|
1609
|
-
*
|
|
1491
|
+
* Indicates whether the node pool is a confidential computing node pool.
|
|
1610
1492
|
*
|
|
1611
1493
|
* This parameter is required.
|
|
1612
1494
|
*
|
|
@@ -1638,14 +1520,12 @@ export class NodepoolTeeConfig extends $dara.Model {
|
|
|
1638
1520
|
export class Nodepool extends $dara.Model {
|
|
1639
1521
|
/**
|
|
1640
1522
|
* @remarks
|
|
1641
|
-
* The auto scaling
|
|
1523
|
+
* The auto scaling node pool configuration.
|
|
1642
1524
|
*/
|
|
1643
1525
|
autoScaling?: NodepoolAutoScaling;
|
|
1644
1526
|
/**
|
|
1645
1527
|
* @remarks
|
|
1646
|
-
* **
|
|
1647
|
-
*
|
|
1648
|
-
* The number of nodes in the node pool.
|
|
1528
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1649
1529
|
*
|
|
1650
1530
|
* @example
|
|
1651
1531
|
* 1
|
|
@@ -1655,9 +1535,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1655
1535
|
count?: number;
|
|
1656
1536
|
/**
|
|
1657
1537
|
* @remarks
|
|
1658
|
-
* **
|
|
1659
|
-
*
|
|
1660
|
-
* The edge node pool configuration.
|
|
1538
|
+
* **[Deprecated]**
|
|
1661
1539
|
*
|
|
1662
1540
|
* @deprecated
|
|
1663
1541
|
*/
|
|
@@ -1666,9 +1544,6 @@ export class Nodepool extends $dara.Model {
|
|
|
1666
1544
|
* @remarks
|
|
1667
1545
|
* The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1668
1546
|
*
|
|
1669
|
-
* - `basic`: Basic.
|
|
1670
|
-
* - `private`: Dedicated. Supported in version 1.22 and later.
|
|
1671
|
-
*
|
|
1672
1547
|
* @example
|
|
1673
1548
|
* basic
|
|
1674
1549
|
*/
|
|
@@ -1685,7 +1560,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1685
1560
|
management?: NodepoolManagement;
|
|
1686
1561
|
/**
|
|
1687
1562
|
* @remarks
|
|
1688
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1563
|
+
* The maximum number of nodes allowed in the edge node pool. The value must be greater than or equal to 0. A value of 0 indicates no additional limit (only limited by the maximum number of nodes the cluster can accommodate, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0.
|
|
1689
1564
|
*
|
|
1690
1565
|
* @example
|
|
1691
1566
|
* 10
|