Skip to main content

asns

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

Overview

Nameasns
TypeResource
Idcloudflare.radar.asns

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
asnobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectasnformatRetrieves the requested autonomous system information. (A confidence level below 5 indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this AS). Population estimates come from APNIC (refer to https://labs.apnic.net/?p=526).

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
asnintegerSingle Autonomous System Number (ASN) as integer.
formatstringFormat in which results will be returned.

SELECT examples

Retrieves the requested autonomous system information. (A confidence level below 5 indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this AS). Population estimates come from APNIC (refer to https://labs.apnic.net/?p=526).

SELECT
asn
FROM cloudflare.radar.asns
WHERE asn = '{{ asn }}' -- required
AND format = '{{ format }}'
;