3.43.3. Show volume attachment details

 
MethodURIDescription
GET/v2/{tenant_id}/servers/{server_id}/os-volume_attachments/{attachment_id}

Shows details for the specified volume attachment.

Normal response codes: 202

Error response codes: computeFault (400, 500, ), serviceUnavailable (503), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), itemNotFound (404), badMediaType (415), buildInProgress (409)

 3.43.3.1. Request

This table shows the URI parameters for the show volume attachment details request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{server_id}

​U​U​ID

The UUID for the server of interest to you.

{attachment_id}

​String

Volume attachment ID.

This operation does not require a request body.

 3.43.3.2. Response

 

Example 3.372. Show volume attachment details: XML response

<?xml version='1.0' encoding='UTF-8'?>
<volumeAttachment device="/dev/sdd" serverId="20f12907-3993-44f7-a680-d51e2ceedbd9" id="a26887c6-c47b-4654-abb5-dfadf7d3f803" volumeId="a26887c6-c47b-4654-abb5-dfadf7d3f803"/>

 

Example 3.373. Show volume attachment details: JSON response

{
    "volumeAttachment": {
        "device": "/dev/sdd",
        "id": "a26887c6-c47b-4654-abb5-dfadf7d3f803",
        "serverId": "2390fb4d-1693-45d7-b309-e29c4af16538",
        "volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803"
    }
}

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


loading table of contents...