Partager via


ConnectionMonitorsOperationsExtensions.QueryAsync Méthode

Définition

Interrogez un instantané des états de connexion les plus récents.

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

Paramètres

operations
IConnectionMonitorsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources contenant Network Watcher.

networkWatcherName
String

Nom de la ressource Network Watcher.

connectionMonitorName
String

Nom donné au moniteur de connexion.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à