Partilhar via


VpnGatewayResource.StopPacketCaptureAsync Método

Definição

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

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture
  • Operação IdVpnGateways_StopPacketCapture
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<string>> StopPacketCaptureAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.VpnGatewayPacketCaptureStopContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StopPacketCaptureAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VpnGatewayPacketCaptureStopContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<string>>
override this.StopPacketCaptureAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VpnGatewayPacketCaptureStopContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<string>>
Public Overridable Function StopPacketCaptureAsync (waitUntil As WaitUntil, Optional content As VpnGatewayPacketCaptureStopContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
VpnGatewayPacketCaptureStopContent

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 a ser usado.

Retornos

Aplica-se a