Package cn.ucloud.udb.client
Interface UDBClientInterface
-
- All Superinterfaces:
AutoCloseable,Client,Closeable
- All Known Implementing Classes:
UDBClient
public interface UDBClientInterface extends Client
This client is used to call actions of **UDB** service
-
-
Method Summary
-
-
-
Method Detail
-
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
ClearUDBLogResponse clearUDBLog(ClearUDBLogRequest request) throws UCloudException
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
CreateUDBSlaveResponse createUDBSlave(CreateUDBSlaveRequest request) throws UCloudException
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
-
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
DescribeUDBTypeResponse describeUDBType(DescribeUDBTypeRequest request) throws UCloudException
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
-
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
-
promoteUDBInstanceToHA
PromoteUDBInstanceToHAResponse promoteUDBInstanceToHA(PromoteUDBInstanceToHARequest request) throws UCloudException
PromoteUDBInstanceToHA - 普通db升级为高可用- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
promoteUDBSlave
PromoteUDBSlaveResponse promoteUDBSlave(PromoteUDBSlaveRequest request) throws UCloudException
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
-
setUDBRWSplitting
SetUDBRWSplittingResponse setUDBRWSplitting(SetUDBRWSplittingRequest request) throws UCloudException
SetUDBRWSplitting - 设置读写分离- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
startUDBInstance
StartUDBInstanceResponse startUDBInstance(StartUDBInstanceRequest request) throws UCloudException
StartUDBInstance - 启动云数据库- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
stopUDBInstance
StopUDBInstanceResponse stopUDBInstance(StopUDBInstanceRequest request) throws UCloudException
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
-
uploadUDBParamGroup
UploadUDBParamGroupResponse uploadUDBParamGroup(UploadUDBParamGroupRequest request) throws UCloudException
UploadUDBParamGroup - 导入配置- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-