website_creation_capabilities
Creates, updates, deletes, gets or lists a website_creation_capabilities resource.
Overview​
| Name | website_creation_capabilities |
| Type | Resource |
| Id | ovh.hosting_web.website_creation_capabilities |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
allowed_vcs_websites | integer | Number of websites deployed from a Git repository allowed by your hosting offer, -1 meaning unlimited (wire: allowedVcsWebsites) |
allowed_websites | integer | Number of websites allowed by your hosting offer, Git-deployed or not, -1 meaning unlimited (wire: allowedWebsites) |
existing_vcs_websites | integer | Number of existing websites deployed from a Git repository on your hosting (wire: existingVcsWebsites) |
existing_websites | integer | Number of existing websites on your hosting, Git-deployed or not (wire: existingWebsites) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | service_name | Returns the number of existing websites and the number allowed by the offer, then the same for the websites deployed from a Git repository, -1 meaning unlimited. |
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"}}) |
service_name | string | Service name (wire: serviceName) |
SELECT examples​
- get
Returns the number of existing websites and the number allowed by the offer, then the same for the websites deployed from a Git repository, -1 meaning unlimited.
SELECT
allowed_vcs_websites,
allowed_websites,
existing_vcs_websites,
existing_websites
FROM ovh.hosting_web.website_creation_capabilities
WHERE service_name = '{{ service_name }}' -- required
;