Function as a Service
List flavors
Retrieve a list of available compute flavors for functions. Flavors define CPU and memory resources for function execution.
get/cloud/v1/faas/flavors/{project_id}/{region_id}
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
region_idinteger required
Region ID
Example:1
Region ID
Query parameters
namestring nullable
Function name
Function name
Response
OK
Example response
{
"count": 1,
"results": [
{
"cpu": 128,
"name": "128m-128MB",
"ram": 128
}
]
}