Freigeben über


ConnectionMonitorsOperationsExtensions.GetAsync Methode

Definition

Ruft einen Verbindungsmonitor nach Name ab.

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

Parameter

operations
IConnectionMonitorsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die Network Watcher enthält.

networkWatcherName
String

Der Name der Network Watcher Ressource.

connectionMonitorName
String

Der Name des Verbindungsmonitors.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: