Skip to main content

routes_ases

Creates, updates, deletes, gets or lists a routes_ases resource.

Overview

Nameroutes_ases
TypeResource
Idcloudflare.radar.routes_ases

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
asnsarray
metaobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, limit, sortBy, sortOrder, formatRetrieves 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.

NameDatatypeDescription
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.
sortBystringSorts results by the specified field.
sortOrderstringSort order.

SELECT examples

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 }}'
;