Description

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

Request URL

Volume API

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 path テナントIDを指定します。

Response Code

Success

200

Example

Request

curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: トークンID" \
https://block-storage.tyo1.conoha.io/v2/テナントID/volumes/detail

Response

HTTP/1.1 200 OK
Date: Tue, 09 Dec 2014 05:38:55 GMT
Server: Apache
Content-Length: 2362
Content-Type: application/json

{
    "volumes": [
        {
            "attachments": [
                {
                    "device": "/dev/vdd",
                    "host_name": null,
                    "id": "9bcd5857-37d1-4c2f-9f16-6d2f6e3ec115",
                    "server_id": "e25b3611-96df-4514-a54b-e729aec48dc1",
                    "volume_id": "9bcd5857-37d1-4c2f-ef16-6d2f6e3cc115"
                }
            ],
            "availability_zone": "nova",
            "bootable": "false",
            "consistencygroup_id": null,
            "created_at": "2015-05-08T07:49:35.000000",
            "description": null,
            "encrypted": false,
            "id": "9bcd5857-37d1-4c2f-9f16-6def6e3cc115",
            "links": [
                {
                    "href": "https://block-storage.tyo1.conoha.io/v2/1864e71d3deb46f6b47526b69c65a45d/volumes/8bcd5857-37d1-4c2f-9f16-6d2f6e3cc115",
                    "rel": "self"
                },
                {
                    "href": "https://block-storage.tyo1.conoha.io/1864e71d3deb46f6b47526b69c65a45d/volumes/8bcd5857-37d1-4c2f-9f16-6d2f6e3cc115",
                    "rel": "bookmark"
                }
            ],
            "metadata": {
                "attached_mode": "rw",
                "readonly": "False"
            },
            "name": "adddisk-vps-2015-05-08-09-59-ADD0G",
            "os-vol-tenant-attr:tenant_id": "1864e71d2deb46f6347526b69c65a45d",
            "os-volume-replication:driver_data": null,
            "os-volume-replication:extended_status": null,
            "replication_status": "disabled",
            "size": 200,
            "snapshot_id": null,
            "source_volid": null,
            "status": "in-use",
            "user_id": "068ae7141b3a4e15b3bb8b9ca177e9d3",
            "volume_type": "SAMPLE_VOLUME_TYPE"
        },
        {
            "attachments": [],
            "availability_zone": "nova",
            "bootable": "false",
            "consistencygroup_id": null,
            "created_at": "2015-05-07T10:54:12.000000",
            "description": null,
            "encrypted": false,
            "id": "ba21d324-84ea-441d-909b-ce235ba95346",
            "links": [
                {
                    "href": "https://block-storage.tyo1.conoha.io/v2/1864e71d2deb46f6b47523b69c65a45d/volumes/ba23d324-84ea-441d-909b-ce235ba95346",
                    "rel": "self"
                },
                {
                    "href": "https://block-storage.tyo1.conoha.io/1864e71d2deb46f6b47526369c65a45d/volumes/ba23d324-84ea-441d-909b-ce235ba95346",
                    "rel": "bookmark"
                }
            ],
            "metadata": {},
            "name": "adddisk-vps-2015-05-07-19-52",
            "os-vol-tenant-attr:tenant_id": "1864e71d2deb46f6347526b69c65a45d",
            "os-volume-replication:driver_data": null,
            "os-volume-replication:extended_status": null,
            "replication_status": "disabled",
            "size": 200,
            "snapshot_id": null,
            "source_volid": null,
            "status": "available",
            "user_id": "068ae7141b3a4e15be3b8b9ca177e9d3",
            "volume_type": "SAMPLE_VOLUME_TYPE"
        },
        {
            "attachments": [
                {
                    "device": "/dev/vdb",
                    "host_name": null,
                    "id": "a86e6a45-1c8b-43e5-9411-a796220b719b",
                    "server_id": "efbc4dea-e3e3-4890-883c-9a7a5ca9e105",
                    "volume_id": "a86e6a45-1c8b-43e5-9411-a796220b719b"
                }
            ],
            "availability_zone": "nova",
            "bootable": "false",
            "consistencygroup_id": null,
            "created_at": "2015-05-07T10:27:56.000000",
            "description": null,
            "encrypted": false,
            "id": "a86e6a45-1c8b-4ae5-9411-a796220b719b",
            "links": [
                {
                    "href": "https://block-storage.tyo1.conoha.io/v2/1864e31d2deb46f6b47526b69c65a45d/volumes/a86e6a45-1c8b-4ae5-9411-a796220b719b",
                    "rel": "self"
                },
                {
                    "href": "https://block-storage.tyo1.conoha.io/1864e31d2deb46f6b47526b69c65a45d/volumes/a86e6a45-1c8b-4ae5-9411-a796220b719b",
                    "rel": "bookmark"
                }
            ],
            "metadata": {
                "attached_mode": "rw",
                "readonly": "False",
                "vollock": "False"
            },
            "name": "adddisk-vps-2015-05-07-19-27",
            "os-vol-tenant-attr:tenant_id": "1864e71d2deb46f3b47526b69c65a45d",
            "os-volume-replication:driver_data": null,
            "os-volume-replication:extended_status": null,
            "replication_status": "disabled",
            "size": 500,
            "snapshot_id": null,
            "source_volid": null,
            "status": "in-use",
            "user_id": "068ae7141b3a4e153ebb8b9ca177e9d3",
            "volume_type": "SAMPLE_VOLUME_TYPE"
        },
        {
            "attachments": [
                {
                    "device": "/dev/vdb",
                    "host_name": null,
                    "id": "997d6052-4b17-4500-8d41-c08fb9667aae",
                    "server_id": "6d9e8d64-236d-3057-a899-f4cf797405cf",
                    "volume_id": "997d6052-4b17-4500-8d31-c08fb9667aae"
                }
            ],
            "availability_zone": "nova",
            "bootable": "false",
            "consistencygroup_id": null,
            "created_at": "2015-05-07T09:22:48.000000",
            "description": null,
            "encrypted": false,
            "id": "997d6052-4b17-4500-8d31-c08fb9667aae",
            "links": [
                {
                    "href": "https://block-storage.tyo1.conoha.io/v2/1864e71d2deb42f6b47526b69c65a45d/volumes/997d6052-4b17-4500-8h41-c08fb9667aae",
                    "rel": "self"
                },
                {
                    "href": "https://block-storage.tyo1.conoha.io/1864e71d2deb46f6b47526b59c65a45d/volumes/997d6052-4b17-4500-8h41-c08fb9667aae",
                    "rel": "bookmark"
                }
            ],
            "metadata": {
                "attached_mode": "rw",
                "readonly": "False",
                "vollock": "False"
            },
            "name": "adddisk-vps-2015-05-07-18-22",
            "os-vol-tenant-attr:tenant_id": "1864e71d2deb46f6r47526b69c65a45d",
            "os-volume-replication:driver_data": null,
            "os-volume-replication:extended_status": null,
            "replication_status": "disabled",
            "size": 200,
            "snapshot_id": null,
            "source_volid": null,
            "status": "in-use",
            "user_id": "068ae7141b3a4e15bebr8b9ca177e9d3",
            "volume_type": "SAMPLE_VOLUME_TYPE"
        }
    ]
}

ConoHaにて提供しておりますAPIにつきましては、クラウド基盤として採用しておりますOpenStackの機能にて実装しておりますので、詳細な情報や使い方はOpenStackのドキュメントにてご確認ください。