ボリューム詳細一覧取得
Description
tenant_id を指定し詳細なボリューム一覧を取得します。
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 | Tenant 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.jpt1.cloud.z.com/v2/テナントID/volumes/detail
-
Response
HTTP/1.1 200 OK Date: Thu, 07 Jul 2016 08:50:19 GMT Server: Apache Content-Type: application/json { "volumes": [ { "attachments": [ { "host_name": null, "device": "/dev/vda", "server_id": "サーバーID", "id": "ボリュームID", "volume_id": "ボリュームID" } ], "links": [ { "href": "https://block-storage.jpt1.cloud.z.com/v2/テナントID/volumes/ボリュームID", "rel": "self" }, { "href": "https://block-storage.jpt1.cloud.z.com/テナントID/volumes/ボリュームID", "rel": "bookmark" } ], "availability_zone": "nova", "encrypted": false, "os-volume-replication:extended_status": null, "volume_type": "ボリュームタイプ名", "snapshot_id": null, "id": "ボリュームID", "size": ボリュームサイズ, "user_id": "fe9256e97cbc4b2c8c68743e85311b84", "os-vol-tenant-attr:tenant_id": "テナントID", "metadata": { "readonly": "False", "attached_mode": "rw" }, "status": "in-use", "volume_image_metadata": { "dst": "CentOS-7.2-50GB-64bit", "bootable": "true", "checksum": "4b1a4890e3eee22e2a8e4f89c13a589c", "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": "300", "size": "2088435712" }, "description": null, "source_volid": null, "consistencygroup_id": null, "name": "ボリューム名", "bootable": "true", "created_at": "2016-07-07T06:34:56.000000", "os-volume-replication:driver_data": null, "replication_status": "disabled" } ] }