Freigeben über


LocalNetworkGatewaysOperationsExtensions.GetAsync Methode

Definition

Ruft das angegebene lokale Netzwerkgateway in einer Ressourcengruppe ab.

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

Parameter

operations
ILocalNetworkGatewaysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

localNetworkGatewayName
String

Der Name des lokalen Netzwerk-Gateways.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: