Skip to main content

website_deployment_logs

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

Overview​

Namewebsite_deployment_logs
TypeResource
Idovh.hosting_web.website_deployment_logs

Fields​

The following fields are returned by SELECT queries:

Message from logs of a website deployment

NameDatatypeDescription
datestring (date-time)Date of the message
messagestringContent of the message

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdeployment_id, id, service_nameReturns the dated log messages of the deployment.

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

SELECT examples​

Returns the dated log messages of the deployment.

SELECT
date,
message
FROM ovh.hosting_web.website_deployment_logs
WHERE deployment_id = '{{ deployment_id }}' -- required
AND id = '{{ id }}' -- required
AND service_name = '{{ service_name }}' -- required
;