connectivity_settings
Creates, updates, deletes, gets or lists a connectivity_settings resource.
Overview
| Name | connectivity_settings |
| Type | Resource |
| Id | cloudflare.zero_trust.connectivity_settings |
Fields
The following fields are returned by SELECT queries:
- list
Get Zero Trust Connectivity Settings response
| Name | Datatype | Description |
|---|---|---|
icmp_proxy_enabled | boolean | A flag to enable the ICMP proxy for the account network. |
offramp_warp_enabled | boolean | A flag to enable WARP to WARP traffic. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | Gets the Zero Trust Connectivity Settings for the given account. | |
edit | update | account_id | Updates the Zero Trust Connectivity Settings for the given account. |
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 |
|---|---|---|
account_id | string | The Cloudflare account ID. |
SELECT examples
- list
Gets the Zero Trust Connectivity Settings for the given account.
SELECT
icmp_proxy_enabled,
offramp_warp_enabled
FROM cloudflare.zero_trust.connectivity_settings
WHERE account_id = '{{ account_id }}' -- required
;
UPDATE examples
- edit
Updates the Zero Trust Connectivity Settings for the given account.
UPDATE cloudflare.zero_trust.connectivity_settings
SET
icmp_proxy_enabled = {{ icmp_proxy_enabled }},
offramp_warp_enabled = {{ offramp_warp_enabled }}
WHERE
account_id = '{{ account_id }}' --required
RETURNING
errors,
messages,
result,
success;