@alicloud/polardb20170801 6.18.0 → 6.19.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 +45 -0
- package/dist/client.js +157 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAidbclusterRequest.d.ts +1 -3
- package/dist/models/CreateAidbclusterRequest.js +2 -0
- package/dist/models/CreateAidbclusterRequest.js.map +1 -1
- package/dist/models/CreateBatchTaskRequest.d.ts +47 -0
- package/dist/models/CreateBatchTaskRequest.js +69 -0
- package/dist/models/CreateBatchTaskRequest.js.map +1 -0
- package/dist/models/CreateBatchTaskResponse.d.ts +19 -0
- package/dist/models/CreateBatchTaskResponse.js +69 -0
- package/dist/models/CreateBatchTaskResponse.js.map +1 -0
- package/dist/models/CreateBatchTaskResponseBody.d.ts +23 -0
- package/dist/models/CreateBatchTaskResponseBody.js +60 -0
- package/dist/models/CreateBatchTaskResponseBody.js.map +1 -0
- package/dist/models/CreateBatchTaskShrinkRequest.d.ts +47 -0
- package/dist/models/CreateBatchTaskShrinkRequest.js +66 -0
- package/dist/models/CreateBatchTaskShrinkRequest.js.map +1 -0
- package/dist/models/DescribeBatchTaskRequest.d.ts +18 -0
- package/dist/models/DescribeBatchTaskRequest.js +58 -0
- package/dist/models/DescribeBatchTaskRequest.js.map +1 -0
- package/dist/models/DescribeBatchTaskResponse.d.ts +19 -0
- package/dist/models/DescribeBatchTaskResponse.js +69 -0
- package/dist/models/DescribeBatchTaskResponse.js.map +1 -0
- package/dist/models/DescribeBatchTaskResponseBody.d.ts +104 -0
- package/dist/models/DescribeBatchTaskResponseBody.js +108 -0
- package/dist/models/DescribeBatchTaskResponseBody.js.map +1 -0
- package/dist/models/DescribeBatchTasksRequest.d.ts +45 -0
- package/dist/models/DescribeBatchTasksRequest.js +71 -0
- package/dist/models/DescribeBatchTasksRequest.js.map +1 -0
- package/dist/models/DescribeBatchTasksResponse.d.ts +19 -0
- package/dist/models/DescribeBatchTasksResponse.js +69 -0
- package/dist/models/DescribeBatchTasksResponse.js.map +1 -0
- package/dist/models/DescribeBatchTasksResponseBody.d.ts +89 -0
- package/dist/models/DescribeBatchTasksResponseBody.js +102 -0
- package/dist/models/DescribeBatchTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeBatchTasksShrinkRequest.d.ts +45 -0
- package/dist/models/DescribeBatchTasksShrinkRequest.js +68 -0
- package/dist/models/DescribeBatchTasksShrinkRequest.js.map +1 -0
- package/dist/models/DescribeGatewayAttributeResponseBody.d.ts +3 -0
- package/dist/models/DescribeGatewayAttributeResponseBody.js +6 -0
- package/dist/models/DescribeGatewayAttributeResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +54 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +178 -0
- package/src/models/CreateAidbclusterRequest.ts +3 -3
- package/src/models/CreateBatchTaskRequest.ts +71 -0
- package/src/models/CreateBatchTaskResponse.ts +40 -0
- package/src/models/CreateBatchTaskResponseBody.ts +38 -0
- package/src/models/CreateBatchTaskShrinkRequest.ts +68 -0
- package/src/models/DescribeBatchTaskRequest.ts +31 -0
- package/src/models/DescribeBatchTaskResponse.ts +40 -0
- package/src/models/DescribeBatchTaskResponseBody.ts +158 -0
- package/src/models/DescribeBatchTasksRequest.ts +71 -0
- package/src/models/DescribeBatchTasksResponse.ts +40 -0
- package/src/models/DescribeBatchTasksResponseBody.ts +137 -0
- package/src/models/DescribeBatchTasksShrinkRequest.ts +68 -0
- package/src/models/DescribeGatewayAttributeResponseBody.ts +9 -0
- package/src/models/model.ts +13 -0
package/dist/client.d.ts
CHANGED
|
@@ -595,6 +595,21 @@ export default class Client extends OpenApi {
|
|
|
595
595
|
* @returns CreateBackupResponse
|
|
596
596
|
*/
|
|
597
597
|
createBackup(request: $_model.CreateBackupRequest): Promise<$_model.CreateBackupResponse>;
|
|
598
|
+
/**
|
|
599
|
+
* 创建批量任务
|
|
600
|
+
*
|
|
601
|
+
* @param tmpReq - CreateBatchTaskRequest
|
|
602
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
603
|
+
* @returns CreateBatchTaskResponse
|
|
604
|
+
*/
|
|
605
|
+
createBatchTaskWithOptions(tmpReq: $_model.CreateBatchTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateBatchTaskResponse>;
|
|
606
|
+
/**
|
|
607
|
+
* 创建批量任务
|
|
608
|
+
*
|
|
609
|
+
* @param request - CreateBatchTaskRequest
|
|
610
|
+
* @returns CreateBatchTaskResponse
|
|
611
|
+
*/
|
|
612
|
+
createBatchTask(request: $_model.CreateBatchTaskRequest): Promise<$_model.CreateBatchTaskResponse>;
|
|
598
613
|
/**
|
|
599
614
|
* 创建预算策略
|
|
600
615
|
*
|
|
@@ -2245,6 +2260,36 @@ export default class Client extends OpenApi {
|
|
|
2245
2260
|
* @returns DescribeBackupsResponse
|
|
2246
2261
|
*/
|
|
2247
2262
|
describeBackups(request: $_model.DescribeBackupsRequest): Promise<$_model.DescribeBackupsResponse>;
|
|
2263
|
+
/**
|
|
2264
|
+
* 查询批量任务状态详情
|
|
2265
|
+
*
|
|
2266
|
+
* @param request - DescribeBatchTaskRequest
|
|
2267
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2268
|
+
* @returns DescribeBatchTaskResponse
|
|
2269
|
+
*/
|
|
2270
|
+
describeBatchTaskWithOptions(request: $_model.DescribeBatchTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeBatchTaskResponse>;
|
|
2271
|
+
/**
|
|
2272
|
+
* 查询批量任务状态详情
|
|
2273
|
+
*
|
|
2274
|
+
* @param request - DescribeBatchTaskRequest
|
|
2275
|
+
* @returns DescribeBatchTaskResponse
|
|
2276
|
+
*/
|
|
2277
|
+
describeBatchTask(request: $_model.DescribeBatchTaskRequest): Promise<$_model.DescribeBatchTaskResponse>;
|
|
2278
|
+
/**
|
|
2279
|
+
* 查询批量任务状态
|
|
2280
|
+
*
|
|
2281
|
+
* @param tmpReq - DescribeBatchTasksRequest
|
|
2282
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2283
|
+
* @returns DescribeBatchTasksResponse
|
|
2284
|
+
*/
|
|
2285
|
+
describeBatchTasksWithOptions(tmpReq: $_model.DescribeBatchTasksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeBatchTasksResponse>;
|
|
2286
|
+
/**
|
|
2287
|
+
* 查询批量任务状态
|
|
2288
|
+
*
|
|
2289
|
+
* @param request - DescribeBatchTasksRequest
|
|
2290
|
+
* @returns DescribeBatchTasksResponse
|
|
2291
|
+
*/
|
|
2292
|
+
describeBatchTasks(request: $_model.DescribeBatchTasksRequest): Promise<$_model.DescribeBatchTasksResponse>;
|
|
2248
2293
|
/**
|
|
2249
2294
|
* 查询预算策略
|
|
2250
2295
|
*
|
package/dist/client.js
CHANGED
|
@@ -1539,6 +1539,9 @@ class Client extends openapi_core_1.default {
|
|
|
1539
1539
|
if (!$dara.isNull(request.autoUseCoupon)) {
|
|
1540
1540
|
query["AutoUseCoupon"] = request.autoUseCoupon;
|
|
1541
1541
|
}
|
|
1542
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1543
|
+
query["ClientToken"] = request.clientToken;
|
|
1544
|
+
}
|
|
1542
1545
|
if (!$dara.isNull(request.DBClusterDescription)) {
|
|
1543
1546
|
query["DBClusterDescription"] = request.DBClusterDescription;
|
|
1544
1547
|
}
|
|
@@ -2401,6 +2404,62 @@ class Client extends openapi_core_1.default {
|
|
|
2401
2404
|
let runtime = new $dara.RuntimeOptions({});
|
|
2402
2405
|
return await this.createBackupWithOptions(request, runtime);
|
|
2403
2406
|
}
|
|
2407
|
+
/**
|
|
2408
|
+
* 创建批量任务
|
|
2409
|
+
*
|
|
2410
|
+
* @param tmpReq - CreateBatchTaskRequest
|
|
2411
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2412
|
+
* @returns CreateBatchTaskResponse
|
|
2413
|
+
*/
|
|
2414
|
+
async createBatchTaskWithOptions(tmpReq, runtime) {
|
|
2415
|
+
tmpReq.validate();
|
|
2416
|
+
let request = new $_model.CreateBatchTaskShrinkRequest({});
|
|
2417
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
2418
|
+
if (!$dara.isNull(tmpReq.instanceIds)) {
|
|
2419
|
+
request.instanceIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.instanceIds, "InstanceIds", "json");
|
|
2420
|
+
}
|
|
2421
|
+
let query = {};
|
|
2422
|
+
if (!$dara.isNull(request.instanceIdsShrink)) {
|
|
2423
|
+
query["InstanceIds"] = request.instanceIdsShrink;
|
|
2424
|
+
}
|
|
2425
|
+
if (!$dara.isNull(request.param)) {
|
|
2426
|
+
query["Param"] = request.param;
|
|
2427
|
+
}
|
|
2428
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2429
|
+
query["RegionId"] = request.regionId;
|
|
2430
|
+
}
|
|
2431
|
+
if (!$dara.isNull(request.taskName)) {
|
|
2432
|
+
query["TaskName"] = request.taskName;
|
|
2433
|
+
}
|
|
2434
|
+
if (!$dara.isNull(request.taskType)) {
|
|
2435
|
+
query["TaskType"] = request.taskType;
|
|
2436
|
+
}
|
|
2437
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2438
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2439
|
+
});
|
|
2440
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2441
|
+
action: "CreateBatchTask",
|
|
2442
|
+
version: "2017-08-01",
|
|
2443
|
+
protocol: "HTTPS",
|
|
2444
|
+
pathname: "/",
|
|
2445
|
+
method: "POST",
|
|
2446
|
+
authType: "AK",
|
|
2447
|
+
style: "RPC",
|
|
2448
|
+
reqBodyType: "formData",
|
|
2449
|
+
bodyType: "json",
|
|
2450
|
+
});
|
|
2451
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateBatchTaskResponse({}));
|
|
2452
|
+
}
|
|
2453
|
+
/**
|
|
2454
|
+
* 创建批量任务
|
|
2455
|
+
*
|
|
2456
|
+
* @param request - CreateBatchTaskRequest
|
|
2457
|
+
* @returns CreateBatchTaskResponse
|
|
2458
|
+
*/
|
|
2459
|
+
async createBatchTask(request) {
|
|
2460
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2461
|
+
return await this.createBatchTaskWithOptions(request, runtime);
|
|
2462
|
+
}
|
|
2404
2463
|
/**
|
|
2405
2464
|
* 创建预算策略
|
|
2406
2465
|
*
|
|
@@ -8574,6 +8633,104 @@ class Client extends openapi_core_1.default {
|
|
|
8574
8633
|
let runtime = new $dara.RuntimeOptions({});
|
|
8575
8634
|
return await this.describeBackupsWithOptions(request, runtime);
|
|
8576
8635
|
}
|
|
8636
|
+
/**
|
|
8637
|
+
* 查询批量任务状态详情
|
|
8638
|
+
*
|
|
8639
|
+
* @param request - DescribeBatchTaskRequest
|
|
8640
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8641
|
+
* @returns DescribeBatchTaskResponse
|
|
8642
|
+
*/
|
|
8643
|
+
async describeBatchTaskWithOptions(request, runtime) {
|
|
8644
|
+
request.validate();
|
|
8645
|
+
let query = {};
|
|
8646
|
+
if (!$dara.isNull(request.batchId)) {
|
|
8647
|
+
query["BatchId"] = request.batchId;
|
|
8648
|
+
}
|
|
8649
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8650
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8651
|
+
});
|
|
8652
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8653
|
+
action: "DescribeBatchTask",
|
|
8654
|
+
version: "2017-08-01",
|
|
8655
|
+
protocol: "HTTPS",
|
|
8656
|
+
pathname: "/",
|
|
8657
|
+
method: "POST",
|
|
8658
|
+
authType: "AK",
|
|
8659
|
+
style: "RPC",
|
|
8660
|
+
reqBodyType: "formData",
|
|
8661
|
+
bodyType: "json",
|
|
8662
|
+
});
|
|
8663
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBatchTaskResponse({}));
|
|
8664
|
+
}
|
|
8665
|
+
/**
|
|
8666
|
+
* 查询批量任务状态详情
|
|
8667
|
+
*
|
|
8668
|
+
* @param request - DescribeBatchTaskRequest
|
|
8669
|
+
* @returns DescribeBatchTaskResponse
|
|
8670
|
+
*/
|
|
8671
|
+
async describeBatchTask(request) {
|
|
8672
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8673
|
+
return await this.describeBatchTaskWithOptions(request, runtime);
|
|
8674
|
+
}
|
|
8675
|
+
/**
|
|
8676
|
+
* 查询批量任务状态
|
|
8677
|
+
*
|
|
8678
|
+
* @param tmpReq - DescribeBatchTasksRequest
|
|
8679
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8680
|
+
* @returns DescribeBatchTasksResponse
|
|
8681
|
+
*/
|
|
8682
|
+
async describeBatchTasksWithOptions(tmpReq, runtime) {
|
|
8683
|
+
tmpReq.validate();
|
|
8684
|
+
let request = new $_model.DescribeBatchTasksShrinkRequest({});
|
|
8685
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
8686
|
+
if (!$dara.isNull(tmpReq.status)) {
|
|
8687
|
+
request.statusShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.status, "Status", "json");
|
|
8688
|
+
}
|
|
8689
|
+
let query = {};
|
|
8690
|
+
if (!$dara.isNull(request.endTime)) {
|
|
8691
|
+
query["EndTime"] = request.endTime;
|
|
8692
|
+
}
|
|
8693
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8694
|
+
query["PageNumber"] = request.pageNumber;
|
|
8695
|
+
}
|
|
8696
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8697
|
+
query["PageSize"] = request.pageSize;
|
|
8698
|
+
}
|
|
8699
|
+
if (!$dara.isNull(request.startTime)) {
|
|
8700
|
+
query["StartTime"] = request.startTime;
|
|
8701
|
+
}
|
|
8702
|
+
if (!$dara.isNull(request.statusShrink)) {
|
|
8703
|
+
query["Status"] = request.statusShrink;
|
|
8704
|
+
}
|
|
8705
|
+
if (!$dara.isNull(request.taskType)) {
|
|
8706
|
+
query["TaskType"] = request.taskType;
|
|
8707
|
+
}
|
|
8708
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8709
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8710
|
+
});
|
|
8711
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8712
|
+
action: "DescribeBatchTasks",
|
|
8713
|
+
version: "2017-08-01",
|
|
8714
|
+
protocol: "HTTPS",
|
|
8715
|
+
pathname: "/",
|
|
8716
|
+
method: "POST",
|
|
8717
|
+
authType: "AK",
|
|
8718
|
+
style: "RPC",
|
|
8719
|
+
reqBodyType: "formData",
|
|
8720
|
+
bodyType: "json",
|
|
8721
|
+
});
|
|
8722
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBatchTasksResponse({}));
|
|
8723
|
+
}
|
|
8724
|
+
/**
|
|
8725
|
+
* 查询批量任务状态
|
|
8726
|
+
*
|
|
8727
|
+
* @param request - DescribeBatchTasksRequest
|
|
8728
|
+
* @returns DescribeBatchTasksResponse
|
|
8729
|
+
*/
|
|
8730
|
+
async describeBatchTasks(request) {
|
|
8731
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8732
|
+
return await this.describeBatchTasksWithOptions(request, runtime);
|
|
8733
|
+
}
|
|
8577
8734
|
/**
|
|
8578
8735
|
* 查询预算策略
|
|
8579
8736
|
*
|