Description
Specify tenant ID and list volume types.
Request URL
Block Storage API v2 GET /v2/{tenant_id}/types
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | header | ||
tenant_id | URI |
Normal response codes
OK (200)
Example
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://block-storage.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/types
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": "gnc_ext_ssd" }, "name": "gnc_ext_ssd", "id": "0a038754-f0ae-4009-aa8f-5f2ef7f375d3" } ] }