共用方式為


PeeringResource.GetReceivedRoutesAsync Method

Definition

Lists the prefixes received over the specified peering under the given subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}/receivedRoutes
  • Operation Id: ReceivedRoutes_ListByPeering
public virtual Azure.AsyncPageable<Azure.ResourceManager.Peering.Models.PeeringReceivedRoute> GetReceivedRoutesAsync (string prefix = default, string asPath = default, string originAsValidationState = default, string rpkiValidationState = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReceivedRoutesAsync : string * string * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.Models.PeeringReceivedRoute>
override this.GetReceivedRoutesAsync : string * string * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.Models.PeeringReceivedRoute>
Public Overridable Function GetReceivedRoutesAsync (Optional prefix As String = Nothing, Optional asPath As String = Nothing, Optional originAsValidationState As String = Nothing, Optional rpkiValidationState As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PeeringReceivedRoute)

Parameters

prefix
String

The optional prefix that can be used to filter the routes.

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.

rpkiValidationState
String

The optional RPKI validation state that can be used to filter the routes.

skipToken
String

The optional page continuation token that is used in the event of paginated result.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of PeeringReceivedRoute that may take multiple service requests to iterate over.

Applies to