Compartilhar via


ArmNetworkModelFactory.PacketCaptureData Método

Definição

Inicializa uma nova instância 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

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

etag
Nullable<ETag>

Uma cadeia de caracteres somente leitura exclusiva que é alterada sempre que o recurso é atualizado.

target
String

Atualmente, há suporte para a ID do recurso de destino, apenas AzureVM e AzureVMSS como tipo de destino.

scope
PacketCaptureMachineScope

Uma lista de instâncias do AzureVMSS que podem ser incluídas ou excluídas para executar a captura de pacotes. Se incluídos e excluídos estiverem vazios, a captura de pacotes será executada em todas as instâncias do AzureVMSS.

targetType
Nullable<PacketCaptureTargetType>

Tipo de destino do recurso fornecido.

bytesToCapturePerPacket
Nullable<Int64>

Número de bytes capturados por pacote, os bytes restantes são truncados.

totalBytesPerSession
Nullable<Int64>

Tamanho máximo da saída de captura.

timeLimitInSeconds
Nullable<Int32>

Duração máxima da sessão de captura em segundos.

storageLocation
PacketCaptureStorageLocation

O local de armazenamento de uma sessão de captura de pacotes.

filters
IEnumerable<PacketCaptureFilter>

Uma lista de filtros de captura de pacotes.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento da sessão de captura de pacotes.

Retornos

Uma nova PacketCaptureData instância para zombar.

Aplica-se a