Share via


PacketCaptureCreateOrUpdateContent Class

Definition

Parameters that define the create packet capture operation.

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

Constructors

PacketCaptureCreateOrUpdateContent(String, PacketCaptureStorageLocation)

Initializes a new instance of PacketCaptureCreateOrUpdateContent.

Properties

BytesToCapturePerPacket

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

CaptureSettings

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

Filters

A list of packet capture filters.

IsContinuousCapture

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'.

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.

Explicit Interface Implementations

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