検討中のお客様はこちら

0120-50-6065

10:00〜19:00
土日祝、年末年始除く

お申し込み

ボリューム詳細取得

Description

指定したボリュームの詳細を取得します。

Request URL

Block Storage 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 Userトークン header トークン発行 にて払い出されたID
tenant_id テナントID URI API情報を確認する にてご確認ください。
volume_id ボリュームID URI ボリューム詳細一覧取得 にてご確認ください。

Response

  • Normal response codes
200

Example

  • Request
curl -i -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Auth-Token: トークンID" \
https://block-storage.gpu-sys.cloud/v2/テナントID/volumes/ボリュームID
  • Response
HTTP/1.1 200 OK
Date: Fri, 07 Aug 2020 09:01:05 GMT
Server: Apache
Content-Length: 1272
Content-Type: application/json

{
  "volume": {
    "attachments": [],
    "links": [
      {
        "href": "https://block-storage.gpu-sys.cloud/v2/テナントID/volumes/ボリュームID",
        "rel": "self"
      },
      {
        "href": "https://block-storage.gpu-sys.cloud/テナントID/volumes/ボリュームID",
        "rel": "bookmark"
      }
    ],
    "availability_zone": "nova",
    "encrypted": false,
    "os-volume-replication:extended_status": null,
    "volume_type": "ボリュームタイプ名",
    "snapshot_id": null,
    "id": "ボリュームID",
    "size": 50,
    "user_id": "ユーザーID",
    "os-vol-tenant-attr:tenant_id": "テナントID",
    "metadata": {},
    "status": "available",
    "volume_image_metadata": {
      "bootable": "true",
      "container_format": "ovf",
      "hw_qemu_guest_agent": "yes",
      "disk_format": "qcow2",
      "image_name": "イメージ名",
      "image_id": "イメージID",
      "display_order": "100",
      "min_ram": "0",
      "checksum": "4afce0e87999b7184e5ee301978a1147",
      "min_disk": "50",
      "os_type": "lin",
      "dst": "CentOS-8.0-AUTO-64bit",
      "size": "2510290944"
    },
    "description": null,
    "source_volid": null,
    "consistencygroup_id": null,
    "name": "ボリューム名",
    "bootable": "true",
    "created_at": "2020-08-07T03:53:34.000000",
    "os-volume-replication:driver_data": null,
    "replication_status": "disabled"
  }
}