Skip to main content

available_order_capacities

Creates, updates, deletes, gets or lists an available_order_capacities resource.

Overview​

Nameavailable_order_capacities
TypeResource
Idovh.hosting_private_database.available_order_capacities

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
datacenterarrayA list of datacenter available for this offer
offerstringOffer (classic, public)
ramarrayA list of ram size available for this offer
versionarrayA list of version available for this offer

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectofferReturns the datacenters, RAM sizes and DBMS versions available for the requested offer.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
offerstring

SELECT examples​

Returns the datacenters, RAM sizes and DBMS versions available for the requested offer.

SELECT
datacenter,
offer,
ram,
version
FROM ovh.hosting_private_database.available_order_capacities
WHERE offer = '{{ offer }}' -- required
;