Skip to main content

bucket_export_events

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

Overview​

Namebucket_export_events
TypeResource
Idovh.finops.bucket_export_events

Fields​

The following fields are returned by SELECT queries:

Represents an event for an async envelope

NameDatatypeDescription
created_atstring (date-time)Creation date of the event (wire: createdAt)
kindstringNature of the event
linkstringLink to the event related resource
messagestringDescription of what happened on the event
typestringType of the event (TARGET_SPEC_UPDATE, TASK_ERROR, TASK_START, TASK_SUCCESS)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectidx_pagination_cursor, x_pagination_sizeGet a list of events (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"}})
idstringId
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Get a list of events (Beta version)

SELECT
created_at,
kind,
link,
message,
type
FROM ovh.finops.bucket_export_events
WHERE id = '{{ id }}' -- required
AND x_pagination_cursor = '{{ x_pagination_cursor }}'
AND x_pagination_size = '{{ x_pagination_size }}'
;