Compartilhar via


VpnGatewaysOperationsExtensions.BeginStartPacketCaptureAsync Método

Definição

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

public static System.Threading.Tasks.Task<string> BeginStartPacketCaptureAsync (this Microsoft.Azure.Management.Network.IVpnGatewaysOperations operations, string resourceGroupName, string gatewayName, Microsoft.Azure.Management.Network.Models.VpnGatewayPacketCaptureStartParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginStartPacketCaptureAsync : Microsoft.Azure.Management.Network.IVpnGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnGatewayPacketCaptureStartParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function BeginStartPacketCaptureAsync (operations As IVpnGatewaysOperations, resourceGroupName As String, gatewayName As String, Optional parameters As VpnGatewayPacketCaptureStartParameters = 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
VpnGatewayPacketCaptureStartParameters

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a