outages_locations
Creates, updates, deletes, gets or lists an outages_locations resource.
Overview
| Name | outages_locations |
| Type | Resource |
| Id | cloudflare.radar.outages_locations |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
clientCountryAlpha2 | string | (example: PT) |
clientCountryName | string | (example: Portugal) |
value | string | A numeric string. (example: 10) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | limit, dateRange, dateStart, dateEnd, format | Retrieves the number of outages by 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 |
|---|---|---|
dateEnd | string (date-time) | End of the date range (inclusive). |
dateRange | string | Filters results by date range. |
dateStart | string (date-time) | Start of the date range (inclusive). |
format | string | Format in which results will be returned. |
limit | integer | Limits the number of objects returned in the response. |
SELECT examples
- list
Retrieves the number of outages by location.
SELECT
clientCountryAlpha2,
clientCountryName,
value
FROM cloudflare.radar.outages_locations
WHERE limit = '{{ limit }}'
AND dateRange = '{{ dateRange }}'
AND dateStart = '{{ dateStart }}'
AND dateEnd = '{{ dateEnd }}'
AND format = '{{ format }}'
;