Skip to main content

cdn_operations

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

Overview​

Namecdn_operations
TypeResource
Idovh.hosting_web.cdn_operations

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idintegerOperation id
commentstringComment
creation_datestring (date-time)Creation date (wire: creationDate)
functionstringOperation function (analytics_delete, analytics_recompute, domain_delete, domain_disable, domain_purge, domain_refresh, service_install, ssl_delete, ssl_install)
parameterobjectOperation parameter
servicestringShared CDN service
statusstringOperation status (cancelled, doing, done, error, todo)
todo_datestring (date-time)Next execution date (wire: todoDate)
updated_datestring (date-time)Last execution date (wire: updatedDate)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid, service_nameGet details for a Shared CDN operation
listselectservice_nameList all operations for a Shared CDN service

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"}})
idintegerId
service_namestringService name (wire: serviceName)

SELECT examples​

Get details for a Shared CDN operation

SELECT
id,
comment,
creation_date,
function,
parameter,
service,
status,
todo_date,
updated_date
FROM ovh.hosting_web.cdn_operations
WHERE id = '{{ id }}' -- required
AND service_name = '{{ service_name }}' -- required
;