Description
Request URL
Compute API v2.0
GET /v2/{tenant_id}/servers/{server_id}/os-volume_attachments/{attachment_id}
Request Paramters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | User Token | header | |
| tenant_id | Tenant ID | URI | |
| server_id | Server ID | URI | |
| attachment_id | attachment ID | URI |
Request Json
This operation does not accept a request body.
Normal response codes
200
Example
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://compute.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/servers/6d9e8d64-236d-4057-a899-f4cf797405cf/os-volume_attachments/997d6052-4b17-4500-8d41-c08fb9667aae
HTTP/1.1 200 OK
Date: Fri, 12 Dec 2014 01:24:04 GMT
Server: Apache
Content-Length: 858
Content-Type: application/json
{
"volumeAttachment": {
"device": "/dev/vdb",
"id": "997d6052-4b17-4500-8d41-c08fb9667aae",
"serverId": "6d9e8d64-236d-4057-a899-f4cf797405cf",
"volumeId": "997d6052-4b17-4500-8d41-c08fb9667aae"
}
}