Freigeben über


NetworkWatchersOperationsExtensions.GetAsync Methode

Definition

Ruft den angegebenen Network Watcher nach Ressourcengruppe ab.

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

Parameter

operations
INetworkWatchersOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

networkWatcherName
String

Der Name des Network Watchers.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: