@alicloud/cs20151215 4.8.1 → 4.8.3
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 +438 -51
- package/dist/client.js +171 -29
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +514 -52
package/dist/client.d.ts
CHANGED
|
@@ -155,6 +155,7 @@ export declare class InstancePatterns extends $tea.Model {
|
|
|
155
155
|
}
|
|
156
156
|
export declare class KubeletConfig extends $tea.Model {
|
|
157
157
|
allowedUnsafeSysctls?: string[];
|
|
158
|
+
clusterDNS?: string[];
|
|
158
159
|
/**
|
|
159
160
|
* @example
|
|
160
161
|
* 5
|
|
@@ -165,6 +166,16 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
165
166
|
* 10Mi
|
|
166
167
|
*/
|
|
167
168
|
containerLogMaxSize?: string;
|
|
169
|
+
/**
|
|
170
|
+
* @example
|
|
171
|
+
* true
|
|
172
|
+
*/
|
|
173
|
+
cpuCFSQuota?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* 100ms
|
|
177
|
+
*/
|
|
178
|
+
cpuCFSQuotaPeriod?: string;
|
|
168
179
|
/**
|
|
169
180
|
* @example
|
|
170
181
|
* none
|
|
@@ -192,6 +203,16 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
192
203
|
featureGates?: {
|
|
193
204
|
[key: string]: any;
|
|
194
205
|
};
|
|
206
|
+
/**
|
|
207
|
+
* @example
|
|
208
|
+
* 85
|
|
209
|
+
*/
|
|
210
|
+
imageGCHighThresholdPercent?: number;
|
|
211
|
+
/**
|
|
212
|
+
* @example
|
|
213
|
+
* 80
|
|
214
|
+
*/
|
|
215
|
+
imageGCLowThresholdPercent?: number;
|
|
195
216
|
/**
|
|
196
217
|
* @example
|
|
197
218
|
* 10
|
|
@@ -210,6 +231,16 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
210
231
|
* 110
|
|
211
232
|
*/
|
|
212
233
|
maxPods?: number;
|
|
234
|
+
/**
|
|
235
|
+
* @example
|
|
236
|
+
* none
|
|
237
|
+
*/
|
|
238
|
+
memoryManagerPolicy?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @example
|
|
241
|
+
* -1
|
|
242
|
+
*/
|
|
243
|
+
podPidsLimit?: number;
|
|
213
244
|
/**
|
|
214
245
|
* @example
|
|
215
246
|
* 0
|
|
@@ -225,6 +256,7 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
225
256
|
* 5
|
|
226
257
|
*/
|
|
227
258
|
registryPullQPS?: number;
|
|
259
|
+
reservedMemory?: KubeletConfigReservedMemory[];
|
|
228
260
|
/**
|
|
229
261
|
* @example
|
|
230
262
|
* true
|
|
@@ -233,6 +265,12 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
233
265
|
systemReserved?: {
|
|
234
266
|
[key: string]: any;
|
|
235
267
|
};
|
|
268
|
+
/**
|
|
269
|
+
* @example
|
|
270
|
+
* restricted
|
|
271
|
+
*/
|
|
272
|
+
topologyManagerPolicy?: string;
|
|
273
|
+
tracing?: KubeletConfigTracing;
|
|
236
274
|
static names(): {
|
|
237
275
|
[key: string]: string;
|
|
238
276
|
};
|
|
@@ -1198,6 +1236,11 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1198
1236
|
* true
|
|
1199
1237
|
*/
|
|
1200
1238
|
scaleUpFromZero?: boolean;
|
|
1239
|
+
/**
|
|
1240
|
+
* @example
|
|
1241
|
+
* cluster-autoscaler
|
|
1242
|
+
*/
|
|
1243
|
+
scalerType?: string;
|
|
1201
1244
|
/**
|
|
1202
1245
|
* @remarks
|
|
1203
1246
|
* The interval at which the system scans for events that trigger scaling activities. Unit: seconds. Default value: 60.
|
|
@@ -1256,11 +1299,38 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1256
1299
|
[key: string]: any;
|
|
1257
1300
|
});
|
|
1258
1301
|
}
|
|
1302
|
+
export declare class CreateAutoscalingConfigResponseBody extends $tea.Model {
|
|
1303
|
+
/**
|
|
1304
|
+
* @example
|
|
1305
|
+
* cc212d04dfe184547bffaa596********
|
|
1306
|
+
*/
|
|
1307
|
+
clusterId?: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* @example
|
|
1310
|
+
* AF8BE105-C32B-1269-9774-5510********
|
|
1311
|
+
*/
|
|
1312
|
+
requestId?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* @example
|
|
1315
|
+
* T-5fd211e924e1d007********
|
|
1316
|
+
*/
|
|
1317
|
+
taskId?: string;
|
|
1318
|
+
static names(): {
|
|
1319
|
+
[key: string]: string;
|
|
1320
|
+
};
|
|
1321
|
+
static types(): {
|
|
1322
|
+
[key: string]: any;
|
|
1323
|
+
};
|
|
1324
|
+
constructor(map?: {
|
|
1325
|
+
[key: string]: any;
|
|
1326
|
+
});
|
|
1327
|
+
}
|
|
1259
1328
|
export declare class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
1260
1329
|
headers?: {
|
|
1261
1330
|
[key: string]: string;
|
|
1262
1331
|
};
|
|
1263
1332
|
statusCode?: number;
|
|
1333
|
+
body?: CreateAutoscalingConfigResponseBody;
|
|
1264
1334
|
static names(): {
|
|
1265
1335
|
[key: string]: string;
|
|
1266
1336
|
};
|
|
@@ -1330,6 +1400,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1330
1400
|
*
|
|
1331
1401
|
* @example
|
|
1332
1402
|
* true
|
|
1403
|
+
*
|
|
1404
|
+
* @deprecated
|
|
1333
1405
|
*/
|
|
1334
1406
|
autoRenew?: boolean;
|
|
1335
1407
|
/**
|
|
@@ -1342,6 +1414,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1342
1414
|
*
|
|
1343
1415
|
* @example
|
|
1344
1416
|
* 1
|
|
1417
|
+
*
|
|
1418
|
+
* @deprecated
|
|
1345
1419
|
*/
|
|
1346
1420
|
autoRenewPeriod?: number;
|
|
1347
1421
|
/**
|
|
@@ -1362,6 +1436,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1362
1436
|
*
|
|
1363
1437
|
* @example
|
|
1364
1438
|
* 1
|
|
1439
|
+
*
|
|
1440
|
+
* @deprecated
|
|
1365
1441
|
*/
|
|
1366
1442
|
chargeType?: string;
|
|
1367
1443
|
/**
|
|
@@ -1960,6 +2036,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1960
2036
|
*
|
|
1961
2037
|
* @example
|
|
1962
2038
|
* FY2023
|
|
2039
|
+
*
|
|
2040
|
+
* @deprecated
|
|
1963
2041
|
*/
|
|
1964
2042
|
period?: number;
|
|
1965
2043
|
/**
|
|
@@ -1972,6 +2050,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1972
2050
|
*
|
|
1973
2051
|
* @example
|
|
1974
2052
|
* Month
|
|
2053
|
+
*
|
|
2054
|
+
* @deprecated
|
|
1975
2055
|
*/
|
|
1976
2056
|
periodUnit?: string;
|
|
1977
2057
|
/**
|
|
@@ -2587,6 +2667,16 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2587
2667
|
* @deprecated
|
|
2588
2668
|
*/
|
|
2589
2669
|
count?: number;
|
|
2670
|
+
/**
|
|
2671
|
+
* @remarks
|
|
2672
|
+
* Specifies whether set the network type of the pod to host network.
|
|
2673
|
+
*
|
|
2674
|
+
* * `true`: sets to host network.
|
|
2675
|
+
* * `false`: sets to container network.
|
|
2676
|
+
*
|
|
2677
|
+
* @example
|
|
2678
|
+
* true
|
|
2679
|
+
*/
|
|
2590
2680
|
hostNetwork?: boolean;
|
|
2591
2681
|
/**
|
|
2592
2682
|
* @remarks
|
|
@@ -2601,13 +2691,23 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2601
2691
|
* @remarks
|
|
2602
2692
|
* The network type of the edge node pool. This parameter takes effect only when the `type` of the node pool is set to `edge`. Valid values:
|
|
2603
2693
|
*
|
|
2604
|
-
* * `basic`:
|
|
2605
|
-
* * `private`:
|
|
2694
|
+
* * `basic`: Internet.
|
|
2695
|
+
* * `private`: private network.
|
|
2606
2696
|
*
|
|
2607
2697
|
* @example
|
|
2608
2698
|
* basic
|
|
2609
2699
|
*/
|
|
2610
2700
|
interconnectMode?: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* @remarks
|
|
2703
|
+
* Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3.
|
|
2704
|
+
*
|
|
2705
|
+
* * `true`: The nodes in the edge node pool can communicate with each other at Layer 3.
|
|
2706
|
+
* * `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
|
|
2707
|
+
*
|
|
2708
|
+
* @example
|
|
2709
|
+
* true
|
|
2710
|
+
*/
|
|
2611
2711
|
intranet?: boolean;
|
|
2612
2712
|
/**
|
|
2613
2713
|
* @remarks
|
|
@@ -2621,10 +2721,9 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2621
2721
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2622
2722
|
/**
|
|
2623
2723
|
* @remarks
|
|
2624
|
-
*
|
|
2724
|
+
* This parameter is deprecated.
|
|
2625
2725
|
*
|
|
2626
|
-
*
|
|
2627
|
-
* * This parameter is set to 0 for node pools whose types are ess or default edge node pools.
|
|
2726
|
+
* The maximum number of nodes that can be contained in the edge node pool.
|
|
2628
2727
|
*
|
|
2629
2728
|
* @example
|
|
2630
2729
|
* 10
|
|
@@ -4289,7 +4388,7 @@ export declare class DescribeClusterAttachScriptsRequest extends $tea.Model {
|
|
|
4289
4388
|
* * `true`: retains the instance name.
|
|
4290
4389
|
* * `false`: does not retain the instance name.
|
|
4291
4390
|
*
|
|
4292
|
-
* Default value: `true
|
|
4391
|
+
* Default value: `true`.
|
|
4293
4392
|
*
|
|
4294
4393
|
* @example
|
|
4295
4394
|
* true
|
|
@@ -4297,9 +4396,9 @@ export declare class DescribeClusterAttachScriptsRequest extends $tea.Model {
|
|
|
4297
4396
|
keepInstanceName?: boolean;
|
|
4298
4397
|
/**
|
|
4299
4398
|
* @remarks
|
|
4300
|
-
* The ID of the node pool to which you want to add an existing node.
|
|
4399
|
+
* The ID of the node pool to which you want to add an existing node.
|
|
4301
4400
|
*
|
|
4302
|
-
* > If you do not specify a node pool ID, the node is added to
|
|
4401
|
+
* > If you do not specify a node pool ID, the node is added to a default node pool.
|
|
4303
4402
|
*
|
|
4304
4403
|
* @example
|
|
4305
4404
|
* np1c9229d9be2d432c93f77a88fca0****
|
|
@@ -4317,7 +4416,7 @@ export declare class DescribeClusterAttachScriptsRequest extends $tea.Model {
|
|
|
4317
4416
|
options?: string;
|
|
4318
4417
|
/**
|
|
4319
4418
|
* @remarks
|
|
4320
|
-
*
|
|
4419
|
+
* The ApsaraDB RDS instances. If you specify a list of ApsaraDB RDS instances, ECS instances in the cluster are automatically added to the whitelist of the ApsaraDB RDS instances.
|
|
4321
4420
|
*/
|
|
4322
4421
|
rdsInstances?: string[];
|
|
4323
4422
|
static names(): {
|
|
@@ -4817,6 +4916,13 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4817
4916
|
* The auto scaling configuration of the node pool.
|
|
4818
4917
|
*/
|
|
4819
4918
|
autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
4919
|
+
/**
|
|
4920
|
+
* @remarks
|
|
4921
|
+
* Indicates whether the pods in the edge node pool can use the host network.
|
|
4922
|
+
*
|
|
4923
|
+
* @example
|
|
4924
|
+
* true
|
|
4925
|
+
*/
|
|
4820
4926
|
hostNetwork?: boolean;
|
|
4821
4927
|
/**
|
|
4822
4928
|
* @remarks
|
|
@@ -4831,10 +4937,17 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4831
4937
|
* improved
|
|
4832
4938
|
*/
|
|
4833
4939
|
interconnectMode?: string;
|
|
4940
|
+
/**
|
|
4941
|
+
* @remarks
|
|
4942
|
+
* Indicates whether all nodes in the edge node pool can communicate with each other at Layer 3.
|
|
4943
|
+
*
|
|
4944
|
+
* @example
|
|
4945
|
+
* true
|
|
4946
|
+
*/
|
|
4834
4947
|
intranet?: boolean;
|
|
4835
4948
|
/**
|
|
4836
4949
|
* @remarks
|
|
4837
|
-
* The configurations of the cluster
|
|
4950
|
+
* The configurations of the cluster.
|
|
4838
4951
|
*/
|
|
4839
4952
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
4840
4953
|
/**
|
|
@@ -4852,7 +4965,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4852
4965
|
maxNodes?: number;
|
|
4853
4966
|
/**
|
|
4854
4967
|
* @remarks
|
|
4855
|
-
*
|
|
4968
|
+
* The node configurations.
|
|
4856
4969
|
*/
|
|
4857
4970
|
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
4858
4971
|
/**
|
|
@@ -4862,7 +4975,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4862
4975
|
nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
|
|
4863
4976
|
/**
|
|
4864
4977
|
* @remarks
|
|
4865
|
-
* The configurations of the scaling group.
|
|
4978
|
+
* The configurations of the scaling group used by the node pool.
|
|
4866
4979
|
*/
|
|
4867
4980
|
scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
|
|
4868
4981
|
/**
|
|
@@ -5235,6 +5348,7 @@ export declare class DescribeClusterUserKubeconfigResponse extends $tea.Model {
|
|
|
5235
5348
|
}
|
|
5236
5349
|
export declare class DescribeClusterV2UserKubeconfigRequest extends $tea.Model {
|
|
5237
5350
|
privateIpAddress?: boolean;
|
|
5351
|
+
temporaryDurationMinutes?: number;
|
|
5238
5352
|
static names(): {
|
|
5239
5353
|
[key: string]: string;
|
|
5240
5354
|
};
|
|
@@ -5351,36 +5465,57 @@ export declare class DescribeClustersResponse extends $tea.Model {
|
|
|
5351
5465
|
}
|
|
5352
5466
|
export declare class DescribeClustersForRegionRequest extends $tea.Model {
|
|
5353
5467
|
/**
|
|
5468
|
+
* @remarks
|
|
5469
|
+
* The cluster ID.
|
|
5470
|
+
*
|
|
5354
5471
|
* @example
|
|
5355
5472
|
* c8155823d057948c69a****
|
|
5356
5473
|
*/
|
|
5357
5474
|
clusterId?: string;
|
|
5358
5475
|
/**
|
|
5476
|
+
* @remarks
|
|
5477
|
+
* The specification of the cluster.
|
|
5478
|
+
*
|
|
5359
5479
|
* @example
|
|
5360
5480
|
* ack.standard
|
|
5361
5481
|
*/
|
|
5362
5482
|
clusterSpec?: string;
|
|
5363
5483
|
/**
|
|
5484
|
+
* @remarks
|
|
5485
|
+
* The type of the cluster.
|
|
5486
|
+
*
|
|
5364
5487
|
* @example
|
|
5365
5488
|
* Kubernetes
|
|
5366
5489
|
*/
|
|
5367
5490
|
clusterType?: string;
|
|
5368
5491
|
/**
|
|
5492
|
+
* @remarks
|
|
5493
|
+
* Perform a fuzzy search by using the cluster name.
|
|
5494
|
+
*
|
|
5369
5495
|
* @example
|
|
5370
5496
|
* test-cluster
|
|
5371
5497
|
*/
|
|
5372
5498
|
name?: string;
|
|
5373
5499
|
/**
|
|
5500
|
+
* @remarks
|
|
5501
|
+
* The number of pages.
|
|
5502
|
+
*
|
|
5374
5503
|
* @example
|
|
5375
5504
|
* 10
|
|
5376
5505
|
*/
|
|
5377
5506
|
pageNumber?: number;
|
|
5378
5507
|
/**
|
|
5508
|
+
* @remarks
|
|
5509
|
+
* The number of records on each page.
|
|
5510
|
+
*
|
|
5379
5511
|
* @example
|
|
5380
5512
|
* 3
|
|
5381
5513
|
*/
|
|
5382
5514
|
pageSize?: number;
|
|
5383
5515
|
/**
|
|
5516
|
+
* @remarks
|
|
5517
|
+
* The identifier of the cluster.
|
|
5518
|
+
*
|
|
5384
5519
|
* @example
|
|
5385
5520
|
* Serverless
|
|
5386
5521
|
*/
|
|
@@ -5396,7 +5531,15 @@ export declare class DescribeClustersForRegionRequest extends $tea.Model {
|
|
|
5396
5531
|
});
|
|
5397
5532
|
}
|
|
5398
5533
|
export declare class DescribeClustersForRegionResponseBody extends $tea.Model {
|
|
5534
|
+
/**
|
|
5535
|
+
* @remarks
|
|
5536
|
+
* The details of the clusters.
|
|
5537
|
+
*/
|
|
5399
5538
|
clusters?: DescribeClustersForRegionResponseBodyClusters[];
|
|
5539
|
+
/**
|
|
5540
|
+
* @remarks
|
|
5541
|
+
* The pagination details.
|
|
5542
|
+
*/
|
|
5400
5543
|
pageInfo?: DescribeClustersForRegionResponseBodyPageInfo;
|
|
5401
5544
|
static names(): {
|
|
5402
5545
|
[key: string]: string;
|
|
@@ -5928,16 +6071,25 @@ export declare class DescribeEventsResponse extends $tea.Model {
|
|
|
5928
6071
|
}
|
|
5929
6072
|
export declare class DescribeEventsForRegionRequest extends $tea.Model {
|
|
5930
6073
|
/**
|
|
6074
|
+
* @remarks
|
|
6075
|
+
* The cluster ID.
|
|
6076
|
+
*
|
|
5931
6077
|
* @example
|
|
5932
6078
|
* cf62854ac2130470897be7a27ed1f****
|
|
5933
6079
|
*/
|
|
5934
6080
|
clusterId?: string;
|
|
5935
6081
|
/**
|
|
6082
|
+
* @remarks
|
|
6083
|
+
* The number of pages.
|
|
6084
|
+
*
|
|
5936
6085
|
* @example
|
|
5937
6086
|
* 1
|
|
5938
6087
|
*/
|
|
5939
6088
|
pageNumber?: number;
|
|
5940
6089
|
/**
|
|
6090
|
+
* @remarks
|
|
6091
|
+
* The number of records on each page.
|
|
6092
|
+
*
|
|
5941
6093
|
* @example
|
|
5942
6094
|
* 50
|
|
5943
6095
|
*/
|
|
@@ -5953,7 +6105,15 @@ export declare class DescribeEventsForRegionRequest extends $tea.Model {
|
|
|
5953
6105
|
});
|
|
5954
6106
|
}
|
|
5955
6107
|
export declare class DescribeEventsForRegionResponseBody extends $tea.Model {
|
|
6108
|
+
/**
|
|
6109
|
+
* @remarks
|
|
6110
|
+
* The events.
|
|
6111
|
+
*/
|
|
5956
6112
|
events?: DescribeEventsForRegionResponseBodyEvents[];
|
|
6113
|
+
/**
|
|
6114
|
+
* @remarks
|
|
6115
|
+
* The pagination details.
|
|
6116
|
+
*/
|
|
5957
6117
|
pageInfo?: DescribeEventsForRegionResponseBodyPageInfo;
|
|
5958
6118
|
static names(): {
|
|
5959
6119
|
[key: string]: string;
|
|
@@ -8779,17 +8939,17 @@ export declare class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
8779
8939
|
export declare class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
8780
8940
|
/**
|
|
8781
8941
|
* @remarks
|
|
8782
|
-
* The
|
|
8942
|
+
* The kubelet configuration.
|
|
8783
8943
|
*/
|
|
8784
8944
|
kubeletConfig?: KubeletConfig;
|
|
8785
8945
|
/**
|
|
8786
8946
|
* @remarks
|
|
8787
|
-
*
|
|
8947
|
+
* The OS configuration.
|
|
8788
8948
|
*/
|
|
8789
8949
|
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
8790
8950
|
/**
|
|
8791
8951
|
* @remarks
|
|
8792
|
-
* The rotation
|
|
8952
|
+
* The rotation configuration.
|
|
8793
8953
|
*/
|
|
8794
8954
|
rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
8795
8955
|
static names(): {
|
|
@@ -11086,6 +11246,38 @@ export declare class UpgradeClusterNodepoolResponse extends $tea.Model {
|
|
|
11086
11246
|
[key: string]: any;
|
|
11087
11247
|
});
|
|
11088
11248
|
}
|
|
11249
|
+
export declare class KubeletConfigReservedMemory extends $tea.Model {
|
|
11250
|
+
limits?: {
|
|
11251
|
+
[key: string]: any;
|
|
11252
|
+
};
|
|
11253
|
+
numaNode?: number;
|
|
11254
|
+
static names(): {
|
|
11255
|
+
[key: string]: string;
|
|
11256
|
+
};
|
|
11257
|
+
static types(): {
|
|
11258
|
+
[key: string]: any;
|
|
11259
|
+
};
|
|
11260
|
+
constructor(map?: {
|
|
11261
|
+
[key: string]: any;
|
|
11262
|
+
});
|
|
11263
|
+
}
|
|
11264
|
+
export declare class KubeletConfigTracing extends $tea.Model {
|
|
11265
|
+
/**
|
|
11266
|
+
* @example
|
|
11267
|
+
* localhost:4317
|
|
11268
|
+
*/
|
|
11269
|
+
endpoint?: string;
|
|
11270
|
+
samplingRatePerMillion?: number;
|
|
11271
|
+
static names(): {
|
|
11272
|
+
[key: string]: string;
|
|
11273
|
+
};
|
|
11274
|
+
static types(): {
|
|
11275
|
+
[key: string]: any;
|
|
11276
|
+
};
|
|
11277
|
+
constructor(map?: {
|
|
11278
|
+
[key: string]: any;
|
|
11279
|
+
});
|
|
11280
|
+
}
|
|
11089
11281
|
export declare class NodepoolAutoScaling extends $tea.Model {
|
|
11090
11282
|
/**
|
|
11091
11283
|
* @example
|
|
@@ -12078,7 +12270,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
12078
12270
|
* * `true`: installs the CloudMonitor agent on ECS nodes.
|
|
12079
12271
|
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
12080
12272
|
*
|
|
12081
|
-
* Default value: `false
|
|
12273
|
+
* Default value: `false`
|
|
12082
12274
|
*
|
|
12083
12275
|
* @example
|
|
12084
12276
|
* true
|
|
@@ -12147,7 +12339,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
12147
12339
|
runtimeVersion?: string;
|
|
12148
12340
|
/**
|
|
12149
12341
|
* @remarks
|
|
12150
|
-
* The
|
|
12342
|
+
* The configuration of the taint.
|
|
12151
12343
|
*/
|
|
12152
12344
|
taints?: Taint[];
|
|
12153
12345
|
/**
|
|
@@ -12302,7 +12494,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
12302
12494
|
* @remarks
|
|
12303
12495
|
* The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
|
|
12304
12496
|
*
|
|
12305
|
-
* Default value: 1
|
|
12497
|
+
* Default value: 1
|
|
12306
12498
|
*
|
|
12307
12499
|
* @example
|
|
12308
12500
|
* 1
|
|
@@ -12537,7 +12729,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
12537
12729
|
export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
|
|
12538
12730
|
/**
|
|
12539
12731
|
* @remarks
|
|
12540
|
-
* The
|
|
12732
|
+
* The tag key.
|
|
12541
12733
|
*
|
|
12542
12734
|
* @example
|
|
12543
12735
|
* node-k-1
|
|
@@ -12545,7 +12737,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.M
|
|
|
12545
12737
|
key?: string;
|
|
12546
12738
|
/**
|
|
12547
12739
|
* @remarks
|
|
12548
|
-
* The
|
|
12740
|
+
* The tag value.
|
|
12549
12741
|
*
|
|
12550
12742
|
* @example
|
|
12551
12743
|
* node-v-1
|
|
@@ -12569,7 +12761,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12569
12761
|
* * `true`: enables auto-renewal.
|
|
12570
12762
|
* * `false`: disables auto-renewal.
|
|
12571
12763
|
*
|
|
12572
|
-
* Default value: `false
|
|
12764
|
+
* Default value: `false`
|
|
12573
12765
|
*
|
|
12574
12766
|
* @example
|
|
12575
12767
|
* true
|
|
@@ -12577,9 +12769,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12577
12769
|
autoRenew?: boolean;
|
|
12578
12770
|
/**
|
|
12579
12771
|
* @remarks
|
|
12580
|
-
* The auto-renewal
|
|
12772
|
+
* The auto-renewal period. Valid values:
|
|
12581
12773
|
*
|
|
12582
|
-
*
|
|
12774
|
+
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3
|
|
12775
|
+
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
12776
|
+
*
|
|
12777
|
+
* Default value: 1
|
|
12583
12778
|
*
|
|
12584
12779
|
* @example
|
|
12585
12780
|
* 1
|
|
@@ -13664,10 +13859,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13664
13859
|
cpuPolicy?: string;
|
|
13665
13860
|
/**
|
|
13666
13861
|
* @remarks
|
|
13667
|
-
* The labels
|
|
13862
|
+
* The labels that you want to add to the nodes in the cluster. You must add labels based on the following rules:
|
|
13668
13863
|
*
|
|
13669
|
-
* *
|
|
13670
|
-
* *
|
|
13864
|
+
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
13865
|
+
* * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
13671
13866
|
*/
|
|
13672
13867
|
labels?: Tag[];
|
|
13673
13868
|
/**
|
|
@@ -13686,6 +13881,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13686
13881
|
/**
|
|
13687
13882
|
* @remarks
|
|
13688
13883
|
* The custom script to be executed before nodes in the node pool are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
13884
|
+
*
|
|
13885
|
+
* @example
|
|
13886
|
+
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
13689
13887
|
*/
|
|
13690
13888
|
preUserData?: string;
|
|
13691
13889
|
/**
|
|
@@ -13706,7 +13904,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13706
13904
|
runtimeVersion?: string;
|
|
13707
13905
|
/**
|
|
13708
13906
|
* @remarks
|
|
13709
|
-
* The taints
|
|
13907
|
+
* The taints that you want to add to nodes. Taints can be used together with tolerations to prevent pods from being scheduled to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
13710
13908
|
*/
|
|
13711
13909
|
taints?: Taint[];
|
|
13712
13910
|
/**
|
|
@@ -13920,7 +14118,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
13920
14118
|
export declare class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
|
|
13921
14119
|
/**
|
|
13922
14120
|
* @remarks
|
|
13923
|
-
*
|
|
14121
|
+
* The configurations of the kubelet.
|
|
13924
14122
|
*/
|
|
13925
14123
|
kubeletConfiguration?: KubeletConfig;
|
|
13926
14124
|
static names(): {
|
|
@@ -14115,7 +14313,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14115
14313
|
compensateWithOnDemand?: boolean;
|
|
14116
14314
|
/**
|
|
14117
14315
|
* @remarks
|
|
14118
|
-
* The configurations of the data disks that are attached to the nodes in the node pool. The configurations include the disk
|
|
14316
|
+
* The configurations of the data disks that are attached to the nodes in the node pool. The configurations include the disk category and disk size.
|
|
14119
14317
|
*/
|
|
14120
14318
|
dataDisks?: DataDisk[];
|
|
14121
14319
|
/**
|
|
@@ -14163,7 +14361,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14163
14361
|
instanceChargeType?: string;
|
|
14164
14362
|
/**
|
|
14165
14363
|
* @remarks
|
|
14166
|
-
*
|
|
14364
|
+
* The instance properties.
|
|
14167
14365
|
*/
|
|
14168
14366
|
instancePatterns?: InstancePatterns[];
|
|
14169
14367
|
/**
|
|
@@ -14408,14 +14606,14 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14408
14606
|
systemDiskBurstingEnabled?: boolean;
|
|
14409
14607
|
/**
|
|
14410
14608
|
* @remarks
|
|
14411
|
-
* The system disk
|
|
14609
|
+
* The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values: Valid values:
|
|
14412
14610
|
*
|
|
14413
|
-
* * `cloud`: basic disk
|
|
14414
|
-
* * `cloud_efficiency`: ultra disk
|
|
14415
|
-
* * `cloud_ssd`: standard SSD
|
|
14416
|
-
* * `cloud_essd`: ESSD
|
|
14417
|
-
* * `cloud_auto`: ESSD AutoPL disk
|
|
14418
|
-
* * `cloud_essd_entry`: ESSD Entry disk
|
|
14611
|
+
* * `cloud`: basic disk.
|
|
14612
|
+
* * `cloud_efficiency`: ultra disk.
|
|
14613
|
+
* * `cloud_ssd`: standard SSD.
|
|
14614
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
14615
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
14616
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
14419
14617
|
*
|
|
14420
14618
|
* Default value: `cloud_efficiency`.
|
|
14421
14619
|
*/
|
|
@@ -14439,7 +14637,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14439
14637
|
systemDiskCategory?: string;
|
|
14440
14638
|
/**
|
|
14441
14639
|
* @remarks
|
|
14442
|
-
*
|
|
14640
|
+
* The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
|
|
14443
14641
|
*
|
|
14444
14642
|
* @example
|
|
14445
14643
|
* aes-256
|
|
@@ -14492,9 +14690,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14492
14690
|
systemDiskSize?: number;
|
|
14493
14691
|
/**
|
|
14494
14692
|
* @remarks
|
|
14495
|
-
* The labels that you want to add to
|
|
14693
|
+
* The labels that you want to add only to ECS instances.
|
|
14496
14694
|
*
|
|
14497
|
-
*
|
|
14695
|
+
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: or contain https:// or http://.
|
|
14498
14696
|
*/
|
|
14499
14697
|
tags?: Tag[];
|
|
14500
14698
|
/**
|
|
@@ -16487,92 +16685,165 @@ export declare class DescribeClustersResponseBody extends $tea.Model {
|
|
|
16487
16685
|
}
|
|
16488
16686
|
export declare class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
|
|
16489
16687
|
/**
|
|
16688
|
+
* @remarks
|
|
16689
|
+
* The domain name of the cluster.
|
|
16690
|
+
*
|
|
16490
16691
|
* @example
|
|
16491
16692
|
* cluster.local
|
|
16492
16693
|
*/
|
|
16493
16694
|
clusterDomain?: string;
|
|
16494
16695
|
/**
|
|
16696
|
+
* @remarks
|
|
16697
|
+
* The cluster ID.
|
|
16698
|
+
*
|
|
16495
16699
|
* @example
|
|
16496
16700
|
* c905d1364c2dd4b6284a3f41790c4****
|
|
16497
16701
|
*/
|
|
16498
16702
|
clusterId?: string;
|
|
16499
16703
|
/**
|
|
16704
|
+
* @remarks
|
|
16705
|
+
* The types of ACK managed clusters:
|
|
16706
|
+
*
|
|
16707
|
+
* * ack.pro.small: ACK Pro cluster
|
|
16708
|
+
* * ack.standard: ACK Basic cluster
|
|
16709
|
+
*
|
|
16500
16710
|
* @example
|
|
16501
16711
|
* ack.standard
|
|
16502
16712
|
*/
|
|
16503
16713
|
clusterSpec?: string;
|
|
16504
16714
|
/**
|
|
16715
|
+
* @remarks
|
|
16716
|
+
* The type of the cluster. Valid values:
|
|
16717
|
+
*
|
|
16718
|
+
* * Kubernetes: ACK dedicated cluster
|
|
16719
|
+
* * ManagedKubernetes: ACK managed clusters. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
|
|
16720
|
+
* * ExternalKubernetes: registered cluster
|
|
16721
|
+
*
|
|
16505
16722
|
* @example
|
|
16506
16723
|
* ManagedKubernetes
|
|
16507
16724
|
*/
|
|
16508
16725
|
clusterType?: string;
|
|
16509
16726
|
/**
|
|
16727
|
+
* @remarks
|
|
16728
|
+
* The CIDR block of pods in the cluster.
|
|
16729
|
+
*
|
|
16510
16730
|
* @example
|
|
16511
16731
|
* 172.20.0.0/16
|
|
16512
16732
|
*/
|
|
16513
16733
|
containerCidr?: string;
|
|
16514
16734
|
/**
|
|
16735
|
+
* @remarks
|
|
16736
|
+
* The time at which the instance is created.
|
|
16737
|
+
*
|
|
16515
16738
|
* @example
|
|
16516
16739
|
* 2020-12-01T20:40:40+08:00
|
|
16517
16740
|
*/
|
|
16518
16741
|
created?: string;
|
|
16519
16742
|
/**
|
|
16743
|
+
* @remarks
|
|
16744
|
+
* The current Kubernetes version of the cluster.
|
|
16745
|
+
*
|
|
16520
16746
|
* @example
|
|
16521
16747
|
* 1.16.6-aliyun.1
|
|
16522
16748
|
*/
|
|
16523
16749
|
currentVersion?: string;
|
|
16524
16750
|
/**
|
|
16751
|
+
* @remarks
|
|
16752
|
+
* Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. You can obtain the terminal ID by calling one of the following operations:
|
|
16753
|
+
*
|
|
16754
|
+
* * true: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
|
|
16755
|
+
* * false: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
|
|
16756
|
+
*
|
|
16525
16757
|
* @example
|
|
16526
16758
|
* false
|
|
16527
16759
|
*/
|
|
16528
16760
|
deletionProtection?: boolean;
|
|
16529
16761
|
/**
|
|
16762
|
+
* @remarks
|
|
16763
|
+
* The initial Kubernetes version of the cluster.
|
|
16764
|
+
*
|
|
16530
16765
|
* @example
|
|
16531
16766
|
* 1.16.6-aliyun.1
|
|
16532
16767
|
*/
|
|
16533
16768
|
initVersion?: string;
|
|
16534
16769
|
/**
|
|
16770
|
+
* @remarks
|
|
16771
|
+
* The IP protocol stack of the cluster.
|
|
16772
|
+
*
|
|
16535
16773
|
* @example
|
|
16536
16774
|
* ipv4
|
|
16537
16775
|
*/
|
|
16538
16776
|
ipStack?: string;
|
|
16539
16777
|
/**
|
|
16778
|
+
* @remarks
|
|
16779
|
+
* The name of the cluster.
|
|
16780
|
+
*
|
|
16540
16781
|
* @example
|
|
16541
16782
|
* test-cluster
|
|
16542
16783
|
*/
|
|
16543
16784
|
name?: string;
|
|
16544
16785
|
/**
|
|
16786
|
+
* @remarks
|
|
16787
|
+
* The Kubernetes version to which the cluster can be updated.
|
|
16788
|
+
*
|
|
16545
16789
|
* @example
|
|
16546
16790
|
* 1.18.8-aliyun.1
|
|
16547
16791
|
*/
|
|
16548
16792
|
nextVersion?: string;
|
|
16549
16793
|
/**
|
|
16794
|
+
* @remarks
|
|
16795
|
+
* The subtype of the cluster. Valid values:
|
|
16796
|
+
*
|
|
16797
|
+
* * Default: ACK managed clusters. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
16798
|
+
* * Edge: ACK Edge clusters. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
16799
|
+
* * Serverless: ACK Serverless clusters. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
16800
|
+
* * Lingjun: ACK Lingjun Pro clusters.
|
|
16801
|
+
*
|
|
16550
16802
|
* @example
|
|
16551
16803
|
* Default
|
|
16552
16804
|
*/
|
|
16553
16805
|
profile?: string;
|
|
16554
16806
|
/**
|
|
16807
|
+
* @remarks
|
|
16808
|
+
* The kube-proxy mode of the cluster.
|
|
16809
|
+
*
|
|
16810
|
+
* Valid value:
|
|
16811
|
+
*
|
|
16812
|
+
* * iptables: iptables.
|
|
16813
|
+
* * ipvs: ipvs.
|
|
16814
|
+
*
|
|
16555
16815
|
* @example
|
|
16556
16816
|
* ipvs
|
|
16557
16817
|
*/
|
|
16558
16818
|
proxyMode?: string;
|
|
16559
16819
|
/**
|
|
16820
|
+
* @remarks
|
|
16821
|
+
* The region ID.
|
|
16822
|
+
*
|
|
16560
16823
|
* @example
|
|
16561
16824
|
* cn-beijing-a
|
|
16562
16825
|
*/
|
|
16563
16826
|
regionId?: string;
|
|
16564
16827
|
/**
|
|
16828
|
+
* @remarks
|
|
16829
|
+
* The ID of the cluster resource group.
|
|
16830
|
+
*
|
|
16565
16831
|
* @example
|
|
16566
16832
|
* rg-acfmyvw3wjm****
|
|
16567
16833
|
*/
|
|
16568
16834
|
resourceGroupId?: string;
|
|
16569
16835
|
/**
|
|
16836
|
+
* @remarks
|
|
16837
|
+
* The ID of the security group of the cluster.
|
|
16838
|
+
*
|
|
16570
16839
|
* @example
|
|
16571
16840
|
* sg-2zeihch86ooz9io4****
|
|
16572
16841
|
*/
|
|
16573
16842
|
securityGroupId?: string;
|
|
16574
16843
|
/**
|
|
16575
16844
|
* @remarks
|
|
16845
|
+
* The CIDR block of the service network.
|
|
16846
|
+
*
|
|
16576
16847
|
* This parameter is required.
|
|
16577
16848
|
*
|
|
16578
16849
|
* @example
|
|
@@ -16580,31 +16851,67 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $tea.
|
|
|
16580
16851
|
*/
|
|
16581
16852
|
serviceCidr?: string;
|
|
16582
16853
|
/**
|
|
16854
|
+
* @remarks
|
|
16855
|
+
* The number of nodes in the ACK cluster.
|
|
16856
|
+
*
|
|
16583
16857
|
* @example
|
|
16584
16858
|
* 2
|
|
16585
16859
|
*/
|
|
16586
16860
|
size?: number;
|
|
16587
16861
|
/**
|
|
16862
|
+
* @remarks
|
|
16863
|
+
* The status of the cluster. Valid values:
|
|
16864
|
+
*
|
|
16865
|
+
* * initial: The cluster is being created.
|
|
16866
|
+
* * failed: The cluster failed to be created.
|
|
16867
|
+
* * running: The cluster is running.
|
|
16868
|
+
* * Upgrading: The cluster is being updated.
|
|
16869
|
+
* * scaling: The cluster is being scaled.
|
|
16870
|
+
* * waiting: The cluster is waiting for connection requests.
|
|
16871
|
+
* * disconnected: The cluster is disconnected.
|
|
16872
|
+
* * inactive: The cluster is inactive.
|
|
16873
|
+
* * unavailable: The cluster is unavailable.
|
|
16874
|
+
* * deleting: The cluster is being deleted.
|
|
16875
|
+
* * deleted: The ACK cluster is deleted.
|
|
16876
|
+
* * delete_failed: The cluster failed to be deleted.
|
|
16877
|
+
*
|
|
16588
16878
|
* @example
|
|
16589
16879
|
* running
|
|
16590
16880
|
*/
|
|
16591
16881
|
state?: string;
|
|
16882
|
+
/**
|
|
16883
|
+
* @remarks
|
|
16884
|
+
* The list of tags.
|
|
16885
|
+
*/
|
|
16592
16886
|
tags?: Tag[];
|
|
16593
16887
|
/**
|
|
16888
|
+
* @remarks
|
|
16889
|
+
* The time zone.
|
|
16890
|
+
*
|
|
16594
16891
|
* @example
|
|
16595
16892
|
* Asia/Shanghai
|
|
16596
16893
|
*/
|
|
16597
16894
|
timezone?: string;
|
|
16598
16895
|
/**
|
|
16896
|
+
* @remarks
|
|
16897
|
+
* The time when the cluster was updated.
|
|
16898
|
+
*
|
|
16599
16899
|
* @example
|
|
16600
16900
|
* 2020-12-08T15:37:00+08:00
|
|
16601
16901
|
*/
|
|
16602
16902
|
updated?: string;
|
|
16603
16903
|
/**
|
|
16904
|
+
* @remarks
|
|
16905
|
+
* The ID of the virtual private cloud (VPC) to which the cluster belongs.
|
|
16906
|
+
*
|
|
16604
16907
|
* @example
|
|
16605
16908
|
* vpc-2zeg8nf1ukc0fcmvq****
|
|
16606
16909
|
*/
|
|
16607
16910
|
vpcId?: string;
|
|
16911
|
+
/**
|
|
16912
|
+
* @remarks
|
|
16913
|
+
* The vSwitches for the control plane of the cluster.
|
|
16914
|
+
*/
|
|
16608
16915
|
vswitchIds?: string[];
|
|
16609
16916
|
static names(): {
|
|
16610
16917
|
[key: string]: string;
|
|
@@ -16618,16 +16925,25 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $tea.
|
|
|
16618
16925
|
}
|
|
16619
16926
|
export declare class DescribeClustersForRegionResponseBodyPageInfo extends $tea.Model {
|
|
16620
16927
|
/**
|
|
16928
|
+
* @remarks
|
|
16929
|
+
* The number of pages.
|
|
16930
|
+
*
|
|
16621
16931
|
* @example
|
|
16622
16932
|
* 1
|
|
16623
16933
|
*/
|
|
16624
16934
|
pageNumber?: number;
|
|
16625
16935
|
/**
|
|
16936
|
+
* @remarks
|
|
16937
|
+
* The number of records on each page.
|
|
16938
|
+
*
|
|
16626
16939
|
* @example
|
|
16627
16940
|
* 10
|
|
16628
16941
|
*/
|
|
16629
16942
|
pageSize?: number;
|
|
16630
16943
|
/**
|
|
16944
|
+
* @remarks
|
|
16945
|
+
* The total number of entries returned.
|
|
16946
|
+
*
|
|
16631
16947
|
* @example
|
|
16632
16948
|
* 10
|
|
16633
16949
|
*/
|
|
@@ -17435,16 +17751,25 @@ export declare class DescribeEventsResponseBodyPageInfo extends $tea.Model {
|
|
|
17435
17751
|
}
|
|
17436
17752
|
export declare class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
|
|
17437
17753
|
/**
|
|
17754
|
+
* @remarks
|
|
17755
|
+
* The severity level of the event.
|
|
17756
|
+
*
|
|
17438
17757
|
* @example
|
|
17439
17758
|
* info
|
|
17440
17759
|
*/
|
|
17441
17760
|
level?: string;
|
|
17442
17761
|
/**
|
|
17762
|
+
* @remarks
|
|
17763
|
+
* The details of the event.
|
|
17764
|
+
*
|
|
17443
17765
|
* @example
|
|
17444
17766
|
* Start to upgrade NodePool nodePool/nodePool-A
|
|
17445
17767
|
*/
|
|
17446
17768
|
message?: string;
|
|
17447
17769
|
/**
|
|
17770
|
+
* @remarks
|
|
17771
|
+
* The event status.
|
|
17772
|
+
*
|
|
17448
17773
|
* @example
|
|
17449
17774
|
* Started
|
|
17450
17775
|
*/
|
|
@@ -17461,28 +17786,51 @@ export declare class DescribeEventsForRegionResponseBodyEventsData extends $tea.
|
|
|
17461
17786
|
}
|
|
17462
17787
|
export declare class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
|
|
17463
17788
|
/**
|
|
17789
|
+
* @remarks
|
|
17790
|
+
* The cluster ID.
|
|
17791
|
+
*
|
|
17464
17792
|
* @example
|
|
17465
17793
|
* cluster-id
|
|
17466
17794
|
*/
|
|
17467
17795
|
clusterId?: string;
|
|
17796
|
+
/**
|
|
17797
|
+
* @remarks
|
|
17798
|
+
* The description of the event.
|
|
17799
|
+
*/
|
|
17468
17800
|
data?: DescribeEventsForRegionResponseBodyEventsData;
|
|
17469
17801
|
/**
|
|
17802
|
+
* @remarks
|
|
17803
|
+
* The event ID.
|
|
17804
|
+
*
|
|
17470
17805
|
* @example
|
|
17471
17806
|
* A234-1234-1234
|
|
17472
17807
|
*/
|
|
17473
17808
|
eventId?: string;
|
|
17809
|
+
/**
|
|
17810
|
+
* @remarks
|
|
17811
|
+
* The event source.
|
|
17812
|
+
*/
|
|
17474
17813
|
source?: string;
|
|
17475
17814
|
/**
|
|
17815
|
+
* @remarks
|
|
17816
|
+
* The object associated with the event.
|
|
17817
|
+
*
|
|
17476
17818
|
* @example
|
|
17477
17819
|
* nodePool-id
|
|
17478
17820
|
*/
|
|
17479
17821
|
subject?: string;
|
|
17480
17822
|
/**
|
|
17823
|
+
* @remarks
|
|
17824
|
+
* The time when the event was generated.
|
|
17825
|
+
*
|
|
17481
17826
|
* @example
|
|
17482
17827
|
* 2020-12-01T17:31:00Z
|
|
17483
17828
|
*/
|
|
17484
17829
|
time?: string;
|
|
17485
17830
|
/**
|
|
17831
|
+
* @remarks
|
|
17832
|
+
* The event type.
|
|
17833
|
+
*
|
|
17486
17834
|
* @example
|
|
17487
17835
|
* nodePool_upgrade
|
|
17488
17836
|
*/
|
|
@@ -17499,16 +17847,25 @@ export declare class DescribeEventsForRegionResponseBodyEvents extends $tea.Mode
|
|
|
17499
17847
|
}
|
|
17500
17848
|
export declare class DescribeEventsForRegionResponseBodyPageInfo extends $tea.Model {
|
|
17501
17849
|
/**
|
|
17850
|
+
* @remarks
|
|
17851
|
+
* The number of pages.
|
|
17852
|
+
*
|
|
17502
17853
|
* @example
|
|
17503
17854
|
* 1
|
|
17504
17855
|
*/
|
|
17505
17856
|
pageNumber?: number;
|
|
17506
17857
|
/**
|
|
17858
|
+
* @remarks
|
|
17859
|
+
* The number of records on each page.
|
|
17860
|
+
*
|
|
17507
17861
|
* @example
|
|
17508
17862
|
* 50
|
|
17509
17863
|
*/
|
|
17510
17864
|
pageSize?: number;
|
|
17511
17865
|
/**
|
|
17866
|
+
* @remarks
|
|
17867
|
+
* The total number of entries returned.
|
|
17868
|
+
*
|
|
17512
17869
|
* @example
|
|
17513
17870
|
* 3
|
|
17514
17871
|
*/
|
|
@@ -20974,7 +21331,7 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
20974
21331
|
export declare class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
|
|
20975
21332
|
/**
|
|
20976
21333
|
* @remarks
|
|
20977
|
-
* sysctl
|
|
21334
|
+
* The sysctl configuration.
|
|
20978
21335
|
*/
|
|
20979
21336
|
sysctl?: {
|
|
20980
21337
|
[key: string]: any;
|
|
@@ -21636,6 +21993,8 @@ export default class Client extends OpenApi {
|
|
|
21636
21993
|
/**
|
|
21637
21994
|
* You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
21638
21995
|
*
|
|
21996
|
+
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
21997
|
+
*
|
|
21639
21998
|
* @param request - CreateKubernetesTriggerRequest
|
|
21640
21999
|
* @param headers - map
|
|
21641
22000
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21647,6 +22006,8 @@ export default class Client extends OpenApi {
|
|
|
21647
22006
|
/**
|
|
21648
22007
|
* You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
21649
22008
|
*
|
|
22009
|
+
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
22010
|
+
*
|
|
21650
22011
|
* @param request - CreateKubernetesTriggerRequest
|
|
21651
22012
|
* @returns CreateKubernetesTriggerResponse
|
|
21652
22013
|
*/
|
|
@@ -21810,6 +22171,8 @@ export default class Client extends OpenApi {
|
|
|
21810
22171
|
/**
|
|
21811
22172
|
* You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
21812
22173
|
*
|
|
22174
|
+
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
22175
|
+
*
|
|
21813
22176
|
* @param headers - map
|
|
21814
22177
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
21815
22178
|
* @returns DeleteKubernetesTriggerResponse
|
|
@@ -21819,6 +22182,8 @@ export default class Client extends OpenApi {
|
|
|
21819
22182
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteKubernetesTriggerResponse>;
|
|
21820
22183
|
/**
|
|
21821
22184
|
* You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
22185
|
+
*
|
|
22186
|
+
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
21822
22187
|
* @returns DeleteKubernetesTriggerResponse
|
|
21823
22188
|
*/
|
|
21824
22189
|
deleteKubernetesTrigger(Id: string): Promise<DeleteKubernetesTriggerResponse>;
|
|
@@ -22266,7 +22631,7 @@ export default class Client extends OpenApi {
|
|
|
22266
22631
|
*/
|
|
22267
22632
|
describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse>;
|
|
22268
22633
|
/**
|
|
22269
|
-
*
|
|
22634
|
+
* Queries all clusters in a specified region.
|
|
22270
22635
|
*
|
|
22271
22636
|
* @param request - DescribeClustersForRegionRequest
|
|
22272
22637
|
* @param headers - map
|
|
@@ -22277,7 +22642,7 @@ export default class Client extends OpenApi {
|
|
|
22277
22642
|
[key: string]: string;
|
|
22278
22643
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersForRegionResponse>;
|
|
22279
22644
|
/**
|
|
22280
|
-
*
|
|
22645
|
+
* Queries all clusters in a specified region.
|
|
22281
22646
|
*
|
|
22282
22647
|
* @param request - DescribeClustersForRegionRequest
|
|
22283
22648
|
* @returns DescribeClustersForRegionResponse
|
|
@@ -22304,6 +22669,8 @@ export default class Client extends OpenApi {
|
|
|
22304
22669
|
/**
|
|
22305
22670
|
* You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
22306
22671
|
*
|
|
22672
|
+
* @deprecated OpenAPI DescribeEdgeMachineActiveProcess is deprecated
|
|
22673
|
+
*
|
|
22307
22674
|
* @param headers - map
|
|
22308
22675
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
22309
22676
|
* @returns DescribeEdgeMachineActiveProcessResponse
|
|
@@ -22313,6 +22680,8 @@ export default class Client extends OpenApi {
|
|
|
22313
22680
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineActiveProcessResponse>;
|
|
22314
22681
|
/**
|
|
22315
22682
|
* You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
22683
|
+
*
|
|
22684
|
+
* @deprecated OpenAPI DescribeEdgeMachineActiveProcess is deprecated
|
|
22316
22685
|
* @returns DescribeEdgeMachineActiveProcessResponse
|
|
22317
22686
|
*/
|
|
22318
22687
|
describeEdgeMachineActiveProcess(edgeMachineid: string): Promise<DescribeEdgeMachineActiveProcessResponse>;
|
|
@@ -22383,7 +22752,7 @@ export default class Client extends OpenApi {
|
|
|
22383
22752
|
*/
|
|
22384
22753
|
describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse>;
|
|
22385
22754
|
/**
|
|
22386
|
-
*
|
|
22755
|
+
* Queries all events in a specified region.
|
|
22387
22756
|
*
|
|
22388
22757
|
* @param request - DescribeEventsForRegionRequest
|
|
22389
22758
|
* @param headers - map
|
|
@@ -22394,7 +22763,7 @@ export default class Client extends OpenApi {
|
|
|
22394
22763
|
[key: string]: string;
|
|
22395
22764
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsForRegionResponse>;
|
|
22396
22765
|
/**
|
|
22397
|
-
*
|
|
22766
|
+
* Queries all events in a specified region.
|
|
22398
22767
|
*
|
|
22399
22768
|
* @param request - DescribeEventsForRegionRequest
|
|
22400
22769
|
* @returns DescribeEventsForRegionResponse
|
|
@@ -22406,6 +22775,8 @@ export default class Client extends OpenApi {
|
|
|
22406
22775
|
* @remarks
|
|
22407
22776
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
22408
22777
|
*
|
|
22778
|
+
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
22779
|
+
*
|
|
22409
22780
|
* @param request - DescribeExternalAgentRequest
|
|
22410
22781
|
* @param headers - map
|
|
22411
22782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22420,6 +22791,8 @@ export default class Client extends OpenApi {
|
|
|
22420
22791
|
* @remarks
|
|
22421
22792
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
22422
22793
|
*
|
|
22794
|
+
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
22795
|
+
*
|
|
22423
22796
|
* @param request - DescribeExternalAgentRequest
|
|
22424
22797
|
* @returns DescribeExternalAgentResponse
|
|
22425
22798
|
*/
|
|
@@ -22707,6 +23080,8 @@ export default class Client extends OpenApi {
|
|
|
22707
23080
|
/**
|
|
22708
23081
|
* You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
22709
23082
|
*
|
|
23083
|
+
* @deprecated OpenAPI EdgeClusterAddEdgeMachine is deprecated
|
|
23084
|
+
*
|
|
22710
23085
|
* @param request - EdgeClusterAddEdgeMachineRequest
|
|
22711
23086
|
* @param headers - map
|
|
22712
23087
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22718,6 +23093,8 @@ export default class Client extends OpenApi {
|
|
|
22718
23093
|
/**
|
|
22719
23094
|
* You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
22720
23095
|
*
|
|
23096
|
+
* @deprecated OpenAPI EdgeClusterAddEdgeMachine is deprecated
|
|
23097
|
+
*
|
|
22721
23098
|
* @param request - EdgeClusterAddEdgeMachineRequest
|
|
22722
23099
|
* @returns EdgeClusterAddEdgeMachineResponse
|
|
22723
23100
|
*/
|
|
@@ -22830,6 +23207,8 @@ export default class Client extends OpenApi {
|
|
|
22830
23207
|
/**
|
|
22831
23208
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
22832
23209
|
*
|
|
23210
|
+
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
23211
|
+
*
|
|
22833
23212
|
* @param request - GetKubernetesTriggerRequest
|
|
22834
23213
|
* @param headers - map
|
|
22835
23214
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22841,6 +23220,8 @@ export default class Client extends OpenApi {
|
|
|
22841
23220
|
/**
|
|
22842
23221
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
22843
23222
|
*
|
|
23223
|
+
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
23224
|
+
*
|
|
22844
23225
|
* @param request - GetKubernetesTriggerRequest
|
|
22845
23226
|
* @returns GetKubernetesTriggerResponse
|
|
22846
23227
|
*/
|
|
@@ -23116,6 +23497,8 @@ export default class Client extends OpenApi {
|
|
|
23116
23497
|
/**
|
|
23117
23498
|
* This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
23118
23499
|
*
|
|
23500
|
+
* @deprecated OpenAPI ModifyClusterConfiguration is deprecated
|
|
23501
|
+
*
|
|
23119
23502
|
* @param request - ModifyClusterConfigurationRequest
|
|
23120
23503
|
* @param headers - map
|
|
23121
23504
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23127,6 +23510,8 @@ export default class Client extends OpenApi {
|
|
|
23127
23510
|
/**
|
|
23128
23511
|
* This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
23129
23512
|
*
|
|
23513
|
+
* @deprecated OpenAPI ModifyClusterConfiguration is deprecated
|
|
23514
|
+
*
|
|
23130
23515
|
* @param request - ModifyClusterConfigurationRequest
|
|
23131
23516
|
* @returns ModifyClusterConfigurationResponse
|
|
23132
23517
|
*/
|
|
@@ -23328,9 +23713,10 @@ export default class Client extends OpenApi {
|
|
|
23328
23713
|
* Removes nodes from a node pool.
|
|
23329
23714
|
*
|
|
23330
23715
|
* @remarks
|
|
23331
|
-
*
|
|
23332
|
-
*
|
|
23333
|
-
*
|
|
23716
|
+
* - When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
23717
|
+
* - The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
23718
|
+
* - When the system removes a node, it sets the status of the node to Unschedulable.
|
|
23719
|
+
* - The system removes only worker nodes. It does not remove master nodes.
|
|
23334
23720
|
*
|
|
23335
23721
|
* @param tmpReq - RemoveNodePoolNodesRequest
|
|
23336
23722
|
* @param headers - map
|
|
@@ -23344,9 +23730,10 @@ export default class Client extends OpenApi {
|
|
|
23344
23730
|
* Removes nodes from a node pool.
|
|
23345
23731
|
*
|
|
23346
23732
|
* @remarks
|
|
23347
|
-
*
|
|
23348
|
-
*
|
|
23349
|
-
*
|
|
23733
|
+
* - When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
23734
|
+
* - The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
23735
|
+
* - When the system removes a node, it sets the status of the node to Unschedulable.
|
|
23736
|
+
* - The system removes only worker nodes. It does not remove master nodes.
|
|
23350
23737
|
*
|
|
23351
23738
|
* @param request - RemoveNodePoolNodesRequest
|
|
23352
23739
|
* @returns RemoveNodePoolNodesResponse
|