VirtualNetworkGatewayConnectionsOperationsExtensions.StartPacketCapture Method

Definition

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

public static string StartPacketCapture (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, Microsoft.Azure.Management.Network.Models.VpnPacketCaptureStartParameters parameters = default);
static member StartPacketCapture : Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnPacketCaptureStartParameters -> string
<Extension()>
Public Function StartPacketCapture (operations As IVirtualNetworkGatewayConnectionsOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, Optional parameters As VpnPacketCaptureStartParameters = Nothing) As 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.

parameters
VpnPacketCaptureStartParameters

Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.

Returns

Applies to