List volume attachments
Method | URI | Description |
---|---|---|
GET | /v2/{tenant_id}/servers/{server_id}/os-volume_attachments | Lists the volume attachments for a specified server. |
Normal response codes: 200
Request
This table shows the URI parameters for the list volume attachments request:
Name | Type | Description |
---|---|---|
{tenant_id} | String | Project ID |
{server_id} | UUID | The UUID for the server of interest to you. |
This operation does not require a request body.
Response
Example. List volume attachments: JSON response
{
"volumeAttachments": [
{
"device": "/dev/sdd",
"id": "a26887c6-c47b-4654-abb5-dfadf7d3f803",
"serverId": "4d8c3732-a248-40ed-bebc-539a6ffd25c0",
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803"
},
{
"device": "/dev/sdc",
"id": "a26887c6-c47b-4654-abb5-dfadf7d3f804",
"serverId": "4d8c3732-a248-40ed-bebc-539a6ffd25c0",
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f804"
}
]
}