locations
Creates, updates, deletes, gets or lists a locations resource.
Overview
| Name | locations |
| Type | Resource |
| Id | cloudflare.radar.locations |
Fields
The following fields are returned by SELECT queries:
- get
Successful response.
| Name | Datatype | Description |
|---|---|---|
location | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location | format | Retrieves the requested location information. (A confidence level below 5 indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this location). |
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 |
|---|---|---|
location | string | Location alpha-2 code. |
format | string | Format in which results will be returned. |
SELECT examples
- get
Retrieves the requested location information. (A confidence level below 5 indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this location).
SELECT
location
FROM cloudflare.radar.locations
WHERE location = '{{ location }}' -- required
AND format = '{{ format }}'
;