Share via


VirtualNetworkGatewayConnectionsOperationsExtensions.StartPacketCaptureAsync Method

Definition

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

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

Parameters

operations
IVirtualNetworkGatewayConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayConnectionName
String

The name of the virtual network gateway connection.

filterData
String

Start Packet capture parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to