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