routes_ases
Creates, updates, deletes, gets or lists a routes_ases resource.
Overview
| Name | routes_ases |
| Type | Resource |
| Id | cloudflare.radar.routes_ases |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
asns | array | |
meta | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location, limit, sortBy, sortOrder, format | Retrieves all ASes in the current global routing tables with routing statistics. |
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. |
limit | integer | Limits the number of objects returned in the response. |
location | string | Filters results by location. Specify an alpha-2 location code. |
sortBy | string | Sorts results by the specified field. |
sortOrder | string | Sort order. |
SELECT examples
- list
Retrieves all ASes in the current global routing tables with routing statistics.
SELECT
asns,
meta
FROM cloudflare.radar.routes_ases
WHERE location = '{{ location }}'
AND limit = '{{ limit }}'
AND sortBy = '{{ sortBy }}'
AND sortOrder = '{{ sortOrder }}'
AND format = '{{ format }}'
;