다음을 통해 공유


VpnGatewaysOperationsExtensions.BeginStartPacketCaptureAsync Method

Definition

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

public static System.Threading.Tasks.Task<string> BeginStartPacketCaptureAsync (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 BeginStartPacketCaptureAsync : Microsoft.Azure.Management.Network.IVpnGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnGatewayPacketCaptureStartParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function BeginStartPacketCaptureAsync (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