Freigeben über


VirtualNetworksOperationsExtensions.GetAsync Methode

Definition

Ruft das angegebene virtuelle Netzwerk nach Ressourcengruppe ab.

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

Parameter

operations
IVirtualNetworksOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

virtualNetworkName
String

Den Namen des virtuellen Netzwerks.

expand
String

Erweitert die referenzierten Ressourcen.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: