VirtualHubBgpConnectionsOperationsExtensions.BeginListLearnedRoutesAsync Method

Definition

Retrieves a list of routes the virtual hub bgp connection has learned.

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

Parameters

operations
IVirtualHubBgpConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

hubName
String

The name of the virtual hub.

connectionName
String

The name of the virtual hub bgp connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to