Class UDBClient
java.lang.Object
cn.ucloud.common.client.DefaultClient
cn.ucloud.udb.client.UDBClient
- All Implemented Interfaces:
Client,UDBClientInterface,Closeable,AutoCloseable
This client is used to call actions of **UDB** service
-
Constructor Summary
Constructors -
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 - 导入配置Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
Constructor Details
-
UDBClient
-
-
Method Details
-
backupUDBInstance
public BackupUDBInstanceResponse backupUDBInstance(BackupUDBInstanceRequest request) throws UCloudException BackupUDBInstance - 备份云数据库- Specified by:
backupUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
backupUDBInstanceBinlog
public BackupUDBInstanceBinlogResponse backupUDBInstanceBinlog(BackupUDBInstanceBinlogRequest request) throws UCloudException BackupUDBInstanceBinlog - 备份UDB指定时间段的binlog列表- Specified by:
backupUDBInstanceBinlogin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
backupUDBInstanceErrorLog
public BackupUDBInstanceErrorLogResponse backupUDBInstanceErrorLog(BackupUDBInstanceErrorLogRequest request) throws UCloudException BackupUDBInstanceErrorLog - 备份UDB指定时间段的errorlog- Specified by:
backupUDBInstanceErrorLogin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
backupUDBInstanceSlowLog
public BackupUDBInstanceSlowLogResponse backupUDBInstanceSlowLog(BackupUDBInstanceSlowLogRequest request) throws UCloudException BackupUDBInstanceSlowLog - 备份UDB指定时间段的slowlog分析结果- Specified by:
backupUDBInstanceSlowLogin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
changeUDBParamGroup
public ChangeUDBParamGroupResponse changeUDBParamGroup(ChangeUDBParamGroupRequest request) throws UCloudException ChangeUDBParamGroup - 修改配置文件- Specified by:
changeUDBParamGroupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
checkRecoverUDBInstance
public CheckRecoverUDBInstanceResponse checkRecoverUDBInstance(CheckRecoverUDBInstanceRequest request) throws UCloudException CheckRecoverUDBInstance - 核查db是否可以使用回档功能- Specified by:
checkRecoverUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
checkUDBInstanceToHAAllowance
public CheckUDBInstanceToHAAllowanceResponse checkUDBInstanceToHAAllowance(CheckUDBInstanceToHAAllowanceRequest request) throws UCloudException CheckUDBInstanceToHAAllowance - 核查db是否可以升级为高可用- Specified by:
checkUDBInstanceToHAAllowancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
clearUDBLog
ClearUDBLog - 清除日志- Specified by:
clearUDBLogin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createMongoDBReplicaSet
public CreateMongoDBReplicaSetResponse createMongoDBReplicaSet(CreateMongoDBReplicaSetRequest request) throws UCloudException CreateMongoDBReplicaSet - 创建DB副本集- Specified by:
createMongoDBReplicaSetin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBInstance
public CreateUDBInstanceResponse createUDBInstance(CreateUDBInstanceRequest request) throws UCloudException CreateUDBInstance - 创建数据库- Specified by:
createUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBInstanceByRecovery
public CreateUDBInstanceByRecoveryResponse createUDBInstanceByRecovery(CreateUDBInstanceByRecoveryRequest request) throws UCloudException CreateUDBInstanceByRecovery - 将新建的db恢复到指定db某个指定时间点- Specified by:
createUDBInstanceByRecoveryin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBParamGroup
public CreateUDBParamGroupResponse createUDBParamGroup(CreateUDBParamGroupRequest request) throws UCloudException CreateUDBParamGroup - 创建配置文件- Specified by:
createUDBParamGroupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBReplicationInstance
public CreateUDBReplicationInstanceResponse createUDBReplicationInstance(CreateUDBReplicationInstanceRequest request) throws UCloudException CreateUDBReplicationInstance - 创建副本- Specified by:
createUDBReplicationInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBRouteInstance
public CreateUDBRouteInstanceResponse createUDBRouteInstance(CreateUDBRouteInstanceRequest request) throws UCloudException CreateUDBRouteInstance - 创建mongos实例- Specified by:
createUDBRouteInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDBSlave
CreateUDBSlave - 创建从库- Specified by:
createUDBSlavein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDBInstance
public DeleteUDBInstanceResponse deleteUDBInstance(DeleteUDBInstanceRequest request) throws UCloudException DeleteUDBInstance - 删除云数据库- Specified by:
deleteUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDBLogPackage
public DeleteUDBLogPackageResponse deleteUDBLogPackage(DeleteUDBLogPackageRequest request) throws UCloudException DeleteUDBLogPackage - 删除UDB日志包- Specified by:
deleteUDBLogPackagein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDBParamGroup
public DeleteUDBParamGroupResponse deleteUDBParamGroup(DeleteUDBParamGroupRequest request) throws UCloudException DeleteUDBParamGroup - 删除配置- Specified by:
deleteUDBParamGroupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBBackup
public DescribeUDBBackupResponse describeUDBBackup(DescribeUDBBackupRequest request) throws UCloudException DescribeUDBBackup - 获取备份列表- Specified by:
describeUDBBackupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBBackupBlacklist
public DescribeUDBBackupBlacklistResponse describeUDBBackupBlacklist(DescribeUDBBackupBlacklistRequest request) throws UCloudException DescribeUDBBackupBlacklist - 获取备份黑名单- Specified by:
describeUDBBackupBlacklistin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBBinlogBackup
public DescribeUDBBinlogBackupResponse describeUDBBinlogBackup(DescribeUDBBinlogBackupRequest request) throws UCloudException DescribeUDBBinlogBackup - 列表UDB实例Binlog自动备份信息- Specified by:
describeUDBBinlogBackupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBBinlogBackupURL
public DescribeUDBBinlogBackupURLResponse describeUDBBinlogBackupURL(DescribeUDBBinlogBackupURLRequest request) throws UCloudException DescribeUDBBinlogBackupURL - (新)获取UDB的日志备份地址- Specified by:
describeUDBBinlogBackupURLin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstance
public DescribeUDBInstanceResponse describeUDBInstance(DescribeUDBInstanceRequest request) throws UCloudException DescribeUDBInstance - 获取云数据库信息- Specified by:
describeUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceBackupState
public DescribeUDBInstanceBackupStateResponse describeUDBInstanceBackupState(DescribeUDBInstanceBackupStateRequest request) throws UCloudException DescribeUDBInstanceBackupState - 获取实例备份状态- Specified by:
describeUDBInstanceBackupStatein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceBackupURL
public DescribeUDBInstanceBackupURLResponse describeUDBInstanceBackupURL(DescribeUDBInstanceBackupURLRequest request) throws UCloudException DescribeUDBInstanceBackupURL - 获取UDB备份下载地址- Specified by:
describeUDBInstanceBackupURLin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceBinlog
public DescribeUDBInstanceBinlogResponse describeUDBInstanceBinlog(DescribeUDBInstanceBinlogRequest request) throws UCloudException DescribeUDBInstanceBinlog - 获取UDBbinlog列表- Specified by:
describeUDBInstanceBinlogin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceBinlogBackupState
public DescribeUDBInstanceBinlogBackupStateResponse describeUDBInstanceBinlogBackupState(DescribeUDBInstanceBinlogBackupStateRequest request) throws UCloudException DescribeUDBInstanceBinlogBackupState - 获取udb实例备份状态- Specified by:
describeUDBInstanceBinlogBackupStatein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceLog
public DescribeUDBInstanceLogResponse describeUDBInstanceLog(DescribeUDBInstanceLogRequest request) throws UCloudException DescribeUDBInstanceLog - 获取UDB错误日志或慢查询日志- Specified by:
describeUDBInstanceLogin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstancePrice
public DescribeUDBInstancePriceResponse describeUDBInstancePrice(DescribeUDBInstancePriceRequest request) throws UCloudException DescribeUDBInstancePrice - 获取云数据库价格- Specified by:
describeUDBInstancePricein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceState
public DescribeUDBInstanceStateResponse describeUDBInstanceState(DescribeUDBInstanceStateRequest request) throws UCloudException DescribeUDBInstanceState - 获取云数据库状态- Specified by:
describeUDBInstanceStatein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBInstanceUpgradePrice
public DescribeUDBInstanceUpgradePriceResponse describeUDBInstanceUpgradePrice(DescribeUDBInstanceUpgradePriceRequest request) throws UCloudException DescribeUDBInstanceUpgradePrice - 获取UDB实例升降级价格信息- Specified by:
describeUDBInstanceUpgradePricein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBLogBackupURL
public DescribeUDBLogBackupURLResponse describeUDBLogBackupURL(DescribeUDBLogBackupURLRequest request) throws UCloudException DescribeUDBLogBackupURL - 获取UDB的日志备份地址- Specified by:
describeUDBLogBackupURLin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBLogPackage
public DescribeUDBLogPackageResponse describeUDBLogPackage(DescribeUDBLogPackageRequest request) throws UCloudException DescribeUDBLogPackage - 列表UDB实例日志备份信息- Specified by:
describeUDBLogPackagein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBParamGroup
public DescribeUDBParamGroupResponse describeUDBParamGroup(DescribeUDBParamGroupRequest request) throws UCloudException DescribeUDBParamGroup - 获取参数信息- Specified by:
describeUDBParamGroupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBSplittingInfo
public DescribeUDBSplittingInfoResponse describeUDBSplittingInfo(DescribeUDBSplittingInfoRequest request) throws UCloudException DescribeUDBSplittingInfo - 描述读写分离功能- Specified by:
describeUDBSplittingInfoin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDBType
public DescribeUDBTypeResponse describeUDBType(DescribeUDBTypeRequest request) throws UCloudException DescribeUDBType - 获取云数据库支持类型- Specified by:
describeUDBTypein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
disableUDBRWSplitting
public DisableUDBRWSplittingResponse disableUDBRWSplitting(DisableUDBRWSplittingRequest request) throws UCloudException DisableUDBRWSplitting - 关闭读写分离功能- Specified by:
disableUDBRWSplittingin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
editUDBBackupBlacklist
public EditUDBBackupBlacklistResponse editUDBBackupBlacklist(EditUDBBackupBlacklistRequest request) throws UCloudException EditUDBBackupBlacklist - 编辑备份黑名单- Specified by:
editUDBBackupBlacklistin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
enableUDBRWSplitting
public EnableUDBRWSplittingResponse enableUDBRWSplitting(EnableUDBRWSplittingRequest request) throws UCloudException EnableUDBRWSplitting - 启用读写分离功能- Specified by:
enableUDBRWSplittingin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
extractUDBParamGroup
public ExtractUDBParamGroupResponse extractUDBParamGroup(ExtractUDBParamGroupRequest request) throws UCloudException ExtractUDBParamGroup - 获取配置文件内容- Specified by:
extractUDBParamGroupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
fetchUDBInstanceEarliestRecoverTime
public FetchUDBInstanceEarliestRecoverTimeResponse fetchUDBInstanceEarliestRecoverTime(FetchUDBInstanceEarliestRecoverTimeRequest request) throws UCloudException FetchUDBInstanceEarliestRecoverTime - 获取最早可回档时间- Specified by:
fetchUDBInstanceEarliestRecoverTimein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUDBClientConnNum
public GetUDBClientConnNumResponse getUDBClientConnNum(GetUDBClientConnNumRequest request) throws UCloudException GetUDBClientConnNum - 获取连接实例客户端Ip和连接数- Specified by:
getUDBClientConnNumin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUDBInstanceSSLCertURL
public GetUDBInstanceSSLCertURLResponse getUDBInstanceSSLCertURL(GetUDBInstanceSSLCertURLRequest request) throws UCloudException GetUDBInstanceSSLCertURL - 获取SSL证书下载地址- Specified by:
getUDBInstanceSSLCertURLin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listUDBMachineType
public ListUDBMachineTypeResponse listUDBMachineType(ListUDBMachineTypeRequest request) throws UCloudException ListUDBMachineType - 获取UDB云数据库计算规格列表- Specified by:
listUDBMachineTypein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listUDBUserTables
public ListUDBUserTablesResponse listUDBUserTables(ListUDBUserTablesRequest request) throws UCloudException ListUDBUserTables - 查看udb实例的用户表集合- Specified by:
listUDBUserTablesin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUDBInstanceName
public ModifyUDBInstanceNameResponse modifyUDBInstanceName(ModifyUDBInstanceNameRequest request) throws UCloudException ModifyUDBInstanceName - 修改云数据库名称- Specified by:
modifyUDBInstanceNamein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUDBInstancePassword
public ModifyUDBInstancePasswordResponse modifyUDBInstancePassword(ModifyUDBInstancePasswordRequest request) throws UCloudException ModifyUDBInstancePassword - 修改DB实例的管理员密码- Specified by:
modifyUDBInstancePasswordin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUDBInstanceRemarkName
public ModifyUDBInstanceRemarkNameResponse modifyUDBInstanceRemarkName(ModifyUDBInstanceRemarkNameRequest request) throws UCloudException ModifyUDBInstanceRemarkName - 修改云数据库备注- Specified by:
modifyUDBInstanceRemarkNamein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUDBInstanceSSL
public ModifyUDBInstanceSSLResponse modifyUDBInstanceSSL(ModifyUDBInstanceSSLRequest request) throws UCloudException ModifyUDBInstanceSSL - 调整SSL的信息- Specified by:
modifyUDBInstanceSSLin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
promoteUDBInstanceToHA
public PromoteUDBInstanceToHAResponse promoteUDBInstanceToHA(PromoteUDBInstanceToHARequest request) throws UCloudException PromoteUDBInstanceToHA - 普通db升级为高可用- Specified by:
promoteUDBInstanceToHAin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
promoteUDBSlave
public PromoteUDBSlaveResponse promoteUDBSlave(PromoteUDBSlaveRequest request) throws UCloudException PromoteUDBSlave - 提升从库- Specified by:
promoteUDBSlavein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
resizeUDBInstance
public ResizeUDBInstanceResponse resizeUDBInstance(ResizeUDBInstanceRequest request) throws UCloudException ResizeUDBInstance - 修改UDB实例的配置- Specified by:
resizeUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartRWSplitting
public RestartRWSplittingResponse restartRWSplitting(RestartRWSplittingRequest request) throws UCloudException RestartRWSplitting - 读写分离中间件重启- Specified by:
restartRWSplittingin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartUDBInstance
public RestartUDBInstanceResponse restartUDBInstance(RestartUDBInstanceRequest request) throws UCloudException RestartUDBInstance - 重启云数据库- Specified by:
restartUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
rollbackUDBInstance
public RollbackUDBInstanceResponse rollbackUDBInstance(RollbackUDBInstanceRequest request) throws UCloudException RollbackUDBInstance - 回档指定库表- Specified by:
rollbackUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUDBRWSplitting
public SetUDBRWSplittingResponse setUDBRWSplitting(SetUDBRWSplittingRequest request) throws UCloudException SetUDBRWSplitting - 设置读写分离- Specified by:
setUDBRWSplittingin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
startUDBInstance
public StartUDBInstanceResponse startUDBInstance(StartUDBInstanceRequest request) throws UCloudException StartUDBInstance - 启动云数据库- Specified by:
startUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
stopUDBInstance
public StopUDBInstanceResponse stopUDBInstance(StopUDBInstanceRequest request) throws UCloudException StopUDBInstance - 关闭云数据库- Specified by:
stopUDBInstancein interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
switchUDBHAToSentinel
public SwitchUDBHAToSentinelResponse switchUDBHAToSentinel(SwitchUDBHAToSentinelRequest request) throws UCloudException SwitchUDBHAToSentinel - UDB高可用实例升级为Sentinel版本(不带HAProxy)升级耗时5-10秒- Specified by:
switchUDBHAToSentinelin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
switchUDBInstanceToHA
public SwitchUDBInstanceToHAResponse switchUDBInstanceToHA(SwitchUDBInstanceToHARequest request) throws UCloudException SwitchUDBInstanceToHA - 普通UDB切换为高可用- Specified by:
switchUDBInstanceToHAin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUDBInstanceBackupStrategy
public UpdateUDBInstanceBackupStrategyResponse updateUDBInstanceBackupStrategy(UpdateUDBInstanceBackupStrategyRequest request) throws UCloudException UpdateUDBInstanceBackupStrategy - 修改UDB自动备份策略- Specified by:
updateUDBInstanceBackupStrategyin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUDBInstanceSlaveBackupSwitch
public UpdateUDBInstanceSlaveBackupSwitchResponse updateUDBInstanceSlaveBackupSwitch(UpdateUDBInstanceSlaveBackupSwitchRequest request) throws UCloudException UpdateUDBInstanceSlaveBackupSwitch - 开启或者关闭UDB从库备份- Specified by:
updateUDBInstanceSlaveBackupSwitchin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUDBParamGroup
public UpdateUDBParamGroupResponse updateUDBParamGroup(UpdateUDBParamGroupRequest request) throws UCloudException UpdateUDBParamGroup - 更新配置- Specified by:
updateUDBParamGroupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
upgradeUDBInstanceToHA
public UpgradeUDBInstanceToHAResponse upgradeUDBInstanceToHA(UpgradeUDBInstanceToHARequest request) throws UCloudException UpgradeUDBInstanceToHA - 快杰普通db升级为高可用- Specified by:
upgradeUDBInstanceToHAin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
upgradeUDBVersion
public UpgradeUDBVersionResponse upgradeUDBVersion(UpgradeUDBVersionRequest request) throws UCloudException UpgradeUDBVersion - 升级db实例版本- Specified by:
upgradeUDBVersionin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
uploadUDBParamGroup
public UploadUDBParamGroupResponse uploadUDBParamGroup(UploadUDBParamGroupRequest request) throws UCloudException UploadUDBParamGroup - 导入配置- Specified by:
uploadUDBParamGroupin interfaceUDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-