Freigeben über


NetworkWatchersOperationsExtensions.GetAsync Methode

Definition

Ruft den angegebenen Network Watcher nach Ressourcengruppe ab.

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

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: