Compartilhar via


VirtualNetworkGatewayConnectionsOperationsExtensions.BeginStartPacketCaptureAsync Método

Definição

Inicia a captura de pacotes na conexão de gateway de rede virtual no grupo de recursos especificado.

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

Parâmetros

operations
IVirtualNetworkGatewayConnectionsOperations

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

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayConnectionName
String

O nome da conexão de gateway de rede virtual.

parameters
VpnPacketCaptureStartParameters

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a