Compartilhar via


VirtualHubBgpConnectionsOperationsExtensions.ListLearnedRoutesAsync Método

Definição

Recupera uma lista de rotas que a conexão bgp do hub virtual aprendeu.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.PeerRouteList> ListLearnedRoutesAsync (this Microsoft.Azure.Management.Network.IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, System.Threading.CancellationToken cancellationToken = default);
static member ListLearnedRoutesAsync : Microsoft.Azure.Management.Network.IVirtualHubBgpConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.PeerRouteList>
<Extension()>
Public Function ListLearnedRoutesAsync (operations As IVirtualHubBgpConnectionsOperations, resourceGroupName As String, hubName As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PeerRouteList)

Parâmetros

operations
IVirtualHubBgpConnectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

hubName
String

O nome do hub virtual.

connectionName
String

O nome da conexão bgp do hub virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a