offer_capabilities
Creates, updates, deletes, gets or lists an offer_capabilities resource.
Overview​
| Name | offer_capabilities |
| Type | Resource |
| Id | ovh.hosting_web.offer_capabilities |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
attached_domains | integer | Number of domains you can attach to your hosting (wire: attachedDomains) |
crontab | boolean | Does the offer allow crontab |
database_engines | integer | Number of database engines allowed for your hosting (wire: databaseEngines) |
databases | array | Describe all databases type you can have |
disk | object | Disk capacity and type available for your hosting ( null for unlimited ) |
emails | object | Describe all email offer you can have |
env_vars | integer | Number of environment variables allowed for your hosting (wire: envVars) |
extra_users | integer | Number of ftp user you can create (wire: extraUsers) |
files_browser | boolean | Does the offer allow access to web files browser? (wire: filesBrowser) |
highlight | string | Marketing information about the current offer (best-seller, new) |
languages | object | Language available for cron script |
module_one_click | boolean | Does the offer allow 1-click modules? (wire: moduleOneClick) |
private_databases | array | Describe all privateDatabases type you can have (wire: privateDatabases) |
runtimes | integer | Number of runtimes allowed for your hosting |
sites_recommended | integer | Number of sites recommended for your hosting ( -1 for unlimited ) (wire: sitesRecommended) |
ssh | boolean | Does the offer allow SSH access |
traffic | object | Traffic quota size for your hosting ( null for unlimited ) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | offer | Get offer capabilities. Returns what an offer includes: attached domains, databases, disk, traffic, SSH, cron, modules and runtimes. |
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 | Describe offer capabilities |
SELECT examples​
- get
Get offer capabilities. Returns what an offer includes: attached domains, databases, disk, traffic, SSH, cron, modules and runtimes.
SELECT
attached_domains,
crontab,
database_engines,
databases,
disk,
emails,
env_vars,
extra_users,
files_browser,
highlight,
languages,
module_one_click,
private_databases,
runtimes,
sites_recommended,
ssh,
traffic
FROM ovh.hosting_web.offer_capabilities
WHERE offer = '{{ offer }}' -- required
;