云硬盘备份 VBS-查询指定备份共享详情:响应

时间:2025-02-12 14:56:06

响应

  • 要素说明

    参数

    参数类型

    描述

    shared

    dict

    备份共享信息。

    backup_id

    string

    源备份ID。

    created_at

    string

    备份共享的创建时间。

    from_project_id

    string

    共享的项目ID。

    id

    string

    备份共享ID。

    to_project_id

    string

    被共享的项目ID。

    updated_at

    string

    备份共享的更新时间。

    backup

    dict

    源备份的详细信息。

    availability_zone

    string

    备份所在的可用分区。

    container

    string

    备份所在的容器。

    created_at

    string

    备份创建的时间。

    data_timestamp

    string

    当前时间。

    description

    string

    备份描述。

    fail_reason

    string

    备份失败的原因。

    has_dependent_backup

    boolean

    是否有依赖的备份,VBS默认首次全量备份,后续增量备份,故该参数无实际作用。

    id

    string

    备份ID。

    is_incremental

    boolean

    是否是增量备份,VBS默认首次全量备份,后续增量备份,故该参数无实际作用。

    name

    string

    备份名称。

    object_count

    int

    磁盘数据在对象存储上对应的对象数量。

    size

    int

    备份大小。

    snapshot_id

    string

    关联的快照ID。

    status

    string

    备份状态。

    updated_at

    string

    更新时间。

    volume_id

    string

    备份源磁盘ID。

    service_metadata

    string

    备份的元数据。

  • 响应样例
    {    "shared": {        "backup": {            "availability_zone": "AZ1",            "container": null,            "created_at": "2017-08-08T04:03:27.000000",            "data_timestamp": "2017-08-08T04:03:27.000000",            "description": null,            "fail_reason": "Invalid InitiatorConnector protocol specified DSWARE",            "has_dependent_backups": null,            "id": "066b1e37-9305-4057-97e5-2e99b21fc71d",            "is_incremental": null,            "name": "lbf",            "object_count": 0,            "size": 1,            "snapshot_id": null,            "status": "available",            "updated_at": "2017-08-16T07:24:24.786297",            "volume_id": "a7d7783f-02b7-4645-b0e3-61df63f0ba10",            "service_metadata": null        },        "backup_id": "066b1e37-9305-4057-97e5-2e99b21fc71d",        "created_at": "2017-08-22T08:43:16.699374",        "from_project_id": "c13f5220dc1949b0b741ea81a7cd5554",        "id": "8332443e-9866-41d8-8a58-a898cf5db030",        "to_project_id": "722513ed0a324dadaabe5b2d0fe848c9",        "updated_at": null    }}
support.huaweicloud.com/api-vbs/zh-cn_topic_0078214155.html