Compartilhar via


VpnConnectionsOperationsExtensions.StartPacketCaptureAsync Método

Definição

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

public static System.Threading.Tasks.Task<string> StartPacketCaptureAsync (this Microsoft.Azure.Management.Network.IVpnConnectionsOperations operations, string resourceGroupName, string gatewayName, string vpnConnectionName, Microsoft.Azure.Management.Network.Models.VpnConnectionPacketCaptureStartParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member StartPacketCaptureAsync : Microsoft.Azure.Management.Network.IVpnConnectionsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.VpnConnectionPacketCaptureStartParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function StartPacketCaptureAsync (operations As IVpnConnectionsOperations, resourceGroupName As String, gatewayName As String, vpnConnectionName As String, Optional parameters As VpnConnectionPacketCaptureStartParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parâmetros

operations
IVpnConnectionsOperations

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

resourceGroupName
String

O nome do grupo de recursos.

gatewayName
String

O nome do gateway.

vpnConnectionName
String

O nome da conexão vpn.

parameters
VpnConnectionPacketCaptureStartParameters

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a