radar_entities_locations
Creates, updates, deletes, gets or lists a radar_entities_locations resource.
Overview
| Name | radar_entities_locations |
| Type | Resource |
| Id | cloudflare.radar.radar_entities_locations |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
name | string | |
alpha2 | string | |
continent | string | |
latitude | string | A numeric string. |
longitude | string | A numeric string. |
region | string | |
subregion | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | limit, offset, location, region, subregion, continent, format | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
continent | string | Filters results by continent code. |
format | string | Format in which results will be returned. |
limit | integer | Limits the number of objects returned in the response. |
location | string | Filters results by location. Specify a comma-separated list of alpha-2 location codes. |
offset | integer | Skips the specified number of objects before fetching the results. |
region | string | Filters results by region. |
subregion | string | Filters results by subregion. |
SELECT examples
- list
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 }}'
;