共用方式為


NetworkWatcherResource.VerifyIPFlowAsync Method

Definition

Verify IP flow from the specified VM to a location given the currently configured NSG rules.

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

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
VerificationIPFlowContent

Parameters that define the IP flow to be verified.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to