Quota
All operations require authentication.
Get the project quotaProduction
Returns the project quota. When the region query parameter is set, the response narrows targetSpec.regions and currentState.regions to that single region. Omit it to get all regions.
Path parameters
Project ID
Query parameters
Optional region filter
Response
Computed hash representing the current target specification value
Creation date of the quota
Current state of the quota
Ongoing asynchronous tasks related to the quota
Project ID this quota belongs to
Quota readiness in the system
CREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATINGLast target specification of the quota
Last update date of the quota
Example uses projectId = string
$ curl https:/ / api.eu.ovhcloud.com/ v2/ publicCloud/ project/ {projectId}/ quota \
-H "authorization: Bearer $OVH_TOKEN"{ "checksum": "string", "createdAt": "2024-01-01T12:00:00Z", "currentState": { "availableProfiles": [ { "compute": { "cores": 0, "instances": 0, "memory": 0 }, "keyManager": { "containers": 0, "secrets": 0 }, "keypair": { "keypairs": 0 }, "loadbalancer": { "healthMonitors": 0, "l7Policies": 0, "l7Rules": 0, "listeners": 0, "loadbalancers": 0, "members": 0, "pools": 0 }, "name": "string", "network": { "floatingIps": 0, "gateways": 0, "networks": 0, "securityGroupRules": 0, "securityGroups": 0, "subnets": 0 }, "share": { "backupSizeTotal": 0, "backups": 0, "shares": 0, "sizeTotal": 0, "snapshots": 0 }, "volume": { "backupSizeTotal": 0, "backups": 0, "sizeTotal": 0, "snapshots": 0, "volumes": 0 } } ], "preventAutomaticQuotaUpgrade": true, "regions": [ { "location": { "availabilityZone": "string", "region": "string" }, "profile": "string", "usage": { "compute": { "cores": { "limit": null, "unit": null, "used": null }, "instances": { "limit": null, "unit": null, "used": null }, "memory": { "limit": null, "unit": null, "used": null } }, "keyManager": { "containers": { "limit": null, "unit": null, "used": null }, "secrets": { "limit": null, "unit": null, "used": null } }, "keypair": { "keypairs": { "limit": null, "unit": null, "used": null } }, "loadbalancer": { "healthMonitors": { "limit": null, "unit": null, "used": null }, "l7Policies": { "limit": null, "unit": null, "used": null }, "l7Rules": { "limit": null, "unit": null, "used": null }, "listeners": { "limit": null, "unit": null, "used": null }, "loadbalancers": { "limit": null, "unit": null, "used": null }, "members": { "limit": null, "unit": null, "used": null }, "pools": { "limit": null, "unit": null, "used": null } }, "network": { "floatingIps": { "limit": null, "unit": null, "used": null }, "gateways": { "limit": null, "unit": null, "used": null }, "networks": { "limit": null, "unit": null, "used": null }, "securityGroupRules": { "limit": null, "unit": null, "used": null }, "securityGroups": { "limit": null, "unit": null, "used": null }, "subnets": { "limit": null, "unit": null, "used": null } }, "share": { "backupSizeTotal": { "limit": null, "unit": null, "used": null }, "backups": { "limit": null, "unit": null, "used": null }, "perShareSize": { "limit": null, "unit": null }, "shareNetworks": { "limit": null, "unit": null, "used": null }, "shares": { "limit": null, "unit": null, "used": null }, "sizeTotal": { "limit": null, "unit": null, "used": null }, "snapshotSizeTotal": { "limit": null, "unit": null, "used": null }, "snapshots": { "limit": null, "unit": null, "used": null } }, "volume": { "backupSizeTotal": { "limit": null, "unit": null, "used": null }, "backups": { "limit": null, "unit": null, "used": null }, "perVolumeSize": { "limit": null, "unit": null }, "sizeTotal": { "limit": null, "unit": null, "used": null }, "snapshots": { "limit": null, "unit": null, "used": null }, "volumes": { "limit": null, "unit": null, "used": null } } } } ] }, "currentTasks": [ { "errors": [ { "message": "string" } ], "id": "00000000-0000-0000-0000-000000000000", "link": "string", "status": "ERROR", "type": "string" } ], "id": "string", "resourceStatus": "CREATING", "targetSpec": { "preventAutomaticQuotaUpgrade": true, "regions": [ { "location": { "availabilityZone": "string", "region": "string" }, "profile": "string" } ] }, "updatedAt": "2024-01-01T12:00:00Z"}
Update the project quotaProduction
Updates the project quota region by region. Each region listed in targetSpec.regions is added or updated, and the regions you omit are left unchanged, so raising the quota of one region does not require restating the others. Unlike the other update routes of this API, this list is merged, not replaced. preventAutomaticQuotaUpgrade is required.
Path parameters
Project ID
Request body (required)
Optional concurrency-control checksum. When supplied, it must match the resource's current checksum or the request is rejected with a 409 checksum-mismatch conflict. When omitted or empty, the concurrency check is skipped and the write is forced (last-write-wins).
Update specification
Response
Computed hash representing the current target specification value
Creation date of the quota
Current state of the quota
Ongoing asynchronous tasks related to the quota
Project ID this quota belongs to
Quota readiness in the system
CREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATINGLast target specification of the quota
Last update date of the quota
Example uses projectId = string
$ curl https:/ / api.eu.ovhcloud.com/ v2/ publicCloud/ project/ {projectId}/ quota \
-H "authorization: Bearer $OVH_TOKEN"{ "checksum": "string", "createdAt": "2024-01-01T12:00:00Z", "currentState": { "availableProfiles": [ { "compute": { "cores": 0, "instances": 0, "memory": 0 }, "keyManager": { "containers": 0, "secrets": 0 }, "keypair": { "keypairs": 0 }, "loadbalancer": { "healthMonitors": 0, "l7Policies": 0, "l7Rules": 0, "listeners": 0, "loadbalancers": 0, "members": 0, "pools": 0 }, "name": "string", "network": { "floatingIps": 0, "gateways": 0, "networks": 0, "securityGroupRules": 0, "securityGroups": 0, "subnets": 0 }, "share": { "backupSizeTotal": 0, "backups": 0, "shares": 0, "sizeTotal": 0, "snapshots": 0 }, "volume": { "backupSizeTotal": 0, "backups": 0, "sizeTotal": 0, "snapshots": 0, "volumes": 0 } } ], "preventAutomaticQuotaUpgrade": true, "regions": [ { "location": { "availabilityZone": "string", "region": "string" }, "profile": "string", "usage": { "compute": { "cores": { "limit": null, "unit": null, "used": null }, "instances": { "limit": null, "unit": null, "used": null }, "memory": { "limit": null, "unit": null, "used": null } }, "keyManager": { "containers": { "limit": null, "unit": null, "used": null }, "secrets": { "limit": null, "unit": null, "used": null } }, "keypair": { "keypairs": { "limit": null, "unit": null, "used": null } }, "loadbalancer": { "healthMonitors": { "limit": null, "unit": null, "used": null }, "l7Policies": { "limit": null, "unit": null, "used": null }, "l7Rules": { "limit": null, "unit": null, "used": null }, "listeners": { "limit": null, "unit": null, "used": null }, "loadbalancers": { "limit": null, "unit": null, "used": null }, "members": { "limit": null, "unit": null, "used": null }, "pools": { "limit": null, "unit": null, "used": null } }, "network": { "floatingIps": { "limit": null, "unit": null, "used": null }, "gateways": { "limit": null, "unit": null, "used": null }, "networks": { "limit": null, "unit": null, "used": null }, "securityGroupRules": { "limit": null, "unit": null, "used": null }, "securityGroups": { "limit": null, "unit": null, "used": null }, "subnets": { "limit": null, "unit": null, "used": null } }, "share": { "backupSizeTotal": { "limit": null, "unit": null, "used": null }, "backups": { "limit": null, "unit": null, "used": null }, "perShareSize": { "limit": null, "unit": null }, "shareNetworks": { "limit": null, "unit": null, "used": null }, "shares": { "limit": null, "unit": null, "used": null }, "sizeTotal": { "limit": null, "unit": null, "used": null }, "snapshotSizeTotal": { "limit": null, "unit": null, "used": null }, "snapshots": { "limit": null, "unit": null, "used": null } }, "volume": { "backupSizeTotal": { "limit": null, "unit": null, "used": null }, "backups": { "limit": null, "unit": null, "used": null }, "perVolumeSize": { "limit": null, "unit": null }, "sizeTotal": { "limit": null, "unit": null, "used": null }, "snapshots": { "limit": null, "unit": null, "used": null }, "volumes": { "limit": null, "unit": null, "used": null } } } } ] }, "currentTasks": [ { "errors": [ { "message": "string" } ], "id": "00000000-0000-0000-0000-000000000000", "link": "string", "status": "ERROR", "type": "string" } ], "id": "string", "resourceStatus": "CREATING", "targetSpec": { "preventAutomaticQuotaUpgrade": true, "regions": [ { "location": { "availabilityZone": "string", "region": "string" }, "profile": "string" } ] }, "updatedAt": "2024-01-01T12:00:00Z"}