configs
Creates, updates, deletes, gets or lists a configs resource.
Overview
| Name | configs |
| Type | Resource |
| Id | cloudflare.zaraz.configs |
Fields
The following fields are returned by SELECT queries:
- list
Get Zaraz historical configurations by ID(s) response.
| Name | Datatype | Description |
|---|---|---|
errors | array | |
messages | array | |
result | object | Object where keys are numeric configuration IDs. |
success | boolean | Whether the API call was successful. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | ids | Gets a history of published Zaraz configurations by ID(s) for a zone. |
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 |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
ids | array | Comma separated list of Zaraz configuration IDs. |
SELECT examples
- list
Gets a history of published Zaraz configurations by ID(s) for a zone.
SELECT
errors,
messages,
result,
success
FROM cloudflare.zaraz.configs
WHERE zone_id = '{{ zone_id }}' -- required
AND ids = '{{ ids }}'
;