VpnGatewaysOperationsExtensions.StartPacketCaptureAsync Method

Definition

Starts packet capture on vpn gateway in the specified resource group.

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

Parameters

operations
IVpnGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VpnGateway.

gatewayName
String

The name of the gateway.

parameters
VpnGatewayPacketCaptureStartParameters

Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to