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)
获取实例异常诊断事件的详情信息。
|
DescribeDBDiagHistoryResponse |
DescribeDBDiagHistory(DescribeDBDiagHistoryRequest req)
获取实例诊断事件的列表。
|
DescribeDBSpaceStatusResponse |
DescribeDBSpaceStatus(DescribeDBSpaceStatusRequest req)
获取指定时间段内的实例空间使用概览,包括磁盘增长量(MB)、磁盘剩余(MB)、磁盘总量(MB)及预计可用天数。
|
DescribeSlowLogTimeSeriesStatsResponse |
DescribeSlowLogTimeSeriesStats(DescribeSlowLogTimeSeriesStatsRequest req)
获取慢日志统计柱状图
|
DescribeSlowLogTopSqlsResponse |
DescribeSlowLogTopSqls(DescribeSlowLogTopSqlsRequest req)
按照Sql模板+schema的聚合方式,统计排序指定时间段内的top慢sql。
|
DescribeTopSpaceTablesResponse |
DescribeTopSpaceTables(DescribeTopSpaceTablesRequest req)
获取实例Top表的实时空间统计信息,默认返回按大小排序。
|
DescribeTopSpaceTableTimeSeriesResponse |
DescribeTopSpaceTableTimeSeries(DescribeTopSpaceTableTimeSeriesRequest req)
获取实例占用空间最大的前几张表在指定时间段内的每日由DBbrain定时采集的空间数据,默认返回按大小排序。
|
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 DescribeDBSpaceStatusResponse DescribeDBSpaceStatus(DescribeDBSpaceStatusRequest req) throws TencentCloudSDKException
req
- DescribeDBSpaceStatusRequestTencentCloudSDKException
public DescribeSlowLogTimeSeriesStatsResponse DescribeSlowLogTimeSeriesStats(DescribeSlowLogTimeSeriesStatsRequest req) throws TencentCloudSDKException
req
- DescribeSlowLogTimeSeriesStatsRequestTencentCloudSDKException
public DescribeSlowLogTopSqlsResponse DescribeSlowLogTopSqls(DescribeSlowLogTopSqlsRequest req) throws TencentCloudSDKException
req
- DescribeSlowLogTopSqlsRequestTencentCloudSDKException
public DescribeTopSpaceTableTimeSeriesResponse DescribeTopSpaceTableTimeSeries(DescribeTopSpaceTableTimeSeriesRequest req) throws TencentCloudSDKException
req
- DescribeTopSpaceTableTimeSeriesRequestTencentCloudSDKException
public DescribeTopSpaceTablesResponse DescribeTopSpaceTables(DescribeTopSpaceTablesRequest req) throws TencentCloudSDKException
req
- DescribeTopSpaceTablesRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.