reference_available_languages
Creates, updates, deletes, gets or lists a reference_available_languages resource.
Overview​
| Name | reference_available_languages |
| Type | Resource |
| Id | ovh.managed_cms.reference_available_languages |
Fields​
The following fields are returned by SELECT queries:
- list
A language a CMS can be configured with
| Name | Datatype | Description |
|---|---|---|
name | string | Name of the language as displayed in the interfaces |
code | string | Code to send when setting the language of a CMS (de_DE, en_GB, en_US, es_ES, fr_CA, fr_FR, it_IT, pl_PL, pt_PT) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | cms | x_pagination_cursor, x_pagination_size | Returns the languages a website can be configured with at creation, with their display name. Filter them by CMS. (Alpha version) |
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"}}) |
cms | string | For which content management system |
x_pagination_cursor | string | Pagination cursor (wire: X-Pagination-Cursor) |
x_pagination_size | integer | Pagination size (wire: X-Pagination-Size) |
SELECT examples​
- list
Returns the languages a website can be configured with at creation, with their display name. Filter them by CMS. (Alpha version)
SELECT
name,
code
FROM ovh.managed_cms.reference_available_languages
WHERE cms = '{{ cms }}' -- required
AND x_pagination_cursor = '{{ x_pagination_cursor }}'
AND x_pagination_size = '{{ x_pagination_size }}'
;