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

Definition

The GetBgpPeerStatus operation retrieves the status of all BGP peers.

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

Parameters

operations
IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

virtualNetworkGatewayName
System.String

The name of the virtual network gateway.

peer
System.String

The IP address of the peer to retrieve the status of.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<BgpPeerStatusListResultInner>

Applies to