Share via


VirtualNetworkGatewaysOperationsExtensions.BeginStartPacketCaptureAsync Method

Definition

Starts packet capture on virtual network gateway in the specified resource group.

public static System.Threading.Tasks.Task<string> BeginStartPacketCaptureAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, string filterData = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginStartPacketCaptureAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function BeginStartPacketCaptureAsync (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayName As String, Optional filterData As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

operations
IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayName
String

The name of the virtual network gateway.

filterData
String

Start Packet capture parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to