VirtualNetworkGatewaysOperationsExtensions.BeginGetLearnedRoutesAsync(IVirtualNetworkGatewaysOperations, String, String, CancellationToken) VirtualNetworkGatewaysOperationsExtensions.BeginGetLearnedRoutesAsync(IVirtualNetworkGatewaysOperations, String, String, CancellationToken) Method

Definition

This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.GatewayRouteListResult> BeginGetLearnedRoutesAsync (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = null);
static member BeginGetLearnedRoutesAsync : Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.GatewayRouteListResult>

Parameters

operations
IVirtualNetworkGatewaysOperations IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group.

virtualNetworkGatewayName
String String

The name of the virtual network gateway.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Applies to