available_order_capacities
Creates, updates, deletes, gets or lists an available_order_capacities resource.
Overview​
| Name | available_order_capacities |
| Type | Resource |
| Id | ovh.hosting_private_database.available_order_capacities |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
datacenter | array | A list of datacenter available for this offer |
offer | string | Offer (classic, public) |
ram | array | A list of ram size available for this offer |
version | array | A list of version available for this offer |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | offer | Returns 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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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"}}) |
offer | string |
SELECT examples​
- get
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
;