Freigeben über


NatRulesOperationsExtensions.ListByVpnGatewayAsync Methode

Definition

Ruft alle NAT-Regeln für ein bestimmtes virtuelles WAN-VPN-Gateway ab.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VpnGatewayNatRule>> ListByVpnGatewayAsync (this Microsoft.Azure.Management.Network.INatRulesOperations operations, string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default);
static member ListByVpnGatewayAsync : Microsoft.Azure.Management.Network.INatRulesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VpnGatewayNatRule>>
<Extension()>
Public Function ListByVpnGatewayAsync (operations As INatRulesOperations, resourceGroupName As String, gatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VpnGatewayNatRule))

Parameter

operations
INatRulesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des VpnGateway.

gatewayName
String

Der Name des Gateways.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: