Skip to main content

locations

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

Overview

Namelocations
TypeResource
Idcloudflare.radar.locations

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
locationobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocationformatRetrieves 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.

NameDatatypeDescription
locationstringLocation alpha-2 code.
formatstringFormat in which results will be returned.

SELECT examples

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 }}'
;