events
Creates, updates, deletes, gets or lists an events resource.
Overview
| Name | events |
| Type | Resource |
| Id | cloudflare.user.events |
Fields
The following fields are returned by SELECT queries:
- list
List Healthcheck Events response.
| Name | Datatype | Description |
|---|---|---|
id | integer | |
origins | array | |
pool | object | |
timestamp | string (date-time) | (example: 2014-01-01T05:20:00.12345Z) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | until, pool_name, origin_healthy, pool_id, since, origin_name, pool_healthy | List origin health changes. |
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 |
|---|---|---|
origin_healthy | boolean | |
origin_name | string | |
pool_healthy | boolean | |
pool_id | string | |
pool_name | string | |
since | string (date-time) | |
until | string (date-time) |
SELECT examples
- list
List origin health changes.
SELECT
id,
origins,
pool,
timestamp
FROM cloudflare.user.events
WHERE until = '{{ until }}'
AND pool_name = '{{ pool_name }}'
AND origin_healthy = '{{ origin_healthy }}'
AND pool_id = '{{ pool_id }}'
AND since = '{{ since }}'
AND origin_name = '{{ origin_name }}'
AND pool_healthy = '{{ pool_healthy }}'
;