Compartilhar via


VpnGatewaysOperationsExtensions.StopPacketCaptureAsync Método

Definição

Interrompe a captura de pacotes no gateway de vpn no grupo de recursos especificado.

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)

Parâmetros

operations
IVpnGatewaysOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos do VpnGateway.

gatewayName
String

O nome do gateway.

parameters
VpnGatewayPacketCaptureStopParameters

Parâmetros de captura de pacotes de gateway de VPN fornecidos para interromper a captura de pacotes no gateway de vpn.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a