请求参数
参数名 | 类型 | 是否必须 | 说明 |
Action | String | 是 | 系统规定参数,取值:CreateReadOnlyAccount |
DrdsInstanceId | String | 是 | DRDS 实例 ID |
DbName | String | 是 | 数据库名 |
password | String | 是 | 只读账户密码 |
返回值
参数名 | 类型 | 描述 |
公共返回值 | ||
DrdsInstanceId | String | DRDS 实例 ID |
DbName | String | DRDS 数据库名 |
AccountName | 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 |
CreateReadOnlyAccount.Failed | Create read only account failed, please try again later | 创建只读账户失败 | 400 |
InvalidInstanceStatus.NotRunning | The Instance is not in running status | 实例不是运行状态 | 400 |
InvalidDbStatus.NotRunning | The drds database is not in running status | 数据库不是运行状态 | 400 |