Skip to main content

gateway_configuration

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

Overview

Namegateway_configuration
TypeResource
Idcloudflare.zero_trust.gateway_configuration

Fields

The following fields are returned by SELECT queries:

Zero Trust account configuration response.

NameDatatypeDescription
created_atstring (date-time) (example: 2014-01-01T05:20:00.12345Z)
settingsobjectSpecify account settings.
updated_atstring (date-time) (example: 2014-01-01T05:20:00.12345Z)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_accountselectaccount_idRetrieve the current Zero Trust account configuration.
update_by_accountreplaceaccount_idUpdate the current Zero Trust account configuration.

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
account_idstringThe Cloudflare account ID.

SELECT examples

Retrieve the current Zero Trust account configuration.

SELECT
created_at,
settings,
updated_at
FROM cloudflare.zero_trust.gateway_configuration
WHERE account_id = '{{ account_id }}' -- required
;

REPLACE examples

Update the current Zero Trust account configuration.

REPLACE cloudflare.zero_trust.gateway_configuration
SET
settings = '{{ settings }}'
WHERE
account_id = '{{ account_id }}' --required
RETURNING
errors,
messages,
result,
success;