IBorderGatewayProtocolPeeringOperations.BeginNewAsync Method

Definition

The New Border Gateway Protocol Peering operation creates a new Border Gateway Protocol Peering

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

Parameters

serviceKey
String

The service key representing the relationship between Azure and the customer.

accessType
BgpPeeringAccessType

Whether the peering is private or public.

parameters
BorderGatewayProtocolPeeringNewParameters

Parameters supplied to the New Border Gateway Protocol Peering operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

A standard service response including an HTTP status code and request ID.

Applies to