supported_regions
Creates, updates, deletes, gets or lists a supported_regions resource.
Overview
| Name | supported_regions |
| Type | Resource |
| Id | cloudflare.cache.supported_regions |
Fields
The following fields are returned by SELECT queries:
- list
List supported cloud vendors and regions response.
| Name | Datatype | Description |
|---|---|---|
obtained_codes | boolean | Whether 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. |
vendors | object | Map of vendor name to list of supported regions. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | 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. |
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
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
;