検討中のお客様はこちら

0120-50-6065

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

お申し込み

ボリューム詳細一覧取得

Description

詳細なボリューム一覧を取得します。

Request URL

Block Storage API v2

GET /v2/{tenant_id}/volumes/detail

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情報を確認する にてご確認ください。

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/detail
  • Response
HTTP/1.1 200 OK
Date: Fri, 07 Aug 2020 08:14:49 GMT
Server: Apache
Content-Length: 2163
Content-Type: application/json

{
  "volumes": [
    {
      "status": "available",
      "user_id": "ユーザーID",
      "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",
      "bootable": "false",
      "encrypted": false,
      "created_at": "2020-08-07T03:54:49.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": {},
      "id": "ボリュームID",
      "size": 50
    },
    {
      "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": {
        "dst": "CentOS-8.0-AUTO-64bit",
        "bootable": "true",
        "checksum": "4afce0e87999b7184e5ee301978a1147",
        "hw_qemu_guest_agent": "yes",
        "disk_format": "qcow2",
        "image_name": "イメージ名",
        "image_id": "イメージID",
        "min_ram": "0",
        "container_format": "ovf",
        "min_disk": "50",
        "os_type": "lin",
        "display_order": "100",
        "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"
    }
  ]
}