Partilhar via


PacketCaptureSettings Class

Definition

The storage location for a packet capture session.

public class PacketCaptureSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.PacketCaptureSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.PacketCaptureSettings>
type PacketCaptureSettings = class
    interface IJsonModel<PacketCaptureSettings>
    interface IPersistableModel<PacketCaptureSettings>
Public Class PacketCaptureSettings
Implements IJsonModel(Of PacketCaptureSettings), IPersistableModel(Of PacketCaptureSettings)
Inheritance
PacketCaptureSettings
Implements

Constructors

PacketCaptureSettings()

Initializes a new instance of PacketCaptureSettings.

Properties

FileCount

Number of file count. Default value of count is 10 and maximum number is 10000.

FileSizeInBytes

Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).

SessionTimeLimitInSeconds

Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).

Explicit Interface Implementations

IJsonModel<PacketCaptureSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PacketCaptureSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PacketCaptureSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PacketCaptureSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PacketCaptureSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to