Share via


NetworkWatcherResource.GetFlowLogStatusAsync Method

Definition

Queries status of flow log and traffic analytics (optional) on a specified resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus
  • Operation Id: NetworkWatchers_GetFlowLogStatus
  • Default Api Version: 2024-03-01
  • Resource: NetworkWatcherResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.FlowLogInformation>> GetFlowLogStatusAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.FlowLogStatusContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFlowLogStatusAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.FlowLogStatusContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.FlowLogInformation>>
override this.GetFlowLogStatusAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.FlowLogStatusContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.FlowLogInformation>>
Public Overridable Function GetFlowLogStatusAsync (waitUntil As WaitUntil, content As FlowLogStatusContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of FlowLogInformation))

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.

content
FlowLogStatusContent

Parameters that define a resource to query flow log and traffic analytics (optional) status.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to