GET
/
cloud
/
v1
/
bm_reservation_flavors
/
{region_id}
curl --request GET \
  --url https://api.gcore.com/cloud/v1/bm_reservation_flavors/{region_id} \
  --header 'APIKey: <api-key>'
{
  "count": 1,
  "results": [
    {
      "flavor_id": "g1-gpu-1-2-1",
      "flavor_name": "g1-gpu-1-2-1",
      "disabled": false,
      "hardware_description": {
        "gpu": "1x NVIDIA 11GB"
      },
      "ram": 2048,
      "vcpus": 1,
      "activity_period": "month",
      "activity_period_length": [
        12,
        36
      ],
      "available_count": 23
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

region_id
integer
required

Region ID

Query Parameters

client_id
integer

Client identifier. Must be used for users w/o client_id in jwt

disabled
boolean

Flag for filtering disabled flavors in the region. Defaults to true

ensure_cached
string

None

windows_os
boolean

Set to true to get only flavors with Windows OS, false to get only with Linux OS, None option to without the OS filter. Defaults to none.

Response

200 - application/json

List of bare metal flavors

The response is of type object.