cURL
curl --request GET \ --url https://api.gcore.com/cloud/v3/gpu/virtual/{project_id}/{region_id}/clusters/{cluster_id}/volumes \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "bootable": true, "created_at": "2023-11-07T05:31:56Z", "id": "<string>", "name": "<string>", "root_fs": true, "server_id": "<string>", "size": 123, "status": "attaching", "tags": [ { "key": "<string>", "read_only": true, "value": "<string>" } ], "type": "<string>" } ] }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
1
Region ID
7
Cluster unique identifier
"1aaaab48-10d0-46d9-80cc-85209284ceb4"
OK
Number of objects
x >= 0
Objects
Show child attributes
Was this page helpful?