IBorderGatewayProtocolPeeringOperations.BeginRemoveAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Remove Border Gateway Protocol Peering operation deletes an existing border gateway protocol peering.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationResponse> BeginRemoveAsync (string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeerAddressType peerAddressType, System.Threading.CancellationToken cancellationToken);
abstract member BeginRemoveAsync : string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeerAddressType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationResponse>
Public Function BeginRemoveAsync (serviceKey As String, accessType As BgpPeeringAccessType, peerAddressType As BgpPeerAddressType, cancellationToken As CancellationToken) As Task(Of ExpressRouteOperationResponse)
Parameters
- serviceKey
- String
Service Key representing the border gateway protocol peering to be deleted.
- accessType
- BgpPeeringAccessType
Whether the peering is private or public.
- peerAddressType
- BgpPeerAddressType
Whether the BGP Peer Address Type to deleted is IPv4, IPv6 or All.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.