Share via


NatGatewaysOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified nat gateway.

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

Parameters

operations
INatGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

natGatewayName
String

The name of the nat gateway.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to