@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 +592 -0
- package/dist/client.js +612 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +974 -28
package/src/client.ts
CHANGED
|
@@ -4818,6 +4818,167 @@ export class DeleteCustomScenePolicyResponse extends $tea.Model {
|
|
|
4818
4818
|
}
|
|
4819
4819
|
}
|
|
4820
4820
|
|
|
4821
|
+
export class DeleteKvRequest extends $tea.Model {
|
|
4822
|
+
/**
|
|
4823
|
+
* @remarks
|
|
4824
|
+
* This parameter is required.
|
|
4825
|
+
*
|
|
4826
|
+
* @example
|
|
4827
|
+
* test_key
|
|
4828
|
+
*/
|
|
4829
|
+
key?: string;
|
|
4830
|
+
/**
|
|
4831
|
+
* @remarks
|
|
4832
|
+
* This parameter is required.
|
|
4833
|
+
*
|
|
4834
|
+
* @example
|
|
4835
|
+
* test_namespace
|
|
4836
|
+
*/
|
|
4837
|
+
namespace?: string;
|
|
4838
|
+
static names(): { [key: string]: string } {
|
|
4839
|
+
return {
|
|
4840
|
+
key: 'Key',
|
|
4841
|
+
namespace: 'Namespace',
|
|
4842
|
+
};
|
|
4843
|
+
}
|
|
4844
|
+
|
|
4845
|
+
static types(): { [key: string]: any } {
|
|
4846
|
+
return {
|
|
4847
|
+
key: 'string',
|
|
4848
|
+
namespace: 'string',
|
|
4849
|
+
};
|
|
4850
|
+
}
|
|
4851
|
+
|
|
4852
|
+
constructor(map?: { [key: string]: any }) {
|
|
4853
|
+
super(map);
|
|
4854
|
+
}
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4857
|
+
export class DeleteKvResponseBody extends $tea.Model {
|
|
4858
|
+
/**
|
|
4859
|
+
* @remarks
|
|
4860
|
+
* Id of the request
|
|
4861
|
+
*
|
|
4862
|
+
* @example
|
|
4863
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
4864
|
+
*/
|
|
4865
|
+
requestId?: string;
|
|
4866
|
+
static names(): { [key: string]: string } {
|
|
4867
|
+
return {
|
|
4868
|
+
requestId: 'RequestId',
|
|
4869
|
+
};
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
static types(): { [key: string]: any } {
|
|
4873
|
+
return {
|
|
4874
|
+
requestId: 'string',
|
|
4875
|
+
};
|
|
4876
|
+
}
|
|
4877
|
+
|
|
4878
|
+
constructor(map?: { [key: string]: any }) {
|
|
4879
|
+
super(map);
|
|
4880
|
+
}
|
|
4881
|
+
}
|
|
4882
|
+
|
|
4883
|
+
export class DeleteKvResponse extends $tea.Model {
|
|
4884
|
+
headers?: { [key: string]: string };
|
|
4885
|
+
statusCode?: number;
|
|
4886
|
+
body?: DeleteKvResponseBody;
|
|
4887
|
+
static names(): { [key: string]: string } {
|
|
4888
|
+
return {
|
|
4889
|
+
headers: 'headers',
|
|
4890
|
+
statusCode: 'statusCode',
|
|
4891
|
+
body: 'body',
|
|
4892
|
+
};
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
static types(): { [key: string]: any } {
|
|
4896
|
+
return {
|
|
4897
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4898
|
+
statusCode: 'number',
|
|
4899
|
+
body: DeleteKvResponseBody,
|
|
4900
|
+
};
|
|
4901
|
+
}
|
|
4902
|
+
|
|
4903
|
+
constructor(map?: { [key: string]: any }) {
|
|
4904
|
+
super(map);
|
|
4905
|
+
}
|
|
4906
|
+
}
|
|
4907
|
+
|
|
4908
|
+
export class DeleteKvNamespaceRequest extends $tea.Model {
|
|
4909
|
+
/**
|
|
4910
|
+
* @remarks
|
|
4911
|
+
* This parameter is required.
|
|
4912
|
+
*
|
|
4913
|
+
* @example
|
|
4914
|
+
* test_namespace
|
|
4915
|
+
*/
|
|
4916
|
+
namespace?: string;
|
|
4917
|
+
static names(): { [key: string]: string } {
|
|
4918
|
+
return {
|
|
4919
|
+
namespace: 'Namespace',
|
|
4920
|
+
};
|
|
4921
|
+
}
|
|
4922
|
+
|
|
4923
|
+
static types(): { [key: string]: any } {
|
|
4924
|
+
return {
|
|
4925
|
+
namespace: 'string',
|
|
4926
|
+
};
|
|
4927
|
+
}
|
|
4928
|
+
|
|
4929
|
+
constructor(map?: { [key: string]: any }) {
|
|
4930
|
+
super(map);
|
|
4931
|
+
}
|
|
4932
|
+
}
|
|
4933
|
+
|
|
4934
|
+
export class DeleteKvNamespaceResponseBody extends $tea.Model {
|
|
4935
|
+
/**
|
|
4936
|
+
* @example
|
|
4937
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
4938
|
+
*/
|
|
4939
|
+
requestId?: string;
|
|
4940
|
+
static names(): { [key: string]: string } {
|
|
4941
|
+
return {
|
|
4942
|
+
requestId: 'RequestId',
|
|
4943
|
+
};
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4946
|
+
static types(): { [key: string]: any } {
|
|
4947
|
+
return {
|
|
4948
|
+
requestId: 'string',
|
|
4949
|
+
};
|
|
4950
|
+
}
|
|
4951
|
+
|
|
4952
|
+
constructor(map?: { [key: string]: any }) {
|
|
4953
|
+
super(map);
|
|
4954
|
+
}
|
|
4955
|
+
}
|
|
4956
|
+
|
|
4957
|
+
export class DeleteKvNamespaceResponse extends $tea.Model {
|
|
4958
|
+
headers?: { [key: string]: string };
|
|
4959
|
+
statusCode?: number;
|
|
4960
|
+
body?: DeleteKvNamespaceResponseBody;
|
|
4961
|
+
static names(): { [key: string]: string } {
|
|
4962
|
+
return {
|
|
4963
|
+
headers: 'headers',
|
|
4964
|
+
statusCode: 'statusCode',
|
|
4965
|
+
body: 'body',
|
|
4966
|
+
};
|
|
4967
|
+
}
|
|
4968
|
+
|
|
4969
|
+
static types(): { [key: string]: any } {
|
|
4970
|
+
return {
|
|
4971
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4972
|
+
statusCode: 'number',
|
|
4973
|
+
body: DeleteKvNamespaceResponseBody,
|
|
4974
|
+
};
|
|
4975
|
+
}
|
|
4976
|
+
|
|
4977
|
+
constructor(map?: { [key: string]: any }) {
|
|
4978
|
+
super(map);
|
|
4979
|
+
}
|
|
4980
|
+
}
|
|
4981
|
+
|
|
4821
4982
|
export class DeleteListRequest extends $tea.Model {
|
|
4822
4983
|
/**
|
|
4823
4984
|
* @remarks
|
|
@@ -6386,6 +6547,61 @@ export class DescribeIPRangeListResponse extends $tea.Model {
|
|
|
6386
6547
|
}
|
|
6387
6548
|
}
|
|
6388
6549
|
|
|
6550
|
+
export class DescribeKvAccountStatusResponseBody extends $tea.Model {
|
|
6551
|
+
/**
|
|
6552
|
+
* @example
|
|
6553
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
6554
|
+
*/
|
|
6555
|
+
requestId?: string;
|
|
6556
|
+
/**
|
|
6557
|
+
* @example
|
|
6558
|
+
* online
|
|
6559
|
+
*/
|
|
6560
|
+
status?: string;
|
|
6561
|
+
static names(): { [key: string]: string } {
|
|
6562
|
+
return {
|
|
6563
|
+
requestId: 'RequestId',
|
|
6564
|
+
status: 'Status',
|
|
6565
|
+
};
|
|
6566
|
+
}
|
|
6567
|
+
|
|
6568
|
+
static types(): { [key: string]: any } {
|
|
6569
|
+
return {
|
|
6570
|
+
requestId: 'string',
|
|
6571
|
+
status: 'string',
|
|
6572
|
+
};
|
|
6573
|
+
}
|
|
6574
|
+
|
|
6575
|
+
constructor(map?: { [key: string]: any }) {
|
|
6576
|
+
super(map);
|
|
6577
|
+
}
|
|
6578
|
+
}
|
|
6579
|
+
|
|
6580
|
+
export class DescribeKvAccountStatusResponse extends $tea.Model {
|
|
6581
|
+
headers?: { [key: string]: string };
|
|
6582
|
+
statusCode?: number;
|
|
6583
|
+
body?: DescribeKvAccountStatusResponseBody;
|
|
6584
|
+
static names(): { [key: string]: string } {
|
|
6585
|
+
return {
|
|
6586
|
+
headers: 'headers',
|
|
6587
|
+
statusCode: 'statusCode',
|
|
6588
|
+
body: 'body',
|
|
6589
|
+
};
|
|
6590
|
+
}
|
|
6591
|
+
|
|
6592
|
+
static types(): { [key: string]: any } {
|
|
6593
|
+
return {
|
|
6594
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6595
|
+
statusCode: 'number',
|
|
6596
|
+
body: DescribeKvAccountStatusResponseBody,
|
|
6597
|
+
};
|
|
6598
|
+
}
|
|
6599
|
+
|
|
6600
|
+
constructor(map?: { [key: string]: any }) {
|
|
6601
|
+
super(map);
|
|
6602
|
+
}
|
|
6603
|
+
}
|
|
6604
|
+
|
|
6389
6605
|
export class DescribePreloadTasksRequest extends $tea.Model {
|
|
6390
6606
|
/**
|
|
6391
6607
|
* @example
|
|
@@ -6978,20 +7194,172 @@ export class ExportRecordsResponseBody extends $tea.Model {
|
|
|
6978
7194
|
* Id of the request
|
|
6979
7195
|
*
|
|
6980
7196
|
* @example
|
|
6981
|
-
* C69B5894-D1BA-592C-95D0-DADBE7AEAC63
|
|
7197
|
+
* C69B5894-D1BA-592C-95D0-DADBE7AEAC63
|
|
7198
|
+
*/
|
|
7199
|
+
requestId?: string;
|
|
7200
|
+
static names(): { [key: string]: string } {
|
|
7201
|
+
return {
|
|
7202
|
+
content: 'Content',
|
|
7203
|
+
requestId: 'RequestId',
|
|
7204
|
+
};
|
|
7205
|
+
}
|
|
7206
|
+
|
|
7207
|
+
static types(): { [key: string]: any } {
|
|
7208
|
+
return {
|
|
7209
|
+
content: 'string',
|
|
7210
|
+
requestId: 'string',
|
|
7211
|
+
};
|
|
7212
|
+
}
|
|
7213
|
+
|
|
7214
|
+
constructor(map?: { [key: string]: any }) {
|
|
7215
|
+
super(map);
|
|
7216
|
+
}
|
|
7217
|
+
}
|
|
7218
|
+
|
|
7219
|
+
export class ExportRecordsResponse extends $tea.Model {
|
|
7220
|
+
headers?: { [key: string]: string };
|
|
7221
|
+
statusCode?: number;
|
|
7222
|
+
body?: ExportRecordsResponseBody;
|
|
7223
|
+
static names(): { [key: string]: string } {
|
|
7224
|
+
return {
|
|
7225
|
+
headers: 'headers',
|
|
7226
|
+
statusCode: 'statusCode',
|
|
7227
|
+
body: 'body',
|
|
7228
|
+
};
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
static types(): { [key: string]: any } {
|
|
7232
|
+
return {
|
|
7233
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7234
|
+
statusCode: 'number',
|
|
7235
|
+
body: ExportRecordsResponseBody,
|
|
7236
|
+
};
|
|
7237
|
+
}
|
|
7238
|
+
|
|
7239
|
+
constructor(map?: { [key: string]: any }) {
|
|
7240
|
+
super(map);
|
|
7241
|
+
}
|
|
7242
|
+
}
|
|
7243
|
+
|
|
7244
|
+
export class GetCacheReserveSpecificationResponseBody extends $tea.Model {
|
|
7245
|
+
cacheReserveCapacity?: string[];
|
|
7246
|
+
cacheReserveRegion?: string[];
|
|
7247
|
+
/**
|
|
7248
|
+
* @remarks
|
|
7249
|
+
* Id of the request
|
|
7250
|
+
*/
|
|
7251
|
+
requestId?: string;
|
|
7252
|
+
static names(): { [key: string]: string } {
|
|
7253
|
+
return {
|
|
7254
|
+
cacheReserveCapacity: 'CacheReserveCapacity',
|
|
7255
|
+
cacheReserveRegion: 'CacheReserveRegion',
|
|
7256
|
+
requestId: 'RequestId',
|
|
7257
|
+
};
|
|
7258
|
+
}
|
|
7259
|
+
|
|
7260
|
+
static types(): { [key: string]: any } {
|
|
7261
|
+
return {
|
|
7262
|
+
cacheReserveCapacity: { 'type': 'array', 'itemType': 'string' },
|
|
7263
|
+
cacheReserveRegion: { 'type': 'array', 'itemType': 'string' },
|
|
7264
|
+
requestId: 'string',
|
|
7265
|
+
};
|
|
7266
|
+
}
|
|
7267
|
+
|
|
7268
|
+
constructor(map?: { [key: string]: any }) {
|
|
7269
|
+
super(map);
|
|
7270
|
+
}
|
|
7271
|
+
}
|
|
7272
|
+
|
|
7273
|
+
export class GetCacheReserveSpecificationResponse extends $tea.Model {
|
|
7274
|
+
headers?: { [key: string]: string };
|
|
7275
|
+
statusCode?: number;
|
|
7276
|
+
body?: GetCacheReserveSpecificationResponseBody;
|
|
7277
|
+
static names(): { [key: string]: string } {
|
|
7278
|
+
return {
|
|
7279
|
+
headers: 'headers',
|
|
7280
|
+
statusCode: 'statusCode',
|
|
7281
|
+
body: 'body',
|
|
7282
|
+
};
|
|
7283
|
+
}
|
|
7284
|
+
|
|
7285
|
+
static types(): { [key: string]: any } {
|
|
7286
|
+
return {
|
|
7287
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7288
|
+
statusCode: 'number',
|
|
7289
|
+
body: GetCacheReserveSpecificationResponseBody,
|
|
7290
|
+
};
|
|
7291
|
+
}
|
|
7292
|
+
|
|
7293
|
+
constructor(map?: { [key: string]: any }) {
|
|
7294
|
+
super(map);
|
|
7295
|
+
}
|
|
7296
|
+
}
|
|
7297
|
+
|
|
7298
|
+
export class GetKvRequest extends $tea.Model {
|
|
7299
|
+
/**
|
|
7300
|
+
* @example
|
|
7301
|
+
* true
|
|
7302
|
+
*/
|
|
7303
|
+
base64?: boolean;
|
|
7304
|
+
/**
|
|
7305
|
+
* @remarks
|
|
7306
|
+
* This parameter is required.
|
|
7307
|
+
*
|
|
7308
|
+
* @example
|
|
7309
|
+
* test_key
|
|
7310
|
+
*/
|
|
7311
|
+
key?: string;
|
|
7312
|
+
/**
|
|
7313
|
+
* @remarks
|
|
7314
|
+
* This parameter is required.
|
|
7315
|
+
*
|
|
7316
|
+
* @example
|
|
7317
|
+
* test_namespace
|
|
7318
|
+
*/
|
|
7319
|
+
namespace?: string;
|
|
7320
|
+
static names(): { [key: string]: string } {
|
|
7321
|
+
return {
|
|
7322
|
+
base64: 'Base64',
|
|
7323
|
+
key: 'Key',
|
|
7324
|
+
namespace: 'Namespace',
|
|
7325
|
+
};
|
|
7326
|
+
}
|
|
7327
|
+
|
|
7328
|
+
static types(): { [key: string]: any } {
|
|
7329
|
+
return {
|
|
7330
|
+
base64: 'boolean',
|
|
7331
|
+
key: 'string',
|
|
7332
|
+
namespace: 'string',
|
|
7333
|
+
};
|
|
7334
|
+
}
|
|
7335
|
+
|
|
7336
|
+
constructor(map?: { [key: string]: any }) {
|
|
7337
|
+
super(map);
|
|
7338
|
+
}
|
|
7339
|
+
}
|
|
7340
|
+
|
|
7341
|
+
export class GetKvResponseBody extends $tea.Model {
|
|
7342
|
+
/**
|
|
7343
|
+
* @example
|
|
7344
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
6982
7345
|
*/
|
|
6983
7346
|
requestId?: string;
|
|
7347
|
+
/**
|
|
7348
|
+
* @example
|
|
7349
|
+
* test_value
|
|
7350
|
+
*/
|
|
7351
|
+
value?: string;
|
|
6984
7352
|
static names(): { [key: string]: string } {
|
|
6985
7353
|
return {
|
|
6986
|
-
content: 'Content',
|
|
6987
7354
|
requestId: 'RequestId',
|
|
7355
|
+
value: 'Value',
|
|
6988
7356
|
};
|
|
6989
7357
|
}
|
|
6990
7358
|
|
|
6991
7359
|
static types(): { [key: string]: any } {
|
|
6992
7360
|
return {
|
|
6993
|
-
content: 'string',
|
|
6994
7361
|
requestId: 'string',
|
|
7362
|
+
value: 'string',
|
|
6995
7363
|
};
|
|
6996
7364
|
}
|
|
6997
7365
|
|
|
@@ -7000,10 +7368,10 @@ export class ExportRecordsResponseBody extends $tea.Model {
|
|
|
7000
7368
|
}
|
|
7001
7369
|
}
|
|
7002
7370
|
|
|
7003
|
-
export class
|
|
7371
|
+
export class GetKvResponse extends $tea.Model {
|
|
7004
7372
|
headers?: { [key: string]: string };
|
|
7005
7373
|
statusCode?: number;
|
|
7006
|
-
body?:
|
|
7374
|
+
body?: GetKvResponseBody;
|
|
7007
7375
|
static names(): { [key: string]: string } {
|
|
7008
7376
|
return {
|
|
7009
7377
|
headers: 'headers',
|
|
@@ -7016,7 +7384,7 @@ export class ExportRecordsResponse extends $tea.Model {
|
|
|
7016
7384
|
return {
|
|
7017
7385
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7018
7386
|
statusCode: 'number',
|
|
7019
|
-
body:
|
|
7387
|
+
body: GetKvResponseBody,
|
|
7020
7388
|
};
|
|
7021
7389
|
}
|
|
7022
7390
|
|
|
@@ -7025,27 +7393,73 @@ export class ExportRecordsResponse extends $tea.Model {
|
|
|
7025
7393
|
}
|
|
7026
7394
|
}
|
|
7027
7395
|
|
|
7028
|
-
export class
|
|
7029
|
-
cacheReserveCapacity?: string[];
|
|
7030
|
-
cacheReserveRegion?: string[];
|
|
7396
|
+
export class GetKvAccountResponseBody extends $tea.Model {
|
|
7031
7397
|
/**
|
|
7032
|
-
* @
|
|
7033
|
-
*
|
|
7398
|
+
* @example
|
|
7399
|
+
* 1073741824
|
|
7400
|
+
*/
|
|
7401
|
+
capacity?: number;
|
|
7402
|
+
/**
|
|
7403
|
+
* @example
|
|
7404
|
+
* 1 GB
|
|
7405
|
+
*/
|
|
7406
|
+
capacityString?: string;
|
|
7407
|
+
/**
|
|
7408
|
+
* @example
|
|
7409
|
+
* 10048576
|
|
7410
|
+
*/
|
|
7411
|
+
capacityUsed?: number;
|
|
7412
|
+
/**
|
|
7413
|
+
* @example
|
|
7414
|
+
* 100 MB
|
|
7415
|
+
*/
|
|
7416
|
+
capacityUsedString?: string;
|
|
7417
|
+
namespaceList?: GetKvAccountResponseBodyNamespaceList[];
|
|
7418
|
+
/**
|
|
7419
|
+
* @example
|
|
7420
|
+
* 10
|
|
7421
|
+
*/
|
|
7422
|
+
namespaceQuota?: number;
|
|
7423
|
+
/**
|
|
7424
|
+
* @example
|
|
7425
|
+
* 1
|
|
7426
|
+
*/
|
|
7427
|
+
namespaceUsed?: number;
|
|
7428
|
+
/**
|
|
7429
|
+
* @example
|
|
7430
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
7034
7431
|
*/
|
|
7035
7432
|
requestId?: string;
|
|
7433
|
+
/**
|
|
7434
|
+
* @example
|
|
7435
|
+
* online
|
|
7436
|
+
*/
|
|
7437
|
+
status?: string;
|
|
7036
7438
|
static names(): { [key: string]: string } {
|
|
7037
7439
|
return {
|
|
7038
|
-
|
|
7039
|
-
|
|
7440
|
+
capacity: 'Capacity',
|
|
7441
|
+
capacityString: 'CapacityString',
|
|
7442
|
+
capacityUsed: 'CapacityUsed',
|
|
7443
|
+
capacityUsedString: 'CapacityUsedString',
|
|
7444
|
+
namespaceList: 'NamespaceList',
|
|
7445
|
+
namespaceQuota: 'NamespaceQuota',
|
|
7446
|
+
namespaceUsed: 'NamespaceUsed',
|
|
7040
7447
|
requestId: 'RequestId',
|
|
7448
|
+
status: 'Status',
|
|
7041
7449
|
};
|
|
7042
7450
|
}
|
|
7043
7451
|
|
|
7044
7452
|
static types(): { [key: string]: any } {
|
|
7045
7453
|
return {
|
|
7046
|
-
|
|
7047
|
-
|
|
7454
|
+
capacity: 'number',
|
|
7455
|
+
capacityString: 'string',
|
|
7456
|
+
capacityUsed: 'number',
|
|
7457
|
+
capacityUsedString: 'string',
|
|
7458
|
+
namespaceList: { 'type': 'array', 'itemType': GetKvAccountResponseBodyNamespaceList },
|
|
7459
|
+
namespaceQuota: 'number',
|
|
7460
|
+
namespaceUsed: 'number',
|
|
7048
7461
|
requestId: 'string',
|
|
7462
|
+
status: 'string',
|
|
7049
7463
|
};
|
|
7050
7464
|
}
|
|
7051
7465
|
|
|
@@ -7054,10 +7468,10 @@ export class GetCacheReserveSpecificationResponseBody extends $tea.Model {
|
|
|
7054
7468
|
}
|
|
7055
7469
|
}
|
|
7056
7470
|
|
|
7057
|
-
export class
|
|
7471
|
+
export class GetKvAccountResponse extends $tea.Model {
|
|
7058
7472
|
headers?: { [key: string]: string };
|
|
7059
7473
|
statusCode?: number;
|
|
7060
|
-
body?:
|
|
7474
|
+
body?: GetKvAccountResponseBody;
|
|
7061
7475
|
static names(): { [key: string]: string } {
|
|
7062
7476
|
return {
|
|
7063
7477
|
headers: 'headers',
|
|
@@ -7070,7 +7484,7 @@ export class GetCacheReserveSpecificationResponse extends $tea.Model {
|
|
|
7070
7484
|
return {
|
|
7071
7485
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7072
7486
|
statusCode: 'number',
|
|
7073
|
-
body:
|
|
7487
|
+
body: GetKvAccountResponseBody,
|
|
7074
7488
|
};
|
|
7075
7489
|
}
|
|
7076
7490
|
|
|
@@ -9401,6 +9815,132 @@ export class ListCacheReserveInstancesResponse extends $tea.Model {
|
|
|
9401
9815
|
}
|
|
9402
9816
|
}
|
|
9403
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
|
+
|
|
9404
9944
|
export class ListEdgeContainerAppRecordsRequest extends $tea.Model {
|
|
9405
9945
|
/**
|
|
9406
9946
|
* @remarks
|
|
@@ -19932,25 +20472,97 @@ export class DescribePurgeTasksResponseBodyTasks extends $tea.Model {
|
|
|
19932
20472
|
type?: string;
|
|
19933
20473
|
static names(): { [key: string]: string } {
|
|
19934
20474
|
return {
|
|
19935
|
-
content: 'Content',
|
|
19936
|
-
createTime: 'CreateTime',
|
|
20475
|
+
content: 'Content',
|
|
20476
|
+
createTime: 'CreateTime',
|
|
20477
|
+
description: 'Description',
|
|
20478
|
+
process: 'Process',
|
|
20479
|
+
status: 'Status',
|
|
20480
|
+
taskId: 'TaskId',
|
|
20481
|
+
type: 'Type',
|
|
20482
|
+
};
|
|
20483
|
+
}
|
|
20484
|
+
|
|
20485
|
+
static types(): { [key: string]: any } {
|
|
20486
|
+
return {
|
|
20487
|
+
content: 'string',
|
|
20488
|
+
createTime: 'string',
|
|
20489
|
+
description: 'string',
|
|
20490
|
+
process: 'string',
|
|
20491
|
+
status: 'string',
|
|
20492
|
+
taskId: 'string',
|
|
20493
|
+
type: 'string',
|
|
20494
|
+
};
|
|
20495
|
+
}
|
|
20496
|
+
|
|
20497
|
+
constructor(map?: { [key: string]: any }) {
|
|
20498
|
+
super(map);
|
|
20499
|
+
}
|
|
20500
|
+
}
|
|
20501
|
+
|
|
20502
|
+
export class GetKvAccountResponseBodyNamespaceList extends $tea.Model {
|
|
20503
|
+
/**
|
|
20504
|
+
* @example
|
|
20505
|
+
* 1073741824
|
|
20506
|
+
*/
|
|
20507
|
+
capacity?: number;
|
|
20508
|
+
/**
|
|
20509
|
+
* @example
|
|
20510
|
+
* 1 GB
|
|
20511
|
+
*/
|
|
20512
|
+
capacityString?: string;
|
|
20513
|
+
/**
|
|
20514
|
+
* @example
|
|
20515
|
+
* 100048576
|
|
20516
|
+
*/
|
|
20517
|
+
capacityUsed?: number;
|
|
20518
|
+
/**
|
|
20519
|
+
* @example
|
|
20520
|
+
* 100 MB
|
|
20521
|
+
*/
|
|
20522
|
+
capacityUsedString?: string;
|
|
20523
|
+
/**
|
|
20524
|
+
* @example
|
|
20525
|
+
* the first namespace
|
|
20526
|
+
*/
|
|
20527
|
+
description?: string;
|
|
20528
|
+
/**
|
|
20529
|
+
* @example
|
|
20530
|
+
* test_namespace
|
|
20531
|
+
*/
|
|
20532
|
+
namespace?: string;
|
|
20533
|
+
/**
|
|
20534
|
+
* @example
|
|
20535
|
+
* 643355322374688768
|
|
20536
|
+
*/
|
|
20537
|
+
namespaceId?: string;
|
|
20538
|
+
/**
|
|
20539
|
+
* @example
|
|
20540
|
+
* online
|
|
20541
|
+
*/
|
|
20542
|
+
status?: string;
|
|
20543
|
+
static names(): { [key: string]: string } {
|
|
20544
|
+
return {
|
|
20545
|
+
capacity: 'Capacity',
|
|
20546
|
+
capacityString: 'CapacityString',
|
|
20547
|
+
capacityUsed: 'CapacityUsed',
|
|
20548
|
+
capacityUsedString: 'CapacityUsedString',
|
|
19937
20549
|
description: 'Description',
|
|
19938
|
-
|
|
20550
|
+
namespace: 'Namespace',
|
|
20551
|
+
namespaceId: 'NamespaceId',
|
|
19939
20552
|
status: 'Status',
|
|
19940
|
-
taskId: 'TaskId',
|
|
19941
|
-
type: 'Type',
|
|
19942
20553
|
};
|
|
19943
20554
|
}
|
|
19944
20555
|
|
|
19945
20556
|
static types(): { [key: string]: any } {
|
|
19946
20557
|
return {
|
|
19947
|
-
|
|
19948
|
-
|
|
20558
|
+
capacity: 'number',
|
|
20559
|
+
capacityString: 'string',
|
|
20560
|
+
capacityUsed: 'number',
|
|
20561
|
+
capacityUsedString: 'string',
|
|
19949
20562
|
description: 'string',
|
|
19950
|
-
|
|
20563
|
+
namespace: 'string',
|
|
20564
|
+
namespaceId: 'string',
|
|
19951
20565
|
status: 'string',
|
|
19952
|
-
taskId: 'string',
|
|
19953
|
-
type: 'string',
|
|
19954
20566
|
};
|
|
19955
20567
|
}
|
|
19956
20568
|
|
|
@@ -20803,6 +21415,120 @@ export class ListCacheReserveInstancesResponseBodyInstanceInfo extends $tea.Mode
|
|
|
20803
21415
|
}
|
|
20804
21416
|
}
|
|
20805
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
|
+
|
|
20806
21532
|
export class ListEdgeContainerAppRecordsResponseBodyRecords extends $tea.Model {
|
|
20807
21533
|
/**
|
|
20808
21534
|
* @example
|
|
@@ -25691,6 +26417,86 @@ export default class Client extends OpenApi {
|
|
|
25691
26417
|
return await this.deleteCustomScenePolicyWithOptions(request, runtime);
|
|
25692
26418
|
}
|
|
25693
26419
|
|
|
26420
|
+
/**
|
|
26421
|
+
* 删除Namespace的Key-Value对
|
|
26422
|
+
*
|
|
26423
|
+
* @param request - DeleteKvRequest
|
|
26424
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
26425
|
+
* @returns DeleteKvResponse
|
|
26426
|
+
*/
|
|
26427
|
+
async deleteKvWithOptions(request: DeleteKvRequest, runtime: $Util.RuntimeOptions): Promise<DeleteKvResponse> {
|
|
26428
|
+
Util.validateModel(request);
|
|
26429
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
26430
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
26431
|
+
query: OpenApiUtil.query(query),
|
|
26432
|
+
});
|
|
26433
|
+
let params = new $OpenApi.Params({
|
|
26434
|
+
action: "DeleteKv",
|
|
26435
|
+
version: "2024-09-10",
|
|
26436
|
+
protocol: "HTTPS",
|
|
26437
|
+
pathname: "/",
|
|
26438
|
+
method: "GET",
|
|
26439
|
+
authType: "AK",
|
|
26440
|
+
style: "RPC",
|
|
26441
|
+
reqBodyType: "formData",
|
|
26442
|
+
bodyType: "json",
|
|
26443
|
+
});
|
|
26444
|
+
return $tea.cast<DeleteKvResponse>(await this.callApi(params, req, runtime), new DeleteKvResponse({}));
|
|
26445
|
+
}
|
|
26446
|
+
|
|
26447
|
+
/**
|
|
26448
|
+
* 删除Namespace的Key-Value对
|
|
26449
|
+
*
|
|
26450
|
+
* @param request - DeleteKvRequest
|
|
26451
|
+
* @returns DeleteKvResponse
|
|
26452
|
+
*/
|
|
26453
|
+
async deleteKv(request: DeleteKvRequest): Promise<DeleteKvResponse> {
|
|
26454
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
26455
|
+
return await this.deleteKvWithOptions(request, runtime);
|
|
26456
|
+
}
|
|
26457
|
+
|
|
26458
|
+
/**
|
|
26459
|
+
* 删除Namespace
|
|
26460
|
+
*
|
|
26461
|
+
* @param request - DeleteKvNamespaceRequest
|
|
26462
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
26463
|
+
* @returns DeleteKvNamespaceResponse
|
|
26464
|
+
*/
|
|
26465
|
+
async deleteKvNamespaceWithOptions(request: DeleteKvNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteKvNamespaceResponse> {
|
|
26466
|
+
Util.validateModel(request);
|
|
26467
|
+
let query = { };
|
|
26468
|
+
if (!Util.isUnset(request.namespace)) {
|
|
26469
|
+
query["Namespace"] = request.namespace;
|
|
26470
|
+
}
|
|
26471
|
+
|
|
26472
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
26473
|
+
query: OpenApiUtil.query(query),
|
|
26474
|
+
});
|
|
26475
|
+
let params = new $OpenApi.Params({
|
|
26476
|
+
action: "DeleteKvNamespace",
|
|
26477
|
+
version: "2024-09-10",
|
|
26478
|
+
protocol: "HTTPS",
|
|
26479
|
+
pathname: "/",
|
|
26480
|
+
method: "POST",
|
|
26481
|
+
authType: "AK",
|
|
26482
|
+
style: "RPC",
|
|
26483
|
+
reqBodyType: "formData",
|
|
26484
|
+
bodyType: "json",
|
|
26485
|
+
});
|
|
26486
|
+
return $tea.cast<DeleteKvNamespaceResponse>(await this.callApi(params, req, runtime), new DeleteKvNamespaceResponse({}));
|
|
26487
|
+
}
|
|
26488
|
+
|
|
26489
|
+
/**
|
|
26490
|
+
* 删除Namespace
|
|
26491
|
+
*
|
|
26492
|
+
* @param request - DeleteKvNamespaceRequest
|
|
26493
|
+
* @returns DeleteKvNamespaceResponse
|
|
26494
|
+
*/
|
|
26495
|
+
async deleteKvNamespace(request: DeleteKvNamespaceRequest): Promise<DeleteKvNamespaceResponse> {
|
|
26496
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
26497
|
+
return await this.deleteKvNamespaceWithOptions(request, runtime);
|
|
26498
|
+
}
|
|
26499
|
+
|
|
25694
26500
|
/**
|
|
25695
26501
|
* 删除自定义列表
|
|
25696
26502
|
*
|
|
@@ -26509,6 +27315,38 @@ export default class Client extends OpenApi {
|
|
|
26509
27315
|
return await this.describeIPRangeListWithOptions(runtime);
|
|
26510
27316
|
}
|
|
26511
27317
|
|
|
27318
|
+
/**
|
|
27319
|
+
* 查询账户的KV状态信
|
|
27320
|
+
*
|
|
27321
|
+
* @param request - DescribeKvAccountStatusRequest
|
|
27322
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27323
|
+
* @returns DescribeKvAccountStatusResponse
|
|
27324
|
+
*/
|
|
27325
|
+
async describeKvAccountStatusWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeKvAccountStatusResponse> {
|
|
27326
|
+
let req = new $OpenApi.OpenApiRequest({ });
|
|
27327
|
+
let params = new $OpenApi.Params({
|
|
27328
|
+
action: "DescribeKvAccountStatus",
|
|
27329
|
+
version: "2024-09-10",
|
|
27330
|
+
protocol: "HTTPS",
|
|
27331
|
+
pathname: "/",
|
|
27332
|
+
method: "GET",
|
|
27333
|
+
authType: "AK",
|
|
27334
|
+
style: "RPC",
|
|
27335
|
+
reqBodyType: "formData",
|
|
27336
|
+
bodyType: "json",
|
|
27337
|
+
});
|
|
27338
|
+
return $tea.cast<DescribeKvAccountStatusResponse>(await this.callApi(params, req, runtime), new DescribeKvAccountStatusResponse({}));
|
|
27339
|
+
}
|
|
27340
|
+
|
|
27341
|
+
/**
|
|
27342
|
+
* 查询账户的KV状态信
|
|
27343
|
+
* @returns DescribeKvAccountStatusResponse
|
|
27344
|
+
*/
|
|
27345
|
+
async describeKvAccountStatus(): Promise<DescribeKvAccountStatusResponse> {
|
|
27346
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27347
|
+
return await this.describeKvAccountStatusWithOptions(runtime);
|
|
27348
|
+
}
|
|
27349
|
+
|
|
26512
27350
|
/**
|
|
26513
27351
|
* 预热任务查询接口
|
|
26514
27352
|
*
|
|
@@ -26797,6 +27635,76 @@ export default class Client extends OpenApi {
|
|
|
26797
27635
|
return await this.getCacheReserveSpecificationWithOptions(runtime);
|
|
26798
27636
|
}
|
|
26799
27637
|
|
|
27638
|
+
/**
|
|
27639
|
+
* 查询Key-Value对的某个Key值
|
|
27640
|
+
*
|
|
27641
|
+
* @param request - GetKvRequest
|
|
27642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27643
|
+
* @returns GetKvResponse
|
|
27644
|
+
*/
|
|
27645
|
+
async getKvWithOptions(request: GetKvRequest, runtime: $Util.RuntimeOptions): Promise<GetKvResponse> {
|
|
27646
|
+
Util.validateModel(request);
|
|
27647
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
27648
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
27649
|
+
query: OpenApiUtil.query(query),
|
|
27650
|
+
});
|
|
27651
|
+
let params = new $OpenApi.Params({
|
|
27652
|
+
action: "GetKv",
|
|
27653
|
+
version: "2024-09-10",
|
|
27654
|
+
protocol: "HTTPS",
|
|
27655
|
+
pathname: "/",
|
|
27656
|
+
method: "GET",
|
|
27657
|
+
authType: "AK",
|
|
27658
|
+
style: "RPC",
|
|
27659
|
+
reqBodyType: "formData",
|
|
27660
|
+
bodyType: "json",
|
|
27661
|
+
});
|
|
27662
|
+
return $tea.cast<GetKvResponse>(await this.callApi(params, req, runtime), new GetKvResponse({}));
|
|
27663
|
+
}
|
|
27664
|
+
|
|
27665
|
+
/**
|
|
27666
|
+
* 查询Key-Value对的某个Key值
|
|
27667
|
+
*
|
|
27668
|
+
* @param request - GetKvRequest
|
|
27669
|
+
* @returns GetKvResponse
|
|
27670
|
+
*/
|
|
27671
|
+
async getKv(request: GetKvRequest): Promise<GetKvResponse> {
|
|
27672
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27673
|
+
return await this.getKvWithOptions(request, runtime);
|
|
27674
|
+
}
|
|
27675
|
+
|
|
27676
|
+
/**
|
|
27677
|
+
* 列出账号下的NS
|
|
27678
|
+
*
|
|
27679
|
+
* @param request - GetKvAccountRequest
|
|
27680
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27681
|
+
* @returns GetKvAccountResponse
|
|
27682
|
+
*/
|
|
27683
|
+
async getKvAccountWithOptions(runtime: $Util.RuntimeOptions): Promise<GetKvAccountResponse> {
|
|
27684
|
+
let req = new $OpenApi.OpenApiRequest({ });
|
|
27685
|
+
let params = new $OpenApi.Params({
|
|
27686
|
+
action: "GetKvAccount",
|
|
27687
|
+
version: "2024-09-10",
|
|
27688
|
+
protocol: "HTTPS",
|
|
27689
|
+
pathname: "/",
|
|
27690
|
+
method: "GET",
|
|
27691
|
+
authType: "AK",
|
|
27692
|
+
style: "RPC",
|
|
27693
|
+
reqBodyType: "formData",
|
|
27694
|
+
bodyType: "json",
|
|
27695
|
+
});
|
|
27696
|
+
return $tea.cast<GetKvAccountResponse>(await this.callApi(params, req, runtime), new GetKvAccountResponse({}));
|
|
27697
|
+
}
|
|
27698
|
+
|
|
27699
|
+
/**
|
|
27700
|
+
* 列出账号下的NS
|
|
27701
|
+
* @returns GetKvAccountResponse
|
|
27702
|
+
*/
|
|
27703
|
+
async getKvAccount(): Promise<GetKvAccountResponse> {
|
|
27704
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27705
|
+
return await this.getKvAccountWithOptions(runtime);
|
|
27706
|
+
}
|
|
27707
|
+
|
|
26800
27708
|
/**
|
|
26801
27709
|
* 查询Namespace信息
|
|
26802
27710
|
*
|
|
@@ -27680,6 +28588,44 @@ export default class Client extends OpenApi {
|
|
|
27680
28588
|
return await this.listCacheReserveInstancesWithOptions(request, runtime);
|
|
27681
28589
|
}
|
|
27682
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
|
+
|
|
27683
28629
|
/**
|
|
27684
28630
|
* 获取一个边缘容器应用的全部域名记录
|
|
27685
28631
|
*
|