Freigeben über


VirtualNetworkGatewaysOperationsExtensions.GetAsync Methode

Definition

Ruft das angegebene Virtuelle Netzwerkgateway nach Ressourcengruppe ab.

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

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: