Show volume type information

 
MethodURIDescription
GET/v2/{tenant_id}/types/{volume_type_id}

Shows information about a specified volume type.

Normal response codes: 200

 Request

This table shows the URI parameters for the show volume type information request:

NameTypeDescription

{tenant_id}

​String

The unique identifier of the tenant or account.

{volume_type_id}

​U​U​ID

The unique identifier of an existing volume type.

This operation does not require a request body.

 Response

 

Example 3.31. Show volume type information: JSON response

{
   "volume_type":{
      "id":"6685584b-1eac-4da6-b5c3-555430cf68ff",
      "name":"SSD",
      "extra_specs":{
         "capabilities":"gpu"
      }
   }
}

 

Example 3.32. Show volume type information: XML response

<?xml version="1.0" encoding="UTF-8"?>
<volume_type
    xmlns="http://docs.openstack.org/openstack-block-storage/2.0/content"
    id="6685584b-1eac-4da6-b5c3-555430cf68ff" name="SSD">
    <extra_specs>
        <extra_spec key="capabilities">gpu</extra_spec>
    </extra_specs>
</volume_type>

This operation does not return a response body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page