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 | 
|---|---|
AddUserContactResponse | 
AddUserContact(AddUserContactRequest req)
This API is used to add the contact name and email.. 
 | 
CreateDBDiagReportTaskResponse | 
CreateDBDiagReportTask(CreateDBDiagReportTaskRequest req)
This API is used to create a health report and send it via email as configured. 
 | 
CreateDBDiagReportUrlResponse | 
CreateDBDiagReportUrl(CreateDBDiagReportUrlRequest req)
This API is used to create a URL for a health report. 
 | 
CreateMailProfileResponse | 
CreateMailProfile(CreateMailProfileRequest req)
This API is used to create the email configuration. 
 | 
CreateSchedulerMailProfileResponse | 
CreateSchedulerMailProfile(CreateSchedulerMailProfileRequest req)
This API is used to create the regular generation time of the health reports and the regular email sending configuration. 
 | 
DescribeAllUserContactResponse | 
DescribeAllUserContact(DescribeAllUserContactRequest req)
This API is used to obtain the information of the contact in the email. 
 | 
DescribeAllUserGroupResponse | 
DescribeAllUserGroup(DescribeAllUserGroupRequest req)
This API is used to obtain the information of the contact group in the email. 
 | 
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. 
 | 
DescribeDBDiagReportTasksResponse | 
DescribeDBDiagReportTasks(DescribeDBDiagReportTasksRequest req)
This API is used to query the list of health report generation tasks. 
 | 
DescribeDBSpaceStatusResponse | 
DescribeDBSpaceStatus(DescribeDBSpaceStatusRequest req)
This API is used to query the overview of instance space usage during a specified time period, including disk usage growth (MB), available disk space (MB), total disk space (MB), and estimated number of available days. 
 | 
DescribeDiagDBInstancesResponse | 
DescribeDiagDBInstances(DescribeDiagDBInstancesRequest req)
This API is used to obtain the instance information list. 
 | 
DescribeHealthScoreResponse | 
DescribeHealthScore(DescribeHealthScoreRequest req)
This API is used to obtain the health score and deduction for exceptions in the specified time period (30 minutes) based on the instance ID. 
 | 
DescribeMailProfileResponse | 
DescribeMailProfile(DescribeMailProfileRequest req)
This API is used to obtain the email sending configurations, including the email configuration for database inspection and the email sending configuration for regularly generated health reports. 
 | 
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. 
 | 
DescribeSlowLogUserHostStatsResponse | 
DescribeSlowLogUserHostStats(DescribeSlowLogUserHostStatsRequest req)
This API is used to obtain the statistical distribution chart of slow log source addresses. 
 | 
DescribeTopSpaceSchemasResponse | 
DescribeTopSpaceSchemas(DescribeTopSpaceSchemasRequest req)
This API is used to query real-time space statistics of top databases. 
 | 
DescribeTopSpaceSchemaTimeSeriesResponse | 
DescribeTopSpaceSchemaTimeSeries(DescribeTopSpaceSchemaTimeSeriesRequest req)
This API is used to query the daily space data of top databases consuming the most instance space. 
 | 
DescribeTopSpaceTablesResponse | 
DescribeTopSpaceTables(DescribeTopSpaceTablesRequest req)
This API is used to query real-time space statistics of top tables of an instance. 
 | 
DescribeTopSpaceTableTimeSeriesResponse | 
DescribeTopSpaceTableTimeSeries(DescribeTopSpaceTableTimeSeriesRequest req)
This API is used to query the daily space data of top tables consuming the most instance space. 
 | 
DescribeUserSqlAdviceResponse | 
DescribeUserSqlAdvice(DescribeUserSqlAdviceRequest req)
This API is used to obtain SQL statement optimization suggestions. 
 | 
