Freigeben über


VirtualNetworkGatewayNatRulesOperationsExtensions.GetAsync Methode

Definition

Ruft die Details einer NAT-Regel ab.

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

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: