public class DcdbClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description |
|---|
DcdbClient(Credential credential,
String region) |
DcdbClient(Credential credential,
String region,
ClientProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
CloneAccountResponse |
CloneAccount(CloneAccountRequest req)
This API is used to clone an instance account.
|
CloseDBExtranetAccessResponse |
CloseDBExtranetAccess(CloseDBExtranetAccessRequest req)
This API is used to disable public network access for a TencentDB instance, which will make the public IP address inaccessible.
|
CopyAccountPrivilegesResponse |
CopyAccountPrivileges(CopyAccountPrivilegesRequest req)
This API is used to copy the permissions of a TencentDB account.
|
CreateAccountResponse |
CreateAccount(CreateAccountRequest req)
This API is used to create a TencentDB account.
|
DeleteAccountResponse |
DeleteAccount(DeleteAccountRequest req)
This API is used to delete a TencentDB account, which is uniquely identified by username and host.
|
DescribeAccountPrivilegesResponse |
DescribeAccountPrivileges(DescribeAccountPrivilegesRequest req)
This API is used to query the permissions of a TencentDB account.
|
DescribeAccountsResponse |
DescribeAccounts(DescribeAccountsRequest req)
This API is used to query the list of accounts of a specified TencentDB instance.
|
DescribeDatabaseObjectsResponse |
DescribeDatabaseObjects(DescribeDatabaseObjectsRequest req)
This API is used to query the list of database objects in a TencentDB instance, including tables, stored procedures, views, and functions.
|
DescribeDatabasesResponse |
DescribeDatabases(DescribeDatabasesRequest req)
This API is used to query the list of databases of a TencentDB instance.
|
DescribeDatabaseTableResponse |
DescribeDatabaseTable(DescribeDatabaseTableRequest req)
This API is used to query the table information of a TencentDB instance.
|
DescribeDBLogFilesResponse |
DescribeDBLogFiles(DescribeDBLogFilesRequest req)
This API is used to get the list of various logs of a database, including cold backups, binlogs, errlogs, and slowlogs.
|
DescribeDBParametersResponse |
DescribeDBParameters(DescribeDBParametersRequest req)
This API is used to get the current parameter settings of a database.
|
DescribeDBSyncModeResponse |
DescribeDBSyncMode(DescribeDBSyncModeRequest req)
This API is used to query the sync mode of a TencentDB instance.
|
DescribeDCDBInstancesResponse |
DescribeDCDBInstances(DescribeDCDBInstancesRequest req)
This API is used to query the list of TencentDB instances.
|
DescribeDCDBShardsResponse |
DescribeDCDBShards(DescribeDCDBShardsRequest req)
This API is used to query the information of shards of a TencentDB instance.
|
DescribeProjectsResponse |
DescribeProjects(DescribeProjectsRequest req)
This API is used to query the project list.
|
GrantAccountPrivilegesResponse |
GrantAccountPrivileges(GrantAccountPrivilegesRequest req)
This API is used to grant permissions to a TencentDB account.
|
InitDCDBInstancesResponse |
InitDCDBInstances(InitDCDBInstancesRequest req)
This API is used to initialize instances, including setting the default character set and table name case sensitivity.
|
ModifyAccountDescriptionResponse |
ModifyAccountDescription(ModifyAccountDescriptionRequest req)
This API is used to modify the remarks of a TencentDB account.
|
ModifyDBInstancesProjectResponse |
ModifyDBInstancesProject(ModifyDBInstancesProjectRequest req)
This API is used to modify the project to which TencentDB instances belong.
|
ModifyDBParametersResponse |
ModifyDBParameters(ModifyDBParametersRequest req)
This API is used to modify database parameters.
|
ModifyDBSyncModeResponse |
ModifyDBSyncMode(ModifyDBSyncModeRequest req)
This API is used to modify the sync mode of a TencentDB instance.
|
OpenDBExtranetAccessResponse |
OpenDBExtranetAccess(OpenDBExtranetAccessRequest req)
This API is used to enable public network access for a TencentDB instance.
|
ResetAccountPasswordResponse |
ResetAccountPassword(ResetAccountPasswordRequest req)
This API is used to reset the password of a TencentDB account.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegionpublic DcdbClient(Credential credential, String region)
public DcdbClient(Credential credential, String region, ClientProfile profile)
public CloneAccountResponse CloneAccount(CloneAccountRequest req) throws TencentCloudSDKException
req - CloneAccountRequestTencentCloudSDKExceptionpublic CloseDBExtranetAccessResponse CloseDBExtranetAccess(CloseDBExtranetAccessRequest req) throws TencentCloudSDKException
req - CloseDBExtranetAccessRequestTencentCloudSDKExceptionpublic CopyAccountPrivilegesResponse CopyAccountPrivileges(CopyAccountPrivilegesRequest req) throws TencentCloudSDKException
req - CopyAccountPrivilegesRequestTencentCloudSDKExceptionpublic CreateAccountResponse CreateAccount(CreateAccountRequest req) throws TencentCloudSDKException
req - CreateAccountRequestTencentCloudSDKExceptionpublic DeleteAccountResponse DeleteAccount(DeleteAccountRequest req) throws TencentCloudSDKException
req - DeleteAccountRequestTencentCloudSDKExceptionpublic DescribeAccountPrivilegesResponse DescribeAccountPrivileges(DescribeAccountPrivilegesRequest req) throws TencentCloudSDKException
req - DescribeAccountPrivilegesRequestTencentCloudSDKExceptionpublic DescribeAccountsResponse DescribeAccounts(DescribeAccountsRequest req) throws TencentCloudSDKException
req - DescribeAccountsRequestTencentCloudSDKExceptionpublic DescribeDBLogFilesResponse DescribeDBLogFiles(DescribeDBLogFilesRequest req) throws TencentCloudSDKException
req - DescribeDBLogFilesRequestTencentCloudSDKExceptionpublic DescribeDBParametersResponse DescribeDBParameters(DescribeDBParametersRequest req) throws TencentCloudSDKException
req - DescribeDBParametersRequestTencentCloudSDKExceptionpublic DescribeDBSyncModeResponse DescribeDBSyncMode(DescribeDBSyncModeRequest req) throws TencentCloudSDKException
req - DescribeDBSyncModeRequestTencentCloudSDKExceptionpublic DescribeDCDBInstancesResponse DescribeDCDBInstances(DescribeDCDBInstancesRequest req) throws TencentCloudSDKException
req - DescribeDCDBInstancesRequestTencentCloudSDKExceptionpublic DescribeDCDBShardsResponse DescribeDCDBShards(DescribeDCDBShardsRequest req) throws TencentCloudSDKException
req - DescribeDCDBShardsRequestTencentCloudSDKExceptionpublic DescribeDatabaseObjectsResponse DescribeDatabaseObjects(DescribeDatabaseObjectsRequest req) throws TencentCloudSDKException
req - DescribeDatabaseObjectsRequestTencentCloudSDKExceptionpublic DescribeDatabaseTableResponse DescribeDatabaseTable(DescribeDatabaseTableRequest req) throws TencentCloudSDKException
req - DescribeDatabaseTableRequestTencentCloudSDKExceptionpublic DescribeDatabasesResponse DescribeDatabases(DescribeDatabasesRequest req) throws TencentCloudSDKException
req - DescribeDatabasesRequestTencentCloudSDKExceptionpublic DescribeProjectsResponse DescribeProjects(DescribeProjectsRequest req) throws TencentCloudSDKException
req - DescribeProjectsRequestTencentCloudSDKExceptionpublic GrantAccountPrivilegesResponse GrantAccountPrivileges(GrantAccountPrivilegesRequest req) throws TencentCloudSDKException
req - GrantAccountPrivilegesRequestTencentCloudSDKExceptionpublic InitDCDBInstancesResponse InitDCDBInstances(InitDCDBInstancesRequest req) throws TencentCloudSDKException
req - InitDCDBInstancesRequestTencentCloudSDKExceptionpublic ModifyAccountDescriptionResponse ModifyAccountDescription(ModifyAccountDescriptionRequest req) throws TencentCloudSDKException
req - ModifyAccountDescriptionRequestTencentCloudSDKExceptionpublic ModifyDBInstancesProjectResponse ModifyDBInstancesProject(ModifyDBInstancesProjectRequest req) throws TencentCloudSDKException
req - ModifyDBInstancesProjectRequestTencentCloudSDKExceptionpublic ModifyDBParametersResponse ModifyDBParameters(ModifyDBParametersRequest req) throws TencentCloudSDKException
req - ModifyDBParametersRequestTencentCloudSDKExceptionpublic ModifyDBSyncModeResponse ModifyDBSyncMode(ModifyDBSyncModeRequest req) throws TencentCloudSDKException
req - ModifyDBSyncModeRequestTencentCloudSDKExceptionpublic OpenDBExtranetAccessResponse OpenDBExtranetAccess(OpenDBExtranetAccessRequest req) throws TencentCloudSDKException
req - OpenDBExtranetAccessRequestTencentCloudSDKExceptionpublic ResetAccountPasswordResponse ResetAccountPassword(ResetAccountPasswordRequest req) throws TencentCloudSDKException
req - ResetAccountPasswordRequestTencentCloudSDKExceptionCopyright © 2020. All rights reserved.