Freigeben über


VirtualNetworkGatewayNatRulesOperationsExtensions.DeleteAsync Methode

Definition

Löscht eine NAT-Regel.

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

Parameter

operations
IVirtualNetworkGatewayNatRulesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des Virtual Network Gateways.

virtualNetworkGatewayName
String

Der Name des Gateways.

natRuleName
String

Der Name der nat-Regel.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: