获取实例备份状态-DescribeUDBInstanceBackupState

获取UDB实例备份状态

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域, 参见 地域和可用区列表Yes
Zonestring可用区, 参见 可用区列表Yes
BackupIdint备份记录IDYes
ProjectIdstring项目编号No
BackupZonestring跨可用区高可用备库所在可用区,参见[可用区列表]No

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
Statestring备份状态 0 Backuping 备份中 1 Success 备份成功 2 Failed 备份失败 3 Expired 备份过期No

Request Example

http(s)://api.ucloud.cn/?Action=DescribeUDBInstanceBackupState
&Region=cn-bj2
&BackupId=8880

Response Example

{
    "Action": "DescribeUDBInstanceBackupStateResponse",
    "State": "2",
    "RetCode": 0
}