Compartir a través de


PacketCaptureParameters Constructores

Definición

Sobrecargas

PacketCaptureParameters()

Inicializa una nueva instancia de la clase PacketCaptureParameters.

PacketCaptureParameters(String, PacketCaptureStorageLocation, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>)

Inicializa una nueva instancia de la clase PacketCaptureParameters.

PacketCaptureParameters()

Inicializa una nueva instancia de la clase PacketCaptureParameters.

public PacketCaptureParameters ();
Public Sub New ()

Se aplica a

PacketCaptureParameters(String, PacketCaptureStorageLocation, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>)

Inicializa una nueva instancia de la clase PacketCaptureParameters.

public PacketCaptureParameters (string target, Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation storageLocation, Microsoft.Azure.Management.Network.Models.PacketCaptureMachineScope scope = default, Microsoft.Azure.Management.Network.Models.PacketCaptureTargetType? targetType = default, long? bytesToCapturePerPacket = default, long? totalBytesPerSession = default, int? timeLimitInSeconds = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PacketCaptureFilter> filters = default);
new Microsoft.Azure.Management.Network.Models.PacketCaptureParameters : string * Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation * Microsoft.Azure.Management.Network.Models.PacketCaptureMachineScope * Nullable<Microsoft.Azure.Management.Network.Models.PacketCaptureTargetType> * Nullable<int64> * Nullable<int64> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PacketCaptureFilter> -> Microsoft.Azure.Management.Network.Models.PacketCaptureParameters
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation, Optional scope As PacketCaptureMachineScope = Nothing, Optional targetType As Nullable(Of PacketCaptureTargetType) = Nothing, Optional bytesToCapturePerPacket As Nullable(Of Long) = Nothing, Optional totalBytesPerSession As Nullable(Of Long) = Nothing, Optional timeLimitInSeconds As Nullable(Of Integer) = Nothing, Optional filters As IList(Of PacketCaptureFilter) = Nothing)

Parámetros

target
String

El identificador del recurso de destino, actualmente solo se admiten AzureVM y AzureVMSS como tipo de destino.

storageLocation
PacketCaptureStorageLocation

Ubicación de almacenamiento de una sesión de captura de paquetes.

scope
PacketCaptureMachineScope

Lista de instancias de AzureVMSS que se pueden incluir o excluir para ejecutar la captura de paquetes. Si ambos incluidos y excluidos están vacíos, la captura de paquetes se ejecutará en todas las instancias de AzureVMSS.

targetType
Nullable<PacketCaptureTargetType>

Tipo de destino del recurso proporcionado. Entre los valores posibles se incluyen: "AzureVM", "AzureVMSS"

bytesToCapturePerPacket
Nullable<Int64>

Número de bytes capturados por paquete, los bytes restantes se truncan.

totalBytesPerSession
Nullable<Int64>

Tamaño máximo de la salida de captura.

timeLimitInSeconds
Nullable<Int32>

Duración máxima de la sesión de captura en segundos.

filters
IList<PacketCaptureFilter>

Una lista de filtros de captura de paquetes.

Se aplica a