global_warp_override
Creates, updates, deletes, gets or lists a global_warp_override resource.
Overview
| Name | global_warp_override |
| Type | Resource |
| Id | cloudflare.zero_trust.global_warp_override |
Fields
The following fields are returned by SELECT queries:
- list
Fetch Global WARP override state response.
| Name | Datatype | Description |
|---|---|---|
disconnect | boolean | Disconnects all devices on the account using Global WARP override. |
timestamp | string (date-time) | When the Global WARP override state was updated. (example: 1970-01-01T00:00:00.000Z) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | Fetch the Global WARP override state. | |
create | insert | account_id, disconnect | Sets the Global WARP override state. |
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
Fetch the Global WARP override state.
SELECT
disconnect,
timestamp
FROM cloudflare.zero_trust.global_warp_override
WHERE account_id = '{{ account_id }}' -- required
;
INSERT examples
- create
- Manifest
Sets the Global WARP override state.
INSERT INTO cloudflare.zero_trust.global_warp_override (
disconnect,
justification,
account_id
)
SELECT
{{ disconnect }} /* required */,
'{{ justification }}',
'{{ account_id }}'
RETURNING
errors,
messages,
result,
success
;
# Description fields are for documentation purposes
- name: global_warp_override
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the global_warp_override resource.
- name: disconnect
value: {{ disconnect }}
description: |
Disconnects all devices on the account using Global WARP override.
- name: justification
value: "{{ justification }}"
description: |
Reasoning for setting the Global WARP override state. This will be surfaced in the audit log.