@alicloud/esa20240910 2.1.0 → 2.2.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 +183 -0
- package/dist/client.js +154 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +278 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -9815,6 +9815,132 @@ export class ListCacheReserveInstancesResponse extends $tea.Model {
|
|
|
9815
9815
|
}
|
|
9816
9816
|
}
|
|
9817
9817
|
|
|
9818
|
+
export class ListClientCertificatesRequest extends $tea.Model {
|
|
9819
|
+
/**
|
|
9820
|
+
* @example
|
|
9821
|
+
* 1
|
|
9822
|
+
*/
|
|
9823
|
+
pageNumber?: number;
|
|
9824
|
+
/**
|
|
9825
|
+
* @example
|
|
9826
|
+
* 20
|
|
9827
|
+
*/
|
|
9828
|
+
pageSize?: number;
|
|
9829
|
+
/**
|
|
9830
|
+
* @remarks
|
|
9831
|
+
* This parameter is required.
|
|
9832
|
+
*
|
|
9833
|
+
* @example
|
|
9834
|
+
* 1234567890123
|
|
9835
|
+
*/
|
|
9836
|
+
siteId?: number;
|
|
9837
|
+
static names(): { [key: string]: string } {
|
|
9838
|
+
return {
|
|
9839
|
+
pageNumber: 'PageNumber',
|
|
9840
|
+
pageSize: 'PageSize',
|
|
9841
|
+
siteId: 'SiteId',
|
|
9842
|
+
};
|
|
9843
|
+
}
|
|
9844
|
+
|
|
9845
|
+
static types(): { [key: string]: any } {
|
|
9846
|
+
return {
|
|
9847
|
+
pageNumber: 'number',
|
|
9848
|
+
pageSize: 'number',
|
|
9849
|
+
siteId: 'number',
|
|
9850
|
+
};
|
|
9851
|
+
}
|
|
9852
|
+
|
|
9853
|
+
constructor(map?: { [key: string]: any }) {
|
|
9854
|
+
super(map);
|
|
9855
|
+
}
|
|
9856
|
+
}
|
|
9857
|
+
|
|
9858
|
+
export class ListClientCertificatesResponseBody extends $tea.Model {
|
|
9859
|
+
/**
|
|
9860
|
+
* @example
|
|
9861
|
+
* 1
|
|
9862
|
+
*/
|
|
9863
|
+
pageNumber?: number;
|
|
9864
|
+
/**
|
|
9865
|
+
* @example
|
|
9866
|
+
* 20
|
|
9867
|
+
*/
|
|
9868
|
+
pageSize?: number;
|
|
9869
|
+
/**
|
|
9870
|
+
* @example
|
|
9871
|
+
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
9872
|
+
*/
|
|
9873
|
+
requestId?: string;
|
|
9874
|
+
result?: ListClientCertificatesResponseBodyResult[];
|
|
9875
|
+
/**
|
|
9876
|
+
* @example
|
|
9877
|
+
* 1234567890123
|
|
9878
|
+
*/
|
|
9879
|
+
siteId?: number;
|
|
9880
|
+
/**
|
|
9881
|
+
* @example
|
|
9882
|
+
* example.com
|
|
9883
|
+
*/
|
|
9884
|
+
siteName?: string;
|
|
9885
|
+
/**
|
|
9886
|
+
* @example
|
|
9887
|
+
* 5
|
|
9888
|
+
*/
|
|
9889
|
+
totalCount?: number;
|
|
9890
|
+
static names(): { [key: string]: string } {
|
|
9891
|
+
return {
|
|
9892
|
+
pageNumber: 'PageNumber',
|
|
9893
|
+
pageSize: 'PageSize',
|
|
9894
|
+
requestId: 'RequestId',
|
|
9895
|
+
result: 'Result',
|
|
9896
|
+
siteId: 'SiteId',
|
|
9897
|
+
siteName: 'SiteName',
|
|
9898
|
+
totalCount: 'TotalCount',
|
|
9899
|
+
};
|
|
9900
|
+
}
|
|
9901
|
+
|
|
9902
|
+
static types(): { [key: string]: any } {
|
|
9903
|
+
return {
|
|
9904
|
+
pageNumber: 'number',
|
|
9905
|
+
pageSize: 'number',
|
|
9906
|
+
requestId: 'string',
|
|
9907
|
+
result: { 'type': 'array', 'itemType': ListClientCertificatesResponseBodyResult },
|
|
9908
|
+
siteId: 'number',
|
|
9909
|
+
siteName: 'string',
|
|
9910
|
+
totalCount: 'number',
|
|
9911
|
+
};
|
|
9912
|
+
}
|
|
9913
|
+
|
|
9914
|
+
constructor(map?: { [key: string]: any }) {
|
|
9915
|
+
super(map);
|
|
9916
|
+
}
|
|
9917
|
+
}
|
|
9918
|
+
|
|
9919
|
+
export class ListClientCertificatesResponse extends $tea.Model {
|
|
9920
|
+
headers?: { [key: string]: string };
|
|
9921
|
+
statusCode?: number;
|
|
9922
|
+
body?: ListClientCertificatesResponseBody;
|
|
9923
|
+
static names(): { [key: string]: string } {
|
|
9924
|
+
return {
|
|
9925
|
+
headers: 'headers',
|
|
9926
|
+
statusCode: 'statusCode',
|
|
9927
|
+
body: 'body',
|
|
9928
|
+
};
|
|
9929
|
+
}
|
|
9930
|
+
|
|
9931
|
+
static types(): { [key: string]: any } {
|
|
9932
|
+
return {
|
|
9933
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9934
|
+
statusCode: 'number',
|
|
9935
|
+
body: ListClientCertificatesResponseBody,
|
|
9936
|
+
};
|
|
9937
|
+
}
|
|
9938
|
+
|
|
9939
|
+
constructor(map?: { [key: string]: any }) {
|
|
9940
|
+
super(map);
|
|
9941
|
+
}
|
|
9942
|
+
}
|
|
9943
|
+
|
|
9818
9944
|
export class ListEdgeContainerAppRecordsRequest extends $tea.Model {
|
|
9819
9945
|
/**
|
|
9820
9946
|
* @remarks
|
|
@@ -21289,6 +21415,120 @@ export class ListCacheReserveInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
21289
21415
|
}
|
|
21290
21416
|
}
|
|
21291
21417
|
|
|
21418
|
+
export class ListClientCertificatesResponseBodyResult extends $tea.Model {
|
|
21419
|
+
/**
|
|
21420
|
+
* @example
|
|
21421
|
+
* baba39055622c008b90285a8838ed09a
|
|
21422
|
+
*/
|
|
21423
|
+
CACertificateId?: string;
|
|
21424
|
+
/**
|
|
21425
|
+
* @example
|
|
21426
|
+
* www.example.com
|
|
21427
|
+
*/
|
|
21428
|
+
commonName?: string;
|
|
21429
|
+
/**
|
|
21430
|
+
* @example
|
|
21431
|
+
* 2024-06-24 07:48:51
|
|
21432
|
+
*/
|
|
21433
|
+
createTime?: string;
|
|
21434
|
+
/**
|
|
21435
|
+
* @example
|
|
21436
|
+
* babab9db65ee5efcca9f3d41d4b50d66
|
|
21437
|
+
*/
|
|
21438
|
+
id?: string;
|
|
21439
|
+
/**
|
|
21440
|
+
* @example
|
|
21441
|
+
* GlobalSign nv-sa
|
|
21442
|
+
*/
|
|
21443
|
+
issuer?: string;
|
|
21444
|
+
/**
|
|
21445
|
+
* @example
|
|
21446
|
+
* yourCertName
|
|
21447
|
+
*/
|
|
21448
|
+
name?: string;
|
|
21449
|
+
/**
|
|
21450
|
+
* @example
|
|
21451
|
+
* 2024-03-31 02:08:00
|
|
21452
|
+
*/
|
|
21453
|
+
notAfter?: string;
|
|
21454
|
+
/**
|
|
21455
|
+
* @example
|
|
21456
|
+
* 2023-03-31 02:08:00
|
|
21457
|
+
*/
|
|
21458
|
+
notBefore?: string;
|
|
21459
|
+
/**
|
|
21460
|
+
* @example
|
|
21461
|
+
* RSA
|
|
21462
|
+
*/
|
|
21463
|
+
pubkeyAlgorithm?: string;
|
|
21464
|
+
/**
|
|
21465
|
+
* @example
|
|
21466
|
+
* www.example.com,*.example.com
|
|
21467
|
+
*/
|
|
21468
|
+
SAN?: string;
|
|
21469
|
+
/**
|
|
21470
|
+
* @example
|
|
21471
|
+
* SHA256-RSA
|
|
21472
|
+
*/
|
|
21473
|
+
signatureAlgorithm?: string;
|
|
21474
|
+
/**
|
|
21475
|
+
* @example
|
|
21476
|
+
* active
|
|
21477
|
+
*/
|
|
21478
|
+
status?: string;
|
|
21479
|
+
/**
|
|
21480
|
+
* @example
|
|
21481
|
+
* dcdn
|
|
21482
|
+
*/
|
|
21483
|
+
type?: string;
|
|
21484
|
+
/**
|
|
21485
|
+
* @example
|
|
21486
|
+
* 2024-07-20 06:18:42
|
|
21487
|
+
*/
|
|
21488
|
+
updateTime?: string;
|
|
21489
|
+
static names(): { [key: string]: string } {
|
|
21490
|
+
return {
|
|
21491
|
+
CACertificateId: 'CACertificateId',
|
|
21492
|
+
commonName: 'CommonName',
|
|
21493
|
+
createTime: 'CreateTime',
|
|
21494
|
+
id: 'Id',
|
|
21495
|
+
issuer: 'Issuer',
|
|
21496
|
+
name: 'Name',
|
|
21497
|
+
notAfter: 'NotAfter',
|
|
21498
|
+
notBefore: 'NotBefore',
|
|
21499
|
+
pubkeyAlgorithm: 'PubkeyAlgorithm',
|
|
21500
|
+
SAN: 'SAN',
|
|
21501
|
+
signatureAlgorithm: 'SignatureAlgorithm',
|
|
21502
|
+
status: 'Status',
|
|
21503
|
+
type: 'Type',
|
|
21504
|
+
updateTime: 'UpdateTime',
|
|
21505
|
+
};
|
|
21506
|
+
}
|
|
21507
|
+
|
|
21508
|
+
static types(): { [key: string]: any } {
|
|
21509
|
+
return {
|
|
21510
|
+
CACertificateId: 'string',
|
|
21511
|
+
commonName: 'string',
|
|
21512
|
+
createTime: 'string',
|
|
21513
|
+
id: 'string',
|
|
21514
|
+
issuer: 'string',
|
|
21515
|
+
name: 'string',
|
|
21516
|
+
notAfter: 'string',
|
|
21517
|
+
notBefore: 'string',
|
|
21518
|
+
pubkeyAlgorithm: 'string',
|
|
21519
|
+
SAN: 'string',
|
|
21520
|
+
signatureAlgorithm: 'string',
|
|
21521
|
+
status: 'string',
|
|
21522
|
+
type: 'string',
|
|
21523
|
+
updateTime: 'string',
|
|
21524
|
+
};
|
|
21525
|
+
}
|
|
21526
|
+
|
|
21527
|
+
constructor(map?: { [key: string]: any }) {
|
|
21528
|
+
super(map);
|
|
21529
|
+
}
|
|
21530
|
+
}
|
|
21531
|
+
|
|
21292
21532
|
export class ListEdgeContainerAppRecordsResponseBodyRecords extends $tea.Model {
|
|
21293
21533
|
/**
|
|
21294
21534
|
* @example
|
|
@@ -28348,6 +28588,44 @@ export default class Client extends OpenApi {
|
|
|
28348
28588
|
return await this.listCacheReserveInstancesWithOptions(request, runtime);
|
|
28349
28589
|
}
|
|
28350
28590
|
|
|
28591
|
+
/**
|
|
28592
|
+
* 查询站点下客户端证书列表
|
|
28593
|
+
*
|
|
28594
|
+
* @param request - ListClientCertificatesRequest
|
|
28595
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28596
|
+
* @returns ListClientCertificatesResponse
|
|
28597
|
+
*/
|
|
28598
|
+
async listClientCertificatesWithOptions(request: ListClientCertificatesRequest, runtime: $Util.RuntimeOptions): Promise<ListClientCertificatesResponse> {
|
|
28599
|
+
Util.validateModel(request);
|
|
28600
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
28601
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
28602
|
+
query: OpenApiUtil.query(query),
|
|
28603
|
+
});
|
|
28604
|
+
let params = new $OpenApi.Params({
|
|
28605
|
+
action: "ListClientCertificates",
|
|
28606
|
+
version: "2024-09-10",
|
|
28607
|
+
protocol: "HTTPS",
|
|
28608
|
+
pathname: "/",
|
|
28609
|
+
method: "GET",
|
|
28610
|
+
authType: "AK",
|
|
28611
|
+
style: "RPC",
|
|
28612
|
+
reqBodyType: "formData",
|
|
28613
|
+
bodyType: "json",
|
|
28614
|
+
});
|
|
28615
|
+
return $tea.cast<ListClientCertificatesResponse>(await this.callApi(params, req, runtime), new ListClientCertificatesResponse({}));
|
|
28616
|
+
}
|
|
28617
|
+
|
|
28618
|
+
/**
|
|
28619
|
+
* 查询站点下客户端证书列表
|
|
28620
|
+
*
|
|
28621
|
+
* @param request - ListClientCertificatesRequest
|
|
28622
|
+
* @returns ListClientCertificatesResponse
|
|
28623
|
+
*/
|
|
28624
|
+
async listClientCertificates(request: ListClientCertificatesRequest): Promise<ListClientCertificatesResponse> {
|
|
28625
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
28626
|
+
return await this.listClientCertificatesWithOptions(request, runtime);
|
|
28627
|
+
}
|
|
28628
|
+
|
|
28351
28629
|
/**
|
|
28352
28630
|
* 获取一个边缘容器应用的全部域名记录
|
|
28353
28631
|
*
|