Share via


VirtualNetworkGatewayConnectionsOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified virtual network Gateway connection.

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

Parameters

operations
IVirtualNetworkGatewayConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayConnectionName
String

The name of the virtual network gateway connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to