MENU
ボリュームタイプ一覧取得 - Block Storage API v2
Description
tenant_id を指定しボリュームタイプを取得
Request URL
Block Storage API v2 GET /v2/{tenant_id}/types
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | header | トークンID | |
tenant_id | URI | テナントID |
Normal response codes
OK (200)
Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。
- REQ
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://block-storage.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/types
- RES
HTTP/1.1 200 OK Date: Tue, 09 Dec 2014 04:29:00 GMT Server: Apache Content-Length: 248 Content-Type: application/json { "volume_types": [ { "extra_specs": { "volume_backend_name": "SAMPLE_VOLUME_TYPE" }, "name": "SAMPLE_VOLUME_TYPE", "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" } ] }