Skip to main content

supported_regions

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

Overview

Namesupported_regions
TypeResource
Idcloudflare.cache.supported_regions

Fields

The following fields are returned by SELECT queries:

List supported cloud vendors and regions response.

NameDatatypeDescription
obtained_codesbooleanWhether Cloudflare airport codes (IATA colo identifiers) were successfully resolved for the upper_tier_colos field on each region. When false, the upper_tier_colos arrays may be empty or incomplete.
vendorsobjectMap of vendor name to list of supported regions.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idReturns the cloud vendors and regions that are valid values for origin cloud region mappings. Each region includes the Tiered Cache upper-tier colocation codes that will be used for cache routing when a mapping targeting that region is active. Requires the zone to have Tiered Cache enabled.

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

Returns the cloud vendors and regions that are valid values for origin cloud region mappings. Each region includes the Tiered Cache upper-tier colocation codes that will be used for cache routing when a mapping targeting that region is active. Requires the zone to have Tiered Cache enabled.

SELECT
obtained_codes,
vendors
FROM cloudflare.cache.supported_regions
WHERE zone_id = '{{ zone_id }}' -- required
;