ConnectionMonitorsOperationsExtensions.QueryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Query a snapshot of the most recent connection states.
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)
Parameters
- operations
- IConnectionMonitorsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group containing Network Watcher.
- networkWatcherName
- String
The name of the Network Watcher resource.
- connectionMonitorName
- String
The name given to the connection monitor.
- cancellationToken
- CancellationToken
The cancellation token.