Share via


ExpressRouteConnectionsOperationsExtensions.DeleteAsync Method

Definition

Deletes a connection to a ExpressRoute circuit.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Network.Fluent.IExpressRouteConnectionsOperations operations, string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Network.Fluent.IExpressRouteConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IExpressRouteConnectionsOperations, resourceGroupName As String, expressRouteGatewayName As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IExpressRouteConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRouteGatewayName
String

The name of the ExpressRoute gateway.

connectionName
String

The name of the connection subresource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to