aspa_snapshot
Creates, updates, deletes, gets or lists an aspa_snapshot resource.
Overview
| Name | aspa_snapshot |
| Type | Resource |
| Id | cloudflare.radar.aspa_snapshot |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
asnInfo | object | |
aspaObjects | array | |
meta | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | customerAsn, providerAsn, date, includeAsnInfo, format | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
customerAsn | integer | Filter by customer ASN (the ASN publishing the ASPA object). |
date | string (date-time) | Filters results by the specified datetime (ISO 8601). |
format | string | Format in which results will be returned. |
includeAsnInfo | boolean | Include ASN metadata (name, country) in response. |
providerAsn | integer | Filter by provider ASN (an authorized upstream provider in ASPA objects). |
SELECT examples
- list
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 }}'
;