Compartir a través de


ArmNetworkModelFactory.PacketCaptureData Método

Definición

Inicializa una nueva instancia de PacketCaptureData.

public static Azure.ResourceManager.Network.PacketCaptureData PacketCaptureData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, string target = default, Azure.ResourceManager.Network.Models.PacketCaptureMachineScope scope = default, Azure.ResourceManager.Network.Models.PacketCaptureTargetType? targetType = default, long? bytesToCapturePerPacket = default, long? totalBytesPerSession = default, int? timeLimitInSeconds = default, Azure.ResourceManager.Network.Models.PacketCaptureStorageLocation storageLocation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.PacketCaptureFilter> filters = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member PacketCaptureData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * Azure.ResourceManager.Network.Models.PacketCaptureMachineScope * Nullable<Azure.ResourceManager.Network.Models.PacketCaptureTargetType> * Nullable<int64> * Nullable<int64> * Nullable<int> * Azure.ResourceManager.Network.Models.PacketCaptureStorageLocation * seq<Azure.ResourceManager.Network.Models.PacketCaptureFilter> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.PacketCaptureData
Public Shared Function PacketCaptureData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional target As String = Nothing, 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 storageLocation As PacketCaptureStorageLocation = Nothing, Optional filters As IEnumerable(Of PacketCaptureFilter) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As PacketCaptureData

Parámetros

id
ResourceIdentifier

El identificador.

name
String

Nombre.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

etag
Nullable<ETag>

Cadena de solo lectura única que cambia cada vez que se actualiza el recurso.

target
String

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

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.

bytesToCapturePerPacket
Nullable<Int64>

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

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.

storageLocation
PacketCaptureStorageLocation

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

filters
IEnumerable<PacketCaptureFilter>

Lista de filtros de captura de paquetes.

provisioningState
Nullable<NetworkProvisioningState>

Estado de aprovisionamiento de la sesión de captura de paquetes.

Devoluciones

PacketCaptureData Nueva instancia de para simular.

Se aplica a