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 |
---|---|
CreateProxySessionKillTaskResponse |
CreateProxySessionKillTask(CreateProxySessionKillTaskRequest req)
This API is used to create an async task of killing all proxy node connection sessions and is currently supported only for Redis.
|
DescribeDBDiagEventsResponse |
DescribeDBDiagEvents(DescribeDBDiagEventsRequest req)
This API is used to obtain the diagnosis event list in a specified time period by risk level, instance ID, etc.
|
DescribeDiagDBInstancesResponse |
DescribeDiagDBInstances(DescribeDiagDBInstancesRequest req)
This API is used to get the instance information list.
|
DescribeMySqlProcessListResponse |
DescribeMySqlProcessList(DescribeMySqlProcessListRequest req)
This API is used to query the real-time thread list of a relational database.
|
DescribeProxySessionKillTasksResponse |
DescribeProxySessionKillTasks(DescribeProxySessionKillTasksRequest req)
This API is used to query the result of the session killing task executed by the Redis proxy node.
|
DescribeRedisTopKeyPrefixListResponse |
DescribeRedisTopKeyPrefixList(DescribeRedisTopKeyPrefixListRequest req)
This API is used to query the list of top key prefixes for Redis instances.
|
DescribeSlowLogUserHostStatsResponse |
DescribeSlowLogUserHostStats(DescribeSlowLogUserHostStatsRequest req)
This API is used to get the statistical distribution chart of slow log source addresses.
|
DescribeTopSpaceSchemasResponse |
DescribeTopSpaceSchemas(DescribeTopSpaceSchemasRequest req)
This API is used to get the real-time space statistics of top databases of an instance.
|
DescribeUserSqlAdviceResponse |
DescribeUserSqlAdvice(DescribeUserSqlAdviceRequest req)
This API is used to get SQL statement optimization suggestions.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public DbbrainClient(Credential credential, String region)
public DbbrainClient(Credential credential, String region, ClientProfile profile)
public CreateProxySessionKillTaskResponse CreateProxySessionKillTask(CreateProxySessionKillTaskRequest req) throws TencentCloudSDKException
req
- CreateProxySessionKillTaskRequestTencentCloudSDKException
public DescribeDBDiagEventsResponse DescribeDBDiagEvents(DescribeDBDiagEventsRequest req) throws TencentCloudSDKException
req
- DescribeDBDiagEventsRequestTencentCloudSDKException
public DescribeDiagDBInstancesResponse DescribeDiagDBInstances(DescribeDiagDBInstancesRequest req) throws TencentCloudSDKException
req
- DescribeDiagDBInstancesRequestTencentCloudSDKException
public DescribeMySqlProcessListResponse DescribeMySqlProcessList(DescribeMySqlProcessListRequest req) throws TencentCloudSDKException
req
- DescribeMySqlProcessListRequestTencentCloudSDKException
public DescribeProxySessionKillTasksResponse DescribeProxySessionKillTasks(DescribeProxySessionKillTasksRequest req) throws TencentCloudSDKException
req
- DescribeProxySessionKillTasksRequestTencentCloudSDKException
public DescribeRedisTopKeyPrefixListResponse DescribeRedisTopKeyPrefixList(DescribeRedisTopKeyPrefixListRequest req) throws TencentCloudSDKException
req
- DescribeRedisTopKeyPrefixListRequestTencentCloudSDKException
public DescribeSlowLogUserHostStatsResponse DescribeSlowLogUserHostStats(DescribeSlowLogUserHostStatsRequest req) throws TencentCloudSDKException
req
- DescribeSlowLogUserHostStatsRequestTencentCloudSDKException
public DescribeTopSpaceSchemasResponse DescribeTopSpaceSchemas(DescribeTopSpaceSchemasRequest req) throws TencentCloudSDKException
req
- DescribeTopSpaceSchemasRequestTencentCloudSDKException
public DescribeUserSqlAdviceResponse DescribeUserSqlAdvice(DescribeUserSqlAdviceRequest req) throws TencentCloudSDKException
req
- DescribeUserSqlAdviceRequestTencentCloudSDKException
Copyright © 2022. All rights reserved.