Skip to main content

asns_rel

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

Overview​

Nameasns_rel
TypeResource
Idcloudflare.radar.asns_rel

Fields​

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
metaobject
relsarray

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectasnasn2, formatRetrieves AS-level relationship for given networks.

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
asnintegerRetrieves all ASNs with provider-customer or peering relationships with the given ASN.
asn2integerRetrieves the AS relationship of ASN2 with respect to the given ASN.
formatstringFormat in which results will be returned.

SELECT examples​

Retrieves AS-level relationship for given networks.

SELECT
meta,
rels
FROM cloudflare.radar.asns_rel
WHERE asn = '{{ asn }}' -- required
AND asn2 = '{{ asn2 }}'
AND format = '{{ format }}'
;