curl --request GET \
--url https://api.gcore.com/cloud/v3/gpu/virtual/{project_id}/{region_id}/flavors \
--header 'Authorization: <api-key>'
{
"count": 1,
"results": [
{
"architecture": "x86_64",
"capacity": 1,
"disabled": false,
"hardware_description": {
"gpu": "1x NVIDIA 11GB",
"ram": 2048,
"vcpus": 1
},
"hardware_properties": {
"gpu_count": 123,
"gpu_manufacturer": "<string>",
"gpu_model": "<string>"
},
"name": "g1-gpu-1-2-1"
}
]
}
curl --request GET \
--url https://api.gcore.com/cloud/v3/gpu/virtual/{project_id}/{region_id}/flavors \
--header 'Authorization: <api-key>'
{
"count": 1,
"results": [
{
"architecture": "x86_64",
"capacity": 1,
"disabled": false,
"hardware_description": {
"gpu": "1x NVIDIA 11GB",
"ram": 2048,
"vcpus": 1
},
"hardware_properties": {
"gpu_count": 123,
"gpu_manufacturer": "<string>",
"gpu_model": "<string>"
},
"name": "g1-gpu-1-2-1"
}
]
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Project ID
1
Region ID
7
Set to true
to remove the disabled flavors from the response.
true
Set to true
if the response should include flavor prices.
true
OK
The response is of type object
.
Was this page helpful?