Skip to main content

regional_tiered_cache

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

Overview

Nameregional_tiered_cache
TypeResource
Idcloudflare.cache.regional_tiered_cache

Fields

The following fields are returned by SELECT queries:

Get Regional Tiered Cache setting response.

NameDatatypeDescription
idstringThe identifier of the caching setting. (tc_regional)
editablebooleanWhether the setting is editable.
modified_onstring (date-time)Last time this setting was modified.
valuestringValue of the Regional Tiered Cache zone setting. (on, off) (default: off)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idInstructs 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.
editupdatezone_id, valueInstructs 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.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.

SELECT examples

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

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;