推特 阿里云技术文档正文

修改只读账户密码_数据库管理类 API_2017-10-16版本_API参考_分布式关系型数据库 DRDS

admin 阿里云技术文档 2020-02-11 178 0
阿里云服务器优惠

修改只读账户密码

功能描述

修改 DRDS 数据库的只读账户的密码。

请求参数

参数名 类型 是否必须 说明
Action String 系统规定参数,取值:ModifyReadOnlyAccountPassword
DrdsInstanceId String DRDS 实例 ID
DbName String 数据库名
AccountName String 只读帐户名
OriginPassword String 只读账户旧密码
NewPassword String 只读账户新密码

返回值

无公共返回值

错误码

错误码 报错信息 错误描述 HTTP 状态码
InvalidDrdsInstanceId.NotFound The DrdsInstanceId provided does not exist in our records. 实例不存在 404
InvalidDbName.NotFound The Drds DbName provided does not exist in our records. 数据库不存在 404
InvalidParameter.Mismatch The specified parameter does not match. 参数错误 400
InvalidPassword.MalFormed The specified parameter password is not valid 密码格式错误 400
OperationDenied.DrdsInstanceUpgrading The drds instance is upgrading, please try again later 实例正在变配中 400
UpdateDbUserPassword.Failed Update password failed, Please try again later 修改只读账户密码失败 400
InvalidReadOnlyAccount.NotFound read only account not found 无效的只读账户 400
InvalidPassword.MalFormed The specified parameter password is not valid 原密码输入错误 400
InvalidInstanceStatus.NotRunning The Instance is not in running status 实例不是运行状态 400
InvalidDbStatus.NotRunning The drds database is not in running status 数据库不是运行状态 400
版权声明

本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。

评论

-----