This interface is used to query information about a single disk attached to a BMS based on the disk ID.
GET /v2.1/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id}
Table 1 lists the parameters.
N/A
Parameter |
Type |
Description |
---|---|---|
volumeAttachment |
Dictionary data structure [1] |
Specifies information about the EVS disk attached to a BMS. |
[1] volumeAttachment field data structure description
Parameter |
Type |
Description |
---|---|---|
device |
String |
Specifies the directory to which the disk is mounted. |
id |
String |
Specifies the ID of the attached resource. |
serverId |
String |
Specifies the ID of the BMS to which the disk is attached. |
volumeId |
String |
Specifies the ID of the disk attached to the BMS. |
{ "volumeAttachment": { "device": "/dev/vdb", "serverId": "820abbd0-2d8e-4bc5-ae46-69cacfd4fbaa", "id": "b53f23bd-ee8f-49ec-9420-d1acfeaf91d6", "volumeId": "b53f23bd-ee8f-49ec-9420-d1acfeaf91d6" } }
See section Common Returned Values.