Retrieve a list of flavors for k8s pool.
When the include_prices query parameter is specified, the list shows prices.
A client in trial mode gets all price values as 0. If you get Pricing Error contact the support
GET
/
cloud
/
v1
/
k8s
/
{project_id}
/
{region_id}
/
flavors
Python
Copy
Ask AI
from gcore import Gcoreclient = Gcore( api_key="My API Key",)baremetal_flavor_list = client.cloud.k8s.flavors.list( project_id=0, region_id=0,)print(baremetal_flavor_list.count)