@alicloud/polardb20170801 7.0.0 → 7.1.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 +63 -18
- package/dist/client.js +168 -18
- package/dist/client.js.map +1 -1
- package/dist/models/CreateBatchConsumerRequest.d.ts +61 -0
- package/dist/models/CreateBatchConsumerRequest.js +66 -0
- package/dist/models/CreateBatchConsumerRequest.js.map +1 -0
- package/dist/models/CreateBatchConsumerResponse.d.ts +19 -0
- package/dist/models/CreateBatchConsumerResponse.js +69 -0
- package/dist/models/CreateBatchConsumerResponse.js.map +1 -0
- package/dist/models/CreateBatchConsumerResponseBody.d.ts +147 -0
- package/dist/models/CreateBatchConsumerResponseBody.js +106 -0
- package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +66 -97
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeApikeyAttributeRequest.d.ts +39 -0
- package/dist/models/DescribeApikeyAttributeRequest.js +64 -0
- package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -0
- package/dist/models/DescribeApikeyAttributeResponse.d.ts +19 -0
- package/dist/models/DescribeApikeyAttributeResponse.js +69 -0
- package/dist/models/DescribeApikeyAttributeResponse.js.map +1 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +167 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.js +168 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListRequest.d.ts +43 -0
- package/dist/models/DescribeGatewayApikeyListRequest.js +62 -0
- package/dist/models/DescribeGatewayApikeyListRequest.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListResponse.d.ts +19 -0
- package/dist/models/DescribeGatewayApikeyListResponse.js +69 -0
- package/dist/models/DescribeGatewayApikeyListResponse.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.d.ts +147 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.js +106 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.js.map +1 -0
- package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
- package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +79 -11
- package/dist/models/DescribePolarClawAgentsResponseBody.js +71 -1
- package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
- package/dist/models/DescribePolarClawAgentsShrinkRequest.d.ts +1 -1
- package/dist/models/DescribePolarFsAttributeRequest.d.ts +5 -8
- package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +49 -57
- package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsObjectsResponseBody.d.ts +13 -13
- package/dist/models/UpdatePolarClawAgentRequest.d.ts +20 -10
- package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
- package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
- package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +15 -15
- package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +18 -8
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +68 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +188 -18
- package/src/models/CreateBatchConsumerRequest.ts +82 -0
- package/src/models/CreateBatchConsumerResponse.ts +40 -0
- package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
- package/src/models/DescribeApikeyAttributeRequest.ts +58 -0
- package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
- package/src/models/DescribeApikeyAttributeResponseBody.ts +263 -0
- package/src/models/DescribeGatewayApikeyListRequest.ts +60 -0
- package/src/models/DescribeGatewayApikeyListResponse.ts +40 -0
- package/src/models/DescribeGatewayApikeyListResponseBody.ts +199 -0
- package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
- package/src/models/DescribePolarClawAgentsResponseBody.ts +131 -11
- package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
- package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
- package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
- package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
- package/src/models/UpdatePolarClawAgentRequest.ts +24 -10
- package/src/models/UpdatePolarClawAgentResponseBody.ts +15 -15
- package/src/models/UpdatePolarClawAgentShrinkRequest.ts +22 -8
- package/src/models/model.ts +16 -0
package/dist/client.d.ts
CHANGED
|
@@ -698,6 +698,21 @@ export default class Client extends OpenApi {
|
|
|
698
698
|
* @returns CreateBackupResponse
|
|
699
699
|
*/
|
|
700
700
|
createBackup(request: $_model.CreateBackupRequest): Promise<$_model.CreateBackupResponse>;
|
|
701
|
+
/**
|
|
702
|
+
* Creates API keys in batches.
|
|
703
|
+
*
|
|
704
|
+
* @param request - CreateBatchConsumerRequest
|
|
705
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
706
|
+
* @returns CreateBatchConsumerResponse
|
|
707
|
+
*/
|
|
708
|
+
createBatchConsumerWithOptions(request: $_model.CreateBatchConsumerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateBatchConsumerResponse>;
|
|
709
|
+
/**
|
|
710
|
+
* Creates API keys in batches.
|
|
711
|
+
*
|
|
712
|
+
* @param request - CreateBatchConsumerRequest
|
|
713
|
+
* @returns CreateBatchConsumerResponse
|
|
714
|
+
*/
|
|
715
|
+
createBatchConsumer(request: $_model.CreateBatchConsumerRequest): Promise<$_model.CreateBatchConsumerResponse>;
|
|
701
716
|
/**
|
|
702
717
|
* Creates a batch task.
|
|
703
718
|
*
|
|
@@ -2021,7 +2036,7 @@ export default class Client extends OpenApi {
|
|
|
2021
2036
|
*/
|
|
2022
2037
|
deleteSQLRateLimitingRules(request: $_model.DeleteSQLRateLimitingRulesRequest): Promise<$_model.DeleteSQLRateLimitingRulesResponse>;
|
|
2023
2038
|
/**
|
|
2024
|
-
*
|
|
2039
|
+
* Queries the details of a custom instance.
|
|
2025
2040
|
*
|
|
2026
2041
|
* @param request - DescribeAIDBClusterAttributeRequest
|
|
2027
2042
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2029,7 +2044,7 @@ export default class Client extends OpenApi {
|
|
|
2029
2044
|
*/
|
|
2030
2045
|
describeAIDBClusterAttributeWithOptions(request: $_model.DescribeAIDBClusterAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAIDBClusterAttributeResponse>;
|
|
2031
2046
|
/**
|
|
2032
|
-
*
|
|
2047
|
+
* Queries the details of a custom instance.
|
|
2033
2048
|
*
|
|
2034
2049
|
* @param request - DescribeAIDBClusterAttributeRequest
|
|
2035
2050
|
* @returns DescribeAIDBClusterAttributeResponse
|
|
@@ -2261,6 +2276,21 @@ export default class Client extends OpenApi {
|
|
|
2261
2276
|
* @returns DescribeActiveOperationTasksResponse
|
|
2262
2277
|
*/
|
|
2263
2278
|
describeActiveOperationTasks(request: $_model.DescribeActiveOperationTasksRequest): Promise<$_model.DescribeActiveOperationTasksResponse>;
|
|
2279
|
+
/**
|
|
2280
|
+
* 查询该apikey的详细信息
|
|
2281
|
+
*
|
|
2282
|
+
* @param request - DescribeApikeyAttributeRequest
|
|
2283
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2284
|
+
* @returns DescribeApikeyAttributeResponse
|
|
2285
|
+
*/
|
|
2286
|
+
describeApikeyAttributeWithOptions(request: $_model.DescribeApikeyAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApikeyAttributeResponse>;
|
|
2287
|
+
/**
|
|
2288
|
+
* 查询该apikey的详细信息
|
|
2289
|
+
*
|
|
2290
|
+
* @param request - DescribeApikeyAttributeRequest
|
|
2291
|
+
* @returns DescribeApikeyAttributeResponse
|
|
2292
|
+
*/
|
|
2293
|
+
describeApikeyAttribute(request: $_model.DescribeApikeyAttributeRequest): Promise<$_model.DescribeApikeyAttributeResponse>;
|
|
2264
2294
|
/**
|
|
2265
2295
|
* Retrieves the details of a specific application in a PolarDB instance.
|
|
2266
2296
|
*
|
|
@@ -3374,6 +3404,21 @@ export default class Client extends OpenApi {
|
|
|
3374
3404
|
* @returns DescribeFirewallRulesResponse
|
|
3375
3405
|
*/
|
|
3376
3406
|
describeFirewallRules(request: $_model.DescribeFirewallRulesRequest): Promise<$_model.DescribeFirewallRulesResponse>;
|
|
3407
|
+
/**
|
|
3408
|
+
* Queries all API keys under the current UID.
|
|
3409
|
+
*
|
|
3410
|
+
* @param request - DescribeGatewayApikeyListRequest
|
|
3411
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3412
|
+
* @returns DescribeGatewayApikeyListResponse
|
|
3413
|
+
*/
|
|
3414
|
+
describeGatewayApikeyListWithOptions(request: $_model.DescribeGatewayApikeyListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGatewayApikeyListResponse>;
|
|
3415
|
+
/**
|
|
3416
|
+
* Queries all API keys under the current UID.
|
|
3417
|
+
*
|
|
3418
|
+
* @param request - DescribeGatewayApikeyListRequest
|
|
3419
|
+
* @returns DescribeGatewayApikeyListResponse
|
|
3420
|
+
*/
|
|
3421
|
+
describeGatewayApikeyList(request: $_model.DescribeGatewayApikeyListRequest): Promise<$_model.DescribeGatewayApikeyListResponse>;
|
|
3377
3422
|
/**
|
|
3378
3423
|
* Viewing gateway instance details
|
|
3379
3424
|
*
|
|
@@ -3832,7 +3877,7 @@ export default class Client extends OpenApi {
|
|
|
3832
3877
|
*/
|
|
3833
3878
|
describePolarAgentUserSessions(request: $_model.DescribePolarAgentUserSessionsRequest): Promise<$_model.DescribePolarAgentUserSessionsResponse>;
|
|
3834
3879
|
/**
|
|
3835
|
-
* Queries
|
|
3880
|
+
* Queries all installed plug-ins and their status information under a specified application.
|
|
3836
3881
|
*
|
|
3837
3882
|
* @param tmpReq - DescribePolarClawAgentsRequest
|
|
3838
3883
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3840,7 +3885,7 @@ export default class Client extends OpenApi {
|
|
|
3840
3885
|
*/
|
|
3841
3886
|
describePolarClawAgentsWithOptions(tmpReq: $_model.DescribePolarClawAgentsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarClawAgentsResponse>;
|
|
3842
3887
|
/**
|
|
3843
|
-
* Queries
|
|
3888
|
+
* Queries all installed plug-ins and their status information under a specified application.
|
|
3844
3889
|
*
|
|
3845
3890
|
* @param request - DescribePolarClawAgentsRequest
|
|
3846
3891
|
* @returns DescribePolarClawAgentsResponse
|
|
@@ -3942,7 +3987,7 @@ export default class Client extends OpenApi {
|
|
|
3942
3987
|
*/
|
|
3943
3988
|
describePolarClawTask(request: $_model.DescribePolarClawTaskRequest): Promise<$_model.DescribePolarClawTaskResponse>;
|
|
3944
3989
|
/**
|
|
3945
|
-
*
|
|
3990
|
+
* Retrieves the details of a PolarLakebase instance.
|
|
3946
3991
|
*
|
|
3947
3992
|
* @param request - DescribePolarFsAttributeRequest
|
|
3948
3993
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3950,21 +3995,21 @@ export default class Client extends OpenApi {
|
|
|
3950
3995
|
*/
|
|
3951
3996
|
describePolarFsAttributeWithOptions(request: $_model.DescribePolarFsAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarFsAttributeResponse>;
|
|
3952
3997
|
/**
|
|
3953
|
-
*
|
|
3998
|
+
* Retrieves the details of a PolarLakebase instance.
|
|
3954
3999
|
*
|
|
3955
4000
|
* @param request - DescribePolarFsAttributeRequest
|
|
3956
4001
|
* @returns DescribePolarFsAttributeResponse
|
|
3957
4002
|
*/
|
|
3958
4003
|
describePolarFsAttribute(request: $_model.DescribePolarFsAttributeRequest): Promise<$_model.DescribePolarFsAttributeResponse>;
|
|
3959
4004
|
/**
|
|
3960
|
-
* Lists the files and subdirectories
|
|
4005
|
+
* Lists the files and subdirectories under a specified path.
|
|
3961
4006
|
*
|
|
3962
4007
|
* @remarks
|
|
3963
|
-
* ##
|
|
3964
|
-
* -
|
|
3965
|
-
* -
|
|
3966
|
-
* -
|
|
3967
|
-
* -
|
|
4008
|
+
* ## 请求说明
|
|
4009
|
+
* - **Path** 参数必须提供一个绝对路径。
|
|
4010
|
+
* - **Recursive** 参数默认为 `false`,如果设置为 `true`,则会递归列出所有子目录的内容。
|
|
4011
|
+
* - **Depth** 参数用于限制递归深度,默认值为 `1`。
|
|
4012
|
+
* - **Filter** 参数支持通配符或正则表达式过滤结果。
|
|
3968
4013
|
*
|
|
3969
4014
|
* @param request - DescribePolarFsObjectsRequest
|
|
3970
4015
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3972,14 +4017,14 @@ export default class Client extends OpenApi {
|
|
|
3972
4017
|
*/
|
|
3973
4018
|
describePolarFsObjectsWithOptions(request: $_model.DescribePolarFsObjectsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarFsObjectsResponse>;
|
|
3974
4019
|
/**
|
|
3975
|
-
* Lists the files and subdirectories
|
|
4020
|
+
* Lists the files and subdirectories under a specified path.
|
|
3976
4021
|
*
|
|
3977
4022
|
* @remarks
|
|
3978
|
-
* ##
|
|
3979
|
-
* -
|
|
3980
|
-
* -
|
|
3981
|
-
* -
|
|
3982
|
-
* -
|
|
4023
|
+
* ## 请求说明
|
|
4024
|
+
* - **Path** 参数必须提供一个绝对路径。
|
|
4025
|
+
* - **Recursive** 参数默认为 `false`,如果设置为 `true`,则会递归列出所有子目录的内容。
|
|
4026
|
+
* - **Depth** 参数用于限制递归深度,默认值为 `1`。
|
|
4027
|
+
* - **Filter** 参数支持通配符或正则表达式过滤结果。
|
|
3983
4028
|
*
|
|
3984
4029
|
* @param request - DescribePolarFsObjectsRequest
|
|
3985
4030
|
* @returns DescribePolarFsObjectsResponse
|
package/dist/client.js
CHANGED
|
@@ -2557,6 +2557,57 @@ class Client extends openapi_core_1.default {
|
|
|
2557
2557
|
let runtime = new $dara.RuntimeOptions({});
|
|
2558
2558
|
return await this.createBackupWithOptions(request, runtime);
|
|
2559
2559
|
}
|
|
2560
|
+
/**
|
|
2561
|
+
* Creates API keys in batches.
|
|
2562
|
+
*
|
|
2563
|
+
* @param request - CreateBatchConsumerRequest
|
|
2564
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2565
|
+
* @returns CreateBatchConsumerResponse
|
|
2566
|
+
*/
|
|
2567
|
+
async createBatchConsumerWithOptions(request, runtime) {
|
|
2568
|
+
request.validate();
|
|
2569
|
+
let query = {};
|
|
2570
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2571
|
+
query["ClientToken"] = request.clientToken;
|
|
2572
|
+
}
|
|
2573
|
+
if (!$dara.isNull(request.consumerGroupId)) {
|
|
2574
|
+
query["ConsumerGroupId"] = request.consumerGroupId;
|
|
2575
|
+
}
|
|
2576
|
+
if (!$dara.isNull(request.count)) {
|
|
2577
|
+
query["Count"] = request.count;
|
|
2578
|
+
}
|
|
2579
|
+
if (!$dara.isNull(request.gwClusterId)) {
|
|
2580
|
+
query["GwClusterId"] = request.gwClusterId;
|
|
2581
|
+
}
|
|
2582
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2583
|
+
query["RegionId"] = request.regionId;
|
|
2584
|
+
}
|
|
2585
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2586
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2587
|
+
});
|
|
2588
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2589
|
+
action: "CreateBatchConsumer",
|
|
2590
|
+
version: "2017-08-01",
|
|
2591
|
+
protocol: "HTTPS",
|
|
2592
|
+
pathname: "/",
|
|
2593
|
+
method: "POST",
|
|
2594
|
+
authType: "AK",
|
|
2595
|
+
style: "RPC",
|
|
2596
|
+
reqBodyType: "formData",
|
|
2597
|
+
bodyType: "json",
|
|
2598
|
+
});
|
|
2599
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateBatchConsumerResponse({}));
|
|
2600
|
+
}
|
|
2601
|
+
/**
|
|
2602
|
+
* Creates API keys in batches.
|
|
2603
|
+
*
|
|
2604
|
+
* @param request - CreateBatchConsumerRequest
|
|
2605
|
+
* @returns CreateBatchConsumerResponse
|
|
2606
|
+
*/
|
|
2607
|
+
async createBatchConsumer(request) {
|
|
2608
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2609
|
+
return await this.createBatchConsumerWithOptions(request, runtime);
|
|
2610
|
+
}
|
|
2560
2611
|
/**
|
|
2561
2612
|
* Creates a batch task.
|
|
2562
2613
|
*
|
|
@@ -7212,7 +7263,7 @@ class Client extends openapi_core_1.default {
|
|
|
7212
7263
|
return await this.deleteSQLRateLimitingRulesWithOptions(request, runtime);
|
|
7213
7264
|
}
|
|
7214
7265
|
/**
|
|
7215
|
-
*
|
|
7266
|
+
* Queries the details of a custom instance.
|
|
7216
7267
|
*
|
|
7217
7268
|
* @param request - DescribeAIDBClusterAttributeRequest
|
|
7218
7269
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7253,7 +7304,7 @@ class Client extends openapi_core_1.default {
|
|
|
7253
7304
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterAttributeResponse({}));
|
|
7254
7305
|
}
|
|
7255
7306
|
/**
|
|
7256
|
-
*
|
|
7307
|
+
* Queries the details of a custom instance.
|
|
7257
7308
|
*
|
|
7258
7309
|
* @param request - DescribeAIDBClusterAttributeRequest
|
|
7259
7310
|
* @returns DescribeAIDBClusterAttributeResponse
|
|
@@ -8133,6 +8184,54 @@ class Client extends openapi_core_1.default {
|
|
|
8133
8184
|
let runtime = new $dara.RuntimeOptions({});
|
|
8134
8185
|
return await this.describeActiveOperationTasksWithOptions(request, runtime);
|
|
8135
8186
|
}
|
|
8187
|
+
/**
|
|
8188
|
+
* 查询该apikey的详细信息
|
|
8189
|
+
*
|
|
8190
|
+
* @param request - DescribeApikeyAttributeRequest
|
|
8191
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8192
|
+
* @returns DescribeApikeyAttributeResponse
|
|
8193
|
+
*/
|
|
8194
|
+
async describeApikeyAttributeWithOptions(request, runtime) {
|
|
8195
|
+
request.validate();
|
|
8196
|
+
let query = {};
|
|
8197
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
8198
|
+
query["ApiKey"] = request.apiKey;
|
|
8199
|
+
}
|
|
8200
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8201
|
+
query["PageNumber"] = request.pageNumber;
|
|
8202
|
+
}
|
|
8203
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8204
|
+
query["PageSize"] = request.pageSize;
|
|
8205
|
+
}
|
|
8206
|
+
if (!$dara.isNull(request.regionId)) {
|
|
8207
|
+
query["RegionId"] = request.regionId;
|
|
8208
|
+
}
|
|
8209
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8210
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8211
|
+
});
|
|
8212
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8213
|
+
action: "DescribeApikeyAttribute",
|
|
8214
|
+
version: "2017-08-01",
|
|
8215
|
+
protocol: "HTTPS",
|
|
8216
|
+
pathname: "/",
|
|
8217
|
+
method: "POST",
|
|
8218
|
+
authType: "AK",
|
|
8219
|
+
style: "RPC",
|
|
8220
|
+
reqBodyType: "formData",
|
|
8221
|
+
bodyType: "json",
|
|
8222
|
+
});
|
|
8223
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApikeyAttributeResponse({}));
|
|
8224
|
+
}
|
|
8225
|
+
/**
|
|
8226
|
+
* 查询该apikey的详细信息
|
|
8227
|
+
*
|
|
8228
|
+
* @param request - DescribeApikeyAttributeRequest
|
|
8229
|
+
* @returns DescribeApikeyAttributeResponse
|
|
8230
|
+
*/
|
|
8231
|
+
async describeApikeyAttribute(request) {
|
|
8232
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8233
|
+
return await this.describeApikeyAttributeWithOptions(request, runtime);
|
|
8234
|
+
}
|
|
8136
8235
|
/**
|
|
8137
8236
|
* Retrieves the details of a specific application in a PolarDB instance.
|
|
8138
8237
|
*
|
|
@@ -12073,6 +12172,51 @@ class Client extends openapi_core_1.default {
|
|
|
12073
12172
|
let runtime = new $dara.RuntimeOptions({});
|
|
12074
12173
|
return await this.describeFirewallRulesWithOptions(request, runtime);
|
|
12075
12174
|
}
|
|
12175
|
+
/**
|
|
12176
|
+
* Queries all API keys under the current UID.
|
|
12177
|
+
*
|
|
12178
|
+
* @param request - DescribeGatewayApikeyListRequest
|
|
12179
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12180
|
+
* @returns DescribeGatewayApikeyListResponse
|
|
12181
|
+
*/
|
|
12182
|
+
async describeGatewayApikeyListWithOptions(request, runtime) {
|
|
12183
|
+
request.validate();
|
|
12184
|
+
let query = {};
|
|
12185
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
12186
|
+
query["PageNumber"] = request.pageNumber;
|
|
12187
|
+
}
|
|
12188
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
12189
|
+
query["PageSize"] = request.pageSize;
|
|
12190
|
+
}
|
|
12191
|
+
if (!$dara.isNull(request.regionId)) {
|
|
12192
|
+
query["RegionId"] = request.regionId;
|
|
12193
|
+
}
|
|
12194
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
12195
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
12196
|
+
});
|
|
12197
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
12198
|
+
action: "DescribeGatewayApikeyList",
|
|
12199
|
+
version: "2017-08-01",
|
|
12200
|
+
protocol: "HTTPS",
|
|
12201
|
+
pathname: "/",
|
|
12202
|
+
method: "POST",
|
|
12203
|
+
authType: "AK",
|
|
12204
|
+
style: "RPC",
|
|
12205
|
+
reqBodyType: "formData",
|
|
12206
|
+
bodyType: "json",
|
|
12207
|
+
});
|
|
12208
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGatewayApikeyListResponse({}));
|
|
12209
|
+
}
|
|
12210
|
+
/**
|
|
12211
|
+
* Queries all API keys under the current UID.
|
|
12212
|
+
*
|
|
12213
|
+
* @param request - DescribeGatewayApikeyListRequest
|
|
12214
|
+
* @returns DescribeGatewayApikeyListResponse
|
|
12215
|
+
*/
|
|
12216
|
+
async describeGatewayApikeyList(request) {
|
|
12217
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
12218
|
+
return await this.describeGatewayApikeyListWithOptions(request, runtime);
|
|
12219
|
+
}
|
|
12076
12220
|
/**
|
|
12077
12221
|
* Viewing gateway instance details
|
|
12078
12222
|
*
|
|
@@ -13806,7 +13950,7 @@ class Client extends openapi_core_1.default {
|
|
|
13806
13950
|
return await this.describePolarAgentUserSessionsWithOptions(request, runtime);
|
|
13807
13951
|
}
|
|
13808
13952
|
/**
|
|
13809
|
-
* Queries
|
|
13953
|
+
* Queries all installed plug-ins and their status information under a specified application.
|
|
13810
13954
|
*
|
|
13811
13955
|
* @param tmpReq - DescribePolarClawAgentsRequest
|
|
13812
13956
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13843,7 +13987,7 @@ class Client extends openapi_core_1.default {
|
|
|
13843
13987
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarClawAgentsResponse({}));
|
|
13844
13988
|
}
|
|
13845
13989
|
/**
|
|
13846
|
-
* Queries
|
|
13990
|
+
* Queries all installed plug-ins and their status information under a specified application.
|
|
13847
13991
|
*
|
|
13848
13992
|
* @param request - DescribePolarClawAgentsRequest
|
|
13849
13993
|
* @returns DescribePolarClawAgentsResponse
|
|
@@ -14102,7 +14246,7 @@ class Client extends openapi_core_1.default {
|
|
|
14102
14246
|
return await this.describePolarClawTaskWithOptions(request, runtime);
|
|
14103
14247
|
}
|
|
14104
14248
|
/**
|
|
14105
|
-
*
|
|
14249
|
+
* Retrieves the details of a PolarLakebase instance.
|
|
14106
14250
|
*
|
|
14107
14251
|
* @param request - DescribePolarFsAttributeRequest
|
|
14108
14252
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14137,7 +14281,7 @@ class Client extends openapi_core_1.default {
|
|
|
14137
14281
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsAttributeResponse({}));
|
|
14138
14282
|
}
|
|
14139
14283
|
/**
|
|
14140
|
-
*
|
|
14284
|
+
* Retrieves the details of a PolarLakebase instance.
|
|
14141
14285
|
*
|
|
14142
14286
|
* @param request - DescribePolarFsAttributeRequest
|
|
14143
14287
|
* @returns DescribePolarFsAttributeResponse
|
|
@@ -14147,14 +14291,14 @@ class Client extends openapi_core_1.default {
|
|
|
14147
14291
|
return await this.describePolarFsAttributeWithOptions(request, runtime);
|
|
14148
14292
|
}
|
|
14149
14293
|
/**
|
|
14150
|
-
* Lists the files and subdirectories
|
|
14294
|
+
* Lists the files and subdirectories under a specified path.
|
|
14151
14295
|
*
|
|
14152
14296
|
* @remarks
|
|
14153
|
-
* ##
|
|
14154
|
-
* -
|
|
14155
|
-
* -
|
|
14156
|
-
* -
|
|
14157
|
-
* -
|
|
14297
|
+
* ## 请求说明
|
|
14298
|
+
* - **Path** 参数必须提供一个绝对路径。
|
|
14299
|
+
* - **Recursive** 参数默认为 `false`,如果设置为 `true`,则会递归列出所有子目录的内容。
|
|
14300
|
+
* - **Depth** 参数用于限制递归深度,默认值为 `1`。
|
|
14301
|
+
* - **Filter** 参数支持通配符或正则表达式过滤结果。
|
|
14158
14302
|
*
|
|
14159
14303
|
* @param request - DescribePolarFsObjectsRequest
|
|
14160
14304
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14186,14 +14330,14 @@ class Client extends openapi_core_1.default {
|
|
|
14186
14330
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsObjectsResponse({}));
|
|
14187
14331
|
}
|
|
14188
14332
|
/**
|
|
14189
|
-
* Lists the files and subdirectories
|
|
14333
|
+
* Lists the files and subdirectories under a specified path.
|
|
14190
14334
|
*
|
|
14191
14335
|
* @remarks
|
|
14192
|
-
* ##
|
|
14193
|
-
* -
|
|
14194
|
-
* -
|
|
14195
|
-
* -
|
|
14196
|
-
* -
|
|
14336
|
+
* ## 请求说明
|
|
14337
|
+
* - **Path** 参数必须提供一个绝对路径。
|
|
14338
|
+
* - **Recursive** 参数默认为 `false`,如果设置为 `true`,则会递归列出所有子目录的内容。
|
|
14339
|
+
* - **Depth** 参数用于限制递归深度,默认值为 `1`。
|
|
14340
|
+
* - **Filter** 参数支持通配符或正则表达式过滤结果。
|
|
14197
14341
|
*
|
|
14198
14342
|
* @param request - DescribePolarFsObjectsRequest
|
|
14199
14343
|
* @returns DescribePolarFsObjectsResponse
|
|
@@ -23597,6 +23741,12 @@ class Client extends openapi_core_1.default {
|
|
|
23597
23741
|
if (!$dara.isNull(request.filesShrink)) {
|
|
23598
23742
|
query["Files"] = request.filesShrink;
|
|
23599
23743
|
}
|
|
23744
|
+
if (!$dara.isNull(request.isDefault)) {
|
|
23745
|
+
query["IsDefault"] = request.isDefault;
|
|
23746
|
+
}
|
|
23747
|
+
if (!$dara.isNull(request.keepWorkspaceFiles)) {
|
|
23748
|
+
query["KeepWorkspaceFiles"] = request.keepWorkspaceFiles;
|
|
23749
|
+
}
|
|
23600
23750
|
if (!$dara.isNull(request.model)) {
|
|
23601
23751
|
query["Model"] = request.model;
|
|
23602
23752
|
}
|