Skip to main content

cache_cache_reserve_clear

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

Overview

Namecache_cache_reserve_clear
TypeResource
Idcloudflare.cache.cache_cache_reserve_clear

Fields

The following fields are returned by SELECT queries:

Get Cache Reserve Clear response.

NameDatatypeDescription
idstringID of the zone setting. (cache_reserve_clear) (example: cache_reserve_clear)
end_tsstring (date-time)The time that the latest Cache Reserve Clear operation completed. (example: 2023-10-02T12:00:00.12345Z)
modified_onstring (date-time)Last time this setting was modified.
start_tsstring (date-time)The time that the latest Cache Reserve Clear operation started. (example: 2023-10-02T10:00:00.12345Z)
statestringThe current state of the Cache Reserve Clear operation. (In-progress, Completed) (example: In-progress)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idYou can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.

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

You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.

SELECT
id,
end_ts,
modified_on,
start_ts,
state
FROM cloudflare.cache.cache_cache_reserve_clear
WHERE zone_id = '{{ zone_id }}' -- required
;