Network
All operations require authentication.
List gateway modelsProduction
Returns the gateway models with their bandwidth in Mbit/s, read from the OVHcloud commercial catalog. The list holds one entry per model and region: a model sold in several regions appears once per region, with the bandwidth of that region and the region in location. The regions already activated on the project and those the project can activate where a model 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. Models come smallest first, each sorted by region name. Use name as the model when creating a gateway.
Path parameters
Project ID
Query parameters
Optional model filter, for example S
2XL3XLLMSXLOptional 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
Pagination cursor
Pagination size
Response
Bandwidth in Mbit/s
Region where the model 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
Model name, to use as the model when creating a gateway
2XL3XLLMSXLExample uses projectId = string
$ curl https:/ / api.eu.ovhcloud.com/ v2/ publicCloud/ project/ {projectId}/ reference/ gateway/ model \
-H "authorization: Bearer $OVH_TOKEN"[ { "bandwidth": 0, "location": { "availabilityZones": [ "string" ], "region": "string", "regionActivated": true }, "name": "2XL" }]
List load balancer flavorsProduction
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
Project ID
Query parameters
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
Pagination cursor
Pagination size
Response
Bandwidth in Mbit/s
Number of new connections per second the load balancer handles
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
Flavor name, to use as the flavor name when creating a load balancer, for example SMALL
LARGEMEDIUMSMALLXLNumber 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"[ { "bandwidth": 0, "connectionsPerSecond": 0, "location": { "availabilityZones": [ "string" ], "region": "string", "regionActivated": true }, "name": "LARGE", "requestsPerSecond": 0 }]