@alicloud/esa20240910 2.1.0 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/esa20240910",
3
- "version": "2.1.0",
3
+ "version": "2.3.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -7295,6 +7295,93 @@ export class GetCacheReserveSpecificationResponse extends $tea.Model {
7295
7295
  }
7296
7296
  }
7297
7297
 
7298
+ export class GetErServiceRequest extends $tea.Model {
7299
+ ownerId?: number;
7300
+ securityToken?: string;
7301
+ static names(): { [key: string]: string } {
7302
+ return {
7303
+ ownerId: 'OwnerId',
7304
+ securityToken: 'SecurityToken',
7305
+ };
7306
+ }
7307
+
7308
+ static types(): { [key: string]: any } {
7309
+ return {
7310
+ ownerId: 'number',
7311
+ securityToken: 'string',
7312
+ };
7313
+ }
7314
+
7315
+ constructor(map?: { [key: string]: any }) {
7316
+ super(map);
7317
+ }
7318
+ }
7319
+
7320
+ export class GetErServiceResponseBody extends $tea.Model {
7321
+ /**
7322
+ * @example
7323
+ * er_paymode
7324
+ */
7325
+ planName?: string;
7326
+ /**
7327
+ * @remarks
7328
+ * Id of the request
7329
+ *
7330
+ * @example
7331
+ * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
7332
+ */
7333
+ requestId?: string;
7334
+ /**
7335
+ * @example
7336
+ * Running
7337
+ */
7338
+ status?: string;
7339
+ static names(): { [key: string]: string } {
7340
+ return {
7341
+ planName: 'PlanName',
7342
+ requestId: 'RequestId',
7343
+ status: 'Status',
7344
+ };
7345
+ }
7346
+
7347
+ static types(): { [key: string]: any } {
7348
+ return {
7349
+ planName: 'string',
7350
+ requestId: 'string',
7351
+ status: 'string',
7352
+ };
7353
+ }
7354
+
7355
+ constructor(map?: { [key: string]: any }) {
7356
+ super(map);
7357
+ }
7358
+ }
7359
+
7360
+ export class GetErServiceResponse extends $tea.Model {
7361
+ headers?: { [key: string]: string };
7362
+ statusCode?: number;
7363
+ body?: GetErServiceResponseBody;
7364
+ static names(): { [key: string]: string } {
7365
+ return {
7366
+ headers: 'headers',
7367
+ statusCode: 'statusCode',
7368
+ body: 'body',
7369
+ };
7370
+ }
7371
+
7372
+ static types(): { [key: string]: any } {
7373
+ return {
7374
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7375
+ statusCode: 'number',
7376
+ body: GetErServiceResponseBody,
7377
+ };
7378
+ }
7379
+
7380
+ constructor(map?: { [key: string]: any }) {
7381
+ super(map);
7382
+ }
7383
+ }
7384
+
7298
7385
  export class GetKvRequest extends $tea.Model {
7299
7386
  /**
7300
7387
  * @example
@@ -9815,6 +9902,132 @@ export class ListCacheReserveInstancesResponse extends $tea.Model {
9815
9902
  }
9816
9903
  }
9817
9904
 
9905
+ export class ListClientCertificatesRequest extends $tea.Model {
9906
+ /**
9907
+ * @example
9908
+ * 1
9909
+ */
9910
+ pageNumber?: number;
9911
+ /**
9912
+ * @example
9913
+ * 20
9914
+ */
9915
+ pageSize?: number;
9916
+ /**
9917
+ * @remarks
9918
+ * This parameter is required.
9919
+ *
9920
+ * @example
9921
+ * 1234567890123
9922
+ */
9923
+ siteId?: number;
9924
+ static names(): { [key: string]: string } {
9925
+ return {
9926
+ pageNumber: 'PageNumber',
9927
+ pageSize: 'PageSize',
9928
+ siteId: 'SiteId',
9929
+ };
9930
+ }
9931
+
9932
+ static types(): { [key: string]: any } {
9933
+ return {
9934
+ pageNumber: 'number',
9935
+ pageSize: 'number',
9936
+ siteId: 'number',
9937
+ };
9938
+ }
9939
+
9940
+ constructor(map?: { [key: string]: any }) {
9941
+ super(map);
9942
+ }
9943
+ }
9944
+
9945
+ export class ListClientCertificatesResponseBody extends $tea.Model {
9946
+ /**
9947
+ * @example
9948
+ * 1
9949
+ */
9950
+ pageNumber?: number;
9951
+ /**
9952
+ * @example
9953
+ * 20
9954
+ */
9955
+ pageSize?: number;
9956
+ /**
9957
+ * @example
9958
+ * 15C66C7B-671A-4297-9187-2C4477247A74
9959
+ */
9960
+ requestId?: string;
9961
+ result?: ListClientCertificatesResponseBodyResult[];
9962
+ /**
9963
+ * @example
9964
+ * 1234567890123
9965
+ */
9966
+ siteId?: number;
9967
+ /**
9968
+ * @example
9969
+ * example.com
9970
+ */
9971
+ siteName?: string;
9972
+ /**
9973
+ * @example
9974
+ * 5
9975
+ */
9976
+ totalCount?: number;
9977
+ static names(): { [key: string]: string } {
9978
+ return {
9979
+ pageNumber: 'PageNumber',
9980
+ pageSize: 'PageSize',
9981
+ requestId: 'RequestId',
9982
+ result: 'Result',
9983
+ siteId: 'SiteId',
9984
+ siteName: 'SiteName',
9985
+ totalCount: 'TotalCount',
9986
+ };
9987
+ }
9988
+
9989
+ static types(): { [key: string]: any } {
9990
+ return {
9991
+ pageNumber: 'number',
9992
+ pageSize: 'number',
9993
+ requestId: 'string',
9994
+ result: { 'type': 'array', 'itemType': ListClientCertificatesResponseBodyResult },
9995
+ siteId: 'number',
9996
+ siteName: 'string',
9997
+ totalCount: 'number',
9998
+ };
9999
+ }
10000
+
10001
+ constructor(map?: { [key: string]: any }) {
10002
+ super(map);
10003
+ }
10004
+ }
10005
+
10006
+ export class ListClientCertificatesResponse extends $tea.Model {
10007
+ headers?: { [key: string]: string };
10008
+ statusCode?: number;
10009
+ body?: ListClientCertificatesResponseBody;
10010
+ static names(): { [key: string]: string } {
10011
+ return {
10012
+ headers: 'headers',
10013
+ statusCode: 'statusCode',
10014
+ body: 'body',
10015
+ };
10016
+ }
10017
+
10018
+ static types(): { [key: string]: any } {
10019
+ return {
10020
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10021
+ statusCode: 'number',
10022
+ body: ListClientCertificatesResponseBody,
10023
+ };
10024
+ }
10025
+
10026
+ constructor(map?: { [key: string]: any }) {
10027
+ super(map);
10028
+ }
10029
+ }
10030
+
9818
10031
  export class ListEdgeContainerAppRecordsRequest extends $tea.Model {
9819
10032
  /**
9820
10033
  * @remarks
@@ -21289,6 +21502,120 @@ export class ListCacheReserveInstancesResponseBodyInstanceInfo extends $tea.Mode
21289
21502
  }
21290
21503
  }
21291
21504
 
21505
+ export class ListClientCertificatesResponseBodyResult extends $tea.Model {
21506
+ /**
21507
+ * @example
21508
+ * baba39055622c008b90285a8838ed09a
21509
+ */
21510
+ CACertificateId?: string;
21511
+ /**
21512
+ * @example
21513
+ * www.example.com
21514
+ */
21515
+ commonName?: string;
21516
+ /**
21517
+ * @example
21518
+ * 2024-06-24 07:48:51
21519
+ */
21520
+ createTime?: string;
21521
+ /**
21522
+ * @example
21523
+ * babab9db65ee5efcca9f3d41d4b50d66
21524
+ */
21525
+ id?: string;
21526
+ /**
21527
+ * @example
21528
+ * GlobalSign nv-sa
21529
+ */
21530
+ issuer?: string;
21531
+ /**
21532
+ * @example
21533
+ * yourCertName
21534
+ */
21535
+ name?: string;
21536
+ /**
21537
+ * @example
21538
+ * 2024-03-31 02:08:00
21539
+ */
21540
+ notAfter?: string;
21541
+ /**
21542
+ * @example
21543
+ * 2023-03-31 02:08:00
21544
+ */
21545
+ notBefore?: string;
21546
+ /**
21547
+ * @example
21548
+ * RSA
21549
+ */
21550
+ pubkeyAlgorithm?: string;
21551
+ /**
21552
+ * @example
21553
+ * www.example.com,*.example.com
21554
+ */
21555
+ SAN?: string;
21556
+ /**
21557
+ * @example
21558
+ * SHA256-RSA
21559
+ */
21560
+ signatureAlgorithm?: string;
21561
+ /**
21562
+ * @example
21563
+ * active
21564
+ */
21565
+ status?: string;
21566
+ /**
21567
+ * @example
21568
+ * dcdn
21569
+ */
21570
+ type?: string;
21571
+ /**
21572
+ * @example
21573
+ * 2024-07-20 06:18:42
21574
+ */
21575
+ updateTime?: string;
21576
+ static names(): { [key: string]: string } {
21577
+ return {
21578
+ CACertificateId: 'CACertificateId',
21579
+ commonName: 'CommonName',
21580
+ createTime: 'CreateTime',
21581
+ id: 'Id',
21582
+ issuer: 'Issuer',
21583
+ name: 'Name',
21584
+ notAfter: 'NotAfter',
21585
+ notBefore: 'NotBefore',
21586
+ pubkeyAlgorithm: 'PubkeyAlgorithm',
21587
+ SAN: 'SAN',
21588
+ signatureAlgorithm: 'SignatureAlgorithm',
21589
+ status: 'Status',
21590
+ type: 'Type',
21591
+ updateTime: 'UpdateTime',
21592
+ };
21593
+ }
21594
+
21595
+ static types(): { [key: string]: any } {
21596
+ return {
21597
+ CACertificateId: 'string',
21598
+ commonName: 'string',
21599
+ createTime: 'string',
21600
+ id: 'string',
21601
+ issuer: 'string',
21602
+ name: 'string',
21603
+ notAfter: 'string',
21604
+ notBefore: 'string',
21605
+ pubkeyAlgorithm: 'string',
21606
+ SAN: 'string',
21607
+ signatureAlgorithm: 'string',
21608
+ status: 'string',
21609
+ type: 'string',
21610
+ updateTime: 'string',
21611
+ };
21612
+ }
21613
+
21614
+ constructor(map?: { [key: string]: any }) {
21615
+ super(map);
21616
+ }
21617
+ }
21618
+
21292
21619
  export class ListEdgeContainerAppRecordsResponseBodyRecords extends $tea.Model {
21293
21620
  /**
21294
21621
  * @example
@@ -27395,6 +27722,44 @@ export default class Client extends OpenApi {
27395
27722
  return await this.getCacheReserveSpecificationWithOptions(runtime);
27396
27723
  }
27397
27724
 
27725
+ /**
27726
+ * GetErService
27727
+ *
27728
+ * @param request - GetErServiceRequest
27729
+ * @param runtime - runtime options for this request RuntimeOptions
27730
+ * @returns GetErServiceResponse
27731
+ */
27732
+ async getErServiceWithOptions(request: GetErServiceRequest, runtime: $Util.RuntimeOptions): Promise<GetErServiceResponse> {
27733
+ Util.validateModel(request);
27734
+ let query = OpenApiUtil.query(Util.toMap(request));
27735
+ let req = new $OpenApi.OpenApiRequest({
27736
+ query: OpenApiUtil.query(query),
27737
+ });
27738
+ let params = new $OpenApi.Params({
27739
+ action: "GetErService",
27740
+ version: "2024-09-10",
27741
+ protocol: "HTTPS",
27742
+ pathname: "/",
27743
+ method: "GET",
27744
+ authType: "AK",
27745
+ style: "RPC",
27746
+ reqBodyType: "formData",
27747
+ bodyType: "json",
27748
+ });
27749
+ return $tea.cast<GetErServiceResponse>(await this.callApi(params, req, runtime), new GetErServiceResponse({}));
27750
+ }
27751
+
27752
+ /**
27753
+ * GetErService
27754
+ *
27755
+ * @param request - GetErServiceRequest
27756
+ * @returns GetErServiceResponse
27757
+ */
27758
+ async getErService(request: GetErServiceRequest): Promise<GetErServiceResponse> {
27759
+ let runtime = new $Util.RuntimeOptions({ });
27760
+ return await this.getErServiceWithOptions(request, runtime);
27761
+ }
27762
+
27398
27763
  /**
27399
27764
  * 查询Key-Value对的某个Key值
27400
27765
  *
@@ -28348,6 +28713,44 @@ export default class Client extends OpenApi {
28348
28713
  return await this.listCacheReserveInstancesWithOptions(request, runtime);
28349
28714
  }
28350
28715
 
28716
+ /**
28717
+ * 查询站点下客户端证书列表
28718
+ *
28719
+ * @param request - ListClientCertificatesRequest
28720
+ * @param runtime - runtime options for this request RuntimeOptions
28721
+ * @returns ListClientCertificatesResponse
28722
+ */
28723
+ async listClientCertificatesWithOptions(request: ListClientCertificatesRequest, runtime: $Util.RuntimeOptions): Promise<ListClientCertificatesResponse> {
28724
+ Util.validateModel(request);
28725
+ let query = OpenApiUtil.query(Util.toMap(request));
28726
+ let req = new $OpenApi.OpenApiRequest({
28727
+ query: OpenApiUtil.query(query),
28728
+ });
28729
+ let params = new $OpenApi.Params({
28730
+ action: "ListClientCertificates",
28731
+ version: "2024-09-10",
28732
+ protocol: "HTTPS",
28733
+ pathname: "/",
28734
+ method: "GET",
28735
+ authType: "AK",
28736
+ style: "RPC",
28737
+ reqBodyType: "formData",
28738
+ bodyType: "json",
28739
+ });
28740
+ return $tea.cast<ListClientCertificatesResponse>(await this.callApi(params, req, runtime), new ListClientCertificatesResponse({}));
28741
+ }
28742
+
28743
+ /**
28744
+ * 查询站点下客户端证书列表
28745
+ *
28746
+ * @param request - ListClientCertificatesRequest
28747
+ * @returns ListClientCertificatesResponse
28748
+ */
28749
+ async listClientCertificates(request: ListClientCertificatesRequest): Promise<ListClientCertificatesResponse> {
28750
+ let runtime = new $Util.RuntimeOptions({ });
28751
+ return await this.listClientCertificatesWithOptions(request, runtime);
28752
+ }
28753
+
28351
28754
  /**
28352
28755
  * 获取一个边缘容器应用的全部域名记录
28353
28756
  *