VpnGatewaysOperationsExtensions.StopPacketCaptureAsync Method

Definition

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

public static System.Threading.Tasks.Task<string> StopPacketCaptureAsync (this Microsoft.Azure.Management.Network.IVpnGatewaysOperations operations, string resourceGroupName, string gatewayName, Microsoft.Azure.Management.Network.Models.VpnGatewayPacketCaptureStopParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member StopPacketCaptureAsync : Microsoft.Azure.Management.Network.IVpnGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnGatewayPacketCaptureStopParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function StopPacketCaptureAsync (operations As IVpnGatewaysOperations, resourceGroupName As String, gatewayName As String, Optional parameters As VpnGatewayPacketCaptureStopParameters = 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
VpnGatewayPacketCaptureStopParameters

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to