共用方式為


VirtualNetworkGatewaysOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified virtual network gateway.

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

Parameters

operations
IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayName
String

The name of the virtual network gateway.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to