asns_ip
Creates, updates, deletes, gets or lists an asns_ip resource.
Overview
| Name | asns_ip |
| Type | Resource |
| Id | cloudflare.radar.asns_ip |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
asn | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | ip, format | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
format | string | Format in which results will be returned. |
ip | string (ip) | IP address. |
SELECT examples
- list
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 }}'
;