获取云数据库状态-DescribeUDBInstanceState
获取UDB实例状态
Request Parameters
Response Elements
Parameter name | Type | Description | Required |
RetCode | int | 操作返回码 | Yes |
Action | string | 操作名称 | Yes |
State | string | DB状态标记 Init:初始化中;Fail:安装失败; Starting:启动中; Running : 运行 ;Shutdown:关闭中; Shutoff :已关闭; Delete:已删除; Upgrading:升级中; Promoting: 提升为独库进行中; Recovering: 恢复中; Recover fail:恢复失败。 | No |
Request Example
http(s)://api.ucloud.cn/?Action=DescribeUDBInstanceState &Region=cn-bj2 &DBId=00f9868c-c7f5-4852-9eac-d200b678f0e1
Response Example
{ "Action": "DescribeUDBInstanceStateResponse", "RetCode": 0, "State": "Running" }