PacketCaptureCreateOrUpdateContent Class

Definition

Compatibility declaration for the PacketCaptureCreateOrUpdateContent type.

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

Constructors

Name Description
PacketCaptureCreateOrUpdateContent(String, PacketCaptureStorageLocation)

Initializes a new instance of PacketCaptureCreateOrUpdateContent.

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 compatibility property.

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<PacketCaptureCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PacketCaptureCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PacketCaptureCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PacketCaptureCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PacketCaptureCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to