Freigeben über


VirtualNetworkGatewaysOperationsExtensions.DeleteAsync Methode

Definition

Löscht das angegebene Gateway des virtuellen Netzwerks.

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

Parameter

operations
IVirtualNetworkGatewaysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

virtualNetworkGatewayName
String

Der Name des Gateways für virtuelle Netzwerke.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: