다음을 통해 공유


VpnConnectionsOperationsExtensions.StartPacketCapture Method

Definition

Starts packet capture on Vpn connection in the specified resource group.

public static string StartPacketCapture (this Microsoft.Azure.Management.Network.IVpnConnectionsOperations operations, string resourceGroupName, string gatewayName, string vpnConnectionName, Microsoft.Azure.Management.Network.Models.VpnConnectionPacketCaptureStartParameters parameters = default);
static member StartPacketCapture : Microsoft.Azure.Management.Network.IVpnConnectionsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.VpnConnectionPacketCaptureStartParameters -> string
<Extension()>
Public Function StartPacketCapture (operations As IVpnConnectionsOperations, resourceGroupName As String, gatewayName As String, vpnConnectionName As String, Optional parameters As VpnConnectionPacketCaptureStartParameters = Nothing) As String

Parameters

operations
IVpnConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

gatewayName
String

The name of the gateway.

vpnConnectionName
String

The name of the vpn connection.

parameters
VpnConnectionPacketCaptureStartParameters

Vpn Connection packet capture parameters supplied to start packet capture on gateway connection.

Returns

Applies to