Skip to main content

resource_attached_domains

Creates, updates, deletes, gets or lists a resource_attached_domains resource.

Overview​

Nameresource_attached_domains
TypeResource
Idovh.webhosting.resource_attached_domains

Fields​

The following fields are returned by SELECT queries:

Webhosting attached domain

NameDatatypeDescription
idstring (uuid)Unique identifier of the attached domain
checksumstringComputed hash used to control concurrent modification requests. Here, it represents the current target specification value.
current_stateobjectCurrent state of the attached domain (wire: currentState)
current_tasksarrayOngoing asynchronous tasks related to the attached domain (wire: currentTasks)
ip_locationstringIP Location for the attached domain (BE, CA, CZ, DE, ES, FI, FR, IE, IT, LT, NL, PL, PT, UK) (wire: ipLocation)
resource_statusstringWebhosting attached domain readiness in the system (CREATING, CREATION_PLANNED, DELETING, ERROR, OUT_OF_SYNC, READY, SUSPENDED, UNKNOWN, UPDATING) (wire: resourceStatus)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectnamex_pagination_cursor, x_pagination_sizeReturns the domains attached to the hosting, with their path and their SSL, CDN, firewall and Git settings. (Beta 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.

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"}})
namestringName
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Returns the domains attached to the hosting, with their path and their SSL, CDN, firewall and Git settings. (Beta version)

SELECT
id,
checksum,
current_state,
current_tasks,
ip_location,
resource_status
FROM ovh.webhosting.resource_attached_domains
WHERE name = '{{ name }}' -- required
AND x_pagination_cursor = '{{ x_pagination_cursor }}'
AND x_pagination_size = '{{ x_pagination_size }}'
;