aegis
Creates, updates, deletes, gets or lists an aegis resource.
Overview
| Name | aegis |
| Type | Resource |
| Id | cloudflare.zones.aegis |
Fields
The following fields are returned by SELECT queries:
- list
Get aegis setting response.
| Name | Datatype | Description |
|---|---|---|
id | string | The identifier of the caching setting. (aegis) |
editable | boolean | Whether the setting is editable. |
modified_on | string (date-time) | Last time this setting was modified. |
value | object | Value of the zone setting. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses. | |
zone_cache_settings_change_aegis_setting | update | zone_id, value | Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses. |
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
Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses.
SELECT
id,
editable,
modified_on,
value
FROM cloudflare.zones.aegis
WHERE zone_id = '{{ zone_id }}' -- required
;
UPDATE examples
- zone_cache_settings_change_aegis_setting
Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses.
UPDATE cloudflare.zones.aegis
SET
value = '{{ value }}'
WHERE
zone_id = '{{ zone_id }}' --required
AND value = '{{ value }}' --required
RETURNING
errors,
messages,
result,
success;