Partilhar via


VirtualNetworkGatewaysOperationsExtensions.BeginGetLearnedRoutesAsync Método

Definição

Essa operação recupera uma lista de rotas que o gateway de rede virtual aprendeu, incluindo rotas aprendidas com pares BGP.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.GatewayRouteListResultInner> BeginGetLearnedRoutesAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default);
static member BeginGetLearnedRoutesAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.GatewayRouteListResultInner>
<Extension()>
Public Function BeginGetLearnedRoutesAsync (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GatewayRouteListResultInner)

Parâmetros

operations
IVirtualNetworkGatewaysOperations

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

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayName
String

O nome do gateway de rede virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a