Skip to main content

export

Creates, updates, deletes, gets or lists an export resource.

Overview

Nameexport
TypeResource
Idcloudflare.zaraz.export

Fields

The following fields are returned by SELECT queries:

Get Zaraz configuration response.

NameDatatypeDescription
analyticsobjectCloudflare Monitoring settings.
consentobjectConsent management configuration.
dataLayerbooleanData layer compatibility mode enabled.
debugKeystringThe key for Zaraz debug mode.
historyChangebooleanSingle Page Application support enabled.
settingsobjectGeneral Zaraz settings.
toolsobjectTools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object.
triggersobjectTriggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration.
variablesobjectVariables 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.
zarazVersionintegerZaraz internal version of the config.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idExports 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.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.

SELECT examples

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
;