Skip to main content

radar_entities_locations

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

Overview

Nameradar_entities_locations
TypeResource
Idcloudflare.radar.radar_entities_locations

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
namestring
alpha2string
continentstring
latitudestringA numeric string.
longitudestringA numeric string.
regionstring
subregionstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, offset, location, region, subregion, continent, formatRetrieves a list of locations.

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
continentstringFilters results by continent code.
formatstringFormat in which results will be returned.
limitintegerLimits the number of objects returned in the response.
locationstringFilters results by location. Specify a comma-separated list of alpha-2 location codes.
offsetintegerSkips the specified number of objects before fetching the results.
regionstringFilters results by region.
subregionstringFilters results by subregion.

SELECT examples

Retrieves a list of locations.

SELECT
name,
alpha2,
continent,
latitude,
longitude,
region,
subregion
FROM cloudflare.radar.radar_entities_locations
WHERE limit = '{{ limit }}'
AND offset = '{{ offset }}'
AND location = '{{ location }}'
AND region = '{{ region }}'
AND subregion = '{{ subregion }}'
AND continent = '{{ continent }}'
AND format = '{{ format }}'
;