Skip to content

Service references

All operations require authentication.

1 operationv2/publicCloud/project
Agent setup

List load balancer flavorsProduction

GET
/v2/publicCloud/project/{projectId}/reference/loadbalancer/flavor

Returns the load balancer flavors with their bandwidth in Mbit/s, new connections per second and HTTP requests per second, read from the OVHcloud commercial catalog of the project's billing country. The list holds one entry per flavor and region: a flavor sold in several regions appears once per region, with the figures of that region and the region in location. The regions already activated on the project and those the project can activate where a flavor is sold are both listed. location.regionActivated on each entry tells which regions must be activated on the project before use. location.availabilityZones lists the availability zones of the region, for example eu-west-par-a, eu-west-par-b and eu-west-par-c, and is empty for a single-AZ region. Flavors come smallest first, each sorted by region name. Use name as the flavor name when creating a load balancer.

Path parameters

projectId
required
string

Project ID

Query parameters

region
string

Optional region filter, case-insensitive. Keeps the entries of this region only. A region that does not exist is rejected. One the project can neither use nor activate returns an empty list.

Headers

X-Pagination-Cursor
string

Pagination cursor

X-Pagination-Size
integer

Pagination size

Response

200Flavor[]successful operation
bandwidth
read-only
integer

Bandwidth in Mbit/s

connectionsPerSecond
read-only
integer

Number of new connections per second the load balancer handles

location
read-only
Location

Region where the flavor is sold to the project, whether that region is already activated on the project (regionActivated), and the availability zones of that region (availabilityZones), empty for a single-AZ region

name
read-only
LoadbalancerFlavorNameEnum

Flavor name, to use as the flavor name when creating a load balancer, for example SMALL

ValuesLARGEMEDIUMSMALLXL
requestsPerSecond
read-only
integer

Number of HTTP requests per second the load balancer handles

Example uses projectId = string

$ curl https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/reference/loadbalancer/flavor \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "bandwidth": 0, "connectionsPerSecond": 0, "location": { "availabilityZones": [ "string" ], "region": "string", "regionActivated": true }, "name": "LARGE", "requestsPerSecond": 0 }]