Share via


VirtualHubBgpConnectionsOperationsExtensions.ListAdvertisedRoutes Method

Definition

Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.

public static Microsoft.Azure.Management.Network.Models.PeerRouteList ListAdvertisedRoutes (this Microsoft.Azure.Management.Network.IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName);
static member ListAdvertisedRoutes : Microsoft.Azure.Management.Network.IVirtualHubBgpConnectionsOperations * string * string * string -> Microsoft.Azure.Management.Network.Models.PeerRouteList
<Extension()>
Public Function ListAdvertisedRoutes (operations As IVirtualHubBgpConnectionsOperations, resourceGroupName As String, hubName As String, connectionName As String) As 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.

Returns

Applies to