public class DbbrainClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
DbbrainClient(Credential credential,
String region) |
DbbrainClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
DescribeDBDiagEventResponse |
DescribeDBDiagEvent(DescribeDBDiagEventRequest req)
This API is used to get the details of an instance exception diagnosis event.
|
DescribeDBDiagHistoryResponse |
DescribeDBDiagHistory(DescribeDBDiagHistoryRequest req)
This API is used to get the list of instance diagnosis events.
|
DescribeSlowLogTimeSeriesStatsResponse |
DescribeSlowLogTimeSeriesStats(DescribeSlowLogTimeSeriesStatsRequest req)
This API is used to get the slow log statistics histogram.
|
DescribeSlowLogTopSqlsResponse |
DescribeSlowLogTopSqls(DescribeSlowLogTopSqlsRequest req)
This API is used to get and sort the top slow SQL statements in a specified time period by the aggregation mode of SQL template plus schema.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public DbbrainClient(Credential credential, String region)
public DbbrainClient(Credential credential, String region, ClientProfile profile)
public DescribeDBDiagEventResponse DescribeDBDiagEvent(DescribeDBDiagEventRequest req) throws TencentCloudSDKException
req
- DescribeDBDiagEventRequestTencentCloudSDKException
public DescribeDBDiagHistoryResponse DescribeDBDiagHistory(DescribeDBDiagHistoryRequest req) throws TencentCloudSDKException
req
- DescribeDBDiagHistoryRequestTencentCloudSDKException
public DescribeSlowLogTimeSeriesStatsResponse DescribeSlowLogTimeSeriesStats(DescribeSlowLogTimeSeriesStatsRequest req) throws TencentCloudSDKException
req
- DescribeSlowLogTimeSeriesStatsRequestTencentCloudSDKException
public DescribeSlowLogTopSqlsResponse DescribeSlowLogTopSqls(DescribeSlowLogTopSqlsRequest req) throws TencentCloudSDKException
req
- DescribeSlowLogTopSqlsRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.