Package cn.ucloud.udb.client
Interface UDBClientInterface
- All Superinterfaces:
AutoCloseable,Client,Closeable
- All Known Implementing Classes:
UDBClient
This client is used to call actions of **UDB** service
-
Method Summary
Modifier and TypeMethodDescriptionBackupUDBInstance - 备份云数据库BackupUDBInstanceBinlog - 备份UDB指定时间段的binlog列表BackupUDBInstanceErrorLog - 备份UDB指定时间段的errorlogBackupUDBInstanceSlowLog - 备份UDB指定时间段的slowlog分析结果ChangeUDBParamGroup - 修改配置文件CheckRecoverUDBInstance - 核查db是否可以使用回档功能CheckUDBInstanceToHAAllowance - 核查db是否可以升级为高可用clearUDBLog(ClearUDBLogRequest request) ClearUDBLog - 清除日志CreateMongoDBReplicaSet - 创建DB副本集CreateUDBInstance - 创建数据库CreateUDBInstanceByRecovery - 将新建的db恢复到指定db某个指定时间点CreateUDBParamGroup - 创建配置文件CreateUDBReplicationInstance - 创建副本CreateUDBRouteInstance - 创建mongos实例createUDBSlave(CreateUDBSlaveRequest request) CreateUDBSlave - 创建从库DeleteUDBInstance - 删除云数据库DeleteUDBLogPackage - 删除UDB日志包DeleteUDBParamGroup - 删除配置DescribeUDBBackup - 获取备份列表DescribeUDBBackupBlacklist - 获取备份黑名单DescribeUDBBinlogBackup - 列表UDB实例Binlog自动备份信息DescribeUDBBinlogBackupURL - (新)获取UDB的日志备份地址DescribeUDBInstance - 获取云数据库信息DescribeUDBInstanceBackupState - 获取实例备份状态DescribeUDBInstanceBackupURL - 获取UDB备份下载地址DescribeUDBInstanceBinlog - 获取UDBbinlog列表DescribeUDBInstanceBinlogBackupState - 获取udb实例备份状态DescribeUDBInstanceLog - 获取UDB错误日志或慢查询日志DescribeUDBInstancePrice - 获取云数据库价格DescribeUDBInstanceState - 获取云数据库状态DescribeUDBInstanceUpgradePrice - 获取UDB实例升降级价格信息DescribeUDBLogBackupURL - 获取UDB的日志备份地址DescribeUDBLogPackage - 列表UDB实例日志备份信息DescribeUDBParamGroup - 获取参数信息DescribeUDBSplittingInfo - 描述读写分离功能describeUDBType(DescribeUDBTypeRequest request) DescribeUDBType - 获取云数据库支持类型DisableUDBRWSplitting - 关闭读写分离功能EditUDBBackupBlacklist - 编辑备份黑名单EnableUDBRWSplitting - 启用读写分离功能ExtractUDBParamGroup - 获取配置文件内容FetchUDBInstanceEarliestRecoverTime - 获取最早可回档时间GetUDBClientConnNum - 获取连接实例客户端Ip和连接数GetUDBInstanceSSLCertURL - 获取SSL证书下载地址ListUDBMachineType - 获取UDB云数据库计算规格列表ListUDBUserTables - 查看udb实例的用户表集合ModifyUDBInstanceName - 修改云数据库名称ModifyUDBInstancePassword - 修改DB实例的管理员密码ModifyUDBInstanceRemarkName - 修改云数据库备注ModifyUDBInstanceSSL - 调整SSL的信息PromoteUDBInstanceToHA - 普通db升级为高可用promoteUDBSlave(PromoteUDBSlaveRequest request) PromoteUDBSlave - 提升从库ResizeUDBInstance - 修改UDB实例的配置RestartRWSplitting - 读写分离中间件重启RestartUDBInstance - 重启云数据库RollbackUDBInstance - 回档指定库表SetUDBRWSplitting - 设置读写分离startUDBInstance(StartUDBInstanceRequest request) StartUDBInstance - 启动云数据库stopUDBInstance(StopUDBInstanceRequest request) StopUDBInstance - 关闭云数据库SwitchUDBHAToSentinel - UDB高可用实例升级为Sentinel版本(不带HAProxy)升级耗时5-10秒SwitchUDBInstanceToHA - 普通UDB切换为高可用UpdateUDBInstanceBackupStrategy - 修改UDB自动备份策略UpdateUDBInstanceSlaveBackupSwitch - 开启或者关闭UDB从库备份UpdateUDBParamGroup - 更新配置UpgradeUDBInstanceToHA - 快杰普通db升级为高可用UpgradeUDBVersion - 升级db实例版本UploadUDBParamGroup - 导入配置
-
Method Details
-
backupUDBInstance
BackupUDBInstanceResponse backupUDBInstance(BackupUDBInstanceRequest request) throws UCloudException BackupUDBInstance - 备份云数据库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
backupUDBInstanceBinlog
BackupUDBInstanceBinlogResponse backupUDBInstanceBinlog(BackupUDBInstanceBinlogRequest request) throws UCloudException BackupUDBInstanceBinlog - 备份UDB指定时间段的binlog列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
backupUDBInstanceErrorLog
BackupUDBInstanceErrorLogResponse backupUDBInstanceErrorLog(BackupUDBInstanceErrorLogRequest request) throws UCloudException BackupUDBInstanceErrorLog - 备份UDB指定时间段的errorlog- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
backupUDBInstanceSlowLog
BackupUDBInstanceSlowLogResponse backupUDBInstanceSlowLog(BackupUDBInstanceSlowLogRequest request) throws UCloudException BackupUDBInstanceSlowLog - 备份UDB指定时间段的slowlog分析结果- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
changeUDBParamGroup
ChangeUDBParamGroupResponse changeUDBParamGroup(ChangeUDBParamGroupRequest request) throws UCloudException ChangeUDBParamGroup - 修改配置文件- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
checkRecoverUDBInstance
CheckRecoverUDBInstanceResponse checkRecoverUDBInstance(CheckRecoverUDBInstanceRequest request) throws UCloudException CheckRecoverUDBInstance - 核查db是否可以使用回档功能- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
checkUDBInstanceToHAAllowance
CheckUDBInstanceToHAAllowanceResponse checkUDBInstanceToHAAllowance(CheckUDBInstanceToHAAllowanceRequest request) throws UCloudException CheckUDBInstanceToHAAllowance - 核查db是否可以升级为高可用- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
clearUDBLog
ClearUDBLog - 清除日志- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createMongoDBReplicaSet
CreateMongoDBReplicaSetResponse createMongoDBReplicaSet(CreateMongoDBReplicaSetRequest request) throws UCloudException CreateMongoDBReplicaSet - 创建DB副本集- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBInstance
CreateUDBInstanceResponse createUDBInstance(CreateUDBInstanceRequest request) throws UCloudException CreateUDBInstance - 创建数据库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBInstanceByRecovery
CreateUDBInstanceByRecoveryResponse createUDBInstanceByRecovery(CreateUDBInstanceByRecoveryRequest request) throws UCloudException CreateUDBInstanceByRecovery - 将新建的db恢复到指定db某个指定时间点- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBParamGroup
CreateUDBParamGroupResponse createUDBParamGroup(CreateUDBParamGroupRequest request) throws UCloudException CreateUDBParamGroup - 创建配置文件- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBReplicationInstance
CreateUDBReplicationInstanceResponse createUDBReplicationInstance(CreateUDBReplicationInstanceRequest request) throws UCloudException CreateUDBReplicationInstance - 创建副本- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBRouteInstance
CreateUDBRouteInstanceResponse createUDBRouteInstance(CreateUDBRouteInstanceRequest request) throws UCloudException CreateUDBRouteInstance - 创建mongos实例- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBSlave
CreateUDBSlave - 创建从库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDBInstance
DeleteUDBInstanceResponse deleteUDBInstance(DeleteUDBInstanceRequest request) throws UCloudException DeleteUDBInstance - 删除云数据库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDBLogPackage
DeleteUDBLogPackageResponse deleteUDBLogPackage(DeleteUDBLogPackageRequest request) throws UCloudException DeleteUDBLogPackage - 删除UDB日志包- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDBParamGroup
DeleteUDBParamGroupResponse deleteUDBParamGroup(DeleteUDBParamGroupRequest request) throws UCloudException DeleteUDBParamGroup - 删除配置- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBBackup
DescribeUDBBackupResponse describeUDBBackup(DescribeUDBBackupRequest request) throws UCloudException DescribeUDBBackup - 获取备份列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBBackupBlacklist
DescribeUDBBackupBlacklistResponse describeUDBBackupBlacklist(DescribeUDBBackupBlacklistRequest request) throws UCloudException DescribeUDBBackupBlacklist - 获取备份黑名单- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBBinlogBackup
DescribeUDBBinlogBackupResponse describeUDBBinlogBackup(DescribeUDBBinlogBackupRequest request) throws UCloudException DescribeUDBBinlogBackup - 列表UDB实例Binlog自动备份信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBBinlogBackupURL
DescribeUDBBinlogBackupURLResponse describeUDBBinlogBackupURL(DescribeUDBBinlogBackupURLRequest request) throws UCloudException DescribeUDBBinlogBackupURL - (新)获取UDB的日志备份地址- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstance
DescribeUDBInstanceResponse describeUDBInstance(DescribeUDBInstanceRequest request) throws UCloudException DescribeUDBInstance - 获取云数据库信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceBackupState
DescribeUDBInstanceBackupStateResponse describeUDBInstanceBackupState(DescribeUDBInstanceBackupStateRequest request) throws UCloudException DescribeUDBInstanceBackupState - 获取实例备份状态- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceBackupURL
DescribeUDBInstanceBackupURLResponse describeUDBInstanceBackupURL(DescribeUDBInstanceBackupURLRequest request) throws UCloudException DescribeUDBInstanceBackupURL - 获取UDB备份下载地址- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceBinlog
DescribeUDBInstanceBinlogResponse describeUDBInstanceBinlog(DescribeUDBInstanceBinlogRequest request) throws UCloudException DescribeUDBInstanceBinlog - 获取UDBbinlog列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceBinlogBackupState
DescribeUDBInstanceBinlogBackupStateResponse describeUDBInstanceBinlogBackupState(DescribeUDBInstanceBinlogBackupStateRequest request) throws UCloudException DescribeUDBInstanceBinlogBackupState - 获取udb实例备份状态- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceLog
DescribeUDBInstanceLogResponse describeUDBInstanceLog(DescribeUDBInstanceLogRequest request) throws UCloudException DescribeUDBInstanceLog - 获取UDB错误日志或慢查询日志- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstancePrice
DescribeUDBInstancePriceResponse describeUDBInstancePrice(DescribeUDBInstancePriceRequest request) throws UCloudException DescribeUDBInstancePrice - 获取云数据库价格- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceState
DescribeUDBInstanceStateResponse describeUDBInstanceState(DescribeUDBInstanceStateRequest request) throws UCloudException DescribeUDBInstanceState - 获取云数据库状态- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceUpgradePrice
DescribeUDBInstanceUpgradePriceResponse describeUDBInstanceUpgradePrice(DescribeUDBInstanceUpgradePriceRequest request) throws UCloudException DescribeUDBInstanceUpgradePrice - 获取UDB实例升降级价格信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBLogBackupURL
DescribeUDBLogBackupURLResponse describeUDBLogBackupURL(DescribeUDBLogBackupURLRequest request) throws UCloudException DescribeUDBLogBackupURL - 获取UDB的日志备份地址- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBLogPackage
DescribeUDBLogPackageResponse describeUDBLogPackage(DescribeUDBLogPackageRequest request) throws UCloudException DescribeUDBLogPackage - 列表UDB实例日志备份信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBParamGroup
DescribeUDBParamGroupResponse describeUDBParamGroup(DescribeUDBParamGroupRequest request) throws UCloudException DescribeUDBParamGroup - 获取参数信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBSplittingInfo
DescribeUDBSplittingInfoResponse describeUDBSplittingInfo(DescribeUDBSplittingInfoRequest request) throws UCloudException DescribeUDBSplittingInfo - 描述读写分离功能- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBType
DescribeUDBType - 获取云数据库支持类型- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
disableUDBRWSplitting
DisableUDBRWSplittingResponse disableUDBRWSplitting(DisableUDBRWSplittingRequest request) throws UCloudException DisableUDBRWSplitting - 关闭读写分离功能- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
editUDBBackupBlacklist
EditUDBBackupBlacklistResponse editUDBBackupBlacklist(EditUDBBackupBlacklistRequest request) throws UCloudException EditUDBBackupBlacklist - 编辑备份黑名单- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
enableUDBRWSplitting
EnableUDBRWSplittingResponse enableUDBRWSplitting(EnableUDBRWSplittingRequest request) throws UCloudException EnableUDBRWSplitting - 启用读写分离功能- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
extractUDBParamGroup
ExtractUDBParamGroupResponse extractUDBParamGroup(ExtractUDBParamGroupRequest request) throws UCloudException ExtractUDBParamGroup - 获取配置文件内容- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
fetchUDBInstanceEarliestRecoverTime
FetchUDBInstanceEarliestRecoverTimeResponse fetchUDBInstanceEarliestRecoverTime(FetchUDBInstanceEarliestRecoverTimeRequest request) throws UCloudException FetchUDBInstanceEarliestRecoverTime - 获取最早可回档时间- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUDBClientConnNum
GetUDBClientConnNumResponse getUDBClientConnNum(GetUDBClientConnNumRequest request) throws UCloudException GetUDBClientConnNum - 获取连接实例客户端Ip和连接数- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUDBInstanceSSLCertURL
GetUDBInstanceSSLCertURLResponse getUDBInstanceSSLCertURL(GetUDBInstanceSSLCertURLRequest request) throws UCloudException GetUDBInstanceSSLCertURL - 获取SSL证书下载地址- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listUDBMachineType
ListUDBMachineTypeResponse listUDBMachineType(ListUDBMachineTypeRequest request) throws UCloudException ListUDBMachineType - 获取UDB云数据库计算规格列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listUDBUserTables
ListUDBUserTablesResponse listUDBUserTables(ListUDBUserTablesRequest request) throws UCloudException ListUDBUserTables - 查看udb实例的用户表集合- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUDBInstanceName
ModifyUDBInstanceNameResponse modifyUDBInstanceName(ModifyUDBInstanceNameRequest request) throws UCloudException ModifyUDBInstanceName - 修改云数据库名称- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUDBInstancePassword
ModifyUDBInstancePasswordResponse modifyUDBInstancePassword(ModifyUDBInstancePasswordRequest request) throws UCloudException ModifyUDBInstancePassword - 修改DB实例的管理员密码- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUDBInstanceRemarkName
ModifyUDBInstanceRemarkNameResponse modifyUDBInstanceRemarkName(ModifyUDBInstanceRemarkNameRequest request) throws UCloudException ModifyUDBInstanceRemarkName - 修改云数据库备注- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUDBInstanceSSL
ModifyUDBInstanceSSLResponse modifyUDBInstanceSSL(ModifyUDBInstanceSSLRequest request) throws UCloudException ModifyUDBInstanceSSL - 调整SSL的信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
promoteUDBInstanceToHA
PromoteUDBInstanceToHAResponse promoteUDBInstanceToHA(PromoteUDBInstanceToHARequest request) throws UCloudException PromoteUDBInstanceToHA - 普通db升级为高可用- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
promoteUDBSlave
PromoteUDBSlave - 提升从库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
resizeUDBInstance
ResizeUDBInstanceResponse resizeUDBInstance(ResizeUDBInstanceRequest request) throws UCloudException ResizeUDBInstance - 修改UDB实例的配置- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartRWSplitting
RestartRWSplittingResponse restartRWSplitting(RestartRWSplittingRequest request) throws UCloudException RestartRWSplitting - 读写分离中间件重启- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartUDBInstance
RestartUDBInstanceResponse restartUDBInstance(RestartUDBInstanceRequest request) throws UCloudException RestartUDBInstance - 重启云数据库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
rollbackUDBInstance
RollbackUDBInstanceResponse rollbackUDBInstance(RollbackUDBInstanceRequest request) throws UCloudException RollbackUDBInstance - 回档指定库表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUDBRWSplitting
SetUDBRWSplittingResponse setUDBRWSplitting(SetUDBRWSplittingRequest request) throws UCloudException SetUDBRWSplitting - 设置读写分离- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
startUDBInstance
StartUDBInstance - 启动云数据库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
stopUDBInstance
StopUDBInstance - 关闭云数据库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
switchUDBHAToSentinel
SwitchUDBHAToSentinelResponse switchUDBHAToSentinel(SwitchUDBHAToSentinelRequest request) throws UCloudException SwitchUDBHAToSentinel - UDB高可用实例升级为Sentinel版本(不带HAProxy)升级耗时5-10秒- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
switchUDBInstanceToHA
SwitchUDBInstanceToHAResponse switchUDBInstanceToHA(SwitchUDBInstanceToHARequest request) throws UCloudException SwitchUDBInstanceToHA - 普通UDB切换为高可用- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUDBInstanceBackupStrategy
UpdateUDBInstanceBackupStrategyResponse updateUDBInstanceBackupStrategy(UpdateUDBInstanceBackupStrategyRequest request) throws UCloudException UpdateUDBInstanceBackupStrategy - 修改UDB自动备份策略- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUDBInstanceSlaveBackupSwitch
UpdateUDBInstanceSlaveBackupSwitchResponse updateUDBInstanceSlaveBackupSwitch(UpdateUDBInstanceSlaveBackupSwitchRequest request) throws UCloudException UpdateUDBInstanceSlaveBackupSwitch - 开启或者关闭UDB从库备份- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUDBParamGroup
UpdateUDBParamGroupResponse updateUDBParamGroup(UpdateUDBParamGroupRequest request) throws UCloudException UpdateUDBParamGroup - 更新配置- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
upgradeUDBInstanceToHA
UpgradeUDBInstanceToHAResponse upgradeUDBInstanceToHA(UpgradeUDBInstanceToHARequest request) throws UCloudException UpgradeUDBInstanceToHA - 快杰普通db升级为高可用- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
upgradeUDBVersion
UpgradeUDBVersionResponse upgradeUDBVersion(UpgradeUDBVersionRequest request) throws UCloudException UpgradeUDBVersion - 升级db实例版本- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
uploadUDBParamGroup
UploadUDBParamGroupResponse uploadUDBParamGroup(UploadUDBParamGroupRequest request) throws UCloudException UploadUDBParamGroup - 导入配置- Parameters:
request- Request object- Throws:
UCloudException- Exception
-