Language

ConnectionAnalyzerResource.ConnectionAnalyzersQueryAsync Method

Definition

Queries the specified connection analyzer for diagnostic results.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers/{connectionAnalyzerName}/query.
  • Operation Id. : NetworkWatchers_ConnectionAnalyzersQuery.
  • Default Api Version. : 2025-09-01.
  • Resource. : ConnectionAnalyzerResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ConnectionAnalyzerQueryStatusResult>> ConnectionAnalyzersQueryAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member ConnectionAnalyzersQueryAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ConnectionAnalyzerQueryStatusResult>>
override this.ConnectionAnalyzersQueryAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ConnectionAnalyzerQueryStatusResult>>
Public Overridable Function ConnectionAnalyzersQueryAsync (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ConnectionAnalyzerQueryStatusResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to