请求参数
参数名 | 类型 | 是否必须 | 说明 |
Action | String | 是 | 系统规定参数,取值:CreateDrdsAccount |
DrdsInstanceId | String | 是 | DRDS 实例 ID |
DbName | String | 否 | 数据库名,默认不传则所有逻辑库中均建立账号 |
password | String | 是 | 读写账户密码 |
返回值
参数名 | 类型 | 描述 |
公共返回值 | ||
Success | Boolean | 创建结果,true表示成功,false表示失败 |
错误码
错误码 | 报错信息 | 错误描述 | 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 |
CreateAccount.Failed | Create 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 |