Skip to main content

annotations_outages

Creates, updates, deletes, gets or lists an annotations_outages resource.

Overview

Nameannotations_outages
TypeResource
Idcloudflare.radar.annotations_outages

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
idstring
asnsarray
asnsDetailsarray
dataSourcestring
descriptionstring
endDatestring (date-time)
eventTypestring
linkedUrlstring
locationsarray
locationsDetailsarray
originsarray
originsDetailsarray
outageobject
scopestring
startDatestring (date-time)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, offset, dateRange, dateStart, dateEnd, asn, location, origin, formatRetrieves the latest Internet outages and anomalies.

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
asnintegerFilters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.
dateEndstring (date-time)End of the date range (inclusive).
dateRangestringFilters results by date range.
dateStartstring (date-time)Start of the date range (inclusive).
formatstringFormat in which results will be returned.
limitintegerLimits the number of objects returned in the response.
locationstringFilters results by location. Specify an alpha-2 location code.
offsetintegerSkips the specified number of objects before fetching the results.
originstringFilters results by origin.

SELECT examples

Retrieves the latest Internet outages and anomalies.

SELECT
id,
asns,
asnsDetails,
dataSource,
description,
endDate,
eventType,
linkedUrl,
locations,
locationsDetails,
origins,
originsDetails,
outage,
scope,
startDate
FROM cloudflare.radar.annotations_outages
WHERE limit = '{{ limit }}'
AND offset = '{{ offset }}'
AND dateRange = '{{ dateRange }}'
AND dateStart = '{{ dateStart }}'
AND dateEnd = '{{ dateEnd }}'
AND asn = '{{ asn }}'
AND location = '{{ location }}'
AND origin = '{{ origin }}'
AND format = '{{ format }}'
;