Skip to main content

received_routes

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

Overview

Namereceived_routes
TypeResource
Idazure.peering.received_routes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
asPathstringThe AS path for the prefix.
nextHopstringThe next hop for the prefix.
originAsValidationStatestringThe origin AS change information for the prefix.
prefixstringThe prefix.
receivedTimestampstringThe received timestamp associated with the prefix.
rpkiValidationStatestringThe RPKI validation state for the prefix and origin AS that's listed in the AS path.
trustAnchorstringThe authority which holds the Route Origin Authorization record for the prefix, if any.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_peeringselectresourceGroupName, peeringName, subscriptionIdprefix, asPath, originAsValidationState, rpkiValidationState, $skipTokenLists 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.

NameDatatypeDescription
peeringNamestringThe name of the peering.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe Azure subscription ID.
$skipTokenstringThe optional page continuation token that is used in the event of paginated result.
asPathstringThe optional AS path that can be used to filter the routes.
originAsValidationStatestringThe optional origin AS validation state that can be used to filter the routes.
prefixstringThe optional prefix that can be used to filter the routes.
rpkiValidationStatestringThe optional RPKI validation state that can be used to filter the routes.

SELECT examples

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