ボリューム詳細一覧取得
Description
ボリュームの詳細情報を一覧で取得します。
Request URL
Block Storage Service 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 | トークンID | header | トークン発行 にて払い出されたID |
tenant_id | テナントID | URI | コントロールパネルにてAPI情報をご確認ください。 |
Response
-
Normal response codes
200
Example
-
Request
curl -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: トークンID" \ ボリュームエンドポイント/volumes/detail
-
Response
{ "volumes": [ { "attachments": [ { "host_name": null, "device": "/dev/vda", "server_id": "サーバーID", "id": "ボリュームID", "volume_id": "ボリュームID" } ], "links": [ { "href": "ボリュームエンドポイント/volumes/ボリュームID", "rel": "self" }, { "href": "https://block-service-r4nd1001.app-sys.jp/テナントID/volumes/ボリュームID", "rel": "bookmark" } ], "availability_zone": "nova", "encrypted": false, "os-volume-replication:extended_status": null, "volume_type": "ボリュームタイプ名", "snapshot_id": null, "id": "ボリュームID", "size": 100, "user_id": "ユーザーID", "os-vol-tenant-attr:tenant_id": "テナントID", "metadata": { "readonly": "False", "attached_mode": "rw" }, "status": "in-use", "volume_image_metadata": { "dst": "CentOS-7.4-AUTO-64bit", "bootable": "true", "checksum": "5ba2ceb10031ec0de1ca3b6da2a62fc2", "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": "2256666624" }, "description": null, "source_volid": null, "consistencygroup_id": null, "name": "ディスク名", "bootable": "true", "created_at": "2018-03-29T02:41:02.000000", "os-volume-replication:driver_data": null, "replication_status": "disabled" }, { "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 } ] }