@alicloud/esa20240910 2.0.1 → 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 CHANGED
@@ -3280,6 +3280,119 @@ export declare class DeleteCustomScenePolicyResponse extends $tea.Model {
3280
3280
  [key: string]: any;
3281
3281
  });
3282
3282
  }
3283
+ export declare class DeleteKvRequest extends $tea.Model {
3284
+ /**
3285
+ * @remarks
3286
+ * This parameter is required.
3287
+ *
3288
+ * @example
3289
+ * test_key
3290
+ */
3291
+ key?: string;
3292
+ /**
3293
+ * @remarks
3294
+ * This parameter is required.
3295
+ *
3296
+ * @example
3297
+ * test_namespace
3298
+ */
3299
+ namespace?: string;
3300
+ static names(): {
3301
+ [key: string]: string;
3302
+ };
3303
+ static types(): {
3304
+ [key: string]: any;
3305
+ };
3306
+ constructor(map?: {
3307
+ [key: string]: any;
3308
+ });
3309
+ }
3310
+ export declare class DeleteKvResponseBody extends $tea.Model {
3311
+ /**
3312
+ * @remarks
3313
+ * Id of the request
3314
+ *
3315
+ * @example
3316
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
3317
+ */
3318
+ requestId?: string;
3319
+ static names(): {
3320
+ [key: string]: string;
3321
+ };
3322
+ static types(): {
3323
+ [key: string]: any;
3324
+ };
3325
+ constructor(map?: {
3326
+ [key: string]: any;
3327
+ });
3328
+ }
3329
+ export declare class DeleteKvResponse extends $tea.Model {
3330
+ headers?: {
3331
+ [key: string]: string;
3332
+ };
3333
+ statusCode?: number;
3334
+ body?: DeleteKvResponseBody;
3335
+ static names(): {
3336
+ [key: string]: string;
3337
+ };
3338
+ static types(): {
3339
+ [key: string]: any;
3340
+ };
3341
+ constructor(map?: {
3342
+ [key: string]: any;
3343
+ });
3344
+ }
3345
+ export declare class DeleteKvNamespaceRequest extends $tea.Model {
3346
+ /**
3347
+ * @remarks
3348
+ * This parameter is required.
3349
+ *
3350
+ * @example
3351
+ * test_namespace
3352
+ */
3353
+ namespace?: string;
3354
+ static names(): {
3355
+ [key: string]: string;
3356
+ };
3357
+ static types(): {
3358
+ [key: string]: any;
3359
+ };
3360
+ constructor(map?: {
3361
+ [key: string]: any;
3362
+ });
3363
+ }
3364
+ export declare class DeleteKvNamespaceResponseBody extends $tea.Model {
3365
+ /**
3366
+ * @example
3367
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
3368
+ */
3369
+ requestId?: string;
3370
+ static names(): {
3371
+ [key: string]: string;
3372
+ };
3373
+ static types(): {
3374
+ [key: string]: any;
3375
+ };
3376
+ constructor(map?: {
3377
+ [key: string]: any;
3378
+ });
3379
+ }
3380
+ export declare class DeleteKvNamespaceResponse extends $tea.Model {
3381
+ headers?: {
3382
+ [key: string]: string;
3383
+ };
3384
+ statusCode?: number;
3385
+ body?: DeleteKvNamespaceResponseBody;
3386
+ static names(): {
3387
+ [key: string]: string;
3388
+ };
3389
+ static types(): {
3390
+ [key: string]: any;
3391
+ };
3392
+ constructor(map?: {
3393
+ [key: string]: any;
3394
+ });
3395
+ }
3283
3396
  export declare class DeleteListRequest extends $tea.Model {
3284
3397
  /**
3285
3398
  * @remarks
@@ -4373,6 +4486,43 @@ export declare class DescribeIPRangeListResponse extends $tea.Model {
4373
4486
  [key: string]: any;
4374
4487
  });
4375
4488
  }
4489
+ export declare class DescribeKvAccountStatusResponseBody extends $tea.Model {
4490
+ /**
4491
+ * @example
4492
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
4493
+ */
4494
+ requestId?: string;
4495
+ /**
4496
+ * @example
4497
+ * online
4498
+ */
4499
+ status?: string;
4500
+ static names(): {
4501
+ [key: string]: string;
4502
+ };
4503
+ static types(): {
4504
+ [key: string]: any;
4505
+ };
4506
+ constructor(map?: {
4507
+ [key: string]: any;
4508
+ });
4509
+ }
4510
+ export declare class DescribeKvAccountStatusResponse extends $tea.Model {
4511
+ headers?: {
4512
+ [key: string]: string;
4513
+ };
4514
+ statusCode?: number;
4515
+ body?: DescribeKvAccountStatusResponseBody;
4516
+ static names(): {
4517
+ [key: string]: string;
4518
+ };
4519
+ static types(): {
4520
+ [key: string]: any;
4521
+ };
4522
+ constructor(map?: {
4523
+ [key: string]: any;
4524
+ });
4525
+ }
4376
4526
  export declare class DescribePreloadTasksRequest extends $tea.Model {
4377
4527
  /**
4378
4528
  * @example
@@ -4845,6 +4995,143 @@ export declare class GetCacheReserveSpecificationResponse extends $tea.Model {
4845
4995
  [key: string]: any;
4846
4996
  });
4847
4997
  }
4998
+ export declare class GetKvRequest extends $tea.Model {
4999
+ /**
5000
+ * @example
5001
+ * true
5002
+ */
5003
+ base64?: boolean;
5004
+ /**
5005
+ * @remarks
5006
+ * This parameter is required.
5007
+ *
5008
+ * @example
5009
+ * test_key
5010
+ */
5011
+ key?: string;
5012
+ /**
5013
+ * @remarks
5014
+ * This parameter is required.
5015
+ *
5016
+ * @example
5017
+ * test_namespace
5018
+ */
5019
+ namespace?: string;
5020
+ static names(): {
5021
+ [key: string]: string;
5022
+ };
5023
+ static types(): {
5024
+ [key: string]: any;
5025
+ };
5026
+ constructor(map?: {
5027
+ [key: string]: any;
5028
+ });
5029
+ }
5030
+ export declare class GetKvResponseBody extends $tea.Model {
5031
+ /**
5032
+ * @example
5033
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
5034
+ */
5035
+ requestId?: string;
5036
+ /**
5037
+ * @example
5038
+ * test_value
5039
+ */
5040
+ value?: string;
5041
+ static names(): {
5042
+ [key: string]: string;
5043
+ };
5044
+ static types(): {
5045
+ [key: string]: any;
5046
+ };
5047
+ constructor(map?: {
5048
+ [key: string]: any;
5049
+ });
5050
+ }
5051
+ export declare class GetKvResponse extends $tea.Model {
5052
+ headers?: {
5053
+ [key: string]: string;
5054
+ };
5055
+ statusCode?: number;
5056
+ body?: GetKvResponseBody;
5057
+ static names(): {
5058
+ [key: string]: string;
5059
+ };
5060
+ static types(): {
5061
+ [key: string]: any;
5062
+ };
5063
+ constructor(map?: {
5064
+ [key: string]: any;
5065
+ });
5066
+ }
5067
+ export declare class GetKvAccountResponseBody extends $tea.Model {
5068
+ /**
5069
+ * @example
5070
+ * 1073741824
5071
+ */
5072
+ capacity?: number;
5073
+ /**
5074
+ * @example
5075
+ * 1 GB
5076
+ */
5077
+ capacityString?: string;
5078
+ /**
5079
+ * @example
5080
+ * 10048576
5081
+ */
5082
+ capacityUsed?: number;
5083
+ /**
5084
+ * @example
5085
+ * 100 MB
5086
+ */
5087
+ capacityUsedString?: string;
5088
+ namespaceList?: GetKvAccountResponseBodyNamespaceList[];
5089
+ /**
5090
+ * @example
5091
+ * 10
5092
+ */
5093
+ namespaceQuota?: number;
5094
+ /**
5095
+ * @example
5096
+ * 1
5097
+ */
5098
+ namespaceUsed?: number;
5099
+ /**
5100
+ * @example
5101
+ * EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
5102
+ */
5103
+ requestId?: string;
5104
+ /**
5105
+ * @example
5106
+ * online
5107
+ */
5108
+ status?: string;
5109
+ static names(): {
5110
+ [key: string]: string;
5111
+ };
5112
+ static types(): {
5113
+ [key: string]: any;
5114
+ };
5115
+ constructor(map?: {
5116
+ [key: string]: any;
5117
+ });
5118
+ }
5119
+ export declare class GetKvAccountResponse extends $tea.Model {
5120
+ headers?: {
5121
+ [key: string]: string;
5122
+ };
5123
+ statusCode?: number;
5124
+ body?: GetKvAccountResponseBody;
5125
+ static names(): {
5126
+ [key: string]: string;
5127
+ };
5128
+ static types(): {
5129
+ [key: string]: any;
5130
+ };
5131
+ constructor(map?: {
5132
+ [key: string]: any;
5133
+ });
5134
+ }
4848
5135
  export declare class GetKvNamespaceRequest extends $tea.Model {
4849
5136
  /**
4850
5137
  * @remarks
@@ -6448,6 +6735,93 @@ export declare class ListCacheReserveInstancesResponse extends $tea.Model {
6448
6735
  [key: string]: any;
6449
6736
  });
6450
6737
  }
6738
+ export declare class ListClientCertificatesRequest extends $tea.Model {
6739
+ /**
6740
+ * @example
6741
+ * 1
6742
+ */
6743
+ pageNumber?: number;
6744
+ /**
6745
+ * @example
6746
+ * 20
6747
+ */
6748
+ pageSize?: number;
6749
+ /**
6750
+ * @remarks
6751
+ * This parameter is required.
6752
+ *
6753
+ * @example
6754
+ * 1234567890123
6755
+ */
6756
+ siteId?: number;
6757
+ static names(): {
6758
+ [key: string]: string;
6759
+ };
6760
+ static types(): {
6761
+ [key: string]: any;
6762
+ };
6763
+ constructor(map?: {
6764
+ [key: string]: any;
6765
+ });
6766
+ }
6767
+ export declare class ListClientCertificatesResponseBody extends $tea.Model {
6768
+ /**
6769
+ * @example
6770
+ * 1
6771
+ */
6772
+ pageNumber?: number;
6773
+ /**
6774
+ * @example
6775
+ * 20
6776
+ */
6777
+ pageSize?: number;
6778
+ /**
6779
+ * @example
6780
+ * 15C66C7B-671A-4297-9187-2C4477247A74
6781
+ */
6782
+ requestId?: string;
6783
+ result?: ListClientCertificatesResponseBodyResult[];
6784
+ /**
6785
+ * @example
6786
+ * 1234567890123
6787
+ */
6788
+ siteId?: number;
6789
+ /**
6790
+ * @example
6791
+ * example.com
6792
+ */
6793
+ siteName?: string;
6794
+ /**
6795
+ * @example
6796
+ * 5
6797
+ */
6798
+ totalCount?: number;
6799
+ static names(): {
6800
+ [key: string]: string;
6801
+ };
6802
+ static types(): {
6803
+ [key: string]: any;
6804
+ };
6805
+ constructor(map?: {
6806
+ [key: string]: any;
6807
+ });
6808
+ }
6809
+ export declare class ListClientCertificatesResponse extends $tea.Model {
6810
+ headers?: {
6811
+ [key: string]: string;
6812
+ };
6813
+ statusCode?: number;
6814
+ body?: ListClientCertificatesResponseBody;
6815
+ static names(): {
6816
+ [key: string]: string;
6817
+ };
6818
+ static types(): {
6819
+ [key: string]: any;
6820
+ };
6821
+ constructor(map?: {
6822
+ [key: string]: any;
6823
+ });
6824
+ }
6451
6825
  export declare class ListEdgeContainerAppRecordsRequest extends $tea.Model {
6452
6826
  /**
6453
6827
  * @remarks
@@ -13573,6 +13947,57 @@ export declare class DescribePurgeTasksResponseBodyTasks extends $tea.Model {
13573
13947
  [key: string]: any;
13574
13948
  });
13575
13949
  }
13950
+ export declare class GetKvAccountResponseBodyNamespaceList extends $tea.Model {
13951
+ /**
13952
+ * @example
13953
+ * 1073741824
13954
+ */
13955
+ capacity?: number;
13956
+ /**
13957
+ * @example
13958
+ * 1 GB
13959
+ */
13960
+ capacityString?: string;
13961
+ /**
13962
+ * @example
13963
+ * 100048576
13964
+ */
13965
+ capacityUsed?: number;
13966
+ /**
13967
+ * @example
13968
+ * 100 MB
13969
+ */
13970
+ capacityUsedString?: string;
13971
+ /**
13972
+ * @example
13973
+ * the first namespace
13974
+ */
13975
+ description?: string;
13976
+ /**
13977
+ * @example
13978
+ * test_namespace
13979
+ */
13980
+ namespace?: string;
13981
+ /**
13982
+ * @example
13983
+ * 643355322374688768
13984
+ */
13985
+ namespaceId?: string;
13986
+ /**
13987
+ * @example
13988
+ * online
13989
+ */
13990
+ status?: string;
13991
+ static names(): {
13992
+ [key: string]: string;
13993
+ };
13994
+ static types(): {
13995
+ [key: string]: any;
13996
+ };
13997
+ constructor(map?: {
13998
+ [key: string]: any;
13999
+ });
14000
+ }
13576
14001
  export declare class GetRecordResponseBodyRecordModelAuthConf extends $tea.Model {
13577
14002
  /**
13578
14003
  * @example
@@ -14132,6 +14557,87 @@ export declare class ListCacheReserveInstancesResponseBodyInstanceInfo extends $
14132
14557
  [key: string]: any;
14133
14558
  });
14134
14559
  }
14560
+ export declare class ListClientCertificatesResponseBodyResult extends $tea.Model {
14561
+ /**
14562
+ * @example
14563
+ * baba39055622c008b90285a8838ed09a
14564
+ */
14565
+ CACertificateId?: string;
14566
+ /**
14567
+ * @example
14568
+ * www.example.com
14569
+ */
14570
+ commonName?: string;
14571
+ /**
14572
+ * @example
14573
+ * 2024-06-24 07:48:51
14574
+ */
14575
+ createTime?: string;
14576
+ /**
14577
+ * @example
14578
+ * babab9db65ee5efcca9f3d41d4b50d66
14579
+ */
14580
+ id?: string;
14581
+ /**
14582
+ * @example
14583
+ * GlobalSign nv-sa
14584
+ */
14585
+ issuer?: string;
14586
+ /**
14587
+ * @example
14588
+ * yourCertName
14589
+ */
14590
+ name?: string;
14591
+ /**
14592
+ * @example
14593
+ * 2024-03-31 02:08:00
14594
+ */
14595
+ notAfter?: string;
14596
+ /**
14597
+ * @example
14598
+ * 2023-03-31 02:08:00
14599
+ */
14600
+ notBefore?: string;
14601
+ /**
14602
+ * @example
14603
+ * RSA
14604
+ */
14605
+ pubkeyAlgorithm?: string;
14606
+ /**
14607
+ * @example
14608
+ * www.example.com,*.example.com
14609
+ */
14610
+ SAN?: string;
14611
+ /**
14612
+ * @example
14613
+ * SHA256-RSA
14614
+ */
14615
+ signatureAlgorithm?: string;
14616
+ /**
14617
+ * @example
14618
+ * active
14619
+ */
14620
+ status?: string;
14621
+ /**
14622
+ * @example
14623
+ * dcdn
14624
+ */
14625
+ type?: string;
14626
+ /**
14627
+ * @example
14628
+ * 2024-07-20 06:18:42
14629
+ */
14630
+ updateTime?: string;
14631
+ static names(): {
14632
+ [key: string]: string;
14633
+ };
14634
+ static types(): {
14635
+ [key: string]: any;
14636
+ };
14637
+ constructor(map?: {
14638
+ [key: string]: any;
14639
+ });
14640
+ }
14135
14641
  export declare class ListEdgeContainerAppRecordsResponseBodyRecords extends $tea.Model {
14136
14642
  /**
14137
14643
  * @example
@@ -16511,6 +17017,36 @@ export default class Client extends OpenApi {
16511
17017
  * @returns DeleteCustomScenePolicyResponse
16512
17018
  */
16513
17019
  deleteCustomScenePolicy(request: DeleteCustomScenePolicyRequest): Promise<DeleteCustomScenePolicyResponse>;
17020
+ /**
17021
+ * 删除Namespace的Key-Value对
17022
+ *
17023
+ * @param request - DeleteKvRequest
17024
+ * @param runtime - runtime options for this request RuntimeOptions
17025
+ * @returns DeleteKvResponse
17026
+ */
17027
+ deleteKvWithOptions(request: DeleteKvRequest, runtime: $Util.RuntimeOptions): Promise<DeleteKvResponse>;
17028
+ /**
17029
+ * 删除Namespace的Key-Value对
17030
+ *
17031
+ * @param request - DeleteKvRequest
17032
+ * @returns DeleteKvResponse
17033
+ */
17034
+ deleteKv(request: DeleteKvRequest): Promise<DeleteKvResponse>;
17035
+ /**
17036
+ * 删除Namespace
17037
+ *
17038
+ * @param request - DeleteKvNamespaceRequest
17039
+ * @param runtime - runtime options for this request RuntimeOptions
17040
+ * @returns DeleteKvNamespaceResponse
17041
+ */
17042
+ deleteKvNamespaceWithOptions(request: DeleteKvNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteKvNamespaceResponse>;
17043
+ /**
17044
+ * 删除Namespace
17045
+ *
17046
+ * @param request - DeleteKvNamespaceRequest
17047
+ * @returns DeleteKvNamespaceResponse
17048
+ */
17049
+ deleteKvNamespace(request: DeleteKvNamespaceRequest): Promise<DeleteKvNamespaceResponse>;
16514
17050
  /**
16515
17051
  * 删除自定义列表
16516
17052
  *
@@ -16779,6 +17315,19 @@ export default class Client extends OpenApi {
16779
17315
  * @returns DescribeIPRangeListResponse
16780
17316
  */
16781
17317
  describeIPRangeList(): Promise<DescribeIPRangeListResponse>;
17318
+ /**
17319
+ * 查询账户的KV状态信
17320
+ *
17321
+ * @param request - DescribeKvAccountStatusRequest
17322
+ * @param runtime - runtime options for this request RuntimeOptions
17323
+ * @returns DescribeKvAccountStatusResponse
17324
+ */
17325
+ describeKvAccountStatusWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeKvAccountStatusResponse>;
17326
+ /**
17327
+ * 查询账户的KV状态信
17328
+ * @returns DescribeKvAccountStatusResponse
17329
+ */
17330
+ describeKvAccountStatus(): Promise<DescribeKvAccountStatusResponse>;
16782
17331
  /**
16783
17332
  * 预热任务查询接口
16784
17333
  *
@@ -16882,6 +17431,34 @@ export default class Client extends OpenApi {
16882
17431
  * @returns GetCacheReserveSpecificationResponse
16883
17432
  */
16884
17433
  getCacheReserveSpecification(): Promise<GetCacheReserveSpecificationResponse>;
17434
+ /**
17435
+ * 查询Key-Value对的某个Key值
17436
+ *
17437
+ * @param request - GetKvRequest
17438
+ * @param runtime - runtime options for this request RuntimeOptions
17439
+ * @returns GetKvResponse
17440
+ */
17441
+ getKvWithOptions(request: GetKvRequest, runtime: $Util.RuntimeOptions): Promise<GetKvResponse>;
17442
+ /**
17443
+ * 查询Key-Value对的某个Key值
17444
+ *
17445
+ * @param request - GetKvRequest
17446
+ * @returns GetKvResponse
17447
+ */
17448
+ getKv(request: GetKvRequest): Promise<GetKvResponse>;
17449
+ /**
17450
+ * 列出账号下的NS
17451
+ *
17452
+ * @param request - GetKvAccountRequest
17453
+ * @param runtime - runtime options for this request RuntimeOptions
17454
+ * @returns GetKvAccountResponse
17455
+ */
17456
+ getKvAccountWithOptions(runtime: $Util.RuntimeOptions): Promise<GetKvAccountResponse>;
17457
+ /**
17458
+ * 列出账号下的NS
17459
+ * @returns GetKvAccountResponse
17460
+ */
17461
+ getKvAccount(): Promise<GetKvAccountResponse>;
16885
17462
  /**
16886
17463
  * 查询Namespace信息
16887
17464
  *
@@ -17207,6 +17784,21 @@ export default class Client extends OpenApi {
17207
17784
  * @returns ListCacheReserveInstancesResponse
17208
17785
  */
17209
17786
  listCacheReserveInstances(request: ListCacheReserveInstancesRequest): Promise<ListCacheReserveInstancesResponse>;
17787
+ /**
17788
+ * 查询站点下客户端证书列表
17789
+ *
17790
+ * @param request - ListClientCertificatesRequest
17791
+ * @param runtime - runtime options for this request RuntimeOptions
17792
+ * @returns ListClientCertificatesResponse
17793
+ */
17794
+ listClientCertificatesWithOptions(request: ListClientCertificatesRequest, runtime: $Util.RuntimeOptions): Promise<ListClientCertificatesResponse>;
17795
+ /**
17796
+ * 查询站点下客户端证书列表
17797
+ *
17798
+ * @param request - ListClientCertificatesRequest
17799
+ * @returns ListClientCertificatesResponse
17800
+ */
17801
+ listClientCertificates(request: ListClientCertificatesRequest): Promise<ListClientCertificatesResponse>;
17210
17802
  /**
17211
17803
  * 获取一个边缘容器应用的全部域名记录
17212
17804
  *