VpnConnectionsOperationsExtensions.StopPacketCaptureAsync(IVpnConnectionsOperations, String, String, String, VpnConnectionPacketCaptureStopParameters, CancellationToken) Method

Definition

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

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

Parameters

operations
IVpnConnectionsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

gatewayName
System.String

The name of the gateway.

vpnConnectionName
System.String

The name of the vpn connection.

parameters
VpnConnectionPacketCaptureStopParameters

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.String>

Applies to