PacketCaptureParameters Constructors

Definition

Overloads

PacketCaptureParameters()

Initializes a new instance of the PacketCaptureParameters class.

PacketCaptureParameters(String, PacketCaptureStorageLocation, Nullable<Int32>, Nullable<Int32>, 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<Int32>, Nullable<Int32>, Nullable<Int32>, IList<PacketCaptureFilter>)

Initializes a new instance of the PacketCaptureParameters class.

public PacketCaptureParameters (string target, Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureStorageLocation storageLocation, int? bytesToCapturePerPacket = default, int? totalBytesPerSession = default, int? timeLimitInSeconds = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureFilter> filters = default);
new Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureParameters : string * Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureStorageLocation * Nullable<int> * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureFilter> -> Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureParameters
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation, Optional bytesToCapturePerPacket As Nullable(Of Integer) = Nothing, Optional totalBytesPerSession As Nullable(Of Integer) = Nothing, Optional timeLimitInSeconds As Nullable(Of Integer) = Nothing, Optional filters As IList(Of PacketCaptureFilter) = Nothing)

Parameters

target
String

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

storageLocation
PacketCaptureStorageLocation

Describes the storage location for a packet capture session.

bytesToCapturePerPacket
Nullable<Int32>

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

totalBytesPerSession
Nullable<Int32>

Maximum size of the capture output.

timeLimitInSeconds
Nullable<Int32>

Maximum duration of the capture session in seconds.

filters
IList<PacketCaptureFilter>

A list of packet capture filters.

Applies to