PacketCaptureParameters Class

Definition

Parameters that define the create packet capture operation.

public class PacketCaptureParameters
type PacketCaptureParameters = class
Public Class PacketCaptureParameters
Inheritance
PacketCaptureParameters

Constructors

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.

Properties

BytesToCapturePerPacket

Gets or sets number of bytes captured per packet, the remaining bytes are truncated.

Filters

Gets or sets a list of packet capture filters.

StorageLocation

Gets or sets describes the storage location for a packet capture session.

Target

Gets or sets the ID of the targeted resource, only VM is currently supported.

TimeLimitInSeconds

Gets or sets maximum duration of the capture session in seconds.

TotalBytesPerSession

Gets or sets maximum size of the capture output.

Methods

Validate()

Validate the object.

Applies to