@alicloud/das20200116 2.0.0 → 2.0.2
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 +19655 -886
- package/dist/client.js +1061 -866
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +20015 -1240
package/dist/client.js
CHANGED
|
@@ -38,7 +38,6 @@ exports.GetRunningSqlConcurrencyControlRulesResponseBodyDataListRunningRules = e
|
|
|
38
38
|
exports.UpdateAutoThrottleRulesAsyncResponseBodyData = exports.UpdateAutoThrottleRulesAsyncResponseBodyDataConfigResponse = exports.UpdateAutoThrottleRulesAsyncResponseBodyDataConfigResponseConfigSuccessInstanceList = exports.UpdateAutoThrottleRulesAsyncResponseBodyDataConfigResponseConfigFailInstanceList = exports.UpdateAutoSqlOptimizeStatusResponseBodyData = exports.UpdateAutoResourceOptimizeRulesAsyncResponseBodyData = exports.UpdateAutoResourceOptimizeRulesAsyncResponseBodyDataConfigResponse = exports.UpdateAutoResourceOptimizeRulesAsyncResponseBodyDataConfigResponseConfigSuccessInstanceList = exports.UpdateAutoResourceOptimizeRulesAsyncResponseBodyDataConfigResponseConfigFailInstanceList = exports.SetEventSubscriptionResponseBodyData = exports.RunCloudBenchTaskResponseBodyData = exports.RunCloudBenchTaskResponseBodyDataPreCheckItem = exports.ModifySqlLogConfigResponseBodyData = exports.ModifySqlLogConfigRequestFilters = exports.ModifyAutoScalingConfigRequestStorage = exports.ModifyAutoScalingConfigRequestSpec = exports.ModifyAutoScalingConfigRequestShard = exports.ModifyAutoScalingConfigRequestResource = exports.ModifyAutoScalingConfigRequestBandwidth = exports.GetStorageAnalysisResultResponseBodyData = exports.GetStorageAnalysisResultResponseBodyDataStorageAnalysisResult = exports.GetStorageAnalysisResultResponseBodyDataStorageAnalysisResultTableStats = exports.GetStorageAnalysisResultResponseBodyDataStorageAnalysisResultNeedOptimizeItemList = exports.GetSqlOptimizeAdviceResponseBodyData = exports.GetSqlConcurrencyControlRulesHistoryResponseBodyData = exports.GetSqlConcurrencyControlRulesHistoryResponseBodyDataList = exports.GetSqlConcurrencyControlRulesHistoryResponseBodyDataListRules = exports.GetRunningSqlConcurrencyControlRulesResponseBodyData = exports.GetRunningSqlConcurrencyControlRulesResponseBodyDataList = void 0;
|
|
39
39
|
// This file is auto-generated, don't edit it
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
41
|
*/
|
|
43
42
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
44
43
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
@@ -8105,8 +8104,10 @@ class DescribeSqlLogConfigResponseBodyData extends $tea.Model {
|
|
|
8105
8104
|
requestStopTime: 'RequestStopTime',
|
|
8106
8105
|
retention: 'Retention',
|
|
8107
8106
|
sqlLogEnable: 'SqlLogEnable',
|
|
8107
|
+
sqlLogSource: 'SqlLogSource',
|
|
8108
8108
|
sqlLogState: 'SqlLogState',
|
|
8109
8109
|
sqlLogVisibleTime: 'SqlLogVisibleTime',
|
|
8110
|
+
supportMigration: 'SupportMigration',
|
|
8110
8111
|
supportVersion: 'SupportVersion',
|
|
8111
8112
|
version: 'Version',
|
|
8112
8113
|
};
|
|
@@ -8126,8 +8127,10 @@ class DescribeSqlLogConfigResponseBodyData extends $tea.Model {
|
|
|
8126
8127
|
requestStopTime: 'number',
|
|
8127
8128
|
retention: 'number',
|
|
8128
8129
|
sqlLogEnable: 'boolean',
|
|
8130
|
+
sqlLogSource: 'string',
|
|
8129
8131
|
sqlLogState: 'string',
|
|
8130
8132
|
sqlLogVisibleTime: 'number',
|
|
8133
|
+
supportMigration: 'boolean',
|
|
8131
8134
|
supportVersion: 'string',
|
|
8132
8135
|
version: 'string',
|
|
8133
8136
|
};
|
|
@@ -8325,6 +8328,7 @@ class DescribeSqlLogTaskResponseBodyDataQueries extends $tea.Model {
|
|
|
8325
8328
|
static names() {
|
|
8326
8329
|
return {
|
|
8327
8330
|
accountName: 'AccountName',
|
|
8331
|
+
collection: 'Collection',
|
|
8328
8332
|
consume: 'Consume',
|
|
8329
8333
|
cpuTime: 'CpuTime',
|
|
8330
8334
|
DBName: 'DBName',
|
|
@@ -8361,6 +8365,7 @@ class DescribeSqlLogTaskResponseBodyDataQueries extends $tea.Model {
|
|
|
8361
8365
|
static types() {
|
|
8362
8366
|
return {
|
|
8363
8367
|
accountName: 'string',
|
|
8368
|
+
collection: 'string',
|
|
8364
8369
|
consume: 'number',
|
|
8365
8370
|
cpuTime: 'number',
|
|
8366
8371
|
DBName: 'string',
|
|
@@ -12215,15 +12220,16 @@ class Client extends openapi_client_1.default {
|
|
|
12215
12220
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
12216
12221
|
}
|
|
12217
12222
|
/**
|
|
12218
|
-
*
|
|
12223
|
+
* Adds a database instance to Database Autonomy Service (DAS).
|
|
12219
12224
|
*
|
|
12220
|
-
* @
|
|
12225
|
+
* @remarks
|
|
12226
|
+
* Before you call this operation, take note of the following items:
|
|
12221
12227
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12222
12228
|
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
12223
12229
|
*
|
|
12224
|
-
* @param request AddHDMInstanceRequest
|
|
12225
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12226
|
-
* @
|
|
12230
|
+
* @param request - AddHDMInstanceRequest
|
|
12231
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12232
|
+
* @returns AddHDMInstanceResponse
|
|
12227
12233
|
*/
|
|
12228
12234
|
async addHDMInstanceWithOptions(request, runtime) {
|
|
12229
12235
|
tea_util_1.default.validateModel(request);
|
|
@@ -12284,32 +12290,34 @@ class Client extends openapi_client_1.default {
|
|
|
12284
12290
|
return $tea.cast(await this.callApi(params, req, runtime), new AddHDMInstanceResponse({}));
|
|
12285
12291
|
}
|
|
12286
12292
|
/**
|
|
12287
|
-
*
|
|
12293
|
+
* Adds a database instance to Database Autonomy Service (DAS).
|
|
12288
12294
|
*
|
|
12289
|
-
* @
|
|
12295
|
+
* @remarks
|
|
12296
|
+
* Before you call this operation, take note of the following items:
|
|
12290
12297
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12291
12298
|
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
12292
12299
|
*
|
|
12293
|
-
* @param request AddHDMInstanceRequest
|
|
12294
|
-
* @
|
|
12300
|
+
* @param request - AddHDMInstanceRequest
|
|
12301
|
+
* @returns AddHDMInstanceResponse
|
|
12295
12302
|
*/
|
|
12296
12303
|
async addHDMInstance(request) {
|
|
12297
12304
|
let runtime = new $Util.RuntimeOptions({});
|
|
12298
12305
|
return await this.addHDMInstanceWithOptions(request, runtime);
|
|
12299
12306
|
}
|
|
12300
12307
|
/**
|
|
12301
|
-
*
|
|
12308
|
+
* Creates a stress testing task on Advanced Database & Application Migration (ADAM).
|
|
12302
12309
|
*
|
|
12303
|
-
* @
|
|
12310
|
+
* @remarks
|
|
12311
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. You can create an Advanced Database & Application Migration (ADAM) stress testing task to check whether you need to scale up your database instance to handle workloads during peak hours. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
12304
12312
|
* Make sure that your database instances meet the following requirements:
|
|
12305
12313
|
* * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition or X-Engine Edition cluster.
|
|
12306
12314
|
* * The destination instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
|
|
12307
12315
|
* * The source and destination database instances are connected to DAS. For information about how to connect database instances to DAS, see [Connect an Alibaba Cloud database instance to DAS](https://help.aliyun.com/document_detail/65405.html).
|
|
12308
12316
|
* * DAS Enterprise Edition is enabled for the source and destination database instances. For more information, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
12309
12317
|
*
|
|
12310
|
-
* @param request CreateAdamBenchTaskRequest
|
|
12311
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12312
|
-
* @
|
|
12318
|
+
* @param request - CreateAdamBenchTaskRequest
|
|
12319
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12320
|
+
* @returns CreateAdamBenchTaskResponse
|
|
12313
12321
|
*/
|
|
12314
12322
|
async createAdamBenchTaskWithOptions(request, runtime) {
|
|
12315
12323
|
tea_util_1.default.validateModel(request);
|
|
@@ -12367,34 +12375,36 @@ class Client extends openapi_client_1.default {
|
|
|
12367
12375
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAdamBenchTaskResponse({}));
|
|
12368
12376
|
}
|
|
12369
12377
|
/**
|
|
12370
|
-
*
|
|
12378
|
+
* Creates a stress testing task on Advanced Database & Application Migration (ADAM).
|
|
12371
12379
|
*
|
|
12372
|
-
* @
|
|
12380
|
+
* @remarks
|
|
12381
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. You can create an Advanced Database & Application Migration (ADAM) stress testing task to check whether you need to scale up your database instance to handle workloads during peak hours. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
12373
12382
|
* Make sure that your database instances meet the following requirements:
|
|
12374
12383
|
* * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition or X-Engine Edition cluster.
|
|
12375
12384
|
* * The destination instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
|
|
12376
12385
|
* * The source and destination database instances are connected to DAS. For information about how to connect database instances to DAS, see [Connect an Alibaba Cloud database instance to DAS](https://help.aliyun.com/document_detail/65405.html).
|
|
12377
12386
|
* * DAS Enterprise Edition is enabled for the source and destination database instances. For more information, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
12378
12387
|
*
|
|
12379
|
-
* @param request CreateAdamBenchTaskRequest
|
|
12380
|
-
* @
|
|
12388
|
+
* @param request - CreateAdamBenchTaskRequest
|
|
12389
|
+
* @returns CreateAdamBenchTaskResponse
|
|
12381
12390
|
*/
|
|
12382
12391
|
async createAdamBenchTask(request) {
|
|
12383
12392
|
let runtime = new $Util.RuntimeOptions({});
|
|
12384
12393
|
return await this.createAdamBenchTaskWithOptions(request, runtime);
|
|
12385
12394
|
}
|
|
12386
12395
|
/**
|
|
12387
|
-
*
|
|
12396
|
+
* Creates a cache analysis task.
|
|
12388
12397
|
*
|
|
12389
|
-
* @
|
|
12398
|
+
* @remarks
|
|
12399
|
+
* Before you call this operation, take note of the following items:
|
|
12390
12400
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12391
12401
|
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
12392
12402
|
* * This operation is applicable only to ApsaraDB for Redis Community Edition instances and performance-enhanced instances of the ApsaraDB for Redis Enhanced Edition (Tair).
|
|
12393
12403
|
* > Redis 7.0 is not supported. You are not allowed to use custom modules.
|
|
12394
12404
|
*
|
|
12395
|
-
* @param request CreateCacheAnalysisJobRequest
|
|
12396
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12397
|
-
* @
|
|
12405
|
+
* @param request - CreateCacheAnalysisJobRequest
|
|
12406
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12407
|
+
* @returns CreateCacheAnalysisJobResponse
|
|
12398
12408
|
*/
|
|
12399
12409
|
async createCacheAnalysisJobWithOptions(request, runtime) {
|
|
12400
12410
|
tea_util_1.default.validateModel(request);
|
|
@@ -12428,33 +12438,35 @@ class Client extends openapi_client_1.default {
|
|
|
12428
12438
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateCacheAnalysisJobResponse({}));
|
|
12429
12439
|
}
|
|
12430
12440
|
/**
|
|
12431
|
-
*
|
|
12441
|
+
* Creates a cache analysis task.
|
|
12432
12442
|
*
|
|
12433
|
-
* @
|
|
12443
|
+
* @remarks
|
|
12444
|
+
* Before you call this operation, take note of the following items:
|
|
12434
12445
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12435
12446
|
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
12436
12447
|
* * This operation is applicable only to ApsaraDB for Redis Community Edition instances and performance-enhanced instances of the ApsaraDB for Redis Enhanced Edition (Tair).
|
|
12437
12448
|
* > Redis 7.0 is not supported. You are not allowed to use custom modules.
|
|
12438
12449
|
*
|
|
12439
|
-
* @param request CreateCacheAnalysisJobRequest
|
|
12440
|
-
* @
|
|
12450
|
+
* @param request - CreateCacheAnalysisJobRequest
|
|
12451
|
+
* @returns CreateCacheAnalysisJobResponse
|
|
12441
12452
|
*/
|
|
12442
12453
|
async createCacheAnalysisJob(request) {
|
|
12443
12454
|
let runtime = new $Util.RuntimeOptions({});
|
|
12444
12455
|
return await this.createCacheAnalysisJobWithOptions(request, runtime);
|
|
12445
12456
|
}
|
|
12446
12457
|
/**
|
|
12447
|
-
*
|
|
12458
|
+
* Creates stress testing tasks.
|
|
12448
12459
|
*
|
|
12449
|
-
* @
|
|
12460
|
+
* @remarks
|
|
12461
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html). Before you call this API operation, make sure that your database instances meet the following requirements:
|
|
12450
12462
|
* * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition or X-Engine Edition cluster.
|
|
12451
12463
|
* * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL instance.
|
|
12452
12464
|
* * The source and destination database instances are connected to DAS. For information about how to connect database instances to DAS, see [Connect an Alibaba Cloud database instance to DAS](https://help.aliyun.com/document_detail/65405.html).
|
|
12453
12465
|
* * DAS Enterprise Edition is enabled for the source and destination database instances. For more information, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
12454
12466
|
*
|
|
12455
|
-
* @param request CreateCloudBenchTasksRequest
|
|
12456
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12457
|
-
* @
|
|
12467
|
+
* @param request - CreateCloudBenchTasksRequest
|
|
12468
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12469
|
+
* @returns CreateCloudBenchTasksResponse
|
|
12458
12470
|
*/
|
|
12459
12471
|
async createCloudBenchTasksWithOptions(request, runtime) {
|
|
12460
12472
|
tea_util_1.default.validateModel(request);
|
|
@@ -12557,25 +12569,27 @@ class Client extends openapi_client_1.default {
|
|
|
12557
12569
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateCloudBenchTasksResponse({}));
|
|
12558
12570
|
}
|
|
12559
12571
|
/**
|
|
12560
|
-
*
|
|
12572
|
+
* Creates stress testing tasks.
|
|
12561
12573
|
*
|
|
12562
|
-
* @
|
|
12574
|
+
* @remarks
|
|
12575
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html). Before you call this API operation, make sure that your database instances meet the following requirements:
|
|
12563
12576
|
* * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition or X-Engine Edition cluster.
|
|
12564
12577
|
* * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL instance.
|
|
12565
12578
|
* * The source and destination database instances are connected to DAS. For information about how to connect database instances to DAS, see [Connect an Alibaba Cloud database instance to DAS](https://help.aliyun.com/document_detail/65405.html).
|
|
12566
12579
|
* * DAS Enterprise Edition is enabled for the source and destination database instances. For more information, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
12567
12580
|
*
|
|
12568
|
-
* @param request CreateCloudBenchTasksRequest
|
|
12569
|
-
* @
|
|
12581
|
+
* @param request - CreateCloudBenchTasksRequest
|
|
12582
|
+
* @returns CreateCloudBenchTasksResponse
|
|
12570
12583
|
*/
|
|
12571
12584
|
async createCloudBenchTasks(request) {
|
|
12572
12585
|
let runtime = new $Util.RuntimeOptions({});
|
|
12573
12586
|
return await this.createCloudBenchTasksWithOptions(request, runtime);
|
|
12574
12587
|
}
|
|
12575
12588
|
/**
|
|
12576
|
-
*
|
|
12589
|
+
* Creates a diagnostic report.
|
|
12577
12590
|
*
|
|
12578
|
-
* @
|
|
12591
|
+
* @remarks
|
|
12592
|
+
* Before you call this operation, take note of the following items:
|
|
12579
12593
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than 4.3.3. We recommend that you use the latest version.
|
|
12580
12594
|
* * The version of Database Autonomy Service (DAS) SDK must be 1.0.3 or later.
|
|
12581
12595
|
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
@@ -12584,9 +12598,9 @@ class Client extends openapi_client_1.default {
|
|
|
12584
12598
|
* * PolarDB for MySQL
|
|
12585
12599
|
* * Redis
|
|
12586
12600
|
*
|
|
12587
|
-
* @param request CreateDiagnosticReportRequest
|
|
12588
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12589
|
-
* @
|
|
12601
|
+
* @param request - CreateDiagnosticReportRequest
|
|
12602
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12603
|
+
* @returns CreateDiagnosticReportResponse
|
|
12590
12604
|
*/
|
|
12591
12605
|
async createDiagnosticReportWithOptions(request, runtime) {
|
|
12592
12606
|
tea_util_1.default.validateModel(request);
|
|
@@ -12617,9 +12631,10 @@ class Client extends openapi_client_1.default {
|
|
|
12617
12631
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiagnosticReportResponse({}));
|
|
12618
12632
|
}
|
|
12619
12633
|
/**
|
|
12620
|
-
*
|
|
12634
|
+
* Creates a diagnostic report.
|
|
12621
12635
|
*
|
|
12622
|
-
* @
|
|
12636
|
+
* @remarks
|
|
12637
|
+
* Before you call this operation, take note of the following items:
|
|
12623
12638
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than 4.3.3. We recommend that you use the latest version.
|
|
12624
12639
|
* * The version of Database Autonomy Service (DAS) SDK must be 1.0.3 or later.
|
|
12625
12640
|
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
@@ -12628,23 +12643,24 @@ class Client extends openapi_client_1.default {
|
|
|
12628
12643
|
* * PolarDB for MySQL
|
|
12629
12644
|
* * Redis
|
|
12630
12645
|
*
|
|
12631
|
-
* @param request CreateDiagnosticReportRequest
|
|
12632
|
-
* @
|
|
12646
|
+
* @param request - CreateDiagnosticReportRequest
|
|
12647
|
+
* @returns CreateDiagnosticReportResponse
|
|
12633
12648
|
*/
|
|
12634
12649
|
async createDiagnosticReport(request) {
|
|
12635
12650
|
let runtime = new $Util.RuntimeOptions({});
|
|
12636
12651
|
return await this.createDiagnosticReportWithOptions(request, runtime);
|
|
12637
12652
|
}
|
|
12638
12653
|
/**
|
|
12639
|
-
*
|
|
12654
|
+
* Creates a task that terminates sessions.
|
|
12640
12655
|
*
|
|
12641
|
-
* @
|
|
12656
|
+
* @remarks
|
|
12657
|
+
* This operation is applicable only to ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters.
|
|
12642
12658
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12643
12659
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
12644
12660
|
*
|
|
12645
|
-
* @param request CreateKillInstanceSessionTaskRequest
|
|
12646
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12647
|
-
* @
|
|
12661
|
+
* @param request - CreateKillInstanceSessionTaskRequest
|
|
12662
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12663
|
+
* @returns CreateKillInstanceSessionTaskResponse
|
|
12648
12664
|
*/
|
|
12649
12665
|
async createKillInstanceSessionTaskWithOptions(request, runtime) {
|
|
12650
12666
|
tea_util_1.default.validateModel(request);
|
|
@@ -12687,25 +12703,26 @@ class Client extends openapi_client_1.default {
|
|
|
12687
12703
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateKillInstanceSessionTaskResponse({}));
|
|
12688
12704
|
}
|
|
12689
12705
|
/**
|
|
12690
|
-
*
|
|
12706
|
+
* Creates a task that terminates sessions.
|
|
12691
12707
|
*
|
|
12692
|
-
* @
|
|
12708
|
+
* @remarks
|
|
12709
|
+
* This operation is applicable only to ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters.
|
|
12693
12710
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12694
12711
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
12695
12712
|
*
|
|
12696
|
-
* @param request CreateKillInstanceSessionTaskRequest
|
|
12697
|
-
* @
|
|
12713
|
+
* @param request - CreateKillInstanceSessionTaskRequest
|
|
12714
|
+
* @returns CreateKillInstanceSessionTaskResponse
|
|
12698
12715
|
*/
|
|
12699
12716
|
async createKillInstanceSessionTask(request) {
|
|
12700
12717
|
let runtime = new $Util.RuntimeOptions({});
|
|
12701
12718
|
return await this.createKillInstanceSessionTaskWithOptions(request, runtime);
|
|
12702
12719
|
}
|
|
12703
12720
|
/**
|
|
12704
|
-
*
|
|
12721
|
+
* 创建结束会话的任务
|
|
12705
12722
|
*
|
|
12706
|
-
* @param request CreateKillInstanceSessionTaskWithMaintainUserRequest
|
|
12707
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12708
|
-
* @
|
|
12723
|
+
* @param request - CreateKillInstanceSessionTaskWithMaintainUserRequest
|
|
12724
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12725
|
+
* @returns CreateKillInstanceSessionTaskWithMaintainUserResponse
|
|
12709
12726
|
*/
|
|
12710
12727
|
async createKillInstanceSessionTaskWithMaintainUserWithOptions(request, runtime) {
|
|
12711
12728
|
tea_util_1.default.validateModel(request);
|
|
@@ -12742,28 +12759,29 @@ class Client extends openapi_client_1.default {
|
|
|
12742
12759
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateKillInstanceSessionTaskWithMaintainUserResponse({}));
|
|
12743
12760
|
}
|
|
12744
12761
|
/**
|
|
12745
|
-
*
|
|
12762
|
+
* 创建结束会话的任务
|
|
12746
12763
|
*
|
|
12747
|
-
* @param request CreateKillInstanceSessionTaskWithMaintainUserRequest
|
|
12748
|
-
* @
|
|
12764
|
+
* @param request - CreateKillInstanceSessionTaskWithMaintainUserRequest
|
|
12765
|
+
* @returns CreateKillInstanceSessionTaskWithMaintainUserResponse
|
|
12749
12766
|
*/
|
|
12750
12767
|
async createKillInstanceSessionTaskWithMaintainUser(request) {
|
|
12751
12768
|
let runtime = new $Util.RuntimeOptions({});
|
|
12752
12769
|
return await this.createKillInstanceSessionTaskWithMaintainUserWithOptions(request, runtime);
|
|
12753
12770
|
}
|
|
12754
12771
|
/**
|
|
12755
|
-
*
|
|
12772
|
+
* Adds a tag to a SQL template.
|
|
12756
12773
|
*
|
|
12757
|
-
* @
|
|
12774
|
+
* @remarks
|
|
12775
|
+
* If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12758
12776
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
12759
12777
|
* * This operation supports the following database engines:
|
|
12760
12778
|
* * ApsaraDB RDS for MySQL
|
|
12761
12779
|
* * PolarDB for MySQL
|
|
12762
12780
|
* * ApsaraDB RDS for PostgreSQL
|
|
12763
12781
|
*
|
|
12764
|
-
* @param request CreateQueryOptimizeTagRequest
|
|
12765
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12766
|
-
* @
|
|
12782
|
+
* @param request - CreateQueryOptimizeTagRequest
|
|
12783
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12784
|
+
* @returns CreateQueryOptimizeTagResponse
|
|
12767
12785
|
*/
|
|
12768
12786
|
async createQueryOptimizeTagWithOptions(request, runtime) {
|
|
12769
12787
|
tea_util_1.default.validateModel(request);
|
|
@@ -12803,26 +12821,28 @@ class Client extends openapi_client_1.default {
|
|
|
12803
12821
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateQueryOptimizeTagResponse({}));
|
|
12804
12822
|
}
|
|
12805
12823
|
/**
|
|
12806
|
-
*
|
|
12824
|
+
* Adds a tag to a SQL template.
|
|
12807
12825
|
*
|
|
12808
|
-
* @
|
|
12826
|
+
* @remarks
|
|
12827
|
+
* If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12809
12828
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
12810
12829
|
* * This operation supports the following database engines:
|
|
12811
12830
|
* * ApsaraDB RDS for MySQL
|
|
12812
12831
|
* * PolarDB for MySQL
|
|
12813
12832
|
* * ApsaraDB RDS for PostgreSQL
|
|
12814
12833
|
*
|
|
12815
|
-
* @param request CreateQueryOptimizeTagRequest
|
|
12816
|
-
* @
|
|
12834
|
+
* @param request - CreateQueryOptimizeTagRequest
|
|
12835
|
+
* @returns CreateQueryOptimizeTagResponse
|
|
12817
12836
|
*/
|
|
12818
12837
|
async createQueryOptimizeTag(request) {
|
|
12819
12838
|
let runtime = new $Util.RuntimeOptions({});
|
|
12820
12839
|
return await this.createQueryOptimizeTagWithOptions(request, runtime);
|
|
12821
12840
|
}
|
|
12822
12841
|
/**
|
|
12823
|
-
*
|
|
12842
|
+
* Initiates an SQL statement diagnostics request.
|
|
12824
12843
|
*
|
|
12825
|
-
* @
|
|
12844
|
+
* @remarks
|
|
12845
|
+
* Before you call this operation, take note of the following items:
|
|
12826
12846
|
* * If you use an SDK to call Database Autonomy Service (DAS), you must set the region to cn-shanghai.
|
|
12827
12847
|
* * This operation supports the following database engines:
|
|
12828
12848
|
* * ApsaraDB RDS for MySQL
|
|
@@ -12833,9 +12853,9 @@ class Client extends openapi_client_1.default {
|
|
|
12833
12853
|
* * ApsaraDB for MongoDB
|
|
12834
12854
|
* > The minor engine version of ApsaraDB RDS for PostgreSQL instances must be 20221230 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
|
|
12835
12855
|
*
|
|
12836
|
-
* @param request CreateRequestDiagnosisRequest
|
|
12837
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12838
|
-
* @
|
|
12856
|
+
* @param request - CreateRequestDiagnosisRequest
|
|
12857
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12858
|
+
* @returns CreateRequestDiagnosisResponse
|
|
12839
12859
|
*/
|
|
12840
12860
|
async createRequestDiagnosisWithOptions(request, runtime) {
|
|
12841
12861
|
tea_util_1.default.validateModel(request);
|
|
@@ -12869,9 +12889,10 @@ class Client extends openapi_client_1.default {
|
|
|
12869
12889
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateRequestDiagnosisResponse({}));
|
|
12870
12890
|
}
|
|
12871
12891
|
/**
|
|
12872
|
-
*
|
|
12892
|
+
* Initiates an SQL statement diagnostics request.
|
|
12873
12893
|
*
|
|
12874
|
-
* @
|
|
12894
|
+
* @remarks
|
|
12895
|
+
* Before you call this operation, take note of the following items:
|
|
12875
12896
|
* * If you use an SDK to call Database Autonomy Service (DAS), you must set the region to cn-shanghai.
|
|
12876
12897
|
* * This operation supports the following database engines:
|
|
12877
12898
|
* * ApsaraDB RDS for MySQL
|
|
@@ -12882,24 +12903,25 @@ class Client extends openapi_client_1.default {
|
|
|
12882
12903
|
* * ApsaraDB for MongoDB
|
|
12883
12904
|
* > The minor engine version of ApsaraDB RDS for PostgreSQL instances must be 20221230 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
|
|
12884
12905
|
*
|
|
12885
|
-
* @param request CreateRequestDiagnosisRequest
|
|
12886
|
-
* @
|
|
12906
|
+
* @param request - CreateRequestDiagnosisRequest
|
|
12907
|
+
* @returns CreateRequestDiagnosisResponse
|
|
12887
12908
|
*/
|
|
12888
12909
|
async createRequestDiagnosis(request) {
|
|
12889
12910
|
let runtime = new $Util.RuntimeOptions({});
|
|
12890
12911
|
return await this.createRequestDiagnosisWithOptions(request, runtime);
|
|
12891
12912
|
}
|
|
12892
12913
|
/**
|
|
12893
|
-
*
|
|
12914
|
+
* Creates an offline task for Database Autonomy Service (DAS) Enterprise Edition.
|
|
12894
12915
|
*
|
|
12895
|
-
* @
|
|
12916
|
+
* @remarks
|
|
12917
|
+
* Before you call this operation, take note of the following items:
|
|
12896
12918
|
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12897
12919
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
12898
12920
|
* * You can create an offline task only for database instances for which DAS Enterprise Edition V2 or V3 is enabled. For more information about the databases and regions that are supported by various versions of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
12899
12921
|
*
|
|
12900
|
-
* @param request CreateSqlLogTaskRequest
|
|
12901
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12902
|
-
* @
|
|
12922
|
+
* @param request - CreateSqlLogTaskRequest
|
|
12923
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12924
|
+
* @returns CreateSqlLogTaskResponse
|
|
12903
12925
|
*/
|
|
12904
12926
|
async createSqlLogTaskWithOptions(request, runtime) {
|
|
12905
12927
|
tea_util_1.default.validateModel(request);
|
|
@@ -12947,30 +12969,33 @@ class Client extends openapi_client_1.default {
|
|
|
12947
12969
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSqlLogTaskResponse({}));
|
|
12948
12970
|
}
|
|
12949
12971
|
/**
|
|
12950
|
-
*
|
|
12972
|
+
* Creates an offline task for Database Autonomy Service (DAS) Enterprise Edition.
|
|
12951
12973
|
*
|
|
12952
|
-
* @
|
|
12974
|
+
* @remarks
|
|
12975
|
+
* Before you call this operation, take note of the following items:
|
|
12953
12976
|
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12954
12977
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
12955
12978
|
* * You can create an offline task only for database instances for which DAS Enterprise Edition V2 or V3 is enabled. For more information about the databases and regions that are supported by various versions of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
12956
12979
|
*
|
|
12957
|
-
* @param request CreateSqlLogTaskRequest
|
|
12958
|
-
* @
|
|
12980
|
+
* @param request - CreateSqlLogTaskRequest
|
|
12981
|
+
* @returns CreateSqlLogTaskResponse
|
|
12959
12982
|
*/
|
|
12960
12983
|
async createSqlLogTask(request) {
|
|
12961
12984
|
let runtime = new $Util.RuntimeOptions({});
|
|
12962
12985
|
return await this.createSqlLogTaskWithOptions(request, runtime);
|
|
12963
12986
|
}
|
|
12964
12987
|
/**
|
|
12965
|
-
*
|
|
12988
|
+
* Creates a storage analysis task to query the usage details of one or more databases and tables.
|
|
12966
12989
|
*
|
|
12967
|
-
* @
|
|
12968
|
-
*
|
|
12969
|
-
* *
|
|
12990
|
+
* @remarks
|
|
12991
|
+
* This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and ApsaraDB for MongoDB instances.
|
|
12992
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this operation works the same as the storage analysis feature of the previous version. Tasks generated by this operation cannot be viewed on the Storage Analysis page of the new version in the Database Autonomy Service (DAS) console. If you want to view the tasks and results, call the related API operation to obtain data and save data to your computer.
|
|
12993
|
+
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
12994
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
12970
12995
|
*
|
|
12971
|
-
* @param request CreateStorageAnalysisTaskRequest
|
|
12972
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
12973
|
-
* @
|
|
12996
|
+
* @param request - CreateStorageAnalysisTaskRequest
|
|
12997
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12998
|
+
* @returns CreateStorageAnalysisTaskResponse
|
|
12974
12999
|
*/
|
|
12975
13000
|
async createStorageAnalysisTaskWithOptions(request, runtime) {
|
|
12976
13001
|
tea_util_1.default.validateModel(request);
|
|
@@ -13004,27 +13029,30 @@ class Client extends openapi_client_1.default {
|
|
|
13004
13029
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateStorageAnalysisTaskResponse({}));
|
|
13005
13030
|
}
|
|
13006
13031
|
/**
|
|
13007
|
-
*
|
|
13032
|
+
* Creates a storage analysis task to query the usage details of one or more databases and tables.
|
|
13008
13033
|
*
|
|
13009
|
-
* @
|
|
13010
|
-
*
|
|
13011
|
-
* *
|
|
13034
|
+
* @remarks
|
|
13035
|
+
* This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and ApsaraDB for MongoDB instances.
|
|
13036
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this operation works the same as the storage analysis feature of the previous version. Tasks generated by this operation cannot be viewed on the Storage Analysis page of the new version in the Database Autonomy Service (DAS) console. If you want to view the tasks and results, call the related API operation to obtain data and save data to your computer.
|
|
13037
|
+
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13038
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13012
13039
|
*
|
|
13013
|
-
* @param request CreateStorageAnalysisTaskRequest
|
|
13014
|
-
* @
|
|
13040
|
+
* @param request - CreateStorageAnalysisTaskRequest
|
|
13041
|
+
* @returns CreateStorageAnalysisTaskResponse
|
|
13015
13042
|
*/
|
|
13016
13043
|
async createStorageAnalysisTask(request) {
|
|
13017
13044
|
let runtime = new $Util.RuntimeOptions({});
|
|
13018
13045
|
return await this.createStorageAnalysisTaskWithOptions(request, runtime);
|
|
13019
13046
|
}
|
|
13020
13047
|
/**
|
|
13021
|
-
*
|
|
13048
|
+
* Deletes a stress testing task.
|
|
13022
13049
|
*
|
|
13023
|
-
* @
|
|
13050
|
+
* @remarks
|
|
13051
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to handle traffic spikes in an effective manner. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
13024
13052
|
*
|
|
13025
|
-
* @param request DeleteCloudBenchTaskRequest
|
|
13026
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13027
|
-
* @
|
|
13053
|
+
* @param request - DeleteCloudBenchTaskRequest
|
|
13054
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13055
|
+
* @returns DeleteCloudBenchTaskResponse
|
|
13028
13056
|
*/
|
|
13029
13057
|
async deleteCloudBenchTaskWithOptions(request, runtime) {
|
|
13030
13058
|
tea_util_1.default.validateModel(request);
|
|
@@ -13049,27 +13077,29 @@ class Client extends openapi_client_1.default {
|
|
|
13049
13077
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteCloudBenchTaskResponse({}));
|
|
13050
13078
|
}
|
|
13051
13079
|
/**
|
|
13052
|
-
*
|
|
13080
|
+
* Deletes a stress testing task.
|
|
13053
13081
|
*
|
|
13054
|
-
* @
|
|
13082
|
+
* @remarks
|
|
13083
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to handle traffic spikes in an effective manner. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
13055
13084
|
*
|
|
13056
|
-
* @param request DeleteCloudBenchTaskRequest
|
|
13057
|
-
* @
|
|
13085
|
+
* @param request - DeleteCloudBenchTaskRequest
|
|
13086
|
+
* @returns DeleteCloudBenchTaskResponse
|
|
13058
13087
|
*/
|
|
13059
13088
|
async deleteCloudBenchTask(request) {
|
|
13060
13089
|
let runtime = new $Util.RuntimeOptions({});
|
|
13061
13090
|
return await this.deleteCloudBenchTaskWithOptions(request, runtime);
|
|
13062
13091
|
}
|
|
13063
13092
|
/**
|
|
13064
|
-
*
|
|
13093
|
+
* Deletes the metadata of a stopped DBGateway.
|
|
13065
13094
|
*
|
|
13066
|
-
* @
|
|
13095
|
+
* @remarks
|
|
13096
|
+
* This operation is used to delete the metadata of a DBGateway that is released in a stress testing task created by calling the [CreateCloudBenchTasks](https://help.aliyun.com/document_detail/230665.html) operation.
|
|
13067
13097
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
13068
13098
|
* > If the heartbeat is lost between a DBGateway and the access point for more than 20 seconds, the DBGateway is considered stopped.
|
|
13069
13099
|
*
|
|
13070
|
-
* @param request DeleteStopGatewayRequest
|
|
13071
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13072
|
-
* @
|
|
13100
|
+
* @param request - DeleteStopGatewayRequest
|
|
13101
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13102
|
+
* @returns DeleteStopGatewayResponse
|
|
13073
13103
|
*/
|
|
13074
13104
|
async deleteStopGatewayWithOptions(request, runtime) {
|
|
13075
13105
|
tea_util_1.default.validateModel(request);
|
|
@@ -13094,29 +13124,31 @@ class Client extends openapi_client_1.default {
|
|
|
13094
13124
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteStopGatewayResponse({}));
|
|
13095
13125
|
}
|
|
13096
13126
|
/**
|
|
13097
|
-
*
|
|
13127
|
+
* Deletes the metadata of a stopped DBGateway.
|
|
13098
13128
|
*
|
|
13099
|
-
* @
|
|
13129
|
+
* @remarks
|
|
13130
|
+
* This operation is used to delete the metadata of a DBGateway that is released in a stress testing task created by calling the [CreateCloudBenchTasks](https://help.aliyun.com/document_detail/230665.html) operation.
|
|
13100
13131
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
13101
13132
|
* > If the heartbeat is lost between a DBGateway and the access point for more than 20 seconds, the DBGateway is considered stopped.
|
|
13102
13133
|
*
|
|
13103
|
-
* @param request DeleteStopGatewayRequest
|
|
13104
|
-
* @
|
|
13134
|
+
* @param request - DeleteStopGatewayRequest
|
|
13135
|
+
* @returns DeleteStopGatewayResponse
|
|
13105
13136
|
*/
|
|
13106
13137
|
async deleteStopGateway(request) {
|
|
13107
13138
|
let runtime = new $Util.RuntimeOptions({});
|
|
13108
13139
|
return await this.deleteStopGatewayWithOptions(request, runtime);
|
|
13109
13140
|
}
|
|
13110
13141
|
/**
|
|
13111
|
-
*
|
|
13142
|
+
* Queries the configurations of the auto scaling feature for an instance.
|
|
13112
13143
|
*
|
|
13113
|
-
* @
|
|
13144
|
+
* @remarks
|
|
13145
|
+
* Before you call this operation, take note of the following items:
|
|
13114
13146
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13115
13147
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13116
13148
|
*
|
|
13117
|
-
* @param request DescribeAutoScalingConfigRequest
|
|
13118
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13119
|
-
* @
|
|
13149
|
+
* @param request - DescribeAutoScalingConfigRequest
|
|
13150
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13151
|
+
* @returns DescribeAutoScalingConfigResponse
|
|
13120
13152
|
*/
|
|
13121
13153
|
async describeAutoScalingConfigWithOptions(request, runtime) {
|
|
13122
13154
|
tea_util_1.default.validateModel(request);
|
|
@@ -13141,29 +13173,31 @@ class Client extends openapi_client_1.default {
|
|
|
13141
13173
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAutoScalingConfigResponse({}));
|
|
13142
13174
|
}
|
|
13143
13175
|
/**
|
|
13144
|
-
*
|
|
13176
|
+
* Queries the configurations of the auto scaling feature for an instance.
|
|
13145
13177
|
*
|
|
13146
|
-
* @
|
|
13178
|
+
* @remarks
|
|
13179
|
+
* Before you call this operation, take note of the following items:
|
|
13147
13180
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13148
13181
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13149
13182
|
*
|
|
13150
|
-
* @param request DescribeAutoScalingConfigRequest
|
|
13151
|
-
* @
|
|
13183
|
+
* @param request - DescribeAutoScalingConfigRequest
|
|
13184
|
+
* @returns DescribeAutoScalingConfigResponse
|
|
13152
13185
|
*/
|
|
13153
13186
|
async describeAutoScalingConfig(request) {
|
|
13154
13187
|
let runtime = new $Util.RuntimeOptions({});
|
|
13155
13188
|
return await this.describeAutoScalingConfigWithOptions(request, runtime);
|
|
13156
13189
|
}
|
|
13157
13190
|
/**
|
|
13158
|
-
*
|
|
13191
|
+
* Queries the auto scaling history of an instance.
|
|
13159
13192
|
*
|
|
13160
|
-
* @
|
|
13193
|
+
* @remarks
|
|
13194
|
+
* You can call this operation to query the history information about the automatic performance scaling only of ApsaraDB RDS for MySQL High-availability Edition instances.
|
|
13161
13195
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13162
13196
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13163
13197
|
*
|
|
13164
|
-
* @param request DescribeAutoScalingHistoryRequest
|
|
13165
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13166
|
-
* @
|
|
13198
|
+
* @param request - DescribeAutoScalingHistoryRequest
|
|
13199
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13200
|
+
* @returns DescribeAutoScalingHistoryResponse
|
|
13167
13201
|
*/
|
|
13168
13202
|
async describeAutoScalingHistoryWithOptions(request, runtime) {
|
|
13169
13203
|
tea_util_1.default.validateModel(request);
|
|
@@ -13185,30 +13219,33 @@ class Client extends openapi_client_1.default {
|
|
|
13185
13219
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAutoScalingHistoryResponse({}));
|
|
13186
13220
|
}
|
|
13187
13221
|
/**
|
|
13188
|
-
*
|
|
13222
|
+
* Queries the auto scaling history of an instance.
|
|
13189
13223
|
*
|
|
13190
|
-
* @
|
|
13224
|
+
* @remarks
|
|
13225
|
+
* You can call this operation to query the history information about the automatic performance scaling only of ApsaraDB RDS for MySQL High-availability Edition instances.
|
|
13191
13226
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13192
13227
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13193
13228
|
*
|
|
13194
|
-
* @param request DescribeAutoScalingHistoryRequest
|
|
13195
|
-
* @
|
|
13229
|
+
* @param request - DescribeAutoScalingHistoryRequest
|
|
13230
|
+
* @returns DescribeAutoScalingHistoryResponse
|
|
13196
13231
|
*/
|
|
13197
13232
|
async describeAutoScalingHistory(request) {
|
|
13198
13233
|
let runtime = new $Util.RuntimeOptions({});
|
|
13199
13234
|
return await this.describeAutoScalingHistoryWithOptions(request, runtime);
|
|
13200
13235
|
}
|
|
13201
13236
|
/**
|
|
13202
|
-
*
|
|
13237
|
+
* Queries the details of a cache analysis task.
|
|
13203
13238
|
*
|
|
13204
|
-
* @
|
|
13239
|
+
* @remarks
|
|
13240
|
+
* Before you call this operation, take note of the following items:
|
|
13205
13241
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13206
|
-
* * If you use an SDK to call operations of DAS, you must set the region to cn-shanghai.
|
|
13242
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13207
13243
|
* * This operation is applicable only to ApsaraDB for Redis.
|
|
13244
|
+
* > You can call this operation to query the top 500 keys in a cache analysis task.
|
|
13208
13245
|
*
|
|
13209
|
-
* @param request DescribeCacheAnalysisJobRequest
|
|
13210
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13211
|
-
* @
|
|
13246
|
+
* @param request - DescribeCacheAnalysisJobRequest
|
|
13247
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13248
|
+
* @returns DescribeCacheAnalysisJobResponse
|
|
13212
13249
|
*/
|
|
13213
13250
|
async describeCacheAnalysisJobWithOptions(request, runtime) {
|
|
13214
13251
|
tea_util_1.default.validateModel(request);
|
|
@@ -13236,31 +13273,34 @@ class Client extends openapi_client_1.default {
|
|
|
13236
13273
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCacheAnalysisJobResponse({}));
|
|
13237
13274
|
}
|
|
13238
13275
|
/**
|
|
13239
|
-
*
|
|
13276
|
+
* Queries the details of a cache analysis task.
|
|
13240
13277
|
*
|
|
13241
|
-
* @
|
|
13278
|
+
* @remarks
|
|
13279
|
+
* Before you call this operation, take note of the following items:
|
|
13242
13280
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13243
|
-
* * If you use an SDK to call operations of DAS, you must set the region to cn-shanghai.
|
|
13281
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13244
13282
|
* * This operation is applicable only to ApsaraDB for Redis.
|
|
13283
|
+
* > You can call this operation to query the top 500 keys in a cache analysis task.
|
|
13245
13284
|
*
|
|
13246
|
-
* @param request DescribeCacheAnalysisJobRequest
|
|
13247
|
-
* @
|
|
13285
|
+
* @param request - DescribeCacheAnalysisJobRequest
|
|
13286
|
+
* @returns DescribeCacheAnalysisJobResponse
|
|
13248
13287
|
*/
|
|
13249
13288
|
async describeCacheAnalysisJob(request) {
|
|
13250
13289
|
let runtime = new $Util.RuntimeOptions({});
|
|
13251
13290
|
return await this.describeCacheAnalysisJobWithOptions(request, runtime);
|
|
13252
13291
|
}
|
|
13253
13292
|
/**
|
|
13254
|
-
*
|
|
13293
|
+
* Queries a list of cache analysis tasks.
|
|
13255
13294
|
*
|
|
13256
|
-
* @
|
|
13295
|
+
* @remarks
|
|
13296
|
+
* Before you call this operation, take note of the following items:
|
|
13257
13297
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13258
13298
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13259
13299
|
* * This operation is applicable only to ApsaraDB for Redis.
|
|
13260
13300
|
*
|
|
13261
|
-
* @param request DescribeCacheAnalysisJobsRequest
|
|
13262
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13263
|
-
* @
|
|
13301
|
+
* @param request - DescribeCacheAnalysisJobsRequest
|
|
13302
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13303
|
+
* @returns DescribeCacheAnalysisJobsResponse
|
|
13264
13304
|
*/
|
|
13265
13305
|
async describeCacheAnalysisJobsWithOptions(request, runtime) {
|
|
13266
13306
|
tea_util_1.default.validateModel(request);
|
|
@@ -13297,28 +13337,30 @@ class Client extends openapi_client_1.default {
|
|
|
13297
13337
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCacheAnalysisJobsResponse({}));
|
|
13298
13338
|
}
|
|
13299
13339
|
/**
|
|
13300
|
-
*
|
|
13340
|
+
* Queries a list of cache analysis tasks.
|
|
13301
13341
|
*
|
|
13302
|
-
* @
|
|
13342
|
+
* @remarks
|
|
13343
|
+
* Before you call this operation, take note of the following items:
|
|
13303
13344
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13304
13345
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13305
13346
|
* * This operation is applicable only to ApsaraDB for Redis.
|
|
13306
13347
|
*
|
|
13307
|
-
* @param request DescribeCacheAnalysisJobsRequest
|
|
13308
|
-
* @
|
|
13348
|
+
* @param request - DescribeCacheAnalysisJobsRequest
|
|
13349
|
+
* @returns DescribeCacheAnalysisJobsResponse
|
|
13309
13350
|
*/
|
|
13310
13351
|
async describeCacheAnalysisJobs(request) {
|
|
13311
13352
|
let runtime = new $Util.RuntimeOptions({});
|
|
13312
13353
|
return await this.describeCacheAnalysisJobsWithOptions(request, runtime);
|
|
13313
13354
|
}
|
|
13314
13355
|
/**
|
|
13315
|
-
*
|
|
13356
|
+
* Queries stress testing tasks.
|
|
13316
13357
|
*
|
|
13317
|
-
* @
|
|
13358
|
+
* @remarks
|
|
13359
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
13318
13360
|
*
|
|
13319
|
-
* @param request DescribeCloudBenchTasksRequest
|
|
13320
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13321
|
-
* @
|
|
13361
|
+
* @param request - DescribeCloudBenchTasksRequest
|
|
13362
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13363
|
+
* @returns DescribeCloudBenchTasksResponse
|
|
13322
13364
|
*/
|
|
13323
13365
|
async describeCloudBenchTasksWithOptions(request, runtime) {
|
|
13324
13366
|
tea_util_1.default.validateModel(request);
|
|
@@ -13358,25 +13400,27 @@ class Client extends openapi_client_1.default {
|
|
|
13358
13400
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCloudBenchTasksResponse({}));
|
|
13359
13401
|
}
|
|
13360
13402
|
/**
|
|
13361
|
-
*
|
|
13403
|
+
* Queries stress testing tasks.
|
|
13362
13404
|
*
|
|
13363
|
-
* @
|
|
13405
|
+
* @remarks
|
|
13406
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
13364
13407
|
*
|
|
13365
|
-
* @param request DescribeCloudBenchTasksRequest
|
|
13366
|
-
* @
|
|
13408
|
+
* @param request - DescribeCloudBenchTasksRequest
|
|
13409
|
+
* @returns DescribeCloudBenchTasksResponse
|
|
13367
13410
|
*/
|
|
13368
13411
|
async describeCloudBenchTasks(request) {
|
|
13369
13412
|
let runtime = new $Util.RuntimeOptions({});
|
|
13370
13413
|
return await this.describeCloudBenchTasksWithOptions(request, runtime);
|
|
13371
13414
|
}
|
|
13372
13415
|
/**
|
|
13373
|
-
*
|
|
13416
|
+
* Queries a stress testing task.
|
|
13374
13417
|
*
|
|
13375
|
-
* @
|
|
13418
|
+
* @remarks
|
|
13419
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether you need to scale up your database instance to handle workloads during peak hours. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
13376
13420
|
*
|
|
13377
|
-
* @param request DescribeCloudbenchTaskRequest
|
|
13378
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13379
|
-
* @
|
|
13421
|
+
* @param request - DescribeCloudbenchTaskRequest
|
|
13422
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13423
|
+
* @returns DescribeCloudbenchTaskResponse
|
|
13380
13424
|
*/
|
|
13381
13425
|
async describeCloudbenchTaskWithOptions(request, runtime) {
|
|
13382
13426
|
tea_util_1.default.validateModel(request);
|
|
@@ -13401,25 +13445,27 @@ class Client extends openapi_client_1.default {
|
|
|
13401
13445
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCloudbenchTaskResponse({}));
|
|
13402
13446
|
}
|
|
13403
13447
|
/**
|
|
13404
|
-
*
|
|
13448
|
+
* Queries a stress testing task.
|
|
13405
13449
|
*
|
|
13406
|
-
* @
|
|
13450
|
+
* @remarks
|
|
13451
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether you need to scale up your database instance to handle workloads during peak hours. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
13407
13452
|
*
|
|
13408
|
-
* @param request DescribeCloudbenchTaskRequest
|
|
13409
|
-
* @
|
|
13453
|
+
* @param request - DescribeCloudbenchTaskRequest
|
|
13454
|
+
* @returns DescribeCloudbenchTaskResponse
|
|
13410
13455
|
*/
|
|
13411
13456
|
async describeCloudbenchTask(request) {
|
|
13412
13457
|
let runtime = new $Util.RuntimeOptions({});
|
|
13413
13458
|
return await this.describeCloudbenchTaskWithOptions(request, runtime);
|
|
13414
13459
|
}
|
|
13415
13460
|
/**
|
|
13416
|
-
*
|
|
13461
|
+
* Queries the configurations of a stress testing task.
|
|
13417
13462
|
*
|
|
13418
|
-
* @
|
|
13463
|
+
* @remarks
|
|
13464
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
13419
13465
|
*
|
|
13420
|
-
* @param request DescribeCloudbenchTaskConfigRequest
|
|
13421
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13422
|
-
* @
|
|
13466
|
+
* @param request - DescribeCloudbenchTaskConfigRequest
|
|
13467
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13468
|
+
* @returns DescribeCloudbenchTaskConfigResponse
|
|
13423
13469
|
*/
|
|
13424
13470
|
async describeCloudbenchTaskConfigWithOptions(request, runtime) {
|
|
13425
13471
|
tea_util_1.default.validateModel(request);
|
|
@@ -13444,21 +13490,23 @@ class Client extends openapi_client_1.default {
|
|
|
13444
13490
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCloudbenchTaskConfigResponse({}));
|
|
13445
13491
|
}
|
|
13446
13492
|
/**
|
|
13447
|
-
*
|
|
13493
|
+
* Queries the configurations of a stress testing task.
|
|
13448
13494
|
*
|
|
13449
|
-
* @
|
|
13495
|
+
* @remarks
|
|
13496
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
13450
13497
|
*
|
|
13451
|
-
* @param request DescribeCloudbenchTaskConfigRequest
|
|
13452
|
-
* @
|
|
13498
|
+
* @param request - DescribeCloudbenchTaskConfigRequest
|
|
13499
|
+
* @returns DescribeCloudbenchTaskConfigResponse
|
|
13453
13500
|
*/
|
|
13454
13501
|
async describeCloudbenchTaskConfig(request) {
|
|
13455
13502
|
let runtime = new $Util.RuntimeOptions({});
|
|
13456
13503
|
return await this.describeCloudbenchTaskConfigWithOptions(request, runtime);
|
|
13457
13504
|
}
|
|
13458
13505
|
/**
|
|
13459
|
-
*
|
|
13506
|
+
* Queries diagnostics reports.
|
|
13460
13507
|
*
|
|
13461
|
-
* @
|
|
13508
|
+
* @remarks
|
|
13509
|
+
* Before you call this operation, take note of the following items:
|
|
13462
13510
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13463
13511
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13464
13512
|
* * This operation is applicable to the following database engines:
|
|
@@ -13466,9 +13514,9 @@ class Client extends openapi_client_1.default {
|
|
|
13466
13514
|
* * PolarDB for MySQL
|
|
13467
13515
|
* * ApsaraDB for Redis
|
|
13468
13516
|
*
|
|
13469
|
-
* @param request DescribeDiagnosticReportListRequest
|
|
13470
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13471
|
-
* @
|
|
13517
|
+
* @param request - DescribeDiagnosticReportListRequest
|
|
13518
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13519
|
+
* @returns DescribeDiagnosticReportListResponse
|
|
13472
13520
|
*/
|
|
13473
13521
|
async describeDiagnosticReportListWithOptions(request, runtime) {
|
|
13474
13522
|
tea_util_1.default.validateModel(request);
|
|
@@ -13505,9 +13553,10 @@ class Client extends openapi_client_1.default {
|
|
|
13505
13553
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosticReportListResponse({}));
|
|
13506
13554
|
}
|
|
13507
13555
|
/**
|
|
13508
|
-
*
|
|
13556
|
+
* Queries diagnostics reports.
|
|
13509
13557
|
*
|
|
13510
|
-
* @
|
|
13558
|
+
* @remarks
|
|
13559
|
+
* Before you call this operation, take note of the following items:
|
|
13511
13560
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13512
13561
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13513
13562
|
* * This operation is applicable to the following database engines:
|
|
@@ -13515,17 +13564,18 @@ class Client extends openapi_client_1.default {
|
|
|
13515
13564
|
* * PolarDB for MySQL
|
|
13516
13565
|
* * ApsaraDB for Redis
|
|
13517
13566
|
*
|
|
13518
|
-
* @param request DescribeDiagnosticReportListRequest
|
|
13519
|
-
* @
|
|
13567
|
+
* @param request - DescribeDiagnosticReportListRequest
|
|
13568
|
+
* @returns DescribeDiagnosticReportListResponse
|
|
13520
13569
|
*/
|
|
13521
13570
|
async describeDiagnosticReportList(request) {
|
|
13522
13571
|
let runtime = new $Util.RuntimeOptions({});
|
|
13523
13572
|
return await this.describeDiagnosticReportListWithOptions(request, runtime);
|
|
13524
13573
|
}
|
|
13525
13574
|
/**
|
|
13526
|
-
*
|
|
13575
|
+
* Queries the hot keys and the large keys in the memory in real time.
|
|
13527
13576
|
*
|
|
13528
|
-
* @
|
|
13577
|
+
* @remarks
|
|
13578
|
+
* This operation sorts list, hash, set, and zset keys based on the number of elements contained in these keys. The top three keys that contain the most elements are considered large keys. If the number of queries per second (QPS) of a key is greater than 3,000, the key is considered a hot key.
|
|
13529
13579
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than 4.3.3. We recommend that you use the latest version.
|
|
13530
13580
|
* * The version of Database Autonomy Service (DAS) SDK must be 1.0.2 or later.
|
|
13531
13581
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
@@ -13534,9 +13584,9 @@ class Client extends openapi_client_1.default {
|
|
|
13534
13584
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
13535
13585
|
* > For information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
|
|
13536
13586
|
*
|
|
13537
|
-
* @param request DescribeHotBigKeysRequest
|
|
13538
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13539
|
-
* @
|
|
13587
|
+
* @param request - DescribeHotBigKeysRequest
|
|
13588
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13589
|
+
* @returns DescribeHotBigKeysResponse
|
|
13540
13590
|
*/
|
|
13541
13591
|
async describeHotBigKeysWithOptions(request, runtime) {
|
|
13542
13592
|
tea_util_1.default.validateModel(request);
|
|
@@ -13567,9 +13617,10 @@ class Client extends openapi_client_1.default {
|
|
|
13567
13617
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHotBigKeysResponse({}));
|
|
13568
13618
|
}
|
|
13569
13619
|
/**
|
|
13570
|
-
*
|
|
13620
|
+
* Queries the hot keys and the large keys in the memory in real time.
|
|
13571
13621
|
*
|
|
13572
|
-
* @
|
|
13622
|
+
* @remarks
|
|
13623
|
+
* This operation sorts list, hash, set, and zset keys based on the number of elements contained in these keys. The top three keys that contain the most elements are considered large keys. If the number of queries per second (QPS) of a key is greater than 3,000, the key is considered a hot key.
|
|
13573
13624
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than 4.3.3. We recommend that you use the latest version.
|
|
13574
13625
|
* * The version of Database Autonomy Service (DAS) SDK must be 1.0.2 or later.
|
|
13575
13626
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
@@ -13578,17 +13629,18 @@ class Client extends openapi_client_1.default {
|
|
|
13578
13629
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
13579
13630
|
* > For information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
|
|
13580
13631
|
*
|
|
13581
|
-
* @param request DescribeHotBigKeysRequest
|
|
13582
|
-
* @
|
|
13632
|
+
* @param request - DescribeHotBigKeysRequest
|
|
13633
|
+
* @returns DescribeHotBigKeysResponse
|
|
13583
13634
|
*/
|
|
13584
13635
|
async describeHotBigKeys(request) {
|
|
13585
13636
|
let runtime = new $Util.RuntimeOptions({});
|
|
13586
13637
|
return await this.describeHotBigKeysWithOptions(request, runtime);
|
|
13587
13638
|
}
|
|
13588
13639
|
/**
|
|
13589
|
-
*
|
|
13640
|
+
* Queries the hot keys of an ApsaraDB for Redis instance.
|
|
13590
13641
|
*
|
|
13591
|
-
* @
|
|
13642
|
+
* @remarks
|
|
13643
|
+
* Before you call this operation, take note of the following items:
|
|
13592
13644
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V4.3.3. We recommend that you use the latest version.
|
|
13593
13645
|
* * The version of your Database Autonomy Service (DAS) SDK must be V1.0.2 or later.
|
|
13594
13646
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
@@ -13597,9 +13649,9 @@ class Client extends openapi_client_1.default {
|
|
|
13597
13649
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
13598
13650
|
* > For more information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
|
|
13599
13651
|
*
|
|
13600
|
-
* @param request DescribeHotKeysRequest
|
|
13601
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13602
|
-
* @
|
|
13652
|
+
* @param request - DescribeHotKeysRequest
|
|
13653
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13654
|
+
* @returns DescribeHotKeysResponse
|
|
13603
13655
|
*/
|
|
13604
13656
|
async describeHotKeysWithOptions(request, runtime) {
|
|
13605
13657
|
tea_util_1.default.validateModel(request);
|
|
@@ -13627,9 +13679,10 @@ class Client extends openapi_client_1.default {
|
|
|
13627
13679
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHotKeysResponse({}));
|
|
13628
13680
|
}
|
|
13629
13681
|
/**
|
|
13630
|
-
*
|
|
13682
|
+
* Queries the hot keys of an ApsaraDB for Redis instance.
|
|
13631
13683
|
*
|
|
13632
|
-
* @
|
|
13684
|
+
* @remarks
|
|
13685
|
+
* Before you call this operation, take note of the following items:
|
|
13633
13686
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V4.3.3. We recommend that you use the latest version.
|
|
13634
13687
|
* * The version of your Database Autonomy Service (DAS) SDK must be V1.0.2 or later.
|
|
13635
13688
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
@@ -13638,23 +13691,24 @@ class Client extends openapi_client_1.default {
|
|
|
13638
13691
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
13639
13692
|
* > For more information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
|
|
13640
13693
|
*
|
|
13641
|
-
* @param request DescribeHotKeysRequest
|
|
13642
|
-
* @
|
|
13694
|
+
* @param request - DescribeHotKeysRequest
|
|
13695
|
+
* @returns DescribeHotKeysResponse
|
|
13643
13696
|
*/
|
|
13644
13697
|
async describeHotKeys(request) {
|
|
13645
13698
|
let runtime = new $Util.RuntimeOptions({});
|
|
13646
13699
|
return await this.describeHotKeysWithOptions(request, runtime);
|
|
13647
13700
|
}
|
|
13648
13701
|
/**
|
|
13649
|
-
*
|
|
13702
|
+
* Queries whether Database Autonomy Service (DAS) Enterprise Edition is enabled for a database instance.
|
|
13650
13703
|
*
|
|
13651
|
-
* @
|
|
13704
|
+
* @remarks
|
|
13705
|
+
* For more information about database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
13652
13706
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13653
13707
|
* * This operation is applicable only to DAS Enterprise Edition V1 and V2.
|
|
13654
13708
|
*
|
|
13655
|
-
* @param request DescribeInstanceDasProRequest
|
|
13656
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13657
|
-
* @
|
|
13709
|
+
* @param request - DescribeInstanceDasProRequest
|
|
13710
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13711
|
+
* @returns DescribeInstanceDasProResponse
|
|
13658
13712
|
*/
|
|
13659
13713
|
async describeInstanceDasProWithOptions(request, runtime) {
|
|
13660
13714
|
tea_util_1.default.validateModel(request);
|
|
@@ -13679,29 +13733,31 @@ class Client extends openapi_client_1.default {
|
|
|
13679
13733
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceDasProResponse({}));
|
|
13680
13734
|
}
|
|
13681
13735
|
/**
|
|
13682
|
-
*
|
|
13736
|
+
* Queries whether Database Autonomy Service (DAS) Enterprise Edition is enabled for a database instance.
|
|
13683
13737
|
*
|
|
13684
|
-
* @
|
|
13738
|
+
* @remarks
|
|
13739
|
+
* For more information about database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
13685
13740
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13686
13741
|
* * This operation is applicable only to DAS Enterprise Edition V1 and V2.
|
|
13687
13742
|
*
|
|
13688
|
-
* @param request DescribeInstanceDasProRequest
|
|
13689
|
-
* @
|
|
13743
|
+
* @param request - DescribeInstanceDasProRequest
|
|
13744
|
+
* @returns DescribeInstanceDasProResponse
|
|
13690
13745
|
*/
|
|
13691
13746
|
async describeInstanceDasPro(request) {
|
|
13692
13747
|
let runtime = new $Util.RuntimeOptions({});
|
|
13693
13748
|
return await this.describeInstanceDasProWithOptions(request, runtime);
|
|
13694
13749
|
}
|
|
13695
13750
|
/**
|
|
13696
|
-
*
|
|
13751
|
+
* Queries the configurations of Database Autonomy Service (DAS) Enterprise Edition that is enabled for a database instance.
|
|
13697
13752
|
*
|
|
13698
|
-
* @
|
|
13753
|
+
* @remarks
|
|
13754
|
+
* Before you call this operation, take note of the following items:
|
|
13699
13755
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13700
13756
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13701
13757
|
*
|
|
13702
|
-
* @param request DescribeSqlLogConfigRequest
|
|
13703
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13704
|
-
* @
|
|
13758
|
+
* @param request - DescribeSqlLogConfigRequest
|
|
13759
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13760
|
+
* @returns DescribeSqlLogConfigResponse
|
|
13705
13761
|
*/
|
|
13706
13762
|
async describeSqlLogConfigWithOptions(request, runtime) {
|
|
13707
13763
|
tea_util_1.default.validateModel(request);
|
|
@@ -13726,29 +13782,31 @@ class Client extends openapi_client_1.default {
|
|
|
13726
13782
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlLogConfigResponse({}));
|
|
13727
13783
|
}
|
|
13728
13784
|
/**
|
|
13729
|
-
*
|
|
13785
|
+
* Queries the configurations of Database Autonomy Service (DAS) Enterprise Edition that is enabled for a database instance.
|
|
13730
13786
|
*
|
|
13731
|
-
* @
|
|
13787
|
+
* @remarks
|
|
13788
|
+
* Before you call this operation, take note of the following items:
|
|
13732
13789
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13733
13790
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13734
13791
|
*
|
|
13735
|
-
* @param request DescribeSqlLogConfigRequest
|
|
13736
|
-
* @
|
|
13792
|
+
* @param request - DescribeSqlLogConfigRequest
|
|
13793
|
+
* @returns DescribeSqlLogConfigResponse
|
|
13737
13794
|
*/
|
|
13738
13795
|
async describeSqlLogConfig(request) {
|
|
13739
13796
|
let runtime = new $Util.RuntimeOptions({});
|
|
13740
13797
|
return await this.describeSqlLogConfigWithOptions(request, runtime);
|
|
13741
13798
|
}
|
|
13742
13799
|
/**
|
|
13743
|
-
*
|
|
13800
|
+
* Queries the log details of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
|
|
13744
13801
|
*
|
|
13745
|
-
* @
|
|
13802
|
+
* @remarks
|
|
13803
|
+
* Before you call this operation, take note of the following items:
|
|
13746
13804
|
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13747
13805
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13748
13806
|
*
|
|
13749
|
-
* @param request DescribeSqlLogRecordsRequest
|
|
13750
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13751
|
-
* @
|
|
13807
|
+
* @param request - DescribeSqlLogRecordsRequest
|
|
13808
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13809
|
+
* @returns DescribeSqlLogRecordsResponse
|
|
13752
13810
|
*/
|
|
13753
13811
|
async describeSqlLogRecordsWithOptions(request, runtime) {
|
|
13754
13812
|
tea_util_1.default.validateModel(request);
|
|
@@ -13796,29 +13854,31 @@ class Client extends openapi_client_1.default {
|
|
|
13796
13854
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlLogRecordsResponse({}));
|
|
13797
13855
|
}
|
|
13798
13856
|
/**
|
|
13799
|
-
*
|
|
13857
|
+
* Queries the log details of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
|
|
13800
13858
|
*
|
|
13801
|
-
* @
|
|
13859
|
+
* @remarks
|
|
13860
|
+
* Before you call this operation, take note of the following items:
|
|
13802
13861
|
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13803
13862
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13804
13863
|
*
|
|
13805
|
-
* @param request DescribeSqlLogRecordsRequest
|
|
13806
|
-
* @
|
|
13864
|
+
* @param request - DescribeSqlLogRecordsRequest
|
|
13865
|
+
* @returns DescribeSqlLogRecordsResponse
|
|
13807
13866
|
*/
|
|
13808
13867
|
async describeSqlLogRecords(request) {
|
|
13809
13868
|
let runtime = new $Util.RuntimeOptions({});
|
|
13810
13869
|
return await this.describeSqlLogRecordsWithOptions(request, runtime);
|
|
13811
13870
|
}
|
|
13812
13871
|
/**
|
|
13813
|
-
*
|
|
13872
|
+
* Queries the statistics of Database Autonomy Service (DAS) Enterprise Edition.
|
|
13814
13873
|
*
|
|
13815
|
-
* @
|
|
13874
|
+
* @remarks
|
|
13875
|
+
* Before you call this operation, take note of the following items:
|
|
13816
13876
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13817
13877
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13818
13878
|
*
|
|
13819
|
-
* @param request DescribeSqlLogStatisticRequest
|
|
13820
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13821
|
-
* @
|
|
13879
|
+
* @param request - DescribeSqlLogStatisticRequest
|
|
13880
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13881
|
+
* @returns DescribeSqlLogStatisticResponse
|
|
13822
13882
|
*/
|
|
13823
13883
|
async describeSqlLogStatisticWithOptions(request, runtime) {
|
|
13824
13884
|
tea_util_1.default.validateModel(request);
|
|
@@ -13843,29 +13903,31 @@ class Client extends openapi_client_1.default {
|
|
|
13843
13903
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlLogStatisticResponse({}));
|
|
13844
13904
|
}
|
|
13845
13905
|
/**
|
|
13846
|
-
*
|
|
13906
|
+
* Queries the statistics of Database Autonomy Service (DAS) Enterprise Edition.
|
|
13847
13907
|
*
|
|
13848
|
-
* @
|
|
13908
|
+
* @remarks
|
|
13909
|
+
* Before you call this operation, take note of the following items:
|
|
13849
13910
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13850
13911
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13851
13912
|
*
|
|
13852
|
-
* @param request DescribeSqlLogStatisticRequest
|
|
13853
|
-
* @
|
|
13913
|
+
* @param request - DescribeSqlLogStatisticRequest
|
|
13914
|
+
* @returns DescribeSqlLogStatisticResponse
|
|
13854
13915
|
*/
|
|
13855
13916
|
async describeSqlLogStatistic(request) {
|
|
13856
13917
|
let runtime = new $Util.RuntimeOptions({});
|
|
13857
13918
|
return await this.describeSqlLogStatisticWithOptions(request, runtime);
|
|
13858
13919
|
}
|
|
13859
13920
|
/**
|
|
13860
|
-
*
|
|
13921
|
+
* Queries the details of an offline task in Database Autonomy Service (DAS) Enterprise Edition.
|
|
13861
13922
|
*
|
|
13862
|
-
* @
|
|
13923
|
+
* @remarks
|
|
13924
|
+
* Before you call this operation, take note of the following items:
|
|
13863
13925
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13864
13926
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13865
13927
|
*
|
|
13866
|
-
* @param request DescribeSqlLogTaskRequest
|
|
13867
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13868
|
-
* @
|
|
13928
|
+
* @param request - DescribeSqlLogTaskRequest
|
|
13929
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13930
|
+
* @returns DescribeSqlLogTaskResponse
|
|
13869
13931
|
*/
|
|
13870
13932
|
async describeSqlLogTaskWithOptions(request, runtime) {
|
|
13871
13933
|
tea_util_1.default.validateModel(request);
|
|
@@ -13899,29 +13961,31 @@ class Client extends openapi_client_1.default {
|
|
|
13899
13961
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlLogTaskResponse({}));
|
|
13900
13962
|
}
|
|
13901
13963
|
/**
|
|
13902
|
-
*
|
|
13964
|
+
* Queries the details of an offline task in Database Autonomy Service (DAS) Enterprise Edition.
|
|
13903
13965
|
*
|
|
13904
|
-
* @
|
|
13966
|
+
* @remarks
|
|
13967
|
+
* Before you call this operation, take note of the following items:
|
|
13905
13968
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13906
13969
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13907
13970
|
*
|
|
13908
|
-
* @param request DescribeSqlLogTaskRequest
|
|
13909
|
-
* @
|
|
13971
|
+
* @param request - DescribeSqlLogTaskRequest
|
|
13972
|
+
* @returns DescribeSqlLogTaskResponse
|
|
13910
13973
|
*/
|
|
13911
13974
|
async describeSqlLogTask(request) {
|
|
13912
13975
|
let runtime = new $Util.RuntimeOptions({});
|
|
13913
13976
|
return await this.describeSqlLogTaskWithOptions(request, runtime);
|
|
13914
13977
|
}
|
|
13915
13978
|
/**
|
|
13916
|
-
*
|
|
13979
|
+
* Queries the SQL Explorer and Audit tasks of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
|
|
13917
13980
|
*
|
|
13918
|
-
* @
|
|
13981
|
+
* @remarks
|
|
13982
|
+
* Before you call this operation, take note of the following items:
|
|
13919
13983
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13920
13984
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13921
13985
|
*
|
|
13922
|
-
* @param request DescribeSqlLogTasksRequest
|
|
13923
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13924
|
-
* @
|
|
13986
|
+
* @param request - DescribeSqlLogTasksRequest
|
|
13987
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13988
|
+
* @returns DescribeSqlLogTasksResponse
|
|
13925
13989
|
*/
|
|
13926
13990
|
async describeSqlLogTasksWithOptions(request, runtime) {
|
|
13927
13991
|
tea_util_1.default.validateModel(request);
|
|
@@ -13964,23 +14028,25 @@ class Client extends openapi_client_1.default {
|
|
|
13964
14028
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlLogTasksResponse({}));
|
|
13965
14029
|
}
|
|
13966
14030
|
/**
|
|
13967
|
-
*
|
|
14031
|
+
* Queries the SQL Explorer and Audit tasks of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
|
|
13968
14032
|
*
|
|
13969
|
-
* @
|
|
14033
|
+
* @remarks
|
|
14034
|
+
* Before you call this operation, take note of the following items:
|
|
13970
14035
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
13971
14036
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
13972
14037
|
*
|
|
13973
|
-
* @param request DescribeSqlLogTasksRequest
|
|
13974
|
-
* @
|
|
14038
|
+
* @param request - DescribeSqlLogTasksRequest
|
|
14039
|
+
* @returns DescribeSqlLogTasksResponse
|
|
13975
14040
|
*/
|
|
13976
14041
|
async describeSqlLogTasks(request) {
|
|
13977
14042
|
let runtime = new $Util.RuntimeOptions({});
|
|
13978
14043
|
return await this.describeSqlLogTasksWithOptions(request, runtime);
|
|
13979
14044
|
}
|
|
13980
14045
|
/**
|
|
13981
|
-
*
|
|
14046
|
+
* Queries the top 100 large keys over a period of time.
|
|
13982
14047
|
*
|
|
13983
|
-
* @
|
|
14048
|
+
* @remarks
|
|
14049
|
+
* The list, hash, set, and zset keys are sorted based on the number of elements in these keys. The top three keys that have the most elements are considered large keys.
|
|
13984
14050
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than 4.3.3. We recommend that you use the latest version.
|
|
13985
14051
|
* * The version of Database Autonomy Service (DAS) SDK must be 1.0.2 or later.
|
|
13986
14052
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
@@ -13989,9 +14055,9 @@ class Client extends openapi_client_1.default {
|
|
|
13989
14055
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
13990
14056
|
* > For information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
|
|
13991
14057
|
*
|
|
13992
|
-
* @param request DescribeTopBigKeysRequest
|
|
13993
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
13994
|
-
* @
|
|
14058
|
+
* @param request - DescribeTopBigKeysRequest
|
|
14059
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14060
|
+
* @returns DescribeTopBigKeysResponse
|
|
13995
14061
|
*/
|
|
13996
14062
|
async describeTopBigKeysWithOptions(request, runtime) {
|
|
13997
14063
|
tea_util_1.default.validateModel(request);
|
|
@@ -14028,9 +14094,10 @@ class Client extends openapi_client_1.default {
|
|
|
14028
14094
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTopBigKeysResponse({}));
|
|
14029
14095
|
}
|
|
14030
14096
|
/**
|
|
14031
|
-
*
|
|
14097
|
+
* Queries the top 100 large keys over a period of time.
|
|
14032
14098
|
*
|
|
14033
|
-
* @
|
|
14099
|
+
* @remarks
|
|
14100
|
+
* The list, hash, set, and zset keys are sorted based on the number of elements in these keys. The top three keys that have the most elements are considered large keys.
|
|
14034
14101
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than 4.3.3. We recommend that you use the latest version.
|
|
14035
14102
|
* * The version of Database Autonomy Service (DAS) SDK must be 1.0.2 or later.
|
|
14036
14103
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
@@ -14039,17 +14106,18 @@ class Client extends openapi_client_1.default {
|
|
|
14039
14106
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
14040
14107
|
* > For information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
|
|
14041
14108
|
*
|
|
14042
|
-
* @param request DescribeTopBigKeysRequest
|
|
14043
|
-
* @
|
|
14109
|
+
* @param request - DescribeTopBigKeysRequest
|
|
14110
|
+
* @returns DescribeTopBigKeysResponse
|
|
14044
14111
|
*/
|
|
14045
14112
|
async describeTopBigKeys(request) {
|
|
14046
14113
|
let runtime = new $Util.RuntimeOptions({});
|
|
14047
14114
|
return await this.describeTopBigKeysWithOptions(request, runtime);
|
|
14048
14115
|
}
|
|
14049
14116
|
/**
|
|
14050
|
-
*
|
|
14117
|
+
* Queries the top 100 hot keys over a period of time.
|
|
14051
14118
|
*
|
|
14052
|
-
* @
|
|
14119
|
+
* @remarks
|
|
14120
|
+
* If the number of queries per second (QPS) of a key is greater than 3,000, the key is considered a hot key.
|
|
14053
14121
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than 4.3.3. We recommend that you use the latest version.
|
|
14054
14122
|
* * The version of Database Autonomy Service (DAS) SDK must be 1.0.2 or later.
|
|
14055
14123
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
@@ -14058,9 +14126,9 @@ class Client extends openapi_client_1.default {
|
|
|
14058
14126
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
14059
14127
|
* > For information about how to query and update the minor version of an instance, see [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html) and [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html).
|
|
14060
14128
|
*
|
|
14061
|
-
* @param request DescribeTopHotKeysRequest
|
|
14062
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14063
|
-
* @
|
|
14129
|
+
* @param request - DescribeTopHotKeysRequest
|
|
14130
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14131
|
+
* @returns DescribeTopHotKeysResponse
|
|
14064
14132
|
*/
|
|
14065
14133
|
async describeTopHotKeysWithOptions(request, runtime) {
|
|
14066
14134
|
tea_util_1.default.validateModel(request);
|
|
@@ -14097,9 +14165,10 @@ class Client extends openapi_client_1.default {
|
|
|
14097
14165
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTopHotKeysResponse({}));
|
|
14098
14166
|
}
|
|
14099
14167
|
/**
|
|
14100
|
-
*
|
|
14168
|
+
* Queries the top 100 hot keys over a period of time.
|
|
14101
14169
|
*
|
|
14102
|
-
* @
|
|
14170
|
+
* @remarks
|
|
14171
|
+
* If the number of queries per second (QPS) of a key is greater than 3,000, the key is considered a hot key.
|
|
14103
14172
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than 4.3.3. We recommend that you use the latest version.
|
|
14104
14173
|
* * The version of Database Autonomy Service (DAS) SDK must be 1.0.2 or later.
|
|
14105
14174
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
@@ -14108,23 +14177,24 @@ class Client extends openapi_client_1.default {
|
|
|
14108
14177
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
14109
14178
|
* > For information about how to query and update the minor version of an instance, see [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html) and [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html).
|
|
14110
14179
|
*
|
|
14111
|
-
* @param request DescribeTopHotKeysRequest
|
|
14112
|
-
* @
|
|
14180
|
+
* @param request - DescribeTopHotKeysRequest
|
|
14181
|
+
* @returns DescribeTopHotKeysResponse
|
|
14113
14182
|
*/
|
|
14114
14183
|
async describeTopHotKeys(request) {
|
|
14115
14184
|
let runtime = new $Util.RuntimeOptions({});
|
|
14116
14185
|
return await this.describeTopHotKeysWithOptions(request, runtime);
|
|
14117
14186
|
}
|
|
14118
14187
|
/**
|
|
14119
|
-
*
|
|
14188
|
+
* Disables all throttling rules that are in effect.
|
|
14120
14189
|
*
|
|
14121
|
-
* @
|
|
14190
|
+
* @remarks
|
|
14191
|
+
* This operation supports the following database engines:
|
|
14122
14192
|
* * ApsaraDB RDS for MySQL
|
|
14123
14193
|
* * PolarDB for MySQL
|
|
14124
14194
|
*
|
|
14125
|
-
* @param request DisableAllSqlConcurrencyControlRulesRequest
|
|
14126
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14127
|
-
* @
|
|
14195
|
+
* @param request - DisableAllSqlConcurrencyControlRulesRequest
|
|
14196
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14197
|
+
* @returns DisableAllSqlConcurrencyControlRulesResponse
|
|
14128
14198
|
*/
|
|
14129
14199
|
async disableAllSqlConcurrencyControlRulesWithOptions(request, runtime) {
|
|
14130
14200
|
tea_util_1.default.validateModel(request);
|
|
@@ -14152,27 +14222,29 @@ class Client extends openapi_client_1.default {
|
|
|
14152
14222
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableAllSqlConcurrencyControlRulesResponse({}));
|
|
14153
14223
|
}
|
|
14154
14224
|
/**
|
|
14155
|
-
*
|
|
14225
|
+
* Disables all throttling rules that are in effect.
|
|
14156
14226
|
*
|
|
14157
|
-
* @
|
|
14227
|
+
* @remarks
|
|
14228
|
+
* This operation supports the following database engines:
|
|
14158
14229
|
* * ApsaraDB RDS for MySQL
|
|
14159
14230
|
* * PolarDB for MySQL
|
|
14160
14231
|
*
|
|
14161
|
-
* @param request DisableAllSqlConcurrencyControlRulesRequest
|
|
14162
|
-
* @
|
|
14232
|
+
* @param request - DisableAllSqlConcurrencyControlRulesRequest
|
|
14233
|
+
* @returns DisableAllSqlConcurrencyControlRulesResponse
|
|
14163
14234
|
*/
|
|
14164
14235
|
async disableAllSqlConcurrencyControlRules(request) {
|
|
14165
14236
|
let runtime = new $Util.RuntimeOptions({});
|
|
14166
14237
|
return await this.disableAllSqlConcurrencyControlRulesWithOptions(request, runtime);
|
|
14167
14238
|
}
|
|
14168
14239
|
/**
|
|
14169
|
-
*
|
|
14240
|
+
* Disables the automatic tablespace fragment recycling feature for database instances at a time.
|
|
14170
14241
|
*
|
|
14171
|
-
* @
|
|
14242
|
+
* @remarks
|
|
14243
|
+
* If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14172
14244
|
*
|
|
14173
|
-
* @param request DisableAutoResourceOptimizeRulesRequest
|
|
14174
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14175
|
-
* @
|
|
14245
|
+
* @param request - DisableAutoResourceOptimizeRulesRequest
|
|
14246
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14247
|
+
* @returns DisableAutoResourceOptimizeRulesResponse
|
|
14176
14248
|
*/
|
|
14177
14249
|
async disableAutoResourceOptimizeRulesWithOptions(request, runtime) {
|
|
14178
14250
|
tea_util_1.default.validateModel(request);
|
|
@@ -14200,25 +14272,27 @@ class Client extends openapi_client_1.default {
|
|
|
14200
14272
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableAutoResourceOptimizeRulesResponse({}));
|
|
14201
14273
|
}
|
|
14202
14274
|
/**
|
|
14203
|
-
*
|
|
14275
|
+
* Disables the automatic tablespace fragment recycling feature for database instances at a time.
|
|
14204
14276
|
*
|
|
14205
|
-
* @
|
|
14277
|
+
* @remarks
|
|
14278
|
+
* If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14206
14279
|
*
|
|
14207
|
-
* @param request DisableAutoResourceOptimizeRulesRequest
|
|
14208
|
-
* @
|
|
14280
|
+
* @param request - DisableAutoResourceOptimizeRulesRequest
|
|
14281
|
+
* @returns DisableAutoResourceOptimizeRulesResponse
|
|
14209
14282
|
*/
|
|
14210
14283
|
async disableAutoResourceOptimizeRules(request) {
|
|
14211
14284
|
let runtime = new $Util.RuntimeOptions({});
|
|
14212
14285
|
return await this.disableAutoResourceOptimizeRulesWithOptions(request, runtime);
|
|
14213
14286
|
}
|
|
14214
14287
|
/**
|
|
14215
|
-
*
|
|
14288
|
+
* Disables the automatic SQL throttling feature for multiple database instances at a time.
|
|
14216
14289
|
*
|
|
14217
|
-
* @
|
|
14290
|
+
* @remarks
|
|
14291
|
+
* If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14218
14292
|
*
|
|
14219
|
-
* @param request DisableAutoThrottleRulesRequest
|
|
14220
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14221
|
-
* @
|
|
14293
|
+
* @param request - DisableAutoThrottleRulesRequest
|
|
14294
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14295
|
+
* @returns DisableAutoThrottleRulesResponse
|
|
14222
14296
|
*/
|
|
14223
14297
|
async disableAutoThrottleRulesWithOptions(request, runtime) {
|
|
14224
14298
|
tea_util_1.default.validateModel(request);
|
|
@@ -14246,27 +14320,29 @@ class Client extends openapi_client_1.default {
|
|
|
14246
14320
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableAutoThrottleRulesResponse({}));
|
|
14247
14321
|
}
|
|
14248
14322
|
/**
|
|
14249
|
-
*
|
|
14323
|
+
* Disables the automatic SQL throttling feature for multiple database instances at a time.
|
|
14250
14324
|
*
|
|
14251
|
-
* @
|
|
14325
|
+
* @remarks
|
|
14326
|
+
* If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14252
14327
|
*
|
|
14253
|
-
* @param request DisableAutoThrottleRulesRequest
|
|
14254
|
-
* @
|
|
14328
|
+
* @param request - DisableAutoThrottleRulesRequest
|
|
14329
|
+
* @returns DisableAutoThrottleRulesResponse
|
|
14255
14330
|
*/
|
|
14256
14331
|
async disableAutoThrottleRules(request) {
|
|
14257
14332
|
let runtime = new $Util.RuntimeOptions({});
|
|
14258
14333
|
return await this.disableAutoThrottleRulesWithOptions(request, runtime);
|
|
14259
14334
|
}
|
|
14260
14335
|
/**
|
|
14261
|
-
*
|
|
14336
|
+
* Disables Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
14262
14337
|
*
|
|
14263
|
-
* @
|
|
14338
|
+
* @remarks
|
|
14339
|
+
* For more information about database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
14264
14340
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14265
14341
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
14266
14342
|
*
|
|
14267
|
-
* @param request DisableDasProRequest
|
|
14268
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14269
|
-
* @
|
|
14343
|
+
* @param request - DisableDasProRequest
|
|
14344
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14345
|
+
* @returns DisableDasProResponse
|
|
14270
14346
|
*/
|
|
14271
14347
|
async disableDasProWithOptions(request, runtime) {
|
|
14272
14348
|
tea_util_1.default.validateModel(request);
|
|
@@ -14294,30 +14370,32 @@ class Client extends openapi_client_1.default {
|
|
|
14294
14370
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableDasProResponse({}));
|
|
14295
14371
|
}
|
|
14296
14372
|
/**
|
|
14297
|
-
*
|
|
14373
|
+
* Disables Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
14298
14374
|
*
|
|
14299
|
-
* @
|
|
14375
|
+
* @remarks
|
|
14376
|
+
* For more information about database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
14300
14377
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14301
14378
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
14302
14379
|
*
|
|
14303
|
-
* @param request DisableDasProRequest
|
|
14304
|
-
* @
|
|
14380
|
+
* @param request - DisableDasProRequest
|
|
14381
|
+
* @returns DisableDasProResponse
|
|
14305
14382
|
*/
|
|
14306
14383
|
async disableDasPro(request) {
|
|
14307
14384
|
let runtime = new $Util.RuntimeOptions({});
|
|
14308
14385
|
return await this.disableDasProWithOptions(request, runtime);
|
|
14309
14386
|
}
|
|
14310
14387
|
/**
|
|
14311
|
-
*
|
|
14388
|
+
* Disables the auto scaling feature for a database instance.
|
|
14312
14389
|
*
|
|
14313
|
-
* @
|
|
14390
|
+
* @remarks
|
|
14391
|
+
* Before you call this operation, take note of the following items:
|
|
14314
14392
|
* * If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
14315
14393
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
14316
14394
|
* * This operation is applicable only to ApsaraDB for Redis instances.
|
|
14317
14395
|
*
|
|
14318
|
-
* @param request DisableInstanceDasConfigRequest
|
|
14319
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14320
|
-
* @
|
|
14396
|
+
* @param request - DisableInstanceDasConfigRequest
|
|
14397
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14398
|
+
* @returns DisableInstanceDasConfigResponse
|
|
14321
14399
|
*/
|
|
14322
14400
|
async disableInstanceDasConfigWithOptions(request, runtime) {
|
|
14323
14401
|
tea_util_1.default.validateModel(request);
|
|
@@ -14348,30 +14426,32 @@ class Client extends openapi_client_1.default {
|
|
|
14348
14426
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableInstanceDasConfigResponse({}));
|
|
14349
14427
|
}
|
|
14350
14428
|
/**
|
|
14351
|
-
*
|
|
14429
|
+
* Disables the auto scaling feature for a database instance.
|
|
14352
14430
|
*
|
|
14353
|
-
* @
|
|
14431
|
+
* @remarks
|
|
14432
|
+
* Before you call this operation, take note of the following items:
|
|
14354
14433
|
* * If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
14355
14434
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
14356
14435
|
* * This operation is applicable only to ApsaraDB for Redis instances.
|
|
14357
14436
|
*
|
|
14358
|
-
* @param request DisableInstanceDasConfigRequest
|
|
14359
|
-
* @
|
|
14437
|
+
* @param request - DisableInstanceDasConfigRequest
|
|
14438
|
+
* @returns DisableInstanceDasConfigResponse
|
|
14360
14439
|
*/
|
|
14361
14440
|
async disableInstanceDasConfig(request) {
|
|
14362
14441
|
let runtime = new $Util.RuntimeOptions({});
|
|
14363
14442
|
return await this.disableInstanceDasConfigWithOptions(request, runtime);
|
|
14364
14443
|
}
|
|
14365
14444
|
/**
|
|
14366
|
-
*
|
|
14445
|
+
* Disables a throttling rule.
|
|
14367
14446
|
*
|
|
14368
|
-
* @
|
|
14447
|
+
* @remarks
|
|
14448
|
+
* This operation is applicable to the following database engines:
|
|
14369
14449
|
* * ApsaraDB RDS for MySQL
|
|
14370
14450
|
* * PolarDB for MySQL
|
|
14371
14451
|
*
|
|
14372
|
-
* @param request DisableSqlConcurrencyControlRequest
|
|
14373
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14374
|
-
* @
|
|
14452
|
+
* @param request - DisableSqlConcurrencyControlRequest
|
|
14453
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14454
|
+
* @returns DisableSqlConcurrencyControlResponse
|
|
14375
14455
|
*/
|
|
14376
14456
|
async disableSqlConcurrencyControlWithOptions(request, runtime) {
|
|
14377
14457
|
tea_util_1.default.validateModel(request);
|
|
@@ -14402,29 +14482,31 @@ class Client extends openapi_client_1.default {
|
|
|
14402
14482
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableSqlConcurrencyControlResponse({}));
|
|
14403
14483
|
}
|
|
14404
14484
|
/**
|
|
14405
|
-
*
|
|
14485
|
+
* Disables a throttling rule.
|
|
14406
14486
|
*
|
|
14407
|
-
* @
|
|
14487
|
+
* @remarks
|
|
14488
|
+
* This operation is applicable to the following database engines:
|
|
14408
14489
|
* * ApsaraDB RDS for MySQL
|
|
14409
14490
|
* * PolarDB for MySQL
|
|
14410
14491
|
*
|
|
14411
|
-
* @param request DisableSqlConcurrencyControlRequest
|
|
14412
|
-
* @
|
|
14492
|
+
* @param request - DisableSqlConcurrencyControlRequest
|
|
14493
|
+
* @returns DisableSqlConcurrencyControlResponse
|
|
14413
14494
|
*/
|
|
14414
14495
|
async disableSqlConcurrencyControl(request) {
|
|
14415
14496
|
let runtime = new $Util.RuntimeOptions({});
|
|
14416
14497
|
return await this.disableSqlConcurrencyControlWithOptions(request, runtime);
|
|
14417
14498
|
}
|
|
14418
14499
|
/**
|
|
14419
|
-
*
|
|
14500
|
+
* Enables Database Autonomy Service (DAS) Enterprise Edition V1 for a database instance.
|
|
14420
14501
|
*
|
|
14421
|
-
* @
|
|
14502
|
+
* @remarks
|
|
14503
|
+
* If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14422
14504
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
14423
14505
|
* > If your database instance supports DAS Enterprise Edition V3, you cannot call this operation to enable DAS Enterprise Edition V1. You can call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable DAS Enterprise Edition V3 for your database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
14424
14506
|
*
|
|
14425
|
-
* @param request EnableDasProRequest
|
|
14426
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14427
|
-
* @
|
|
14507
|
+
* @param request - EnableDasProRequest
|
|
14508
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14509
|
+
* @returns EnableDasProResponse
|
|
14428
14510
|
*/
|
|
14429
14511
|
async enableDasProWithOptions(request, runtime) {
|
|
14430
14512
|
tea_util_1.default.validateModel(request);
|
|
@@ -14455,29 +14537,31 @@ class Client extends openapi_client_1.default {
|
|
|
14455
14537
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableDasProResponse({}));
|
|
14456
14538
|
}
|
|
14457
14539
|
/**
|
|
14458
|
-
*
|
|
14540
|
+
* Enables Database Autonomy Service (DAS) Enterprise Edition V1 for a database instance.
|
|
14459
14541
|
*
|
|
14460
|
-
* @
|
|
14542
|
+
* @remarks
|
|
14543
|
+
* If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14461
14544
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
14462
14545
|
* > If your database instance supports DAS Enterprise Edition V3, you cannot call this operation to enable DAS Enterprise Edition V1. You can call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable DAS Enterprise Edition V3 for your database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
14463
14546
|
*
|
|
14464
|
-
* @param request EnableDasProRequest
|
|
14465
|
-
* @
|
|
14547
|
+
* @param request - EnableDasProRequest
|
|
14548
|
+
* @returns EnableDasProResponse
|
|
14466
14549
|
*/
|
|
14467
14550
|
async enableDasPro(request) {
|
|
14468
14551
|
let runtime = new $Util.RuntimeOptions({});
|
|
14469
14552
|
return await this.enableDasProWithOptions(request, runtime);
|
|
14470
14553
|
}
|
|
14471
14554
|
/**
|
|
14472
|
-
*
|
|
14555
|
+
* Enables SQL throttling to control the numbers of database access requests and concurrent SQL statements.
|
|
14473
14556
|
*
|
|
14474
|
-
* @
|
|
14557
|
+
* @remarks
|
|
14558
|
+
* This operation supports the following database engines:
|
|
14475
14559
|
* * ApsaraDB RDS for MySQL
|
|
14476
14560
|
* * PolarDB for MySQL
|
|
14477
14561
|
*
|
|
14478
|
-
* @param request EnableSqlConcurrencyControlRequest
|
|
14479
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14480
|
-
* @
|
|
14562
|
+
* @param request - EnableSqlConcurrencyControlRequest
|
|
14563
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14564
|
+
* @returns EnableSqlConcurrencyControlResponse
|
|
14481
14565
|
*/
|
|
14482
14566
|
async enableSqlConcurrencyControlWithOptions(request, runtime) {
|
|
14483
14567
|
tea_util_1.default.validateModel(request);
|
|
@@ -14517,29 +14601,31 @@ class Client extends openapi_client_1.default {
|
|
|
14517
14601
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableSqlConcurrencyControlResponse({}));
|
|
14518
14602
|
}
|
|
14519
14603
|
/**
|
|
14520
|
-
*
|
|
14604
|
+
* Enables SQL throttling to control the numbers of database access requests and concurrent SQL statements.
|
|
14521
14605
|
*
|
|
14522
|
-
* @
|
|
14606
|
+
* @remarks
|
|
14607
|
+
* This operation supports the following database engines:
|
|
14523
14608
|
* * ApsaraDB RDS for MySQL
|
|
14524
14609
|
* * PolarDB for MySQL
|
|
14525
14610
|
*
|
|
14526
|
-
* @param request EnableSqlConcurrencyControlRequest
|
|
14527
|
-
* @
|
|
14611
|
+
* @param request - EnableSqlConcurrencyControlRequest
|
|
14612
|
+
* @returns EnableSqlConcurrencyControlResponse
|
|
14528
14613
|
*/
|
|
14529
14614
|
async enableSqlConcurrencyControl(request) {
|
|
14530
14615
|
let runtime = new $Util.RuntimeOptions({});
|
|
14531
14616
|
return await this.enableSqlConcurrencyControlWithOptions(request, runtime);
|
|
14532
14617
|
}
|
|
14533
14618
|
/**
|
|
14534
|
-
*
|
|
14619
|
+
* Asynchronously queries the IDs of SQL statements that generate a MySQL error code in the SQL Explorer results of a database instance.
|
|
14535
14620
|
*
|
|
14536
|
-
* @
|
|
14621
|
+
* @remarks
|
|
14622
|
+
* > GetAsyncErrorRequestListByCode is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
|
|
14537
14623
|
* * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
14538
14624
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14539
14625
|
*
|
|
14540
|
-
* @param request GetAsyncErrorRequestListByCodeRequest
|
|
14541
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14542
|
-
* @
|
|
14626
|
+
* @param request - GetAsyncErrorRequestListByCodeRequest
|
|
14627
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14628
|
+
* @returns GetAsyncErrorRequestListByCodeResponse
|
|
14543
14629
|
*/
|
|
14544
14630
|
async getAsyncErrorRequestListByCodeWithOptions(request, runtime) {
|
|
14545
14631
|
tea_util_1.default.validateModel(request);
|
|
@@ -14576,29 +14662,31 @@ class Client extends openapi_client_1.default {
|
|
|
14576
14662
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAsyncErrorRequestListByCodeResponse({}));
|
|
14577
14663
|
}
|
|
14578
14664
|
/**
|
|
14579
|
-
*
|
|
14665
|
+
* Asynchronously queries the IDs of SQL statements that generate a MySQL error code in the SQL Explorer results of a database instance.
|
|
14580
14666
|
*
|
|
14581
|
-
* @
|
|
14667
|
+
* @remarks
|
|
14668
|
+
* > GetAsyncErrorRequestListByCode is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
|
|
14582
14669
|
* * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
14583
14670
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14584
14671
|
*
|
|
14585
|
-
* @param request GetAsyncErrorRequestListByCodeRequest
|
|
14586
|
-
* @
|
|
14672
|
+
* @param request - GetAsyncErrorRequestListByCodeRequest
|
|
14673
|
+
* @returns GetAsyncErrorRequestListByCodeResponse
|
|
14587
14674
|
*/
|
|
14588
14675
|
async getAsyncErrorRequestListByCode(request) {
|
|
14589
14676
|
let runtime = new $Util.RuntimeOptions({});
|
|
14590
14677
|
return await this.getAsyncErrorRequestListByCodeWithOptions(request, runtime);
|
|
14591
14678
|
}
|
|
14592
14679
|
/**
|
|
14593
|
-
*
|
|
14680
|
+
* Asynchronously queries the MySQL error codes in SQL Explorer data and the number of SQL queries corresponding to each error code.
|
|
14594
14681
|
*
|
|
14595
|
-
* @
|
|
14682
|
+
* @remarks
|
|
14683
|
+
* > GetAsyncErrorRequestStatByCode is an asynchronous operation After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
|
|
14596
14684
|
* * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
14597
14685
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14598
14686
|
*
|
|
14599
|
-
* @param request GetAsyncErrorRequestStatByCodeRequest
|
|
14600
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14601
|
-
* @
|
|
14687
|
+
* @param request - GetAsyncErrorRequestStatByCodeRequest
|
|
14688
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14689
|
+
* @returns GetAsyncErrorRequestStatByCodeResponse
|
|
14602
14690
|
*/
|
|
14603
14691
|
async getAsyncErrorRequestStatByCodeWithOptions(request, runtime) {
|
|
14604
14692
|
tea_util_1.default.validateModel(request);
|
|
@@ -14635,29 +14723,31 @@ class Client extends openapi_client_1.default {
|
|
|
14635
14723
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAsyncErrorRequestStatByCodeResponse({}));
|
|
14636
14724
|
}
|
|
14637
14725
|
/**
|
|
14638
|
-
*
|
|
14726
|
+
* Asynchronously queries the MySQL error codes in SQL Explorer data and the number of SQL queries corresponding to each error code.
|
|
14639
14727
|
*
|
|
14640
|
-
* @
|
|
14728
|
+
* @remarks
|
|
14729
|
+
* > GetAsyncErrorRequestStatByCode is an asynchronous operation After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
|
|
14641
14730
|
* * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
14642
14731
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14643
14732
|
*
|
|
14644
|
-
* @param request GetAsyncErrorRequestStatByCodeRequest
|
|
14645
|
-
* @
|
|
14733
|
+
* @param request - GetAsyncErrorRequestStatByCodeRequest
|
|
14734
|
+
* @returns GetAsyncErrorRequestStatByCodeResponse
|
|
14646
14735
|
*/
|
|
14647
14736
|
async getAsyncErrorRequestStatByCode(request) {
|
|
14648
14737
|
let runtime = new $Util.RuntimeOptions({});
|
|
14649
14738
|
return await this.getAsyncErrorRequestStatByCodeWithOptions(request, runtime);
|
|
14650
14739
|
}
|
|
14651
14740
|
/**
|
|
14652
|
-
*
|
|
14741
|
+
* Asynchronously obtains the number of failed executions of SQL templates based on SQL Explorer data.
|
|
14653
14742
|
*
|
|
14654
|
-
* @
|
|
14743
|
+
* @remarks
|
|
14744
|
+
* > GetAsyncErrorRequestStatResult is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
|
|
14655
14745
|
* * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
14656
14746
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14657
14747
|
*
|
|
14658
|
-
* @param request GetAsyncErrorRequestStatResultRequest
|
|
14659
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14660
|
-
* @
|
|
14748
|
+
* @param request - GetAsyncErrorRequestStatResultRequest
|
|
14749
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14750
|
+
* @returns GetAsyncErrorRequestStatResultResponse
|
|
14661
14751
|
*/
|
|
14662
14752
|
async getAsyncErrorRequestStatResultWithOptions(request, runtime) {
|
|
14663
14753
|
tea_util_1.default.validateModel(request);
|
|
@@ -14697,29 +14787,31 @@ class Client extends openapi_client_1.default {
|
|
|
14697
14787
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAsyncErrorRequestStatResultResponse({}));
|
|
14698
14788
|
}
|
|
14699
14789
|
/**
|
|
14700
|
-
*
|
|
14790
|
+
* Asynchronously obtains the number of failed executions of SQL templates based on SQL Explorer data.
|
|
14701
14791
|
*
|
|
14702
|
-
* @
|
|
14792
|
+
* @remarks
|
|
14793
|
+
* > GetAsyncErrorRequestStatResult is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
|
|
14703
14794
|
* * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
14704
14795
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14705
14796
|
*
|
|
14706
|
-
* @param request GetAsyncErrorRequestStatResultRequest
|
|
14707
|
-
* @
|
|
14797
|
+
* @param request - GetAsyncErrorRequestStatResultRequest
|
|
14798
|
+
* @returns GetAsyncErrorRequestStatResultResponse
|
|
14708
14799
|
*/
|
|
14709
14800
|
async getAsyncErrorRequestStatResult(request) {
|
|
14710
14801
|
let runtime = new $Util.RuntimeOptions({});
|
|
14711
14802
|
return await this.getAsyncErrorRequestStatResultWithOptions(request, runtime);
|
|
14712
14803
|
}
|
|
14713
14804
|
/**
|
|
14714
|
-
*
|
|
14805
|
+
* Queries the usage of auto-increment table IDs.
|
|
14715
14806
|
*
|
|
14716
|
-
* @
|
|
14807
|
+
* @remarks
|
|
14808
|
+
* This operation is applicable only to ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters.
|
|
14717
14809
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
14718
14810
|
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
14719
14811
|
*
|
|
14720
|
-
* @param request GetAutoIncrementUsageStatisticRequest
|
|
14721
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14722
|
-
* @
|
|
14812
|
+
* @param request - GetAutoIncrementUsageStatisticRequest
|
|
14813
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14814
|
+
* @returns GetAutoIncrementUsageStatisticResponse
|
|
14723
14815
|
*/
|
|
14724
14816
|
async getAutoIncrementUsageStatisticWithOptions(request, runtime) {
|
|
14725
14817
|
tea_util_1.default.validateModel(request);
|
|
@@ -14753,30 +14845,32 @@ class Client extends openapi_client_1.default {
|
|
|
14753
14845
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAutoIncrementUsageStatisticResponse({}));
|
|
14754
14846
|
}
|
|
14755
14847
|
/**
|
|
14756
|
-
*
|
|
14848
|
+
* Queries the usage of auto-increment table IDs.
|
|
14757
14849
|
*
|
|
14758
|
-
* @
|
|
14850
|
+
* @remarks
|
|
14851
|
+
* This operation is applicable only to ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters.
|
|
14759
14852
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
14760
14853
|
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
14761
14854
|
*
|
|
14762
|
-
* @param request GetAutoIncrementUsageStatisticRequest
|
|
14763
|
-
* @
|
|
14855
|
+
* @param request - GetAutoIncrementUsageStatisticRequest
|
|
14856
|
+
* @returns GetAutoIncrementUsageStatisticResponse
|
|
14764
14857
|
*/
|
|
14765
14858
|
async getAutoIncrementUsageStatistic(request) {
|
|
14766
14859
|
let runtime = new $Util.RuntimeOptions({});
|
|
14767
14860
|
return await this.getAutoIncrementUsageStatisticWithOptions(request, runtime);
|
|
14768
14861
|
}
|
|
14769
14862
|
/**
|
|
14770
|
-
*
|
|
14863
|
+
* Queries the automatic fragment recycling rules of database instances.
|
|
14771
14864
|
*
|
|
14772
|
-
* @
|
|
14865
|
+
* @remarks
|
|
14866
|
+
* Before you call this operation, take note of the following items:
|
|
14773
14867
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14774
14868
|
* * The database instance is an ApsaraDB RDS for MySQL instance of High-availability Edition.
|
|
14775
14869
|
* * The database instance has four or more cores, and **innodb_file_per_table** is set to **ON**.
|
|
14776
14870
|
*
|
|
14777
|
-
* @param request GetAutoResourceOptimizeRulesRequest
|
|
14778
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14779
|
-
* @
|
|
14871
|
+
* @param request - GetAutoResourceOptimizeRulesRequest
|
|
14872
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14873
|
+
* @returns GetAutoResourceOptimizeRulesResponse
|
|
14780
14874
|
*/
|
|
14781
14875
|
async getAutoResourceOptimizeRulesWithOptions(request, runtime) {
|
|
14782
14876
|
tea_util_1.default.validateModel(request);
|
|
@@ -14804,32 +14898,34 @@ class Client extends openapi_client_1.default {
|
|
|
14804
14898
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAutoResourceOptimizeRulesResponse({}));
|
|
14805
14899
|
}
|
|
14806
14900
|
/**
|
|
14807
|
-
*
|
|
14901
|
+
* Queries the automatic fragment recycling rules of database instances.
|
|
14808
14902
|
*
|
|
14809
|
-
* @
|
|
14903
|
+
* @remarks
|
|
14904
|
+
* Before you call this operation, take note of the following items:
|
|
14810
14905
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14811
14906
|
* * The database instance is an ApsaraDB RDS for MySQL instance of High-availability Edition.
|
|
14812
14907
|
* * The database instance has four or more cores, and **innodb_file_per_table** is set to **ON**.
|
|
14813
14908
|
*
|
|
14814
|
-
* @param request GetAutoResourceOptimizeRulesRequest
|
|
14815
|
-
* @
|
|
14909
|
+
* @param request - GetAutoResourceOptimizeRulesRequest
|
|
14910
|
+
* @returns GetAutoResourceOptimizeRulesResponse
|
|
14816
14911
|
*/
|
|
14817
14912
|
async getAutoResourceOptimizeRules(request) {
|
|
14818
14913
|
let runtime = new $Util.RuntimeOptions({});
|
|
14819
14914
|
return await this.getAutoResourceOptimizeRulesWithOptions(request, runtime);
|
|
14820
14915
|
}
|
|
14821
14916
|
/**
|
|
14822
|
-
*
|
|
14917
|
+
* Queries the automatic SQL throttling rules of a database instance.
|
|
14823
14918
|
*
|
|
14824
|
-
* @
|
|
14919
|
+
* @remarks
|
|
14920
|
+
* Before you call this operation, take note of the following items:
|
|
14825
14921
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14826
14922
|
* * The database instance that you want to manage is of one of the following types:
|
|
14827
14923
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0.
|
|
14828
14924
|
* * PolarDB for MySQL Cluster Edition instance that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition instance that runs MySQL 8.0.
|
|
14829
14925
|
*
|
|
14830
|
-
* @param request GetAutoThrottleRulesRequest
|
|
14831
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14832
|
-
* @
|
|
14926
|
+
* @param request - GetAutoThrottleRulesRequest
|
|
14927
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14928
|
+
* @returns GetAutoThrottleRulesResponse
|
|
14833
14929
|
*/
|
|
14834
14930
|
async getAutoThrottleRulesWithOptions(request, runtime) {
|
|
14835
14931
|
tea_util_1.default.validateModel(request);
|
|
@@ -14857,33 +14953,35 @@ class Client extends openapi_client_1.default {
|
|
|
14857
14953
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAutoThrottleRulesResponse({}));
|
|
14858
14954
|
}
|
|
14859
14955
|
/**
|
|
14860
|
-
*
|
|
14956
|
+
* Queries the automatic SQL throttling rules of a database instance.
|
|
14861
14957
|
*
|
|
14862
|
-
* @
|
|
14958
|
+
* @remarks
|
|
14959
|
+
* Before you call this operation, take note of the following items:
|
|
14863
14960
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14864
14961
|
* * The database instance that you want to manage is of one of the following types:
|
|
14865
14962
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0.
|
|
14866
14963
|
* * PolarDB for MySQL Cluster Edition instance that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition instance that runs MySQL 8.0.
|
|
14867
14964
|
*
|
|
14868
|
-
* @param request GetAutoThrottleRulesRequest
|
|
14869
|
-
* @
|
|
14965
|
+
* @param request - GetAutoThrottleRulesRequest
|
|
14966
|
+
* @returns GetAutoThrottleRulesResponse
|
|
14870
14967
|
*/
|
|
14871
14968
|
async getAutoThrottleRules(request) {
|
|
14872
14969
|
let runtime = new $Util.RuntimeOptions({});
|
|
14873
14970
|
return await this.getAutoThrottleRulesWithOptions(request, runtime);
|
|
14874
14971
|
}
|
|
14875
14972
|
/**
|
|
14876
|
-
*
|
|
14973
|
+
* Queries the details of notification events of a database instance.
|
|
14877
14974
|
*
|
|
14878
|
-
* @
|
|
14975
|
+
* @remarks
|
|
14976
|
+
* Before you call this operation, take note of the following items:
|
|
14879
14977
|
* * If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
14880
14978
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
14881
14979
|
* * After your instance is connected to DAS, notification events such as snapshot capture are triggered if DAS detects changes to database monitoring metrics during anomaly detection.
|
|
14882
14980
|
* > You can query the details of notification events only if the autonomy center is enabled. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
14883
14981
|
*
|
|
14884
|
-
* @param request GetAutonomousNotifyEventContentRequest
|
|
14885
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14886
|
-
* @
|
|
14982
|
+
* @param request - GetAutonomousNotifyEventContentRequest
|
|
14983
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14984
|
+
* @returns GetAutonomousNotifyEventContentResponse
|
|
14887
14985
|
*/
|
|
14888
14986
|
async getAutonomousNotifyEventContentWithOptions(request, runtime) {
|
|
14889
14987
|
tea_util_1.default.validateModel(request);
|
|
@@ -14914,33 +15012,35 @@ class Client extends openapi_client_1.default {
|
|
|
14914
15012
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAutonomousNotifyEventContentResponse({}));
|
|
14915
15013
|
}
|
|
14916
15014
|
/**
|
|
14917
|
-
*
|
|
15015
|
+
* Queries the details of notification events of a database instance.
|
|
14918
15016
|
*
|
|
14919
|
-
* @
|
|
15017
|
+
* @remarks
|
|
15018
|
+
* Before you call this operation, take note of the following items:
|
|
14920
15019
|
* * If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
14921
15020
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
14922
15021
|
* * After your instance is connected to DAS, notification events such as snapshot capture are triggered if DAS detects changes to database monitoring metrics during anomaly detection.
|
|
14923
15022
|
* > You can query the details of notification events only if the autonomy center is enabled. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
14924
15023
|
*
|
|
14925
|
-
* @param request GetAutonomousNotifyEventContentRequest
|
|
14926
|
-
* @
|
|
15024
|
+
* @param request - GetAutonomousNotifyEventContentRequest
|
|
15025
|
+
* @returns GetAutonomousNotifyEventContentResponse
|
|
14927
15026
|
*/
|
|
14928
15027
|
async getAutonomousNotifyEventContent(request) {
|
|
14929
15028
|
let runtime = new $Util.RuntimeOptions({});
|
|
14930
15029
|
return await this.getAutonomousNotifyEventContentWithOptions(request, runtime);
|
|
14931
15030
|
}
|
|
14932
15031
|
/**
|
|
14933
|
-
*
|
|
15032
|
+
* Queries the notification events of one or more urgency levels within a period.
|
|
14934
15033
|
*
|
|
14935
|
-
* @
|
|
15034
|
+
* @remarks
|
|
15035
|
+
* Before you call this operation, take note of the following items:
|
|
14936
15036
|
* * If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
14937
15037
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
14938
15038
|
* * After your instance is connected to DAS, notification events such as snapshot capture are triggered if DAS detects changes to database monitoring metrics during anomaly detection.
|
|
14939
15039
|
* > You can query the details of notification events only if the autonomy center is enabled. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
14940
15040
|
*
|
|
14941
|
-
* @param request GetAutonomousNotifyEventsInRangeRequest
|
|
14942
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
14943
|
-
* @
|
|
15041
|
+
* @param request - GetAutonomousNotifyEventsInRangeRequest
|
|
15042
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15043
|
+
* @returns GetAutonomousNotifyEventsInRangeResponse
|
|
14944
15044
|
*/
|
|
14945
15045
|
async getAutonomousNotifyEventsInRangeWithOptions(request, runtime) {
|
|
14946
15046
|
tea_util_1.default.validateModel(request);
|
|
@@ -14992,31 +15092,33 @@ class Client extends openapi_client_1.default {
|
|
|
14992
15092
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAutonomousNotifyEventsInRangeResponse({}));
|
|
14993
15093
|
}
|
|
14994
15094
|
/**
|
|
14995
|
-
*
|
|
15095
|
+
* Queries the notification events of one or more urgency levels within a period.
|
|
14996
15096
|
*
|
|
14997
|
-
* @
|
|
15097
|
+
* @remarks
|
|
15098
|
+
* Before you call this operation, take note of the following items:
|
|
14998
15099
|
* * If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
14999
15100
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
15000
15101
|
* * After your instance is connected to DAS, notification events such as snapshot capture are triggered if DAS detects changes to database monitoring metrics during anomaly detection.
|
|
15001
15102
|
* > You can query the details of notification events only if the autonomy center is enabled. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
15002
15103
|
*
|
|
15003
|
-
* @param request GetAutonomousNotifyEventsInRangeRequest
|
|
15004
|
-
* @
|
|
15104
|
+
* @param request - GetAutonomousNotifyEventsInRangeRequest
|
|
15105
|
+
* @returns GetAutonomousNotifyEventsInRangeResponse
|
|
15005
15106
|
*/
|
|
15006
15107
|
async getAutonomousNotifyEventsInRange(request) {
|
|
15007
15108
|
let runtime = new $Util.RuntimeOptions({});
|
|
15008
15109
|
return await this.getAutonomousNotifyEventsInRangeWithOptions(request, runtime);
|
|
15009
15110
|
}
|
|
15010
15111
|
/**
|
|
15011
|
-
*
|
|
15112
|
+
* Queries the blocking statistics of an instance.
|
|
15012
15113
|
*
|
|
15013
|
-
* @
|
|
15114
|
+
* @remarks
|
|
15115
|
+
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
15014
15116
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15015
15117
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15016
15118
|
*
|
|
15017
|
-
* @param request GetBlockingDetailListRequest
|
|
15018
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15019
|
-
* @
|
|
15119
|
+
* @param request - GetBlockingDetailListRequest
|
|
15120
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15121
|
+
* @returns GetBlockingDetailListResponse
|
|
15020
15122
|
*/
|
|
15021
15123
|
async getBlockingDetailListWithOptions(request, runtime) {
|
|
15022
15124
|
tea_util_1.default.validateModel(request);
|
|
@@ -15059,30 +15161,32 @@ class Client extends openapi_client_1.default {
|
|
|
15059
15161
|
return $tea.cast(await this.callApi(params, req, runtime), new GetBlockingDetailListResponse({}));
|
|
15060
15162
|
}
|
|
15061
15163
|
/**
|
|
15062
|
-
*
|
|
15164
|
+
* Queries the blocking statistics of an instance.
|
|
15063
15165
|
*
|
|
15064
|
-
* @
|
|
15166
|
+
* @remarks
|
|
15167
|
+
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
15065
15168
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15066
15169
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15067
15170
|
*
|
|
15068
|
-
* @param request GetBlockingDetailListRequest
|
|
15069
|
-
* @
|
|
15171
|
+
* @param request - GetBlockingDetailListRequest
|
|
15172
|
+
* @returns GetBlockingDetailListResponse
|
|
15070
15173
|
*/
|
|
15071
15174
|
async getBlockingDetailList(request) {
|
|
15072
15175
|
let runtime = new $Util.RuntimeOptions({});
|
|
15073
15176
|
return await this.getBlockingDetailListWithOptions(request, runtime);
|
|
15074
15177
|
}
|
|
15075
15178
|
/**
|
|
15076
|
-
*
|
|
15179
|
+
* Queries the diagnosis of network connectivity when a user accesses a specific database instance by specifying an IP address.
|
|
15077
15180
|
*
|
|
15078
|
-
* @
|
|
15181
|
+
* @remarks
|
|
15182
|
+
* Before you call this operation, take note of the following items:
|
|
15079
15183
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15080
15184
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15081
15185
|
* * The database instance that you want to manage is connected to DAS.
|
|
15082
15186
|
*
|
|
15083
|
-
* @param request GetDBInstanceConnectivityDiagnosisRequest
|
|
15084
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15085
|
-
* @
|
|
15187
|
+
* @param request - GetDBInstanceConnectivityDiagnosisRequest
|
|
15188
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15189
|
+
* @returns GetDBInstanceConnectivityDiagnosisResponse
|
|
15086
15190
|
*/
|
|
15087
15191
|
async getDBInstanceConnectivityDiagnosisWithOptions(request, runtime) {
|
|
15088
15192
|
tea_util_1.default.validateModel(request);
|
|
@@ -15110,31 +15214,33 @@ class Client extends openapi_client_1.default {
|
|
|
15110
15214
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDBInstanceConnectivityDiagnosisResponse({}));
|
|
15111
15215
|
}
|
|
15112
15216
|
/**
|
|
15113
|
-
*
|
|
15217
|
+
* Queries the diagnosis of network connectivity when a user accesses a specific database instance by specifying an IP address.
|
|
15114
15218
|
*
|
|
15115
|
-
* @
|
|
15219
|
+
* @remarks
|
|
15220
|
+
* Before you call this operation, take note of the following items:
|
|
15116
15221
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15117
15222
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15118
15223
|
* * The database instance that you want to manage is connected to DAS.
|
|
15119
15224
|
*
|
|
15120
|
-
* @param request GetDBInstanceConnectivityDiagnosisRequest
|
|
15121
|
-
* @
|
|
15225
|
+
* @param request - GetDBInstanceConnectivityDiagnosisRequest
|
|
15226
|
+
* @returns GetDBInstanceConnectivityDiagnosisResponse
|
|
15122
15227
|
*/
|
|
15123
15228
|
async getDBInstanceConnectivityDiagnosis(request) {
|
|
15124
15229
|
let runtime = new $Util.RuntimeOptions({});
|
|
15125
15230
|
return await this.getDBInstanceConnectivityDiagnosisWithOptions(request, runtime);
|
|
15126
15231
|
}
|
|
15127
15232
|
/**
|
|
15128
|
-
*
|
|
15233
|
+
* Queries the storage usage of SQL Explorer of a database instance.
|
|
15129
15234
|
*
|
|
15130
|
-
* @
|
|
15235
|
+
* @remarks
|
|
15236
|
+
* For information about database instances that support this operation, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
15131
15237
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15132
15238
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15133
15239
|
* * This operation is applicable only to DAS Enterprise Edition V1 and V2.
|
|
15134
15240
|
*
|
|
15135
|
-
* @param request GetDasProServiceUsageRequest
|
|
15136
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15137
|
-
* @
|
|
15241
|
+
* @param request - GetDasProServiceUsageRequest
|
|
15242
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15243
|
+
* @returns GetDasProServiceUsageResponse
|
|
15138
15244
|
*/
|
|
15139
15245
|
async getDasProServiceUsageWithOptions(request, runtime) {
|
|
15140
15246
|
tea_util_1.default.validateModel(request);
|
|
@@ -15162,32 +15268,34 @@ class Client extends openapi_client_1.default {
|
|
|
15162
15268
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDasProServiceUsageResponse({}));
|
|
15163
15269
|
}
|
|
15164
15270
|
/**
|
|
15165
|
-
*
|
|
15271
|
+
* Queries the storage usage of SQL Explorer of a database instance.
|
|
15166
15272
|
*
|
|
15167
|
-
* @
|
|
15273
|
+
* @remarks
|
|
15274
|
+
* For information about database instances that support this operation, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
15168
15275
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15169
15276
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15170
15277
|
* * This operation is applicable only to DAS Enterprise Edition V1 and V2.
|
|
15171
15278
|
*
|
|
15172
|
-
* @param request GetDasProServiceUsageRequest
|
|
15173
|
-
* @
|
|
15279
|
+
* @param request - GetDasProServiceUsageRequest
|
|
15280
|
+
* @returns GetDasProServiceUsageResponse
|
|
15174
15281
|
*/
|
|
15175
15282
|
async getDasProServiceUsage(request) {
|
|
15176
15283
|
let runtime = new $Util.RuntimeOptions({});
|
|
15177
15284
|
return await this.getDasProServiceUsageWithOptions(request, runtime);
|
|
15178
15285
|
}
|
|
15179
15286
|
/**
|
|
15180
|
-
*
|
|
15287
|
+
* Queries the details of the hot storage data that Database Autonomy Service (DAS) Enterprise Edition V2 or V3 generated for a database instance within the previous seven days.
|
|
15181
15288
|
*
|
|
15182
|
-
* @
|
|
15289
|
+
* @remarks
|
|
15290
|
+
* Before you call this operation, take note of the following items:
|
|
15183
15291
|
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15184
15292
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15185
15293
|
* * The database instance that you want to manage must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster in the China (Shanghai) region.
|
|
15186
15294
|
* > You can query only the data generated after DAS Enterprise Edition V2 or V3 was enabled. The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the beginning and the end of the time range to query cannot exceed 24 hours.
|
|
15187
15295
|
*
|
|
15188
|
-
* @param request GetDasSQLLogHotDataRequest
|
|
15189
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15190
|
-
* @
|
|
15296
|
+
* @param request - GetDasSQLLogHotDataRequest
|
|
15297
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15298
|
+
* @returns GetDasSQLLogHotDataResponse
|
|
15191
15299
|
*/
|
|
15192
15300
|
async getDasSQLLogHotDataWithOptions(request, runtime) {
|
|
15193
15301
|
tea_util_1.default.validateModel(request);
|
|
@@ -15293,31 +15401,33 @@ class Client extends openapi_client_1.default {
|
|
|
15293
15401
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDasSQLLogHotDataResponse({}));
|
|
15294
15402
|
}
|
|
15295
15403
|
/**
|
|
15296
|
-
*
|
|
15404
|
+
* Queries the details of the hot storage data that Database Autonomy Service (DAS) Enterprise Edition V2 or V3 generated for a database instance within the previous seven days.
|
|
15297
15405
|
*
|
|
15298
|
-
* @
|
|
15406
|
+
* @remarks
|
|
15407
|
+
* Before you call this operation, take note of the following items:
|
|
15299
15408
|
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15300
15409
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15301
15410
|
* * The database instance that you want to manage must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster in the China (Shanghai) region.
|
|
15302
15411
|
* > You can query only the data generated after DAS Enterprise Edition V2 or V3 was enabled. The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the beginning and the end of the time range to query cannot exceed 24 hours.
|
|
15303
15412
|
*
|
|
15304
|
-
* @param request GetDasSQLLogHotDataRequest
|
|
15305
|
-
* @
|
|
15413
|
+
* @param request - GetDasSQLLogHotDataRequest
|
|
15414
|
+
* @returns GetDasSQLLogHotDataResponse
|
|
15306
15415
|
*/
|
|
15307
15416
|
async getDasSQLLogHotData(request) {
|
|
15308
15417
|
let runtime = new $Util.RuntimeOptions({});
|
|
15309
15418
|
return await this.getDasSQLLogHotDataWithOptions(request, runtime);
|
|
15310
15419
|
}
|
|
15311
15420
|
/**
|
|
15312
|
-
*
|
|
15421
|
+
* Queries the deadlock details of an instance.
|
|
15313
15422
|
*
|
|
15314
|
-
* @
|
|
15423
|
+
* @remarks
|
|
15424
|
+
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
15315
15425
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15316
15426
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15317
15427
|
*
|
|
15318
|
-
* @param request GetDeadLockDetailListRequest
|
|
15319
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15320
|
-
* @
|
|
15428
|
+
* @param request - GetDeadLockDetailListRequest
|
|
15429
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15430
|
+
* @returns GetDeadLockDetailListResponse
|
|
15321
15431
|
*/
|
|
15322
15432
|
async getDeadLockDetailListWithOptions(request, runtime) {
|
|
15323
15433
|
tea_util_1.default.validateModel(request);
|
|
@@ -15357,23 +15467,24 @@ class Client extends openapi_client_1.default {
|
|
|
15357
15467
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDeadLockDetailListResponse({}));
|
|
15358
15468
|
}
|
|
15359
15469
|
/**
|
|
15360
|
-
*
|
|
15470
|
+
* Queries the deadlock details of an instance.
|
|
15361
15471
|
*
|
|
15362
|
-
* @
|
|
15472
|
+
* @remarks
|
|
15473
|
+
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
15363
15474
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15364
15475
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15365
15476
|
*
|
|
15366
|
-
* @param request GetDeadLockDetailListRequest
|
|
15367
|
-
* @
|
|
15477
|
+
* @param request - GetDeadLockDetailListRequest
|
|
15478
|
+
* @returns GetDeadLockDetailListResponse
|
|
15368
15479
|
*/
|
|
15369
15480
|
async getDeadLockDetailList(request) {
|
|
15370
15481
|
let runtime = new $Util.RuntimeOptions({});
|
|
15371
15482
|
return await this.getDeadLockDetailListWithOptions(request, runtime);
|
|
15372
15483
|
}
|
|
15373
15484
|
/**
|
|
15374
|
-
* @param request GetEndpointSwitchTaskRequest
|
|
15375
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15376
|
-
* @
|
|
15485
|
+
* @param request - GetEndpointSwitchTaskRequest
|
|
15486
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15487
|
+
* @returns GetEndpointSwitchTaskResponse
|
|
15377
15488
|
*/
|
|
15378
15489
|
async getEndpointSwitchTaskWithOptions(request, runtime) {
|
|
15379
15490
|
tea_util_1.default.validateModel(request);
|
|
@@ -15419,23 +15530,24 @@ class Client extends openapi_client_1.default {
|
|
|
15419
15530
|
return $tea.cast(await this.callApi(params, req, runtime), new GetEndpointSwitchTaskResponse({}));
|
|
15420
15531
|
}
|
|
15421
15532
|
/**
|
|
15422
|
-
* @param request GetEndpointSwitchTaskRequest
|
|
15423
|
-
* @
|
|
15533
|
+
* @param request - GetEndpointSwitchTaskRequest
|
|
15534
|
+
* @returns GetEndpointSwitchTaskResponse
|
|
15424
15535
|
*/
|
|
15425
15536
|
async getEndpointSwitchTask(request) {
|
|
15426
15537
|
let runtime = new $Util.RuntimeOptions({});
|
|
15427
15538
|
return await this.getEndpointSwitchTaskWithOptions(request, runtime);
|
|
15428
15539
|
}
|
|
15429
15540
|
/**
|
|
15430
|
-
*
|
|
15541
|
+
* Asynchronously queries information about failed SQL queries in SQL Explorer data. You can query up to 20 failed SQL queries within the specific time range.
|
|
15431
15542
|
*
|
|
15432
|
-
* @
|
|
15543
|
+
* @remarks
|
|
15544
|
+
* > GetErrorRequestSample is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
|
|
15433
15545
|
* * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
15434
15546
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15435
15547
|
*
|
|
15436
|
-
* @param request GetErrorRequestSampleRequest
|
|
15437
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15438
|
-
* @
|
|
15548
|
+
* @param request - GetErrorRequestSampleRequest
|
|
15549
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15550
|
+
* @returns GetErrorRequestSampleResponse
|
|
15439
15551
|
*/
|
|
15440
15552
|
async getErrorRequestSampleWithOptions(request, runtime) {
|
|
15441
15553
|
tea_util_1.default.validateModel(request);
|
|
@@ -15475,30 +15587,32 @@ class Client extends openapi_client_1.default {
|
|
|
15475
15587
|
return $tea.cast(await this.callApi(params, req, runtime), new GetErrorRequestSampleResponse({}));
|
|
15476
15588
|
}
|
|
15477
15589
|
/**
|
|
15478
|
-
*
|
|
15590
|
+
* Asynchronously queries information about failed SQL queries in SQL Explorer data. You can query up to 20 failed SQL queries within the specific time range.
|
|
15479
15591
|
*
|
|
15480
|
-
* @
|
|
15592
|
+
* @remarks
|
|
15593
|
+
* > GetErrorRequestSample is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
|
|
15481
15594
|
* * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
15482
15595
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15483
15596
|
*
|
|
15484
|
-
* @param request GetErrorRequestSampleRequest
|
|
15485
|
-
* @
|
|
15597
|
+
* @param request - GetErrorRequestSampleRequest
|
|
15598
|
+
* @returns GetErrorRequestSampleResponse
|
|
15486
15599
|
*/
|
|
15487
15600
|
async getErrorRequestSample(request) {
|
|
15488
15601
|
let runtime = new $Util.RuntimeOptions({});
|
|
15489
15602
|
return await this.getErrorRequestSampleWithOptions(request, runtime);
|
|
15490
15603
|
}
|
|
15491
15604
|
/**
|
|
15492
|
-
*
|
|
15605
|
+
* Queries the event subscription settings of a database instance.
|
|
15493
15606
|
*
|
|
15494
|
-
* @
|
|
15607
|
+
* @remarks
|
|
15608
|
+
* Before you call this operation, take note of the following items:
|
|
15495
15609
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15496
15610
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
15497
15611
|
* * The database instance that you want to manage is connected to DAS.
|
|
15498
15612
|
*
|
|
15499
|
-
* @param request GetEventSubscriptionRequest
|
|
15500
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15501
|
-
* @
|
|
15613
|
+
* @param request - GetEventSubscriptionRequest
|
|
15614
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15615
|
+
* @returns GetEventSubscriptionResponse
|
|
15502
15616
|
*/
|
|
15503
15617
|
async getEventSubscriptionWithOptions(request, runtime) {
|
|
15504
15618
|
tea_util_1.default.validateModel(request);
|
|
@@ -15523,30 +15637,32 @@ class Client extends openapi_client_1.default {
|
|
|
15523
15637
|
return $tea.cast(await this.callApi(params, req, runtime), new GetEventSubscriptionResponse({}));
|
|
15524
15638
|
}
|
|
15525
15639
|
/**
|
|
15526
|
-
*
|
|
15640
|
+
* Queries the event subscription settings of a database instance.
|
|
15527
15641
|
*
|
|
15528
|
-
* @
|
|
15642
|
+
* @remarks
|
|
15643
|
+
* Before you call this operation, take note of the following items:
|
|
15529
15644
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15530
15645
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
15531
15646
|
* * The database instance that you want to manage is connected to DAS.
|
|
15532
15647
|
*
|
|
15533
|
-
* @param request GetEventSubscriptionRequest
|
|
15534
|
-
* @
|
|
15648
|
+
* @param request - GetEventSubscriptionRequest
|
|
15649
|
+
* @returns GetEventSubscriptionResponse
|
|
15535
15650
|
*/
|
|
15536
15651
|
async getEventSubscription(request) {
|
|
15537
15652
|
let runtime = new $Util.RuntimeOptions({});
|
|
15538
15653
|
return await this.getEventSubscriptionWithOptions(request, runtime);
|
|
15539
15654
|
}
|
|
15540
15655
|
/**
|
|
15541
|
-
*
|
|
15656
|
+
* Collects the full request statistics in the SQL Explorer results of a database instance by access source.
|
|
15542
15657
|
*
|
|
15543
|
-
* @
|
|
15658
|
+
* @remarks
|
|
15659
|
+
* The SQL Explorer feature allows you to check the health status of SQL statements and troubleshoot performance issues. For more information, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
|
|
15544
15660
|
* * For more information about database instances that support this feature, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
15545
15661
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
15546
15662
|
*
|
|
15547
|
-
* @param request GetFullRequestOriginStatByInstanceIdRequest
|
|
15548
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15549
|
-
* @
|
|
15663
|
+
* @param request - GetFullRequestOriginStatByInstanceIdRequest
|
|
15664
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15665
|
+
* @returns GetFullRequestOriginStatByInstanceIdResponse
|
|
15550
15666
|
*/
|
|
15551
15667
|
async getFullRequestOriginStatByInstanceIdWithOptions(request, runtime) {
|
|
15552
15668
|
tea_util_1.default.validateModel(request);
|
|
@@ -15601,29 +15717,31 @@ class Client extends openapi_client_1.default {
|
|
|
15601
15717
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFullRequestOriginStatByInstanceIdResponse({}));
|
|
15602
15718
|
}
|
|
15603
15719
|
/**
|
|
15604
|
-
*
|
|
15720
|
+
* Collects the full request statistics in the SQL Explorer results of a database instance by access source.
|
|
15605
15721
|
*
|
|
15606
|
-
* @
|
|
15722
|
+
* @remarks
|
|
15723
|
+
* The SQL Explorer feature allows you to check the health status of SQL statements and troubleshoot performance issues. For more information, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
|
|
15607
15724
|
* * For more information about database instances that support this feature, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
15608
15725
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
15609
15726
|
*
|
|
15610
|
-
* @param request GetFullRequestOriginStatByInstanceIdRequest
|
|
15611
|
-
* @
|
|
15727
|
+
* @param request - GetFullRequestOriginStatByInstanceIdRequest
|
|
15728
|
+
* @returns GetFullRequestOriginStatByInstanceIdResponse
|
|
15612
15729
|
*/
|
|
15613
15730
|
async getFullRequestOriginStatByInstanceId(request) {
|
|
15614
15731
|
let runtime = new $Util.RuntimeOptions({});
|
|
15615
15732
|
return await this.getFullRequestOriginStatByInstanceIdWithOptions(request, runtime);
|
|
15616
15733
|
}
|
|
15617
15734
|
/**
|
|
15618
|
-
*
|
|
15735
|
+
* Queries sample SQL statements in the SQL Explorer data of a database instance by SQL ID. You can query up to 20 sample SQL statements.
|
|
15619
15736
|
*
|
|
15620
|
-
* @
|
|
15737
|
+
* @remarks
|
|
15738
|
+
* The SQL Explorer feature allows you to check the health status of SQL statements and troubleshoot performance issues. For more information, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
|
|
15621
15739
|
* * For more information about the database engines that support SQL Explorer, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
|
|
15622
15740
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15623
15741
|
*
|
|
15624
|
-
* @param request GetFullRequestSampleByInstanceIdRequest
|
|
15625
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15626
|
-
* @
|
|
15742
|
+
* @param request - GetFullRequestSampleByInstanceIdRequest
|
|
15743
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15744
|
+
* @returns GetFullRequestSampleByInstanceIdResponse
|
|
15627
15745
|
*/
|
|
15628
15746
|
async getFullRequestSampleByInstanceIdWithOptions(request, runtime) {
|
|
15629
15747
|
tea_util_1.default.validateModel(request);
|
|
@@ -15665,30 +15783,32 @@ class Client extends openapi_client_1.default {
|
|
|
15665
15783
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFullRequestSampleByInstanceIdResponse({}));
|
|
15666
15784
|
}
|
|
15667
15785
|
/**
|
|
15668
|
-
*
|
|
15786
|
+
* Queries sample SQL statements in the SQL Explorer data of a database instance by SQL ID. You can query up to 20 sample SQL statements.
|
|
15669
15787
|
*
|
|
15670
|
-
* @
|
|
15788
|
+
* @remarks
|
|
15789
|
+
* The SQL Explorer feature allows you to check the health status of SQL statements and troubleshoot performance issues. For more information, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
|
|
15671
15790
|
* * For more information about the database engines that support SQL Explorer, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
|
|
15672
15791
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15673
15792
|
*
|
|
15674
|
-
* @param request GetFullRequestSampleByInstanceIdRequest
|
|
15675
|
-
* @
|
|
15793
|
+
* @param request - GetFullRequestSampleByInstanceIdRequest
|
|
15794
|
+
* @returns GetFullRequestSampleByInstanceIdResponse
|
|
15676
15795
|
*/
|
|
15677
15796
|
async getFullRequestSampleByInstanceId(request) {
|
|
15678
15797
|
let runtime = new $Util.RuntimeOptions({});
|
|
15679
15798
|
return await this.getFullRequestSampleByInstanceIdWithOptions(request, runtime);
|
|
15680
15799
|
}
|
|
15681
15800
|
/**
|
|
15682
|
-
*
|
|
15801
|
+
* Asynchronously collects the full request statistics in the SQL Explorer results of a database instance by SQL ID.
|
|
15683
15802
|
*
|
|
15684
|
-
* @
|
|
15803
|
+
* @remarks
|
|
15804
|
+
* > The complete query results are not returned immediately after an asynchronous request is sent. If the value of isFinish is **false** in the response, wait for 1 second and send the request again. The complete query results are returned until the value of isFinish is **true**.
|
|
15685
15805
|
* The SQL Explorer feature allows you to check the health status of SQL statements and troubleshoot performance issues. For more information, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
|
|
15686
15806
|
* * For more information about database instances that support SQL Explorer, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
15687
15807
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
15688
15808
|
*
|
|
15689
|
-
* @param request GetFullRequestStatResultByInstanceIdRequest
|
|
15690
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15691
|
-
* @
|
|
15809
|
+
* @param request - GetFullRequestStatResultByInstanceIdRequest
|
|
15810
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15811
|
+
* @returns GetFullRequestStatResultByInstanceIdResponse
|
|
15692
15812
|
*/
|
|
15693
15813
|
async getFullRequestStatResultByInstanceIdWithOptions(request, runtime) {
|
|
15694
15814
|
tea_util_1.default.validateModel(request);
|
|
@@ -15755,24 +15875,25 @@ class Client extends openapi_client_1.default {
|
|
|
15755
15875
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFullRequestStatResultByInstanceIdResponse({}));
|
|
15756
15876
|
}
|
|
15757
15877
|
/**
|
|
15758
|
-
*
|
|
15878
|
+
* Asynchronously collects the full request statistics in the SQL Explorer results of a database instance by SQL ID.
|
|
15759
15879
|
*
|
|
15760
|
-
* @
|
|
15880
|
+
* @remarks
|
|
15881
|
+
* > The complete query results are not returned immediately after an asynchronous request is sent. If the value of isFinish is **false** in the response, wait for 1 second and send the request again. The complete query results are returned until the value of isFinish is **true**.
|
|
15761
15882
|
* The SQL Explorer feature allows you to check the health status of SQL statements and troubleshoot performance issues. For more information, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
|
|
15762
15883
|
* * For more information about database instances that support SQL Explorer, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
15763
15884
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
15764
15885
|
*
|
|
15765
|
-
* @param request GetFullRequestStatResultByInstanceIdRequest
|
|
15766
|
-
* @
|
|
15886
|
+
* @param request - GetFullRequestStatResultByInstanceIdRequest
|
|
15887
|
+
* @returns GetFullRequestStatResultByInstanceIdResponse
|
|
15767
15888
|
*/
|
|
15768
15889
|
async getFullRequestStatResultByInstanceId(request) {
|
|
15769
15890
|
let runtime = new $Util.RuntimeOptions({});
|
|
15770
15891
|
return await this.getFullRequestStatResultByInstanceIdWithOptions(request, runtime);
|
|
15771
15892
|
}
|
|
15772
15893
|
/**
|
|
15773
|
-
* @param request GetHDMAliyunResourceSyncResultRequest
|
|
15774
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15775
|
-
* @
|
|
15894
|
+
* @param request - GetHDMAliyunResourceSyncResultRequest
|
|
15895
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15896
|
+
* @returns GetHDMAliyunResourceSyncResultResponse
|
|
15776
15897
|
*/
|
|
15777
15898
|
async getHDMAliyunResourceSyncResultWithOptions(request, runtime) {
|
|
15778
15899
|
tea_util_1.default.validateModel(request);
|
|
@@ -15818,17 +15939,17 @@ class Client extends openapi_client_1.default {
|
|
|
15818
15939
|
return $tea.cast(await this.callApi(params, req, runtime), new GetHDMAliyunResourceSyncResultResponse({}));
|
|
15819
15940
|
}
|
|
15820
15941
|
/**
|
|
15821
|
-
* @param request GetHDMAliyunResourceSyncResultRequest
|
|
15822
|
-
* @
|
|
15942
|
+
* @param request - GetHDMAliyunResourceSyncResultRequest
|
|
15943
|
+
* @returns GetHDMAliyunResourceSyncResultResponse
|
|
15823
15944
|
*/
|
|
15824
15945
|
async getHDMAliyunResourceSyncResult(request) {
|
|
15825
15946
|
let runtime = new $Util.RuntimeOptions({});
|
|
15826
15947
|
return await this.getHDMAliyunResourceSyncResultWithOptions(request, runtime);
|
|
15827
15948
|
}
|
|
15828
15949
|
/**
|
|
15829
|
-
* @param request GetHDMLastAliyunResourceSyncResultRequest
|
|
15830
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15831
|
-
* @
|
|
15950
|
+
* @param request - GetHDMLastAliyunResourceSyncResultRequest
|
|
15951
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15952
|
+
* @returns GetHDMLastAliyunResourceSyncResultResponse
|
|
15832
15953
|
*/
|
|
15833
15954
|
async getHDMLastAliyunResourceSyncResultWithOptions(request, runtime) {
|
|
15834
15955
|
tea_util_1.default.validateModel(request);
|
|
@@ -15871,26 +15992,27 @@ class Client extends openapi_client_1.default {
|
|
|
15871
15992
|
return $tea.cast(await this.callApi(params, req, runtime), new GetHDMLastAliyunResourceSyncResultResponse({}));
|
|
15872
15993
|
}
|
|
15873
15994
|
/**
|
|
15874
|
-
* @param request GetHDMLastAliyunResourceSyncResultRequest
|
|
15875
|
-
* @
|
|
15995
|
+
* @param request - GetHDMLastAliyunResourceSyncResultRequest
|
|
15996
|
+
* @returns GetHDMLastAliyunResourceSyncResultResponse
|
|
15876
15997
|
*/
|
|
15877
15998
|
async getHDMLastAliyunResourceSyncResult(request) {
|
|
15878
15999
|
let runtime = new $Util.RuntimeOptions({});
|
|
15879
16000
|
return await this.getHDMLastAliyunResourceSyncResultWithOptions(request, runtime);
|
|
15880
16001
|
}
|
|
15881
16002
|
/**
|
|
15882
|
-
*
|
|
16003
|
+
* Queries the result of an inspection that is performed on a database instance by using the inspection and scoring feature.
|
|
15883
16004
|
*
|
|
15884
|
-
* @
|
|
16005
|
+
* @remarks
|
|
16006
|
+
* Database Autonomy Service (DAS) provides the inspection and scoring feature. This feature allows you to inspect and score the health status of your instance on a regular basis. This helps you obtain information about the status of your databases. For more information, see [Inspection and scoring](https://help.aliyun.com/document_detail/205659.html).
|
|
15885
16007
|
* Before you call this operation, take note of the following items:
|
|
15886
16008
|
* * This operation is applicable only to ApsaraDB RDS for MySQL databases, self-managed MySQL databases hosted on Elastic Compute Service (ECS) instances, self-managed MySQL databases in data centers, ApsaraDB for Redis databases, and PolarDB for MySQL databases.
|
|
15887
16009
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V4.3.3. We recommend that you use the latest version.
|
|
15888
16010
|
* * The version of DAS SDK must be V1.0.3 or later.
|
|
15889
16011
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
15890
16012
|
*
|
|
15891
|
-
* @param request GetInstanceInspectionsRequest
|
|
15892
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15893
|
-
* @
|
|
16013
|
+
* @param request - GetInstanceInspectionsRequest
|
|
16014
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16015
|
+
* @returns GetInstanceInspectionsResponse
|
|
15894
16016
|
*/
|
|
15895
16017
|
async getInstanceInspectionsWithOptions(request, runtime) {
|
|
15896
16018
|
tea_util_1.default.validateModel(request);
|
|
@@ -15936,32 +16058,34 @@ class Client extends openapi_client_1.default {
|
|
|
15936
16058
|
return $tea.cast(await this.callApi(params, req, runtime), new GetInstanceInspectionsResponse({}));
|
|
15937
16059
|
}
|
|
15938
16060
|
/**
|
|
15939
|
-
*
|
|
16061
|
+
* Queries the result of an inspection that is performed on a database instance by using the inspection and scoring feature.
|
|
15940
16062
|
*
|
|
15941
|
-
* @
|
|
16063
|
+
* @remarks
|
|
16064
|
+
* Database Autonomy Service (DAS) provides the inspection and scoring feature. This feature allows you to inspect and score the health status of your instance on a regular basis. This helps you obtain information about the status of your databases. For more information, see [Inspection and scoring](https://help.aliyun.com/document_detail/205659.html).
|
|
15942
16065
|
* Before you call this operation, take note of the following items:
|
|
15943
16066
|
* * This operation is applicable only to ApsaraDB RDS for MySQL databases, self-managed MySQL databases hosted on Elastic Compute Service (ECS) instances, self-managed MySQL databases in data centers, ApsaraDB for Redis databases, and PolarDB for MySQL databases.
|
|
15944
16067
|
* * If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V4.3.3. We recommend that you use the latest version.
|
|
15945
16068
|
* * The version of DAS SDK must be V1.0.3 or later.
|
|
15946
16069
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
15947
16070
|
*
|
|
15948
|
-
* @param request GetInstanceInspectionsRequest
|
|
15949
|
-
* @
|
|
16071
|
+
* @param request - GetInstanceInspectionsRequest
|
|
16072
|
+
* @returns GetInstanceInspectionsResponse
|
|
15950
16073
|
*/
|
|
15951
16074
|
async getInstanceInspections(request) {
|
|
15952
16075
|
let runtime = new $Util.RuntimeOptions({});
|
|
15953
16076
|
return await this.getInstanceInspectionsWithOptions(request, runtime);
|
|
15954
16077
|
}
|
|
15955
16078
|
/**
|
|
15956
|
-
*
|
|
16079
|
+
* Queries the details of all missing indexes of an instance.
|
|
15957
16080
|
*
|
|
15958
|
-
* @
|
|
16081
|
+
* @remarks
|
|
16082
|
+
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
15959
16083
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
15960
16084
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15961
16085
|
*
|
|
15962
|
-
* @param request GetInstanceMissingIndexListRequest
|
|
15963
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
15964
|
-
* @
|
|
16086
|
+
* @param request - GetInstanceMissingIndexListRequest
|
|
16087
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16088
|
+
* @returns GetInstanceMissingIndexListResponse
|
|
15965
16089
|
*/
|
|
15966
16090
|
async getInstanceMissingIndexListWithOptions(request, runtime) {
|
|
15967
16091
|
tea_util_1.default.validateModel(request);
|
|
@@ -16028,30 +16152,32 @@ class Client extends openapi_client_1.default {
|
|
|
16028
16152
|
return $tea.cast(await this.callApi(params, req, runtime), new GetInstanceMissingIndexListResponse({}));
|
|
16029
16153
|
}
|
|
16030
16154
|
/**
|
|
16031
|
-
*
|
|
16155
|
+
* Queries the details of all missing indexes of an instance.
|
|
16032
16156
|
*
|
|
16033
|
-
* @
|
|
16157
|
+
* @remarks
|
|
16158
|
+
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
16034
16159
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16035
16160
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16036
16161
|
*
|
|
16037
|
-
* @param request GetInstanceMissingIndexListRequest
|
|
16038
|
-
* @
|
|
16162
|
+
* @param request - GetInstanceMissingIndexListRequest
|
|
16163
|
+
* @returns GetInstanceMissingIndexListResponse
|
|
16039
16164
|
*/
|
|
16040
16165
|
async getInstanceMissingIndexList(request) {
|
|
16041
16166
|
let runtime = new $Util.RuntimeOptions({});
|
|
16042
16167
|
return await this.getInstanceMissingIndexListWithOptions(request, runtime);
|
|
16043
16168
|
}
|
|
16044
16169
|
/**
|
|
16045
|
-
*
|
|
16170
|
+
* Queries statistics on automatic SQL optimization events within a period of time, such as the total number of optimization events and the maximum improvement.
|
|
16046
16171
|
*
|
|
16047
|
-
* @
|
|
16172
|
+
* @remarks
|
|
16173
|
+
* Before you call this operation, take note of the following items:
|
|
16048
16174
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this API operation, we recommend that you use the latest version of the SDK.
|
|
16049
16175
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16050
16176
|
* * The database engine is ApsaraDB RDS for MySQL or PolarDB for MySQL.
|
|
16051
16177
|
*
|
|
16052
|
-
* @param request GetInstanceSqlOptimizeStatisticRequest
|
|
16053
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16054
|
-
* @
|
|
16178
|
+
* @param request - GetInstanceSqlOptimizeStatisticRequest
|
|
16179
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16180
|
+
* @returns GetInstanceSqlOptimizeStatisticResponse
|
|
16055
16181
|
*/
|
|
16056
16182
|
async getInstanceSqlOptimizeStatisticWithOptions(request, runtime) {
|
|
16057
16183
|
tea_util_1.default.validateModel(request);
|
|
@@ -16094,30 +16220,32 @@ class Client extends openapi_client_1.default {
|
|
|
16094
16220
|
return $tea.cast(await this.callApi(params, req, runtime), new GetInstanceSqlOptimizeStatisticResponse({}));
|
|
16095
16221
|
}
|
|
16096
16222
|
/**
|
|
16097
|
-
*
|
|
16223
|
+
* Queries statistics on automatic SQL optimization events within a period of time, such as the total number of optimization events and the maximum improvement.
|
|
16098
16224
|
*
|
|
16099
|
-
* @
|
|
16225
|
+
* @remarks
|
|
16226
|
+
* Before you call this operation, take note of the following items:
|
|
16100
16227
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this API operation, we recommend that you use the latest version of the SDK.
|
|
16101
16228
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16102
16229
|
* * The database engine is ApsaraDB RDS for MySQL or PolarDB for MySQL.
|
|
16103
16230
|
*
|
|
16104
|
-
* @param request GetInstanceSqlOptimizeStatisticRequest
|
|
16105
|
-
* @
|
|
16231
|
+
* @param request - GetInstanceSqlOptimizeStatisticRequest
|
|
16232
|
+
* @returns GetInstanceSqlOptimizeStatisticResponse
|
|
16106
16233
|
*/
|
|
16107
16234
|
async getInstanceSqlOptimizeStatistic(request) {
|
|
16108
16235
|
let runtime = new $Util.RuntimeOptions({});
|
|
16109
16236
|
return await this.getInstanceSqlOptimizeStatisticWithOptions(request, runtime);
|
|
16110
16237
|
}
|
|
16111
16238
|
/**
|
|
16112
|
-
*
|
|
16239
|
+
* Queries the results of a task that terminates sessions.
|
|
16113
16240
|
*
|
|
16114
|
-
* @
|
|
16241
|
+
* @remarks
|
|
16242
|
+
* This operation is applicable only to ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters.
|
|
16115
16243
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16116
16244
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16117
16245
|
*
|
|
16118
|
-
* @param request GetKillInstanceSessionTaskResultRequest
|
|
16119
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16120
|
-
* @
|
|
16246
|
+
* @param request - GetKillInstanceSessionTaskResultRequest
|
|
16247
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16248
|
+
* @returns GetKillInstanceSessionTaskResultResponse
|
|
16121
16249
|
*/
|
|
16122
16250
|
async getKillInstanceSessionTaskResultWithOptions(request, runtime) {
|
|
16123
16251
|
tea_util_1.default.validateModel(request);
|
|
@@ -16148,29 +16276,31 @@ class Client extends openapi_client_1.default {
|
|
|
16148
16276
|
return $tea.cast(await this.callApi(params, req, runtime), new GetKillInstanceSessionTaskResultResponse({}));
|
|
16149
16277
|
}
|
|
16150
16278
|
/**
|
|
16151
|
-
*
|
|
16279
|
+
* Queries the results of a task that terminates sessions.
|
|
16152
16280
|
*
|
|
16153
|
-
* @
|
|
16281
|
+
* @remarks
|
|
16282
|
+
* This operation is applicable only to ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters.
|
|
16154
16283
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16155
16284
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16156
16285
|
*
|
|
16157
|
-
* @param request GetKillInstanceSessionTaskResultRequest
|
|
16158
|
-
* @
|
|
16286
|
+
* @param request - GetKillInstanceSessionTaskResultRequest
|
|
16287
|
+
* @returns GetKillInstanceSessionTaskResultResponse
|
|
16159
16288
|
*/
|
|
16160
16289
|
async getKillInstanceSessionTaskResult(request) {
|
|
16161
16290
|
let runtime = new $Util.RuntimeOptions({});
|
|
16162
16291
|
return await this.getKillInstanceSessionTaskResultWithOptions(request, runtime);
|
|
16163
16292
|
}
|
|
16164
16293
|
/**
|
|
16165
|
-
*
|
|
16294
|
+
* Queries the current sessions of an ApsaraDB for MongoDB (MongoDB) instance.
|
|
16166
16295
|
*
|
|
16167
|
-
* @
|
|
16296
|
+
* @remarks
|
|
16297
|
+
* This operation is applicable only to MongoDB instances.
|
|
16168
16298
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16169
16299
|
* * If you use an SDK to call API operations of DAS, you must set the region to cn-shanghai.
|
|
16170
16300
|
*
|
|
16171
|
-
* @param request GetMongoDBCurrentOpRequest
|
|
16172
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16173
|
-
* @
|
|
16301
|
+
* @param request - GetMongoDBCurrentOpRequest
|
|
16302
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16303
|
+
* @returns GetMongoDBCurrentOpResponse
|
|
16174
16304
|
*/
|
|
16175
16305
|
async getMongoDBCurrentOpWithOptions(request, runtime) {
|
|
16176
16306
|
tea_util_1.default.validateModel(request);
|
|
@@ -16204,30 +16334,32 @@ class Client extends openapi_client_1.default {
|
|
|
16204
16334
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMongoDBCurrentOpResponse({}));
|
|
16205
16335
|
}
|
|
16206
16336
|
/**
|
|
16207
|
-
*
|
|
16337
|
+
* Queries the current sessions of an ApsaraDB for MongoDB (MongoDB) instance.
|
|
16208
16338
|
*
|
|
16209
|
-
* @
|
|
16339
|
+
* @remarks
|
|
16340
|
+
* This operation is applicable only to MongoDB instances.
|
|
16210
16341
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16211
16342
|
* * If you use an SDK to call API operations of DAS, you must set the region to cn-shanghai.
|
|
16212
16343
|
*
|
|
16213
|
-
* @param request GetMongoDBCurrentOpRequest
|
|
16214
|
-
* @
|
|
16344
|
+
* @param request - GetMongoDBCurrentOpRequest
|
|
16345
|
+
* @returns GetMongoDBCurrentOpResponse
|
|
16215
16346
|
*/
|
|
16216
16347
|
async getMongoDBCurrentOp(request) {
|
|
16217
16348
|
let runtime = new $Util.RuntimeOptions({});
|
|
16218
16349
|
return await this.getMongoDBCurrentOpWithOptions(request, runtime);
|
|
16219
16350
|
}
|
|
16220
16351
|
/**
|
|
16221
|
-
*
|
|
16352
|
+
* Asynchronously queries the sessions of an instance and collects statistics on the sessions based on dimensions.
|
|
16222
16353
|
*
|
|
16223
|
-
* @
|
|
16354
|
+
* @remarks
|
|
16355
|
+
* > GetMySQLAllSessionAsync is an asynchronous operation. After a request is sent, the system does not return complete results but returns a request ID. You need to use the request ID to initiate requests until the value of the **isFinish** field in the returned results is **true**, the complete results are returned. This indicates that to obtain complete data, you must call this operation at least twice.
|
|
16224
16356
|
* * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and PolarDB-X 2.0 instances.
|
|
16225
16357
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16226
16358
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16227
16359
|
*
|
|
16228
|
-
* @param request GetMySQLAllSessionAsyncRequest
|
|
16229
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16230
|
-
* @
|
|
16360
|
+
* @param request - GetMySQLAllSessionAsyncRequest
|
|
16361
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16362
|
+
* @returns GetMySQLAllSessionAsyncResponse
|
|
16231
16363
|
*/
|
|
16232
16364
|
async getMySQLAllSessionAsyncWithOptions(request, runtime) {
|
|
16233
16365
|
tea_util_1.default.validateModel(request);
|
|
@@ -16258,28 +16390,30 @@ class Client extends openapi_client_1.default {
|
|
|
16258
16390
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMySQLAllSessionAsyncResponse({}));
|
|
16259
16391
|
}
|
|
16260
16392
|
/**
|
|
16261
|
-
*
|
|
16393
|
+
* Asynchronously queries the sessions of an instance and collects statistics on the sessions based on dimensions.
|
|
16262
16394
|
*
|
|
16263
|
-
* @
|
|
16395
|
+
* @remarks
|
|
16396
|
+
* > GetMySQLAllSessionAsync is an asynchronous operation. After a request is sent, the system does not return complete results but returns a request ID. You need to use the request ID to initiate requests until the value of the **isFinish** field in the returned results is **true**, the complete results are returned. This indicates that to obtain complete data, you must call this operation at least twice.
|
|
16264
16397
|
* * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and PolarDB-X 2.0 instances.
|
|
16265
16398
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16266
16399
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16267
16400
|
*
|
|
16268
|
-
* @param request GetMySQLAllSessionAsyncRequest
|
|
16269
|
-
* @
|
|
16401
|
+
* @param request - GetMySQLAllSessionAsyncRequest
|
|
16402
|
+
* @returns GetMySQLAllSessionAsyncResponse
|
|
16270
16403
|
*/
|
|
16271
16404
|
async getMySQLAllSessionAsync(request) {
|
|
16272
16405
|
let runtime = new $Util.RuntimeOptions({});
|
|
16273
16406
|
return await this.getMySQLAllSessionAsyncWithOptions(request, runtime);
|
|
16274
16407
|
}
|
|
16275
16408
|
/**
|
|
16276
|
-
*
|
|
16409
|
+
* Queries access frequency statistics and hot data on partitions of a PolarDB-X 2.0 instance.
|
|
16277
16410
|
*
|
|
16278
|
-
* @
|
|
16411
|
+
* @remarks
|
|
16412
|
+
* We recommend that you do not call this operation. The data is returned in a special format and is complex to parse. You can use the [heatmap](https://help.aliyun.com/document_detail/470302.html) feature of Database Autonomy Service (DAS) to query the data.
|
|
16279
16413
|
*
|
|
16280
|
-
* @param request GetPartitionsHeatmapRequest
|
|
16281
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16282
|
-
* @
|
|
16414
|
+
* @param request - GetPartitionsHeatmapRequest
|
|
16415
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16416
|
+
* @returns GetPartitionsHeatmapResponse
|
|
16283
16417
|
*/
|
|
16284
16418
|
async getPartitionsHeatmapWithOptions(request, runtime) {
|
|
16285
16419
|
tea_util_1.default.validateModel(request);
|
|
@@ -16313,29 +16447,31 @@ class Client extends openapi_client_1.default {
|
|
|
16313
16447
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPartitionsHeatmapResponse({}));
|
|
16314
16448
|
}
|
|
16315
16449
|
/**
|
|
16316
|
-
*
|
|
16450
|
+
* Queries access frequency statistics and hot data on partitions of a PolarDB-X 2.0 instance.
|
|
16317
16451
|
*
|
|
16318
|
-
* @
|
|
16452
|
+
* @remarks
|
|
16453
|
+
* We recommend that you do not call this operation. The data is returned in a special format and is complex to parse. You can use the [heatmap](https://help.aliyun.com/document_detail/470302.html) feature of Database Autonomy Service (DAS) to query the data.
|
|
16319
16454
|
*
|
|
16320
|
-
* @param request GetPartitionsHeatmapRequest
|
|
16321
|
-
* @
|
|
16455
|
+
* @param request - GetPartitionsHeatmapRequest
|
|
16456
|
+
* @returns GetPartitionsHeatmapResponse
|
|
16322
16457
|
*/
|
|
16323
16458
|
async getPartitionsHeatmap(request) {
|
|
16324
16459
|
let runtime = new $Util.RuntimeOptions({});
|
|
16325
16460
|
return await this.getPartitionsHeatmapWithOptions(request, runtime);
|
|
16326
16461
|
}
|
|
16327
16462
|
/**
|
|
16328
|
-
*
|
|
16463
|
+
* Queries the trend of a metric for the new version of the performance insight feature of a database instance.
|
|
16329
16464
|
*
|
|
16330
|
-
* @
|
|
16465
|
+
* @remarks
|
|
16466
|
+
* Before you call this operation, take note of the following items:
|
|
16331
16467
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16332
16468
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16333
16469
|
* * An ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster is connected to DAS.
|
|
16334
16470
|
* * The new version of the performance insight feature is enabled for the database instance. For more information, see [Performance insight (new version)](https://help.aliyun.com/document_detail/469117.html).
|
|
16335
16471
|
*
|
|
16336
|
-
* @param request GetPfsMetricTrendsRequest
|
|
16337
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16338
|
-
* @
|
|
16472
|
+
* @param request - GetPfsMetricTrendsRequest
|
|
16473
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16474
|
+
* @returns GetPfsMetricTrendsResponse
|
|
16339
16475
|
*/
|
|
16340
16476
|
async getPfsMetricTrendsWithOptions(request, runtime) {
|
|
16341
16477
|
tea_util_1.default.validateModel(request);
|
|
@@ -16372,33 +16508,35 @@ class Client extends openapi_client_1.default {
|
|
|
16372
16508
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPfsMetricTrendsResponse({}));
|
|
16373
16509
|
}
|
|
16374
16510
|
/**
|
|
16375
|
-
*
|
|
16511
|
+
* Queries the trend of a metric for the new version of the performance insight feature of a database instance.
|
|
16376
16512
|
*
|
|
16377
|
-
* @
|
|
16513
|
+
* @remarks
|
|
16514
|
+
* Before you call this operation, take note of the following items:
|
|
16378
16515
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16379
16516
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16380
16517
|
* * An ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster is connected to DAS.
|
|
16381
16518
|
* * The new version of the performance insight feature is enabled for the database instance. For more information, see [Performance insight (new version)](https://help.aliyun.com/document_detail/469117.html).
|
|
16382
16519
|
*
|
|
16383
|
-
* @param request GetPfsMetricTrendsRequest
|
|
16384
|
-
* @
|
|
16520
|
+
* @param request - GetPfsMetricTrendsRequest
|
|
16521
|
+
* @returns GetPfsMetricTrendsResponse
|
|
16385
16522
|
*/
|
|
16386
16523
|
async getPfsMetricTrends(request) {
|
|
16387
16524
|
let runtime = new $Util.RuntimeOptions({});
|
|
16388
16525
|
return await this.getPfsMetricTrendsWithOptions(request, runtime);
|
|
16389
16526
|
}
|
|
16390
16527
|
/**
|
|
16391
|
-
*
|
|
16528
|
+
* Queries the SQL sample data for the new version of the performance insight feature of a database instance.
|
|
16392
16529
|
*
|
|
16393
|
-
* @
|
|
16530
|
+
* @remarks
|
|
16531
|
+
* Before you call this operation, take note of the following items:
|
|
16394
16532
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this API operation, we recommend that you use the latest version of the SDK.
|
|
16395
16533
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16396
16534
|
* * An ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster is connected to DAS.
|
|
16397
16535
|
* * The new version of the performance insight feature is enabled for the database instance. For more information, see [Performance insight (new version)](https://help.aliyun.com/document_detail/469117.html).
|
|
16398
16536
|
*
|
|
16399
|
-
* @param request GetPfsSqlSampleRequest
|
|
16400
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16401
|
-
* @
|
|
16537
|
+
* @param request - GetPfsSqlSampleRequest
|
|
16538
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16539
|
+
* @returns GetPfsSqlSampleResponse
|
|
16402
16540
|
*/
|
|
16403
16541
|
async getPfsSqlSampleWithOptions(request, runtime) {
|
|
16404
16542
|
tea_util_1.default.validateModel(request);
|
|
@@ -16435,33 +16573,35 @@ class Client extends openapi_client_1.default {
|
|
|
16435
16573
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPfsSqlSampleResponse({}));
|
|
16436
16574
|
}
|
|
16437
16575
|
/**
|
|
16438
|
-
*
|
|
16576
|
+
* Queries the SQL sample data for the new version of the performance insight feature of a database instance.
|
|
16439
16577
|
*
|
|
16440
|
-
* @
|
|
16578
|
+
* @remarks
|
|
16579
|
+
* Before you call this operation, take note of the following items:
|
|
16441
16580
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this API operation, we recommend that you use the latest version of the SDK.
|
|
16442
16581
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16443
16582
|
* * An ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster is connected to DAS.
|
|
16444
16583
|
* * The new version of the performance insight feature is enabled for the database instance. For more information, see [Performance insight (new version)](https://help.aliyun.com/document_detail/469117.html).
|
|
16445
16584
|
*
|
|
16446
|
-
* @param request GetPfsSqlSampleRequest
|
|
16447
|
-
* @
|
|
16585
|
+
* @param request - GetPfsSqlSampleRequest
|
|
16586
|
+
* @returns GetPfsSqlSampleResponse
|
|
16448
16587
|
*/
|
|
16449
16588
|
async getPfsSqlSample(request) {
|
|
16450
16589
|
let runtime = new $Util.RuntimeOptions({});
|
|
16451
16590
|
return await this.getPfsSqlSampleWithOptions(request, runtime);
|
|
16452
16591
|
}
|
|
16453
16592
|
/**
|
|
16454
|
-
*
|
|
16593
|
+
* Queries the full request data generated by the new version of the performance insight feature of a database instance based on the SQL ID.
|
|
16455
16594
|
*
|
|
16456
|
-
* @
|
|
16595
|
+
* @remarks
|
|
16596
|
+
* Before you call this operation, take note of the following items:
|
|
16457
16597
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this API operation, we recommend that you use the latest version of the SDK.
|
|
16458
16598
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16459
16599
|
* * An ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster is connected to DAS.
|
|
16460
16600
|
* * The new version of the performance insight feature is enabled for the database instance. For more information, see [Performance insight (new version)](https://help.aliyun.com/document_detail/469117.html).
|
|
16461
16601
|
*
|
|
16462
|
-
* @param request GetPfsSqlSummariesRequest
|
|
16463
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16464
|
-
* @
|
|
16602
|
+
* @param request - GetPfsSqlSummariesRequest
|
|
16603
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16604
|
+
* @returns GetPfsSqlSummariesResponse
|
|
16465
16605
|
*/
|
|
16466
16606
|
async getPfsSqlSummariesWithOptions(request, runtime) {
|
|
16467
16607
|
tea_util_1.default.validateModel(request);
|
|
@@ -16513,25 +16653,27 @@ class Client extends openapi_client_1.default {
|
|
|
16513
16653
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPfsSqlSummariesResponse({}));
|
|
16514
16654
|
}
|
|
16515
16655
|
/**
|
|
16516
|
-
*
|
|
16656
|
+
* Queries the full request data generated by the new version of the performance insight feature of a database instance based on the SQL ID.
|
|
16517
16657
|
*
|
|
16518
|
-
* @
|
|
16658
|
+
* @remarks
|
|
16659
|
+
* Before you call this operation, take note of the following items:
|
|
16519
16660
|
* * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this API operation, we recommend that you use the latest version of the SDK.
|
|
16520
16661
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16521
16662
|
* * An ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster is connected to DAS.
|
|
16522
16663
|
* * The new version of the performance insight feature is enabled for the database instance. For more information, see [Performance insight (new version)](https://help.aliyun.com/document_detail/469117.html).
|
|
16523
16664
|
*
|
|
16524
|
-
* @param request GetPfsSqlSummariesRequest
|
|
16525
|
-
* @
|
|
16665
|
+
* @param request - GetPfsSqlSummariesRequest
|
|
16666
|
+
* @returns GetPfsSqlSummariesResponse
|
|
16526
16667
|
*/
|
|
16527
16668
|
async getPfsSqlSummaries(request) {
|
|
16528
16669
|
let runtime = new $Util.RuntimeOptions({});
|
|
16529
16670
|
return await this.getPfsSqlSummariesWithOptions(request, runtime);
|
|
16530
16671
|
}
|
|
16531
16672
|
/**
|
|
16532
|
-
*
|
|
16673
|
+
* Queries information about SQL templates based on query governance data.
|
|
16533
16674
|
*
|
|
16534
|
-
* @
|
|
16675
|
+
* @remarks
|
|
16676
|
+
* If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16535
16677
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16536
16678
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16537
16679
|
* * This operation supports the following database engines:
|
|
@@ -16539,9 +16681,9 @@ class Client extends openapi_client_1.default {
|
|
|
16539
16681
|
* * PolarDB for MySQL
|
|
16540
16682
|
* * ApsaraDB RDS for PostgreSQL
|
|
16541
16683
|
*
|
|
16542
|
-
* @param request GetQueryOptimizeDataStatsRequest
|
|
16543
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16544
|
-
* @
|
|
16684
|
+
* @param request - GetQueryOptimizeDataStatsRequest
|
|
16685
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16686
|
+
* @returns GetQueryOptimizeDataStatsResponse
|
|
16545
16687
|
*/
|
|
16546
16688
|
async getQueryOptimizeDataStatsWithOptions(request, runtime) {
|
|
16547
16689
|
tea_util_1.default.validateModel(request);
|
|
@@ -16563,9 +16705,10 @@ class Client extends openapi_client_1.default {
|
|
|
16563
16705
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeDataStatsResponse({}));
|
|
16564
16706
|
}
|
|
16565
16707
|
/**
|
|
16566
|
-
*
|
|
16708
|
+
* Queries information about SQL templates based on query governance data.
|
|
16567
16709
|
*
|
|
16568
|
-
* @
|
|
16710
|
+
* @remarks
|
|
16711
|
+
* If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16569
16712
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16570
16713
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16571
16714
|
* * This operation supports the following database engines:
|
|
@@ -16573,17 +16716,18 @@ class Client extends openapi_client_1.default {
|
|
|
16573
16716
|
* * PolarDB for MySQL
|
|
16574
16717
|
* * ApsaraDB RDS for PostgreSQL
|
|
16575
16718
|
*
|
|
16576
|
-
* @param request GetQueryOptimizeDataStatsRequest
|
|
16577
|
-
* @
|
|
16719
|
+
* @param request - GetQueryOptimizeDataStatsRequest
|
|
16720
|
+
* @returns GetQueryOptimizeDataStatsResponse
|
|
16578
16721
|
*/
|
|
16579
16722
|
async getQueryOptimizeDataStats(request) {
|
|
16580
16723
|
let runtime = new $Util.RuntimeOptions({});
|
|
16581
16724
|
return await this.getQueryOptimizeDataStatsWithOptions(request, runtime);
|
|
16582
16725
|
}
|
|
16583
16726
|
/**
|
|
16584
|
-
*
|
|
16727
|
+
* Queries information about the best-performing and worst-performing instances based on query governance data.
|
|
16585
16728
|
*
|
|
16586
|
-
* @
|
|
16729
|
+
* @remarks
|
|
16730
|
+
* If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16587
16731
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16588
16732
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16589
16733
|
* * This operation supports the following database engines:
|
|
@@ -16591,9 +16735,9 @@ class Client extends openapi_client_1.default {
|
|
|
16591
16735
|
* * PolarDB for MySQL
|
|
16592
16736
|
* * ApsaraDB RDS for PostgreSQL
|
|
16593
16737
|
*
|
|
16594
|
-
* @param request GetQueryOptimizeDataTopRequest
|
|
16595
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16596
|
-
* @
|
|
16738
|
+
* @param request - GetQueryOptimizeDataTopRequest
|
|
16739
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16740
|
+
* @returns GetQueryOptimizeDataTopResponse
|
|
16597
16741
|
*/
|
|
16598
16742
|
async getQueryOptimizeDataTopWithOptions(request, runtime) {
|
|
16599
16743
|
tea_util_1.default.validateModel(request);
|
|
@@ -16615,9 +16759,10 @@ class Client extends openapi_client_1.default {
|
|
|
16615
16759
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeDataTopResponse({}));
|
|
16616
16760
|
}
|
|
16617
16761
|
/**
|
|
16618
|
-
*
|
|
16762
|
+
* Queries information about the best-performing and worst-performing instances based on query governance data.
|
|
16619
16763
|
*
|
|
16620
|
-
* @
|
|
16764
|
+
* @remarks
|
|
16765
|
+
* If you use an Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16621
16766
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16622
16767
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16623
16768
|
* * This operation supports the following database engines:
|
|
@@ -16625,17 +16770,18 @@ class Client extends openapi_client_1.default {
|
|
|
16625
16770
|
* * PolarDB for MySQL
|
|
16626
16771
|
* * ApsaraDB RDS for PostgreSQL
|
|
16627
16772
|
*
|
|
16628
|
-
* @param request GetQueryOptimizeDataTopRequest
|
|
16629
|
-
* @
|
|
16773
|
+
* @param request - GetQueryOptimizeDataTopRequest
|
|
16774
|
+
* @returns GetQueryOptimizeDataTopResponse
|
|
16630
16775
|
*/
|
|
16631
16776
|
async getQueryOptimizeDataTop(request) {
|
|
16632
16777
|
let runtime = new $Util.RuntimeOptions({});
|
|
16633
16778
|
return await this.getQueryOptimizeDataTopWithOptions(request, runtime);
|
|
16634
16779
|
}
|
|
16635
16780
|
/**
|
|
16636
|
-
*
|
|
16781
|
+
* Queries query governance trend data.
|
|
16637
16782
|
*
|
|
16638
|
-
* @
|
|
16783
|
+
* @remarks
|
|
16784
|
+
* If you use Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16639
16785
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16640
16786
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16641
16787
|
* * This operation supports the following database engines:
|
|
@@ -16643,9 +16789,9 @@ class Client extends openapi_client_1.default {
|
|
|
16643
16789
|
* * PolarDB for MySQL
|
|
16644
16790
|
* * ApsaraDB RDS for PostgreSQL
|
|
16645
16791
|
*
|
|
16646
|
-
* @param request GetQueryOptimizeDataTrendRequest
|
|
16647
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16648
|
-
* @
|
|
16792
|
+
* @param request - GetQueryOptimizeDataTrendRequest
|
|
16793
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16794
|
+
* @returns GetQueryOptimizeDataTrendResponse
|
|
16649
16795
|
*/
|
|
16650
16796
|
async getQueryOptimizeDataTrendWithOptions(request, runtime) {
|
|
16651
16797
|
tea_util_1.default.validateModel(request);
|
|
@@ -16667,9 +16813,10 @@ class Client extends openapi_client_1.default {
|
|
|
16667
16813
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeDataTrendResponse({}));
|
|
16668
16814
|
}
|
|
16669
16815
|
/**
|
|
16670
|
-
*
|
|
16816
|
+
* Queries query governance trend data.
|
|
16671
16817
|
*
|
|
16672
|
-
* @
|
|
16818
|
+
* @remarks
|
|
16819
|
+
* If you use Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16673
16820
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16674
16821
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16675
16822
|
* * This operation supports the following database engines:
|
|
@@ -16677,17 +16824,18 @@ class Client extends openapi_client_1.default {
|
|
|
16677
16824
|
* * PolarDB for MySQL
|
|
16678
16825
|
* * ApsaraDB RDS for PostgreSQL
|
|
16679
16826
|
*
|
|
16680
|
-
* @param request GetQueryOptimizeDataTrendRequest
|
|
16681
|
-
* @
|
|
16827
|
+
* @param request - GetQueryOptimizeDataTrendRequest
|
|
16828
|
+
* @returns GetQueryOptimizeDataTrendResponse
|
|
16682
16829
|
*/
|
|
16683
16830
|
async getQueryOptimizeDataTrend(request) {
|
|
16684
16831
|
let runtime = new $Util.RuntimeOptions({});
|
|
16685
16832
|
return await this.getQueryOptimizeDataTrendWithOptions(request, runtime);
|
|
16686
16833
|
}
|
|
16687
16834
|
/**
|
|
16688
|
-
*
|
|
16835
|
+
* Queries the failed SQL statements under a SQL template.
|
|
16689
16836
|
*
|
|
16690
|
-
* @
|
|
16837
|
+
* @remarks
|
|
16838
|
+
* If you use Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16691
16839
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16692
16840
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16693
16841
|
* * This operation supports the following database engines:
|
|
@@ -16695,9 +16843,9 @@ class Client extends openapi_client_1.default {
|
|
|
16695
16843
|
* * PolarDB for MySQL
|
|
16696
16844
|
* * ApsaraDB RDS for PostgreSQL
|
|
16697
16845
|
*
|
|
16698
|
-
* @param request GetQueryOptimizeExecErrorSampleRequest
|
|
16699
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16700
|
-
* @
|
|
16846
|
+
* @param request - GetQueryOptimizeExecErrorSampleRequest
|
|
16847
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16848
|
+
* @returns GetQueryOptimizeExecErrorSampleResponse
|
|
16701
16849
|
*/
|
|
16702
16850
|
async getQueryOptimizeExecErrorSampleWithOptions(request, runtime) {
|
|
16703
16851
|
tea_util_1.default.validateModel(request);
|
|
@@ -16719,9 +16867,10 @@ class Client extends openapi_client_1.default {
|
|
|
16719
16867
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeExecErrorSampleResponse({}));
|
|
16720
16868
|
}
|
|
16721
16869
|
/**
|
|
16722
|
-
*
|
|
16870
|
+
* Queries the failed SQL statements under a SQL template.
|
|
16723
16871
|
*
|
|
16724
|
-
* @
|
|
16872
|
+
* @remarks
|
|
16873
|
+
* If you use Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16725
16874
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16726
16875
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16727
16876
|
* * This operation supports the following database engines:
|
|
@@ -16729,26 +16878,27 @@ class Client extends openapi_client_1.default {
|
|
|
16729
16878
|
* * PolarDB for MySQL
|
|
16730
16879
|
* * ApsaraDB RDS for PostgreSQL
|
|
16731
16880
|
*
|
|
16732
|
-
* @param request GetQueryOptimizeExecErrorSampleRequest
|
|
16733
|
-
* @
|
|
16881
|
+
* @param request - GetQueryOptimizeExecErrorSampleRequest
|
|
16882
|
+
* @returns GetQueryOptimizeExecErrorSampleResponse
|
|
16734
16883
|
*/
|
|
16735
16884
|
async getQueryOptimizeExecErrorSample(request) {
|
|
16736
16885
|
let runtime = new $Util.RuntimeOptions({});
|
|
16737
16886
|
return await this.getQueryOptimizeExecErrorSampleWithOptions(request, runtime);
|
|
16738
16887
|
}
|
|
16739
16888
|
/**
|
|
16740
|
-
*
|
|
16889
|
+
* Queries SQL templates that failed to be executed.
|
|
16741
16890
|
*
|
|
16742
|
-
* @
|
|
16891
|
+
* @remarks
|
|
16892
|
+
* If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16743
16893
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16744
16894
|
* * This operation supports the following database engines:
|
|
16745
16895
|
* * ApsaraDB RDS for MySQL
|
|
16746
16896
|
* * PolarDB for MySQL
|
|
16747
16897
|
* * ApsaraDB RDS for PostgreSQL
|
|
16748
16898
|
*
|
|
16749
|
-
* @param request GetQueryOptimizeExecErrorStatsRequest
|
|
16750
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16751
|
-
* @
|
|
16899
|
+
* @param request - GetQueryOptimizeExecErrorStatsRequest
|
|
16900
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16901
|
+
* @returns GetQueryOptimizeExecErrorStatsResponse
|
|
16752
16902
|
*/
|
|
16753
16903
|
async getQueryOptimizeExecErrorStatsWithOptions(request, runtime) {
|
|
16754
16904
|
tea_util_1.default.validateModel(request);
|
|
@@ -16770,26 +16920,28 @@ class Client extends openapi_client_1.default {
|
|
|
16770
16920
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeExecErrorStatsResponse({}));
|
|
16771
16921
|
}
|
|
16772
16922
|
/**
|
|
16773
|
-
*
|
|
16923
|
+
* Queries SQL templates that failed to be executed.
|
|
16774
16924
|
*
|
|
16775
|
-
* @
|
|
16925
|
+
* @remarks
|
|
16926
|
+
* If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16776
16927
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16777
16928
|
* * This operation supports the following database engines:
|
|
16778
16929
|
* * ApsaraDB RDS for MySQL
|
|
16779
16930
|
* * PolarDB for MySQL
|
|
16780
16931
|
* * ApsaraDB RDS for PostgreSQL
|
|
16781
16932
|
*
|
|
16782
|
-
* @param request GetQueryOptimizeExecErrorStatsRequest
|
|
16783
|
-
* @
|
|
16933
|
+
* @param request - GetQueryOptimizeExecErrorStatsRequest
|
|
16934
|
+
* @returns GetQueryOptimizeExecErrorStatsResponse
|
|
16784
16935
|
*/
|
|
16785
16936
|
async getQueryOptimizeExecErrorStats(request) {
|
|
16786
16937
|
let runtime = new $Util.RuntimeOptions({});
|
|
16787
16938
|
return await this.getQueryOptimizeExecErrorStatsWithOptions(request, runtime);
|
|
16788
16939
|
}
|
|
16789
16940
|
/**
|
|
16790
|
-
*
|
|
16941
|
+
* Queries the tags added by the query governance feature to specified database instances.
|
|
16791
16942
|
*
|
|
16792
|
-
* @
|
|
16943
|
+
* @remarks
|
|
16944
|
+
* If you use Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16793
16945
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16794
16946
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16795
16947
|
* * This operation supports the following database engines:
|
|
@@ -16797,9 +16949,9 @@ class Client extends openapi_client_1.default {
|
|
|
16797
16949
|
* * PolarDB for MySQL
|
|
16798
16950
|
* * ApsaraDB RDS for PostgreSQL
|
|
16799
16951
|
*
|
|
16800
|
-
* @param request GetQueryOptimizeRuleListRequest
|
|
16801
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16802
|
-
* @
|
|
16952
|
+
* @param request - GetQueryOptimizeRuleListRequest
|
|
16953
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16954
|
+
* @returns GetQueryOptimizeRuleListResponse
|
|
16803
16955
|
*/
|
|
16804
16956
|
async getQueryOptimizeRuleListWithOptions(request, runtime) {
|
|
16805
16957
|
tea_util_1.default.validateModel(request);
|
|
@@ -16821,9 +16973,10 @@ class Client extends openapi_client_1.default {
|
|
|
16821
16973
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeRuleListResponse({}));
|
|
16822
16974
|
}
|
|
16823
16975
|
/**
|
|
16824
|
-
*
|
|
16976
|
+
* Queries the tags added by the query governance feature to specified database instances.
|
|
16825
16977
|
*
|
|
16826
|
-
* @
|
|
16978
|
+
* @remarks
|
|
16979
|
+
* If you use Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V2.1.8. We recommend that you use the latest version.
|
|
16827
16980
|
* * The version of your Database Autonomy Service (DAS) SDK must be V2.1.8 or later.
|
|
16828
16981
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16829
16982
|
* * This operation supports the following database engines:
|
|
@@ -16831,26 +16984,27 @@ class Client extends openapi_client_1.default {
|
|
|
16831
16984
|
* * PolarDB for MySQL
|
|
16832
16985
|
* * ApsaraDB RDS for PostgreSQL
|
|
16833
16986
|
*
|
|
16834
|
-
* @param request GetQueryOptimizeRuleListRequest
|
|
16835
|
-
* @
|
|
16987
|
+
* @param request - GetQueryOptimizeRuleListRequest
|
|
16988
|
+
* @returns GetQueryOptimizeRuleListResponse
|
|
16836
16989
|
*/
|
|
16837
16990
|
async getQueryOptimizeRuleList(request) {
|
|
16838
16991
|
let runtime = new $Util.RuntimeOptions({});
|
|
16839
16992
|
return await this.getQueryOptimizeRuleListWithOptions(request, runtime);
|
|
16840
16993
|
}
|
|
16841
16994
|
/**
|
|
16842
|
-
*
|
|
16995
|
+
* Queries a share URL provided by the query governance feature.
|
|
16843
16996
|
*
|
|
16844
|
-
* @
|
|
16997
|
+
* @remarks
|
|
16998
|
+
* If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16845
16999
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16846
17000
|
* * This operation supports the following database engines:
|
|
16847
17001
|
* * ApsaraDB RDS for MySQL
|
|
16848
17002
|
* * PolarDB for MySQL
|
|
16849
17003
|
* * ApsaraDB RDS for PostgreSQL
|
|
16850
17004
|
*
|
|
16851
|
-
* @param request GetQueryOptimizeShareUrlRequest
|
|
16852
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16853
|
-
* @
|
|
17005
|
+
* @param request - GetQueryOptimizeShareUrlRequest
|
|
17006
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17007
|
+
* @returns GetQueryOptimizeShareUrlResponse
|
|
16854
17008
|
*/
|
|
16855
17009
|
async getQueryOptimizeShareUrlWithOptions(request, runtime) {
|
|
16856
17010
|
tea_util_1.default.validateModel(request);
|
|
@@ -16872,35 +17026,37 @@ class Client extends openapi_client_1.default {
|
|
|
16872
17026
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeShareUrlResponse({}));
|
|
16873
17027
|
}
|
|
16874
17028
|
/**
|
|
16875
|
-
*
|
|
17029
|
+
* Queries a share URL provided by the query governance feature.
|
|
16876
17030
|
*
|
|
16877
|
-
* @
|
|
17031
|
+
* @remarks
|
|
17032
|
+
* If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16878
17033
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16879
17034
|
* * This operation supports the following database engines:
|
|
16880
17035
|
* * ApsaraDB RDS for MySQL
|
|
16881
17036
|
* * PolarDB for MySQL
|
|
16882
17037
|
* * ApsaraDB RDS for PostgreSQL
|
|
16883
17038
|
*
|
|
16884
|
-
* @param request GetQueryOptimizeShareUrlRequest
|
|
16885
|
-
* @
|
|
17039
|
+
* @param request - GetQueryOptimizeShareUrlRequest
|
|
17040
|
+
* @returns GetQueryOptimizeShareUrlResponse
|
|
16886
17041
|
*/
|
|
16887
17042
|
async getQueryOptimizeShareUrl(request) {
|
|
16888
17043
|
let runtime = new $Util.RuntimeOptions({});
|
|
16889
17044
|
return await this.getQueryOptimizeShareUrlWithOptions(request, runtime);
|
|
16890
17045
|
}
|
|
16891
17046
|
/**
|
|
16892
|
-
*
|
|
17047
|
+
* Queries suggestions provided by query governance for optimizing an SQL template.
|
|
16893
17048
|
*
|
|
16894
|
-
* @
|
|
17049
|
+
* @remarks
|
|
17050
|
+
* If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16895
17051
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16896
17052
|
* * This operation supports the following database engines:
|
|
16897
17053
|
* * ApsaraDB RDS for MySQL
|
|
16898
17054
|
* * PolarDB for MySQL
|
|
16899
17055
|
* * ApsaraDB RDS for PostgreSQL
|
|
16900
17056
|
*
|
|
16901
|
-
* @param request GetQueryOptimizeSolutionRequest
|
|
16902
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16903
|
-
* @
|
|
17057
|
+
* @param request - GetQueryOptimizeSolutionRequest
|
|
17058
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17059
|
+
* @returns GetQueryOptimizeSolutionResponse
|
|
16904
17060
|
*/
|
|
16905
17061
|
async getQueryOptimizeSolutionWithOptions(request, runtime) {
|
|
16906
17062
|
tea_util_1.default.validateModel(request);
|
|
@@ -16922,35 +17078,37 @@ class Client extends openapi_client_1.default {
|
|
|
16922
17078
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeSolutionResponse({}));
|
|
16923
17079
|
}
|
|
16924
17080
|
/**
|
|
16925
|
-
*
|
|
17081
|
+
* Queries suggestions provided by query governance for optimizing an SQL template.
|
|
16926
17082
|
*
|
|
16927
|
-
* @
|
|
17083
|
+
* @remarks
|
|
17084
|
+
* If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16928
17085
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16929
17086
|
* * This operation supports the following database engines:
|
|
16930
17087
|
* * ApsaraDB RDS for MySQL
|
|
16931
17088
|
* * PolarDB for MySQL
|
|
16932
17089
|
* * ApsaraDB RDS for PostgreSQL
|
|
16933
17090
|
*
|
|
16934
|
-
* @param request GetQueryOptimizeSolutionRequest
|
|
16935
|
-
* @
|
|
17091
|
+
* @param request - GetQueryOptimizeSolutionRequest
|
|
17092
|
+
* @returns GetQueryOptimizeSolutionResponse
|
|
16936
17093
|
*/
|
|
16937
17094
|
async getQueryOptimizeSolution(request) {
|
|
16938
17095
|
let runtime = new $Util.RuntimeOptions({});
|
|
16939
17096
|
return await this.getQueryOptimizeSolutionWithOptions(request, runtime);
|
|
16940
17097
|
}
|
|
16941
17098
|
/**
|
|
16942
|
-
*
|
|
17099
|
+
* Queries the tags of a SQL statement.
|
|
16943
17100
|
*
|
|
16944
|
-
* @
|
|
17101
|
+
* @remarks
|
|
17102
|
+
* If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16945
17103
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16946
17104
|
* * This operation supports the following database engines:
|
|
16947
17105
|
* * ApsaraDB RDS for MySQL
|
|
16948
17106
|
* * PolarDB for MySQL
|
|
16949
17107
|
* * ApsaraDB RDS for PostgreSQL
|
|
16950
17108
|
*
|
|
16951
|
-
* @param request GetQueryOptimizeTagRequest
|
|
16952
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
16953
|
-
* @
|
|
17109
|
+
* @param request - GetQueryOptimizeTagRequest
|
|
17110
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17111
|
+
* @returns GetQueryOptimizeTagResponse
|
|
16954
17112
|
*/
|
|
16955
17113
|
async getQueryOptimizeTagWithOptions(request, runtime) {
|
|
16956
17114
|
tea_util_1.default.validateModel(request);
|
|
@@ -16972,32 +17130,34 @@ class Client extends openapi_client_1.default {
|
|
|
16972
17130
|
return $tea.cast(await this.callApi(params, req, runtime), new GetQueryOptimizeTagResponse({}));
|
|
16973
17131
|
}
|
|
16974
17132
|
/**
|
|
16975
|
-
*
|
|
17133
|
+
* Queries the tags of a SQL statement.
|
|
16976
17134
|
*
|
|
16977
|
-
* @
|
|
17135
|
+
* @remarks
|
|
17136
|
+
* If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
16978
17137
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
16979
17138
|
* * This operation supports the following database engines:
|
|
16980
17139
|
* * ApsaraDB RDS for MySQL
|
|
16981
17140
|
* * PolarDB for MySQL
|
|
16982
17141
|
* * ApsaraDB RDS for PostgreSQL
|
|
16983
17142
|
*
|
|
16984
|
-
* @param request GetQueryOptimizeTagRequest
|
|
16985
|
-
* @
|
|
17143
|
+
* @param request - GetQueryOptimizeTagRequest
|
|
17144
|
+
* @returns GetQueryOptimizeTagResponse
|
|
16986
17145
|
*/
|
|
16987
17146
|
async getQueryOptimizeTag(request) {
|
|
16988
17147
|
let runtime = new $Util.RuntimeOptions({});
|
|
16989
17148
|
return await this.getQueryOptimizeTagWithOptions(request, runtime);
|
|
16990
17149
|
}
|
|
16991
17150
|
/**
|
|
16992
|
-
*
|
|
17151
|
+
* Queries the current session on an ApsaraDB for Redis instance.
|
|
16993
17152
|
*
|
|
16994
|
-
* @
|
|
17153
|
+
* @remarks
|
|
17154
|
+
* This operation is applicable only to ApsaraDB for Redis instances.
|
|
16995
17155
|
* * If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
16996
17156
|
* > This operation cannot be used to query sessions generated in direct connection mode on ApsaraDB for Redis cluster instances.
|
|
16997
17157
|
*
|
|
16998
|
-
* @param request GetRedisAllSessionRequest
|
|
16999
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17000
|
-
* @
|
|
17158
|
+
* @param request - GetRedisAllSessionRequest
|
|
17159
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17160
|
+
* @returns GetRedisAllSessionResponse
|
|
17001
17161
|
*/
|
|
17002
17162
|
async getRedisAllSessionWithOptions(request, runtime) {
|
|
17003
17163
|
tea_util_1.default.validateModel(request);
|
|
@@ -17025,23 +17185,25 @@ class Client extends openapi_client_1.default {
|
|
|
17025
17185
|
return $tea.cast(await this.callApi(params, req, runtime), new GetRedisAllSessionResponse({}));
|
|
17026
17186
|
}
|
|
17027
17187
|
/**
|
|
17028
|
-
*
|
|
17188
|
+
* Queries the current session on an ApsaraDB for Redis instance.
|
|
17029
17189
|
*
|
|
17030
|
-
* @
|
|
17190
|
+
* @remarks
|
|
17191
|
+
* This operation is applicable only to ApsaraDB for Redis instances.
|
|
17031
17192
|
* * If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17032
17193
|
* > This operation cannot be used to query sessions generated in direct connection mode on ApsaraDB for Redis cluster instances.
|
|
17033
17194
|
*
|
|
17034
|
-
* @param request GetRedisAllSessionRequest
|
|
17035
|
-
* @
|
|
17195
|
+
* @param request - GetRedisAllSessionRequest
|
|
17196
|
+
* @returns GetRedisAllSessionResponse
|
|
17036
17197
|
*/
|
|
17037
17198
|
async getRedisAllSession(request) {
|
|
17038
17199
|
let runtime = new $Util.RuntimeOptions({});
|
|
17039
17200
|
return await this.getRedisAllSessionWithOptions(request, runtime);
|
|
17040
17201
|
}
|
|
17041
17202
|
/**
|
|
17042
|
-
*
|
|
17203
|
+
* Queries SQL diagnostics records by pages.
|
|
17043
17204
|
*
|
|
17044
|
-
* @
|
|
17205
|
+
* @remarks
|
|
17206
|
+
* Before you call this operation, take note of the following items:
|
|
17045
17207
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17046
17208
|
* * This operation supports the following database engines:
|
|
17047
17209
|
* * ApsaraDB RDS for MySQL
|
|
@@ -17052,9 +17214,9 @@ class Client extends openapi_client_1.default {
|
|
|
17052
17214
|
* * ApsaraDB for MongoDB
|
|
17053
17215
|
* > The minor engine version of the Apsara RDS for PostgreSQL instance must be 20220130 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
|
|
17054
17216
|
*
|
|
17055
|
-
* @param request GetRequestDiagnosisPageRequest
|
|
17056
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17057
|
-
* @
|
|
17217
|
+
* @param request - GetRequestDiagnosisPageRequest
|
|
17218
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17219
|
+
* @returns GetRequestDiagnosisPageResponse
|
|
17058
17220
|
*/
|
|
17059
17221
|
async getRequestDiagnosisPageWithOptions(request, runtime) {
|
|
17060
17222
|
tea_util_1.default.validateModel(request);
|
|
@@ -17094,9 +17256,10 @@ class Client extends openapi_client_1.default {
|
|
|
17094
17256
|
return $tea.cast(await this.callApi(params, req, runtime), new GetRequestDiagnosisPageResponse({}));
|
|
17095
17257
|
}
|
|
17096
17258
|
/**
|
|
17097
|
-
*
|
|
17259
|
+
* Queries SQL diagnostics records by pages.
|
|
17098
17260
|
*
|
|
17099
|
-
* @
|
|
17261
|
+
* @remarks
|
|
17262
|
+
* Before you call this operation, take note of the following items:
|
|
17100
17263
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17101
17264
|
* * This operation supports the following database engines:
|
|
17102
17265
|
* * ApsaraDB RDS for MySQL
|
|
@@ -17107,17 +17270,18 @@ class Client extends openapi_client_1.default {
|
|
|
17107
17270
|
* * ApsaraDB for MongoDB
|
|
17108
17271
|
* > The minor engine version of the Apsara RDS for PostgreSQL instance must be 20220130 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
|
|
17109
17272
|
*
|
|
17110
|
-
* @param request GetRequestDiagnosisPageRequest
|
|
17111
|
-
* @
|
|
17273
|
+
* @param request - GetRequestDiagnosisPageRequest
|
|
17274
|
+
* @returns GetRequestDiagnosisPageResponse
|
|
17112
17275
|
*/
|
|
17113
17276
|
async getRequestDiagnosisPage(request) {
|
|
17114
17277
|
let runtime = new $Util.RuntimeOptions({});
|
|
17115
17278
|
return await this.getRequestDiagnosisPageWithOptions(request, runtime);
|
|
17116
17279
|
}
|
|
17117
17280
|
/**
|
|
17118
|
-
*
|
|
17281
|
+
* Queries the results of an SQL diagnostics task.
|
|
17119
17282
|
*
|
|
17120
|
-
* @
|
|
17283
|
+
* @remarks
|
|
17284
|
+
* Before you call this operation, take note of the following items:
|
|
17121
17285
|
* * If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17122
17286
|
* * This operation supports the following database engines:
|
|
17123
17287
|
* * ApsaraDB RDS for MySQL
|
|
@@ -17128,9 +17292,9 @@ class Client extends openapi_client_1.default {
|
|
|
17128
17292
|
* * ApsaraDB for MongoDB
|
|
17129
17293
|
* > The minor engine version of the Apsara RDS for PostgreSQL instance must be 20220130 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
|
|
17130
17294
|
*
|
|
17131
|
-
* @param request GetRequestDiagnosisResultRequest
|
|
17132
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17133
|
-
* @
|
|
17295
|
+
* @param request - GetRequestDiagnosisResultRequest
|
|
17296
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17297
|
+
* @returns GetRequestDiagnosisResultResponse
|
|
17134
17298
|
*/
|
|
17135
17299
|
async getRequestDiagnosisResultWithOptions(request, runtime) {
|
|
17136
17300
|
tea_util_1.default.validateModel(request);
|
|
@@ -17167,9 +17331,10 @@ class Client extends openapi_client_1.default {
|
|
|
17167
17331
|
return $tea.cast(await this.callApi(params, req, runtime), new GetRequestDiagnosisResultResponse({}));
|
|
17168
17332
|
}
|
|
17169
17333
|
/**
|
|
17170
|
-
*
|
|
17334
|
+
* Queries the results of an SQL diagnostics task.
|
|
17171
17335
|
*
|
|
17172
|
-
* @
|
|
17336
|
+
* @remarks
|
|
17337
|
+
* Before you call this operation, take note of the following items:
|
|
17173
17338
|
* * If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17174
17339
|
* * This operation supports the following database engines:
|
|
17175
17340
|
* * ApsaraDB RDS for MySQL
|
|
@@ -17180,23 +17345,24 @@ class Client extends openapi_client_1.default {
|
|
|
17180
17345
|
* * ApsaraDB for MongoDB
|
|
17181
17346
|
* > The minor engine version of the Apsara RDS for PostgreSQL instance must be 20220130 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
|
|
17182
17347
|
*
|
|
17183
|
-
* @param request GetRequestDiagnosisResultRequest
|
|
17184
|
-
* @
|
|
17348
|
+
* @param request - GetRequestDiagnosisResultRequest
|
|
17349
|
+
* @returns GetRequestDiagnosisResultResponse
|
|
17185
17350
|
*/
|
|
17186
17351
|
async getRequestDiagnosisResult(request) {
|
|
17187
17352
|
let runtime = new $Util.RuntimeOptions({});
|
|
17188
17353
|
return await this.getRequestDiagnosisResultWithOptions(request, runtime);
|
|
17189
17354
|
}
|
|
17190
17355
|
/**
|
|
17191
|
-
*
|
|
17356
|
+
* Queries the throttling rules that are in effect.
|
|
17192
17357
|
*
|
|
17193
|
-
* @
|
|
17358
|
+
* @remarks
|
|
17359
|
+
* This operation supports the following database engines:
|
|
17194
17360
|
* * ApsaraDB RDS for MySQL
|
|
17195
17361
|
* * PolarDB for MySQL
|
|
17196
17362
|
*
|
|
17197
|
-
* @param request GetRunningSqlConcurrencyControlRulesRequest
|
|
17198
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17199
|
-
* @
|
|
17363
|
+
* @param request - GetRunningSqlConcurrencyControlRulesRequest
|
|
17364
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17365
|
+
* @returns GetRunningSqlConcurrencyControlRulesResponse
|
|
17200
17366
|
*/
|
|
17201
17367
|
async getRunningSqlConcurrencyControlRulesWithOptions(request, runtime) {
|
|
17202
17368
|
tea_util_1.default.validateModel(request);
|
|
@@ -17230,29 +17396,31 @@ class Client extends openapi_client_1.default {
|
|
|
17230
17396
|
return $tea.cast(await this.callApi(params, req, runtime), new GetRunningSqlConcurrencyControlRulesResponse({}));
|
|
17231
17397
|
}
|
|
17232
17398
|
/**
|
|
17233
|
-
*
|
|
17399
|
+
* Queries the throttling rules that are in effect.
|
|
17234
17400
|
*
|
|
17235
|
-
* @
|
|
17401
|
+
* @remarks
|
|
17402
|
+
* This operation supports the following database engines:
|
|
17236
17403
|
* * ApsaraDB RDS for MySQL
|
|
17237
17404
|
* * PolarDB for MySQL
|
|
17238
17405
|
*
|
|
17239
|
-
* @param request GetRunningSqlConcurrencyControlRulesRequest
|
|
17240
|
-
* @
|
|
17406
|
+
* @param request - GetRunningSqlConcurrencyControlRulesRequest
|
|
17407
|
+
* @returns GetRunningSqlConcurrencyControlRulesResponse
|
|
17241
17408
|
*/
|
|
17242
17409
|
async getRunningSqlConcurrencyControlRules(request) {
|
|
17243
17410
|
let runtime = new $Util.RuntimeOptions({});
|
|
17244
17411
|
return await this.getRunningSqlConcurrencyControlRulesWithOptions(request, runtime);
|
|
17245
17412
|
}
|
|
17246
17413
|
/**
|
|
17247
|
-
*
|
|
17414
|
+
* Generates a throttling keyword string based on an SQL statement.
|
|
17248
17415
|
*
|
|
17249
|
-
* @
|
|
17416
|
+
* @remarks
|
|
17417
|
+
* This operation supports the following database engines:
|
|
17250
17418
|
* * ApsaraDB RDS for MySQL
|
|
17251
17419
|
* * PolarDB for MySQL
|
|
17252
17420
|
*
|
|
17253
|
-
* @param request GetSqlConcurrencyControlKeywordsFromSqlTextRequest
|
|
17254
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17255
|
-
* @
|
|
17421
|
+
* @param request - GetSqlConcurrencyControlKeywordsFromSqlTextRequest
|
|
17422
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17423
|
+
* @returns GetSqlConcurrencyControlKeywordsFromSqlTextResponse
|
|
17256
17424
|
*/
|
|
17257
17425
|
async getSqlConcurrencyControlKeywordsFromSqlTextWithOptions(request, runtime) {
|
|
17258
17426
|
tea_util_1.default.validateModel(request);
|
|
@@ -17283,29 +17451,31 @@ class Client extends openapi_client_1.default {
|
|
|
17283
17451
|
return $tea.cast(await this.callApi(params, req, runtime), new GetSqlConcurrencyControlKeywordsFromSqlTextResponse({}));
|
|
17284
17452
|
}
|
|
17285
17453
|
/**
|
|
17286
|
-
*
|
|
17454
|
+
* Generates a throttling keyword string based on an SQL statement.
|
|
17287
17455
|
*
|
|
17288
|
-
* @
|
|
17456
|
+
* @remarks
|
|
17457
|
+
* This operation supports the following database engines:
|
|
17289
17458
|
* * ApsaraDB RDS for MySQL
|
|
17290
17459
|
* * PolarDB for MySQL
|
|
17291
17460
|
*
|
|
17292
|
-
* @param request GetSqlConcurrencyControlKeywordsFromSqlTextRequest
|
|
17293
|
-
* @
|
|
17461
|
+
* @param request - GetSqlConcurrencyControlKeywordsFromSqlTextRequest
|
|
17462
|
+
* @returns GetSqlConcurrencyControlKeywordsFromSqlTextResponse
|
|
17294
17463
|
*/
|
|
17295
17464
|
async getSqlConcurrencyControlKeywordsFromSqlText(request) {
|
|
17296
17465
|
let runtime = new $Util.RuntimeOptions({});
|
|
17297
17466
|
return await this.getSqlConcurrencyControlKeywordsFromSqlTextWithOptions(request, runtime);
|
|
17298
17467
|
}
|
|
17299
17468
|
/**
|
|
17300
|
-
*
|
|
17469
|
+
* Queries the throttling rules that are being executed or have been triggered.
|
|
17301
17470
|
*
|
|
17302
|
-
* @
|
|
17471
|
+
* @remarks
|
|
17472
|
+
* This operation supports the following database engines:
|
|
17303
17473
|
* * ApsaraDB RDS for MySQL
|
|
17304
17474
|
* * PolarDB for MySQL
|
|
17305
17475
|
*
|
|
17306
|
-
* @param request GetSqlConcurrencyControlRulesHistoryRequest
|
|
17307
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17308
|
-
* @
|
|
17476
|
+
* @param request - GetSqlConcurrencyControlRulesHistoryRequest
|
|
17477
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17478
|
+
* @returns GetSqlConcurrencyControlRulesHistoryResponse
|
|
17309
17479
|
*/
|
|
17310
17480
|
async getSqlConcurrencyControlRulesHistoryWithOptions(request, runtime) {
|
|
17311
17481
|
tea_util_1.default.validateModel(request);
|
|
@@ -17339,32 +17509,34 @@ class Client extends openapi_client_1.default {
|
|
|
17339
17509
|
return $tea.cast(await this.callApi(params, req, runtime), new GetSqlConcurrencyControlRulesHistoryResponse({}));
|
|
17340
17510
|
}
|
|
17341
17511
|
/**
|
|
17342
|
-
*
|
|
17512
|
+
* Queries the throttling rules that are being executed or have been triggered.
|
|
17343
17513
|
*
|
|
17344
|
-
* @
|
|
17514
|
+
* @remarks
|
|
17515
|
+
* This operation supports the following database engines:
|
|
17345
17516
|
* * ApsaraDB RDS for MySQL
|
|
17346
17517
|
* * PolarDB for MySQL
|
|
17347
17518
|
*
|
|
17348
|
-
* @param request GetSqlConcurrencyControlRulesHistoryRequest
|
|
17349
|
-
* @
|
|
17519
|
+
* @param request - GetSqlConcurrencyControlRulesHistoryRequest
|
|
17520
|
+
* @returns GetSqlConcurrencyControlRulesHistoryResponse
|
|
17350
17521
|
*/
|
|
17351
17522
|
async getSqlConcurrencyControlRulesHistory(request) {
|
|
17352
17523
|
let runtime = new $Util.RuntimeOptions({});
|
|
17353
17524
|
return await this.getSqlConcurrencyControlRulesHistoryWithOptions(request, runtime);
|
|
17354
17525
|
}
|
|
17355
17526
|
/**
|
|
17356
|
-
*
|
|
17527
|
+
* Queries optimization suggestions that are generated by the SQL diagnostics feature of Database Autonomy Service (DAS).
|
|
17357
17528
|
*
|
|
17358
|
-
* @
|
|
17529
|
+
* @remarks
|
|
17530
|
+
* The SQL diagnostics feature provides optimization suggestions for instances based on diagnostics results. You can use the optimization suggestions to optimize instance indexes. For more information, see [Automatic SQL optimization](https://help.aliyun.com/document_detail/167895.html).
|
|
17359
17531
|
* > You can call this operation to query only the optimization suggestions that are automatically generated by the SQL diagnostics feature.
|
|
17360
17532
|
* Before you call this operation, take note of the following items:
|
|
17361
17533
|
* * This operation is applicable to ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters.
|
|
17362
17534
|
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17363
17535
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17364
17536
|
*
|
|
17365
|
-
* @param request GetSqlOptimizeAdviceRequest
|
|
17366
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17367
|
-
* @
|
|
17537
|
+
* @param request - GetSqlOptimizeAdviceRequest
|
|
17538
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17539
|
+
* @returns GetSqlOptimizeAdviceResponse
|
|
17368
17540
|
*/
|
|
17369
17541
|
async getSqlOptimizeAdviceWithOptions(request, runtime) {
|
|
17370
17542
|
tea_util_1.default.validateModel(request);
|
|
@@ -17404,33 +17576,36 @@ class Client extends openapi_client_1.default {
|
|
|
17404
17576
|
return $tea.cast(await this.callApi(params, req, runtime), new GetSqlOptimizeAdviceResponse({}));
|
|
17405
17577
|
}
|
|
17406
17578
|
/**
|
|
17407
|
-
*
|
|
17579
|
+
* Queries optimization suggestions that are generated by the SQL diagnostics feature of Database Autonomy Service (DAS).
|
|
17408
17580
|
*
|
|
17409
|
-
* @
|
|
17581
|
+
* @remarks
|
|
17582
|
+
* The SQL diagnostics feature provides optimization suggestions for instances based on diagnostics results. You can use the optimization suggestions to optimize instance indexes. For more information, see [Automatic SQL optimization](https://help.aliyun.com/document_detail/167895.html).
|
|
17410
17583
|
* > You can call this operation to query only the optimization suggestions that are automatically generated by the SQL diagnostics feature.
|
|
17411
17584
|
* Before you call this operation, take note of the following items:
|
|
17412
17585
|
* * This operation is applicable to ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters.
|
|
17413
17586
|
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17414
17587
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17415
17588
|
*
|
|
17416
|
-
* @param request GetSqlOptimizeAdviceRequest
|
|
17417
|
-
* @
|
|
17589
|
+
* @param request - GetSqlOptimizeAdviceRequest
|
|
17590
|
+
* @returns GetSqlOptimizeAdviceResponse
|
|
17418
17591
|
*/
|
|
17419
17592
|
async getSqlOptimizeAdvice(request) {
|
|
17420
17593
|
let runtime = new $Util.RuntimeOptions({});
|
|
17421
17594
|
return await this.getSqlOptimizeAdviceWithOptions(request, runtime);
|
|
17422
17595
|
}
|
|
17423
17596
|
/**
|
|
17424
|
-
*
|
|
17597
|
+
* Queries the status and results of a storage analysis task.
|
|
17425
17598
|
*
|
|
17426
|
-
* @
|
|
17599
|
+
* @remarks
|
|
17600
|
+
* > The physical file size indicates the actual size of an obtained file. Only specific deployment modes of database instances support the display of physical file sizes. The statistics on tables are obtained from `information_schema.tables`. Statistics in MySQL are not updated in real time. Therefore, the statistics may be different from the physical file sizes. If you want to obtain the latest data, you can execute the `ANALYZE TABLE` statement on the relevant tables during off-peak hours.
|
|
17427
17601
|
* * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and ApsaraDB for MongoDB instances.
|
|
17428
|
-
* *
|
|
17429
|
-
* * If you use an SDK to call
|
|
17602
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this operation works the same as the storage analysis feature of the previous version. Tasks generated by this operation cannot be viewed on the Storage Analysis page of the new version in the Database Autonomy Service (DAS) console. If you want to view the tasks and results, call the related API operation to obtain data and save data to your computer.
|
|
17603
|
+
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17604
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17430
17605
|
*
|
|
17431
|
-
* @param request GetStorageAnalysisResultRequest
|
|
17432
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17433
|
-
* @
|
|
17606
|
+
* @param request - GetStorageAnalysisResultRequest
|
|
17607
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17608
|
+
* @returns GetStorageAnalysisResultResponse
|
|
17434
17609
|
*/
|
|
17435
17610
|
async getStorageAnalysisResultWithOptions(request, runtime) {
|
|
17436
17611
|
tea_util_1.default.validateModel(request);
|
|
@@ -17461,31 +17636,34 @@ class Client extends openapi_client_1.default {
|
|
|
17461
17636
|
return $tea.cast(await this.callApi(params, req, runtime), new GetStorageAnalysisResultResponse({}));
|
|
17462
17637
|
}
|
|
17463
17638
|
/**
|
|
17464
|
-
*
|
|
17639
|
+
* Queries the status and results of a storage analysis task.
|
|
17465
17640
|
*
|
|
17466
|
-
* @
|
|
17641
|
+
* @remarks
|
|
17642
|
+
* > The physical file size indicates the actual size of an obtained file. Only specific deployment modes of database instances support the display of physical file sizes. The statistics on tables are obtained from `information_schema.tables`. Statistics in MySQL are not updated in real time. Therefore, the statistics may be different from the physical file sizes. If you want to obtain the latest data, you can execute the `ANALYZE TABLE` statement on the relevant tables during off-peak hours.
|
|
17467
17643
|
* * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and ApsaraDB for MongoDB instances.
|
|
17468
|
-
* *
|
|
17469
|
-
* * If you use an SDK to call
|
|
17644
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this operation works the same as the storage analysis feature of the previous version. Tasks generated by this operation cannot be viewed on the Storage Analysis page of the new version in the Database Autonomy Service (DAS) console. If you want to view the tasks and results, call the related API operation to obtain data and save data to your computer.
|
|
17645
|
+
* * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17646
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17470
17647
|
*
|
|
17471
|
-
* @param request GetStorageAnalysisResultRequest
|
|
17472
|
-
* @
|
|
17648
|
+
* @param request - GetStorageAnalysisResultRequest
|
|
17649
|
+
* @returns GetStorageAnalysisResultResponse
|
|
17473
17650
|
*/
|
|
17474
17651
|
async getStorageAnalysisResult(request) {
|
|
17475
17652
|
let runtime = new $Util.RuntimeOptions({});
|
|
17476
17653
|
return await this.getStorageAnalysisResultWithOptions(request, runtime);
|
|
17477
17654
|
}
|
|
17478
17655
|
/**
|
|
17479
|
-
*
|
|
17656
|
+
* Terminates all sessions on an instance.
|
|
17480
17657
|
*
|
|
17481
|
-
* @
|
|
17658
|
+
* @remarks
|
|
17659
|
+
* This operation is applicable only to ApsaraDB for Redis.
|
|
17482
17660
|
* * If you use Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V4.3.3. We recommend that you use the latest version.
|
|
17483
17661
|
* * The version of your Database Autonomy Service (DAS) SDK must be V1.0.2 or later.
|
|
17484
17662
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17485
17663
|
*
|
|
17486
|
-
* @param request KillInstanceAllSessionRequest
|
|
17487
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17488
|
-
* @
|
|
17664
|
+
* @param request - KillInstanceAllSessionRequest
|
|
17665
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17666
|
+
* @returns KillInstanceAllSessionResponse
|
|
17489
17667
|
*/
|
|
17490
17668
|
async killInstanceAllSessionWithOptions(request, runtime) {
|
|
17491
17669
|
tea_util_1.default.validateModel(request);
|
|
@@ -17513,24 +17691,26 @@ class Client extends openapi_client_1.default {
|
|
|
17513
17691
|
return $tea.cast(await this.callApi(params, req, runtime), new KillInstanceAllSessionResponse({}));
|
|
17514
17692
|
}
|
|
17515
17693
|
/**
|
|
17516
|
-
*
|
|
17694
|
+
* Terminates all sessions on an instance.
|
|
17517
17695
|
*
|
|
17518
|
-
* @
|
|
17696
|
+
* @remarks
|
|
17697
|
+
* This operation is applicable only to ApsaraDB for Redis.
|
|
17519
17698
|
* * If you use Alibaba Cloud SDK, make sure that the aliyun-sdk-core version is later than V4.3.3. We recommend that you use the latest version.
|
|
17520
17699
|
* * The version of your Database Autonomy Service (DAS) SDK must be V1.0.2 or later.
|
|
17521
17700
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17522
17701
|
*
|
|
17523
|
-
* @param request KillInstanceAllSessionRequest
|
|
17524
|
-
* @
|
|
17702
|
+
* @param request - KillInstanceAllSessionRequest
|
|
17703
|
+
* @returns KillInstanceAllSessionResponse
|
|
17525
17704
|
*/
|
|
17526
17705
|
async killInstanceAllSession(request) {
|
|
17527
17706
|
let runtime = new $Util.RuntimeOptions({});
|
|
17528
17707
|
return await this.killInstanceAllSessionWithOptions(request, runtime);
|
|
17529
17708
|
}
|
|
17530
17709
|
/**
|
|
17531
|
-
*
|
|
17710
|
+
* Modifies the auto scaling configurations of an instance.
|
|
17532
17711
|
*
|
|
17533
|
-
* @
|
|
17712
|
+
* @remarks
|
|
17713
|
+
* You can call this operation to modify the following auto scaling configurations of an instance: **auto scaling for specifications**, **automatic storage expansion**, **automatic bandwidth adjustment**, and **auto scaling for resources**.
|
|
17534
17714
|
* * You can modify the configurations of the **auto scaling feature for specifications** for the following types of database instances:
|
|
17535
17715
|
* * PolarDB for MySQL Cluster Edition instances. For more information about the feature and the billing rules, see [Automatic performance scaling](https://help.aliyun.com/document_detail/169686.html).
|
|
17536
17716
|
* * ApsaraDB RDS for MySQL High-availability Edition instances that use standard SSDs or enhanced SSDs (ESSDs). For more information about the feature and the billing rules, see [Automatic performance scaling](https://help.aliyun.com/document_detail/169686.html).
|
|
@@ -17543,9 +17723,9 @@ class Client extends openapi_client_1.default {
|
|
|
17543
17723
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17544
17724
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17545
17725
|
*
|
|
17546
|
-
* @param request ModifyAutoScalingConfigRequest
|
|
17547
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17548
|
-
* @
|
|
17726
|
+
* @param request - ModifyAutoScalingConfigRequest
|
|
17727
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17728
|
+
* @returns ModifyAutoScalingConfigResponse
|
|
17549
17729
|
*/
|
|
17550
17730
|
async modifyAutoScalingConfigWithOptions(request, runtime) {
|
|
17551
17731
|
tea_util_1.default.validateModel(request);
|
|
@@ -17585,9 +17765,10 @@ class Client extends openapi_client_1.default {
|
|
|
17585
17765
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAutoScalingConfigResponse({}));
|
|
17586
17766
|
}
|
|
17587
17767
|
/**
|
|
17588
|
-
*
|
|
17768
|
+
* Modifies the auto scaling configurations of an instance.
|
|
17589
17769
|
*
|
|
17590
|
-
* @
|
|
17770
|
+
* @remarks
|
|
17771
|
+
* You can call this operation to modify the following auto scaling configurations of an instance: **auto scaling for specifications**, **automatic storage expansion**, **automatic bandwidth adjustment**, and **auto scaling for resources**.
|
|
17591
17772
|
* * You can modify the configurations of the **auto scaling feature for specifications** for the following types of database instances:
|
|
17592
17773
|
* * PolarDB for MySQL Cluster Edition instances. For more information about the feature and the billing rules, see [Automatic performance scaling](https://help.aliyun.com/document_detail/169686.html).
|
|
17593
17774
|
* * ApsaraDB RDS for MySQL High-availability Edition instances that use standard SSDs or enhanced SSDs (ESSDs). For more information about the feature and the billing rules, see [Automatic performance scaling](https://help.aliyun.com/document_detail/169686.html).
|
|
@@ -17600,24 +17781,25 @@ class Client extends openapi_client_1.default {
|
|
|
17600
17781
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17601
17782
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17602
17783
|
*
|
|
17603
|
-
* @param request ModifyAutoScalingConfigRequest
|
|
17604
|
-
* @
|
|
17784
|
+
* @param request - ModifyAutoScalingConfigRequest
|
|
17785
|
+
* @returns ModifyAutoScalingConfigResponse
|
|
17605
17786
|
*/
|
|
17606
17787
|
async modifyAutoScalingConfig(request) {
|
|
17607
17788
|
let runtime = new $Util.RuntimeOptions({});
|
|
17608
17789
|
return await this.modifyAutoScalingConfigWithOptions(request, runtime);
|
|
17609
17790
|
}
|
|
17610
17791
|
/**
|
|
17611
|
-
*
|
|
17792
|
+
* Enables or configures Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
17612
17793
|
*
|
|
17613
|
-
* @
|
|
17794
|
+
* @remarks
|
|
17795
|
+
* Before you call this operation, take note of the following items:
|
|
17614
17796
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17615
17797
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17616
17798
|
* * By default, the latest version of DAS Enterprise Edition that supports the database instance is enabled. For information about the databases and regions that are supported by different versions of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
17617
17799
|
*
|
|
17618
|
-
* @param request ModifySqlLogConfigRequest
|
|
17619
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17620
|
-
* @
|
|
17800
|
+
* @param request - ModifySqlLogConfigRequest
|
|
17801
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17802
|
+
* @returns ModifySqlLogConfigResponse
|
|
17621
17803
|
*/
|
|
17622
17804
|
async modifySqlLogConfigWithOptions(request, runtime) {
|
|
17623
17805
|
tea_util_1.default.validateModel(request);
|
|
@@ -17659,28 +17841,30 @@ class Client extends openapi_client_1.default {
|
|
|
17659
17841
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifySqlLogConfigResponse({}));
|
|
17660
17842
|
}
|
|
17661
17843
|
/**
|
|
17662
|
-
*
|
|
17844
|
+
* Enables or configures Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
17663
17845
|
*
|
|
17664
|
-
* @
|
|
17846
|
+
* @remarks
|
|
17847
|
+
* Before you call this operation, take note of the following items:
|
|
17665
17848
|
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17666
17849
|
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
17667
17850
|
* * By default, the latest version of DAS Enterprise Edition that supports the database instance is enabled. For information about the databases and regions that are supported by different versions of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
17668
17851
|
*
|
|
17669
|
-
* @param request ModifySqlLogConfigRequest
|
|
17670
|
-
* @
|
|
17852
|
+
* @param request - ModifySqlLogConfigRequest
|
|
17853
|
+
* @returns ModifySqlLogConfigResponse
|
|
17671
17854
|
*/
|
|
17672
17855
|
async modifySqlLogConfig(request) {
|
|
17673
17856
|
let runtime = new $Util.RuntimeOptions({});
|
|
17674
17857
|
return await this.modifySqlLogConfigWithOptions(request, runtime);
|
|
17675
17858
|
}
|
|
17676
17859
|
/**
|
|
17677
|
-
*
|
|
17860
|
+
* Runs a stress testing task.
|
|
17678
17861
|
*
|
|
17679
|
-
* @
|
|
17862
|
+
* @remarks
|
|
17863
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
17680
17864
|
*
|
|
17681
|
-
* @param request RunCloudBenchTaskRequest
|
|
17682
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17683
|
-
* @
|
|
17865
|
+
* @param request - RunCloudBenchTaskRequest
|
|
17866
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17867
|
+
* @returns RunCloudBenchTaskResponse
|
|
17684
17868
|
*/
|
|
17685
17869
|
async runCloudBenchTaskWithOptions(request, runtime) {
|
|
17686
17870
|
tea_util_1.default.validateModel(request);
|
|
@@ -17705,28 +17889,30 @@ class Client extends openapi_client_1.default {
|
|
|
17705
17889
|
return $tea.cast(await this.callApi(params, req, runtime), new RunCloudBenchTaskResponse({}));
|
|
17706
17890
|
}
|
|
17707
17891
|
/**
|
|
17708
|
-
*
|
|
17892
|
+
* Runs a stress testing task.
|
|
17709
17893
|
*
|
|
17710
|
-
* @
|
|
17894
|
+
* @remarks
|
|
17895
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
17711
17896
|
*
|
|
17712
|
-
* @param request RunCloudBenchTaskRequest
|
|
17713
|
-
* @
|
|
17897
|
+
* @param request - RunCloudBenchTaskRequest
|
|
17898
|
+
* @returns RunCloudBenchTaskResponse
|
|
17714
17899
|
*/
|
|
17715
17900
|
async runCloudBenchTask(request) {
|
|
17716
17901
|
let runtime = new $Util.RuntimeOptions({});
|
|
17717
17902
|
return await this.runCloudBenchTaskWithOptions(request, runtime);
|
|
17718
17903
|
}
|
|
17719
17904
|
/**
|
|
17720
|
-
*
|
|
17905
|
+
* Configures the event subscription settings for a database instance.
|
|
17721
17906
|
*
|
|
17722
|
-
* @
|
|
17907
|
+
* @remarks
|
|
17908
|
+
* Before you call this operation, take note of the following items:
|
|
17723
17909
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17724
17910
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
17725
17911
|
* * Make sure that the database instance that you want to manage is connected to DAS.
|
|
17726
17912
|
*
|
|
17727
|
-
* @param request SetEventSubscriptionRequest
|
|
17728
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17729
|
-
* @
|
|
17913
|
+
* @param request - SetEventSubscriptionRequest
|
|
17914
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17915
|
+
* @returns SetEventSubscriptionResponse
|
|
17730
17916
|
*/
|
|
17731
17917
|
async setEventSubscriptionWithOptions(request, runtime) {
|
|
17732
17918
|
tea_util_1.default.validateModel(request);
|
|
@@ -17781,28 +17967,30 @@ class Client extends openapi_client_1.default {
|
|
|
17781
17967
|
return $tea.cast(await this.callApi(params, req, runtime), new SetEventSubscriptionResponse({}));
|
|
17782
17968
|
}
|
|
17783
17969
|
/**
|
|
17784
|
-
*
|
|
17970
|
+
* Configures the event subscription settings for a database instance.
|
|
17785
17971
|
*
|
|
17786
|
-
* @
|
|
17972
|
+
* @remarks
|
|
17973
|
+
* Before you call this operation, take note of the following items:
|
|
17787
17974
|
* * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
17788
17975
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
17789
17976
|
* * Make sure that the database instance that you want to manage is connected to DAS.
|
|
17790
17977
|
*
|
|
17791
|
-
* @param request SetEventSubscriptionRequest
|
|
17792
|
-
* @
|
|
17978
|
+
* @param request - SetEventSubscriptionRequest
|
|
17979
|
+
* @returns SetEventSubscriptionResponse
|
|
17793
17980
|
*/
|
|
17794
17981
|
async setEventSubscription(request) {
|
|
17795
17982
|
let runtime = new $Util.RuntimeOptions({});
|
|
17796
17983
|
return await this.setEventSubscriptionWithOptions(request, runtime);
|
|
17797
17984
|
}
|
|
17798
17985
|
/**
|
|
17799
|
-
*
|
|
17986
|
+
* Stops a stress testing task.
|
|
17800
17987
|
*
|
|
17801
|
-
* @
|
|
17988
|
+
* @remarks
|
|
17989
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
17802
17990
|
*
|
|
17803
|
-
* @param request StopCloudBenchTaskRequest
|
|
17804
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17805
|
-
* @
|
|
17991
|
+
* @param request - StopCloudBenchTaskRequest
|
|
17992
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17993
|
+
* @returns StopCloudBenchTaskResponse
|
|
17806
17994
|
*/
|
|
17807
17995
|
async stopCloudBenchTaskWithOptions(request, runtime) {
|
|
17808
17996
|
tea_util_1.default.validateModel(request);
|
|
@@ -17827,21 +18015,22 @@ class Client extends openapi_client_1.default {
|
|
|
17827
18015
|
return $tea.cast(await this.callApi(params, req, runtime), new StopCloudBenchTaskResponse({}));
|
|
17828
18016
|
}
|
|
17829
18017
|
/**
|
|
17830
|
-
*
|
|
18018
|
+
* Stops a stress testing task.
|
|
17831
18019
|
*
|
|
17832
|
-
* @
|
|
18020
|
+
* @remarks
|
|
18021
|
+
* Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
|
|
17833
18022
|
*
|
|
17834
|
-
* @param request StopCloudBenchTaskRequest
|
|
17835
|
-
* @
|
|
18023
|
+
* @param request - StopCloudBenchTaskRequest
|
|
18024
|
+
* @returns StopCloudBenchTaskResponse
|
|
17836
18025
|
*/
|
|
17837
18026
|
async stopCloudBenchTask(request) {
|
|
17838
18027
|
let runtime = new $Util.RuntimeOptions({});
|
|
17839
18028
|
return await this.stopCloudBenchTaskWithOptions(request, runtime);
|
|
17840
18029
|
}
|
|
17841
18030
|
/**
|
|
17842
|
-
* @param request SyncHDMAliyunResourceRequest
|
|
17843
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17844
|
-
* @
|
|
18031
|
+
* @param request - SyncHDMAliyunResourceRequest
|
|
18032
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18033
|
+
* @returns SyncHDMAliyunResourceResponse
|
|
17845
18034
|
*/
|
|
17846
18035
|
async syncHDMAliyunResourceWithOptions(request, runtime) {
|
|
17847
18036
|
tea_util_1.default.validateModel(request);
|
|
@@ -17893,26 +18082,27 @@ class Client extends openapi_client_1.default {
|
|
|
17893
18082
|
return $tea.cast(await this.callApi(params, req, runtime), new SyncHDMAliyunResourceResponse({}));
|
|
17894
18083
|
}
|
|
17895
18084
|
/**
|
|
17896
|
-
* @param request SyncHDMAliyunResourceRequest
|
|
17897
|
-
* @
|
|
18085
|
+
* @param request - SyncHDMAliyunResourceRequest
|
|
18086
|
+
* @returns SyncHDMAliyunResourceResponse
|
|
17898
18087
|
*/
|
|
17899
18088
|
async syncHDMAliyunResource(request) {
|
|
17900
18089
|
let runtime = new $Util.RuntimeOptions({});
|
|
17901
18090
|
return await this.syncHDMAliyunResourceWithOptions(request, runtime);
|
|
17902
18091
|
}
|
|
17903
18092
|
/**
|
|
17904
|
-
*
|
|
18093
|
+
* Asynchronously configures parameters related to the automatic fragment recycling feature for multiple database instances at a time.
|
|
17905
18094
|
*
|
|
17906
|
-
* @
|
|
18095
|
+
* @remarks
|
|
18096
|
+
* > Asynchronous calls do not immediately return the complete results. To obtain the complete results, you must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.**** In this case, you must call this operation at least twice.
|
|
17907
18097
|
* Before you call this operation, take note of the following items:
|
|
17908
18098
|
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17909
18099
|
* * The database instances must be an ApsaraDB RDS for MySQL High-availability Edition instance.
|
|
17910
18100
|
* * DAS Enterprise Edition must be enabled for the database instance. You can call the call [DescribeInstanceDasPro](https://help.aliyun.com/document_detail/413866.html) operation to query whether DAS Enterprise Edition is enabled.
|
|
17911
18101
|
* * The database instance has four or more CPU cores, and **innodb_file_per_table** is set to **ON**.
|
|
17912
18102
|
*
|
|
17913
|
-
* @param request UpdateAutoResourceOptimizeRulesAsyncRequest
|
|
17914
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17915
|
-
* @
|
|
18103
|
+
* @param request - UpdateAutoResourceOptimizeRulesAsyncRequest
|
|
18104
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18105
|
+
* @returns UpdateAutoResourceOptimizeRulesAsyncResponse
|
|
17916
18106
|
*/
|
|
17917
18107
|
async updateAutoResourceOptimizeRulesAsyncWithOptions(request, runtime) {
|
|
17918
18108
|
tea_util_1.default.validateModel(request);
|
|
@@ -17949,26 +18139,28 @@ class Client extends openapi_client_1.default {
|
|
|
17949
18139
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAutoResourceOptimizeRulesAsyncResponse({}));
|
|
17950
18140
|
}
|
|
17951
18141
|
/**
|
|
17952
|
-
*
|
|
18142
|
+
* Asynchronously configures parameters related to the automatic fragment recycling feature for multiple database instances at a time.
|
|
17953
18143
|
*
|
|
17954
|
-
* @
|
|
18144
|
+
* @remarks
|
|
18145
|
+
* > Asynchronous calls do not immediately return the complete results. To obtain the complete results, you must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.**** In this case, you must call this operation at least twice.
|
|
17955
18146
|
* Before you call this operation, take note of the following items:
|
|
17956
18147
|
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17957
18148
|
* * The database instances must be an ApsaraDB RDS for MySQL High-availability Edition instance.
|
|
17958
18149
|
* * DAS Enterprise Edition must be enabled for the database instance. You can call the call [DescribeInstanceDasPro](https://help.aliyun.com/document_detail/413866.html) operation to query whether DAS Enterprise Edition is enabled.
|
|
17959
18150
|
* * The database instance has four or more CPU cores, and **innodb_file_per_table** is set to **ON**.
|
|
17960
18151
|
*
|
|
17961
|
-
* @param request UpdateAutoResourceOptimizeRulesAsyncRequest
|
|
17962
|
-
* @
|
|
18152
|
+
* @param request - UpdateAutoResourceOptimizeRulesAsyncRequest
|
|
18153
|
+
* @returns UpdateAutoResourceOptimizeRulesAsyncResponse
|
|
17963
18154
|
*/
|
|
17964
18155
|
async updateAutoResourceOptimizeRulesAsync(request) {
|
|
17965
18156
|
let runtime = new $Util.RuntimeOptions({});
|
|
17966
18157
|
return await this.updateAutoResourceOptimizeRulesAsyncWithOptions(request, runtime);
|
|
17967
18158
|
}
|
|
17968
18159
|
/**
|
|
17969
|
-
*
|
|
18160
|
+
* Enables, modifies, or disables the automatic SQL optimization feature for multiple database instances at a time.
|
|
17970
18161
|
*
|
|
17971
|
-
* @
|
|
18162
|
+
* @remarks
|
|
18163
|
+
* Before you call this operation, take note of the following items:
|
|
17972
18164
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17973
18165
|
* * DAS Enterprise Edition must be enabled for the database instance that you want to manage. To enable DAS Enterprise Edition for a database instance, you can call the [EnableDasPro](https://help.aliyun.com/document_detail/411645.html) operation.
|
|
17974
18166
|
* * The autonomy service must be enabled for the database instance that you want to manage. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
@@ -17976,9 +18168,9 @@ class Client extends openapi_client_1.default {
|
|
|
17976
18168
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition
|
|
17977
18169
|
* * PolarDB for MySQL Cluster Edition or X-Engine Edition
|
|
17978
18170
|
*
|
|
17979
|
-
* @param request UpdateAutoSqlOptimizeStatusRequest
|
|
17980
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17981
|
-
* @
|
|
18171
|
+
* @param request - UpdateAutoSqlOptimizeStatusRequest
|
|
18172
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18173
|
+
* @returns UpdateAutoSqlOptimizeStatusResponse
|
|
17982
18174
|
*/
|
|
17983
18175
|
async updateAutoSqlOptimizeStatusWithOptions(request, runtime) {
|
|
17984
18176
|
tea_util_1.default.validateModel(request);
|
|
@@ -18006,9 +18198,10 @@ class Client extends openapi_client_1.default {
|
|
|
18006
18198
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAutoSqlOptimizeStatusResponse({}));
|
|
18007
18199
|
}
|
|
18008
18200
|
/**
|
|
18009
|
-
*
|
|
18201
|
+
* Enables, modifies, or disables the automatic SQL optimization feature for multiple database instances at a time.
|
|
18010
18202
|
*
|
|
18011
|
-
* @
|
|
18203
|
+
* @remarks
|
|
18204
|
+
* Before you call this operation, take note of the following items:
|
|
18012
18205
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18013
18206
|
* * DAS Enterprise Edition must be enabled for the database instance that you want to manage. To enable DAS Enterprise Edition for a database instance, you can call the [EnableDasPro](https://help.aliyun.com/document_detail/411645.html) operation.
|
|
18014
18207
|
* * The autonomy service must be enabled for the database instance that you want to manage. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
@@ -18016,17 +18209,18 @@ class Client extends openapi_client_1.default {
|
|
|
18016
18209
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition
|
|
18017
18210
|
* * PolarDB for MySQL Cluster Edition or X-Engine Edition
|
|
18018
18211
|
*
|
|
18019
|
-
* @param request UpdateAutoSqlOptimizeStatusRequest
|
|
18020
|
-
* @
|
|
18212
|
+
* @param request - UpdateAutoSqlOptimizeStatusRequest
|
|
18213
|
+
* @returns UpdateAutoSqlOptimizeStatusResponse
|
|
18021
18214
|
*/
|
|
18022
18215
|
async updateAutoSqlOptimizeStatus(request) {
|
|
18023
18216
|
let runtime = new $Util.RuntimeOptions({});
|
|
18024
18217
|
return await this.updateAutoSqlOptimizeStatusWithOptions(request, runtime);
|
|
18025
18218
|
}
|
|
18026
18219
|
/**
|
|
18027
|
-
*
|
|
18220
|
+
* Asynchronously configures parameters related to the automatic SQL throttling feature for multiple database instances at a time.
|
|
18028
18221
|
*
|
|
18029
|
-
* @
|
|
18222
|
+
* @remarks
|
|
18223
|
+
* > Asynchronous calls do not immediately return the complete results. You must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.
|
|
18030
18224
|
* Before you call this operation, take note of the following items:
|
|
18031
18225
|
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18032
18226
|
* * The autonomy service must be enabled for the database instance that you want to manage. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
@@ -18034,9 +18228,9 @@ class Client extends openapi_client_1.default {
|
|
|
18034
18228
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
18035
18229
|
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition that runs MySQL 8.0
|
|
18036
18230
|
*
|
|
18037
|
-
* @param request UpdateAutoThrottleRulesAsyncRequest
|
|
18038
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
18039
|
-
* @
|
|
18231
|
+
* @param request - UpdateAutoThrottleRulesAsyncRequest
|
|
18232
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18233
|
+
* @returns UpdateAutoThrottleRulesAsyncResponse
|
|
18040
18234
|
*/
|
|
18041
18235
|
async updateAutoThrottleRulesAsyncWithOptions(request, runtime) {
|
|
18042
18236
|
tea_util_1.default.validateModel(request);
|
|
@@ -18091,9 +18285,10 @@ class Client extends openapi_client_1.default {
|
|
|
18091
18285
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAutoThrottleRulesAsyncResponse({}));
|
|
18092
18286
|
}
|
|
18093
18287
|
/**
|
|
18094
|
-
*
|
|
18288
|
+
* Asynchronously configures parameters related to the automatic SQL throttling feature for multiple database instances at a time.
|
|
18095
18289
|
*
|
|
18096
|
-
* @
|
|
18290
|
+
* @remarks
|
|
18291
|
+
* > Asynchronous calls do not immediately return the complete results. You must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.
|
|
18097
18292
|
* Before you call this operation, take note of the following items:
|
|
18098
18293
|
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18099
18294
|
* * The autonomy service must be enabled for the database instance that you want to manage. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
@@ -18101,8 +18296,8 @@ class Client extends openapi_client_1.default {
|
|
|
18101
18296
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
18102
18297
|
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition that runs MySQL 8.0
|
|
18103
18298
|
*
|
|
18104
|
-
* @param request UpdateAutoThrottleRulesAsyncRequest
|
|
18105
|
-
* @
|
|
18299
|
+
* @param request - UpdateAutoThrottleRulesAsyncRequest
|
|
18300
|
+
* @returns UpdateAutoThrottleRulesAsyncResponse
|
|
18106
18301
|
*/
|
|
18107
18302
|
async updateAutoThrottleRulesAsync(request) {
|
|
18108
18303
|
let runtime = new $Util.RuntimeOptions({});
|