Skip to content

Service references

All operations require authentication.

3 operationsv2/publicCloud/project
Agent setup

Get product availabilityProduction

GET
/v2/publicCloud/project/{projectId}/reference/productAvailability

Product availability

Returns the products available to this Public Cloud project, grouped by product type.

This is read-only reference data: the response is computed from the OVHcloud commercial catalog combined with the project's entitlements and its quota usage. It does not reflect existing resources and triggers no OpenStack call.

The response is an array with one entry per product type, in this order: INSTANCE, VOLUME, LOADBALANCER, GATEWAY, FLOATING_IP, PUBLIC_IP, VOLUME_SNAPSHOT, VOLUME_BACKUP, INSTANCE_SNAPSHOT, SHARE, SHARE_SNAPSHOT, OBJECT_STORAGE, SWIFT. Each type group carries its models. Each model carries the locations where it is sold to the project, in the regions activated on the project and in those the project can activate. Each location reports its availability zones, regionActivated, a quotaStatus with the quota resources that block it (quotaLimitedBy) and, for the INSTANCE type only, a stockStatus per availability zone.

links point to related operations: a SPECS link on a model leads to the reference route describing it, and a location whose quotaStatus is INSUFFICIENT carries a QUOTA link.

Every filter is optional: type keeps the group of that product type only, region the locations of that region (letter case ignored), name the models with exactly that name and nameContains the models whose name contains that value (letter case ignored).

Path parameters

projectId
required
string

Project ID

Query parameters

name
string

Optional exact model name filter, for example b3-8

nameContains
string

Optional model name filter keeping the names that contain this value, letter case ignored

region
string

Optional region filter, letter case ignored

type
ProductTypeEnum

Optional product type filter

ValuesFLOATING_IPGATEWAYINSTANCEINSTANCE_SNAPSHOTLOADBALANCEROBJECT_STORAGEPUBLIC_IPSHARESHARE_SNAPSHOTSWIFTVOLUMEVOLUME_BACKUPVOLUME_SNAPSHOT

Headers

X-Pagination-Cursor
string

Pagination cursor

X-Pagination-Size
integer

Pagination size

Response

200ProductAvailability[]successful operation
models
read-only
ProductAvailabilityModel[]

The offerings of this product type available to the project, each with its per-location availability. Null or empty when no model is available.

type
read-only
ProductTypeEnum

Product type. The product family this group describes. Groups come in this order: INSTANCE, VOLUME, LOADBALANCER, GATEWAY, FLOATING_IP, PUBLIC_IP, VOLUME_SNAPSHOT, VOLUME_BACKUP, INSTANCE_SNAPSHOT, SHARE, SHARE_SNAPSHOT, OBJECT_STORAGE, SWIFT.

ValuesFLOATING_IPGATEWAYINSTANCEINSTANCE_SNAPSHOTLOADBALANCEROBJECT_STORAGEPUBLIC_IPSHARESHARE_SNAPSHOTSWIFTVOLUMEVOLUME_BACKUPVOLUME_SNAPSHOT

Example uses projectId = string

$ curl https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/reference/productAvailability \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "models": [ { "links": [ { "href": "string", "kind": "QUOTA" } ], "locations": [ { "availabilityZones": [ null ], "links": [ null ], "name": "string", "quotaLimitedBy": [ null ], "quotaStatus": "INSUFFICIENT", "regionActivated": true, "stockStatus": { "key": null } } ], "name": "string" } ], "type": "FLOATING_IP" }]

List regionsBeta

GET
/v2/publicCloud/project/{projectId}/reference/region

Returns the regions with their type, status, location and available services.

Path parameters

projectId
required
string

Project ID

Headers

X-Pagination-Cursor
string

Pagination cursor

X-Pagination-Size
integer

Pagination size

Response

200Region[]successful operation
activated
read-only
boolean

Whether the region is activated on the project. When false, the region exists but has not yet been activated for the project.

availabilityZones
read-only
string[]

Availability zones in this region

continent
read-only
string

Continent code

country
read-only
string

Country code

datacenterName
read-only
string

Datacenter display name

name
read-only
string

Region identifier, for example GRA1

objectStorage
read-only
RegionObjectStorage

Object storage capabilities of the region. Null when the region offers no object storage.

services
read-only
string[]

Available services. Includes objectStorage when S3™ object storage is available in the region, that is the region has a non-null objectStorage block whose bareContainerOnly is false.

status
read-only
RegionStatusEnum

Region status

ValuesDISABLEDENABLEDMAINTENANCE
type
read-only
TypeEnum

Region type. Null when the catalog reports an unrecognized type.

ValuesLOCAL-ZONEREGION-1-AZREGION-3-AZ

Example uses projectId = string

$ curl https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/reference/region \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "activated": true, "availabilityZones": [ "string" ], "continent": "string", "country": "string", "datacenterName": "string", "name": "string", "objectStorage": { "bareContainerOnly": true, "isReplicationTarget": true, "lifecycleTargetClasses": [ "DEEP_ARCHIVE" ], "replicationSupported": true, "storageClasses": [ "DEEP_ARCHIVE" ] }, "services": [ "string" ], "status": "DISABLED", "type": "LOCAL-ZONE" }]

Get a regionBeta

GET
/v2/publicCloud/project/{projectId}/reference/region/{name}

Returns one region: its availability zones, location, status and available services, including its object storage capabilities.

Path parameters

name
required
string

Name

projectId
required
string

Project ID

Response

200Regionsuccessful operation
activated
read-only
boolean

Whether the region is activated on the project. When false, the region exists but has not yet been activated for the project.

availabilityZones
read-only
string[]

Availability zones in this region

continent
read-only
string

Continent code

country
read-only
string

Country code

datacenterName
read-only
string

Datacenter display name

name
read-only
string

Region identifier, for example GRA1

objectStorage
read-only
RegionObjectStorage

Object storage capabilities of the region. Null when the region offers no object storage.

services
read-only
string[]

Available services. Includes objectStorage when S3™ object storage is available in the region, that is the region has a non-null objectStorage block whose bareContainerOnly is false.

status
read-only
RegionStatusEnum

Region status

ValuesDISABLEDENABLEDMAINTENANCE
type
read-only
TypeEnum

Region type. Null when the catalog reports an unrecognized type.

ValuesLOCAL-ZONEREGION-1-AZREGION-3-AZ
404objectError 404 response

Example uses name = string, projectId = string

$ curl https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/reference/region/{name} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "activated": true, "availabilityZones": [ "string" ], "continent": "string", "country": "string", "datacenterName": "string", "name": "string", "objectStorage": { "bareContainerOnly": true, "isReplicationTarget": true, "lifecycleTargetClasses": [ "DEEP_ARCHIVE" ], "replicationSupported": true, "storageClasses": [ "DEEP_ARCHIVE" ] }, "services": [ "string" ], "status": "DISABLED", "type": "LOCAL-ZONE"}