ModifyDiagDBInstanceConfResponse | 
ModifyDiagDBInstanceConf(ModifyDiagDBInstanceConfRequest req)
This API is used to enable/disable instance inspection. 
 | 
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreakerpublic DbbrainClient(Credential credential, String region)
public DbbrainClient(Credential credential, String region, ClientProfile profile)
public AddUserContactResponse AddUserContact(AddUserContactRequest req) throws TencentCloudSDKException
req - AddUserContactRequestTencentCloudSDKExceptionpublic CreateDBDiagReportTaskResponse CreateDBDiagReportTask(CreateDBDiagReportTaskRequest req) throws TencentCloudSDKException
req - CreateDBDiagReportTaskRequestTencentCloudSDKExceptionpublic CreateDBDiagReportUrlResponse CreateDBDiagReportUrl(CreateDBDiagReportUrlRequest req) throws TencentCloudSDKException
req - CreateDBDiagReportUrlRequestTencentCloudSDKExceptionpublic CreateMailProfileResponse CreateMailProfile(CreateMailProfileRequest req) throws TencentCloudSDKException
req - CreateMailProfileRequestTencentCloudSDKExceptionpublic CreateSchedulerMailProfileResponse CreateSchedulerMailProfile(CreateSchedulerMailProfileRequest req) throws TencentCloudSDKException
req - CreateSchedulerMailProfileRequestTencentCloudSDKExceptionpublic DescribeAllUserContactResponse DescribeAllUserContact(DescribeAllUserContactRequest req) throws TencentCloudSDKException
req - DescribeAllUserContactRequestTencentCloudSDKExceptionpublic DescribeAllUserGroupResponse DescribeAllUserGroup(DescribeAllUserGroupRequest req) throws TencentCloudSDKException
req - DescribeAllUserGroupRequestTencentCloudSDKExceptionpublic DescribeDBDiagEventResponse DescribeDBDiagEvent(DescribeDBDiagEventRequest req) throws TencentCloudSDKException
req - DescribeDBDiagEventRequestTencentCloudSDKExceptionpublic DescribeDBDiagHistoryResponse DescribeDBDiagHistory(DescribeDBDiagHistoryRequest req) throws TencentCloudSDKException
req - DescribeDBDiagHistoryRequestTencentCloudSDKExceptionpublic DescribeDBDiagReportTasksResponse DescribeDBDiagReportTasks(DescribeDBDiagReportTasksRequest req) throws TencentCloudSDKException
req - DescribeDBDiagReportTasksRequestTencentCloudSDKExceptionpublic DescribeDBSpaceStatusResponse DescribeDBSpaceStatus(DescribeDBSpaceStatusRequest req) throws TencentCloudSDKException
req - DescribeDBSpaceStatusRequestTencentCloudSDKExceptionpublic DescribeDiagDBInstancesResponse DescribeDiagDBInstances(DescribeDiagDBInstancesRequest req) throws TencentCloudSDKException
req - DescribeDiagDBInstancesRequestTencentCloudSDKExceptionpublic DescribeHealthScoreResponse DescribeHealthScore(DescribeHealthScoreRequest req) throws TencentCloudSDKException
req - DescribeHealthScoreRequestTencentCloudSDKExceptionpublic DescribeMailProfileResponse DescribeMailProfile(DescribeMailProfileRequest req) throws TencentCloudSDKException
req - DescribeMailProfileRequestTencentCloudSDKExceptionpublic DescribeSlowLogTimeSeriesStatsResponse DescribeSlowLogTimeSeriesStats(DescribeSlowLogTimeSeriesStatsRequest req) throws TencentCloudSDKException
req - DescribeSlowLogTimeSeriesStatsRequestTencentCloudSDKExceptionpublic DescribeSlowLogTopSqlsResponse DescribeSlowLogTopSqls(DescribeSlowLogTopSqlsRequest req) throws TencentCloudSDKException
req - DescribeSlowLogTopSqlsRequestTencentCloudSDKExceptionpublic DescribeSlowLogUserHostStatsResponse DescribeSlowLogUserHostStats(DescribeSlowLogUserHostStatsRequest req) throws TencentCloudSDKException
req - DescribeSlowLogUserHostStatsRequestTencentCloudSDKExceptionpublic DescribeTopSpaceSchemaTimeSeriesResponse DescribeTopSpaceSchemaTimeSeries(DescribeTopSpaceSchemaTimeSeriesRequest req) throws TencentCloudSDKException
req - DescribeTopSpaceSchemaTimeSeriesRequestTencentCloudSDKExceptionpublic DescribeTopSpaceSchemasResponse DescribeTopSpaceSchemas(DescribeTopSpaceSchemasRequest req) throws TencentCloudSDKException
req - DescribeTopSpaceSchemasRequestTencentCloudSDKExceptionpublic DescribeTopSpaceTableTimeSeriesResponse DescribeTopSpaceTableTimeSeries(DescribeTopSpaceTableTimeSeriesRequest req) throws TencentCloudSDKException
req - DescribeTopSpaceTableTimeSeriesRequestTencentCloudSDKExceptionpublic DescribeTopSpaceTablesResponse DescribeTopSpaceTables(DescribeTopSpaceTablesRequest req) throws TencentCloudSDKException
req - DescribeTopSpaceTablesRequestTencentCloudSDKExceptionpublic DescribeUserSqlAdviceResponse DescribeUserSqlAdvice(DescribeUserSqlAdviceRequest req) throws TencentCloudSDKException
req - DescribeUserSqlAdviceRequestTencentCloudSDKExceptionpublic ModifyDiagDBInstanceConfResponse ModifyDiagDBInstanceConf(ModifyDiagDBInstanceConfRequest req) throws TencentCloudSDKException
req - ModifyDiagDBInstanceConfRequestTencentCloudSDKExceptionCopyright © 2025. All rights reserved.