LocalNetworkGatewaysOperationsExtensions.DeleteAsync(ILocalNetworkGatewaysOperations, String, String, CancellationToken) Method

Definition

Deletes the specified local network gateway.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Network.ILocalNetworkGatewaysOperations operations, string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = null);
static member DeleteAsync : Microsoft.Azure.Management.Network.ILocalNetworkGatewaysOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
ILocalNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

localNetworkGatewayName
System.String

The name of the local network gateway.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to