PacketCapture Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
PacketCapture() |
Initialisiert eine neue instance der PacketCapture-Klasse. |
PacketCapture(String, PacketCaptureStorageLocation, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>) |
Initialisiert eine neue instance der PacketCapture-Klasse. |
PacketCapture()
Initialisiert eine neue instance der PacketCapture-Klasse.
public PacketCapture();
Public Sub New ()
Gilt für:
PacketCapture(String, PacketCaptureStorageLocation, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>)
Initialisiert eine neue instance der PacketCapture-Klasse.
public PacketCapture(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.PacketCapture : 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.PacketCapture
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)
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.
Eine Liste von 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"
Anzahl der pro Paket erfassten Bytes, die restlichen Bytes werden abgeschnitten.
- filters
- IList<PacketCaptureFilter>
Eine Liste von Paketerfassungsfiltern.
Gilt für:
Azure SDK for .NET