@alicloud/das20200116 1.2.1 → 2.0.1
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 +155 -60
- package/dist/client.js +172 -64
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +181 -62
package/dist/client.d.ts
CHANGED
|
@@ -5119,6 +5119,33 @@ export declare class DescribeCacheAnalysisJobResponseBodyDataBigKeysOfNum extend
|
|
|
5119
5119
|
[key: string]: any;
|
|
5120
5120
|
});
|
|
5121
5121
|
}
|
|
5122
|
+
export declare class DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCountExpiryLevel extends $tea.Model {
|
|
5123
|
+
analysisTs?: number;
|
|
5124
|
+
level?: number;
|
|
5125
|
+
totalBytes?: number;
|
|
5126
|
+
totalKeys?: number;
|
|
5127
|
+
static names(): {
|
|
5128
|
+
[key: string]: string;
|
|
5129
|
+
};
|
|
5130
|
+
static types(): {
|
|
5131
|
+
[key: string]: any;
|
|
5132
|
+
};
|
|
5133
|
+
constructor(map?: {
|
|
5134
|
+
[key: string]: any;
|
|
5135
|
+
});
|
|
5136
|
+
}
|
|
5137
|
+
export declare class DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCount extends $tea.Model {
|
|
5138
|
+
expiryLevel?: DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCountExpiryLevel[];
|
|
5139
|
+
static names(): {
|
|
5140
|
+
[key: string]: string;
|
|
5141
|
+
};
|
|
5142
|
+
static types(): {
|
|
5143
|
+
[key: string]: any;
|
|
5144
|
+
};
|
|
5145
|
+
constructor(map?: {
|
|
5146
|
+
[key: string]: any;
|
|
5147
|
+
});
|
|
5148
|
+
}
|
|
5122
5149
|
export declare class DescribeCacheAnalysisJobResponseBodyDataKeyPrefixesPrefix extends $tea.Model {
|
|
5123
5150
|
bytes?: number;
|
|
5124
5151
|
count?: number;
|
|
@@ -5212,6 +5239,7 @@ export declare class DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfNum ex
|
|
|
5212
5239
|
export declare class DescribeCacheAnalysisJobResponseBodyData extends $tea.Model {
|
|
5213
5240
|
bigKeys?: DescribeCacheAnalysisJobResponseBodyDataBigKeys;
|
|
5214
5241
|
bigKeysOfNum?: DescribeCacheAnalysisJobResponseBodyDataBigKeysOfNum;
|
|
5242
|
+
expiryKeysLevelCount?: DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCount;
|
|
5215
5243
|
instanceId?: string;
|
|
5216
5244
|
jobId?: string;
|
|
5217
5245
|
keyPrefixes?: DescribeCacheAnalysisJobResponseBodyDataKeyPrefixes;
|
|
@@ -5636,7 +5664,7 @@ export declare class DescribeSqlLogRecordsResponseBodyDataItemsSQLLogRecord exte
|
|
|
5636
5664
|
state?: string;
|
|
5637
5665
|
threadId?: number;
|
|
5638
5666
|
traceId?: string;
|
|
5639
|
-
trxId?:
|
|
5667
|
+
trxId?: string;
|
|
5640
5668
|
updateRows?: number;
|
|
5641
5669
|
useImciEngine?: string;
|
|
5642
5670
|
vip?: string;
|
|
@@ -5712,6 +5740,7 @@ export declare class DescribeSqlLogTaskResponseBodyDataFilters extends $tea.Mode
|
|
|
5712
5740
|
}
|
|
5713
5741
|
export declare class DescribeSqlLogTaskResponseBodyDataQueries extends $tea.Model {
|
|
5714
5742
|
accountName?: string;
|
|
5743
|
+
collection?: string;
|
|
5715
5744
|
consume?: number;
|
|
5716
5745
|
cpuTime?: number;
|
|
5717
5746
|
DBName?: string;
|
|
@@ -5738,7 +5767,7 @@ export declare class DescribeSqlLogTaskResponseBodyDataQueries extends $tea.Mode
|
|
|
5738
5767
|
state?: string;
|
|
5739
5768
|
threadId?: number;
|
|
5740
5769
|
traceId?: string;
|
|
5741
|
-
trxId?:
|
|
5770
|
+
trxId?: string;
|
|
5742
5771
|
updateRows?: number;
|
|
5743
5772
|
useImciEngine?: string;
|
|
5744
5773
|
vip?: string;
|
|
@@ -8430,7 +8459,12 @@ export default class Client extends OpenApi {
|
|
|
8430
8459
|
*/
|
|
8431
8460
|
createRequestDiagnosis(request: CreateRequestDiagnosisRequest): Promise<CreateRequestDiagnosisResponse>;
|
|
8432
8461
|
/**
|
|
8433
|
-
* @summary Creates an
|
|
8462
|
+
* @summary Creates an offline task for Database Autonomy Service (DAS) Enterprise Edition.
|
|
8463
|
+
*
|
|
8464
|
+
* @description Before you call this operation, take note of the following items:
|
|
8465
|
+
* * 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.
|
|
8466
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8467
|
+
* * You can create an offline task only for database instances for which DAS Enterprise Edition V2 or V3 is enabled. For more information about the databases and regions that are supported by various versions of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
8434
8468
|
*
|
|
8435
8469
|
* @param request CreateSqlLogTaskRequest
|
|
8436
8470
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8438,7 +8472,12 @@ export default class Client extends OpenApi {
|
|
|
8438
8472
|
*/
|
|
8439
8473
|
createSqlLogTaskWithOptions(request: CreateSqlLogTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateSqlLogTaskResponse>;
|
|
8440
8474
|
/**
|
|
8441
|
-
* @summary Creates an
|
|
8475
|
+
* @summary Creates an offline task for Database Autonomy Service (DAS) Enterprise Edition.
|
|
8476
|
+
*
|
|
8477
|
+
* @description Before you call this operation, take note of the following items:
|
|
8478
|
+
* * 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.
|
|
8479
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8480
|
+
* * You can create an offline task only for database instances for which DAS Enterprise Edition V2 or V3 is enabled. For more information about the databases and regions that are supported by various versions of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
8442
8481
|
*
|
|
8443
8482
|
* @param request CreateSqlLogTaskRequest
|
|
8444
8483
|
* @return CreateSqlLogTaskResponse
|
|
@@ -8447,9 +8486,10 @@ export default class Client extends OpenApi {
|
|
|
8447
8486
|
/**
|
|
8448
8487
|
* @summary Creates a storage analysis task to query the usage details of one or more databases and tables.
|
|
8449
8488
|
*
|
|
8450
|
-
* @description * This operation is applicable only to ApsaraDB RDS for MySQL instances
|
|
8451
|
-
* *
|
|
8452
|
-
* * If you use an SDK to call
|
|
8489
|
+
* @description * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and ApsaraDB for MongoDB instances.
|
|
8490
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this operation works the same as the storage analysis feature of the previous version. Tasks generated by this operation cannot be viewed on the Storage Analysis page of the new version in the Database Autonomy Service (DAS) console. If you want to view the tasks and results, call the related API operation to obtain data and save data to your computer.
|
|
8491
|
+
* * 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.
|
|
8492
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8453
8493
|
*
|
|
8454
8494
|
* @param request CreateStorageAnalysisTaskRequest
|
|
8455
8495
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8459,9 +8499,10 @@ export default class Client extends OpenApi {
|
|
|
8459
8499
|
/**
|
|
8460
8500
|
* @summary Creates a storage analysis task to query the usage details of one or more databases and tables.
|
|
8461
8501
|
*
|
|
8462
|
-
* @description * This operation is applicable only to ApsaraDB RDS for MySQL instances
|
|
8463
|
-
* *
|
|
8464
|
-
* * If you use an SDK to call
|
|
8502
|
+
* @description * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and ApsaraDB for MongoDB instances.
|
|
8503
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this operation works the same as the storage analysis feature of the previous version. Tasks generated by this operation cannot be viewed on the Storage Analysis page of the new version in the Database Autonomy Service (DAS) console. If you want to view the tasks and results, call the related API operation to obtain data and save data to your computer.
|
|
8504
|
+
* * 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.
|
|
8505
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8465
8506
|
*
|
|
8466
8507
|
* @param request CreateStorageAnalysisTaskRequest
|
|
8467
8508
|
* @return CreateStorageAnalysisTaskResponse
|
|
@@ -8783,7 +8824,11 @@ export default class Client extends OpenApi {
|
|
|
8783
8824
|
*/
|
|
8784
8825
|
describeInstanceDasPro(request: DescribeInstanceDasProRequest): Promise<DescribeInstanceDasProResponse>;
|
|
8785
8826
|
/**
|
|
8786
|
-
* @summary Queries the configurations of
|
|
8827
|
+
* @summary Queries the configurations of Database Autonomy Service (DAS) Enterprise Edition that is enabled for a database instance.
|
|
8828
|
+
*
|
|
8829
|
+
* @description Before you call this operation, take note of the following items:
|
|
8830
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
8831
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8787
8832
|
*
|
|
8788
8833
|
* @param request DescribeSqlLogConfigRequest
|
|
8789
8834
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8791,14 +8836,22 @@ export default class Client extends OpenApi {
|
|
|
8791
8836
|
*/
|
|
8792
8837
|
describeSqlLogConfigWithOptions(request: DescribeSqlLogConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSqlLogConfigResponse>;
|
|
8793
8838
|
/**
|
|
8794
|
-
* @summary Queries the configurations of
|
|
8839
|
+
* @summary Queries the configurations of Database Autonomy Service (DAS) Enterprise Edition that is enabled for a database instance.
|
|
8840
|
+
*
|
|
8841
|
+
* @description Before you call this operation, take note of the following items:
|
|
8842
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
8843
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8795
8844
|
*
|
|
8796
8845
|
* @param request DescribeSqlLogConfigRequest
|
|
8797
8846
|
* @return DescribeSqlLogConfigResponse
|
|
8798
8847
|
*/
|
|
8799
8848
|
describeSqlLogConfig(request: DescribeSqlLogConfigRequest): Promise<DescribeSqlLogConfigResponse>;
|
|
8800
8849
|
/**
|
|
8801
|
-
* @summary
|
|
8850
|
+
* @summary Queries the log details of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
|
|
8851
|
+
*
|
|
8852
|
+
* @description Before you call this operation, take note of the following items:
|
|
8853
|
+
* * 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.
|
|
8854
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8802
8855
|
*
|
|
8803
8856
|
* @param request DescribeSqlLogRecordsRequest
|
|
8804
8857
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8806,14 +8859,22 @@ export default class Client extends OpenApi {
|
|
|
8806
8859
|
*/
|
|
8807
8860
|
describeSqlLogRecordsWithOptions(request: DescribeSqlLogRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSqlLogRecordsResponse>;
|
|
8808
8861
|
/**
|
|
8809
|
-
* @summary
|
|
8862
|
+
* @summary Queries the log details of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
|
|
8863
|
+
*
|
|
8864
|
+
* @description Before you call this operation, take note of the following items:
|
|
8865
|
+
* * 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.
|
|
8866
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8810
8867
|
*
|
|
8811
8868
|
* @param request DescribeSqlLogRecordsRequest
|
|
8812
8869
|
* @return DescribeSqlLogRecordsResponse
|
|
8813
8870
|
*/
|
|
8814
8871
|
describeSqlLogRecords(request: DescribeSqlLogRecordsRequest): Promise<DescribeSqlLogRecordsResponse>;
|
|
8815
8872
|
/**
|
|
8816
|
-
* @summary
|
|
8873
|
+
* @summary Queries the statistics of Database Autonomy Service (DAS) Enterprise Edition.
|
|
8874
|
+
*
|
|
8875
|
+
* @description Before you call this operation, take note of the following items:
|
|
8876
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
8877
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8817
8878
|
*
|
|
8818
8879
|
* @param request DescribeSqlLogStatisticRequest
|
|
8819
8880
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8821,14 +8882,22 @@ export default class Client extends OpenApi {
|
|
|
8821
8882
|
*/
|
|
8822
8883
|
describeSqlLogStatisticWithOptions(request: DescribeSqlLogStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSqlLogStatisticResponse>;
|
|
8823
8884
|
/**
|
|
8824
|
-
* @summary
|
|
8885
|
+
* @summary Queries the statistics of Database Autonomy Service (DAS) Enterprise Edition.
|
|
8886
|
+
*
|
|
8887
|
+
* @description Before you call this operation, take note of the following items:
|
|
8888
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
8889
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8825
8890
|
*
|
|
8826
8891
|
* @param request DescribeSqlLogStatisticRequest
|
|
8827
8892
|
* @return DescribeSqlLogStatisticResponse
|
|
8828
8893
|
*/
|
|
8829
8894
|
describeSqlLogStatistic(request: DescribeSqlLogStatisticRequest): Promise<DescribeSqlLogStatisticResponse>;
|
|
8830
8895
|
/**
|
|
8831
|
-
* @summary
|
|
8896
|
+
* @summary Queries the details of an offline task in Database Autonomy Service (DAS) Enterprise Edition.
|
|
8897
|
+
*
|
|
8898
|
+
* @description Before you call this operation, take note of the following items:
|
|
8899
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
8900
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
8832
8901
|
*
|
|
8833
8902
|
* @param request DescribeSqlLogTaskRequest
|
|
8834
8903
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8836,14 +8905,22 @@ export default class Client extends OpenApi {
|
|
|
8836
8905
|
*/
|
|
8837
8906
|
describeSqlLogTaskWithOptions(request: DescribeSqlLogTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSqlLogTaskResponse>;
|
|
8838
8907
|
/**
|
|
8839
|
-
* @summary
|
|
8908
|
+
* @summary Queries the details of an offline task in Database Autonomy Service (DAS) Enterprise Edition.
|
|
8909
|
+
*
|
|
8910
|
+
* @description Before you call this operation, take note of the following items:
|
|
8911
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
8912
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
8840
8913
|
*
|
|
8841
8914
|
* @param request DescribeSqlLogTaskRequest
|
|
8842
8915
|
* @return DescribeSqlLogTaskResponse
|
|
8843
8916
|
*/
|
|
8844
8917
|
describeSqlLogTask(request: DescribeSqlLogTaskRequest): Promise<DescribeSqlLogTaskResponse>;
|
|
8845
8918
|
/**
|
|
8846
|
-
* @summary Queries the SQL Explorer and Audit tasks.
|
|
8919
|
+
* @summary Queries the SQL Explorer and Audit tasks of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
|
|
8920
|
+
*
|
|
8921
|
+
* @description Before you call this operation, take note of the following items:
|
|
8922
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
8923
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8847
8924
|
*
|
|
8848
8925
|
* @param request DescribeSqlLogTasksRequest
|
|
8849
8926
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8851,7 +8928,11 @@ export default class Client extends OpenApi {
|
|
|
8851
8928
|
*/
|
|
8852
8929
|
describeSqlLogTasksWithOptions(request: DescribeSqlLogTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSqlLogTasksResponse>;
|
|
8853
8930
|
/**
|
|
8854
|
-
* @summary Queries the SQL Explorer and Audit tasks.
|
|
8931
|
+
* @summary Queries the SQL Explorer and Audit tasks of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
|
|
8932
|
+
*
|
|
8933
|
+
* @description Before you call this operation, take note of the following items:
|
|
8934
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
8935
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
8855
8936
|
*
|
|
8856
8937
|
* @param request DescribeSqlLogTasksRequest
|
|
8857
8938
|
* @return DescribeSqlLogTasksResponse
|
|
@@ -9056,11 +9137,11 @@ export default class Client extends OpenApi {
|
|
|
9056
9137
|
*/
|
|
9057
9138
|
disableSqlConcurrencyControl(request: DisableSqlConcurrencyControlRequest): Promise<DisableSqlConcurrencyControlResponse>;
|
|
9058
9139
|
/**
|
|
9059
|
-
* @summary Enables Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
9140
|
+
* @summary Enables Database Autonomy Service (DAS) Enterprise Edition V1 for a database instance.
|
|
9060
9141
|
*
|
|
9061
|
-
* @description *
|
|
9062
|
-
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
9142
|
+
* @description * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
9063
9143
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
9144
|
+
* > If your database instance supports DAS Enterprise Edition V3, you cannot call this operation to enable DAS Enterprise Edition V1. You can call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable DAS Enterprise Edition V3 for your database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
9064
9145
|
*
|
|
9065
9146
|
* @param request EnableDasProRequest
|
|
9066
9147
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9068,11 +9149,11 @@ export default class Client extends OpenApi {
|
|
|
9068
9149
|
*/
|
|
9069
9150
|
enableDasProWithOptions(request: EnableDasProRequest, runtime: $Util.RuntimeOptions): Promise<EnableDasProResponse>;
|
|
9070
9151
|
/**
|
|
9071
|
-
* @summary Enables Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
9152
|
+
* @summary Enables Database Autonomy Service (DAS) Enterprise Edition V1 for a database instance.
|
|
9072
9153
|
*
|
|
9073
|
-
* @description *
|
|
9074
|
-
* * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
|
|
9154
|
+
* @description * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
9075
9155
|
* * This operation is applicable only to DAS Enterprise Edition V1.
|
|
9156
|
+
* > If your database instance supports DAS Enterprise Edition V3, you cannot call this operation to enable DAS Enterprise Edition V1. You can call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable DAS Enterprise Edition V3 for your database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
9076
9157
|
*
|
|
9077
9158
|
* @param request EnableDasProRequest
|
|
9078
9159
|
* @return EnableDasProResponse
|
|
@@ -9373,14 +9454,13 @@ export default class Client extends OpenApi {
|
|
|
9373
9454
|
*/
|
|
9374
9455
|
getDasProServiceUsage(request: GetDasProServiceUsageRequest): Promise<GetDasProServiceUsageResponse>;
|
|
9375
9456
|
/**
|
|
9376
|
-
* @summary Queries the details of the hot storage data that
|
|
9457
|
+
* @summary Queries the details of the hot storage data that Database Autonomy Service (DAS) Enterprise Edition V2 or V3 generated for a database instance within the previous seven days.
|
|
9377
9458
|
*
|
|
9378
9459
|
* @description Before you call this operation, take note of the following items:
|
|
9379
|
-
* * If you use Alibaba Cloud SDK or
|
|
9380
|
-
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
9381
|
-
* *
|
|
9382
|
-
*
|
|
9383
|
-
* > You can query only the data that is generated after the new SQL Explorer and Audit feature is enabled. The start time can be up to seven days earlier than the current time. The interval between the start time and the end time cannot exceed 24 hours.
|
|
9460
|
+
* * 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.
|
|
9461
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
9462
|
+
* * The database instance that you want to manage must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster in the China (Shanghai) region.
|
|
9463
|
+
* > You can query only the data generated after DAS Enterprise Edition V2 or V3 was enabled. The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the beginning and the end of the time range to query cannot exceed 24 hours.
|
|
9384
9464
|
*
|
|
9385
9465
|
* @param request GetDasSQLLogHotDataRequest
|
|
9386
9466
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9388,14 +9468,13 @@ export default class Client extends OpenApi {
|
|
|
9388
9468
|
*/
|
|
9389
9469
|
getDasSQLLogHotDataWithOptions(request: GetDasSQLLogHotDataRequest, runtime: $Util.RuntimeOptions): Promise<GetDasSQLLogHotDataResponse>;
|
|
9390
9470
|
/**
|
|
9391
|
-
* @summary Queries the details of the hot storage data that
|
|
9471
|
+
* @summary Queries the details of the hot storage data that Database Autonomy Service (DAS) Enterprise Edition V2 or V3 generated for a database instance within the previous seven days.
|
|
9392
9472
|
*
|
|
9393
9473
|
* @description Before you call this operation, take note of the following items:
|
|
9394
|
-
* * If you use Alibaba Cloud SDK or
|
|
9395
|
-
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
9396
|
-
* *
|
|
9397
|
-
*
|
|
9398
|
-
* > You can query only the data that is generated after the new SQL Explorer and Audit feature is enabled. The start time can be up to seven days earlier than the current time. The interval between the start time and the end time cannot exceed 24 hours.
|
|
9474
|
+
* * 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.
|
|
9475
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
9476
|
+
* * The database instance that you want to manage must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster in the China (Shanghai) region.
|
|
9477
|
+
* > You can query only the data generated after DAS Enterprise Edition V2 or V3 was enabled. The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the beginning and the end of the time range to query cannot exceed 24 hours.
|
|
9399
9478
|
*
|
|
9400
9479
|
* @param request GetDasSQLLogHotDataRequest
|
|
9401
9480
|
* @return GetDasSQLLogHotDataResponse
|
|
@@ -9702,10 +9781,10 @@ export default class Client extends OpenApi {
|
|
|
9702
9781
|
/**
|
|
9703
9782
|
* @summary Asynchronously queries the sessions of an instance and collects statistics on the sessions based on dimensions.
|
|
9704
9783
|
*
|
|
9705
|
-
* @description >
|
|
9706
|
-
* * This operation is applicable only to ApsaraDB RDS for MySQL, PolarDB for MySQL, and PolarDB-X 2.0 instances.
|
|
9784
|
+
* @description > GetMySQLAllSessionAsync is an asynchronous operation. After a request is sent, the system does not return complete results but returns a request ID. You need to use the request ID to initiate requests until the value of the **isFinish** field in the returned results is **true**, the complete results are returned. This indicates that to obtain complete data, you must call this operation at least twice.
|
|
9785
|
+
* * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and PolarDB-X 2.0 instances.
|
|
9707
9786
|
* * 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.
|
|
9708
|
-
* * If you use an SDK to call
|
|
9787
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
9709
9788
|
*
|
|
9710
9789
|
* @param request GetMySQLAllSessionAsyncRequest
|
|
9711
9790
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9715,10 +9794,10 @@ export default class Client extends OpenApi {
|
|
|
9715
9794
|
/**
|
|
9716
9795
|
* @summary Asynchronously queries the sessions of an instance and collects statistics on the sessions based on dimensions.
|
|
9717
9796
|
*
|
|
9718
|
-
* @description >
|
|
9719
|
-
* * This operation is applicable only to ApsaraDB RDS for MySQL, PolarDB for MySQL, and PolarDB-X 2.0 instances.
|
|
9797
|
+
* @description > GetMySQLAllSessionAsync is an asynchronous operation. After a request is sent, the system does not return complete results but returns a request ID. You need to use the request ID to initiate requests until the value of the **isFinish** field in the returned results is **true**, the complete results are returned. This indicates that to obtain complete data, you must call this operation at least twice.
|
|
9798
|
+
* * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and PolarDB-X 2.0 instances.
|
|
9720
9799
|
* * 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.
|
|
9721
|
-
* * If you use an SDK to call
|
|
9800
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
9722
9801
|
*
|
|
9723
9802
|
* @param request GetMySQLAllSessionAsyncRequest
|
|
9724
9803
|
* @return GetMySQLAllSessionAsyncResponse
|
|
@@ -10293,8 +10372,11 @@ export default class Client extends OpenApi {
|
|
|
10293
10372
|
/**
|
|
10294
10373
|
* @summary Queries the status and results of a storage analysis task.
|
|
10295
10374
|
*
|
|
10296
|
-
* @description
|
|
10297
|
-
* *
|
|
10375
|
+
* @description > The physical file size indicates the actual size of an obtained file. Only specific deployment modes of database instances support the display of physical file sizes. The statistics on tables are obtained from `information_schema.tables`. Statistics in MySQL are not updated in real time. Therefore, the statistics may be different from the physical file sizes. If you want to obtain the latest data, you can execute the `ANALYZE TABLE` statement on the relevant tables during off-peak hours.
|
|
10376
|
+
* * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and ApsaraDB for MongoDB instances.
|
|
10377
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this operation works the same as the storage analysis feature of the previous version. Tasks generated by this operation cannot be viewed on the Storage Analysis page of the new version in the Database Autonomy Service (DAS) console. If you want to view the tasks and results, call the related API operation to obtain data and save data to your computer.
|
|
10378
|
+
* * 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.
|
|
10379
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
10298
10380
|
*
|
|
10299
10381
|
* @param request GetStorageAnalysisResultRequest
|
|
10300
10382
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -10304,8 +10386,11 @@ export default class Client extends OpenApi {
|
|
|
10304
10386
|
/**
|
|
10305
10387
|
* @summary Queries the status and results of a storage analysis task.
|
|
10306
10388
|
*
|
|
10307
|
-
* @description
|
|
10308
|
-
* *
|
|
10389
|
+
* @description > The physical file size indicates the actual size of an obtained file. Only specific deployment modes of database instances support the display of physical file sizes. The statistics on tables are obtained from `information_schema.tables`. Statistics in MySQL are not updated in real time. Therefore, the statistics may be different from the physical file sizes. If you want to obtain the latest data, you can execute the `ANALYZE TABLE` statement on the relevant tables during off-peak hours.
|
|
10390
|
+
* * This operation is applicable only to ApsaraDB RDS for MySQL instances, PolarDB for MySQL clusters, and ApsaraDB for MongoDB instances.
|
|
10391
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this operation works the same as the storage analysis feature of the previous version. Tasks generated by this operation cannot be viewed on the Storage Analysis page of the new version in the Database Autonomy Service (DAS) console. If you want to view the tasks and results, call the related API operation to obtain data and save data to your computer.
|
|
10392
|
+
* * 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.
|
|
10393
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
10309
10394
|
*
|
|
10310
10395
|
* @param request GetStorageAnalysisResultRequest
|
|
10311
10396
|
* @return GetStorageAnalysisResultResponse
|
|
@@ -10380,6 +10465,11 @@ export default class Client extends OpenApi {
|
|
|
10380
10465
|
/**
|
|
10381
10466
|
* @summary Enables or configures Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
10382
10467
|
*
|
|
10468
|
+
* @description Before you call this operation, take note of the following items:
|
|
10469
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
10470
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
10471
|
+
* * By default, the latest version of DAS Enterprise Edition that supports the database instance is enabled. For information about the databases and regions that are supported by different versions of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
10472
|
+
*
|
|
10383
10473
|
* @param request ModifySqlLogConfigRequest
|
|
10384
10474
|
* @param runtime runtime options for this request RuntimeOptions
|
|
10385
10475
|
* @return ModifySqlLogConfigResponse
|
|
@@ -10388,6 +10478,11 @@ export default class Client extends OpenApi {
|
|
|
10388
10478
|
/**
|
|
10389
10479
|
* @summary Enables or configures Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
10390
10480
|
*
|
|
10481
|
+
* @description Before you call this operation, take note of the following items:
|
|
10482
|
+
* * If you use an Alibaba Cloud SDK or a DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
10483
|
+
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
10484
|
+
* * By default, the latest version of DAS Enterprise Edition that supports the database instance is enabled. For information about the databases and regions that are supported by different versions of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
|
|
10485
|
+
*
|
|
10391
10486
|
* @param request ModifySqlLogConfigRequest
|
|
10392
10487
|
* @return ModifySqlLogConfigResponse
|
|
10393
10488
|
*/
|
|
@@ -10415,9 +10510,9 @@ export default class Client extends OpenApi {
|
|
|
10415
10510
|
* @summary Configures the event subscription settings for a database instance.
|
|
10416
10511
|
*
|
|
10417
10512
|
* @description Before you call this operation, take note of the following items:
|
|
10418
|
-
* * If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
10419
|
-
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
10420
|
-
* *
|
|
10513
|
+
* * 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.
|
|
10514
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
10515
|
+
* * Make sure that the database instance that you want to manage is connected to DAS.
|
|
10421
10516
|
*
|
|
10422
10517
|
* @param request SetEventSubscriptionRequest
|
|
10423
10518
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -10428,9 +10523,9 @@ export default class Client extends OpenApi {
|
|
|
10428
10523
|
* @summary Configures the event subscription settings for a database instance.
|
|
10429
10524
|
*
|
|
10430
10525
|
* @description Before you call this operation, take note of the following items:
|
|
10431
|
-
* * If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
|
|
10432
|
-
* * If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
|
|
10433
|
-
* *
|
|
10526
|
+
* * 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.
|
|
10527
|
+
* * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
|
|
10528
|
+
* * Make sure that the database instance that you want to manage is connected to DAS.
|
|
10434
10529
|
*
|
|
10435
10530
|
* @param request SetEventSubscriptionRequest
|
|
10436
10531
|
* @return SetEventSubscriptionResponse
|
|
@@ -10469,7 +10564,7 @@ export default class Client extends OpenApi {
|
|
|
10469
10564
|
/**
|
|
10470
10565
|
* @summary Asynchronously configures parameters related to the automatic fragment recycling feature for multiple database instances at a time.
|
|
10471
10566
|
*
|
|
10472
|
-
* @description >
|
|
10567
|
+
* @description > 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.
|
|
10473
10568
|
* Before you call this operation, take note of the following items:
|
|
10474
10569
|
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
10475
10570
|
* * The database instances must be an ApsaraDB RDS for MySQL High-availability Edition instance.
|
|
@@ -10484,7 +10579,7 @@ export default class Client extends OpenApi {
|
|
|
10484
10579
|
/**
|
|
10485
10580
|
* @summary Asynchronously configures parameters related to the automatic fragment recycling feature for multiple database instances at a time.
|
|
10486
10581
|
*
|
|
10487
|
-
* @description >
|
|
10582
|
+
* @description > 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.
|
|
10488
10583
|
* Before you call this operation, take note of the following items:
|
|
10489
10584
|
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
10490
10585
|
* * The database instances must be an ApsaraDB RDS for MySQL High-availability Edition instance.
|
|
@@ -10529,13 +10624,13 @@ export default class Client extends OpenApi {
|
|
|
10529
10624
|
/**
|
|
10530
10625
|
* @summary Asynchronously configures parameters related to the automatic SQL throttling feature for multiple database instances at a time.
|
|
10531
10626
|
*
|
|
10532
|
-
* @description >
|
|
10627
|
+
* @description > Asynchronous calls do not immediately return the complete results. You must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.
|
|
10533
10628
|
* Before you call this operation, take note of the following items:
|
|
10534
10629
|
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
10535
10630
|
* * 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).
|
|
10536
10631
|
* * The database instance that you want to manage must be of one of the following types:
|
|
10537
10632
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
10538
|
-
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0,
|
|
10633
|
+
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition that runs MySQL 8.0
|
|
10539
10634
|
*
|
|
10540
10635
|
* @param request UpdateAutoThrottleRulesAsyncRequest
|
|
10541
10636
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -10545,13 +10640,13 @@ export default class Client extends OpenApi {
|
|
|
10545
10640
|
/**
|
|
10546
10641
|
* @summary Asynchronously configures parameters related to the automatic SQL throttling feature for multiple database instances at a time.
|
|
10547
10642
|
*
|
|
10548
|
-
* @description >
|
|
10643
|
+
* @description > Asynchronous calls do not immediately return the complete results. You must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.
|
|
10549
10644
|
* Before you call this operation, take note of the following items:
|
|
10550
10645
|
* * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
|
|
10551
10646
|
* * 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).
|
|
10552
10647
|
* * The database instance that you want to manage must be of one of the following types:
|
|
10553
10648
|
* * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
|
|
10554
|
-
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0,
|
|
10649
|
+
* * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition that runs MySQL 8.0
|
|
10555
10650
|
*
|
|
10556
10651
|
* @param request UpdateAutoThrottleRulesAsyncRequest
|
|
10557
10652
|
* @return UpdateAutoThrottleRulesAsyncResponse
|