BorderGatewayProtocolPeeringOperationsExtensions.BeginRemoveAsync Method

Definition

The Remove Border Gateway Protocol Peering operation deletes an existing border gateway protocol peering.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationResponse> BeginRemoveAsync (this Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations operations, string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeerAddressType peerAddressType);
static member BeginRemoveAsync : Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations * string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeerAddressType -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationResponse>
<Extension()>
Public Function BeginRemoveAsync (operations As IBorderGatewayProtocolPeeringOperations, serviceKey As String, accessType As BgpPeeringAccessType, peerAddressType As BgpPeerAddressType) As Task(Of ExpressRouteOperationResponse)

Parameters

operations
IBorderGatewayProtocolPeeringOperations

Reference to the Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations.

serviceKey
String

Required. Service Key representing the border gateway protocol peering to be deleted.

accessType
BgpPeeringAccessType

Required. Whether the peering is private or public.

peerAddressType
BgpPeerAddressType

Required. Whether the BGP Peer Address Type to deleted is IPv4, IPv6 or All.

Returns

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

Applies to