cURL
curl --request GET \ --url https://rest.compute.cudo.org/v1/projects/{projectId}/disks/{id} \ --header 'Authorization: <api-key>'
{ "disk": { "dataCenterId": "<string>", "id": "<string>", "projectId": "<string>", "sizeGib": 123, "createTime": "2023-11-07T05:31:56Z", "diskState": "UNKNOWN", "diskType": "DISK_TYPE_UNKNOWN", "privateImageId": "<string>", "publicImageId": "<string>", "vmId": "<string>" } }
Retrieves the details of a virtual machine disk.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes