IBorderGatewayProtocolPeeringOperations.GetAsync Method

Definition

The Get Border Gateway Protocol Peering operation retrieves the bgp peering for the dedicated circuit with the specified service key.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringGetResponse> GetAsync (string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringGetResponse>
Public Function GetAsync (serviceKey As String, accessType As BgpPeeringAccessType, cancellationToken As CancellationToken) As Task(Of BorderGatewayProtocolPeeringGetResponse)

Parameters

serviceKey
String

The servicee key representing the dedicated circuit.

accessType
BgpPeeringAccessType

Whether the peering is private or public.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get Border Gateway Protocol Peering Operation Response.

Applies to