cURL
curl --request GET \ --url https://rest.compute.cudo.org/v1/projects/{projectId}/disks \ --header 'Authorization: <api-key>'
{ "pageNumber": 123, "pageSize": 123, "totalCount": 123, "disks": [ { "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>" } ] }
Lists virtual machine disks in a project.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes
UNKNOWN
ATTACHED
CLONING
CREATING
DELETING
DISABLED
FAILED
READY
UPDATING
DISK_TYPE_UNKNOWN
DISK_TYPE_BOOT
DISK_TYPE_STORAGE