asns_as_set
Creates, updates, deletes, gets or lists an asns_as_set resource.
Overview
| Name | asns_as_set |
| Type | Resource |
| Id | cloudflare.radar.asns_as_set |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
as_sets | array | |
paths | array | Paths from the AS-SET that include the given AS to its upstreams recursively |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | asn | format | Retrieves Internet Routing Registry AS-SETs that an AS is a member of. |
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 |
|---|---|---|
asn | integer | Retrieves all AS-SETs that the given AS is a member of. |
format | string | Format in which results will be returned. |
SELECT examples
- list
Retrieves Internet Routing Registry AS-SETs that an AS is a member of.
SELECT
as_sets,
paths
FROM cloudflare.radar.asns_as_set
WHERE asn = '{{ asn }}' -- required
AND format = '{{ format }}'
;