Freigeben über


PacketCaptureResult Konstruktoren

Definition

Überlädt

PacketCaptureResult()

Initialisiert eine neue instance der PacketCaptureResult-Klasse.

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

Initialisiert eine neue instance der PacketCaptureResult-Klasse.

PacketCaptureResult()

Initialisiert eine neue instance der PacketCaptureResult-Klasse.

public PacketCaptureResult();
Public Sub New ()

Gilt für:

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

Initialisiert eine neue instance der PacketCaptureResult-Klasse.

public PacketCaptureResult(string target, Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation storageLocation, string name = default, string id = default, string etag = default, 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, string provisioningState = default);
new Microsoft.Azure.Management.Network.Models.PacketCaptureResult : string * Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation * string * string * string * 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> * string -> Microsoft.Azure.Management.Network.Models.PacketCaptureResult
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation, Optional name As String = Nothing, Optional id As String = Nothing, Optional etag 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 filters As IList(Of PacketCaptureFilter) = Nothing, Optional provisioningState As String = Nothing)

Parameter

target
String

Die ID der Zielressource, nur AzureVM und AzureVMSS als Zieltyp werden derzeit unterstützt.

storageLocation
PacketCaptureStorageLocation

Der Speicherort für eine Paketerfassungssitzung.

name
String

Name der Paketerfassungssitzung.

id
String

ID des Paketerfassungsvorgangs.

etag
String

Eine eindeutige schreibgeschützte Zeichenfolge, die sich ändert, wenn die Ressource aktualisiert wird.

scope
PacketCaptureMachineScope

Eine Liste der AzureVMSS-Instanzen, die zum Ausführen der Paketerfassung eingeschlossen oder ausgeschlossen werden können. Wenn sowohl eingeschlossene als auch ausgeschlossene leer sind, wird die Paketerfassung auf allen Instanzen von AzureVMSS ausgeführt.

targetType
Nullable<PacketCaptureTargetType>

Zieltyp der bereitgestellten Ressource. Mögliche Werte: "AzureVM", "AzureVMSS"

bytesToCapturePerPacket
Nullable<Int64>

Anzahl der pro Paket erfassten Bytes, die verbleibenden Bytes werden abgeschnitten.

totalBytesPerSession
Nullable<Int64>

Maximale Größe der Aufzeichnungsausgabe.

timeLimitInSeconds
Nullable<Int32>

Maximale Dauer der Aufzeichnungssitzung in Sekunden.

filters
IList<PacketCaptureFilter>

Eine Liste von Paketerfassungsfiltern.

provisioningState
String

Der Bereitstellungsstatus der Paketerfassungssitzung. Mögliche Werte: "Succeeded", "Updating", "Deleting", "Failed"

Gilt für: