routes_stats
Creates, updates, deletes, gets or lists a routes_stats resource.
Overview
| Name | routes_stats |
| Type | Resource |
| Id | cloudflare.radar.routes_stats |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
meta | object | |
stats | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | asn, location, format | Retrieves the BGP routing table stats. |
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 | Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer. |
format | string | Format in which results will be returned. |
location | string | Filters results by location. Specify an alpha-2 location code. |
SELECT examples
- list
Retrieves the BGP routing table stats.
SELECT
meta,
stats
FROM cloudflare.radar.routes_stats
WHERE asn = '{{ asn }}'
AND location = '{{ location }}'
AND format = '{{ format }}'
;