Share via


VirtualHubBgpConnectionsOperationsExtensions.ListLearnedRoutesAsync 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> ListLearnedRoutesAsync(this Microsoft.Azure.Management.Network.IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, System.Threading.CancellationToken cancellationToken = default);

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

Product Versions
Azure SDK for .NET Latest