Skip to main content

entities_asns

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

Overview

Nameentities_asns
TypeResource
Idcloudflare.radar.entities_asns

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
namestring
akastring
asninteger
countrystring
countryNamestring
orgNamestring
websitestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, offset, asn, location, orderBy, formatRetrieves a list of autonomous systems.

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
asnstringFilters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list.
formatstringFormat in which results will be returned.
limitintegerLimits the number of objects returned in the response.
locationstringFilters results by location. Specify an alpha-2 location code.
offsetintegerSkips the specified number of objects before fetching the results.
orderBystringSpecifies the metric to order the ASNs by.

SELECT examples

Retrieves a list of autonomous systems.

SELECT
name,
aka,
asn,
country,
countryName,
orgName,
website
FROM cloudflare.radar.entities_asns
WHERE limit = '{{ limit }}'
AND offset = '{{ offset }}'
AND asn = '{{ asn }}'
AND location = '{{ location }}'
AND orderBy = '{{ orderBy }}'
AND format = '{{ format }}'
;