你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PeeringResource.GetReceivedRoutesAsync 方法

定义

列出通过给定订阅和资源组下的指定对等互连收到的前缀。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}/receivedRoutes
  • 操作IdReceivedRoutes_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)

参数

prefix
String

可用于筛选路由的可选前缀。

asPath
String

可用于筛选路由的可选 AS 路径。

originAsValidationState
String

可用于筛选路由的可选源 AS 验证状态。

rpkiValidationState
String

可用于筛选路由的可选 RPKI 验证状态。

skipToken
String

在分页结果事件中使用的可选页继续标记。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 PeeringReceivedRoute ,可能需要循环访问多个服务请求。

适用于