ArmNetworkModelFactory.PacketCaptureData Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
El identificador.
- name
- String
Nombre.
- resourceType
- ResourceType
ResourceType.
- systemData
- SystemData
SystemData.
- target
- String
El identificador del recurso de destino, actualmente solo se admiten AzureVM y AzureVMSS como tipo de destino.
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.
Número de bytes capturados por paquete, se truncan los bytes restantes.
- 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
Azure SDK for .NET