received_routes
Creates, updates, deletes, gets or lists a received_routes
resource.
Overview
Name | received_routes |
Type | Resource |
Id | azure.peering.received_routes |
Fields
The following fields are returned by SELECT
queries:
- list_by_peering
Name | Datatype | Description |
---|---|---|
asPath | string | The AS path for the prefix. |
nextHop | string | The next hop for the prefix. |
originAsValidationState | string | The origin AS change information for the prefix. |
prefix | string | The prefix. |
receivedTimestamp | string | The received timestamp associated with the prefix. |
rpkiValidationState | string | The RPKI validation state for the prefix and origin AS that's listed in the AS path. |
trustAnchor | string | The authority which holds the Route Origin Authorization record for the prefix, if any. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_by_peering | select | resourceGroupName , peeringName , subscriptionId | prefix , asPath , originAsValidationState , rpkiValidationState , $skipToken | Lists the prefixes received over the specified peering under the given subscription and resource group. |
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 |
---|---|---|
peeringName | string | The name of the peering. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string | The Azure subscription ID. |
$skipToken | string | The optional page continuation token that is used in the event of paginated result. |
asPath | string | The optional AS path that can be used to filter the routes. |
originAsValidationState | string | The optional origin AS validation state that can be used to filter the routes. |
prefix | string | The optional prefix that can be used to filter the routes. |
rpkiValidationState | string | The optional RPKI validation state that can be used to filter the routes. |
SELECT
examples
- list_by_peering
Lists the prefixes received over the specified peering under the given subscription and resource group.
SELECT
asPath,
nextHop,
originAsValidationState,
prefix,
receivedTimestamp,
rpkiValidationState,
trustAnchor
FROM azure.peering.received_routes
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND peeringName = '{{ peeringName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND prefix = '{{ prefix }}'
AND asPath = '{{ asPath }}'
AND originAsValidationState = '{{ originAsValidationState }}'
AND rpkiValidationState = '{{ rpkiValidationState }}'
AND $skipToken = '{{ $skipToken }}'
;