Share via


VirtualNetworkGatewayConnectionsOperationsExtensions.StopPacketCaptureAsync Method

Definition

Stops packet capture on virtual network gateway connection in the specified resource group.

public static System.Threading.Tasks.Task<string> StopPacketCaptureAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, string sasUrl = default, System.Threading.CancellationToken cancellationToken = default);
static member StopPacketCaptureAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function StopPacketCaptureAsync (operations As IVirtualNetworkGatewayConnectionsOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, Optional sasUrl As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

operations
IVirtualNetworkGatewayConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayConnectionName
String

The name of the virtual network gateway Connection.

sasUrl
String

SAS url for packet capture on virtual network gateway.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to