更新时间:2025-11-12 GMT+08:00
分享

获取可恢复的备份详情 - ShowRestoreBackups

功能介绍

获取可恢复的备份详情

授权信息

账号具备所有API的调用权限,如果使用账号下的IAM用户调用当前API,该IAM用户需具备调用API所需的权限。

  • 如果使用角色与策略授权,具体权限要求请参见权限和授权项
  • 如果使用身份策略授权,当前API调用无需身份策略权限。

URI

GET /v2/{project_id}/huaweicloudchain/restore/backups/{backup_id}

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

项目ID

backup_id

String

备份ID

请求参数

表2 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

用户Token

响应参数

状态码:200

表3 响应Body参数

参数

参数类型

描述

id

String

备份id

name

String

备份名称

instance_id

String

实例id

instance_name

String

实例名称

instance_edition

String

实例版本类型

instance_consensus

String

实例共识

instance_sign_algorithm

String

实例签名算法

instance_org

String

组织信息

enterprise_project_id

String

企业项目id

enterprise_project_name

String

企业项目名称

status

String

状态

reason

String

失败原因

type

String

备份方式

create_time

String

备份时间

状态码:400

表4 响应Body参数

参数

参数类型

描述

code

String

状态码

error_code

String

错误码

error_msg

String

错误信息

message

String

错误详细信息

状态码:401

表5 响应Body参数

参数

参数类型

描述

code

String

状态码

error_code

String

错误码

error_msg

String

错误信息

message

String

错误详细信息

状态码:403

表6 响应Body参数

参数

参数类型

描述

code

String

状态码

error_code

String

错误码

error_msg

String

错误信息

message

String

错误详细信息

状态码:500

表7 响应Body参数

参数

参数类型

描述

code

String

状态码

error_code

String

错误码

error_msg

String

错误信息

message

String

错误详细信息

请求示例

响应示例

状态码:200

请求成功

{
  "id" : "string",
  "name" : "string",
  "instance_id" : "string",
  "instance_name" : "string",
  "instance_edition" : "string",
  "instance_consensus" : "string",
  "instance_sign_algorithm" : "string",
  "instance_org" : "string",
  "enterprise_project_id" : "string",
  "enterprise_project_name" : "string",
  "status" : "string",
  "reason" : "string",
  "type" : "string",
  "create_time" : "string"
}

状态码

状态码

描述

200

请求成功

400

参数错误

401

鉴权失败

403

权限不足

500

服务器内部错误

相关文档