Skip to main content

asns_ip

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

Overview​

Nameasns_ip
TypeResource
Idcloudflare.radar.asns_ip

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
listselectip, formatRetrieves the requested autonomous system information based on IP address. 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
formatstringFormat in which results will be returned.
ipstring (ip)IP address.

SELECT examples​

Retrieves the requested autonomous system information based on IP address. Population estimates come from APNIC (refer to https://labs.apnic.net/?p=526).

SELECT
asn
FROM cloudflare.radar.asns_ip
WHERE ip = '{{ ip }}'
AND format = '{{ format }}'
;