@alicloud/cs20151215 4.8.2 → 4.8.4
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 +129 -0
- package/dist/client.js +156 -9
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +213 -2
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -224,6 +224,7 @@ export class InstancePatterns extends $tea.Model {
|
|
|
224
224
|
|
|
225
225
|
export class KubeletConfig extends $tea.Model {
|
|
226
226
|
allowedUnsafeSysctls?: string[];
|
|
227
|
+
clusterDNS?: string[];
|
|
227
228
|
/**
|
|
228
229
|
* @example
|
|
229
230
|
* 5
|
|
@@ -234,6 +235,16 @@ export class KubeletConfig extends $tea.Model {
|
|
|
234
235
|
* 10Mi
|
|
235
236
|
*/
|
|
236
237
|
containerLogMaxSize?: string;
|
|
238
|
+
/**
|
|
239
|
+
* @example
|
|
240
|
+
* true
|
|
241
|
+
*/
|
|
242
|
+
cpuCFSQuota?: boolean;
|
|
243
|
+
/**
|
|
244
|
+
* @example
|
|
245
|
+
* 100ms
|
|
246
|
+
*/
|
|
247
|
+
cpuCFSQuotaPeriod?: string;
|
|
237
248
|
/**
|
|
238
249
|
* @example
|
|
239
250
|
* none
|
|
@@ -253,6 +264,16 @@ export class KubeletConfig extends $tea.Model {
|
|
|
253
264
|
evictionSoft?: { [key: string]: any };
|
|
254
265
|
evictionSoftGracePeriod?: { [key: string]: any };
|
|
255
266
|
featureGates?: { [key: string]: any };
|
|
267
|
+
/**
|
|
268
|
+
* @example
|
|
269
|
+
* 85
|
|
270
|
+
*/
|
|
271
|
+
imageGCHighThresholdPercent?: number;
|
|
272
|
+
/**
|
|
273
|
+
* @example
|
|
274
|
+
* 80
|
|
275
|
+
*/
|
|
276
|
+
imageGCLowThresholdPercent?: number;
|
|
256
277
|
/**
|
|
257
278
|
* @example
|
|
258
279
|
* 10
|
|
@@ -269,6 +290,16 @@ export class KubeletConfig extends $tea.Model {
|
|
|
269
290
|
* 110
|
|
270
291
|
*/
|
|
271
292
|
maxPods?: number;
|
|
293
|
+
/**
|
|
294
|
+
* @example
|
|
295
|
+
* none
|
|
296
|
+
*/
|
|
297
|
+
memoryManagerPolicy?: string;
|
|
298
|
+
/**
|
|
299
|
+
* @example
|
|
300
|
+
* -1
|
|
301
|
+
*/
|
|
302
|
+
podPidsLimit?: number;
|
|
272
303
|
/**
|
|
273
304
|
* @example
|
|
274
305
|
* 0
|
|
@@ -284,17 +315,27 @@ export class KubeletConfig extends $tea.Model {
|
|
|
284
315
|
* 5
|
|
285
316
|
*/
|
|
286
317
|
registryPullQPS?: number;
|
|
318
|
+
reservedMemory?: KubeletConfigReservedMemory[];
|
|
287
319
|
/**
|
|
288
320
|
* @example
|
|
289
321
|
* true
|
|
290
322
|
*/
|
|
291
323
|
serializeImagePulls?: boolean;
|
|
292
324
|
systemReserved?: { [key: string]: any };
|
|
325
|
+
/**
|
|
326
|
+
* @example
|
|
327
|
+
* restricted
|
|
328
|
+
*/
|
|
329
|
+
topologyManagerPolicy?: string;
|
|
330
|
+
tracing?: KubeletConfigTracing;
|
|
293
331
|
static names(): { [key: string]: string } {
|
|
294
332
|
return {
|
|
295
333
|
allowedUnsafeSysctls: 'allowedUnsafeSysctls',
|
|
334
|
+
clusterDNS: 'clusterDNS',
|
|
296
335
|
containerLogMaxFiles: 'containerLogMaxFiles',
|
|
297
336
|
containerLogMaxSize: 'containerLogMaxSize',
|
|
337
|
+
cpuCFSQuota: 'cpuCFSQuota',
|
|
338
|
+
cpuCFSQuotaPeriod: 'cpuCFSQuotaPeriod',
|
|
298
339
|
cpuManagerPolicy: 'cpuManagerPolicy',
|
|
299
340
|
eventBurst: 'eventBurst',
|
|
300
341
|
eventRecordQPS: 'eventRecordQPS',
|
|
@@ -302,23 +343,33 @@ export class KubeletConfig extends $tea.Model {
|
|
|
302
343
|
evictionSoft: 'evictionSoft',
|
|
303
344
|
evictionSoftGracePeriod: 'evictionSoftGracePeriod',
|
|
304
345
|
featureGates: 'featureGates',
|
|
346
|
+
imageGCHighThresholdPercent: 'imageGCHighThresholdPercent',
|
|
347
|
+
imageGCLowThresholdPercent: 'imageGCLowThresholdPercent',
|
|
305
348
|
kubeAPIBurst: 'kubeAPIBurst',
|
|
306
349
|
kubeAPIQPS: 'kubeAPIQPS',
|
|
307
350
|
kubeReserved: 'kubeReserved',
|
|
308
351
|
maxPods: 'maxPods',
|
|
352
|
+
memoryManagerPolicy: 'memoryManagerPolicy',
|
|
353
|
+
podPidsLimit: 'podPidsLimit',
|
|
309
354
|
readOnlyPort: 'readOnlyPort',
|
|
310
355
|
registryBurst: 'registryBurst',
|
|
311
356
|
registryPullQPS: 'registryPullQPS',
|
|
357
|
+
reservedMemory: 'reservedMemory',
|
|
312
358
|
serializeImagePulls: 'serializeImagePulls',
|
|
313
359
|
systemReserved: 'systemReserved',
|
|
360
|
+
topologyManagerPolicy: 'topologyManagerPolicy',
|
|
361
|
+
tracing: 'tracing',
|
|
314
362
|
};
|
|
315
363
|
}
|
|
316
364
|
|
|
317
365
|
static types(): { [key: string]: any } {
|
|
318
366
|
return {
|
|
319
367
|
allowedUnsafeSysctls: { 'type': 'array', 'itemType': 'string' },
|
|
368
|
+
clusterDNS: { 'type': 'array', 'itemType': 'string' },
|
|
320
369
|
containerLogMaxFiles: 'number',
|
|
321
370
|
containerLogMaxSize: 'string',
|
|
371
|
+
cpuCFSQuota: 'boolean',
|
|
372
|
+
cpuCFSQuotaPeriod: 'string',
|
|
322
373
|
cpuManagerPolicy: 'string',
|
|
323
374
|
eventBurst: 'number',
|
|
324
375
|
eventRecordQPS: 'number',
|
|
@@ -326,15 +377,22 @@ export class KubeletConfig extends $tea.Model {
|
|
|
326
377
|
evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
327
378
|
evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
328
379
|
featureGates: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
380
|
+
imageGCHighThresholdPercent: 'number',
|
|
381
|
+
imageGCLowThresholdPercent: 'number',
|
|
329
382
|
kubeAPIBurst: 'number',
|
|
330
383
|
kubeAPIQPS: 'number',
|
|
331
384
|
kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
332
385
|
maxPods: 'number',
|
|
386
|
+
memoryManagerPolicy: 'string',
|
|
387
|
+
podPidsLimit: 'number',
|
|
333
388
|
readOnlyPort: 'number',
|
|
334
389
|
registryBurst: 'number',
|
|
335
390
|
registryPullQPS: 'number',
|
|
391
|
+
reservedMemory: { 'type': 'array', 'itemType': KubeletConfigReservedMemory },
|
|
336
392
|
serializeImagePulls: 'boolean',
|
|
337
393
|
systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
394
|
+
topologyManagerPolicy: 'string',
|
|
395
|
+
tracing: KubeletConfigTracing,
|
|
338
396
|
};
|
|
339
397
|
}
|
|
340
398
|
|
|
@@ -6930,15 +6988,18 @@ export class DescribeClusterUserKubeconfigResponse extends $tea.Model {
|
|
|
6930
6988
|
|
|
6931
6989
|
export class DescribeClusterV2UserKubeconfigRequest extends $tea.Model {
|
|
6932
6990
|
privateIpAddress?: boolean;
|
|
6991
|
+
temporaryDurationMinutes?: number;
|
|
6933
6992
|
static names(): { [key: string]: string } {
|
|
6934
6993
|
return {
|
|
6935
6994
|
privateIpAddress: 'PrivateIpAddress',
|
|
6995
|
+
temporaryDurationMinutes: 'TemporaryDurationMinutes',
|
|
6936
6996
|
};
|
|
6937
6997
|
}
|
|
6938
6998
|
|
|
6939
6999
|
static types(): { [key: string]: any } {
|
|
6940
7000
|
return {
|
|
6941
7001
|
privateIpAddress: 'boolean',
|
|
7002
|
+
temporaryDurationMinutes: 'number',
|
|
6942
7003
|
};
|
|
6943
7004
|
}
|
|
6944
7005
|
|
|
@@ -10401,13 +10462,40 @@ export class InstallClusterAddonsRequest extends $tea.Model {
|
|
|
10401
10462
|
}
|
|
10402
10463
|
}
|
|
10403
10464
|
|
|
10465
|
+
export class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
10466
|
+
clusterId?: string;
|
|
10467
|
+
requestId?: string;
|
|
10468
|
+
taskId?: string;
|
|
10469
|
+
static names(): { [key: string]: string } {
|
|
10470
|
+
return {
|
|
10471
|
+
clusterId: 'cluster_id',
|
|
10472
|
+
requestId: 'request_id',
|
|
10473
|
+
taskId: 'task_id',
|
|
10474
|
+
};
|
|
10475
|
+
}
|
|
10476
|
+
|
|
10477
|
+
static types(): { [key: string]: any } {
|
|
10478
|
+
return {
|
|
10479
|
+
clusterId: 'string',
|
|
10480
|
+
requestId: 'string',
|
|
10481
|
+
taskId: 'string',
|
|
10482
|
+
};
|
|
10483
|
+
}
|
|
10484
|
+
|
|
10485
|
+
constructor(map?: { [key: string]: any }) {
|
|
10486
|
+
super(map);
|
|
10487
|
+
}
|
|
10488
|
+
}
|
|
10489
|
+
|
|
10404
10490
|
export class InstallClusterAddonsResponse extends $tea.Model {
|
|
10405
10491
|
headers?: { [key: string]: string };
|
|
10406
10492
|
statusCode?: number;
|
|
10493
|
+
body?: InstallClusterAddonsResponseBody;
|
|
10407
10494
|
static names(): { [key: string]: string } {
|
|
10408
10495
|
return {
|
|
10409
10496
|
headers: 'headers',
|
|
10410
10497
|
statusCode: 'statusCode',
|
|
10498
|
+
body: 'body',
|
|
10411
10499
|
};
|
|
10412
10500
|
}
|
|
10413
10501
|
|
|
@@ -10415,6 +10503,7 @@ export class InstallClusterAddonsResponse extends $tea.Model {
|
|
|
10415
10503
|
return {
|
|
10416
10504
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10417
10505
|
statusCode: 'number',
|
|
10506
|
+
body: InstallClusterAddonsResponseBody,
|
|
10418
10507
|
};
|
|
10419
10508
|
}
|
|
10420
10509
|
|
|
@@ -13706,13 +13795,40 @@ export class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
13706
13795
|
}
|
|
13707
13796
|
}
|
|
13708
13797
|
|
|
13798
|
+
export class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
13799
|
+
clusterId?: string;
|
|
13800
|
+
requestId?: string;
|
|
13801
|
+
taskId?: string;
|
|
13802
|
+
static names(): { [key: string]: string } {
|
|
13803
|
+
return {
|
|
13804
|
+
clusterId: 'cluster_id',
|
|
13805
|
+
requestId: 'request_id',
|
|
13806
|
+
taskId: 'task_id',
|
|
13807
|
+
};
|
|
13808
|
+
}
|
|
13809
|
+
|
|
13810
|
+
static types(): { [key: string]: any } {
|
|
13811
|
+
return {
|
|
13812
|
+
clusterId: 'string',
|
|
13813
|
+
requestId: 'string',
|
|
13814
|
+
taskId: 'string',
|
|
13815
|
+
};
|
|
13816
|
+
}
|
|
13817
|
+
|
|
13818
|
+
constructor(map?: { [key: string]: any }) {
|
|
13819
|
+
super(map);
|
|
13820
|
+
}
|
|
13821
|
+
}
|
|
13822
|
+
|
|
13709
13823
|
export class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
13710
13824
|
headers?: { [key: string]: string };
|
|
13711
13825
|
statusCode?: number;
|
|
13826
|
+
body?: UnInstallClusterAddonsResponseBody;
|
|
13712
13827
|
static names(): { [key: string]: string } {
|
|
13713
13828
|
return {
|
|
13714
13829
|
headers: 'headers',
|
|
13715
13830
|
statusCode: 'statusCode',
|
|
13831
|
+
body: 'body',
|
|
13716
13832
|
};
|
|
13717
13833
|
}
|
|
13718
13834
|
|
|
@@ -13720,6 +13836,7 @@ export class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
|
13720
13836
|
return {
|
|
13721
13837
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13722
13838
|
statusCode: 'number',
|
|
13839
|
+
body: UnInstallClusterAddonsResponseBody,
|
|
13723
13840
|
};
|
|
13724
13841
|
}
|
|
13725
13842
|
|
|
@@ -14988,6 +15105,54 @@ export class UpgradeClusterNodepoolResponse extends $tea.Model {
|
|
|
14988
15105
|
}
|
|
14989
15106
|
}
|
|
14990
15107
|
|
|
15108
|
+
export class KubeletConfigReservedMemory extends $tea.Model {
|
|
15109
|
+
limits?: { [key: string]: any };
|
|
15110
|
+
numaNode?: number;
|
|
15111
|
+
static names(): { [key: string]: string } {
|
|
15112
|
+
return {
|
|
15113
|
+
limits: 'limits',
|
|
15114
|
+
numaNode: 'numaNode',
|
|
15115
|
+
};
|
|
15116
|
+
}
|
|
15117
|
+
|
|
15118
|
+
static types(): { [key: string]: any } {
|
|
15119
|
+
return {
|
|
15120
|
+
limits: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
15121
|
+
numaNode: 'number',
|
|
15122
|
+
};
|
|
15123
|
+
}
|
|
15124
|
+
|
|
15125
|
+
constructor(map?: { [key: string]: any }) {
|
|
15126
|
+
super(map);
|
|
15127
|
+
}
|
|
15128
|
+
}
|
|
15129
|
+
|
|
15130
|
+
export class KubeletConfigTracing extends $tea.Model {
|
|
15131
|
+
/**
|
|
15132
|
+
* @example
|
|
15133
|
+
* localhost:4317
|
|
15134
|
+
*/
|
|
15135
|
+
endpoint?: string;
|
|
15136
|
+
samplingRatePerMillion?: number;
|
|
15137
|
+
static names(): { [key: string]: string } {
|
|
15138
|
+
return {
|
|
15139
|
+
endpoint: 'endpoint',
|
|
15140
|
+
samplingRatePerMillion: 'samplingRatePerMillion',
|
|
15141
|
+
};
|
|
15142
|
+
}
|
|
15143
|
+
|
|
15144
|
+
static types(): { [key: string]: any } {
|
|
15145
|
+
return {
|
|
15146
|
+
endpoint: 'string',
|
|
15147
|
+
samplingRatePerMillion: 'number',
|
|
15148
|
+
};
|
|
15149
|
+
}
|
|
15150
|
+
|
|
15151
|
+
constructor(map?: { [key: string]: any }) {
|
|
15152
|
+
super(map);
|
|
15153
|
+
}
|
|
15154
|
+
}
|
|
15155
|
+
|
|
14991
15156
|
export class NodepoolAutoScaling extends $tea.Model {
|
|
14992
15157
|
/**
|
|
14993
15158
|
* @example
|
|
@@ -29774,11 +29939,14 @@ export default class Client extends OpenApi {
|
|
|
29774
29939
|
/**
|
|
29775
29940
|
* You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
29776
29941
|
*
|
|
29942
|
+
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
29943
|
+
*
|
|
29777
29944
|
* @param request - CreateKubernetesTriggerRequest
|
|
29778
29945
|
* @param headers - map
|
|
29779
29946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
29780
29947
|
* @returns CreateKubernetesTriggerResponse
|
|
29781
29948
|
*/
|
|
29949
|
+
// Deprecated
|
|
29782
29950
|
async createKubernetesTriggerWithOptions(request: CreateKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateKubernetesTriggerResponse> {
|
|
29783
29951
|
Util.validateModel(request);
|
|
29784
29952
|
let body : {[key: string ]: any} = { };
|
|
@@ -29819,9 +29987,12 @@ export default class Client extends OpenApi {
|
|
|
29819
29987
|
/**
|
|
29820
29988
|
* You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
29821
29989
|
*
|
|
29990
|
+
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
29991
|
+
*
|
|
29822
29992
|
* @param request - CreateKubernetesTriggerRequest
|
|
29823
29993
|
* @returns CreateKubernetesTriggerResponse
|
|
29824
29994
|
*/
|
|
29995
|
+
// Deprecated
|
|
29825
29996
|
async createKubernetesTrigger(request: CreateKubernetesTriggerRequest): Promise<CreateKubernetesTriggerResponse> {
|
|
29826
29997
|
let runtime = new $Util.RuntimeOptions({ });
|
|
29827
29998
|
let headers : {[key: string ]: string} = { };
|
|
@@ -30273,10 +30444,13 @@ export default class Client extends OpenApi {
|
|
|
30273
30444
|
/**
|
|
30274
30445
|
* You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
30275
30446
|
*
|
|
30447
|
+
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
30448
|
+
*
|
|
30276
30449
|
* @param headers - map
|
|
30277
30450
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
30278
30451
|
* @returns DeleteKubernetesTriggerResponse
|
|
30279
30452
|
*/
|
|
30453
|
+
// Deprecated
|
|
30280
30454
|
async deleteKubernetesTriggerWithOptions(Id: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteKubernetesTriggerResponse> {
|
|
30281
30455
|
let req = new $OpenApi.OpenApiRequest({
|
|
30282
30456
|
headers: headers,
|
|
@@ -30297,8 +30471,11 @@ export default class Client extends OpenApi {
|
|
|
30297
30471
|
|
|
30298
30472
|
/**
|
|
30299
30473
|
* You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
30474
|
+
*
|
|
30475
|
+
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
30300
30476
|
* @returns DeleteKubernetesTriggerResponse
|
|
30301
30477
|
*/
|
|
30478
|
+
// Deprecated
|
|
30302
30479
|
async deleteKubernetesTrigger(Id: string): Promise<DeleteKubernetesTriggerResponse> {
|
|
30303
30480
|
let runtime = new $Util.RuntimeOptions({ });
|
|
30304
30481
|
let headers : {[key: string ]: string} = { };
|
|
@@ -31336,6 +31513,10 @@ export default class Client extends OpenApi {
|
|
|
31336
31513
|
query["PrivateIpAddress"] = request.privateIpAddress;
|
|
31337
31514
|
}
|
|
31338
31515
|
|
|
31516
|
+
if (!Util.isUnset(request.temporaryDurationMinutes)) {
|
|
31517
|
+
query["TemporaryDurationMinutes"] = request.temporaryDurationMinutes;
|
|
31518
|
+
}
|
|
31519
|
+
|
|
31339
31520
|
let req = new $OpenApi.OpenApiRequest({
|
|
31340
31521
|
headers: headers,
|
|
31341
31522
|
query: OpenApiUtil.query(query),
|
|
@@ -31608,10 +31789,13 @@ export default class Client extends OpenApi {
|
|
|
31608
31789
|
/**
|
|
31609
31790
|
* You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
31610
31791
|
*
|
|
31792
|
+
* @deprecated OpenAPI DescribeEdgeMachineActiveProcess is deprecated
|
|
31793
|
+
*
|
|
31611
31794
|
* @param headers - map
|
|
31612
31795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
31613
31796
|
* @returns DescribeEdgeMachineActiveProcessResponse
|
|
31614
31797
|
*/
|
|
31798
|
+
// Deprecated
|
|
31615
31799
|
async describeEdgeMachineActiveProcessWithOptions(edgeMachineid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineActiveProcessResponse> {
|
|
31616
31800
|
let req = new $OpenApi.OpenApiRequest({
|
|
31617
31801
|
headers: headers,
|
|
@@ -31632,8 +31816,11 @@ export default class Client extends OpenApi {
|
|
|
31632
31816
|
|
|
31633
31817
|
/**
|
|
31634
31818
|
* You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
31819
|
+
*
|
|
31820
|
+
* @deprecated OpenAPI DescribeEdgeMachineActiveProcess is deprecated
|
|
31635
31821
|
* @returns DescribeEdgeMachineActiveProcessResponse
|
|
31636
31822
|
*/
|
|
31823
|
+
// Deprecated
|
|
31637
31824
|
async describeEdgeMachineActiveProcess(edgeMachineid: string): Promise<DescribeEdgeMachineActiveProcessResponse> {
|
|
31638
31825
|
let runtime = new $Util.RuntimeOptions({ });
|
|
31639
31826
|
let headers : {[key: string ]: string} = { };
|
|
@@ -31891,11 +32078,14 @@ export default class Client extends OpenApi {
|
|
|
31891
32078
|
* @remarks
|
|
31892
32079
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
31893
32080
|
*
|
|
32081
|
+
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
32082
|
+
*
|
|
31894
32083
|
* @param request - DescribeExternalAgentRequest
|
|
31895
32084
|
* @param headers - map
|
|
31896
32085
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
31897
32086
|
* @returns DescribeExternalAgentResponse
|
|
31898
32087
|
*/
|
|
32088
|
+
// Deprecated
|
|
31899
32089
|
async describeExternalAgentWithOptions(ClusterId: string, request: DescribeExternalAgentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse> {
|
|
31900
32090
|
Util.validateModel(request);
|
|
31901
32091
|
let query : {[key: string ]: any} = { };
|
|
@@ -31931,9 +32121,12 @@ export default class Client extends OpenApi {
|
|
|
31931
32121
|
* @remarks
|
|
31932
32122
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
31933
32123
|
*
|
|
32124
|
+
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
32125
|
+
*
|
|
31934
32126
|
* @param request - DescribeExternalAgentRequest
|
|
31935
32127
|
* @returns DescribeExternalAgentResponse
|
|
31936
32128
|
*/
|
|
32129
|
+
// Deprecated
|
|
31937
32130
|
async describeExternalAgent(ClusterId: string, request: DescribeExternalAgentRequest): Promise<DescribeExternalAgentResponse> {
|
|
31938
32131
|
let runtime = new $Util.RuntimeOptions({ });
|
|
31939
32132
|
let headers : {[key: string ]: string} = { };
|
|
@@ -32655,11 +32848,14 @@ export default class Client extends OpenApi {
|
|
|
32655
32848
|
/**
|
|
32656
32849
|
* You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
32657
32850
|
*
|
|
32851
|
+
* @deprecated OpenAPI EdgeClusterAddEdgeMachine is deprecated
|
|
32852
|
+
*
|
|
32658
32853
|
* @param request - EdgeClusterAddEdgeMachineRequest
|
|
32659
32854
|
* @param headers - map
|
|
32660
32855
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
32661
32856
|
* @returns EdgeClusterAddEdgeMachineResponse
|
|
32662
32857
|
*/
|
|
32858
|
+
// Deprecated
|
|
32663
32859
|
async edgeClusterAddEdgeMachineWithOptions(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<EdgeClusterAddEdgeMachineResponse> {
|
|
32664
32860
|
Util.validateModel(request);
|
|
32665
32861
|
let body : {[key: string ]: any} = { };
|
|
@@ -32696,9 +32892,12 @@ export default class Client extends OpenApi {
|
|
|
32696
32892
|
/**
|
|
32697
32893
|
* You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
32698
32894
|
*
|
|
32895
|
+
* @deprecated OpenAPI EdgeClusterAddEdgeMachine is deprecated
|
|
32896
|
+
*
|
|
32699
32897
|
* @param request - EdgeClusterAddEdgeMachineRequest
|
|
32700
32898
|
* @returns EdgeClusterAddEdgeMachineResponse
|
|
32701
32899
|
*/
|
|
32900
|
+
// Deprecated
|
|
32702
32901
|
async edgeClusterAddEdgeMachine(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest): Promise<EdgeClusterAddEdgeMachineResponse> {
|
|
32703
32902
|
let runtime = new $Util.RuntimeOptions({ });
|
|
32704
32903
|
let headers : {[key: string ]: string} = { };
|
|
@@ -32952,11 +33151,14 @@ export default class Client extends OpenApi {
|
|
|
32952
33151
|
/**
|
|
32953
33152
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
32954
33153
|
*
|
|
33154
|
+
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
33155
|
+
*
|
|
32955
33156
|
* @param request - GetKubernetesTriggerRequest
|
|
32956
33157
|
* @param headers - map
|
|
32957
33158
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
32958
33159
|
* @returns GetKubernetesTriggerResponse
|
|
32959
33160
|
*/
|
|
33161
|
+
// Deprecated
|
|
32960
33162
|
async getKubernetesTriggerWithOptions(ClusterId: string, request: GetKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetKubernetesTriggerResponse> {
|
|
32961
33163
|
Util.validateModel(request);
|
|
32962
33164
|
let query : {[key: string ]: any} = { };
|
|
@@ -32997,9 +33199,12 @@ export default class Client extends OpenApi {
|
|
|
32997
33199
|
/**
|
|
32998
33200
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
32999
33201
|
*
|
|
33202
|
+
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
33203
|
+
*
|
|
33000
33204
|
* @param request - GetKubernetesTriggerRequest
|
|
33001
33205
|
* @returns GetKubernetesTriggerResponse
|
|
33002
33206
|
*/
|
|
33207
|
+
// Deprecated
|
|
33003
33208
|
async getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse> {
|
|
33004
33209
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33005
33210
|
let headers : {[key: string ]: string} = { };
|
|
@@ -33120,7 +33325,7 @@ export default class Client extends OpenApi {
|
|
|
33120
33325
|
authType: "AK",
|
|
33121
33326
|
style: "ROA",
|
|
33122
33327
|
reqBodyType: "json",
|
|
33123
|
-
bodyType: "
|
|
33328
|
+
bodyType: "json",
|
|
33124
33329
|
});
|
|
33125
33330
|
return $tea.cast<InstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
33126
33331
|
}
|
|
@@ -33732,11 +33937,14 @@ export default class Client extends OpenApi {
|
|
|
33732
33937
|
/**
|
|
33733
33938
|
* This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
33734
33939
|
*
|
|
33940
|
+
* @deprecated OpenAPI ModifyClusterConfiguration is deprecated
|
|
33941
|
+
*
|
|
33735
33942
|
* @param request - ModifyClusterConfigurationRequest
|
|
33736
33943
|
* @param headers - map
|
|
33737
33944
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
33738
33945
|
* @returns ModifyClusterConfigurationResponse
|
|
33739
33946
|
*/
|
|
33947
|
+
// Deprecated
|
|
33740
33948
|
async modifyClusterConfigurationWithOptions(ClusterId: string, request: ModifyClusterConfigurationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterConfigurationResponse> {
|
|
33741
33949
|
Util.validateModel(request);
|
|
33742
33950
|
let body : {[key: string ]: any} = { };
|
|
@@ -33765,9 +33973,12 @@ export default class Client extends OpenApi {
|
|
|
33765
33973
|
/**
|
|
33766
33974
|
* This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
33767
33975
|
*
|
|
33976
|
+
* @deprecated OpenAPI ModifyClusterConfiguration is deprecated
|
|
33977
|
+
*
|
|
33768
33978
|
* @param request - ModifyClusterConfigurationRequest
|
|
33769
33979
|
* @returns ModifyClusterConfigurationResponse
|
|
33770
33980
|
*/
|
|
33981
|
+
// Deprecated
|
|
33771
33982
|
async modifyClusterConfiguration(ClusterId: string, request: ModifyClusterConfigurationRequest): Promise<ModifyClusterConfigurationResponse> {
|
|
33772
33983
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33773
33984
|
let headers : {[key: string ]: string} = { };
|
|
@@ -35132,7 +35343,7 @@ export default class Client extends OpenApi {
|
|
|
35132
35343
|
authType: "AK",
|
|
35133
35344
|
style: "ROA",
|
|
35134
35345
|
reqBodyType: "json",
|
|
35135
|
-
bodyType: "
|
|
35346
|
+
bodyType: "json",
|
|
35136
35347
|
});
|
|
35137
35348
|
return $tea.cast<UnInstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
35138
35349
|
}
|