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, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public DbbrainClient(Credential credential, String region)
public DbbrainClient(Credential credential, String region, ClientProfile profile)
public AddUserContactResponse AddUserContact(AddUserContactRequest req) throws TencentCloudSDKException
req
- AddUserContactRequestTencentCloudSDKException
public CreateDBDiagReportTaskResponse CreateDBDiagReportTask(CreateDBDiagReportTaskRequest req) throws TencentCloudSDKException
req
- CreateDBDiagReportTaskRequestTencentCloudSDKException
public CreateDBDiagReportUrlResponse CreateDBDiagReportUrl(CreateDBDiagReportUrlRequest req) throws TencentCloudSDKException
req
- CreateDBDiagReportUrlRequestTencentCloudSDKException
public CreateMailProfileResponse CreateMailProfile(CreateMailProfileRequest req) throws TencentCloudSDKException
req
- CreateMailProfileRequestTencentCloudSDKException
public CreateSchedulerMailProfileResponse CreateSchedulerMailProfile(CreateSchedulerMailProfileRequest req) throws TencentCloudSDKException
req
- CreateSchedulerMailProfileRequestTencentCloudSDKException
public DescribeAllUserContactResponse DescribeAllUserContact(DescribeAllUserContactRequest req) throws TencentCloudSDKException
req
- DescribeAllUserContactRequestTencentCloudSDKException
public DescribeAllUserGroupResponse DescribeAllUserGroup(DescribeAllUserGroupRequest req) throws TencentCloudSDKException
req
- DescribeAllUserGroupRequestTencentCloudSDKException
public DescribeDBDiagEventResponse DescribeDBDiagEvent(DescribeDBDiagEventRequest req) throws TencentCloudSDKException
req
- DescribeDBDiagEventRequestTencentCloudSDKException
public DescribeDBDiagHistoryResponse DescribeDBDiagHistory(DescribeDBDiagHistoryRequest req) throws TencentCloudSDKException
req
- DescribeDBDiagHistoryRequestTencentCloudSDKException
public DescribeDBDiagReportTasksResponse DescribeDBDiagReportTasks(DescribeDBDiagReportTasksRequest req) throws TencentCloudSDKException
req
- DescribeDBDiagReportTasksRequestTencentCloudSDKException
public DescribeDBSpaceStatusResponse DescribeDBSpaceStatus(DescribeDBSpaceStatusRequest req) throws TencentCloudSDKException
req
- DescribeDBSpaceStatusRequestTencentCloudSDKException
public DescribeDiagDBInstancesResponse DescribeDiagDBInstances(DescribeDiagDBInstancesRequest req) throws TencentCloudSDKException
req
- DescribeDiagDBInstancesRequestTencentCloudSDKException
public DescribeHealthScoreResponse DescribeHealthScore(DescribeHealthScoreRequest req) throws TencentCloudSDKException
req
- DescribeHealthScoreRequestTencentCloudSDKException
public DescribeMailProfileResponse DescribeMailProfile(DescribeMailProfileRequest req) throws TencentCloudSDKException
req
- DescribeMailProfileRequestTencentCloudSDKException
public DescribeSlowLogTimeSeriesStatsResponse DescribeSlowLogTimeSeriesStats(DescribeSlowLogTimeSeriesStatsRequest req) throws TencentCloudSDKException
req
- DescribeSlowLogTimeSeriesStatsRequestTencentCloudSDKException
public DescribeSlowLogTopSqlsResponse DescribeSlowLogTopSqls(DescribeSlowLogTopSqlsRequest req) throws TencentCloudSDKException
req
- DescribeSlowLogTopSqlsRequestTencentCloudSDKException
public DescribeSlowLogUserHostStatsResponse DescribeSlowLogUserHostStats(DescribeSlowLogUserHostStatsRequest req) throws TencentCloudSDKException
req
- DescribeSlowLogUserHostStatsRequestTencentCloudSDKException
public DescribeTopSpaceSchemaTimeSeriesResponse DescribeTopSpaceSchemaTimeSeries(DescribeTopSpaceSchemaTimeSeriesRequest req) throws TencentCloudSDKException
req
- DescribeTopSpaceSchemaTimeSeriesRequestTencentCloudSDKException
public DescribeTopSpaceSchemasResponse DescribeTopSpaceSchemas(DescribeTopSpaceSchemasRequest req) throws TencentCloudSDKException
req
- DescribeTopSpaceSchemasRequestTencentCloudSDKException
public DescribeTopSpaceTableTimeSeriesResponse DescribeTopSpaceTableTimeSeries(DescribeTopSpaceTableTimeSeriesRequest req) throws TencentCloudSDKException
req
- DescribeTopSpaceTableTimeSeriesRequestTencentCloudSDKException
public DescribeTopSpaceTablesResponse DescribeTopSpaceTables(DescribeTopSpaceTablesRequest req) throws TencentCloudSDKException
req
- DescribeTopSpaceTablesRequestTencentCloudSDKException
public DescribeUserSqlAdviceResponse DescribeUserSqlAdvice(DescribeUserSqlAdviceRequest req) throws TencentCloudSDKException
req
- DescribeUserSqlAdviceRequestTencentCloudSDKException
public ModifyDiagDBInstanceConfResponse ModifyDiagDBInstanceConf(ModifyDiagDBInstanceConfRequest req) throws TencentCloudSDKException
req
- ModifyDiagDBInstanceConfRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.