cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/instances/{project_id}/{region_id}/{instance_id}/available_flavors \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "architecture": "<string>", "disabled": true, "flavor_id": "<string>", "flavor_name": "<string>", "os_type": "<string>", "ram": 123, "vcpus": 123, "capacity": 1, "currency_code": "USD", "hardware_description": {}, "price_per_hour": 1, "price_per_month": 720, "price_status": "show" } ] }
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
Region ID
Instance ID
Set to true if flavor listing should include flavor prices
List of available flavors
Number of objects
x >= 0
Objects
Show child attributes
Flavor architecture type
Disabled flavor flag
Flavor ID is the same as name
Flavor name
Flavor operating system
RAM size in MiB
Virtual CPU count. For bare metal flavors, it's a physical CPU count
Number of available instances of given configuration
1
Currency code. Shown if the include_prices query parameter if set to true
include_prices
"USD"
Additional hardware description
Price per hour. Shown if the include_prices query parameter if set to true
Price per month. Shown if the include_prices query parameter if set to true
720
Price status for the UI
error
hide
show
"show"
Was this page helpful?