Bare Metal

Get bare metal capacity from default project

Changed on

Get the number of available bare metal nodes without client's reservations in the default project.

get/cloud/v2/bmcapacity/{region_id}

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/cloud/v2/bmcapacity/{region_id}
  • Auth
    HTTP apikey

Path parameters

region_idinteger required

Region ID

Example:4

Response

OK

capacityobject required

Bare metal capacity. Keys are flavor names, values are available node counts.

reserved_capacityobject required

Reserved capacity. Keys are flavor names, values are reserved node counts.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the query request parameter client_id

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status