Bare Metal
List flavors matching image requirements
List all flavors that are suitable for creating a bare metal server with the specified image.
post/cloud/v1/bminstances/{project_id}/{region_id}/available_flavors
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
region_idinteger required
Region ID
Example:1
Region ID
Query parameters
include_pricesboolean
Set to true if flavor listing should include flavor prices.
Set to true if flavor listing should include flavor prices.
Request body
Example request
{
"apptemplate_id": "tf2server",
"image_id": "b5b4d65d-945f-4b98-ab6f-332319c724ef"
}Response
OK
Example response
{
"count": 1,
"results": [
{
"architecture": "x86_64",
"capacity": 1,
"currency_code": "USD",
"flavor_id": "g2-standard-32-64",
"flavor_name": "g2-standard-32-64",
"os_type": "linux",
"ram": 2048,
"reserved_capacity": 5,
"resource_class": "bm1-ai-small",
"vcpus": 1
}
]
}