Compartir a través de


PacketCapturesOperationsExtensions.BeginCreateAsync Método

Definición

Cree e inicie una captura de paquetes en la máquina virtual especificada.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureResultInner> BeginCreateAsync (this Microsoft.Azure.Management.Network.Fluent.IPacketCapturesOperations operations, string resourceGroupName, string networkWatcherName, string packetCaptureName, Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.Network.Fluent.IPacketCapturesOperations * string * string * string * Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureResultInner>
<Extension()>
Public Function BeginCreateAsync (operations As IPacketCapturesOperations, resourceGroupName As String, networkWatcherName As String, packetCaptureName As String, parameters As PacketCaptureInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PacketCaptureResultInner)

Parámetros

operations
IPacketCapturesOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

networkWatcherName
String

Nombre del monitor de red.

packetCaptureName
String

Nombre de la sesión de captura de paquetes.

parameters
PacketCaptureInner

Parámetros que definen la operación de creación de captura de paquetes.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a