PacketCaptureContent Class

Definition

Parameters that define the create packet capture operation.

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

Constructors

Name Description
PacketCaptureContent(String, PacketCaptureStorageLocation)

Initializes a new instance of PacketCaptureContent.

Properties

Name Description
BytesToCapturePerPacket

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

CaptureSettings

The capture setting holds the 'FileCount', 'FileSizeInBytes', 'SessionTimeLimitInSeconds' values.

ContinuousCapture

This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'.

Filters

A list of packet capture filters.

IsContinuousCapture

Gets or sets the IsContinuousCapture.

Scope

A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.

StorageLocation

The storage location for a packet capture session.

Target

The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.

TargetType

Target type of the resource provided.

TimeLimitInSeconds

Maximum duration of the capture session in seconds.

TotalBytesPerSession

Maximum size of the capture output.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<PacketCaptureContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<PacketCaptureContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<PacketCaptureContent>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<PacketCaptureContent>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<PacketCaptureContent>.Write(ModelReaderWriterOptions)

Applies to