export
Creates, updates, deletes, gets or lists an export resource.
Overview
| Name | export |
| Type | Resource |
| Id | cloudflare.zaraz.export |
Fields
The following fields are returned by SELECT queries:
- list
Get Zaraz configuration response.
| Name | Datatype | Description |
|---|---|---|
analytics | object | Cloudflare Monitoring settings. |
consent | object | Consent management configuration. |
dataLayer | boolean | Data layer compatibility mode enabled. |
debugKey | string | The key for Zaraz debug mode. |
historyChange | boolean | Single Page Application support enabled. |
settings | object | General Zaraz settings. |
tools | object | Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object. |
triggers | object | Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration. |
variables | object | Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included. |
zarazVersion | integer | Zaraz internal version of the config. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | Exports full current published Zaraz configuration for a zone, secret variables included. |
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. |
SELECT examples
- list
Exports full current published Zaraz configuration for a zone, secret variables included.
SELECT
analytics,
consent,
dataLayer,
debugKey,
historyChange,
settings,
tools,
triggers,
variables,
zarazVersion
FROM cloudflare.zaraz.export
WHERE zone_id = '{{ zone_id }}' -- required
;