Skip to main content

aspa_snapshot

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

Overview

Nameaspa_snapshot
TypeResource
Idcloudflare.radar.aspa_snapshot

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
asnInfoobject
aspaObjectsarray
metaobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcustomerAsn, providerAsn, date, includeAsnInfo, formatRetrieves current or historical ASPA (Autonomous System Provider Authorization) objects. ASPA objects define which ASNs are authorized upstream providers for a customer ASN.

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
customerAsnintegerFilter by customer ASN (the ASN publishing the ASPA object).
datestring (date-time)Filters results by the specified datetime (ISO 8601).
formatstringFormat in which results will be returned.
includeAsnInfobooleanInclude ASN metadata (name, country) in response.
providerAsnintegerFilter by provider ASN (an authorized upstream provider in ASPA objects).

SELECT examples

Retrieves current or historical ASPA (Autonomous System Provider Authorization) objects. ASPA objects define which ASNs are authorized upstream providers for a customer ASN.

SELECT
asnInfo,
aspaObjects,
meta
FROM cloudflare.radar.aspa_snapshot
WHERE customerAsn = '{{ customerAsn }}'
AND providerAsn = '{{ providerAsn }}'
AND date = '{{ date }}'
AND includeAsnInfo = '{{ includeAsnInfo }}'
AND format = '{{ format }}'
;