ボリューム詳細取得

Description

ボリュームの詳細情報を取得します。

Request URL

Block Storage Service API v2

GET v2/{tenant_id}/volumes/{volume_id}

Request Json

This operation does not accept a request body.

Request Parameters

Parameter Value Style Description
X-Auth-Token トークンID header トークン発行 にて払い出されたID
tenant_id テナントID URI コントロールパネルにてAPI情報をご確認ください。
volume_id ボリュームID URI ボリューム一覧取得 にて対象のボリュームIDをご確認ください。

Response

  • Normal response codes
200

Example

  • Request
curl -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: トークンID" \
ボリュームエンドポイント/volumes/ボリュームID
  • Response
{
    "volume": {
            "status": "available",
            "user_id": "ユーザーID",
            "attachments": [],
            "links": [
                {
                    "href": "ボリュームエンドポイント/volumes/ボリュームID",
                    "rel": "self"
                },
                {
                    "href": "https://block-service-r4nd1001.app-sys.jp/テナントID/volumes/ボリュームID",
                    "rel": "bookmark"
                }
            ],
            "availability_zone": "nova",
            "bootable": "false",
            "encrypted": false,
            "created_at": "2018-03-29T02:39:52.000000",
            "description": null,
            "os-vol-tenant-attr:tenant_id": "テナントID",
            "os-volume-replication:driver_data": null,
            "volume_type": "ボリュームタイプ名",
            "name": "ディスク名",
            "replication_status": "disabled",
            "consistencygroup_id": null,
            "source_volid": null,
            "snapshot_id": null,
            "os-volume-replication:extended_status": null,
            "metadata": {
                "readonly": "False"
            },
            "id": "ボリュームID",
            "size": 50
        }
}

Internet for everyone

Copyright (c) 2024 GMO Internet Group, Inc. All Rights Reserved.