Querying a Disk Attached to an ECS (Discarded)
Function
This API is used to query a disk attached to an ECS based on the disk ID.
This API has been discarded. Use the API described in Querying a Single Disk Attached to an ECS.
URI
GET /v2.1/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id}
Parameter |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
server_id |
Yes |
Specifies the ECS ID. |
volume_id |
Yes |
Specifies the disk ID. |
Request
None
Response
Example Request
Query details about a disk attached to an ECS based on the specified disk ID.
GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id}
Example Response
{ "volumeAttachment": { "device": "/dev/sdd", "id": "a26887c6-c47b-4654-abb5-dfadf7d3f803", "serverId": "4d8c3732-a248-40ed-bebc-539a6ffd25c0", "volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803" } }
Returned Values
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot