regional_tiered_cache
Creates, updates, deletes, gets or lists a regional_tiered_cache resource.
Overview
| Name | regional_tiered_cache |
| Type | Resource |
| Id | cloudflare.cache.regional_tiered_cache |
Fields
The following fields are returned by SELECT queries:
- list
Get Regional Tiered Cache setting response.
| Name | Datatype | Description |
|---|---|---|
id | string | The identifier of the caching setting. (tc_regional) |
editable | boolean | Whether the setting is editable. |
modified_on | string (date-time) | Last time this setting was modified. |
value | string | Value of the Regional Tiered Cache zone setting. (on, off) (default: off) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies. | |
edit | update | zone_id, value | Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies. |
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
Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies.
SELECT
id,
editable,
modified_on,
value
FROM cloudflare.cache.regional_tiered_cache
WHERE zone_id = '{{ zone_id }}' -- required
;
UPDATE examples
- edit
Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies.
UPDATE cloudflare.cache.regional_tiered_cache
SET
value = '{{ value }}'
WHERE
zone_id = '{{ zone_id }}' --required
AND value = '{{ value }}' --required
RETURNING
errors,
messages,
result,
success;