@alicloud/das20200116 2.0.2 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +2405 -1310
- package/dist/client.js +1506 -584
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +6726 -4957
package/dist/client.js
CHANGED
|
@@ -15,27 +15,38 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
28
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.DescribeCacheAnalysisJobRequest = exports.DescribeAutoScalingHistoryResponse = exports.DescribeAutoScalingHistoryResponseBody = exports.DescribeAutoScalingHistoryRequest = exports.DescribeAutoScalingConfigResponse = exports.DescribeAutoScalingConfigResponseBody = exports.DescribeAutoScalingConfigRequest = exports.DeleteStopGatewayResponse = exports.DeleteStopGatewayResponseBody = exports.DeleteStopGatewayRequest = exports.DeleteCloudBenchTaskResponse = exports.DeleteCloudBenchTaskResponseBody = exports.DeleteCloudBenchTaskRequest = exports.CreateStorageAnalysisTaskResponse = exports.CreateStorageAnalysisTaskResponseBody = exports.CreateStorageAnalysisTaskRequest = exports.CreateSqlLogTaskResponse = exports.CreateSqlLogTaskResponseBody = exports.CreateSqlLogTaskRequest = exports.CreateRequestDiagnosisResponse = exports.CreateRequestDiagnosisResponseBody = exports.CreateRequestDiagnosisRequest = exports.CreateQueryOptimizeTagResponse = exports.CreateQueryOptimizeTagResponseBody = exports.CreateQueryOptimizeTagRequest = exports.CreateKillInstanceSessionTaskWithMaintainUserResponse = exports.CreateKillInstanceSessionTaskWithMaintainUserResponseBody = exports.CreateKillInstanceSessionTaskWithMaintainUserRequest = exports.CreateKillInstanceSessionTaskResponse = exports.CreateKillInstanceSessionTaskResponseBody = exports.CreateKillInstanceSessionTaskRequest = exports.CreateDiagnosticReportResponse = exports.CreateDiagnosticReportResponseBody = exports.CreateDiagnosticReportRequest = exports.CreateCloudBenchTasksResponse = exports.CreateCloudBenchTasksResponseBody = exports.CreateCloudBenchTasksRequest = exports.CreateCacheAnalysisJobResponse = exports.CreateCacheAnalysisJobResponseBody = exports.CreateCacheAnalysisJobRequest = exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
+
exports.DescribeCacheAnalysisJobRequest = exports.DescribeAutoScalingHistoryResponse = exports.DescribeAutoScalingHistoryResponseBody = exports.DescribeAutoScalingHistoryRequest = exports.DescribeAutoScalingConfigResponse = exports.DescribeAutoScalingConfigResponseBody = exports.DescribeAutoScalingConfigRequest = exports.DeleteStopGatewayResponse = exports.DeleteStopGatewayResponseBody = exports.DeleteStopGatewayRequest = exports.DeleteCloudBenchTaskResponse = exports.DeleteCloudBenchTaskResponseBody = exports.DeleteCloudBenchTaskRequest = exports.CreateStorageAnalysisTaskResponse = exports.CreateStorageAnalysisTaskResponseBody = exports.CreateStorageAnalysisTaskRequest = exports.CreateSqlLogTaskResponse = exports.CreateSqlLogTaskResponseBody = exports.CreateSqlLogTaskRequest = exports.CreateRequestDiagnosisResponse = exports.CreateRequestDiagnosisResponseBody = exports.CreateRequestDiagnosisRequest = exports.CreateQueryOptimizeTagResponse = exports.CreateQueryOptimizeTagResponseBody = exports.CreateQueryOptimizeTagRequest = exports.CreateLatestDeadLockAnalysisResponse = exports.CreateLatestDeadLockAnalysisResponseBody = exports.CreateLatestDeadLockAnalysisRequest = exports.CreateKillInstanceSessionTaskWithMaintainUserResponse = exports.CreateKillInstanceSessionTaskWithMaintainUserResponseBody = exports.CreateKillInstanceSessionTaskWithMaintainUserRequest = exports.CreateKillInstanceSessionTaskResponse = exports.CreateKillInstanceSessionTaskResponseBody = exports.CreateKillInstanceSessionTaskRequest = exports.CreateDiagnosticReportResponse = exports.CreateDiagnosticReportResponseBody = exports.CreateDiagnosticReportRequest = exports.CreateCloudBenchTasksResponse = exports.CreateCloudBenchTasksResponseBody = exports.CreateCloudBenchTasksRequest = exports.CreateCacheAnalysisJobResponse = exports.CreateCacheAnalysisJobResponseBody = exports.CreateCacheAnalysisJobRequest = exports.AddHDMInstanceResponse = exports.AddHDMInstanceResponseBody = exports.AddHDMInstanceRequest = exports.DataValue = exports.DataSessionStatDbStatsValue = exports.DataSessionStatClientStatsValue = exports.DataResultValue = void 0;
|
|
40
|
+
exports.DescribeTopBigKeysResponse = exports.DescribeTopBigKeysResponseBody = exports.DescribeTopBigKeysRequest = exports.DescribeSqlLogTasksResponse = exports.DescribeSqlLogTasksResponseBody = exports.DescribeSqlLogTasksRequest = exports.DescribeSqlLogTaskResponse = exports.DescribeSqlLogTaskResponseBody = exports.DescribeSqlLogTaskRequest = exports.DescribeSqlLogStatisticResponse = exports.DescribeSqlLogStatisticResponseBody = exports.DescribeSqlLogStatisticRequest = exports.DescribeSqlLogRecordsResponse = exports.DescribeSqlLogRecordsResponseBody = exports.DescribeSqlLogRecordsRequest = exports.DescribeSqlLogConfigResponse = exports.DescribeSqlLogConfigResponseBody = exports.DescribeSqlLogConfigRequest = exports.DescribeSlowLogStatisticResponse = exports.DescribeSlowLogStatisticResponseBody = exports.DescribeSlowLogStatisticRequest = exports.DescribeSlowLogHistogramAsyncResponse = exports.DescribeSlowLogHistogramAsyncResponseBody = exports.DescribeSlowLogHistogramAsyncRequest = exports.DescribeInstanceDasProResponse = exports.DescribeInstanceDasProResponseBody = exports.DescribeInstanceDasProRequest = exports.DescribeHotKeysResponse = exports.DescribeHotKeysResponseBody = exports.DescribeHotKeysRequest = exports.DescribeHotBigKeysResponse = exports.DescribeHotBigKeysResponseBody = exports.DescribeHotBigKeysRequest = exports.DescribeDiagnosticReportListResponse = exports.DescribeDiagnosticReportListResponseBody = exports.DescribeDiagnosticReportListRequest = exports.DescribeCloudbenchTaskConfigResponse = exports.DescribeCloudbenchTaskConfigResponseBody = exports.DescribeCloudbenchTaskConfigRequest = exports.DescribeCloudbenchTaskResponse = exports.DescribeCloudbenchTaskResponseBody = exports.DescribeCloudbenchTaskRequest = exports.DescribeCloudBenchTasksResponse = exports.DescribeCloudBenchTasksResponseBody = exports.DescribeCloudBenchTasksRequest = exports.DescribeCacheAnalysisJobsResponse = exports.DescribeCacheAnalysisJobsResponseBody = exports.DescribeCacheAnalysisJobsRequest = exports.DescribeCacheAnalysisJobResponse = exports.DescribeCacheAnalysisJobResponseBody = void 0;
|
|
41
|
+
exports.GetAutonomousNotifyEventsInRangeResponseBody = exports.GetAutonomousNotifyEventsInRangeRequest = exports.GetAutonomousNotifyEventContentResponse = exports.GetAutonomousNotifyEventContentResponseBody = exports.GetAutonomousNotifyEventContentRequest = exports.GetAutoThrottleRulesResponse = exports.GetAutoThrottleRulesResponseBody = exports.GetAutoThrottleRulesRequest = exports.GetAutoResourceOptimizeRulesResponse = exports.GetAutoResourceOptimizeRulesResponseBody = exports.GetAutoResourceOptimizeRulesRequest = exports.GetAutoIncrementUsageStatisticResponse = exports.GetAutoIncrementUsageStatisticResponseBody = exports.GetAutoIncrementUsageStatisticRequest = exports.GetAsyncErrorRequestStatResultResponse = exports.GetAsyncErrorRequestStatResultResponseBody = exports.GetAsyncErrorRequestStatResultRequest = exports.GetAsyncErrorRequestStatByCodeResponse = exports.GetAsyncErrorRequestStatByCodeResponseBody = exports.GetAsyncErrorRequestStatByCodeRequest = exports.GetAsyncErrorRequestListByCodeResponse = exports.GetAsyncErrorRequestListByCodeResponseBody = exports.GetAsyncErrorRequestListByCodeRequest = exports.EnableSqlConcurrencyControlResponse = exports.EnableSqlConcurrencyControlResponseBody = exports.EnableSqlConcurrencyControlRequest = exports.EnableDasProResponse = exports.EnableDasProResponseBody = exports.EnableDasProRequest = exports.DisableSqlConcurrencyControlResponse = exports.DisableSqlConcurrencyControlResponseBody = exports.DisableSqlConcurrencyControlRequest = exports.DisableInstanceDasConfigResponse = exports.DisableInstanceDasConfigResponseBody = exports.DisableInstanceDasConfigRequest = exports.DisableDasProResponse = exports.DisableDasProResponseBody = exports.DisableDasProRequest = exports.DisableAutoThrottleRulesResponse = exports.DisableAutoThrottleRulesResponseBody = exports.DisableAutoThrottleRulesRequest = exports.DisableAutoResourceOptimizeRulesResponse = exports.DisableAutoResourceOptimizeRulesResponseBody = exports.DisableAutoResourceOptimizeRulesRequest = exports.DisableAllSqlConcurrencyControlRulesResponse = exports.DisableAllSqlConcurrencyControlRulesResponseBody = exports.DisableAllSqlConcurrencyControlRulesRequest = exports.DescribeTopHotKeysResponse = exports.DescribeTopHotKeysResponseBody = exports.DescribeTopHotKeysRequest = void 0;
|
|
42
|
+
exports.GetInstanceInspectionsRequest = exports.GetHDMLastAliyunResourceSyncResultResponse = exports.GetHDMLastAliyunResourceSyncResultResponseBody = exports.GetHDMLastAliyunResourceSyncResultRequest = exports.GetHDMAliyunResourceSyncResultResponse = exports.GetHDMAliyunResourceSyncResultResponseBody = exports.GetHDMAliyunResourceSyncResultRequest = exports.GetFullRequestStatResultByInstanceIdResponse = exports.GetFullRequestStatResultByInstanceIdResponseBody = exports.GetFullRequestStatResultByInstanceIdRequest = exports.GetFullRequestSampleByInstanceIdResponse = exports.GetFullRequestSampleByInstanceIdResponseBody = exports.GetFullRequestSampleByInstanceIdRequest = exports.GetFullRequestOriginStatByInstanceIdResponse = exports.GetFullRequestOriginStatByInstanceIdResponseBody = exports.GetFullRequestOriginStatByInstanceIdRequest = exports.GetEventSubscriptionResponse = exports.GetEventSubscriptionResponseBody = exports.GetEventSubscriptionRequest = exports.GetErrorRequestSampleResponse = exports.GetErrorRequestSampleResponseBody = exports.GetErrorRequestSampleRequest = exports.GetEndpointSwitchTaskResponse = exports.GetEndpointSwitchTaskResponseBody = exports.GetEndpointSwitchTaskRequest = exports.GetDeadlockHistogramResponse = exports.GetDeadlockHistogramResponseBody = exports.GetDeadlockHistogramRequest = exports.GetDeadLockHistoryResponse = exports.GetDeadLockHistoryResponseBody = exports.GetDeadLockHistoryRequest = exports.GetDeadLockDetailListResponse = exports.GetDeadLockDetailListResponseBody = exports.GetDeadLockDetailListRequest = exports.GetDeadLockDetailResponse = exports.GetDeadLockDetailResponseBody = exports.GetDeadLockDetailRequest = exports.GetDasSQLLogHotDataResponse = exports.GetDasSQLLogHotDataResponseBody = exports.GetDasSQLLogHotDataRequest = exports.GetDasProServiceUsageResponse = exports.GetDasProServiceUsageResponseBody = exports.GetDasProServiceUsageRequest = exports.GetDBInstanceConnectivityDiagnosisResponse = exports.GetDBInstanceConnectivityDiagnosisResponseBody = exports.GetDBInstanceConnectivityDiagnosisRequest = exports.GetBlockingDetailListResponse = exports.GetBlockingDetailListResponseBody = exports.GetBlockingDetailListRequest = exports.GetAutonomousNotifyEventsInRangeResponse = void 0;
|
|
43
|
+
exports.GetQueryOptimizeShareUrlResponse = exports.GetQueryOptimizeShareUrlResponseBody = exports.GetQueryOptimizeShareUrlRequest = exports.GetQueryOptimizeRuleListResponse = exports.GetQueryOptimizeRuleListResponseBody = exports.GetQueryOptimizeRuleListRequest = exports.GetQueryOptimizeExecErrorStatsResponse = exports.GetQueryOptimizeExecErrorStatsResponseBody = exports.GetQueryOptimizeExecErrorStatsRequest = exports.GetQueryOptimizeExecErrorSampleResponse = exports.GetQueryOptimizeExecErrorSampleResponseBody = exports.GetQueryOptimizeExecErrorSampleRequest = exports.GetQueryOptimizeDataTrendResponse = exports.GetQueryOptimizeDataTrendResponseBody = exports.GetQueryOptimizeDataTrendRequest = exports.GetQueryOptimizeDataTopResponse = exports.GetQueryOptimizeDataTopResponseBody = exports.GetQueryOptimizeDataTopRequest = exports.GetQueryOptimizeDataStatsResponse = exports.GetQueryOptimizeDataStatsResponseBody = exports.GetQueryOptimizeDataStatsRequest = exports.GetPfsSqlSummariesResponse = exports.GetPfsSqlSummariesResponseBody = exports.GetPfsSqlSummariesRequest = exports.GetPfsSqlSampleResponse = exports.GetPfsSqlSampleResponseBody = exports.GetPfsSqlSampleRequest = exports.GetPfsMetricTrendsResponse = exports.GetPfsMetricTrendsResponseBody = exports.GetPfsMetricTrendsRequest = exports.GetPartitionsHeatmapResponse = exports.GetPartitionsHeatmapResponseBody = exports.GetPartitionsHeatmapRequest = exports.GetMySQLAllSessionAsyncResponse = exports.GetMySQLAllSessionAsyncResponseBody = exports.GetMySQLAllSessionAsyncRequest = exports.GetMongoDBCurrentOpResponse = exports.GetMongoDBCurrentOpResponseBody = exports.GetMongoDBCurrentOpRequest = exports.GetKillInstanceSessionTaskResultResponse = exports.GetKillInstanceSessionTaskResultResponseBody = exports.GetKillInstanceSessionTaskResultRequest = exports.GetInstanceSqlOptimizeStatisticResponse = exports.GetInstanceSqlOptimizeStatisticResponseBody = exports.GetInstanceSqlOptimizeStatisticRequest = exports.GetInstanceMissingIndexListResponse = exports.GetInstanceMissingIndexListResponseBody = exports.GetInstanceMissingIndexListRequest = exports.GetInstanceInspectionsResponse = exports.GetInstanceInspectionsResponseBody = void 0;
|
|
44
|
+
exports.UpdateAutoSqlOptimizeStatusResponseBody = exports.UpdateAutoSqlOptimizeStatusRequest = exports.UpdateAutoResourceOptimizeRulesAsyncResponse = exports.UpdateAutoResourceOptimizeRulesAsyncResponseBody = exports.UpdateAutoResourceOptimizeRulesAsyncRequest = exports.SetEventSubscriptionResponse = exports.SetEventSubscriptionResponseBody = exports.SetEventSubscriptionRequest = exports.RunCloudBenchTaskResponse = exports.RunCloudBenchTaskResponseBody = exports.RunCloudBenchTaskRequest = exports.ModifySqlLogConfigResponse = exports.ModifySqlLogConfigResponseBody = exports.ModifySqlLogConfigRequest = exports.ModifyAutoScalingConfigResponse = exports.ModifyAutoScalingConfigResponseBody = exports.ModifyAutoScalingConfigRequest = exports.KillInstanceAllSessionResponse = exports.KillInstanceAllSessionResponseBody = exports.KillInstanceAllSessionRequest = exports.GetStorageAnalysisResultResponse = exports.GetStorageAnalysisResultResponseBody = exports.GetStorageAnalysisResultRequest = exports.GetSqlOptimizeAdviceResponse = exports.GetSqlOptimizeAdviceResponseBody = exports.GetSqlOptimizeAdviceRequest = exports.GetSqlConcurrencyControlRulesHistoryResponse = exports.GetSqlConcurrencyControlRulesHistoryResponseBody = exports.GetSqlConcurrencyControlRulesHistoryRequest = exports.GetSqlConcurrencyControlKeywordsFromSqlTextResponse = exports.GetSqlConcurrencyControlKeywordsFromSqlTextResponseBody = exports.GetSqlConcurrencyControlKeywordsFromSqlTextRequest = exports.GetRunningSqlConcurrencyControlRulesResponse = exports.GetRunningSqlConcurrencyControlRulesResponseBody = exports.GetRunningSqlConcurrencyControlRulesRequest = exports.GetRequestDiagnosisResultResponse = exports.GetRequestDiagnosisResultResponseBody = exports.GetRequestDiagnosisResultRequest = exports.GetRequestDiagnosisPageResponse = exports.GetRequestDiagnosisPageResponseBody = exports.GetRequestDiagnosisPageRequest = exports.GetRedisAllSessionResponse = exports.GetRedisAllSessionResponseBody = exports.GetRedisAllSessionRequest = exports.GetQueryOptimizeTagResponse = exports.GetQueryOptimizeTagResponseBody = exports.GetQueryOptimizeTagRequest = exports.GetQueryOptimizeSolutionResponse = exports.GetQueryOptimizeSolutionResponseBody = exports.GetQueryOptimizeSolutionRequest = void 0;
|
|
45
|
+
exports.DescribeHotKeysResponseBodyData = exports.DescribeHotKeysResponseBodyDataHotKey = exports.DescribeHotBigKeysResponseBodyData = exports.DescribeHotBigKeysResponseBodyDataHotKeys = exports.DescribeHotBigKeysResponseBodyDataHotKeysHotKey = exports.DescribeHotBigKeysResponseBodyDataBigKeys = exports.DescribeHotBigKeysResponseBodyDataBigKeysBigKey = exports.DescribeCloudbenchTaskConfigResponseBodyData = exports.DescribeCloudbenchTaskResponseBodyData = exports.DescribeCloudBenchTasksResponseBodyData = exports.DescribeCloudBenchTasksResponseBodyDataList = exports.DescribeCloudBenchTasksResponseBodyDataListCloudbenchTasks = exports.DescribeCacheAnalysisJobsResponseBodyData = exports.DescribeCacheAnalysisJobsResponseBodyDataList = exports.DescribeCacheAnalysisJobsResponseBodyDataListCacheAnalysisJob = exports.DescribeCacheAnalysisJobsResponseBodyDataListCacheAnalysisJobBigKeys = exports.DescribeCacheAnalysisJobsResponseBodyDataListCacheAnalysisJobBigKeysKeyInfo = exports.DescribeCacheAnalysisJobResponseBodyData = exports.DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfNum = exports.DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfNumKeyInfo = exports.DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfBytes = exports.DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfBytesKeyInfo = exports.DescribeCacheAnalysisJobResponseBodyDataKeyPrefixes = exports.DescribeCacheAnalysisJobResponseBodyDataKeyPrefixesPrefix = exports.DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCount = exports.DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCountExpiryLevel = exports.DescribeCacheAnalysisJobResponseBodyDataBigKeysOfNum = exports.DescribeCacheAnalysisJobResponseBodyDataBigKeysOfNumKeyInfo = exports.DescribeCacheAnalysisJobResponseBodyDataBigKeys = exports.DescribeCacheAnalysisJobResponseBodyDataBigKeysKeyInfo = exports.DescribeAutoScalingHistoryResponseBodyData = exports.DescribeAutoScalingHistoryResponseBodyDataSpecHistory = exports.DescribeAutoScalingConfigResponseBodyData = exports.DescribeAutoScalingConfigResponseBodyDataStorage = exports.DescribeAutoScalingConfigResponseBodyDataSpec = exports.DescribeAutoScalingConfigResponseBodyDataShard = exports.DescribeAutoScalingConfigResponseBodyDataResource = exports.DescribeAutoScalingConfigResponseBodyDataBandwidth = exports.CreateStorageAnalysisTaskResponseBodyData = exports.CreateSqlLogTaskResponseBodyData = exports.CreateSqlLogTaskRequestFilters = exports.CreateCloudBenchTasksResponseBodyData = exports.CreateCacheAnalysisJobResponseBodyData = exports.CreateCacheAnalysisJobResponseBodyDataBigKeys = exports.CreateCacheAnalysisJobResponseBodyDataBigKeysKeyInfo = exports.AddHDMInstanceResponseBodyData = exports.UpdateAutoThrottleRulesAsyncResponse = exports.UpdateAutoThrottleRulesAsyncResponseBody = exports.UpdateAutoThrottleRulesAsyncRequest = exports.UpdateAutoSqlOptimizeStatusResponse = void 0;
|
|
46
|
+
exports.GetAutoThrottleRulesResponseBodyData = exports.GetAutoThrottleRulesResponseBodyDataTurnOffAutoThrottleList = exports.GetAutoThrottleRulesResponseBodyDataEnableAutoThrottleList = exports.GetAutoResourceOptimizeRulesResponseBodyData = exports.GetAutoResourceOptimizeRulesResponseBodyDataTurnOffAutoResourceOptimizeList = exports.GetAutoResourceOptimizeRulesResponseBodyDataHasEnableRuleButNotDasProList = exports.GetAutoResourceOptimizeRulesResponseBodyDataEnableAutoResourceOptimizeList = exports.GetAutoIncrementUsageStatisticResponseBodyData = exports.GetAutoIncrementUsageStatisticResponseBodyDataAutoIncrementUsageList = exports.GetAsyncErrorRequestStatResultResponseBodyData = exports.GetAsyncErrorRequestStatByCodeResponseBodyData = exports.GetAsyncErrorRequestStatByCodeResponseBodyDataResult = exports.GetAsyncErrorRequestListByCodeResponseBodyData = exports.GetAsyncErrorRequestListByCodeResponseBodyDataResult = exports.DisableAutoThrottleRulesResponseBodyData = exports.DisableAutoThrottleRulesResponseBodyDataConfigSuccessInstanceList = exports.DisableAutoThrottleRulesResponseBodyDataConfigFailInstanceList = exports.DisableAutoResourceOptimizeRulesResponseBodyData = exports.DisableAutoResourceOptimizeRulesResponseBodyDataConfigSuccessInstanceList = exports.DisableAutoResourceOptimizeRulesResponseBodyDataConfigFailInstanceList = exports.DescribeTopHotKeysResponseBodyData = exports.DescribeTopHotKeysResponseBodyDataHotKey = exports.DescribeTopBigKeysResponseBodyData = exports.DescribeTopBigKeysResponseBodyDataBigKey = exports.DescribeSqlLogTasksResponseBodyData = exports.DescribeSqlLogTasksResponseBodyDataList = exports.DescribeSqlLogTasksResponseBodyDataListFilters = exports.DescribeSqlLogTasksRequestFilters = exports.DescribeSqlLogTaskResponseBodyData = exports.DescribeSqlLogTaskResponseBodyDataQueries = exports.DescribeSqlLogTaskResponseBodyDataFilters = exports.DescribeSqlLogStatisticResponseBodyData = exports.DescribeSqlLogRecordsResponseBodyData = exports.DescribeSqlLogRecordsResponseBodyDataItems = exports.DescribeSqlLogRecordsResponseBodyDataItemsSQLLogRecord = exports.DescribeSqlLogRecordsRequestFilters = exports.DescribeSqlLogConfigResponseBodyData = exports.DescribeSlowLogStatisticResponseBodyData = exports.DescribeSlowLogStatisticResponseBodyDataData = exports.DescribeSlowLogStatisticResponseBodyDataDataLogs = exports.DescribeSlowLogStatisticResponseBodyDataDataLogsTrend = exports.DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag = exports.DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram = exports.DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem = exports.DescribeSlowLogStatisticRequestFilters = exports.DescribeSlowLogHistogramAsyncResponseBodyData = exports.DescribeSlowLogHistogramAsyncResponseBodyDataData = exports.DescribeSlowLogHistogramAsyncResponseBodyDataDataItem = exports.DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems = exports.DescribeSlowLogHistogramAsyncRequestFilters = void 0;
|
|
47
|
+
exports.GetPfsSqlSummariesResponseBodyData = exports.GetPfsSqlSummariesResponseBodyDataList = exports.GetPfsSqlSampleResponseBodyData = exports.GetMySQLAllSessionAsyncResponseBodyData = exports.GetMySQLAllSessionAsyncResponseBodyDataSessionData = exports.GetMySQLAllSessionAsyncResponseBodyDataSessionDataUserStats = exports.GetMySQLAllSessionAsyncResponseBodyDataSessionDataSessionList = exports.GetMySQLAllSessionAsyncResponseBodyDataSessionDataDbStats = exports.GetMySQLAllSessionAsyncResponseBodyDataSessionDataClientStats = exports.GetMongoDBCurrentOpResponseBodyData = exports.GetMongoDBCurrentOpResponseBodyDataSessionStat = exports.GetMongoDBCurrentOpResponseBodyDataSessionList = exports.GetKillInstanceSessionTaskResultResponseBodyData = exports.GetKillInstanceSessionTaskResultResponseBodyDataResult = exports.GetInstanceSqlOptimizeStatisticResponseBodyData = exports.GetInstanceMissingIndexListResponseBodyData = exports.GetInstanceMissingIndexListResponseBodyDataList = exports.GetInstanceInspectionsResponseBodyData = exports.GetInstanceInspectionsResponseBodyDataList = exports.GetInstanceInspectionsResponseBodyDataListInstance = exports.GetInstanceInspectionsResponseBodyDataListAutoFunction = exports.GetHDMLastAliyunResourceSyncResultResponseBodyData = exports.GetHDMLastAliyunResourceSyncResultResponseBodyDataSubResults = exports.GetHDMLastAliyunResourceSyncResultResponseBodyDataSubResultsResourceSyncSubResult = exports.GetHDMAliyunResourceSyncResultResponseBodyData = exports.GetHDMAliyunResourceSyncResultResponseBodyDataSubResults = exports.GetHDMAliyunResourceSyncResultResponseBodyDataSubResultsResourceSyncSubResult = exports.GetFullRequestStatResultByInstanceIdResponseBodyData = exports.GetFullRequestStatResultByInstanceIdResponseBodyDataResult = exports.GetFullRequestStatResultByInstanceIdResponseBodyDataResultList = exports.GetFullRequestSampleByInstanceIdResponseBodyData = exports.GetFullRequestOriginStatByInstanceIdResponseBodyData = exports.GetFullRequestOriginStatByInstanceIdResponseBodyDataList = exports.GetEventSubscriptionResponseBodyData = exports.GetEventSubscriptionResponseBodyDataContacts = exports.GetEventSubscriptionResponseBodyDataContactGroups = exports.GetErrorRequestSampleResponseBodyData = exports.GetEndpointSwitchTaskResponseBodyData = exports.GetDeadlockHistogramResponseBodyData = exports.GetDeadLockDetailListResponseBodyData = exports.GetDeadLockDetailListResponseBodyDataList = exports.GetDeadLockDetailListResponseBodyDataListBlockProcessList = exports.GetDasSQLLogHotDataResponseBodyData = exports.GetDasSQLLogHotDataResponseBodyDataList = exports.GetDasProServiceUsageResponseBodyData = exports.GetDBInstanceConnectivityDiagnosisResponseBodyData = exports.GetBlockingDetailListResponseBodyData = exports.GetBlockingDetailListResponseBodyDataList = exports.GetAutonomousNotifyEventsInRangeResponseBodyData = exports.GetAutonomousNotifyEventsInRangeResponseBodyDataList = void 0;
|
|
48
|
+
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 = exports.GetRunningSqlConcurrencyControlRulesResponseBodyDataListRunningRules = exports.GetRequestDiagnosisResultResponseBodyData = exports.GetRequestDiagnosisPageResponseBodyData = exports.GetRequestDiagnosisPageResponseBodyDataList = exports.GetRedisAllSessionResponseBodyData = exports.GetRedisAllSessionResponseBodyDataSourceStats = exports.GetRedisAllSessionResponseBodyDataSessions = exports.GetQueryOptimizeTagResponseBodyData = exports.GetQueryOptimizeSolutionResponseBodyData = exports.GetQueryOptimizeSolutionResponseBodyDataList = exports.GetQueryOptimizeRuleListResponseBodyData = exports.GetQueryOptimizeRuleListResponseBodyDataList = exports.GetQueryOptimizeExecErrorStatsResponseBodyData = exports.GetQueryOptimizeExecErrorStatsResponseBodyDataList = exports.GetQueryOptimizeExecErrorSampleResponseBodyData = exports.GetQueryOptimizeExecErrorSampleResponseBodyDataList = exports.GetQueryOptimizeDataTrendResponseBodyData = exports.GetQueryOptimizeDataTrendResponseBodyDataList = exports.GetQueryOptimizeDataTopResponseBodyData = exports.GetQueryOptimizeDataTopResponseBodyDataList = exports.GetQueryOptimizeDataStatsResponseBodyData = exports.GetQueryOptimizeDataStatsResponseBodyDataList = exports.GetQueryOptimizeDataStatsResponseBodyDataListRuleList = void 0;
|
|
49
|
+
exports.UpdateAutoThrottleRulesAsyncResponseBodyData = exports.UpdateAutoThrottleRulesAsyncResponseBodyDataConfigResponse = void 0;
|
|
39
50
|
// This file is auto-generated, don't edit it
|
|
40
51
|
/**
|
|
41
52
|
*/
|
|
@@ -204,88 +215,6 @@ class AddHDMInstanceResponse extends $tea.Model {
|
|
|
204
215
|
}
|
|
205
216
|
}
|
|
206
217
|
exports.AddHDMInstanceResponse = AddHDMInstanceResponse;
|
|
207
|
-
class CreateAdamBenchTaskRequest extends $tea.Model {
|
|
208
|
-
static names() {
|
|
209
|
-
return {
|
|
210
|
-
description: 'Description',
|
|
211
|
-
dstInstanceId: 'DstInstanceId',
|
|
212
|
-
dstSuperAccount: 'DstSuperAccount',
|
|
213
|
-
dstSuperPassword: 'DstSuperPassword',
|
|
214
|
-
rate: 'Rate',
|
|
215
|
-
requestDuration: 'RequestDuration',
|
|
216
|
-
requestStartTime: 'RequestStartTime',
|
|
217
|
-
srcEngine: 'SrcEngine',
|
|
218
|
-
srcEngineVersion: 'SrcEngineVersion',
|
|
219
|
-
srcMaxQps: 'SrcMaxQps',
|
|
220
|
-
srcMeanQps: 'SrcMeanQps',
|
|
221
|
-
srcSqlOssAddr: 'SrcSqlOssAddr',
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
static types() {
|
|
225
|
-
return {
|
|
226
|
-
description: 'string',
|
|
227
|
-
dstInstanceId: 'string',
|
|
228
|
-
dstSuperAccount: 'string',
|
|
229
|
-
dstSuperPassword: 'string',
|
|
230
|
-
rate: 'number',
|
|
231
|
-
requestDuration: 'number',
|
|
232
|
-
requestStartTime: 'number',
|
|
233
|
-
srcEngine: 'string',
|
|
234
|
-
srcEngineVersion: 'string',
|
|
235
|
-
srcMaxQps: 'number',
|
|
236
|
-
srcMeanQps: 'number',
|
|
237
|
-
srcSqlOssAddr: 'string',
|
|
238
|
-
};
|
|
239
|
-
}
|
|
240
|
-
constructor(map) {
|
|
241
|
-
super(map);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
exports.CreateAdamBenchTaskRequest = CreateAdamBenchTaskRequest;
|
|
245
|
-
class CreateAdamBenchTaskResponseBody extends $tea.Model {
|
|
246
|
-
static names() {
|
|
247
|
-
return {
|
|
248
|
-
code: 'Code',
|
|
249
|
-
data: 'Data',
|
|
250
|
-
message: 'Message',
|
|
251
|
-
requestId: 'RequestId',
|
|
252
|
-
success: 'Success',
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
static types() {
|
|
256
|
-
return {
|
|
257
|
-
code: 'string',
|
|
258
|
-
data: 'string',
|
|
259
|
-
message: 'string',
|
|
260
|
-
requestId: 'string',
|
|
261
|
-
success: 'string',
|
|
262
|
-
};
|
|
263
|
-
}
|
|
264
|
-
constructor(map) {
|
|
265
|
-
super(map);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
exports.CreateAdamBenchTaskResponseBody = CreateAdamBenchTaskResponseBody;
|
|
269
|
-
class CreateAdamBenchTaskResponse extends $tea.Model {
|
|
270
|
-
static names() {
|
|
271
|
-
return {
|
|
272
|
-
headers: 'headers',
|
|
273
|
-
statusCode: 'statusCode',
|
|
274
|
-
body: 'body',
|
|
275
|
-
};
|
|
276
|
-
}
|
|
277
|
-
static types() {
|
|
278
|
-
return {
|
|
279
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
280
|
-
statusCode: 'number',
|
|
281
|
-
body: CreateAdamBenchTaskResponseBody,
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
constructor(map) {
|
|
285
|
-
super(map);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
exports.CreateAdamBenchTaskResponse = CreateAdamBenchTaskResponse;
|
|
289
218
|
class CreateCacheAnalysisJobRequest extends $tea.Model {
|
|
290
219
|
static names() {
|
|
291
220
|
return {
|
|
@@ -668,6 +597,68 @@ class CreateKillInstanceSessionTaskWithMaintainUserResponse extends $tea.Model {
|
|
|
668
597
|
}
|
|
669
598
|
}
|
|
670
599
|
exports.CreateKillInstanceSessionTaskWithMaintainUserResponse = CreateKillInstanceSessionTaskWithMaintainUserResponse;
|
|
600
|
+
class CreateLatestDeadLockAnalysisRequest extends $tea.Model {
|
|
601
|
+
static names() {
|
|
602
|
+
return {
|
|
603
|
+
instanceId: 'InstanceId',
|
|
604
|
+
nodeId: 'NodeId',
|
|
605
|
+
};
|
|
606
|
+
}
|
|
607
|
+
static types() {
|
|
608
|
+
return {
|
|
609
|
+
instanceId: 'string',
|
|
610
|
+
nodeId: 'string',
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
constructor(map) {
|
|
614
|
+
super(map);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
exports.CreateLatestDeadLockAnalysisRequest = CreateLatestDeadLockAnalysisRequest;
|
|
618
|
+
class CreateLatestDeadLockAnalysisResponseBody extends $tea.Model {
|
|
619
|
+
static names() {
|
|
620
|
+
return {
|
|
621
|
+
code: 'Code',
|
|
622
|
+
data: 'Data',
|
|
623
|
+
message: 'Message',
|
|
624
|
+
requestId: 'RequestId',
|
|
625
|
+
success: 'Success',
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
static types() {
|
|
629
|
+
return {
|
|
630
|
+
code: 'number',
|
|
631
|
+
data: 'boolean',
|
|
632
|
+
message: 'string',
|
|
633
|
+
requestId: 'string',
|
|
634
|
+
success: 'boolean',
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
constructor(map) {
|
|
638
|
+
super(map);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
exports.CreateLatestDeadLockAnalysisResponseBody = CreateLatestDeadLockAnalysisResponseBody;
|
|
642
|
+
class CreateLatestDeadLockAnalysisResponse extends $tea.Model {
|
|
643
|
+
static names() {
|
|
644
|
+
return {
|
|
645
|
+
headers: 'headers',
|
|
646
|
+
statusCode: 'statusCode',
|
|
647
|
+
body: 'body',
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
static types() {
|
|
651
|
+
return {
|
|
652
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
653
|
+
statusCode: 'number',
|
|
654
|
+
body: CreateLatestDeadLockAnalysisResponseBody,
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
constructor(map) {
|
|
658
|
+
super(map);
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
exports.CreateLatestDeadLockAnalysisResponse = CreateLatestDeadLockAnalysisResponse;
|
|
671
662
|
class CreateQueryOptimizeTagRequest extends $tea.Model {
|
|
672
663
|
static names() {
|
|
673
664
|
return {
|
|
@@ -1766,6 +1757,154 @@ class DescribeInstanceDasProResponse extends $tea.Model {
|
|
|
1766
1757
|
}
|
|
1767
1758
|
}
|
|
1768
1759
|
exports.DescribeInstanceDasProResponse = DescribeInstanceDasProResponse;
|
|
1760
|
+
class DescribeSlowLogHistogramAsyncRequest extends $tea.Model {
|
|
1761
|
+
static names() {
|
|
1762
|
+
return {
|
|
1763
|
+
endTime: 'EndTime',
|
|
1764
|
+
filters: 'Filters',
|
|
1765
|
+
instanceId: 'InstanceId',
|
|
1766
|
+
nodeId: 'NodeId',
|
|
1767
|
+
startTime: 'StartTime',
|
|
1768
|
+
};
|
|
1769
|
+
}
|
|
1770
|
+
static types() {
|
|
1771
|
+
return {
|
|
1772
|
+
endTime: 'number',
|
|
1773
|
+
filters: { 'type': 'array', 'itemType': DescribeSlowLogHistogramAsyncRequestFilters },
|
|
1774
|
+
instanceId: 'string',
|
|
1775
|
+
nodeId: 'string',
|
|
1776
|
+
startTime: 'number',
|
|
1777
|
+
};
|
|
1778
|
+
}
|
|
1779
|
+
constructor(map) {
|
|
1780
|
+
super(map);
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
exports.DescribeSlowLogHistogramAsyncRequest = DescribeSlowLogHistogramAsyncRequest;
|
|
1784
|
+
class DescribeSlowLogHistogramAsyncResponseBody extends $tea.Model {
|
|
1785
|
+
static names() {
|
|
1786
|
+
return {
|
|
1787
|
+
code: 'Code',
|
|
1788
|
+
data: 'Data',
|
|
1789
|
+
message: 'Message',
|
|
1790
|
+
requestId: 'RequestId',
|
|
1791
|
+
success: 'Success',
|
|
1792
|
+
};
|
|
1793
|
+
}
|
|
1794
|
+
static types() {
|
|
1795
|
+
return {
|
|
1796
|
+
code: 'string',
|
|
1797
|
+
data: DescribeSlowLogHistogramAsyncResponseBodyData,
|
|
1798
|
+
message: 'string',
|
|
1799
|
+
requestId: 'string',
|
|
1800
|
+
success: 'string',
|
|
1801
|
+
};
|
|
1802
|
+
}
|
|
1803
|
+
constructor(map) {
|
|
1804
|
+
super(map);
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
exports.DescribeSlowLogHistogramAsyncResponseBody = DescribeSlowLogHistogramAsyncResponseBody;
|
|
1808
|
+
class DescribeSlowLogHistogramAsyncResponse extends $tea.Model {
|
|
1809
|
+
static names() {
|
|
1810
|
+
return {
|
|
1811
|
+
headers: 'headers',
|
|
1812
|
+
statusCode: 'statusCode',
|
|
1813
|
+
body: 'body',
|
|
1814
|
+
};
|
|
1815
|
+
}
|
|
1816
|
+
static types() {
|
|
1817
|
+
return {
|
|
1818
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1819
|
+
statusCode: 'number',
|
|
1820
|
+
body: DescribeSlowLogHistogramAsyncResponseBody,
|
|
1821
|
+
};
|
|
1822
|
+
}
|
|
1823
|
+
constructor(map) {
|
|
1824
|
+
super(map);
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
exports.DescribeSlowLogHistogramAsyncResponse = DescribeSlowLogHistogramAsyncResponse;
|
|
1828
|
+
class DescribeSlowLogStatisticRequest extends $tea.Model {
|
|
1829
|
+
static names() {
|
|
1830
|
+
return {
|
|
1831
|
+
asc: 'Asc',
|
|
1832
|
+
endTime: 'EndTime',
|
|
1833
|
+
filters: 'Filters',
|
|
1834
|
+
instanceId: 'InstanceId',
|
|
1835
|
+
nodeId: 'NodeId',
|
|
1836
|
+
orderBy: 'OrderBy',
|
|
1837
|
+
pageNumber: 'PageNumber',
|
|
1838
|
+
pageSize: 'PageSize',
|
|
1839
|
+
startTime: 'StartTime',
|
|
1840
|
+
templateId: 'TemplateId',
|
|
1841
|
+
type: 'Type',
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
static types() {
|
|
1845
|
+
return {
|
|
1846
|
+
asc: 'boolean',
|
|
1847
|
+
endTime: 'number',
|
|
1848
|
+
filters: { 'type': 'array', 'itemType': DescribeSlowLogStatisticRequestFilters },
|
|
1849
|
+
instanceId: 'string',
|
|
1850
|
+
nodeId: 'string',
|
|
1851
|
+
orderBy: 'string',
|
|
1852
|
+
pageNumber: 'number',
|
|
1853
|
+
pageSize: 'number',
|
|
1854
|
+
startTime: 'number',
|
|
1855
|
+
templateId: 'string',
|
|
1856
|
+
type: 'string',
|
|
1857
|
+
};
|
|
1858
|
+
}
|
|
1859
|
+
constructor(map) {
|
|
1860
|
+
super(map);
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
exports.DescribeSlowLogStatisticRequest = DescribeSlowLogStatisticRequest;
|
|
1864
|
+
class DescribeSlowLogStatisticResponseBody extends $tea.Model {
|
|
1865
|
+
static names() {
|
|
1866
|
+
return {
|
|
1867
|
+
code: 'Code',
|
|
1868
|
+
data: 'Data',
|
|
1869
|
+
message: 'Message',
|
|
1870
|
+
requestId: 'RequestId',
|
|
1871
|
+
success: 'Success',
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
static types() {
|
|
1875
|
+
return {
|
|
1876
|
+
code: 'string',
|
|
1877
|
+
data: DescribeSlowLogStatisticResponseBodyData,
|
|
1878
|
+
message: 'string',
|
|
1879
|
+
requestId: 'string',
|
|
1880
|
+
success: 'string',
|
|
1881
|
+
};
|
|
1882
|
+
}
|
|
1883
|
+
constructor(map) {
|
|
1884
|
+
super(map);
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
exports.DescribeSlowLogStatisticResponseBody = DescribeSlowLogStatisticResponseBody;
|
|
1888
|
+
class DescribeSlowLogStatisticResponse extends $tea.Model {
|
|
1889
|
+
static names() {
|
|
1890
|
+
return {
|
|
1891
|
+
headers: 'headers',
|
|
1892
|
+
statusCode: 'statusCode',
|
|
1893
|
+
body: 'body',
|
|
1894
|
+
};
|
|
1895
|
+
}
|
|
1896
|
+
static types() {
|
|
1897
|
+
return {
|
|
1898
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1899
|
+
statusCode: 'number',
|
|
1900
|
+
body: DescribeSlowLogStatisticResponseBody,
|
|
1901
|
+
};
|
|
1902
|
+
}
|
|
1903
|
+
constructor(map) {
|
|
1904
|
+
super(map);
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
exports.DescribeSlowLogStatisticResponse = DescribeSlowLogStatisticResponse;
|
|
1769
1908
|
class DescribeSqlLogConfigRequest extends $tea.Model {
|
|
1770
1909
|
static names() {
|
|
1771
1910
|
return {
|
|
@@ -3596,20 +3735,88 @@ class GetDasSQLLogHotDataResponse extends $tea.Model {
|
|
|
3596
3735
|
}
|
|
3597
3736
|
}
|
|
3598
3737
|
exports.GetDasSQLLogHotDataResponse = GetDasSQLLogHotDataResponse;
|
|
3599
|
-
class
|
|
3738
|
+
class GetDeadLockDetailRequest extends $tea.Model {
|
|
3600
3739
|
static names() {
|
|
3601
3740
|
return {
|
|
3602
|
-
dbNameList: 'DbNameList',
|
|
3603
|
-
endTime: 'EndTime',
|
|
3604
3741
|
instanceId: 'InstanceId',
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3742
|
+
nodeId: 'NodeId',
|
|
3743
|
+
source: 'Source',
|
|
3744
|
+
textId: 'TextId',
|
|
3608
3745
|
};
|
|
3609
3746
|
}
|
|
3610
3747
|
static types() {
|
|
3611
3748
|
return {
|
|
3612
|
-
|
|
3749
|
+
instanceId: 'string',
|
|
3750
|
+
nodeId: 'string',
|
|
3751
|
+
source: 'string',
|
|
3752
|
+
textId: 'string',
|
|
3753
|
+
};
|
|
3754
|
+
}
|
|
3755
|
+
constructor(map) {
|
|
3756
|
+
super(map);
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
exports.GetDeadLockDetailRequest = GetDeadLockDetailRequest;
|
|
3760
|
+
class GetDeadLockDetailResponseBody extends $tea.Model {
|
|
3761
|
+
static names() {
|
|
3762
|
+
return {
|
|
3763
|
+
code: 'Code',
|
|
3764
|
+
data: 'Data',
|
|
3765
|
+
message: 'Message',
|
|
3766
|
+
requestId: 'RequestId',
|
|
3767
|
+
success: 'Success',
|
|
3768
|
+
synchro: 'Synchro',
|
|
3769
|
+
};
|
|
3770
|
+
}
|
|
3771
|
+
static types() {
|
|
3772
|
+
return {
|
|
3773
|
+
code: 'string',
|
|
3774
|
+
data: 'string',
|
|
3775
|
+
message: 'string',
|
|
3776
|
+
requestId: 'string',
|
|
3777
|
+
success: 'string',
|
|
3778
|
+
synchro: 'string',
|
|
3779
|
+
};
|
|
3780
|
+
}
|
|
3781
|
+
constructor(map) {
|
|
3782
|
+
super(map);
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
exports.GetDeadLockDetailResponseBody = GetDeadLockDetailResponseBody;
|
|
3786
|
+
class GetDeadLockDetailResponse extends $tea.Model {
|
|
3787
|
+
static names() {
|
|
3788
|
+
return {
|
|
3789
|
+
headers: 'headers',
|
|
3790
|
+
statusCode: 'statusCode',
|
|
3791
|
+
body: 'body',
|
|
3792
|
+
};
|
|
3793
|
+
}
|
|
3794
|
+
static types() {
|
|
3795
|
+
return {
|
|
3796
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3797
|
+
statusCode: 'number',
|
|
3798
|
+
body: GetDeadLockDetailResponseBody,
|
|
3799
|
+
};
|
|
3800
|
+
}
|
|
3801
|
+
constructor(map) {
|
|
3802
|
+
super(map);
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
exports.GetDeadLockDetailResponse = GetDeadLockDetailResponse;
|
|
3806
|
+
class GetDeadLockDetailListRequest extends $tea.Model {
|
|
3807
|
+
static names() {
|
|
3808
|
+
return {
|
|
3809
|
+
dbNameList: 'DbNameList',
|
|
3810
|
+
endTime: 'EndTime',
|
|
3811
|
+
instanceId: 'InstanceId',
|
|
3812
|
+
pageNo: 'PageNo',
|
|
3813
|
+
pageSize: 'PageSize',
|
|
3814
|
+
startTime: 'StartTime',
|
|
3815
|
+
};
|
|
3816
|
+
}
|
|
3817
|
+
static types() {
|
|
3818
|
+
return {
|
|
3819
|
+
dbNameList: 'string',
|
|
3613
3820
|
endTime: 'string',
|
|
3614
3821
|
instanceId: 'string',
|
|
3615
3822
|
pageNo: 'string',
|
|
@@ -3666,6 +3873,148 @@ class GetDeadLockDetailListResponse extends $tea.Model {
|
|
|
3666
3873
|
}
|
|
3667
3874
|
}
|
|
3668
3875
|
exports.GetDeadLockDetailListResponse = GetDeadLockDetailListResponse;
|
|
3876
|
+
class GetDeadLockHistoryRequest extends $tea.Model {
|
|
3877
|
+
static names() {
|
|
3878
|
+
return {
|
|
3879
|
+
endTime: 'EndTime',
|
|
3880
|
+
instanceId: 'InstanceId',
|
|
3881
|
+
nodeId: 'NodeId',
|
|
3882
|
+
pageNo: 'PageNo',
|
|
3883
|
+
pageSize: 'PageSize',
|
|
3884
|
+
source: 'Source',
|
|
3885
|
+
startTime: 'StartTime',
|
|
3886
|
+
};
|
|
3887
|
+
}
|
|
3888
|
+
static types() {
|
|
3889
|
+
return {
|
|
3890
|
+
endTime: 'number',
|
|
3891
|
+
instanceId: 'string',
|
|
3892
|
+
nodeId: 'string',
|
|
3893
|
+
pageNo: 'number',
|
|
3894
|
+
pageSize: 'number',
|
|
3895
|
+
source: 'string',
|
|
3896
|
+
startTime: 'number',
|
|
3897
|
+
};
|
|
3898
|
+
}
|
|
3899
|
+
constructor(map) {
|
|
3900
|
+
super(map);
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
exports.GetDeadLockHistoryRequest = GetDeadLockHistoryRequest;
|
|
3904
|
+
class GetDeadLockHistoryResponseBody extends $tea.Model {
|
|
3905
|
+
static names() {
|
|
3906
|
+
return {
|
|
3907
|
+
code: 'Code',
|
|
3908
|
+
data: 'Data',
|
|
3909
|
+
message: 'Message',
|
|
3910
|
+
requestId: 'RequestId',
|
|
3911
|
+
success: 'Success',
|
|
3912
|
+
synchro: 'Synchro',
|
|
3913
|
+
};
|
|
3914
|
+
}
|
|
3915
|
+
static types() {
|
|
3916
|
+
return {
|
|
3917
|
+
code: 'string',
|
|
3918
|
+
data: 'string',
|
|
3919
|
+
message: 'string',
|
|
3920
|
+
requestId: 'string',
|
|
3921
|
+
success: 'string',
|
|
3922
|
+
synchro: 'string',
|
|
3923
|
+
};
|
|
3924
|
+
}
|
|
3925
|
+
constructor(map) {
|
|
3926
|
+
super(map);
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
exports.GetDeadLockHistoryResponseBody = GetDeadLockHistoryResponseBody;
|
|
3930
|
+
class GetDeadLockHistoryResponse extends $tea.Model {
|
|
3931
|
+
static names() {
|
|
3932
|
+
return {
|
|
3933
|
+
headers: 'headers',
|
|
3934
|
+
statusCode: 'statusCode',
|
|
3935
|
+
body: 'body',
|
|
3936
|
+
};
|
|
3937
|
+
}
|
|
3938
|
+
static types() {
|
|
3939
|
+
return {
|
|
3940
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3941
|
+
statusCode: 'number',
|
|
3942
|
+
body: GetDeadLockHistoryResponseBody,
|
|
3943
|
+
};
|
|
3944
|
+
}
|
|
3945
|
+
constructor(map) {
|
|
3946
|
+
super(map);
|
|
3947
|
+
}
|
|
3948
|
+
}
|
|
3949
|
+
exports.GetDeadLockHistoryResponse = GetDeadLockHistoryResponse;
|
|
3950
|
+
class GetDeadlockHistogramRequest extends $tea.Model {
|
|
3951
|
+
static names() {
|
|
3952
|
+
return {
|
|
3953
|
+
endTime: 'EndTime',
|
|
3954
|
+
instanceId: 'InstanceId',
|
|
3955
|
+
nodeId: 'NodeId',
|
|
3956
|
+
startTime: 'StartTime',
|
|
3957
|
+
status: 'Status',
|
|
3958
|
+
};
|
|
3959
|
+
}
|
|
3960
|
+
static types() {
|
|
3961
|
+
return {
|
|
3962
|
+
endTime: 'number',
|
|
3963
|
+
instanceId: 'string',
|
|
3964
|
+
nodeId: 'string',
|
|
3965
|
+
startTime: 'number',
|
|
3966
|
+
status: 'string',
|
|
3967
|
+
};
|
|
3968
|
+
}
|
|
3969
|
+
constructor(map) {
|
|
3970
|
+
super(map);
|
|
3971
|
+
}
|
|
3972
|
+
}
|
|
3973
|
+
exports.GetDeadlockHistogramRequest = GetDeadlockHistogramRequest;
|
|
3974
|
+
class GetDeadlockHistogramResponseBody extends $tea.Model {
|
|
3975
|
+
static names() {
|
|
3976
|
+
return {
|
|
3977
|
+
code: 'Code',
|
|
3978
|
+
data: 'Data',
|
|
3979
|
+
message: 'Message',
|
|
3980
|
+
requestId: 'RequestId',
|
|
3981
|
+
success: 'Success',
|
|
3982
|
+
};
|
|
3983
|
+
}
|
|
3984
|
+
static types() {
|
|
3985
|
+
return {
|
|
3986
|
+
code: 'number',
|
|
3987
|
+
data: { 'type': 'array', 'itemType': GetDeadlockHistogramResponseBodyData },
|
|
3988
|
+
message: 'string',
|
|
3989
|
+
requestId: 'string',
|
|
3990
|
+
success: 'boolean',
|
|
3991
|
+
};
|
|
3992
|
+
}
|
|
3993
|
+
constructor(map) {
|
|
3994
|
+
super(map);
|
|
3995
|
+
}
|
|
3996
|
+
}
|
|
3997
|
+
exports.GetDeadlockHistogramResponseBody = GetDeadlockHistogramResponseBody;
|
|
3998
|
+
class GetDeadlockHistogramResponse extends $tea.Model {
|
|
3999
|
+
static names() {
|
|
4000
|
+
return {
|
|
4001
|
+
headers: 'headers',
|
|
4002
|
+
statusCode: 'statusCode',
|
|
4003
|
+
body: 'body',
|
|
4004
|
+
};
|
|
4005
|
+
}
|
|
4006
|
+
static types() {
|
|
4007
|
+
return {
|
|
4008
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4009
|
+
statusCode: 'number',
|
|
4010
|
+
body: GetDeadlockHistogramResponseBody,
|
|
4011
|
+
};
|
|
4012
|
+
}
|
|
4013
|
+
constructor(map) {
|
|
4014
|
+
super(map);
|
|
4015
|
+
}
|
|
4016
|
+
}
|
|
4017
|
+
exports.GetDeadlockHistogramResponse = GetDeadlockHistogramResponse;
|
|
3669
4018
|
class GetEndpointSwitchTaskRequest extends $tea.Model {
|
|
3670
4019
|
static names() {
|
|
3671
4020
|
return {
|
|
@@ -6500,23 +6849,31 @@ class SetEventSubscriptionResponse extends $tea.Model {
|
|
|
6500
6849
|
}
|
|
6501
6850
|
}
|
|
6502
6851
|
exports.SetEventSubscriptionResponse = SetEventSubscriptionResponse;
|
|
6503
|
-
class
|
|
6852
|
+
class UpdateAutoResourceOptimizeRulesAsyncRequest extends $tea.Model {
|
|
6504
6853
|
static names() {
|
|
6505
6854
|
return {
|
|
6506
|
-
|
|
6855
|
+
consoleContext: 'ConsoleContext',
|
|
6856
|
+
instanceIds: 'InstanceIds',
|
|
6857
|
+
resultId: 'ResultId',
|
|
6858
|
+
tableFragmentationRatio: 'TableFragmentationRatio',
|
|
6859
|
+
tableSpaceSize: 'TableSpaceSize',
|
|
6507
6860
|
};
|
|
6508
6861
|
}
|
|
6509
6862
|
static types() {
|
|
6510
6863
|
return {
|
|
6511
|
-
|
|
6864
|
+
consoleContext: 'string',
|
|
6865
|
+
instanceIds: 'string',
|
|
6866
|
+
resultId: 'string',
|
|
6867
|
+
tableFragmentationRatio: 'number',
|
|
6868
|
+
tableSpaceSize: 'number',
|
|
6512
6869
|
};
|
|
6513
6870
|
}
|
|
6514
6871
|
constructor(map) {
|
|
6515
6872
|
super(map);
|
|
6516
6873
|
}
|
|
6517
6874
|
}
|
|
6518
|
-
exports.
|
|
6519
|
-
class
|
|
6875
|
+
exports.UpdateAutoResourceOptimizeRulesAsyncRequest = UpdateAutoResourceOptimizeRulesAsyncRequest;
|
|
6876
|
+
class UpdateAutoResourceOptimizeRulesAsyncResponseBody extends $tea.Model {
|
|
6520
6877
|
static names() {
|
|
6521
6878
|
return {
|
|
6522
6879
|
code: 'Code',
|
|
@@ -6528,19 +6885,19 @@ class StopCloudBenchTaskResponseBody extends $tea.Model {
|
|
|
6528
6885
|
}
|
|
6529
6886
|
static types() {
|
|
6530
6887
|
return {
|
|
6531
|
-
code: '
|
|
6532
|
-
data:
|
|
6888
|
+
code: 'number',
|
|
6889
|
+
data: UpdateAutoResourceOptimizeRulesAsyncResponseBodyData,
|
|
6533
6890
|
message: 'string',
|
|
6534
6891
|
requestId: 'string',
|
|
6535
|
-
success: '
|
|
6892
|
+
success: 'boolean',
|
|
6536
6893
|
};
|
|
6537
6894
|
}
|
|
6538
6895
|
constructor(map) {
|
|
6539
6896
|
super(map);
|
|
6540
6897
|
}
|
|
6541
6898
|
}
|
|
6542
|
-
exports.
|
|
6543
|
-
class
|
|
6899
|
+
exports.UpdateAutoResourceOptimizeRulesAsyncResponseBody = UpdateAutoResourceOptimizeRulesAsyncResponseBody;
|
|
6900
|
+
class UpdateAutoResourceOptimizeRulesAsyncResponse extends $tea.Model {
|
|
6544
6901
|
static names() {
|
|
6545
6902
|
return {
|
|
6546
6903
|
headers: 'headers',
|
|
@@ -6552,49 +6909,33 @@ class StopCloudBenchTaskResponse extends $tea.Model {
|
|
|
6552
6909
|
return {
|
|
6553
6910
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6554
6911
|
statusCode: 'number',
|
|
6555
|
-
body:
|
|
6912
|
+
body: UpdateAutoResourceOptimizeRulesAsyncResponseBody,
|
|
6556
6913
|
};
|
|
6557
6914
|
}
|
|
6558
6915
|
constructor(map) {
|
|
6559
6916
|
super(map);
|
|
6560
6917
|
}
|
|
6561
6918
|
}
|
|
6562
|
-
exports.
|
|
6563
|
-
class
|
|
6919
|
+
exports.UpdateAutoResourceOptimizeRulesAsyncResponse = UpdateAutoResourceOptimizeRulesAsyncResponse;
|
|
6920
|
+
class UpdateAutoSqlOptimizeStatusRequest extends $tea.Model {
|
|
6564
6921
|
static names() {
|
|
6565
6922
|
return {
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
uid: 'Uid',
|
|
6569
|
-
userId: 'UserId',
|
|
6570
|
-
waitForModifySecurityIps: 'WaitForModifySecurityIps',
|
|
6571
|
-
context: '__context',
|
|
6572
|
-
accessKey: 'accessKey',
|
|
6573
|
-
signature: 'signature',
|
|
6574
|
-
skipAuth: 'skipAuth',
|
|
6575
|
-
timestamp: 'timestamp',
|
|
6923
|
+
instances: 'Instances',
|
|
6924
|
+
status: 'Status',
|
|
6576
6925
|
};
|
|
6577
6926
|
}
|
|
6578
6927
|
static types() {
|
|
6579
6928
|
return {
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
uid: 'string',
|
|
6583
|
-
userId: 'string',
|
|
6584
|
-
waitForModifySecurityIps: 'string',
|
|
6585
|
-
context: 'string',
|
|
6586
|
-
accessKey: 'string',
|
|
6587
|
-
signature: 'string',
|
|
6588
|
-
skipAuth: 'string',
|
|
6589
|
-
timestamp: 'string',
|
|
6929
|
+
instances: 'string',
|
|
6930
|
+
status: 'number',
|
|
6590
6931
|
};
|
|
6591
6932
|
}
|
|
6592
6933
|
constructor(map) {
|
|
6593
6934
|
super(map);
|
|
6594
6935
|
}
|
|
6595
6936
|
}
|
|
6596
|
-
exports.
|
|
6597
|
-
class
|
|
6937
|
+
exports.UpdateAutoSqlOptimizeStatusRequest = UpdateAutoSqlOptimizeStatusRequest;
|
|
6938
|
+
class UpdateAutoSqlOptimizeStatusResponseBody extends $tea.Model {
|
|
6598
6939
|
static names() {
|
|
6599
6940
|
return {
|
|
6600
6941
|
code: 'Code',
|
|
@@ -6602,25 +6943,23 @@ class SyncHDMAliyunResourceResponseBody extends $tea.Model {
|
|
|
6602
6943
|
message: 'Message',
|
|
6603
6944
|
requestId: 'RequestId',
|
|
6604
6945
|
success: 'Success',
|
|
6605
|
-
synchro: 'Synchro',
|
|
6606
6946
|
};
|
|
6607
6947
|
}
|
|
6608
6948
|
static types() {
|
|
6609
6949
|
return {
|
|
6610
6950
|
code: 'string',
|
|
6611
|
-
data:
|
|
6951
|
+
data: UpdateAutoSqlOptimizeStatusResponseBodyData,
|
|
6612
6952
|
message: 'string',
|
|
6613
6953
|
requestId: 'string',
|
|
6614
6954
|
success: 'string',
|
|
6615
|
-
synchro: 'string',
|
|
6616
6955
|
};
|
|
6617
6956
|
}
|
|
6618
6957
|
constructor(map) {
|
|
6619
6958
|
super(map);
|
|
6620
6959
|
}
|
|
6621
6960
|
}
|
|
6622
|
-
exports.
|
|
6623
|
-
class
|
|
6961
|
+
exports.UpdateAutoSqlOptimizeStatusResponseBody = UpdateAutoSqlOptimizeStatusResponseBody;
|
|
6962
|
+
class UpdateAutoSqlOptimizeStatusResponse extends $tea.Model {
|
|
6624
6963
|
static names() {
|
|
6625
6964
|
return {
|
|
6626
6965
|
headers: 'headers',
|
|
@@ -6632,157 +6971,27 @@ class SyncHDMAliyunResourceResponse extends $tea.Model {
|
|
|
6632
6971
|
return {
|
|
6633
6972
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6634
6973
|
statusCode: 'number',
|
|
6635
|
-
body:
|
|
6974
|
+
body: UpdateAutoSqlOptimizeStatusResponseBody,
|
|
6636
6975
|
};
|
|
6637
6976
|
}
|
|
6638
6977
|
constructor(map) {
|
|
6639
6978
|
super(map);
|
|
6640
6979
|
}
|
|
6641
6980
|
}
|
|
6642
|
-
exports.
|
|
6643
|
-
class
|
|
6981
|
+
exports.UpdateAutoSqlOptimizeStatusResponse = UpdateAutoSqlOptimizeStatusResponse;
|
|
6982
|
+
class UpdateAutoThrottleRulesAsyncRequest extends $tea.Model {
|
|
6644
6983
|
static names() {
|
|
6645
6984
|
return {
|
|
6985
|
+
abnormalDuration: 'AbnormalDuration',
|
|
6986
|
+
activeSessions: 'ActiveSessions',
|
|
6987
|
+
allowThrottleEndTime: 'AllowThrottleEndTime',
|
|
6988
|
+
allowThrottleStartTime: 'AllowThrottleStartTime',
|
|
6989
|
+
autoKillSession: 'AutoKillSession',
|
|
6646
6990
|
consoleContext: 'ConsoleContext',
|
|
6991
|
+
cpuSessionRelation: 'CpuSessionRelation',
|
|
6992
|
+
cpuUsage: 'CpuUsage',
|
|
6647
6993
|
instanceIds: 'InstanceIds',
|
|
6648
|
-
|
|
6649
|
-
tableFragmentationRatio: 'TableFragmentationRatio',
|
|
6650
|
-
tableSpaceSize: 'TableSpaceSize',
|
|
6651
|
-
};
|
|
6652
|
-
}
|
|
6653
|
-
static types() {
|
|
6654
|
-
return {
|
|
6655
|
-
consoleContext: 'string',
|
|
6656
|
-
instanceIds: 'string',
|
|
6657
|
-
resultId: 'string',
|
|
6658
|
-
tableFragmentationRatio: 'number',
|
|
6659
|
-
tableSpaceSize: 'number',
|
|
6660
|
-
};
|
|
6661
|
-
}
|
|
6662
|
-
constructor(map) {
|
|
6663
|
-
super(map);
|
|
6664
|
-
}
|
|
6665
|
-
}
|
|
6666
|
-
exports.UpdateAutoResourceOptimizeRulesAsyncRequest = UpdateAutoResourceOptimizeRulesAsyncRequest;
|
|
6667
|
-
class UpdateAutoResourceOptimizeRulesAsyncResponseBody extends $tea.Model {
|
|
6668
|
-
static names() {
|
|
6669
|
-
return {
|
|
6670
|
-
code: 'Code',
|
|
6671
|
-
data: 'Data',
|
|
6672
|
-
message: 'Message',
|
|
6673
|
-
requestId: 'RequestId',
|
|
6674
|
-
success: 'Success',
|
|
6675
|
-
};
|
|
6676
|
-
}
|
|
6677
|
-
static types() {
|
|
6678
|
-
return {
|
|
6679
|
-
code: 'number',
|
|
6680
|
-
data: UpdateAutoResourceOptimizeRulesAsyncResponseBodyData,
|
|
6681
|
-
message: 'string',
|
|
6682
|
-
requestId: 'string',
|
|
6683
|
-
success: 'boolean',
|
|
6684
|
-
};
|
|
6685
|
-
}
|
|
6686
|
-
constructor(map) {
|
|
6687
|
-
super(map);
|
|
6688
|
-
}
|
|
6689
|
-
}
|
|
6690
|
-
exports.UpdateAutoResourceOptimizeRulesAsyncResponseBody = UpdateAutoResourceOptimizeRulesAsyncResponseBody;
|
|
6691
|
-
class UpdateAutoResourceOptimizeRulesAsyncResponse extends $tea.Model {
|
|
6692
|
-
static names() {
|
|
6693
|
-
return {
|
|
6694
|
-
headers: 'headers',
|
|
6695
|
-
statusCode: 'statusCode',
|
|
6696
|
-
body: 'body',
|
|
6697
|
-
};
|
|
6698
|
-
}
|
|
6699
|
-
static types() {
|
|
6700
|
-
return {
|
|
6701
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6702
|
-
statusCode: 'number',
|
|
6703
|
-
body: UpdateAutoResourceOptimizeRulesAsyncResponseBody,
|
|
6704
|
-
};
|
|
6705
|
-
}
|
|
6706
|
-
constructor(map) {
|
|
6707
|
-
super(map);
|
|
6708
|
-
}
|
|
6709
|
-
}
|
|
6710
|
-
exports.UpdateAutoResourceOptimizeRulesAsyncResponse = UpdateAutoResourceOptimizeRulesAsyncResponse;
|
|
6711
|
-
class UpdateAutoSqlOptimizeStatusRequest extends $tea.Model {
|
|
6712
|
-
static names() {
|
|
6713
|
-
return {
|
|
6714
|
-
instances: 'Instances',
|
|
6715
|
-
status: 'Status',
|
|
6716
|
-
};
|
|
6717
|
-
}
|
|
6718
|
-
static types() {
|
|
6719
|
-
return {
|
|
6720
|
-
instances: 'string',
|
|
6721
|
-
status: 'number',
|
|
6722
|
-
};
|
|
6723
|
-
}
|
|
6724
|
-
constructor(map) {
|
|
6725
|
-
super(map);
|
|
6726
|
-
}
|
|
6727
|
-
}
|
|
6728
|
-
exports.UpdateAutoSqlOptimizeStatusRequest = UpdateAutoSqlOptimizeStatusRequest;
|
|
6729
|
-
class UpdateAutoSqlOptimizeStatusResponseBody extends $tea.Model {
|
|
6730
|
-
static names() {
|
|
6731
|
-
return {
|
|
6732
|
-
code: 'Code',
|
|
6733
|
-
data: 'Data',
|
|
6734
|
-
message: 'Message',
|
|
6735
|
-
requestId: 'RequestId',
|
|
6736
|
-
success: 'Success',
|
|
6737
|
-
};
|
|
6738
|
-
}
|
|
6739
|
-
static types() {
|
|
6740
|
-
return {
|
|
6741
|
-
code: 'string',
|
|
6742
|
-
data: UpdateAutoSqlOptimizeStatusResponseBodyData,
|
|
6743
|
-
message: 'string',
|
|
6744
|
-
requestId: 'string',
|
|
6745
|
-
success: 'string',
|
|
6746
|
-
};
|
|
6747
|
-
}
|
|
6748
|
-
constructor(map) {
|
|
6749
|
-
super(map);
|
|
6750
|
-
}
|
|
6751
|
-
}
|
|
6752
|
-
exports.UpdateAutoSqlOptimizeStatusResponseBody = UpdateAutoSqlOptimizeStatusResponseBody;
|
|
6753
|
-
class UpdateAutoSqlOptimizeStatusResponse extends $tea.Model {
|
|
6754
|
-
static names() {
|
|
6755
|
-
return {
|
|
6756
|
-
headers: 'headers',
|
|
6757
|
-
statusCode: 'statusCode',
|
|
6758
|
-
body: 'body',
|
|
6759
|
-
};
|
|
6760
|
-
}
|
|
6761
|
-
static types() {
|
|
6762
|
-
return {
|
|
6763
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6764
|
-
statusCode: 'number',
|
|
6765
|
-
body: UpdateAutoSqlOptimizeStatusResponseBody,
|
|
6766
|
-
};
|
|
6767
|
-
}
|
|
6768
|
-
constructor(map) {
|
|
6769
|
-
super(map);
|
|
6770
|
-
}
|
|
6771
|
-
}
|
|
6772
|
-
exports.UpdateAutoSqlOptimizeStatusResponse = UpdateAutoSqlOptimizeStatusResponse;
|
|
6773
|
-
class UpdateAutoThrottleRulesAsyncRequest extends $tea.Model {
|
|
6774
|
-
static names() {
|
|
6775
|
-
return {
|
|
6776
|
-
abnormalDuration: 'AbnormalDuration',
|
|
6777
|
-
activeSessions: 'ActiveSessions',
|
|
6778
|
-
allowThrottleEndTime: 'AllowThrottleEndTime',
|
|
6779
|
-
allowThrottleStartTime: 'AllowThrottleStartTime',
|
|
6780
|
-
autoKillSession: 'AutoKillSession',
|
|
6781
|
-
consoleContext: 'ConsoleContext',
|
|
6782
|
-
cpuSessionRelation: 'CpuSessionRelation',
|
|
6783
|
-
cpuUsage: 'CpuUsage',
|
|
6784
|
-
instanceIds: 'InstanceIds',
|
|
6785
|
-
maxThrottleTime: 'MaxThrottleTime',
|
|
6994
|
+
maxThrottleTime: 'MaxThrottleTime',
|
|
6786
6995
|
resultId: 'ResultId',
|
|
6787
6996
|
};
|
|
6788
6997
|
}
|
|
@@ -8060,34 +8269,580 @@ class DescribeHotKeysResponseBodyDataHotKey extends $tea.Model {
|
|
|
8060
8269
|
}
|
|
8061
8270
|
static types() {
|
|
8062
8271
|
return {
|
|
8063
|
-
db: 'number',
|
|
8064
|
-
hot: 'string',
|
|
8065
|
-
key: 'string',
|
|
8066
|
-
keyType: 'string',
|
|
8067
|
-
size: 'number',
|
|
8272
|
+
db: 'number',
|
|
8273
|
+
hot: 'string',
|
|
8274
|
+
key: 'string',
|
|
8275
|
+
keyType: 'string',
|
|
8276
|
+
size: 'number',
|
|
8277
|
+
};
|
|
8278
|
+
}
|
|
8279
|
+
constructor(map) {
|
|
8280
|
+
super(map);
|
|
8281
|
+
}
|
|
8282
|
+
}
|
|
8283
|
+
exports.DescribeHotKeysResponseBodyDataHotKey = DescribeHotKeysResponseBodyDataHotKey;
|
|
8284
|
+
class DescribeHotKeysResponseBodyData extends $tea.Model {
|
|
8285
|
+
static names() {
|
|
8286
|
+
return {
|
|
8287
|
+
hotKey: 'HotKey',
|
|
8288
|
+
};
|
|
8289
|
+
}
|
|
8290
|
+
static types() {
|
|
8291
|
+
return {
|
|
8292
|
+
hotKey: { 'type': 'array', 'itemType': DescribeHotKeysResponseBodyDataHotKey },
|
|
8293
|
+
};
|
|
8294
|
+
}
|
|
8295
|
+
constructor(map) {
|
|
8296
|
+
super(map);
|
|
8297
|
+
}
|
|
8298
|
+
}
|
|
8299
|
+
exports.DescribeHotKeysResponseBodyData = DescribeHotKeysResponseBodyData;
|
|
8300
|
+
class DescribeSlowLogHistogramAsyncRequestFilters extends $tea.Model {
|
|
8301
|
+
static names() {
|
|
8302
|
+
return {
|
|
8303
|
+
key: 'Key',
|
|
8304
|
+
value: 'Value',
|
|
8305
|
+
};
|
|
8306
|
+
}
|
|
8307
|
+
static types() {
|
|
8308
|
+
return {
|
|
8309
|
+
key: 'string',
|
|
8310
|
+
value: 'string',
|
|
8311
|
+
};
|
|
8312
|
+
}
|
|
8313
|
+
constructor(map) {
|
|
8314
|
+
super(map);
|
|
8315
|
+
}
|
|
8316
|
+
}
|
|
8317
|
+
exports.DescribeSlowLogHistogramAsyncRequestFilters = DescribeSlowLogHistogramAsyncRequestFilters;
|
|
8318
|
+
class DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems extends $tea.Model {
|
|
8319
|
+
static names() {
|
|
8320
|
+
return {
|
|
8321
|
+
count: 'Count',
|
|
8322
|
+
insId: 'InsId',
|
|
8323
|
+
insRole: 'InsRole',
|
|
8324
|
+
};
|
|
8325
|
+
}
|
|
8326
|
+
static types() {
|
|
8327
|
+
return {
|
|
8328
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
8329
|
+
insId: 'string',
|
|
8330
|
+
insRole: 'string',
|
|
8331
|
+
};
|
|
8332
|
+
}
|
|
8333
|
+
constructor(map) {
|
|
8334
|
+
super(map);
|
|
8335
|
+
}
|
|
8336
|
+
}
|
|
8337
|
+
exports.DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems = DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems;
|
|
8338
|
+
class DescribeSlowLogHistogramAsyncResponseBodyDataDataItem extends $tea.Model {
|
|
8339
|
+
static names() {
|
|
8340
|
+
return {
|
|
8341
|
+
count: 'Count',
|
|
8342
|
+
insItems: 'InsItems',
|
|
8343
|
+
nodeId: 'NodeId',
|
|
8344
|
+
};
|
|
8345
|
+
}
|
|
8346
|
+
static types() {
|
|
8347
|
+
return {
|
|
8348
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
8349
|
+
insItems: { 'type': 'array', 'itemType': DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems },
|
|
8350
|
+
nodeId: 'string',
|
|
8351
|
+
};
|
|
8352
|
+
}
|
|
8353
|
+
constructor(map) {
|
|
8354
|
+
super(map);
|
|
8355
|
+
}
|
|
8356
|
+
}
|
|
8357
|
+
exports.DescribeSlowLogHistogramAsyncResponseBodyDataDataItem = DescribeSlowLogHistogramAsyncResponseBodyDataDataItem;
|
|
8358
|
+
class DescribeSlowLogHistogramAsyncResponseBodyDataData extends $tea.Model {
|
|
8359
|
+
static names() {
|
|
8360
|
+
return {
|
|
8361
|
+
avgCPUTime: 'AvgCPUTime',
|
|
8362
|
+
avgDocExamined: 'AvgDocExamined',
|
|
8363
|
+
avgIOWrites: 'AvgIOWrites',
|
|
8364
|
+
avgKeysExamined: 'AvgKeysExamined',
|
|
8365
|
+
avgLastRowsCountAffected: 'AvgLastRowsCountAffected',
|
|
8366
|
+
avgLockTime: 'AvgLockTime',
|
|
8367
|
+
avgLogicalIOReads: 'AvgLogicalIOReads',
|
|
8368
|
+
avgPhysicalIOReads: 'AvgPhysicalIOReads',
|
|
8369
|
+
avgReturnNum: 'AvgReturnNum',
|
|
8370
|
+
avgRowsCountAffected: 'AvgRowsCountAffected',
|
|
8371
|
+
avgRowsExamined: 'AvgRowsExamined',
|
|
8372
|
+
avgRowsSent: 'AvgRowsSent',
|
|
8373
|
+
avgRt: 'AvgRt',
|
|
8374
|
+
CPUTime: 'CPUTime',
|
|
8375
|
+
count: 'Count',
|
|
8376
|
+
docExamined: 'DocExamined',
|
|
8377
|
+
IOWrites: 'IOWrites',
|
|
8378
|
+
item: 'Item',
|
|
8379
|
+
keysExamined: 'KeysExamined',
|
|
8380
|
+
lastRowsCountAffected: 'LastRowsCountAffected',
|
|
8381
|
+
lockTime: 'LockTime',
|
|
8382
|
+
logicalIOReads: 'LogicalIOReads',
|
|
8383
|
+
maxCPUTime: 'MaxCPUTime',
|
|
8384
|
+
maxDocExamined: 'MaxDocExamined',
|
|
8385
|
+
maxIOWrites: 'MaxIOWrites',
|
|
8386
|
+
maxKeysExamined: 'MaxKeysExamined',
|
|
8387
|
+
maxLastRowsCountAffected: 'MaxLastRowsCountAffected',
|
|
8388
|
+
maxLockTime: 'MaxLockTime',
|
|
8389
|
+
maxLogicalIOReads: 'MaxLogicalIOReads',
|
|
8390
|
+
maxPhysicalIOReads: 'MaxPhysicalIOReads',
|
|
8391
|
+
maxReturnNum: 'MaxReturnNum',
|
|
8392
|
+
maxRowsCountAffected: 'MaxRowsCountAffected',
|
|
8393
|
+
maxRowsExamined: 'MaxRowsExamined',
|
|
8394
|
+
maxRowsSent: 'MaxRowsSent',
|
|
8395
|
+
maxRt: 'MaxRt',
|
|
8396
|
+
physicalIOReads: 'PhysicalIOReads',
|
|
8397
|
+
returnNum: 'ReturnNum',
|
|
8398
|
+
rowsCountAffected: 'RowsCountAffected',
|
|
8399
|
+
rowsExamined: 'RowsExamined',
|
|
8400
|
+
rowsSent: 'RowsSent',
|
|
8401
|
+
rt: 'Rt',
|
|
8402
|
+
total: 'Total',
|
|
8403
|
+
ts: 'Ts',
|
|
8404
|
+
tsEnd: 'TsEnd',
|
|
8405
|
+
};
|
|
8406
|
+
}
|
|
8407
|
+
static types() {
|
|
8408
|
+
return {
|
|
8409
|
+
avgCPUTime: { 'type': 'array', 'itemType': 'number' },
|
|
8410
|
+
avgDocExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8411
|
+
avgIOWrites: { 'type': 'array', 'itemType': 'number' },
|
|
8412
|
+
avgKeysExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8413
|
+
avgLastRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
8414
|
+
avgLockTime: { 'type': 'array', 'itemType': 'number' },
|
|
8415
|
+
avgLogicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
8416
|
+
avgPhysicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
8417
|
+
avgReturnNum: { 'type': 'array', 'itemType': 'number' },
|
|
8418
|
+
avgRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
8419
|
+
avgRowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8420
|
+
avgRowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
8421
|
+
avgRt: { 'type': 'array', 'itemType': 'number' },
|
|
8422
|
+
CPUTime: { 'type': 'array', 'itemType': 'number' },
|
|
8423
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
8424
|
+
docExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8425
|
+
IOWrites: { 'type': 'array', 'itemType': 'number' },
|
|
8426
|
+
item: { 'type': 'array', 'itemType': DescribeSlowLogHistogramAsyncResponseBodyDataDataItem },
|
|
8427
|
+
keysExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8428
|
+
lastRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
8429
|
+
lockTime: { 'type': 'array', 'itemType': 'number' },
|
|
8430
|
+
logicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
8431
|
+
maxCPUTime: { 'type': 'array', 'itemType': 'number' },
|
|
8432
|
+
maxDocExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8433
|
+
maxIOWrites: { 'type': 'array', 'itemType': 'number' },
|
|
8434
|
+
maxKeysExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8435
|
+
maxLastRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
8436
|
+
maxLockTime: { 'type': 'array', 'itemType': 'number' },
|
|
8437
|
+
maxLogicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
8438
|
+
maxPhysicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
8439
|
+
maxReturnNum: { 'type': 'array', 'itemType': 'number' },
|
|
8440
|
+
maxRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
8441
|
+
maxRowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8442
|
+
maxRowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
8443
|
+
maxRt: { 'type': 'array', 'itemType': 'number' },
|
|
8444
|
+
physicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
8445
|
+
returnNum: { 'type': 'array', 'itemType': 'number' },
|
|
8446
|
+
rowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
8447
|
+
rowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8448
|
+
rowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
8449
|
+
rt: { 'type': 'array', 'itemType': 'number' },
|
|
8450
|
+
total: 'number',
|
|
8451
|
+
ts: { 'type': 'array', 'itemType': 'number' },
|
|
8452
|
+
tsEnd: { 'type': 'array', 'itemType': 'number' },
|
|
8453
|
+
};
|
|
8454
|
+
}
|
|
8455
|
+
constructor(map) {
|
|
8456
|
+
super(map);
|
|
8457
|
+
}
|
|
8458
|
+
}
|
|
8459
|
+
exports.DescribeSlowLogHistogramAsyncResponseBodyDataData = DescribeSlowLogHistogramAsyncResponseBodyDataData;
|
|
8460
|
+
class DescribeSlowLogHistogramAsyncResponseBodyData extends $tea.Model {
|
|
8461
|
+
static names() {
|
|
8462
|
+
return {
|
|
8463
|
+
data: 'Data',
|
|
8464
|
+
errorCode: 'ErrorCode',
|
|
8465
|
+
isFinish: 'IsFinish',
|
|
8466
|
+
message: 'Message',
|
|
8467
|
+
requestKey: 'RequestKey',
|
|
8468
|
+
resultId: 'ResultId',
|
|
8469
|
+
state: 'State',
|
|
8470
|
+
timestamp: 'Timestamp',
|
|
8471
|
+
};
|
|
8472
|
+
}
|
|
8473
|
+
static types() {
|
|
8474
|
+
return {
|
|
8475
|
+
data: DescribeSlowLogHistogramAsyncResponseBodyDataData,
|
|
8476
|
+
errorCode: 'number',
|
|
8477
|
+
isFinish: 'boolean',
|
|
8478
|
+
message: 'string',
|
|
8479
|
+
requestKey: 'string',
|
|
8480
|
+
resultId: 'string',
|
|
8481
|
+
state: 'string',
|
|
8482
|
+
timestamp: 'number',
|
|
8483
|
+
};
|
|
8484
|
+
}
|
|
8485
|
+
constructor(map) {
|
|
8486
|
+
super(map);
|
|
8487
|
+
}
|
|
8488
|
+
}
|
|
8489
|
+
exports.DescribeSlowLogHistogramAsyncResponseBodyData = DescribeSlowLogHistogramAsyncResponseBodyData;
|
|
8490
|
+
class DescribeSlowLogStatisticRequestFilters extends $tea.Model {
|
|
8491
|
+
static names() {
|
|
8492
|
+
return {
|
|
8493
|
+
key: 'Key',
|
|
8494
|
+
value: 'Value',
|
|
8495
|
+
};
|
|
8496
|
+
}
|
|
8497
|
+
static types() {
|
|
8498
|
+
return {
|
|
8499
|
+
key: 'string',
|
|
8500
|
+
value: 'string',
|
|
8501
|
+
};
|
|
8502
|
+
}
|
|
8503
|
+
constructor(map) {
|
|
8504
|
+
super(map);
|
|
8505
|
+
}
|
|
8506
|
+
}
|
|
8507
|
+
exports.DescribeSlowLogStatisticRequestFilters = DescribeSlowLogStatisticRequestFilters;
|
|
8508
|
+
class DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem extends $tea.Model {
|
|
8509
|
+
static names() {
|
|
8510
|
+
return {
|
|
8511
|
+
count: 'Count',
|
|
8512
|
+
nodeId: 'NodeId',
|
|
8513
|
+
};
|
|
8514
|
+
}
|
|
8515
|
+
static types() {
|
|
8516
|
+
return {
|
|
8517
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
8518
|
+
nodeId: 'string',
|
|
8519
|
+
};
|
|
8520
|
+
}
|
|
8521
|
+
constructor(map) {
|
|
8522
|
+
super(map);
|
|
8523
|
+
}
|
|
8524
|
+
}
|
|
8525
|
+
exports.DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem = DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem;
|
|
8526
|
+
class DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram extends $tea.Model {
|
|
8527
|
+
static names() {
|
|
8528
|
+
return {
|
|
8529
|
+
avgLockTime: 'AvgLockTime',
|
|
8530
|
+
avgRowsExamined: 'AvgRowsExamined',
|
|
8531
|
+
avgRowsSent: 'AvgRowsSent',
|
|
8532
|
+
avgRt: 'AvgRt',
|
|
8533
|
+
count: 'Count',
|
|
8534
|
+
item: 'Item',
|
|
8535
|
+
lockTime: 'LockTime',
|
|
8536
|
+
maxLockTime: 'MaxLockTime',
|
|
8537
|
+
maxRowsExamined: 'MaxRowsExamined',
|
|
8538
|
+
maxRowsSent: 'MaxRowsSent',
|
|
8539
|
+
maxRt: 'MaxRt',
|
|
8540
|
+
rowsExamined: 'RowsExamined',
|
|
8541
|
+
rowsSent: 'RowsSent',
|
|
8542
|
+
rt: 'Rt',
|
|
8543
|
+
total: 'Total',
|
|
8544
|
+
ts: 'Ts',
|
|
8545
|
+
tsEnd: 'TsEnd',
|
|
8546
|
+
};
|
|
8547
|
+
}
|
|
8548
|
+
static types() {
|
|
8549
|
+
return {
|
|
8550
|
+
avgLockTime: { 'type': 'array', 'itemType': 'number' },
|
|
8551
|
+
avgRowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8552
|
+
avgRowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
8553
|
+
avgRt: { 'type': 'array', 'itemType': 'number' },
|
|
8554
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
8555
|
+
item: { 'type': 'array', 'itemType': DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem },
|
|
8556
|
+
lockTime: { 'type': 'array', 'itemType': 'number' },
|
|
8557
|
+
maxLockTime: { 'type': 'array', 'itemType': 'number' },
|
|
8558
|
+
maxRowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8559
|
+
maxRowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
8560
|
+
maxRt: { 'type': 'array', 'itemType': 'number' },
|
|
8561
|
+
rowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
8562
|
+
rowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
8563
|
+
rt: { 'type': 'array', 'itemType': 'number' },
|
|
8564
|
+
total: 'number',
|
|
8565
|
+
ts: { 'type': 'array', 'itemType': 'number' },
|
|
8566
|
+
tsEnd: { 'type': 'array', 'itemType': 'number' },
|
|
8567
|
+
};
|
|
8568
|
+
}
|
|
8569
|
+
constructor(map) {
|
|
8570
|
+
super(map);
|
|
8571
|
+
}
|
|
8572
|
+
}
|
|
8573
|
+
exports.DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram = DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram;
|
|
8574
|
+
class DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag extends $tea.Model {
|
|
8575
|
+
static names() {
|
|
8576
|
+
return {
|
|
8577
|
+
comments: 'Comments',
|
|
8578
|
+
sqlId: 'SqlId',
|
|
8579
|
+
tags: 'Tags',
|
|
8580
|
+
};
|
|
8581
|
+
}
|
|
8582
|
+
static types() {
|
|
8583
|
+
return {
|
|
8584
|
+
comments: 'string',
|
|
8585
|
+
sqlId: 'string',
|
|
8586
|
+
tags: 'string',
|
|
8587
|
+
};
|
|
8588
|
+
}
|
|
8589
|
+
constructor(map) {
|
|
8590
|
+
super(map);
|
|
8591
|
+
}
|
|
8592
|
+
}
|
|
8593
|
+
exports.DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag = DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag;
|
|
8594
|
+
class DescribeSlowLogStatisticResponseBodyDataDataLogsTrend extends $tea.Model {
|
|
8595
|
+
static names() {
|
|
8596
|
+
return {
|
|
8597
|
+
timestamp: 'Timestamp',
|
|
8598
|
+
value: 'Value',
|
|
8599
|
+
};
|
|
8600
|
+
}
|
|
8601
|
+
static types() {
|
|
8602
|
+
return {
|
|
8603
|
+
timestamp: 'number',
|
|
8604
|
+
value: 'any',
|
|
8605
|
+
};
|
|
8606
|
+
}
|
|
8607
|
+
constructor(map) {
|
|
8608
|
+
super(map);
|
|
8609
|
+
}
|
|
8610
|
+
}
|
|
8611
|
+
exports.DescribeSlowLogStatisticResponseBodyDataDataLogsTrend = DescribeSlowLogStatisticResponseBodyDataDataLogsTrend;
|
|
8612
|
+
class DescribeSlowLogStatisticResponseBodyDataDataLogs extends $tea.Model {
|
|
8613
|
+
static names() {
|
|
8614
|
+
return {
|
|
8615
|
+
accountName: 'AccountName',
|
|
8616
|
+
avgCPUTime: 'AvgCPUTime',
|
|
8617
|
+
avgDocExamined: 'AvgDocExamined',
|
|
8618
|
+
avgIOWrites: 'AvgIOWrites',
|
|
8619
|
+
avgKeysExamined: 'AvgKeysExamined',
|
|
8620
|
+
avgLastRowsCountAffected: 'AvgLastRowsCountAffected',
|
|
8621
|
+
avgLockTime: 'AvgLockTime',
|
|
8622
|
+
avgLockTimeSeconds: 'AvgLockTimeSeconds',
|
|
8623
|
+
avgLogicalIOReads: 'AvgLogicalIOReads',
|
|
8624
|
+
avgPhysicalIOReads: 'AvgPhysicalIOReads',
|
|
8625
|
+
avgQueryTime: 'AvgQueryTime',
|
|
8626
|
+
avgQueryTimeSeconds: 'AvgQueryTimeSeconds',
|
|
8627
|
+
avgReturnNum: 'AvgReturnNum',
|
|
8628
|
+
avgRowsCountAffected: 'AvgRowsCountAffected',
|
|
8629
|
+
avgRowsExamined: 'AvgRowsExamined',
|
|
8630
|
+
avgRowsSent: 'AvgRowsSent',
|
|
8631
|
+
CPUTime: 'CPUTime',
|
|
8632
|
+
command: 'Command',
|
|
8633
|
+
count: 'Count',
|
|
8634
|
+
countRate: 'CountRate',
|
|
8635
|
+
DBName: 'DBName',
|
|
8636
|
+
database: 'Database',
|
|
8637
|
+
dbInstanceName: 'DbInstanceName',
|
|
8638
|
+
docExamined: 'DocExamined',
|
|
8639
|
+
docsExamined: 'DocsExamined',
|
|
8640
|
+
histogram: 'Histogram',
|
|
8641
|
+
hostAddress: 'HostAddress',
|
|
8642
|
+
hostInsId: 'HostInsId',
|
|
8643
|
+
IOWrites: 'IOWrites',
|
|
8644
|
+
insName: 'InsName',
|
|
8645
|
+
insRole: 'InsRole',
|
|
8646
|
+
keysExamined: 'KeysExamined',
|
|
8647
|
+
lastRowsCountAffected: 'LastRowsCountAffected',
|
|
8648
|
+
lockTime: 'LockTime',
|
|
8649
|
+
lockTimeSeconds: 'LockTimeSeconds',
|
|
8650
|
+
logicalIOReads: 'LogicalIOReads',
|
|
8651
|
+
maxCPUTime: 'MaxCPUTime',
|
|
8652
|
+
maxDocExamined: 'MaxDocExamined',
|
|
8653
|
+
maxIOWrites: 'MaxIOWrites',
|
|
8654
|
+
maxKeysExamined: 'MaxKeysExamined',
|
|
8655
|
+
maxLastRowsCountAffected: 'MaxLastRowsCountAffected',
|
|
8656
|
+
maxLockTime: 'MaxLockTime',
|
|
8657
|
+
maxLockTimeSeconds: 'MaxLockTimeSeconds',
|
|
8658
|
+
maxLogicalIOReads: 'MaxLogicalIOReads',
|
|
8659
|
+
maxPhysicalIOReads: 'MaxPhysicalIOReads',
|
|
8660
|
+
maxQueryTime: 'MaxQueryTime',
|
|
8661
|
+
maxQueryTimeSeconds: 'MaxQueryTimeSeconds',
|
|
8662
|
+
maxReturnNum: 'MaxReturnNum',
|
|
8663
|
+
maxRowsCountAffected: 'MaxRowsCountAffected',
|
|
8664
|
+
maxRowsExamined: 'MaxRowsExamined',
|
|
8665
|
+
maxRowsSent: 'MaxRowsSent',
|
|
8666
|
+
namespace: 'Namespace',
|
|
8667
|
+
nodeType: 'NodeType',
|
|
8668
|
+
opType: 'OpType',
|
|
8669
|
+
originAlias: 'OriginAlias',
|
|
8670
|
+
physicalIOReads: 'PhysicalIOReads',
|
|
8671
|
+
psql: 'Psql',
|
|
8672
|
+
queryId: 'QueryId',
|
|
8673
|
+
queryStartTime: 'QueryStartTime',
|
|
8674
|
+
queryTime: 'QueryTime',
|
|
8675
|
+
queryTimeRate: 'QueryTimeRate',
|
|
8676
|
+
queryTimeSeconds: 'QueryTimeSeconds',
|
|
8677
|
+
returnItemNumbers: 'ReturnItemNumbers',
|
|
8678
|
+
returnNum: 'ReturnNum',
|
|
8679
|
+
rowsCountAffected: 'RowsCountAffected',
|
|
8680
|
+
rowsExamined: 'RowsExamined',
|
|
8681
|
+
rowsSent: 'RowsSent',
|
|
8682
|
+
SQLText: 'SQLText',
|
|
8683
|
+
scheme: 'Scheme',
|
|
8684
|
+
sqlId: 'SqlId',
|
|
8685
|
+
sqlTag: 'SqlTag',
|
|
8686
|
+
sqlType: 'SqlType',
|
|
8687
|
+
subInstanceId: 'SubInstanceId',
|
|
8688
|
+
tableName: 'TableName',
|
|
8689
|
+
threadId: 'ThreadId',
|
|
8690
|
+
timestamp: 'Timestamp',
|
|
8691
|
+
trend: 'Trend',
|
|
8692
|
+
user: 'User',
|
|
8693
|
+
};
|
|
8694
|
+
}
|
|
8695
|
+
static types() {
|
|
8696
|
+
return {
|
|
8697
|
+
accountName: 'string',
|
|
8698
|
+
avgCPUTime: 'number',
|
|
8699
|
+
avgDocExamined: 'number',
|
|
8700
|
+
avgIOWrites: 'number',
|
|
8701
|
+
avgKeysExamined: 'number',
|
|
8702
|
+
avgLastRowsCountAffected: 'number',
|
|
8703
|
+
avgLockTime: 'number',
|
|
8704
|
+
avgLockTimeSeconds: 'number',
|
|
8705
|
+
avgLogicalIOReads: 'number',
|
|
8706
|
+
avgPhysicalIOReads: 'number',
|
|
8707
|
+
avgQueryTime: 'number',
|
|
8708
|
+
avgQueryTimeSeconds: 'number',
|
|
8709
|
+
avgReturnNum: 'number',
|
|
8710
|
+
avgRowsCountAffected: 'number',
|
|
8711
|
+
avgRowsExamined: 'number',
|
|
8712
|
+
avgRowsSent: 'number',
|
|
8713
|
+
CPUTime: 'number',
|
|
8714
|
+
command: 'string',
|
|
8715
|
+
count: 'number',
|
|
8716
|
+
countRate: 'number',
|
|
8717
|
+
DBName: 'string',
|
|
8718
|
+
database: 'string',
|
|
8719
|
+
dbInstanceName: 'string',
|
|
8720
|
+
docExamined: 'number',
|
|
8721
|
+
docsExamined: 'number',
|
|
8722
|
+
histogram: DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram,
|
|
8723
|
+
hostAddress: 'string',
|
|
8724
|
+
hostInsId: 'string',
|
|
8725
|
+
IOWrites: 'number',
|
|
8726
|
+
insName: 'string',
|
|
8727
|
+
insRole: 'string',
|
|
8728
|
+
keysExamined: 'number',
|
|
8729
|
+
lastRowsCountAffected: 'number',
|
|
8730
|
+
lockTime: 'number',
|
|
8731
|
+
lockTimeSeconds: 'number',
|
|
8732
|
+
logicalIOReads: 'number',
|
|
8733
|
+
maxCPUTime: 'number',
|
|
8734
|
+
maxDocExamined: 'number',
|
|
8735
|
+
maxIOWrites: 'number',
|
|
8736
|
+
maxKeysExamined: 'number',
|
|
8737
|
+
maxLastRowsCountAffected: 'number',
|
|
8738
|
+
maxLockTime: 'number',
|
|
8739
|
+
maxLockTimeSeconds: 'number',
|
|
8740
|
+
maxLogicalIOReads: 'number',
|
|
8741
|
+
maxPhysicalIOReads: 'number',
|
|
8742
|
+
maxQueryTime: 'number',
|
|
8743
|
+
maxQueryTimeSeconds: 'number',
|
|
8744
|
+
maxReturnNum: 'number',
|
|
8745
|
+
maxRowsCountAffected: 'number',
|
|
8746
|
+
maxRowsExamined: 'number',
|
|
8747
|
+
maxRowsSent: 'number',
|
|
8748
|
+
namespace: 'string',
|
|
8749
|
+
nodeType: 'string',
|
|
8750
|
+
opType: 'string',
|
|
8751
|
+
originAlias: 'string',
|
|
8752
|
+
physicalIOReads: 'number',
|
|
8753
|
+
psql: 'string',
|
|
8754
|
+
queryId: 'string',
|
|
8755
|
+
queryStartTime: 'string',
|
|
8756
|
+
queryTime: 'number',
|
|
8757
|
+
queryTimeRate: 'number',
|
|
8758
|
+
queryTimeSeconds: 'number',
|
|
8759
|
+
returnItemNumbers: 'string',
|
|
8760
|
+
returnNum: 'number',
|
|
8761
|
+
rowsCountAffected: 'number',
|
|
8762
|
+
rowsExamined: 'number',
|
|
8763
|
+
rowsSent: 'number',
|
|
8764
|
+
SQLText: 'string',
|
|
8765
|
+
scheme: 'string',
|
|
8766
|
+
sqlId: 'string',
|
|
8767
|
+
sqlTag: DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag,
|
|
8768
|
+
sqlType: 'string',
|
|
8769
|
+
subInstanceId: 'string',
|
|
8770
|
+
tableName: 'string',
|
|
8771
|
+
threadId: 'string',
|
|
8772
|
+
timestamp: 'number',
|
|
8773
|
+
trend: { 'type': 'array', 'itemType': DescribeSlowLogStatisticResponseBodyDataDataLogsTrend },
|
|
8774
|
+
user: 'string',
|
|
8775
|
+
};
|
|
8776
|
+
}
|
|
8777
|
+
constructor(map) {
|
|
8778
|
+
super(map);
|
|
8779
|
+
}
|
|
8780
|
+
}
|
|
8781
|
+
exports.DescribeSlowLogStatisticResponseBodyDataDataLogs = DescribeSlowLogStatisticResponseBodyDataDataLogs;
|
|
8782
|
+
class DescribeSlowLogStatisticResponseBodyDataData extends $tea.Model {
|
|
8783
|
+
static names() {
|
|
8784
|
+
return {
|
|
8785
|
+
dbInstanceId: 'DbInstanceId',
|
|
8786
|
+
dbInstanceName: 'DbInstanceName',
|
|
8787
|
+
endTime: 'EndTime',
|
|
8788
|
+
itemsNumbers: 'ItemsNumbers',
|
|
8789
|
+
logs: 'Logs',
|
|
8790
|
+
maxRecordsPerPage: 'MaxRecordsPerPage',
|
|
8791
|
+
nodeId: 'NodeId',
|
|
8792
|
+
pageNumbers: 'PageNumbers',
|
|
8793
|
+
startTime: 'StartTime',
|
|
8794
|
+
totalRecords: 'TotalRecords',
|
|
8795
|
+
};
|
|
8796
|
+
}
|
|
8797
|
+
static types() {
|
|
8798
|
+
return {
|
|
8799
|
+
dbInstanceId: 'number',
|
|
8800
|
+
dbInstanceName: 'string',
|
|
8801
|
+
endTime: 'string',
|
|
8802
|
+
itemsNumbers: 'number',
|
|
8803
|
+
logs: { 'type': 'array', 'itemType': DescribeSlowLogStatisticResponseBodyDataDataLogs },
|
|
8804
|
+
maxRecordsPerPage: 'number',
|
|
8805
|
+
nodeId: 'string',
|
|
8806
|
+
pageNumbers: 'number',
|
|
8807
|
+
startTime: 'string',
|
|
8808
|
+
totalRecords: 'number',
|
|
8068
8809
|
};
|
|
8069
8810
|
}
|
|
8070
8811
|
constructor(map) {
|
|
8071
8812
|
super(map);
|
|
8072
8813
|
}
|
|
8073
8814
|
}
|
|
8074
|
-
exports.
|
|
8075
|
-
class
|
|
8815
|
+
exports.DescribeSlowLogStatisticResponseBodyDataData = DescribeSlowLogStatisticResponseBodyDataData;
|
|
8816
|
+
class DescribeSlowLogStatisticResponseBodyData extends $tea.Model {
|
|
8076
8817
|
static names() {
|
|
8077
8818
|
return {
|
|
8078
|
-
|
|
8819
|
+
data: 'Data',
|
|
8820
|
+
errorCode: 'ErrorCode',
|
|
8821
|
+
isFinish: 'IsFinish',
|
|
8822
|
+
message: 'Message',
|
|
8823
|
+
requestKey: 'RequestKey',
|
|
8824
|
+
resultId: 'ResultId',
|
|
8825
|
+
state: 'State',
|
|
8826
|
+
timestamp: 'Timestamp',
|
|
8079
8827
|
};
|
|
8080
8828
|
}
|
|
8081
8829
|
static types() {
|
|
8082
8830
|
return {
|
|
8083
|
-
|
|
8831
|
+
data: DescribeSlowLogStatisticResponseBodyDataData,
|
|
8832
|
+
errorCode: 'number',
|
|
8833
|
+
isFinish: 'boolean',
|
|
8834
|
+
message: 'string',
|
|
8835
|
+
requestKey: 'string',
|
|
8836
|
+
resultId: 'string',
|
|
8837
|
+
state: 'string',
|
|
8838
|
+
timestamp: 'number',
|
|
8084
8839
|
};
|
|
8085
8840
|
}
|
|
8086
8841
|
constructor(map) {
|
|
8087
8842
|
super(map);
|
|
8088
8843
|
}
|
|
8089
8844
|
}
|
|
8090
|
-
exports.
|
|
8845
|
+
exports.DescribeSlowLogStatisticResponseBodyData = DescribeSlowLogStatisticResponseBodyData;
|
|
8091
8846
|
class DescribeSqlLogConfigResponseBodyData extends $tea.Model {
|
|
8092
8847
|
static names() {
|
|
8093
8848
|
return {
|
|
@@ -8863,7 +9618,7 @@ class GetAsyncErrorRequestStatResultResponseBodyData extends $tea.Model {
|
|
|
8863
9618
|
complete: 'boolean',
|
|
8864
9619
|
fail: 'boolean',
|
|
8865
9620
|
isFinish: 'boolean',
|
|
8866
|
-
result: { 'type': '
|
|
9621
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': DataResultValue },
|
|
8867
9622
|
resultId: 'string',
|
|
8868
9623
|
state: 'string',
|
|
8869
9624
|
timestamp: 'number',
|
|
@@ -9504,6 +10259,36 @@ class GetDeadLockDetailListResponseBodyData extends $tea.Model {
|
|
|
9504
10259
|
}
|
|
9505
10260
|
}
|
|
9506
10261
|
exports.GetDeadLockDetailListResponseBodyData = GetDeadLockDetailListResponseBodyData;
|
|
10262
|
+
class GetDeadlockHistogramResponseBodyData extends $tea.Model {
|
|
10263
|
+
static names() {
|
|
10264
|
+
return {
|
|
10265
|
+
endTime: 'EndTime',
|
|
10266
|
+
instanceId: 'InstanceId',
|
|
10267
|
+
lockNumber: 'LockNumber',
|
|
10268
|
+
nodeId: 'NodeId',
|
|
10269
|
+
startTime: 'StartTime',
|
|
10270
|
+
status: 'Status',
|
|
10271
|
+
taskId: 'TaskId',
|
|
10272
|
+
userId: 'UserId',
|
|
10273
|
+
};
|
|
10274
|
+
}
|
|
10275
|
+
static types() {
|
|
10276
|
+
return {
|
|
10277
|
+
endTime: 'string',
|
|
10278
|
+
instanceId: 'string',
|
|
10279
|
+
lockNumber: 'number',
|
|
10280
|
+
nodeId: 'string',
|
|
10281
|
+
startTime: 'string',
|
|
10282
|
+
status: 'string',
|
|
10283
|
+
taskId: 'string',
|
|
10284
|
+
userId: 'string',
|
|
10285
|
+
};
|
|
10286
|
+
}
|
|
10287
|
+
constructor(map) {
|
|
10288
|
+
super(map);
|
|
10289
|
+
}
|
|
10290
|
+
}
|
|
10291
|
+
exports.GetDeadlockHistogramResponseBodyData = GetDeadlockHistogramResponseBodyData;
|
|
9507
10292
|
class GetEndpointSwitchTaskResponseBodyData extends $tea.Model {
|
|
9508
10293
|
static names() {
|
|
9509
10294
|
return {
|
|
@@ -12304,103 +13089,16 @@ class Client extends openapi_client_1.default {
|
|
|
12304
13089
|
let runtime = new $Util.RuntimeOptions({});
|
|
12305
13090
|
return await this.addHDMInstanceWithOptions(request, runtime);
|
|
12306
13091
|
}
|
|
12307
|
-
/**
|
|
12308
|
-
* Creates a stress testing task on Advanced Database & Application Migration (ADAM).
|
|
12309
|
-
*
|
|
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).
|
|
12312
|
-
* Make sure that your database instances meet the following requirements:
|
|
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.
|
|
12314
|
-
* * The destination instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
|
|
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).
|
|
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).
|
|
12317
|
-
*
|
|
12318
|
-
* @param request - CreateAdamBenchTaskRequest
|
|
12319
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
12320
|
-
* @returns CreateAdamBenchTaskResponse
|
|
12321
|
-
*/
|
|
12322
|
-
async createAdamBenchTaskWithOptions(request, runtime) {
|
|
12323
|
-
tea_util_1.default.validateModel(request);
|
|
12324
|
-
let query = {};
|
|
12325
|
-
if (!tea_util_1.default.isUnset(request.description)) {
|
|
12326
|
-
query["Description"] = request.description;
|
|
12327
|
-
}
|
|
12328
|
-
if (!tea_util_1.default.isUnset(request.dstInstanceId)) {
|
|
12329
|
-
query["DstInstanceId"] = request.dstInstanceId;
|
|
12330
|
-
}
|
|
12331
|
-
if (!tea_util_1.default.isUnset(request.dstSuperAccount)) {
|
|
12332
|
-
query["DstSuperAccount"] = request.dstSuperAccount;
|
|
12333
|
-
}
|
|
12334
|
-
if (!tea_util_1.default.isUnset(request.dstSuperPassword)) {
|
|
12335
|
-
query["DstSuperPassword"] = request.dstSuperPassword;
|
|
12336
|
-
}
|
|
12337
|
-
if (!tea_util_1.default.isUnset(request.rate)) {
|
|
12338
|
-
query["Rate"] = request.rate;
|
|
12339
|
-
}
|
|
12340
|
-
if (!tea_util_1.default.isUnset(request.requestDuration)) {
|
|
12341
|
-
query["RequestDuration"] = request.requestDuration;
|
|
12342
|
-
}
|
|
12343
|
-
if (!tea_util_1.default.isUnset(request.requestStartTime)) {
|
|
12344
|
-
query["RequestStartTime"] = request.requestStartTime;
|
|
12345
|
-
}
|
|
12346
|
-
if (!tea_util_1.default.isUnset(request.srcEngine)) {
|
|
12347
|
-
query["SrcEngine"] = request.srcEngine;
|
|
12348
|
-
}
|
|
12349
|
-
if (!tea_util_1.default.isUnset(request.srcEngineVersion)) {
|
|
12350
|
-
query["SrcEngineVersion"] = request.srcEngineVersion;
|
|
12351
|
-
}
|
|
12352
|
-
if (!tea_util_1.default.isUnset(request.srcMaxQps)) {
|
|
12353
|
-
query["SrcMaxQps"] = request.srcMaxQps;
|
|
12354
|
-
}
|
|
12355
|
-
if (!tea_util_1.default.isUnset(request.srcMeanQps)) {
|
|
12356
|
-
query["SrcMeanQps"] = request.srcMeanQps;
|
|
12357
|
-
}
|
|
12358
|
-
if (!tea_util_1.default.isUnset(request.srcSqlOssAddr)) {
|
|
12359
|
-
query["SrcSqlOssAddr"] = request.srcSqlOssAddr;
|
|
12360
|
-
}
|
|
12361
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
12362
|
-
query: openapi_util_1.default.query(query),
|
|
12363
|
-
});
|
|
12364
|
-
let params = new $OpenApi.Params({
|
|
12365
|
-
action: "CreateAdamBenchTask",
|
|
12366
|
-
version: "2020-01-16",
|
|
12367
|
-
protocol: "HTTPS",
|
|
12368
|
-
pathname: "/",
|
|
12369
|
-
method: "POST",
|
|
12370
|
-
authType: "AK",
|
|
12371
|
-
style: "RPC",
|
|
12372
|
-
reqBodyType: "formData",
|
|
12373
|
-
bodyType: "json",
|
|
12374
|
-
});
|
|
12375
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateAdamBenchTaskResponse({}));
|
|
12376
|
-
}
|
|
12377
|
-
/**
|
|
12378
|
-
* Creates a stress testing task on Advanced Database & Application Migration (ADAM).
|
|
12379
|
-
*
|
|
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).
|
|
12382
|
-
* Make sure that your database instances meet the following requirements:
|
|
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.
|
|
12384
|
-
* * The destination instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
|
|
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).
|
|
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).
|
|
12387
|
-
*
|
|
12388
|
-
* @param request - CreateAdamBenchTaskRequest
|
|
12389
|
-
* @returns CreateAdamBenchTaskResponse
|
|
12390
|
-
*/
|
|
12391
|
-
async createAdamBenchTask(request) {
|
|
12392
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
12393
|
-
return await this.createAdamBenchTaskWithOptions(request, runtime);
|
|
12394
|
-
}
|
|
12395
13092
|
/**
|
|
12396
13093
|
* Creates a cache analysis task.
|
|
12397
13094
|
*
|
|
12398
13095
|
* @remarks
|
|
12399
13096
|
* Before you call this operation, take note of the following items:
|
|
12400
|
-
* * If you use an Alibaba Cloud SDK or
|
|
12401
|
-
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
12402
|
-
* *
|
|
12403
|
-
*
|
|
13097
|
+
* * 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.
|
|
13098
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13099
|
+
* * You can call this operation to analyze the data structures of ApsaraDB for Redis and the following self-developed data structures of Tair: TairString, TairHash, TairGIS, TairBloom, TairDoc, TairCpc, and TairZset. Other self-developed Tair data structures are not supported.
|
|
13100
|
+
* * If the specifications of the database instance that you want to analyze are changed, the backup file generated before the specification change cannot be analyzed.
|
|
13101
|
+
* * Tair ESSD/SSD-based instances are not supported.
|
|
12404
13102
|
*
|
|
12405
13103
|
* @param request - CreateCacheAnalysisJobRequest
|
|
12406
13104
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12442,10 +13140,11 @@ class Client extends openapi_client_1.default {
|
|
|
12442
13140
|
*
|
|
12443
13141
|
* @remarks
|
|
12444
13142
|
* Before you call this operation, take note of the following items:
|
|
12445
|
-
* * If you use an Alibaba Cloud SDK or
|
|
12446
|
-
* * If you use an SDK to call DAS, you must set the region to cn-shanghai.
|
|
12447
|
-
* *
|
|
12448
|
-
*
|
|
13143
|
+
* * 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.
|
|
13144
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13145
|
+
* * You can call this operation to analyze the data structures of ApsaraDB for Redis and the following self-developed data structures of Tair: TairString, TairHash, TairGIS, TairBloom, TairDoc, TairCpc, and TairZset. Other self-developed Tair data structures are not supported.
|
|
13146
|
+
* * If the specifications of the database instance that you want to analyze are changed, the backup file generated before the specification change cannot be analyzed.
|
|
13147
|
+
* * Tair ESSD/SSD-based instances are not supported.
|
|
12449
13148
|
*
|
|
12450
13149
|
* @param request - CreateCacheAnalysisJobRequest
|
|
12451
13150
|
* @returns CreateCacheAnalysisJobResponse
|
|
@@ -12459,8 +13158,8 @@ class Client extends openapi_client_1.default {
|
|
|
12459
13158
|
*
|
|
12460
13159
|
* @remarks
|
|
12461
13160
|
* 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:
|
|
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
|
|
12463
|
-
* * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL
|
|
13161
|
+
* * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition cluster.
|
|
13162
|
+
* * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
|
|
12464
13163
|
* * 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).
|
|
12465
13164
|
* * 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).
|
|
12466
13165
|
*
|
|
@@ -12573,8 +13272,8 @@ class Client extends openapi_client_1.default {
|
|
|
12573
13272
|
*
|
|
12574
13273
|
* @remarks
|
|
12575
13274
|
* 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:
|
|
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
|
|
12577
|
-
* * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL
|
|
13275
|
+
* * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition cluster.
|
|
13276
|
+
* * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
|
|
12578
13277
|
* * 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).
|
|
12579
13278
|
* * 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).
|
|
12580
13279
|
*
|
|
@@ -12768,6 +13467,48 @@ class Client extends openapi_client_1.default {
|
|
|
12768
13467
|
let runtime = new $Util.RuntimeOptions({});
|
|
12769
13468
|
return await this.createKillInstanceSessionTaskWithMaintainUserWithOptions(request, runtime);
|
|
12770
13469
|
}
|
|
13470
|
+
/**
|
|
13471
|
+
* 创建最近死锁分析任务
|
|
13472
|
+
*
|
|
13473
|
+
* @param request - CreateLatestDeadLockAnalysisRequest
|
|
13474
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13475
|
+
* @returns CreateLatestDeadLockAnalysisResponse
|
|
13476
|
+
*/
|
|
13477
|
+
async createLatestDeadLockAnalysisWithOptions(request, runtime) {
|
|
13478
|
+
tea_util_1.default.validateModel(request);
|
|
13479
|
+
let body = {};
|
|
13480
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
13481
|
+
body["InstanceId"] = request.instanceId;
|
|
13482
|
+
}
|
|
13483
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
13484
|
+
body["NodeId"] = request.nodeId;
|
|
13485
|
+
}
|
|
13486
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13487
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
13488
|
+
});
|
|
13489
|
+
let params = new $OpenApi.Params({
|
|
13490
|
+
action: "CreateLatestDeadLockAnalysis",
|
|
13491
|
+
version: "2020-01-16",
|
|
13492
|
+
protocol: "HTTPS",
|
|
13493
|
+
pathname: "/",
|
|
13494
|
+
method: "POST",
|
|
13495
|
+
authType: "AK",
|
|
13496
|
+
style: "RPC",
|
|
13497
|
+
reqBodyType: "formData",
|
|
13498
|
+
bodyType: "json",
|
|
13499
|
+
});
|
|
13500
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateLatestDeadLockAnalysisResponse({}));
|
|
13501
|
+
}
|
|
13502
|
+
/**
|
|
13503
|
+
* 创建最近死锁分析任务
|
|
13504
|
+
*
|
|
13505
|
+
* @param request - CreateLatestDeadLockAnalysisRequest
|
|
13506
|
+
* @returns CreateLatestDeadLockAnalysisResponse
|
|
13507
|
+
*/
|
|
13508
|
+
async createLatestDeadLockAnalysis(request) {
|
|
13509
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13510
|
+
return await this.createLatestDeadLockAnalysisWithOptions(request, runtime);
|
|
13511
|
+
}
|
|
12771
13512
|
/**
|
|
12772
13513
|
* Adds a tag to a SQL template.
|
|
12773
13514
|
*
|
|
@@ -13699,12 +14440,13 @@ class Client extends openapi_client_1.default {
|
|
|
13699
14440
|
return await this.describeHotKeysWithOptions(request, runtime);
|
|
13700
14441
|
}
|
|
13701
14442
|
/**
|
|
13702
|
-
* Queries whether Database Autonomy Service (DAS) Enterprise Edition is enabled for a database instance.
|
|
14443
|
+
* Queries whether Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled for a database instance.
|
|
13703
14444
|
*
|
|
13704
14445
|
* @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).
|
|
14446
|
+
* For more information about the database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
13706
14447
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13707
14448
|
* * This operation is applicable only to DAS Enterprise Edition V1 and V2.
|
|
14449
|
+
* > We recommend that you call the [DescribeSqlLogConfig](https://help.aliyun.com/document_detail/2778837.html) operation to query the DAS Enterprise Edition configurations of a database instance.
|
|
13708
14450
|
*
|
|
13709
14451
|
* @param request - DescribeInstanceDasProRequest
|
|
13710
14452
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13733,12 +14475,13 @@ class Client extends openapi_client_1.default {
|
|
|
13733
14475
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceDasProResponse({}));
|
|
13734
14476
|
}
|
|
13735
14477
|
/**
|
|
13736
|
-
* Queries whether Database Autonomy Service (DAS) Enterprise Edition is enabled for a database instance.
|
|
14478
|
+
* Queries whether Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled for a database instance.
|
|
13737
14479
|
*
|
|
13738
14480
|
* @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).
|
|
14481
|
+
* For more information about the database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
13740
14482
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
13741
14483
|
* * This operation is applicable only to DAS Enterprise Edition V1 and V2.
|
|
14484
|
+
* > We recommend that you call the [DescribeSqlLogConfig](https://help.aliyun.com/document_detail/2778837.html) operation to query the DAS Enterprise Edition configurations of a database instance.
|
|
13742
14485
|
*
|
|
13743
14486
|
* @param request - DescribeInstanceDasProRequest
|
|
13744
14487
|
* @returns DescribeInstanceDasProResponse
|
|
@@ -13747,6 +14490,126 @@ class Client extends openapi_client_1.default {
|
|
|
13747
14490
|
let runtime = new $Util.RuntimeOptions({});
|
|
13748
14491
|
return await this.describeInstanceDasProWithOptions(request, runtime);
|
|
13749
14492
|
}
|
|
14493
|
+
/**
|
|
14494
|
+
* DescribeSlowLogHistogramAsync
|
|
14495
|
+
*
|
|
14496
|
+
* @param request - DescribeSlowLogHistogramAsyncRequest
|
|
14497
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14498
|
+
* @returns DescribeSlowLogHistogramAsyncResponse
|
|
14499
|
+
*/
|
|
14500
|
+
async describeSlowLogHistogramAsyncWithOptions(request, runtime) {
|
|
14501
|
+
tea_util_1.default.validateModel(request);
|
|
14502
|
+
let body = {};
|
|
14503
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
14504
|
+
body["EndTime"] = request.endTime;
|
|
14505
|
+
}
|
|
14506
|
+
if (!tea_util_1.default.isUnset(request.filters)) {
|
|
14507
|
+
body["Filters"] = request.filters;
|
|
14508
|
+
}
|
|
14509
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
14510
|
+
body["InstanceId"] = request.instanceId;
|
|
14511
|
+
}
|
|
14512
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
14513
|
+
body["NodeId"] = request.nodeId;
|
|
14514
|
+
}
|
|
14515
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
14516
|
+
body["StartTime"] = request.startTime;
|
|
14517
|
+
}
|
|
14518
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14519
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14520
|
+
});
|
|
14521
|
+
let params = new $OpenApi.Params({
|
|
14522
|
+
action: "DescribeSlowLogHistogramAsync",
|
|
14523
|
+
version: "2020-01-16",
|
|
14524
|
+
protocol: "HTTPS",
|
|
14525
|
+
pathname: "/",
|
|
14526
|
+
method: "POST",
|
|
14527
|
+
authType: "AK",
|
|
14528
|
+
style: "RPC",
|
|
14529
|
+
reqBodyType: "formData",
|
|
14530
|
+
bodyType: "json",
|
|
14531
|
+
});
|
|
14532
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogHistogramAsyncResponse({}));
|
|
14533
|
+
}
|
|
14534
|
+
/**
|
|
14535
|
+
* DescribeSlowLogHistogramAsync
|
|
14536
|
+
*
|
|
14537
|
+
* @param request - DescribeSlowLogHistogramAsyncRequest
|
|
14538
|
+
* @returns DescribeSlowLogHistogramAsyncResponse
|
|
14539
|
+
*/
|
|
14540
|
+
async describeSlowLogHistogramAsync(request) {
|
|
14541
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14542
|
+
return await this.describeSlowLogHistogramAsyncWithOptions(request, runtime);
|
|
14543
|
+
}
|
|
14544
|
+
/**
|
|
14545
|
+
* 慢日志统计信息
|
|
14546
|
+
*
|
|
14547
|
+
* @param request - DescribeSlowLogStatisticRequest
|
|
14548
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14549
|
+
* @returns DescribeSlowLogStatisticResponse
|
|
14550
|
+
*/
|
|
14551
|
+
async describeSlowLogStatisticWithOptions(request, runtime) {
|
|
14552
|
+
tea_util_1.default.validateModel(request);
|
|
14553
|
+
let body = {};
|
|
14554
|
+
if (!tea_util_1.default.isUnset(request.asc)) {
|
|
14555
|
+
body["Asc"] = request.asc;
|
|
14556
|
+
}
|
|
14557
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
14558
|
+
body["EndTime"] = request.endTime;
|
|
14559
|
+
}
|
|
14560
|
+
if (!tea_util_1.default.isUnset(request.filters)) {
|
|
14561
|
+
body["Filters"] = request.filters;
|
|
14562
|
+
}
|
|
14563
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
14564
|
+
body["InstanceId"] = request.instanceId;
|
|
14565
|
+
}
|
|
14566
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
14567
|
+
body["NodeId"] = request.nodeId;
|
|
14568
|
+
}
|
|
14569
|
+
if (!tea_util_1.default.isUnset(request.orderBy)) {
|
|
14570
|
+
body["OrderBy"] = request.orderBy;
|
|
14571
|
+
}
|
|
14572
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
14573
|
+
body["PageNumber"] = request.pageNumber;
|
|
14574
|
+
}
|
|
14575
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
14576
|
+
body["PageSize"] = request.pageSize;
|
|
14577
|
+
}
|
|
14578
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
14579
|
+
body["StartTime"] = request.startTime;
|
|
14580
|
+
}
|
|
14581
|
+
if (!tea_util_1.default.isUnset(request.templateId)) {
|
|
14582
|
+
body["TemplateId"] = request.templateId;
|
|
14583
|
+
}
|
|
14584
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
14585
|
+
body["Type"] = request.type;
|
|
14586
|
+
}
|
|
14587
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14588
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14589
|
+
});
|
|
14590
|
+
let params = new $OpenApi.Params({
|
|
14591
|
+
action: "DescribeSlowLogStatistic",
|
|
14592
|
+
version: "2020-01-16",
|
|
14593
|
+
protocol: "HTTPS",
|
|
14594
|
+
pathname: "/",
|
|
14595
|
+
method: "POST",
|
|
14596
|
+
authType: "AK",
|
|
14597
|
+
style: "RPC",
|
|
14598
|
+
reqBodyType: "formData",
|
|
14599
|
+
bodyType: "json",
|
|
14600
|
+
});
|
|
14601
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogStatisticResponse({}));
|
|
14602
|
+
}
|
|
14603
|
+
/**
|
|
14604
|
+
* 慢日志统计信息
|
|
14605
|
+
*
|
|
14606
|
+
* @param request - DescribeSlowLogStatisticRequest
|
|
14607
|
+
* @returns DescribeSlowLogStatisticResponse
|
|
14608
|
+
*/
|
|
14609
|
+
async describeSlowLogStatistic(request) {
|
|
14610
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14611
|
+
return await this.describeSlowLogStatisticWithOptions(request, runtime);
|
|
14612
|
+
}
|
|
13750
14613
|
/**
|
|
13751
14614
|
* Queries the configurations of Database Autonomy Service (DAS) Enterprise Edition that is enabled for a database instance.
|
|
13752
14615
|
*
|
|
@@ -13976,7 +14839,7 @@ class Client extends openapi_client_1.default {
|
|
|
13976
14839
|
return await this.describeSqlLogTaskWithOptions(request, runtime);
|
|
13977
14840
|
}
|
|
13978
14841
|
/**
|
|
13979
|
-
* Queries the
|
|
14842
|
+
* Queries the audit log tasks of a database instance.
|
|
13980
14843
|
*
|
|
13981
14844
|
* @remarks
|
|
13982
14845
|
* Before you call this operation, take note of the following items:
|
|
@@ -14028,7 +14891,7 @@ class Client extends openapi_client_1.default {
|
|
|
14028
14891
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlLogTasksResponse({}));
|
|
14029
14892
|
}
|
|
14030
14893
|
/**
|
|
14031
|
-
* Queries the
|
|
14894
|
+
* Queries the audit log tasks of a database instance.
|
|
14032
14895
|
*
|
|
14033
14896
|
* @remarks
|
|
14034
14897
|
* Before you call this operation, take note of the following items:
|
|
@@ -14114,7 +14977,7 @@ class Client extends openapi_client_1.default {
|
|
|
14114
14977
|
return await this.describeTopBigKeysWithOptions(request, runtime);
|
|
14115
14978
|
}
|
|
14116
14979
|
/**
|
|
14117
|
-
* Queries the top 100
|
|
14980
|
+
* Queries the top 100 hotkeys over a period of time.
|
|
14118
14981
|
*
|
|
14119
14982
|
* @remarks
|
|
14120
14983
|
* If the number of queries per second (QPS) of a key is greater than 3,000, the key is considered a hot key.
|
|
@@ -14165,7 +15028,7 @@ class Client extends openapi_client_1.default {
|
|
|
14165
15028
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTopHotKeysResponse({}));
|
|
14166
15029
|
}
|
|
14167
15030
|
/**
|
|
14168
|
-
* Queries the top 100
|
|
15031
|
+
* Queries the top 100 hotkeys over a period of time.
|
|
14169
15032
|
*
|
|
14170
15033
|
* @remarks
|
|
14171
15034
|
* If the number of queries per second (QPS) of a key is greater than 3,000, the key is considered a hot key.
|
|
@@ -14333,12 +15196,13 @@ class Client extends openapi_client_1.default {
|
|
|
14333
15196
|
return await this.disableAutoThrottleRulesWithOptions(request, runtime);
|
|
14334
15197
|
}
|
|
14335
15198
|
/**
|
|
14336
|
-
*
|
|
15199
|
+
* Deactivates Database Autonomy Service (DAS) Professional Edition.
|
|
14337
15200
|
*
|
|
14338
15201
|
* @remarks
|
|
14339
|
-
* For more information about database instances that support DAS Enterprise Edition, see [Overview
|
|
15202
|
+
* For more information about the database instances that support DAS Enterprise Edition, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
14340
15203
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14341
15204
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
15205
|
+
* > We recommend that you call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable or disable DAS Enterprise Edition for a 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).
|
|
14342
15206
|
*
|
|
14343
15207
|
* @param request - DisableDasProRequest
|
|
14344
15208
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14370,12 +15234,13 @@ class Client extends openapi_client_1.default {
|
|
|
14370
15234
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableDasProResponse({}));
|
|
14371
15235
|
}
|
|
14372
15236
|
/**
|
|
14373
|
-
*
|
|
15237
|
+
* Deactivates Database Autonomy Service (DAS) Professional Edition.
|
|
14374
15238
|
*
|
|
14375
15239
|
* @remarks
|
|
14376
|
-
* For more information about database instances that support DAS Enterprise Edition, see [Overview
|
|
15240
|
+
* For more information about the database instances that support DAS Enterprise Edition, see [Overview](https://help.aliyun.com/document_detail/190912.html).
|
|
14377
15241
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14378
15242
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
15243
|
+
* > We recommend that you call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable or disable DAS Enterprise Edition for a 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).
|
|
14379
15244
|
*
|
|
14380
15245
|
* @param request - DisableDasProRequest
|
|
14381
15246
|
* @returns DisableDasProResponse
|
|
@@ -14497,12 +15362,12 @@ class Client extends openapi_client_1.default {
|
|
|
14497
15362
|
return await this.disableSqlConcurrencyControlWithOptions(request, runtime);
|
|
14498
15363
|
}
|
|
14499
15364
|
/**
|
|
14500
|
-
*
|
|
15365
|
+
* Activates Database Autonomy Service (DAS) Professional Edition.
|
|
14501
15366
|
*
|
|
14502
15367
|
* @remarks
|
|
14503
15368
|
* If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14504
15369
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
14505
|
-
* >
|
|
15370
|
+
* > We recommend that you call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to activate or deactivate DAS Enterprise Edition for a database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [DAS editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
14506
15371
|
*
|
|
14507
15372
|
* @param request - EnableDasProRequest
|
|
14508
15373
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14537,12 +15402,12 @@ class Client extends openapi_client_1.default {
|
|
|
14537
15402
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableDasProResponse({}));
|
|
14538
15403
|
}
|
|
14539
15404
|
/**
|
|
14540
|
-
*
|
|
15405
|
+
* Activates Database Autonomy Service (DAS) Professional Edition.
|
|
14541
15406
|
*
|
|
14542
15407
|
* @remarks
|
|
14543
15408
|
* If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
14544
15409
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
14545
|
-
* >
|
|
15410
|
+
* > We recommend that you call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to activate or deactivate DAS Enterprise Edition for a database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [DAS editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
14546
15411
|
*
|
|
14547
15412
|
* @param request - EnableDasProRequest
|
|
14548
15413
|
* @returns EnableDasProResponse
|
|
@@ -14618,10 +15483,11 @@ class Client extends openapi_client_1.default {
|
|
|
14618
15483
|
/**
|
|
14619
15484
|
* Asynchronously queries the IDs of SQL statements that generate a MySQL error code in the SQL Explorer results of a database instance.
|
|
14620
15485
|
*
|
|
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.
|
|
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 [
|
|
14624
|
-
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15486
|
+
* @remarks
|
|
15487
|
+
* > GetAsyncErrorRequestListByCode is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of the **isFinish** parameter is **false** in the response, wait for 1 second and then send a request again. If the value of the **isFinish** parameter is **true**, the complete results are returned.
|
|
15488
|
+
* * 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 [Enable and manage DAS Economy Edition and DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
15489
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15490
|
+
* * When you call this operation, the value of the SqlId parameter changes due to the optimization of the SQL template algorithm starting from September 1, 2024. For more information, see [[Notice\\] Optimization of the SQL template algorithm](~~2845725~~).
|
|
14625
15491
|
*
|
|
14626
15492
|
* @param request - GetAsyncErrorRequestListByCodeRequest
|
|
14627
15493
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14665,9 +15531,10 @@ class Client extends openapi_client_1.default {
|
|
|
14665
15531
|
* Asynchronously queries the IDs of SQL statements that generate a MySQL error code in the SQL Explorer results of a database instance.
|
|
14666
15532
|
*
|
|
14667
15533
|
* @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.
|
|
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 [
|
|
14670
|
-
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15534
|
+
* > GetAsyncErrorRequestListByCode is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of the **isFinish** parameter is **false** in the response, wait for 1 second and then send a request again. If the value of the **isFinish** parameter is **true**, the complete results are returned.
|
|
15535
|
+
* * 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 [Enable and manage DAS Economy Edition and DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
|
|
15536
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15537
|
+
* * When you call this operation, the value of the SqlId parameter changes due to the optimization of the SQL template algorithm starting from September 1, 2024. For more information, see [[Notice\\] Optimization of the SQL template algorithm](~~2845725~~).
|
|
14671
15538
|
*
|
|
14672
15539
|
* @param request - GetAsyncErrorRequestListByCodeRequest
|
|
14673
15540
|
* @returns GetAsyncErrorRequestListByCodeResponse
|
|
@@ -14919,9 +15786,9 @@ class Client extends openapi_client_1.default {
|
|
|
14919
15786
|
* @remarks
|
|
14920
15787
|
* Before you call this operation, take note of the following items:
|
|
14921
15788
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14922
|
-
* * The database instance that you want to manage
|
|
14923
|
-
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition
|
|
14924
|
-
* * PolarDB for MySQL Cluster Edition
|
|
15789
|
+
* * The database instance that you want to manage must be of one of the following types:
|
|
15790
|
+
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
15791
|
+
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
14925
15792
|
*
|
|
14926
15793
|
* @param request - GetAutoThrottleRulesRequest
|
|
14927
15794
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14958,9 +15825,9 @@ class Client extends openapi_client_1.default {
|
|
|
14958
15825
|
* @remarks
|
|
14959
15826
|
* Before you call this operation, take note of the following items:
|
|
14960
15827
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
14961
|
-
* * The database instance that you want to manage
|
|
14962
|
-
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition
|
|
14963
|
-
* * PolarDB for MySQL Cluster Edition
|
|
15828
|
+
* * The database instance that you want to manage must be of one of the following types:
|
|
15829
|
+
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
15830
|
+
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
14964
15831
|
*
|
|
14965
15832
|
* @param request - GetAutoThrottleRulesRequest
|
|
14966
15833
|
* @returns GetAutoThrottleRulesResponse
|
|
@@ -15109,7 +15976,7 @@ class Client extends openapi_client_1.default {
|
|
|
15109
15976
|
return await this.getAutonomousNotifyEventsInRangeWithOptions(request, runtime);
|
|
15110
15977
|
}
|
|
15111
15978
|
/**
|
|
15112
|
-
* Queries the blocking
|
|
15979
|
+
* Queries the blocking data of an ApsaraDB RDS for SQL Server instance.
|
|
15113
15980
|
*
|
|
15114
15981
|
* @remarks
|
|
15115
15982
|
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
@@ -15161,7 +16028,7 @@ class Client extends openapi_client_1.default {
|
|
|
15161
16028
|
return $tea.cast(await this.callApi(params, req, runtime), new GetBlockingDetailListResponse({}));
|
|
15162
16029
|
}
|
|
15163
16030
|
/**
|
|
15164
|
-
* Queries the blocking
|
|
16031
|
+
* Queries the blocking data of an ApsaraDB RDS for SQL Server instance.
|
|
15165
16032
|
*
|
|
15166
16033
|
* @remarks
|
|
15167
16034
|
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
@@ -15230,13 +16097,14 @@ class Client extends openapi_client_1.default {
|
|
|
15230
16097
|
return await this.getDBInstanceConnectivityDiagnosisWithOptions(request, runtime);
|
|
15231
16098
|
}
|
|
15232
16099
|
/**
|
|
15233
|
-
* Queries the storage usage of
|
|
16100
|
+
* Queries the storage usage of a database instance for which Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled.
|
|
15234
16101
|
*
|
|
15235
16102
|
* @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).
|
|
15237
|
-
* * If you use an Alibaba Cloud SDK or
|
|
16103
|
+
* For information about the database instances that support this operation, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
16104
|
+
* * 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.
|
|
15238
16105
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15239
16106
|
* * This operation is applicable only to DAS Enterprise Edition V1 and V2.
|
|
16107
|
+
* > We recommend that you call the [DescribeSqlLogStatistic](https://help.aliyun.com/document_detail/2778836.html) operation to query the data statistics of a database instance for which DAS Enterprise Edition is enabled.
|
|
15240
16108
|
*
|
|
15241
16109
|
* @param request - GetDasProServiceUsageRequest
|
|
15242
16110
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15268,13 +16136,14 @@ class Client extends openapi_client_1.default {
|
|
|
15268
16136
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDasProServiceUsageResponse({}));
|
|
15269
16137
|
}
|
|
15270
16138
|
/**
|
|
15271
|
-
* Queries the storage usage of
|
|
16139
|
+
* Queries the storage usage of a database instance for which Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled.
|
|
15272
16140
|
*
|
|
15273
16141
|
* @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).
|
|
15275
|
-
* * If you use an Alibaba Cloud SDK or
|
|
16142
|
+
* For information about the database instances that support this operation, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
16143
|
+
* * 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.
|
|
15276
16144
|
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
15277
16145
|
* * This operation is applicable only to DAS Enterprise Edition V1 and V2.
|
|
16146
|
+
* > We recommend that you call the [DescribeSqlLogStatistic](https://help.aliyun.com/document_detail/2778836.html) operation to query the data statistics of a database instance for which DAS Enterprise Edition is enabled.
|
|
15278
16147
|
*
|
|
15279
16148
|
* @param request - GetDasProServiceUsageRequest
|
|
15280
16149
|
* @returns GetDasProServiceUsageResponse
|
|
@@ -15284,14 +16153,14 @@ class Client extends openapi_client_1.default {
|
|
|
15284
16153
|
return await this.getDasProServiceUsageWithOptions(request, runtime);
|
|
15285
16154
|
}
|
|
15286
16155
|
/**
|
|
15287
|
-
* Queries the
|
|
16156
|
+
* Queries the hot data of audit logs.
|
|
15288
16157
|
*
|
|
15289
16158
|
* @remarks
|
|
15290
16159
|
* Before you call this operation, take note of the following items:
|
|
15291
16160
|
* * 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.
|
|
15292
|
-
* * If you use an SDK to call
|
|
15293
|
-
* *
|
|
15294
|
-
* >
|
|
16161
|
+
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16162
|
+
* * This operation is applicable to PolarDB for MySQL, ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, and ApsaraDB RDS for SQL Server.
|
|
16163
|
+
* > The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the start time and the end time cannot exceed one day. This operation can return a maximum of 10,000 entries.
|
|
15295
16164
|
*
|
|
15296
16165
|
* @param request - GetDasSQLLogHotDataRequest
|
|
15297
16166
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15401,14 +16270,14 @@ class Client extends openapi_client_1.default {
|
|
|
15401
16270
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDasSQLLogHotDataResponse({}));
|
|
15402
16271
|
}
|
|
15403
16272
|
/**
|
|
15404
|
-
* Queries the
|
|
16273
|
+
* Queries the hot data of audit logs.
|
|
15405
16274
|
*
|
|
15406
16275
|
* @remarks
|
|
15407
16276
|
* Before you call this operation, take note of the following items:
|
|
15408
16277
|
* * 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.
|
|
15409
|
-
* * If you use an SDK to call
|
|
15410
|
-
* *
|
|
15411
|
-
* >
|
|
16278
|
+
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
16279
|
+
* * This operation is applicable to PolarDB for MySQL, ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, and ApsaraDB RDS for SQL Server.
|
|
16280
|
+
* > The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the start time and the end time cannot exceed one day. This operation can return a maximum of 10,000 entries.
|
|
15412
16281
|
*
|
|
15413
16282
|
* @param request - GetDasSQLLogHotDataRequest
|
|
15414
16283
|
* @returns GetDasSQLLogHotDataResponse
|
|
@@ -15418,7 +16287,55 @@ class Client extends openapi_client_1.default {
|
|
|
15418
16287
|
return await this.getDasSQLLogHotDataWithOptions(request, runtime);
|
|
15419
16288
|
}
|
|
15420
16289
|
/**
|
|
15421
|
-
*
|
|
16290
|
+
* 查询单个死锁详情
|
|
16291
|
+
*
|
|
16292
|
+
* @param request - GetDeadLockDetailRequest
|
|
16293
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16294
|
+
* @returns GetDeadLockDetailResponse
|
|
16295
|
+
*/
|
|
16296
|
+
async getDeadLockDetailWithOptions(request, runtime) {
|
|
16297
|
+
tea_util_1.default.validateModel(request);
|
|
16298
|
+
let query = {};
|
|
16299
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
16300
|
+
query["InstanceId"] = request.instanceId;
|
|
16301
|
+
}
|
|
16302
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
16303
|
+
query["NodeId"] = request.nodeId;
|
|
16304
|
+
}
|
|
16305
|
+
if (!tea_util_1.default.isUnset(request.source)) {
|
|
16306
|
+
query["Source"] = request.source;
|
|
16307
|
+
}
|
|
16308
|
+
if (!tea_util_1.default.isUnset(request.textId)) {
|
|
16309
|
+
query["TextId"] = request.textId;
|
|
16310
|
+
}
|
|
16311
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16312
|
+
query: openapi_util_1.default.query(query),
|
|
16313
|
+
});
|
|
16314
|
+
let params = new $OpenApi.Params({
|
|
16315
|
+
action: "GetDeadLockDetail",
|
|
16316
|
+
version: "2020-01-16",
|
|
16317
|
+
protocol: "HTTPS",
|
|
16318
|
+
pathname: "/",
|
|
16319
|
+
method: "POST",
|
|
16320
|
+
authType: "AK",
|
|
16321
|
+
style: "RPC",
|
|
16322
|
+
reqBodyType: "formData",
|
|
16323
|
+
bodyType: "json",
|
|
16324
|
+
});
|
|
16325
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetDeadLockDetailResponse({}));
|
|
16326
|
+
}
|
|
16327
|
+
/**
|
|
16328
|
+
* 查询单个死锁详情
|
|
16329
|
+
*
|
|
16330
|
+
* @param request - GetDeadLockDetailRequest
|
|
16331
|
+
* @returns GetDeadLockDetailResponse
|
|
16332
|
+
*/
|
|
16333
|
+
async getDeadLockDetail(request) {
|
|
16334
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16335
|
+
return await this.getDeadLockDetailWithOptions(request, runtime);
|
|
16336
|
+
}
|
|
16337
|
+
/**
|
|
16338
|
+
* Queries the deadlock details of an ApsaraDB RDS for SQL Server instance.
|
|
15422
16339
|
*
|
|
15423
16340
|
* @remarks
|
|
15424
16341
|
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
@@ -15467,7 +16384,7 @@ class Client extends openapi_client_1.default {
|
|
|
15467
16384
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDeadLockDetailListResponse({}));
|
|
15468
16385
|
}
|
|
15469
16386
|
/**
|
|
15470
|
-
* Queries the deadlock details of an instance.
|
|
16387
|
+
* Queries the deadlock details of an ApsaraDB RDS for SQL Server instance.
|
|
15471
16388
|
*
|
|
15472
16389
|
* @remarks
|
|
15473
16390
|
* This operation is applicable only to ApsaraDB RDS for SQL Server instances.
|
|
@@ -15481,6 +16398,114 @@ class Client extends openapi_client_1.default {
|
|
|
15481
16398
|
let runtime = new $Util.RuntimeOptions({});
|
|
15482
16399
|
return await this.getDeadLockDetailListWithOptions(request, runtime);
|
|
15483
16400
|
}
|
|
16401
|
+
/**
|
|
16402
|
+
* 获取历史死锁记录
|
|
16403
|
+
*
|
|
16404
|
+
* @param request - GetDeadLockHistoryRequest
|
|
16405
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16406
|
+
* @returns GetDeadLockHistoryResponse
|
|
16407
|
+
*/
|
|
16408
|
+
async getDeadLockHistoryWithOptions(request, runtime) {
|
|
16409
|
+
tea_util_1.default.validateModel(request);
|
|
16410
|
+
let query = {};
|
|
16411
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
16412
|
+
query["EndTime"] = request.endTime;
|
|
16413
|
+
}
|
|
16414
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
16415
|
+
query["InstanceId"] = request.instanceId;
|
|
16416
|
+
}
|
|
16417
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
16418
|
+
query["NodeId"] = request.nodeId;
|
|
16419
|
+
}
|
|
16420
|
+
if (!tea_util_1.default.isUnset(request.pageNo)) {
|
|
16421
|
+
query["PageNo"] = request.pageNo;
|
|
16422
|
+
}
|
|
16423
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
16424
|
+
query["PageSize"] = request.pageSize;
|
|
16425
|
+
}
|
|
16426
|
+
if (!tea_util_1.default.isUnset(request.source)) {
|
|
16427
|
+
query["Source"] = request.source;
|
|
16428
|
+
}
|
|
16429
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
16430
|
+
query["StartTime"] = request.startTime;
|
|
16431
|
+
}
|
|
16432
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16433
|
+
query: openapi_util_1.default.query(query),
|
|
16434
|
+
});
|
|
16435
|
+
let params = new $OpenApi.Params({
|
|
16436
|
+
action: "GetDeadLockHistory",
|
|
16437
|
+
version: "2020-01-16",
|
|
16438
|
+
protocol: "HTTPS",
|
|
16439
|
+
pathname: "/",
|
|
16440
|
+
method: "POST",
|
|
16441
|
+
authType: "AK",
|
|
16442
|
+
style: "RPC",
|
|
16443
|
+
reqBodyType: "formData",
|
|
16444
|
+
bodyType: "json",
|
|
16445
|
+
});
|
|
16446
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetDeadLockHistoryResponse({}));
|
|
16447
|
+
}
|
|
16448
|
+
/**
|
|
16449
|
+
* 获取历史死锁记录
|
|
16450
|
+
*
|
|
16451
|
+
* @param request - GetDeadLockHistoryRequest
|
|
16452
|
+
* @returns GetDeadLockHistoryResponse
|
|
16453
|
+
*/
|
|
16454
|
+
async getDeadLockHistory(request) {
|
|
16455
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16456
|
+
return await this.getDeadLockHistoryWithOptions(request, runtime);
|
|
16457
|
+
}
|
|
16458
|
+
/**
|
|
16459
|
+
* 查询时间范围内基于错误日志分析的死锁数量
|
|
16460
|
+
*
|
|
16461
|
+
* @param request - GetDeadlockHistogramRequest
|
|
16462
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16463
|
+
* @returns GetDeadlockHistogramResponse
|
|
16464
|
+
*/
|
|
16465
|
+
async getDeadlockHistogramWithOptions(request, runtime) {
|
|
16466
|
+
tea_util_1.default.validateModel(request);
|
|
16467
|
+
let body = {};
|
|
16468
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
16469
|
+
body["EndTime"] = request.endTime;
|
|
16470
|
+
}
|
|
16471
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
16472
|
+
body["InstanceId"] = request.instanceId;
|
|
16473
|
+
}
|
|
16474
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
16475
|
+
body["NodeId"] = request.nodeId;
|
|
16476
|
+
}
|
|
16477
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
16478
|
+
body["StartTime"] = request.startTime;
|
|
16479
|
+
}
|
|
16480
|
+
if (!tea_util_1.default.isUnset(request.status)) {
|
|
16481
|
+
body["Status"] = request.status;
|
|
16482
|
+
}
|
|
16483
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16484
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
16485
|
+
});
|
|
16486
|
+
let params = new $OpenApi.Params({
|
|
16487
|
+
action: "GetDeadlockHistogram",
|
|
16488
|
+
version: "2020-01-16",
|
|
16489
|
+
protocol: "HTTPS",
|
|
16490
|
+
pathname: "/",
|
|
16491
|
+
method: "POST",
|
|
16492
|
+
authType: "AK",
|
|
16493
|
+
style: "RPC",
|
|
16494
|
+
reqBodyType: "formData",
|
|
16495
|
+
bodyType: "json",
|
|
16496
|
+
});
|
|
16497
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetDeadlockHistogramResponse({}));
|
|
16498
|
+
}
|
|
16499
|
+
/**
|
|
16500
|
+
* 查询时间范围内基于错误日志分析的死锁数量
|
|
16501
|
+
*
|
|
16502
|
+
* @param request - GetDeadlockHistogramRequest
|
|
16503
|
+
* @returns GetDeadlockHistogramResponse
|
|
16504
|
+
*/
|
|
16505
|
+
async getDeadlockHistogram(request) {
|
|
16506
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16507
|
+
return await this.getDeadlockHistogramWithOptions(request, runtime);
|
|
16508
|
+
}
|
|
15484
16509
|
/**
|
|
15485
16510
|
* @param request - GetEndpointSwitchTaskRequest
|
|
15486
16511
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15801,10 +16826,11 @@ class Client extends openapi_client_1.default {
|
|
|
15801
16826
|
* Asynchronously collects the full request statistics in the SQL Explorer results of a database instance by SQL ID.
|
|
15802
16827
|
*
|
|
15803
16828
|
* @remarks
|
|
15804
|
-
* >
|
|
16829
|
+
* > GetFullRequestStatResultByInstanceId is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of the isFinish parameter is **false** in the response, wait for 1 second and then send a request again. If the value of the isFinish parameter is **true**, the complete results are returned.
|
|
15805
16830
|
* 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).
|
|
15806
|
-
* * For more information about database instances that support
|
|
15807
|
-
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
16831
|
+
* * For more information about database instances that support this feature, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
16832
|
+
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
16833
|
+
* * When you call this operation, the value of the SqlId parameter changes due to the optimization of the SQL template algorithm starting from September 1, 2024. For more information, see [[Notice\\] Optimization of the SQL template algorithm](~~2845725~~).
|
|
15808
16834
|
*
|
|
15809
16835
|
* @param request - GetFullRequestStatResultByInstanceIdRequest
|
|
15810
16836
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15878,10 +16904,11 @@ class Client extends openapi_client_1.default {
|
|
|
15878
16904
|
* Asynchronously collects the full request statistics in the SQL Explorer results of a database instance by SQL ID.
|
|
15879
16905
|
*
|
|
15880
16906
|
* @remarks
|
|
15881
|
-
* >
|
|
16907
|
+
* > GetFullRequestStatResultByInstanceId is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of the isFinish parameter is **false** in the response, wait for 1 second and then send a request again. If the value of the isFinish parameter is **true**, the complete results are returned.
|
|
15882
16908
|
* 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).
|
|
15883
|
-
* * For more information about database instances that support
|
|
15884
|
-
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
16909
|
+
* * For more information about database instances that support this feature, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
|
|
16910
|
+
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
16911
|
+
* * When you call this operation, the value of the SqlId parameter changes due to the optimization of the SQL template algorithm starting from September 1, 2024. For more information, see [[Notice\\] Optimization of the SQL template algorithm](~~2845725~~).
|
|
15885
16912
|
*
|
|
15886
16913
|
* @param request - GetFullRequestStatResultByInstanceIdRequest
|
|
15887
16914
|
* @returns GetFullRequestStatResultByInstanceIdResponse
|
|
@@ -17282,15 +18309,16 @@ class Client extends openapi_client_1.default {
|
|
|
17282
18309
|
*
|
|
17283
18310
|
* @remarks
|
|
17284
18311
|
* Before you call this operation, take note of the following items:
|
|
17285
|
-
* * If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17286
|
-
* *
|
|
17287
|
-
*
|
|
17288
|
-
* *
|
|
17289
|
-
* *
|
|
18312
|
+
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18313
|
+
* * You cannot call this operation to query the diagnostic result of the automatic SQL optimization feature.
|
|
18314
|
+
* * This operation is applicable to the following database engines:
|
|
18315
|
+
* * RDS MySQL
|
|
18316
|
+
* * RDS PostgreSQL
|
|
18317
|
+
* * RDS SQL Server
|
|
17290
18318
|
* * PolarDB for MySQL
|
|
17291
|
-
* * PolarDB for PostgreSQL (
|
|
18319
|
+
* * PolarDB for PostgreSQL (Compatible with Oracle)
|
|
17292
18320
|
* * ApsaraDB for MongoDB
|
|
17293
|
-
* >
|
|
18321
|
+
* > If your instance is an ApsaraDB RDS for PostgreSQL instance, make sure that the minor engine version of your instance is 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).
|
|
17294
18322
|
*
|
|
17295
18323
|
* @param request - GetRequestDiagnosisResultRequest
|
|
17296
18324
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17335,15 +18363,16 @@ class Client extends openapi_client_1.default {
|
|
|
17335
18363
|
*
|
|
17336
18364
|
* @remarks
|
|
17337
18365
|
* Before you call this operation, take note of the following items:
|
|
17338
|
-
* * If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
17339
|
-
* *
|
|
17340
|
-
*
|
|
17341
|
-
* *
|
|
17342
|
-
* *
|
|
18366
|
+
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18367
|
+
* * You cannot call this operation to query the diagnostic result of the automatic SQL optimization feature.
|
|
18368
|
+
* * This operation is applicable to the following database engines:
|
|
18369
|
+
* * RDS MySQL
|
|
18370
|
+
* * RDS PostgreSQL
|
|
18371
|
+
* * RDS SQL Server
|
|
17343
18372
|
* * PolarDB for MySQL
|
|
17344
|
-
* * PolarDB for PostgreSQL (
|
|
18373
|
+
* * PolarDB for PostgreSQL (Compatible with Oracle)
|
|
17345
18374
|
* * ApsaraDB for MongoDB
|
|
17346
|
-
* >
|
|
18375
|
+
* > If your instance is an ApsaraDB RDS for PostgreSQL instance, make sure that the minor engine version of your instance is 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).
|
|
17347
18376
|
*
|
|
17348
18377
|
* @param request - GetRequestDiagnosisResultRequest
|
|
17349
18378
|
* @returns GetRequestDiagnosisResultResponse
|
|
@@ -17906,7 +18935,7 @@ class Client extends openapi_client_1.default {
|
|
|
17906
18935
|
*
|
|
17907
18936
|
* @remarks
|
|
17908
18937
|
* Before you call this operation, take note of the following items:
|
|
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.
|
|
18938
|
+
* * 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.
|
|
17910
18939
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
17911
18940
|
* * Make sure that the database instance that you want to manage is connected to DAS.
|
|
17912
18941
|
*
|
|
@@ -17971,7 +19000,7 @@ class Client extends openapi_client_1.default {
|
|
|
17971
19000
|
*
|
|
17972
19001
|
* @remarks
|
|
17973
19002
|
* Before you call this operation, take note of the following items:
|
|
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.
|
|
19003
|
+
* * 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.
|
|
17975
19004
|
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
17976
19005
|
* * Make sure that the database instance that you want to manage is connected to DAS.
|
|
17977
19006
|
*
|
|
@@ -17982,113 +19011,6 @@ class Client extends openapi_client_1.default {
|
|
|
17982
19011
|
let runtime = new $Util.RuntimeOptions({});
|
|
17983
19012
|
return await this.setEventSubscriptionWithOptions(request, runtime);
|
|
17984
19013
|
}
|
|
17985
|
-
/**
|
|
17986
|
-
* Stops a stress testing task.
|
|
17987
|
-
*
|
|
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).
|
|
17990
|
-
*
|
|
17991
|
-
* @param request - StopCloudBenchTaskRequest
|
|
17992
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
17993
|
-
* @returns StopCloudBenchTaskResponse
|
|
17994
|
-
*/
|
|
17995
|
-
async stopCloudBenchTaskWithOptions(request, runtime) {
|
|
17996
|
-
tea_util_1.default.validateModel(request);
|
|
17997
|
-
let query = {};
|
|
17998
|
-
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
17999
|
-
query["TaskId"] = request.taskId;
|
|
18000
|
-
}
|
|
18001
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
18002
|
-
query: openapi_util_1.default.query(query),
|
|
18003
|
-
});
|
|
18004
|
-
let params = new $OpenApi.Params({
|
|
18005
|
-
action: "StopCloudBenchTask",
|
|
18006
|
-
version: "2020-01-16",
|
|
18007
|
-
protocol: "HTTPS",
|
|
18008
|
-
pathname: "/",
|
|
18009
|
-
method: "POST",
|
|
18010
|
-
authType: "AK",
|
|
18011
|
-
style: "RPC",
|
|
18012
|
-
reqBodyType: "formData",
|
|
18013
|
-
bodyType: "json",
|
|
18014
|
-
});
|
|
18015
|
-
return $tea.cast(await this.callApi(params, req, runtime), new StopCloudBenchTaskResponse({}));
|
|
18016
|
-
}
|
|
18017
|
-
/**
|
|
18018
|
-
* Stops a stress testing task.
|
|
18019
|
-
*
|
|
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).
|
|
18022
|
-
*
|
|
18023
|
-
* @param request - StopCloudBenchTaskRequest
|
|
18024
|
-
* @returns StopCloudBenchTaskResponse
|
|
18025
|
-
*/
|
|
18026
|
-
async stopCloudBenchTask(request) {
|
|
18027
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
18028
|
-
return await this.stopCloudBenchTaskWithOptions(request, runtime);
|
|
18029
|
-
}
|
|
18030
|
-
/**
|
|
18031
|
-
* @param request - SyncHDMAliyunResourceRequest
|
|
18032
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
18033
|
-
* @returns SyncHDMAliyunResourceResponse
|
|
18034
|
-
*/
|
|
18035
|
-
async syncHDMAliyunResourceWithOptions(request, runtime) {
|
|
18036
|
-
tea_util_1.default.validateModel(request);
|
|
18037
|
-
let query = {};
|
|
18038
|
-
if (!tea_util_1.default.isUnset(request.async)) {
|
|
18039
|
-
query["Async"] = request.async;
|
|
18040
|
-
}
|
|
18041
|
-
if (!tea_util_1.default.isUnset(request.resourceTypes)) {
|
|
18042
|
-
query["ResourceTypes"] = request.resourceTypes;
|
|
18043
|
-
}
|
|
18044
|
-
if (!tea_util_1.default.isUnset(request.uid)) {
|
|
18045
|
-
query["Uid"] = request.uid;
|
|
18046
|
-
}
|
|
18047
|
-
if (!tea_util_1.default.isUnset(request.userId)) {
|
|
18048
|
-
query["UserId"] = request.userId;
|
|
18049
|
-
}
|
|
18050
|
-
if (!tea_util_1.default.isUnset(request.waitForModifySecurityIps)) {
|
|
18051
|
-
query["WaitForModifySecurityIps"] = request.waitForModifySecurityIps;
|
|
18052
|
-
}
|
|
18053
|
-
if (!tea_util_1.default.isUnset(request.context)) {
|
|
18054
|
-
query["__context"] = request.context;
|
|
18055
|
-
}
|
|
18056
|
-
if (!tea_util_1.default.isUnset(request.accessKey)) {
|
|
18057
|
-
query["accessKey"] = request.accessKey;
|
|
18058
|
-
}
|
|
18059
|
-
if (!tea_util_1.default.isUnset(request.signature)) {
|
|
18060
|
-
query["signature"] = request.signature;
|
|
18061
|
-
}
|
|
18062
|
-
if (!tea_util_1.default.isUnset(request.skipAuth)) {
|
|
18063
|
-
query["skipAuth"] = request.skipAuth;
|
|
18064
|
-
}
|
|
18065
|
-
if (!tea_util_1.default.isUnset(request.timestamp)) {
|
|
18066
|
-
query["timestamp"] = request.timestamp;
|
|
18067
|
-
}
|
|
18068
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
18069
|
-
query: openapi_util_1.default.query(query),
|
|
18070
|
-
});
|
|
18071
|
-
let params = new $OpenApi.Params({
|
|
18072
|
-
action: "SyncHDMAliyunResource",
|
|
18073
|
-
version: "2020-01-16",
|
|
18074
|
-
protocol: "HTTPS",
|
|
18075
|
-
pathname: "/",
|
|
18076
|
-
method: "POST",
|
|
18077
|
-
authType: "AK",
|
|
18078
|
-
style: "RPC",
|
|
18079
|
-
reqBodyType: "formData",
|
|
18080
|
-
bodyType: "json",
|
|
18081
|
-
});
|
|
18082
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SyncHDMAliyunResourceResponse({}));
|
|
18083
|
-
}
|
|
18084
|
-
/**
|
|
18085
|
-
* @param request - SyncHDMAliyunResourceRequest
|
|
18086
|
-
* @returns SyncHDMAliyunResourceResponse
|
|
18087
|
-
*/
|
|
18088
|
-
async syncHDMAliyunResource(request) {
|
|
18089
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
18090
|
-
return await this.syncHDMAliyunResourceWithOptions(request, runtime);
|
|
18091
|
-
}
|
|
18092
19014
|
/**
|
|
18093
19015
|
* Asynchronously configures parameters related to the automatic fragment recycling feature for multiple database instances at a time.
|
|
18094
19016
|
*
|
|
@@ -18163,10 +19085,10 @@ class Client extends openapi_client_1.default {
|
|
|
18163
19085
|
* Before you call this operation, take note of the following items:
|
|
18164
19086
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18165
19087
|
* * 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.
|
|
18166
|
-
* * The autonomy service must be enabled for the database instance
|
|
19088
|
+
* * The autonomy service must be enabled for the database instance. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
18167
19089
|
* * This operation supports the following database engines:
|
|
18168
19090
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition
|
|
18169
|
-
* * PolarDB for MySQL Cluster Edition
|
|
19091
|
+
* * PolarDB for MySQL Cluster Edition
|
|
18170
19092
|
*
|
|
18171
19093
|
* @param request - UpdateAutoSqlOptimizeStatusRequest
|
|
18172
19094
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18204,10 +19126,10 @@ class Client extends openapi_client_1.default {
|
|
|
18204
19126
|
* Before you call this operation, take note of the following items:
|
|
18205
19127
|
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18206
19128
|
* * 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.
|
|
18207
|
-
* * The autonomy service must be enabled for the database instance
|
|
19129
|
+
* * The autonomy service must be enabled for the database instance. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
|
|
18208
19130
|
* * This operation supports the following database engines:
|
|
18209
19131
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition
|
|
18210
|
-
* * PolarDB for MySQL Cluster Edition
|
|
19132
|
+
* * PolarDB for MySQL Cluster Edition
|
|
18211
19133
|
*
|
|
18212
19134
|
* @param request - UpdateAutoSqlOptimizeStatusRequest
|
|
18213
19135
|
* @returns UpdateAutoSqlOptimizeStatusResponse
|
|
@@ -18220,13 +19142,13 @@ class Client extends openapi_client_1.default {
|
|
|
18220
19142
|
* Asynchronously configures parameters related to the automatic SQL throttling feature for multiple database instances at a time.
|
|
18221
19143
|
*
|
|
18222
19144
|
* @remarks
|
|
18223
|
-
* > Asynchronous calls do not immediately return the complete results.
|
|
19145
|
+
* > 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.
|
|
18224
19146
|
* Before you call this operation, take note of the following items:
|
|
18225
|
-
* * If you use an SDK to call
|
|
19147
|
+
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18226
19148
|
* * 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).
|
|
18227
19149
|
* * The database instance that you want to manage must be of one of the following types:
|
|
18228
19150
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
18229
|
-
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
19151
|
+
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
18230
19152
|
*
|
|
18231
19153
|
* @param request - UpdateAutoThrottleRulesAsyncRequest
|
|
18232
19154
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18288,13 +19210,13 @@ class Client extends openapi_client_1.default {
|
|
|
18288
19210
|
* Asynchronously configures parameters related to the automatic SQL throttling feature for multiple database instances at a time.
|
|
18289
19211
|
*
|
|
18290
19212
|
* @remarks
|
|
18291
|
-
* > Asynchronous calls do not immediately return the complete results.
|
|
19213
|
+
* > 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.
|
|
18292
19214
|
* Before you call this operation, take note of the following items:
|
|
18293
|
-
* * If you use an SDK to call
|
|
19215
|
+
* * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
18294
19216
|
* * 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).
|
|
18295
19217
|
* * The database instance that you want to manage must be of one of the following types:
|
|
18296
19218
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
18297
|
-
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
19219
|
+
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
18298
19220
|
*
|
|
18299
19221
|
* @param request - UpdateAutoThrottleRulesAsyncRequest
|
|
18300
19222
|
* @returns UpdateAutoThrottleRulesAsyncResponse
|