功能介绍:查询Redis实例的备份文件信息
GET https://[endpoint].ctapi.ctyun.cn/v1/redisMgr/describeBackups
Content-Type:application/ form-data
URI参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
prodInstId | 873780530431132672 | String | 是 | 实例ID |
返回参数说明:(200)成功
参数名 | 示例值 | 参数类型 | 参数描述 |
code | core.ok | String | 响应码描述 |
returnObj | Object | 响应对象 | |
returnObj.total | 7 | int | 数量 |
returnObj.rows | List<Restore> | 备份文件信息集合,见Restore | |
message | success | String | 响应信息 |
statusCode | 800 | int | 响应状态码 |
Restore:
参数名 | 示例值 | 参数类型 | 参数描述 |
restoreName | 20220820115351 | String | 备份名,来源 describeBackups 或 createBackup |
createTime | 2022-08-20 11:53:51 | String | 创建时间 |
status | success | String | 节点状态 |
backUpnode | Object | 备份节点列表 | |
recoveryStatus | success | String | 备份恢复状态 |
type | 0 | int | 备份类型,0-手动备份 1-自动备份 |
请求示例:
GET https://dcs2-global.ctapi.ctyun.cn/v1/redisMgr/describeBackups?prodInstId=873780530431132672
返回示例:
{ "code": "core.ok", "returnObj": { "total": 7, "rows": [ { "restoreName": "20220820115351", "createTime": "2022-08-20 11:53:51", "status": "success", "backUpnode": null, "recoveryStatus": "success", "type": 0 } ] }, "message": "success", "statusCode": 800 } |