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, setRegion
public DcdbClient(Credential credential, String region)
public DcdbClient(Credential credential, String region, ClientProfile profile)
public CloneAccountResponse CloneAccount(CloneAccountRequest req) throws TencentCloudSDKException
req
- CloneAccountRequestTencentCloudSDKException
public CloseDBExtranetAccessResponse CloseDBExtranetAccess(CloseDBExtranetAccessRequest req) throws TencentCloudSDKException
req
- CloseDBExtranetAccessRequestTencentCloudSDKException
public CopyAccountPrivilegesResponse CopyAccountPrivileges(CopyAccountPrivilegesRequest req) throws TencentCloudSDKException
req
- CopyAccountPrivilegesRequestTencentCloudSDKException
public CreateAccountResponse CreateAccount(CreateAccountRequest req) throws TencentCloudSDKException
req
- CreateAccountRequestTencentCloudSDKException
public DeleteAccountResponse DeleteAccount(DeleteAccountRequest req) throws TencentCloudSDKException
req
- DeleteAccountRequestTencentCloudSDKException
public DescribeAccountPrivilegesResponse DescribeAccountPrivileges(DescribeAccountPrivilegesRequest req) throws TencentCloudSDKException
req
- DescribeAccountPrivilegesRequestTencentCloudSDKException
public DescribeAccountsResponse DescribeAccounts(DescribeAccountsRequest req) throws TencentCloudSDKException
req
- DescribeAccountsRequestTencentCloudSDKException
public DescribeDBLogFilesResponse DescribeDBLogFiles(DescribeDBLogFilesRequest req) throws TencentCloudSDKException
req
- DescribeDBLogFilesRequestTencentCloudSDKException
public DescribeDBParametersResponse DescribeDBParameters(DescribeDBParametersRequest req) throws TencentCloudSDKException
req
- DescribeDBParametersRequestTencentCloudSDKException
public DescribeDBSyncModeResponse DescribeDBSyncMode(DescribeDBSyncModeRequest req) throws TencentCloudSDKException
req
- DescribeDBSyncModeRequestTencentCloudSDKException
public DescribeDCDBInstancesResponse DescribeDCDBInstances(DescribeDCDBInstancesRequest req) throws TencentCloudSDKException
req
- DescribeDCDBInstancesRequestTencentCloudSDKException
public DescribeDCDBShardsResponse DescribeDCDBShards(DescribeDCDBShardsRequest req) throws TencentCloudSDKException
req
- DescribeDCDBShardsRequestTencentCloudSDKException
public DescribeDatabaseObjectsResponse DescribeDatabaseObjects(DescribeDatabaseObjectsRequest req) throws TencentCloudSDKException
req
- DescribeDatabaseObjectsRequestTencentCloudSDKException
public DescribeDatabaseTableResponse DescribeDatabaseTable(DescribeDatabaseTableRequest req) throws TencentCloudSDKException
req
- DescribeDatabaseTableRequestTencentCloudSDKException
public DescribeDatabasesResponse DescribeDatabases(DescribeDatabasesRequest req) throws TencentCloudSDKException
req
- DescribeDatabasesRequestTencentCloudSDKException
public DescribeProjectsResponse DescribeProjects(DescribeProjectsRequest req) throws TencentCloudSDKException
req
- DescribeProjectsRequestTencentCloudSDKException
public GrantAccountPrivilegesResponse GrantAccountPrivileges(GrantAccountPrivilegesRequest req) throws TencentCloudSDKException
req
- GrantAccountPrivilegesRequestTencentCloudSDKException
public InitDCDBInstancesResponse InitDCDBInstances(InitDCDBInstancesRequest req) throws TencentCloudSDKException
req
- InitDCDBInstancesRequestTencentCloudSDKException
public ModifyAccountDescriptionResponse ModifyAccountDescription(ModifyAccountDescriptionRequest req) throws TencentCloudSDKException
req
- ModifyAccountDescriptionRequestTencentCloudSDKException
public ModifyDBInstancesProjectResponse ModifyDBInstancesProject(ModifyDBInstancesProjectRequest req) throws TencentCloudSDKException
req
- ModifyDBInstancesProjectRequestTencentCloudSDKException
public ModifyDBParametersResponse ModifyDBParameters(ModifyDBParametersRequest req) throws TencentCloudSDKException
req
- ModifyDBParametersRequestTencentCloudSDKException
public ModifyDBSyncModeResponse ModifyDBSyncMode(ModifyDBSyncModeRequest req) throws TencentCloudSDKException
req
- ModifyDBSyncModeRequestTencentCloudSDKException
public OpenDBExtranetAccessResponse OpenDBExtranetAccess(OpenDBExtranetAccessRequest req) throws TencentCloudSDKException
req
- OpenDBExtranetAccessRequestTencentCloudSDKException
public ResetAccountPasswordResponse ResetAccountPassword(ResetAccountPasswordRequest req) throws TencentCloudSDKException
req
- ResetAccountPasswordRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.