@alicloud/cs20151215 4.7.11 → 4.8.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 +413 -0
- package/dist/client.js +393 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +752 -80
package/dist/client.d.ts
CHANGED
|
@@ -5287,6 +5287,81 @@ export declare class DescribeClustersResponse extends $tea.Model {
|
|
|
5287
5287
|
[key: string]: any;
|
|
5288
5288
|
});
|
|
5289
5289
|
}
|
|
5290
|
+
export declare class DescribeClustersForRegionRequest extends $tea.Model {
|
|
5291
|
+
/**
|
|
5292
|
+
* @example
|
|
5293
|
+
* c8155823d057948c69a****
|
|
5294
|
+
*/
|
|
5295
|
+
clusterId?: string;
|
|
5296
|
+
/**
|
|
5297
|
+
* @example
|
|
5298
|
+
* ack.standard
|
|
5299
|
+
*/
|
|
5300
|
+
clusterSpec?: string;
|
|
5301
|
+
/**
|
|
5302
|
+
* @example
|
|
5303
|
+
* Kubernetes
|
|
5304
|
+
*/
|
|
5305
|
+
clusterType?: string;
|
|
5306
|
+
/**
|
|
5307
|
+
* @example
|
|
5308
|
+
* test-cluster
|
|
5309
|
+
*/
|
|
5310
|
+
name?: string;
|
|
5311
|
+
/**
|
|
5312
|
+
* @example
|
|
5313
|
+
* 10
|
|
5314
|
+
*/
|
|
5315
|
+
pageNumber?: number;
|
|
5316
|
+
/**
|
|
5317
|
+
* @example
|
|
5318
|
+
* 3
|
|
5319
|
+
*/
|
|
5320
|
+
pageSize?: number;
|
|
5321
|
+
/**
|
|
5322
|
+
* @example
|
|
5323
|
+
* Serverless
|
|
5324
|
+
*/
|
|
5325
|
+
profile?: string;
|
|
5326
|
+
static names(): {
|
|
5327
|
+
[key: string]: string;
|
|
5328
|
+
};
|
|
5329
|
+
static types(): {
|
|
5330
|
+
[key: string]: any;
|
|
5331
|
+
};
|
|
5332
|
+
constructor(map?: {
|
|
5333
|
+
[key: string]: any;
|
|
5334
|
+
});
|
|
5335
|
+
}
|
|
5336
|
+
export declare class DescribeClustersForRegionResponseBody extends $tea.Model {
|
|
5337
|
+
clusters?: DescribeClustersForRegionResponseBodyClusters[];
|
|
5338
|
+
pageInfo?: DescribeClustersForRegionResponseBodyPageInfo;
|
|
5339
|
+
static names(): {
|
|
5340
|
+
[key: string]: string;
|
|
5341
|
+
};
|
|
5342
|
+
static types(): {
|
|
5343
|
+
[key: string]: any;
|
|
5344
|
+
};
|
|
5345
|
+
constructor(map?: {
|
|
5346
|
+
[key: string]: any;
|
|
5347
|
+
});
|
|
5348
|
+
}
|
|
5349
|
+
export declare class DescribeClustersForRegionResponse extends $tea.Model {
|
|
5350
|
+
headers?: {
|
|
5351
|
+
[key: string]: string;
|
|
5352
|
+
};
|
|
5353
|
+
statusCode?: number;
|
|
5354
|
+
body?: DescribeClustersForRegionResponseBody;
|
|
5355
|
+
static names(): {
|
|
5356
|
+
[key: string]: string;
|
|
5357
|
+
};
|
|
5358
|
+
static types(): {
|
|
5359
|
+
[key: string]: any;
|
|
5360
|
+
};
|
|
5361
|
+
constructor(map?: {
|
|
5362
|
+
[key: string]: any;
|
|
5363
|
+
});
|
|
5364
|
+
}
|
|
5290
5365
|
export declare class DescribeClustersV1Request extends $tea.Model {
|
|
5291
5366
|
/**
|
|
5292
5367
|
* @remarks
|
|
@@ -5789,6 +5864,61 @@ export declare class DescribeEventsResponse extends $tea.Model {
|
|
|
5789
5864
|
[key: string]: any;
|
|
5790
5865
|
});
|
|
5791
5866
|
}
|
|
5867
|
+
export declare class DescribeEventsForRegionRequest extends $tea.Model {
|
|
5868
|
+
/**
|
|
5869
|
+
* @example
|
|
5870
|
+
* cf62854ac2130470897be7a27ed1f****
|
|
5871
|
+
*/
|
|
5872
|
+
clusterId?: string;
|
|
5873
|
+
/**
|
|
5874
|
+
* @example
|
|
5875
|
+
* 1
|
|
5876
|
+
*/
|
|
5877
|
+
pageNumber?: number;
|
|
5878
|
+
/**
|
|
5879
|
+
* @example
|
|
5880
|
+
* 50
|
|
5881
|
+
*/
|
|
5882
|
+
pageSize?: number;
|
|
5883
|
+
static names(): {
|
|
5884
|
+
[key: string]: string;
|
|
5885
|
+
};
|
|
5886
|
+
static types(): {
|
|
5887
|
+
[key: string]: any;
|
|
5888
|
+
};
|
|
5889
|
+
constructor(map?: {
|
|
5890
|
+
[key: string]: any;
|
|
5891
|
+
});
|
|
5892
|
+
}
|
|
5893
|
+
export declare class DescribeEventsForRegionResponseBody extends $tea.Model {
|
|
5894
|
+
events?: DescribeEventsForRegionResponseBodyEvents[];
|
|
5895
|
+
pageInfo?: DescribeEventsForRegionResponseBodyPageInfo;
|
|
5896
|
+
static names(): {
|
|
5897
|
+
[key: string]: string;
|
|
5898
|
+
};
|
|
5899
|
+
static types(): {
|
|
5900
|
+
[key: string]: any;
|
|
5901
|
+
};
|
|
5902
|
+
constructor(map?: {
|
|
5903
|
+
[key: string]: any;
|
|
5904
|
+
});
|
|
5905
|
+
}
|
|
5906
|
+
export declare class DescribeEventsForRegionResponse extends $tea.Model {
|
|
5907
|
+
headers?: {
|
|
5908
|
+
[key: string]: string;
|
|
5909
|
+
};
|
|
5910
|
+
statusCode?: number;
|
|
5911
|
+
body?: DescribeEventsForRegionResponseBody;
|
|
5912
|
+
static names(): {
|
|
5913
|
+
[key: string]: string;
|
|
5914
|
+
};
|
|
5915
|
+
static types(): {
|
|
5916
|
+
[key: string]: any;
|
|
5917
|
+
};
|
|
5918
|
+
constructor(map?: {
|
|
5919
|
+
[key: string]: any;
|
|
5920
|
+
});
|
|
5921
|
+
}
|
|
5792
5922
|
export declare class DescribeExternalAgentRequest extends $tea.Model {
|
|
5793
5923
|
/**
|
|
5794
5924
|
* @remarks
|
|
@@ -16223,6 +16353,163 @@ export declare class DescribeClustersResponseBody extends $tea.Model {
|
|
|
16223
16353
|
[key: string]: any;
|
|
16224
16354
|
});
|
|
16225
16355
|
}
|
|
16356
|
+
export declare class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
|
|
16357
|
+
/**
|
|
16358
|
+
* @example
|
|
16359
|
+
* cluster.local
|
|
16360
|
+
*/
|
|
16361
|
+
clusterDomain?: string;
|
|
16362
|
+
/**
|
|
16363
|
+
* @example
|
|
16364
|
+
* c905d1364c2dd4b6284a3f41790c4****
|
|
16365
|
+
*/
|
|
16366
|
+
clusterId?: string;
|
|
16367
|
+
/**
|
|
16368
|
+
* @example
|
|
16369
|
+
* ack.standard
|
|
16370
|
+
*/
|
|
16371
|
+
clusterSpec?: string;
|
|
16372
|
+
/**
|
|
16373
|
+
* @example
|
|
16374
|
+
* ManagedKubernetes
|
|
16375
|
+
*/
|
|
16376
|
+
clusterType?: string;
|
|
16377
|
+
/**
|
|
16378
|
+
* @example
|
|
16379
|
+
* 172.20.0.0/16
|
|
16380
|
+
*/
|
|
16381
|
+
containerCidr?: string;
|
|
16382
|
+
/**
|
|
16383
|
+
* @example
|
|
16384
|
+
* 2020-12-01T20:40:40+08:00
|
|
16385
|
+
*/
|
|
16386
|
+
created?: string;
|
|
16387
|
+
/**
|
|
16388
|
+
* @example
|
|
16389
|
+
* 1.16.6-aliyun.1
|
|
16390
|
+
*/
|
|
16391
|
+
currentVersion?: string;
|
|
16392
|
+
/**
|
|
16393
|
+
* @example
|
|
16394
|
+
* false
|
|
16395
|
+
*/
|
|
16396
|
+
deletionProtection?: boolean;
|
|
16397
|
+
/**
|
|
16398
|
+
* @example
|
|
16399
|
+
* 1.16.6-aliyun.1
|
|
16400
|
+
*/
|
|
16401
|
+
initVersion?: string;
|
|
16402
|
+
/**
|
|
16403
|
+
* @example
|
|
16404
|
+
* ipv4
|
|
16405
|
+
*/
|
|
16406
|
+
ipStack?: string;
|
|
16407
|
+
/**
|
|
16408
|
+
* @example
|
|
16409
|
+
* test-cluster
|
|
16410
|
+
*/
|
|
16411
|
+
name?: string;
|
|
16412
|
+
/**
|
|
16413
|
+
* @example
|
|
16414
|
+
* 1.18.8-aliyun.1
|
|
16415
|
+
*/
|
|
16416
|
+
nextVersion?: string;
|
|
16417
|
+
/**
|
|
16418
|
+
* @example
|
|
16419
|
+
* Default
|
|
16420
|
+
*/
|
|
16421
|
+
profile?: string;
|
|
16422
|
+
/**
|
|
16423
|
+
* @example
|
|
16424
|
+
* ipvs
|
|
16425
|
+
*/
|
|
16426
|
+
proxyMode?: string;
|
|
16427
|
+
/**
|
|
16428
|
+
* @example
|
|
16429
|
+
* cn-beijing-a
|
|
16430
|
+
*/
|
|
16431
|
+
regionId?: string;
|
|
16432
|
+
/**
|
|
16433
|
+
* @example
|
|
16434
|
+
* rg-acfmyvw3wjm****
|
|
16435
|
+
*/
|
|
16436
|
+
resourceGroupId?: string;
|
|
16437
|
+
/**
|
|
16438
|
+
* @example
|
|
16439
|
+
* sg-2zeihch86ooz9io4****
|
|
16440
|
+
*/
|
|
16441
|
+
securityGroupId?: string;
|
|
16442
|
+
/**
|
|
16443
|
+
* @remarks
|
|
16444
|
+
* This parameter is required.
|
|
16445
|
+
*
|
|
16446
|
+
* @example
|
|
16447
|
+
* 172.21.0.0/20
|
|
16448
|
+
*/
|
|
16449
|
+
serviceCidr?: string;
|
|
16450
|
+
/**
|
|
16451
|
+
* @example
|
|
16452
|
+
* 2
|
|
16453
|
+
*/
|
|
16454
|
+
size?: number;
|
|
16455
|
+
/**
|
|
16456
|
+
* @example
|
|
16457
|
+
* running
|
|
16458
|
+
*/
|
|
16459
|
+
state?: string;
|
|
16460
|
+
tags?: Tag[];
|
|
16461
|
+
/**
|
|
16462
|
+
* @example
|
|
16463
|
+
* Asia/Shanghai
|
|
16464
|
+
*/
|
|
16465
|
+
timezone?: string;
|
|
16466
|
+
/**
|
|
16467
|
+
* @example
|
|
16468
|
+
* 2020-12-08T15:37:00+08:00
|
|
16469
|
+
*/
|
|
16470
|
+
updated?: string;
|
|
16471
|
+
/**
|
|
16472
|
+
* @example
|
|
16473
|
+
* vpc-2zeg8nf1ukc0fcmvq****
|
|
16474
|
+
*/
|
|
16475
|
+
vpcId?: string;
|
|
16476
|
+
vswitchIds?: string[];
|
|
16477
|
+
static names(): {
|
|
16478
|
+
[key: string]: string;
|
|
16479
|
+
};
|
|
16480
|
+
static types(): {
|
|
16481
|
+
[key: string]: any;
|
|
16482
|
+
};
|
|
16483
|
+
constructor(map?: {
|
|
16484
|
+
[key: string]: any;
|
|
16485
|
+
});
|
|
16486
|
+
}
|
|
16487
|
+
export declare class DescribeClustersForRegionResponseBodyPageInfo extends $tea.Model {
|
|
16488
|
+
/**
|
|
16489
|
+
* @example
|
|
16490
|
+
* 1
|
|
16491
|
+
*/
|
|
16492
|
+
pageNumber?: number;
|
|
16493
|
+
/**
|
|
16494
|
+
* @example
|
|
16495
|
+
* 10
|
|
16496
|
+
*/
|
|
16497
|
+
pageSize?: number;
|
|
16498
|
+
/**
|
|
16499
|
+
* @example
|
|
16500
|
+
* 10
|
|
16501
|
+
*/
|
|
16502
|
+
totalCount?: number;
|
|
16503
|
+
static names(): {
|
|
16504
|
+
[key: string]: string;
|
|
16505
|
+
};
|
|
16506
|
+
static types(): {
|
|
16507
|
+
[key: string]: any;
|
|
16508
|
+
};
|
|
16509
|
+
constructor(map?: {
|
|
16510
|
+
[key: string]: any;
|
|
16511
|
+
});
|
|
16512
|
+
}
|
|
16226
16513
|
export declare class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
16227
16514
|
/**
|
|
16228
16515
|
* @remarks
|
|
@@ -17014,6 +17301,96 @@ export declare class DescribeEventsResponseBodyPageInfo extends $tea.Model {
|
|
|
17014
17301
|
[key: string]: any;
|
|
17015
17302
|
});
|
|
17016
17303
|
}
|
|
17304
|
+
export declare class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
|
|
17305
|
+
/**
|
|
17306
|
+
* @example
|
|
17307
|
+
* info
|
|
17308
|
+
*/
|
|
17309
|
+
level?: string;
|
|
17310
|
+
/**
|
|
17311
|
+
* @example
|
|
17312
|
+
* Start to upgrade NodePool nodePool/nodePool-A
|
|
17313
|
+
*/
|
|
17314
|
+
message?: string;
|
|
17315
|
+
/**
|
|
17316
|
+
* @example
|
|
17317
|
+
* Started
|
|
17318
|
+
*/
|
|
17319
|
+
reason?: string;
|
|
17320
|
+
static names(): {
|
|
17321
|
+
[key: string]: string;
|
|
17322
|
+
};
|
|
17323
|
+
static types(): {
|
|
17324
|
+
[key: string]: any;
|
|
17325
|
+
};
|
|
17326
|
+
constructor(map?: {
|
|
17327
|
+
[key: string]: any;
|
|
17328
|
+
});
|
|
17329
|
+
}
|
|
17330
|
+
export declare class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
|
|
17331
|
+
/**
|
|
17332
|
+
* @example
|
|
17333
|
+
* cluster-id
|
|
17334
|
+
*/
|
|
17335
|
+
clusterId?: string;
|
|
17336
|
+
data?: DescribeEventsForRegionResponseBodyEventsData;
|
|
17337
|
+
/**
|
|
17338
|
+
* @example
|
|
17339
|
+
* A234-1234-1234
|
|
17340
|
+
*/
|
|
17341
|
+
eventId?: string;
|
|
17342
|
+
source?: string;
|
|
17343
|
+
/**
|
|
17344
|
+
* @example
|
|
17345
|
+
* nodePool-id
|
|
17346
|
+
*/
|
|
17347
|
+
subject?: string;
|
|
17348
|
+
/**
|
|
17349
|
+
* @example
|
|
17350
|
+
* 2020-12-01T17:31:00Z
|
|
17351
|
+
*/
|
|
17352
|
+
time?: string;
|
|
17353
|
+
/**
|
|
17354
|
+
* @example
|
|
17355
|
+
* nodePool_upgrade
|
|
17356
|
+
*/
|
|
17357
|
+
type?: string;
|
|
17358
|
+
static names(): {
|
|
17359
|
+
[key: string]: string;
|
|
17360
|
+
};
|
|
17361
|
+
static types(): {
|
|
17362
|
+
[key: string]: any;
|
|
17363
|
+
};
|
|
17364
|
+
constructor(map?: {
|
|
17365
|
+
[key: string]: any;
|
|
17366
|
+
});
|
|
17367
|
+
}
|
|
17368
|
+
export declare class DescribeEventsForRegionResponseBodyPageInfo extends $tea.Model {
|
|
17369
|
+
/**
|
|
17370
|
+
* @example
|
|
17371
|
+
* 1
|
|
17372
|
+
*/
|
|
17373
|
+
pageNumber?: number;
|
|
17374
|
+
/**
|
|
17375
|
+
* @example
|
|
17376
|
+
* 50
|
|
17377
|
+
*/
|
|
17378
|
+
pageSize?: number;
|
|
17379
|
+
/**
|
|
17380
|
+
* @example
|
|
17381
|
+
* 3
|
|
17382
|
+
*/
|
|
17383
|
+
totalCount?: number;
|
|
17384
|
+
static names(): {
|
|
17385
|
+
[key: string]: string;
|
|
17386
|
+
};
|
|
17387
|
+
static types(): {
|
|
17388
|
+
[key: string]: any;
|
|
17389
|
+
};
|
|
17390
|
+
constructor(map?: {
|
|
17391
|
+
[key: string]: any;
|
|
17392
|
+
});
|
|
17393
|
+
}
|
|
17017
17394
|
export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends $tea.Model {
|
|
17018
17395
|
/**
|
|
17019
17396
|
* @remarks
|
|
@@ -21691,6 +22068,24 @@ export default class Client extends OpenApi {
|
|
|
21691
22068
|
* @returns DescribeClustersResponse
|
|
21692
22069
|
*/
|
|
21693
22070
|
describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse>;
|
|
22071
|
+
/**
|
|
22072
|
+
* 查询指定地域内全部集群列表
|
|
22073
|
+
*
|
|
22074
|
+
* @param request - DescribeClustersForRegionRequest
|
|
22075
|
+
* @param headers - map
|
|
22076
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
22077
|
+
* @returns DescribeClustersForRegionResponse
|
|
22078
|
+
*/
|
|
22079
|
+
describeClustersForRegionWithOptions(regionId: string, request: DescribeClustersForRegionRequest, headers: {
|
|
22080
|
+
[key: string]: string;
|
|
22081
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersForRegionResponse>;
|
|
22082
|
+
/**
|
|
22083
|
+
* 查询指定地域内全部集群列表
|
|
22084
|
+
*
|
|
22085
|
+
* @param request - DescribeClustersForRegionRequest
|
|
22086
|
+
* @returns DescribeClustersForRegionResponse
|
|
22087
|
+
*/
|
|
22088
|
+
describeClustersForRegion(regionId: string, request: DescribeClustersForRegionRequest): Promise<DescribeClustersForRegionResponse>;
|
|
21694
22089
|
/**
|
|
21695
22090
|
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
21696
22091
|
*
|
|
@@ -21790,6 +22185,24 @@ export default class Client extends OpenApi {
|
|
|
21790
22185
|
* @returns DescribeEventsResponse
|
|
21791
22186
|
*/
|
|
21792
22187
|
describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse>;
|
|
22188
|
+
/**
|
|
22189
|
+
* 查询指定地域内全部事件列表
|
|
22190
|
+
*
|
|
22191
|
+
* @param request - DescribeEventsForRegionRequest
|
|
22192
|
+
* @param headers - map
|
|
22193
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
22194
|
+
* @returns DescribeEventsForRegionResponse
|
|
22195
|
+
*/
|
|
22196
|
+
describeEventsForRegionWithOptions(regionId: string, request: DescribeEventsForRegionRequest, headers: {
|
|
22197
|
+
[key: string]: string;
|
|
22198
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsForRegionResponse>;
|
|
22199
|
+
/**
|
|
22200
|
+
* 查询指定地域内全部事件列表
|
|
22201
|
+
*
|
|
22202
|
+
* @param request - DescribeEventsForRegionRequest
|
|
22203
|
+
* @returns DescribeEventsForRegionResponse
|
|
22204
|
+
*/
|
|
22205
|
+
describeEventsForRegion(regionId: string, request: DescribeEventsForRegionRequest): Promise<DescribeEventsForRegionResponse>;
|
|
21793
22206
|
/**
|
|
21794
22207
|
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
21795
22208
|
*
|