PacketCaptureParameters Constructors

Definition

Overloads

PacketCaptureParameters()

Initializes a new instance of the PacketCaptureParameters class.

PacketCaptureParameters(String, PacketCaptureStorageLocation, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>)

Initializes a new instance of the PacketCaptureParameters class.

PacketCaptureParameters()

Initializes a new instance of the PacketCaptureParameters class.

public PacketCaptureParameters ();
Public Sub New ()

Applies to

PacketCaptureParameters(String, PacketCaptureStorageLocation, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>)

Initializes a new instance of the PacketCaptureParameters class.

public PacketCaptureParameters (string target, Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation storageLocation, 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.PacketCaptureParameters : string * Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation * Nullable<int64> * Nullable<int64> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PacketCaptureFilter> -> Microsoft.Azure.Management.Network.Models.PacketCaptureParameters
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation, 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)

Parameters

target
System.String

The ID of the targeted resource, only VM is currently supported.

storageLocation
PacketCaptureStorageLocation

The storage location for a packet capture session.

bytesToCapturePerPacket
System.Nullable<System.Int64>

Number of bytes captured per packet, the remaining bytes are truncated.

totalBytesPerSession
System.Nullable<System.Int64>

Maximum size of the capture output.

timeLimitInSeconds
System.Nullable<System.Int32>

Maximum duration of the capture session in seconds.

filters
System.Collections.Generic.IList<PacketCaptureFilter>

A list of packet capture filters.

Applies to