• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Cinder V3 Interfaces
  5. Volumes
  6. Querying EVS Disk Types

Querying EVS Disk Types

Function Description

This interface is used to query the volume type.

Interface Format

Method

URI

Description

GET

/v3/{project_id}/types

Queries the volume type.

Restrictions

N/A

Extension Description

None

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Remarks

id

String

Yes

Specifies the volume ID.

extra_specs

Dict

No

Describes the key-value pair of a volume.

name

String

Yes

Specifies the volume name.

is_public

Boolean

No

Specifies whether a volume is public.

qos_specs_id

String

No

Specifies the qos_specs ID.

description

String

No

Specifies the volume description information.

Request Example

GET https://volume.localdomain.com:8776/v3/2277e19560ec4cee9d5a09f16f43ef82/types

Response Example

{
    "volume_types": [
        {
            "name": "test-type", 
            "qos_specs_id": null, 
            "extra_specs": {}, 
            "is_public": true, 
            "id": "bdcc0031-875f-4a39-b6dc-4f281a2fb874", 
            "description": "my volume type"
        }, 
        {
            "name": "ipsan_t", 
            "qos_specs_id": null, 
            "extra_specs": {"volume_backend_name": "ipsan_t"}, 
            "is_public": true, 
            "id": "dfc8367d-86e0-4858-82ab-dc084038607f", 
            "description": null
        }]
}

Error Code

For details, see section Processing Return Code.