@alicloud/polardb20170801 6.19.0 → 6.20.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 +105 -0
- package/dist/client.js +309 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ApprovePolarClawDevicePairRequest.d.ts +29 -0
- package/dist/models/ApprovePolarClawDevicePairRequest.js +60 -0
- package/dist/models/ApprovePolarClawDevicePairRequest.js.map +1 -0
- package/dist/models/ApprovePolarClawDevicePairResponse.d.ts +19 -0
- package/dist/models/ApprovePolarClawDevicePairResponse.js +69 -0
- package/dist/models/ApprovePolarClawDevicePairResponse.js.map +1 -0
- package/dist/models/ApprovePolarClawDevicePairResponseBody.d.ts +85 -0
- package/dist/models/ApprovePolarClawDevicePairResponseBody.js +105 -0
- package/dist/models/ApprovePolarClawDevicePairResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationPerformanceRequest.d.ts +65 -0
- package/dist/models/DescribeApplicationPerformanceRequest.js +72 -0
- package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -0
- package/dist/models/DescribeApplicationPerformanceResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationPerformanceResponse.js +69 -0
- package/dist/models/DescribeApplicationPerformanceResponse.js.map +1 -0
- package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +96 -0
- package/dist/models/DescribeApplicationPerformanceResponseBody.js +166 -0
- package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -0
- package/dist/models/DescribeBackupPolicyResponseBody.d.ts +1 -0
- package/dist/models/DescribeBackupPolicyResponseBody.js +2 -0
- package/dist/models/DescribeBackupPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribePolarClawTaskRequest.d.ts +29 -0
- package/dist/models/DescribePolarClawTaskRequest.js +60 -0
- package/dist/models/DescribePolarClawTaskRequest.js.map +1 -0
- package/dist/models/DescribePolarClawTaskResponse.d.ts +19 -0
- package/dist/models/DescribePolarClawTaskResponse.js +69 -0
- package/dist/models/DescribePolarClawTaskResponse.js.map +1 -0
- package/dist/models/DescribePolarClawTaskResponseBody.d.ts +104 -0
- package/dist/models/DescribePolarClawTaskResponseBody.js +127 -0
- package/dist/models/DescribePolarClawTaskResponseBody.js.map +1 -0
- package/dist/models/ListPolarClawDevicePairsRequest.d.ts +21 -0
- package/dist/models/ListPolarClawDevicePairsRequest.js +58 -0
- package/dist/models/ListPolarClawDevicePairsRequest.js.map +1 -0
- package/dist/models/ListPolarClawDevicePairsResponse.d.ts +19 -0
- package/dist/models/ListPolarClawDevicePairsResponse.js +69 -0
- package/dist/models/ListPolarClawDevicePairsResponse.js.map +1 -0
- package/dist/models/ListPolarClawDevicePairsResponseBody.d.ts +175 -0
- package/dist/models/ListPolarClawDevicePairsResponseBody.js +167 -0
- package/dist/models/ListPolarClawDevicePairsResponseBody.js.map +1 -0
- package/dist/models/LoginPolarClawChannelRequest.d.ts +29 -0
- package/dist/models/LoginPolarClawChannelRequest.js +60 -0
- package/dist/models/LoginPolarClawChannelRequest.js.map +1 -0
- package/dist/models/LoginPolarClawChannelResponse.d.ts +19 -0
- package/dist/models/LoginPolarClawChannelResponse.js +69 -0
- package/dist/models/LoginPolarClawChannelResponse.js.map +1 -0
- package/dist/models/LoginPolarClawChannelResponseBody.d.ts +51 -0
- package/dist/models/LoginPolarClawChannelResponseBody.js +70 -0
- package/dist/models/LoginPolarClawChannelResponseBody.js.map +1 -0
- package/dist/models/ModifyBackupPolicyRequest.d.ts +1 -0
- package/dist/models/ModifyBackupPolicyRequest.js +2 -0
- package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
- package/dist/models/RejectPolarClawDevicePairRequest.d.ts +29 -0
- package/dist/models/RejectPolarClawDevicePairRequest.js +60 -0
- package/dist/models/RejectPolarClawDevicePairRequest.js.map +1 -0
- package/dist/models/RejectPolarClawDevicePairResponse.d.ts +19 -0
- package/dist/models/RejectPolarClawDevicePairResponse.js +69 -0
- package/dist/models/RejectPolarClawDevicePairResponse.js.map +1 -0
- package/dist/models/RejectPolarClawDevicePairResponseBody.d.ts +46 -0
- package/dist/models/RejectPolarClawDevicePairResponseBody.js +68 -0
- package/dist/models/RejectPolarClawDevicePairResponseBody.js.map +1 -0
- package/dist/models/RemovePolarClawDevicePairRequest.d.ts +29 -0
- package/dist/models/RemovePolarClawDevicePairRequest.js +60 -0
- package/dist/models/RemovePolarClawDevicePairRequest.js.map +1 -0
- package/dist/models/RemovePolarClawDevicePairResponse.d.ts +19 -0
- package/dist/models/RemovePolarClawDevicePairResponse.js +69 -0
- package/dist/models/RemovePolarClawDevicePairResponse.js.map +1 -0
- package/dist/models/RemovePolarClawDevicePairResponseBody.d.ts +41 -0
- package/dist/models/RemovePolarClawDevicePairResponseBody.js +66 -0
- package/dist/models/RemovePolarClawDevicePairResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +91 -30
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +342 -0
- package/src/models/ApprovePolarClawDevicePairRequest.ts +44 -0
- package/src/models/ApprovePolarClawDevicePairResponse.ts +40 -0
- package/src/models/ApprovePolarClawDevicePairResponseBody.ts +136 -0
- package/src/models/DescribeApplicationPerformanceRequest.ts +92 -0
- package/src/models/DescribeApplicationPerformanceResponse.ts +40 -0
- package/src/models/DescribeApplicationPerformanceResponseBody.ts +181 -0
- package/src/models/DescribeBackupPolicyResponseBody.ts +3 -0
- package/src/models/DescribePolarClawTaskRequest.ts +44 -0
- package/src/models/DescribePolarClawTaskResponse.ts +40 -0
- package/src/models/DescribePolarClawTaskResponseBody.ts +166 -0
- package/src/models/ListPolarClawDevicePairsRequest.ts +34 -0
- package/src/models/ListPolarClawDevicePairsResponse.ts +40 -0
- package/src/models/ListPolarClawDevicePairsResponseBody.ts +279 -0
- package/src/models/LoginPolarClawChannelRequest.ts +44 -0
- package/src/models/LoginPolarClawChannelResponse.ts +40 -0
- package/src/models/LoginPolarClawChannelResponseBody.ts +76 -0
- package/src/models/ModifyBackupPolicyRequest.ts +3 -0
- package/src/models/RejectPolarClawDevicePairRequest.ts +44 -0
- package/src/models/RejectPolarClawDevicePairResponse.ts +40 -0
- package/src/models/RejectPolarClawDevicePairResponseBody.ts +69 -0
- package/src/models/RemovePolarClawDevicePairRequest.ts +44 -0
- package/src/models/RemovePolarClawDevicePairResponse.ts +40 -0
- package/src/models/RemovePolarClawDevicePairResponseBody.ts +62 -0
- package/src/models/model.ts +30 -0
package/dist/client.d.ts
CHANGED
|
@@ -124,6 +124,21 @@ export default class Client extends OpenApi {
|
|
|
124
124
|
* @returns ApplyApplicationPromptsResponse
|
|
125
125
|
*/
|
|
126
126
|
applyApplicationPrompts(request: $_model.ApplyApplicationPromptsRequest): Promise<$_model.ApplyApplicationPromptsResponse>;
|
|
127
|
+
/**
|
|
128
|
+
* 批准PolarClaw设备配对
|
|
129
|
+
*
|
|
130
|
+
* @param request - ApprovePolarClawDevicePairRequest
|
|
131
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
132
|
+
* @returns ApprovePolarClawDevicePairResponse
|
|
133
|
+
*/
|
|
134
|
+
approvePolarClawDevicePairWithOptions(request: $_model.ApprovePolarClawDevicePairRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ApprovePolarClawDevicePairResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* 批准PolarClaw设备配对
|
|
137
|
+
*
|
|
138
|
+
* @param request - ApprovePolarClawDevicePairRequest
|
|
139
|
+
* @returns ApprovePolarClawDevicePairResponse
|
|
140
|
+
*/
|
|
141
|
+
approvePolarClawDevicePair(request: $_model.ApprovePolarClawDevicePairRequest): Promise<$_model.ApprovePolarClawDevicePairResponse>;
|
|
127
142
|
/**
|
|
128
143
|
* 挂载PolarFS到PolarDB应用
|
|
129
144
|
*
|
|
@@ -2095,6 +2110,21 @@ export default class Client extends OpenApi {
|
|
|
2095
2110
|
* @returns DescribeApplicationParametersResponse
|
|
2096
2111
|
*/
|
|
2097
2112
|
describeApplicationParameters(request: $_model.DescribeApplicationParametersRequest): Promise<$_model.DescribeApplicationParametersResponse>;
|
|
2113
|
+
/**
|
|
2114
|
+
* 查询PolarDB AI应用性能
|
|
2115
|
+
*
|
|
2116
|
+
* @param request - DescribeApplicationPerformanceRequest
|
|
2117
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2118
|
+
* @returns DescribeApplicationPerformanceResponse
|
|
2119
|
+
*/
|
|
2120
|
+
describeApplicationPerformanceWithOptions(request: $_model.DescribeApplicationPerformanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationPerformanceResponse>;
|
|
2121
|
+
/**
|
|
2122
|
+
* 查询PolarDB AI应用性能
|
|
2123
|
+
*
|
|
2124
|
+
* @param request - DescribeApplicationPerformanceRequest
|
|
2125
|
+
* @returns DescribeApplicationPerformanceResponse
|
|
2126
|
+
*/
|
|
2127
|
+
describeApplicationPerformance(request: $_model.DescribeApplicationPerformanceRequest): Promise<$_model.DescribeApplicationPerformanceResponse>;
|
|
2098
2128
|
/**
|
|
2099
2129
|
* 查询当前应用下所有的应用提示词策略列表
|
|
2100
2130
|
*
|
|
@@ -3640,6 +3670,21 @@ export default class Client extends OpenApi {
|
|
|
3640
3670
|
* @returns DescribePolarClawPluginsResponse
|
|
3641
3671
|
*/
|
|
3642
3672
|
describePolarClawPlugins(request: $_model.DescribePolarClawPluginsRequest): Promise<$_model.DescribePolarClawPluginsResponse>;
|
|
3673
|
+
/**
|
|
3674
|
+
* 查询PolarClaw异步任务状态
|
|
3675
|
+
*
|
|
3676
|
+
* @param request - DescribePolarClawTaskRequest
|
|
3677
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3678
|
+
* @returns DescribePolarClawTaskResponse
|
|
3679
|
+
*/
|
|
3680
|
+
describePolarClawTaskWithOptions(request: $_model.DescribePolarClawTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarClawTaskResponse>;
|
|
3681
|
+
/**
|
|
3682
|
+
* 查询PolarClaw异步任务状态
|
|
3683
|
+
*
|
|
3684
|
+
* @param request - DescribePolarClawTaskRequest
|
|
3685
|
+
* @returns DescribePolarClawTaskResponse
|
|
3686
|
+
*/
|
|
3687
|
+
describePolarClawTask(request: $_model.DescribePolarClawTaskRequest): Promise<$_model.DescribePolarClawTaskResponse>;
|
|
3643
3688
|
/**
|
|
3644
3689
|
* 获取PolarFS实例详情
|
|
3645
3690
|
*
|
|
@@ -4381,6 +4426,21 @@ export default class Client extends OpenApi {
|
|
|
4381
4426
|
* @returns ListPolarClawBindingsResponse
|
|
4382
4427
|
*/
|
|
4383
4428
|
listPolarClawBindings(request: $_model.ListPolarClawBindingsRequest): Promise<$_model.ListPolarClawBindingsResponse>;
|
|
4429
|
+
/**
|
|
4430
|
+
* 列出PolarClaw设备配对
|
|
4431
|
+
*
|
|
4432
|
+
* @param request - ListPolarClawDevicePairsRequest
|
|
4433
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4434
|
+
* @returns ListPolarClawDevicePairsResponse
|
|
4435
|
+
*/
|
|
4436
|
+
listPolarClawDevicePairsWithOptions(request: $_model.ListPolarClawDevicePairsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPolarClawDevicePairsResponse>;
|
|
4437
|
+
/**
|
|
4438
|
+
* 列出PolarClaw设备配对
|
|
4439
|
+
*
|
|
4440
|
+
* @param request - ListPolarClawDevicePairsRequest
|
|
4441
|
+
* @returns ListPolarClawDevicePairsResponse
|
|
4442
|
+
*/
|
|
4443
|
+
listPolarClawDevicePairs(request: $_model.ListPolarClawDevicePairsRequest): Promise<$_model.ListPolarClawDevicePairsResponse>;
|
|
4384
4444
|
/**
|
|
4385
4445
|
* Queries the tags that are added to one or more PolarDB clusters, or the PolarDB clusters to which one or more tags are added.
|
|
4386
4446
|
*
|
|
@@ -4407,6 +4467,21 @@ export default class Client extends OpenApi {
|
|
|
4407
4467
|
* @returns ListTagResourcesForRegionResponse
|
|
4408
4468
|
*/
|
|
4409
4469
|
listTagResourcesForRegion(request: $_model.ListTagResourcesForRegionRequest): Promise<$_model.ListTagResourcesForRegionResponse>;
|
|
4470
|
+
/**
|
|
4471
|
+
* 登录PolarClaw Channel
|
|
4472
|
+
*
|
|
4473
|
+
* @param request - LoginPolarClawChannelRequest
|
|
4474
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4475
|
+
* @returns LoginPolarClawChannelResponse
|
|
4476
|
+
*/
|
|
4477
|
+
loginPolarClawChannelWithOptions(request: $_model.LoginPolarClawChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.LoginPolarClawChannelResponse>;
|
|
4478
|
+
/**
|
|
4479
|
+
* 登录PolarClaw Channel
|
|
4480
|
+
*
|
|
4481
|
+
* @param request - LoginPolarClawChannelRequest
|
|
4482
|
+
* @returns LoginPolarClawChannelResponse
|
|
4483
|
+
*/
|
|
4484
|
+
loginPolarClawChannel(request: $_model.LoginPolarClawChannelRequest): Promise<$_model.LoginPolarClawChannelResponse>;
|
|
4410
4485
|
/**
|
|
4411
4486
|
* Manually starts a cluster.
|
|
4412
4487
|
*
|
|
@@ -5590,6 +5665,21 @@ export default class Client extends OpenApi {
|
|
|
5590
5665
|
* @returns RefreshDBClusterStorageUsageResponse
|
|
5591
5666
|
*/
|
|
5592
5667
|
refreshDBClusterStorageUsage(request: $_model.RefreshDBClusterStorageUsageRequest): Promise<$_model.RefreshDBClusterStorageUsageResponse>;
|
|
5668
|
+
/**
|
|
5669
|
+
* 拒绝PolarClaw设备配对
|
|
5670
|
+
*
|
|
5671
|
+
* @param request - RejectPolarClawDevicePairRequest
|
|
5672
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5673
|
+
* @returns RejectPolarClawDevicePairResponse
|
|
5674
|
+
*/
|
|
5675
|
+
rejectPolarClawDevicePairWithOptions(request: $_model.RejectPolarClawDevicePairRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RejectPolarClawDevicePairResponse>;
|
|
5676
|
+
/**
|
|
5677
|
+
* 拒绝PolarClaw设备配对
|
|
5678
|
+
*
|
|
5679
|
+
* @param request - RejectPolarClawDevicePairRequest
|
|
5680
|
+
* @returns RejectPolarClawDevicePairResponse
|
|
5681
|
+
*/
|
|
5682
|
+
rejectPolarClawDevicePair(request: $_model.RejectPolarClawDevicePairRequest): Promise<$_model.RejectPolarClawDevicePairResponse>;
|
|
5593
5683
|
/**
|
|
5594
5684
|
* 删除应用环境变量
|
|
5595
5685
|
*
|
|
@@ -5626,6 +5716,21 @@ export default class Client extends OpenApi {
|
|
|
5626
5716
|
* @returns RemoveDBClusterFromGDNResponse
|
|
5627
5717
|
*/
|
|
5628
5718
|
removeDBClusterFromGDN(request: $_model.RemoveDBClusterFromGDNRequest): Promise<$_model.RemoveDBClusterFromGDNResponse>;
|
|
5719
|
+
/**
|
|
5720
|
+
* 移除PolarClaw已配对设备
|
|
5721
|
+
*
|
|
5722
|
+
* @param request - RemovePolarClawDevicePairRequest
|
|
5723
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5724
|
+
* @returns RemovePolarClawDevicePairResponse
|
|
5725
|
+
*/
|
|
5726
|
+
removePolarClawDevicePairWithOptions(request: $_model.RemovePolarClawDevicePairRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemovePolarClawDevicePairResponse>;
|
|
5727
|
+
/**
|
|
5728
|
+
* 移除PolarClaw已配对设备
|
|
5729
|
+
*
|
|
5730
|
+
* @param request - RemovePolarClawDevicePairRequest
|
|
5731
|
+
* @returns RemovePolarClawDevicePairResponse
|
|
5732
|
+
*/
|
|
5733
|
+
removePolarClawDevicePair(request: $_model.RemovePolarClawDevicePairRequest): Promise<$_model.RemovePolarClawDevicePairResponse>;
|
|
5629
5734
|
/**
|
|
5630
5735
|
* 删除PolarClaw MCP Server
|
|
5631
5736
|
*
|
package/dist/client.js
CHANGED
|
@@ -542,6 +542,48 @@ class Client extends openapi_core_1.default {
|
|
|
542
542
|
let runtime = new $dara.RuntimeOptions({});
|
|
543
543
|
return await this.applyApplicationPromptsWithOptions(request, runtime);
|
|
544
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* 批准PolarClaw设备配对
|
|
547
|
+
*
|
|
548
|
+
* @param request - ApprovePolarClawDevicePairRequest
|
|
549
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
550
|
+
* @returns ApprovePolarClawDevicePairResponse
|
|
551
|
+
*/
|
|
552
|
+
async approvePolarClawDevicePairWithOptions(request, runtime) {
|
|
553
|
+
request.validate();
|
|
554
|
+
let query = {};
|
|
555
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
556
|
+
query["ApplicationId"] = request.applicationId;
|
|
557
|
+
}
|
|
558
|
+
if (!$dara.isNull(request.pairRequestId)) {
|
|
559
|
+
query["PairRequestId"] = request.pairRequestId;
|
|
560
|
+
}
|
|
561
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
562
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
563
|
+
});
|
|
564
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
565
|
+
action: "ApprovePolarClawDevicePair",
|
|
566
|
+
version: "2017-08-01",
|
|
567
|
+
protocol: "HTTPS",
|
|
568
|
+
pathname: "/",
|
|
569
|
+
method: "POST",
|
|
570
|
+
authType: "AK",
|
|
571
|
+
style: "RPC",
|
|
572
|
+
reqBodyType: "formData",
|
|
573
|
+
bodyType: "json",
|
|
574
|
+
});
|
|
575
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ApprovePolarClawDevicePairResponse({}));
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* 批准PolarClaw设备配对
|
|
579
|
+
*
|
|
580
|
+
* @param request - ApprovePolarClawDevicePairRequest
|
|
581
|
+
* @returns ApprovePolarClawDevicePairResponse
|
|
582
|
+
*/
|
|
583
|
+
async approvePolarClawDevicePair(request) {
|
|
584
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
585
|
+
return await this.approvePolarClawDevicePairWithOptions(request, runtime);
|
|
586
|
+
}
|
|
545
587
|
/**
|
|
546
588
|
* 挂载PolarFS到PolarDB应用
|
|
547
589
|
*
|
|
@@ -8033,6 +8075,66 @@ class Client extends openapi_core_1.default {
|
|
|
8033
8075
|
let runtime = new $dara.RuntimeOptions({});
|
|
8034
8076
|
return await this.describeApplicationParametersWithOptions(request, runtime);
|
|
8035
8077
|
}
|
|
8078
|
+
/**
|
|
8079
|
+
* 查询PolarDB AI应用性能
|
|
8080
|
+
*
|
|
8081
|
+
* @param request - DescribeApplicationPerformanceRequest
|
|
8082
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8083
|
+
* @returns DescribeApplicationPerformanceResponse
|
|
8084
|
+
*/
|
|
8085
|
+
async describeApplicationPerformanceWithOptions(request, runtime) {
|
|
8086
|
+
request.validate();
|
|
8087
|
+
let query = {};
|
|
8088
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
8089
|
+
query["ApplicationId"] = request.applicationId;
|
|
8090
|
+
}
|
|
8091
|
+
if (!$dara.isNull(request.consumer)) {
|
|
8092
|
+
query["Consumer"] = request.consumer;
|
|
8093
|
+
}
|
|
8094
|
+
if (!$dara.isNull(request.consumerGroup)) {
|
|
8095
|
+
query["ConsumerGroup"] = request.consumerGroup;
|
|
8096
|
+
}
|
|
8097
|
+
if (!$dara.isNull(request.endTime)) {
|
|
8098
|
+
query["EndTime"] = request.endTime;
|
|
8099
|
+
}
|
|
8100
|
+
if (!$dara.isNull(request.interval)) {
|
|
8101
|
+
query["Interval"] = request.interval;
|
|
8102
|
+
}
|
|
8103
|
+
if (!$dara.isNull(request.key)) {
|
|
8104
|
+
query["Key"] = request.key;
|
|
8105
|
+
}
|
|
8106
|
+
if (!$dara.isNull(request.modelService)) {
|
|
8107
|
+
query["ModelService"] = request.modelService;
|
|
8108
|
+
}
|
|
8109
|
+
if (!$dara.isNull(request.startTime)) {
|
|
8110
|
+
query["StartTime"] = request.startTime;
|
|
8111
|
+
}
|
|
8112
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8113
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8114
|
+
});
|
|
8115
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8116
|
+
action: "DescribeApplicationPerformance",
|
|
8117
|
+
version: "2017-08-01",
|
|
8118
|
+
protocol: "HTTPS",
|
|
8119
|
+
pathname: "/",
|
|
8120
|
+
method: "POST",
|
|
8121
|
+
authType: "AK",
|
|
8122
|
+
style: "RPC",
|
|
8123
|
+
reqBodyType: "formData",
|
|
8124
|
+
bodyType: "json",
|
|
8125
|
+
});
|
|
8126
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationPerformanceResponse({}));
|
|
8127
|
+
}
|
|
8128
|
+
/**
|
|
8129
|
+
* 查询PolarDB AI应用性能
|
|
8130
|
+
*
|
|
8131
|
+
* @param request - DescribeApplicationPerformanceRequest
|
|
8132
|
+
* @returns DescribeApplicationPerformanceResponse
|
|
8133
|
+
*/
|
|
8134
|
+
async describeApplicationPerformance(request) {
|
|
8135
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8136
|
+
return await this.describeApplicationPerformanceWithOptions(request, runtime);
|
|
8137
|
+
}
|
|
8036
8138
|
/**
|
|
8037
8139
|
* 查询当前应用下所有的应用提示词策略列表
|
|
8038
8140
|
*
|
|
@@ -13675,6 +13777,48 @@ class Client extends openapi_core_1.default {
|
|
|
13675
13777
|
let runtime = new $dara.RuntimeOptions({});
|
|
13676
13778
|
return await this.describePolarClawPluginsWithOptions(request, runtime);
|
|
13677
13779
|
}
|
|
13780
|
+
/**
|
|
13781
|
+
* 查询PolarClaw异步任务状态
|
|
13782
|
+
*
|
|
13783
|
+
* @param request - DescribePolarClawTaskRequest
|
|
13784
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13785
|
+
* @returns DescribePolarClawTaskResponse
|
|
13786
|
+
*/
|
|
13787
|
+
async describePolarClawTaskWithOptions(request, runtime) {
|
|
13788
|
+
request.validate();
|
|
13789
|
+
let query = {};
|
|
13790
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
13791
|
+
query["ApplicationId"] = request.applicationId;
|
|
13792
|
+
}
|
|
13793
|
+
if (!$dara.isNull(request.taskId)) {
|
|
13794
|
+
query["TaskId"] = request.taskId;
|
|
13795
|
+
}
|
|
13796
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13797
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13798
|
+
});
|
|
13799
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13800
|
+
action: "DescribePolarClawTask",
|
|
13801
|
+
version: "2017-08-01",
|
|
13802
|
+
protocol: "HTTPS",
|
|
13803
|
+
pathname: "/",
|
|
13804
|
+
method: "POST",
|
|
13805
|
+
authType: "AK",
|
|
13806
|
+
style: "RPC",
|
|
13807
|
+
reqBodyType: "formData",
|
|
13808
|
+
bodyType: "json",
|
|
13809
|
+
});
|
|
13810
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarClawTaskResponse({}));
|
|
13811
|
+
}
|
|
13812
|
+
/**
|
|
13813
|
+
* 查询PolarClaw异步任务状态
|
|
13814
|
+
*
|
|
13815
|
+
* @param request - DescribePolarClawTaskRequest
|
|
13816
|
+
* @returns DescribePolarClawTaskResponse
|
|
13817
|
+
*/
|
|
13818
|
+
async describePolarClawTask(request) {
|
|
13819
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13820
|
+
return await this.describePolarClawTaskWithOptions(request, runtime);
|
|
13821
|
+
}
|
|
13678
13822
|
/**
|
|
13679
13823
|
* 获取PolarFS实例详情
|
|
13680
13824
|
*
|
|
@@ -16343,6 +16487,45 @@ class Client extends openapi_core_1.default {
|
|
|
16343
16487
|
let runtime = new $dara.RuntimeOptions({});
|
|
16344
16488
|
return await this.listPolarClawBindingsWithOptions(request, runtime);
|
|
16345
16489
|
}
|
|
16490
|
+
/**
|
|
16491
|
+
* 列出PolarClaw设备配对
|
|
16492
|
+
*
|
|
16493
|
+
* @param request - ListPolarClawDevicePairsRequest
|
|
16494
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16495
|
+
* @returns ListPolarClawDevicePairsResponse
|
|
16496
|
+
*/
|
|
16497
|
+
async listPolarClawDevicePairsWithOptions(request, runtime) {
|
|
16498
|
+
request.validate();
|
|
16499
|
+
let query = {};
|
|
16500
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
16501
|
+
query["ApplicationId"] = request.applicationId;
|
|
16502
|
+
}
|
|
16503
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
16504
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
16505
|
+
});
|
|
16506
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
16507
|
+
action: "ListPolarClawDevicePairs",
|
|
16508
|
+
version: "2017-08-01",
|
|
16509
|
+
protocol: "HTTPS",
|
|
16510
|
+
pathname: "/",
|
|
16511
|
+
method: "POST",
|
|
16512
|
+
authType: "AK",
|
|
16513
|
+
style: "RPC",
|
|
16514
|
+
reqBodyType: "formData",
|
|
16515
|
+
bodyType: "json",
|
|
16516
|
+
});
|
|
16517
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPolarClawDevicePairsResponse({}));
|
|
16518
|
+
}
|
|
16519
|
+
/**
|
|
16520
|
+
* 列出PolarClaw设备配对
|
|
16521
|
+
*
|
|
16522
|
+
* @param request - ListPolarClawDevicePairsRequest
|
|
16523
|
+
* @returns ListPolarClawDevicePairsResponse
|
|
16524
|
+
*/
|
|
16525
|
+
async listPolarClawDevicePairs(request) {
|
|
16526
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
16527
|
+
return await this.listPolarClawDevicePairsWithOptions(request, runtime);
|
|
16528
|
+
}
|
|
16346
16529
|
/**
|
|
16347
16530
|
* Queries the tags that are added to one or more PolarDB clusters, or the PolarDB clusters to which one or more tags are added.
|
|
16348
16531
|
*
|
|
@@ -16459,6 +16642,48 @@ class Client extends openapi_core_1.default {
|
|
|
16459
16642
|
let runtime = new $dara.RuntimeOptions({});
|
|
16460
16643
|
return await this.listTagResourcesForRegionWithOptions(request, runtime);
|
|
16461
16644
|
}
|
|
16645
|
+
/**
|
|
16646
|
+
* 登录PolarClaw Channel
|
|
16647
|
+
*
|
|
16648
|
+
* @param request - LoginPolarClawChannelRequest
|
|
16649
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16650
|
+
* @returns LoginPolarClawChannelResponse
|
|
16651
|
+
*/
|
|
16652
|
+
async loginPolarClawChannelWithOptions(request, runtime) {
|
|
16653
|
+
request.validate();
|
|
16654
|
+
let query = {};
|
|
16655
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
16656
|
+
query["ApplicationId"] = request.applicationId;
|
|
16657
|
+
}
|
|
16658
|
+
if (!$dara.isNull(request.channelId)) {
|
|
16659
|
+
query["ChannelId"] = request.channelId;
|
|
16660
|
+
}
|
|
16661
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
16662
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
16663
|
+
});
|
|
16664
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
16665
|
+
action: "LoginPolarClawChannel",
|
|
16666
|
+
version: "2017-08-01",
|
|
16667
|
+
protocol: "HTTPS",
|
|
16668
|
+
pathname: "/",
|
|
16669
|
+
method: "POST",
|
|
16670
|
+
authType: "AK",
|
|
16671
|
+
style: "RPC",
|
|
16672
|
+
reqBodyType: "formData",
|
|
16673
|
+
bodyType: "json",
|
|
16674
|
+
});
|
|
16675
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.LoginPolarClawChannelResponse({}));
|
|
16676
|
+
}
|
|
16677
|
+
/**
|
|
16678
|
+
* 登录PolarClaw Channel
|
|
16679
|
+
*
|
|
16680
|
+
* @param request - LoginPolarClawChannelRequest
|
|
16681
|
+
* @returns LoginPolarClawChannelResponse
|
|
16682
|
+
*/
|
|
16683
|
+
async loginPolarClawChannel(request) {
|
|
16684
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
16685
|
+
return await this.loginPolarClawChannelWithOptions(request, runtime);
|
|
16686
|
+
}
|
|
16462
16687
|
/**
|
|
16463
16688
|
* Manually starts a cluster.
|
|
16464
16689
|
*
|
|
@@ -21172,6 +21397,48 @@ class Client extends openapi_core_1.default {
|
|
|
21172
21397
|
let runtime = new $dara.RuntimeOptions({});
|
|
21173
21398
|
return await this.refreshDBClusterStorageUsageWithOptions(request, runtime);
|
|
21174
21399
|
}
|
|
21400
|
+
/**
|
|
21401
|
+
* 拒绝PolarClaw设备配对
|
|
21402
|
+
*
|
|
21403
|
+
* @param request - RejectPolarClawDevicePairRequest
|
|
21404
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
21405
|
+
* @returns RejectPolarClawDevicePairResponse
|
|
21406
|
+
*/
|
|
21407
|
+
async rejectPolarClawDevicePairWithOptions(request, runtime) {
|
|
21408
|
+
request.validate();
|
|
21409
|
+
let query = {};
|
|
21410
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
21411
|
+
query["ApplicationId"] = request.applicationId;
|
|
21412
|
+
}
|
|
21413
|
+
if (!$dara.isNull(request.pairRequestId)) {
|
|
21414
|
+
query["PairRequestId"] = request.pairRequestId;
|
|
21415
|
+
}
|
|
21416
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
21417
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
21418
|
+
});
|
|
21419
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
21420
|
+
action: "RejectPolarClawDevicePair",
|
|
21421
|
+
version: "2017-08-01",
|
|
21422
|
+
protocol: "HTTPS",
|
|
21423
|
+
pathname: "/",
|
|
21424
|
+
method: "POST",
|
|
21425
|
+
authType: "AK",
|
|
21426
|
+
style: "RPC",
|
|
21427
|
+
reqBodyType: "formData",
|
|
21428
|
+
bodyType: "json",
|
|
21429
|
+
});
|
|
21430
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RejectPolarClawDevicePairResponse({}));
|
|
21431
|
+
}
|
|
21432
|
+
/**
|
|
21433
|
+
* 拒绝PolarClaw设备配对
|
|
21434
|
+
*
|
|
21435
|
+
* @param request - RejectPolarClawDevicePairRequest
|
|
21436
|
+
* @returns RejectPolarClawDevicePairResponse
|
|
21437
|
+
*/
|
|
21438
|
+
async rejectPolarClawDevicePair(request) {
|
|
21439
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
21440
|
+
return await this.rejectPolarClawDevicePairWithOptions(request, runtime);
|
|
21441
|
+
}
|
|
21175
21442
|
/**
|
|
21176
21443
|
* 删除应用环境变量
|
|
21177
21444
|
*
|
|
@@ -21291,6 +21558,48 @@ class Client extends openapi_core_1.default {
|
|
|
21291
21558
|
let runtime = new $dara.RuntimeOptions({});
|
|
21292
21559
|
return await this.removeDBClusterFromGDNWithOptions(request, runtime);
|
|
21293
21560
|
}
|
|
21561
|
+
/**
|
|
21562
|
+
* 移除PolarClaw已配对设备
|
|
21563
|
+
*
|
|
21564
|
+
* @param request - RemovePolarClawDevicePairRequest
|
|
21565
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
21566
|
+
* @returns RemovePolarClawDevicePairResponse
|
|
21567
|
+
*/
|
|
21568
|
+
async removePolarClawDevicePairWithOptions(request, runtime) {
|
|
21569
|
+
request.validate();
|
|
21570
|
+
let query = {};
|
|
21571
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
21572
|
+
query["ApplicationId"] = request.applicationId;
|
|
21573
|
+
}
|
|
21574
|
+
if (!$dara.isNull(request.deviceId)) {
|
|
21575
|
+
query["DeviceId"] = request.deviceId;
|
|
21576
|
+
}
|
|
21577
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
21578
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
21579
|
+
});
|
|
21580
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
21581
|
+
action: "RemovePolarClawDevicePair",
|
|
21582
|
+
version: "2017-08-01",
|
|
21583
|
+
protocol: "HTTPS",
|
|
21584
|
+
pathname: "/",
|
|
21585
|
+
method: "POST",
|
|
21586
|
+
authType: "AK",
|
|
21587
|
+
style: "RPC",
|
|
21588
|
+
reqBodyType: "formData",
|
|
21589
|
+
bodyType: "json",
|
|
21590
|
+
});
|
|
21591
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemovePolarClawDevicePairResponse({}));
|
|
21592
|
+
}
|
|
21593
|
+
/**
|
|
21594
|
+
* 移除PolarClaw已配对设备
|
|
21595
|
+
*
|
|
21596
|
+
* @param request - RemovePolarClawDevicePairRequest
|
|
21597
|
+
* @returns RemovePolarClawDevicePairResponse
|
|
21598
|
+
*/
|
|
21599
|
+
async removePolarClawDevicePair(request) {
|
|
21600
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
21601
|
+
return await this.removePolarClawDevicePairWithOptions(request, runtime);
|
|
21602
|
+
}
|
|
21294
21603
|
/**
|
|
21295
21604
|
* 删除PolarClaw MCP Server
|
|
21296
21605
|
*
|