Compartilhar via


VpnConnectionResource.StopPacketCapture Método

Definição

Interrompe a captura de pacotes na conexão Vpn no grupo de recursos especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture
  • Operação IdVpnConnections_StopPacketCapture
public virtual Azure.ResourceManager.ArmOperation<string> StopPacketCapture (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.VpnConnectionPacketCaptureStopContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StopPacketCapture : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VpnConnectionPacketCaptureStopContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<string>
override this.StopPacketCapture : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VpnConnectionPacketCaptureStopContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<string>
Public Overridable Function StopPacketCapture (waitUntil As WaitUntil, Optional content As VpnConnectionPacketCaptureStopContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of String)

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

content
VpnConnectionPacketCaptureStopContent

Parâmetros de captura de pacote de conexão VPN fornecidos para interromper a captura de pacotes na conexão de gateway.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a