Partager via


FirewallPacketCaptureRequestContent Class

Definition

Azure Firewall Packet Capture Parameters.

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

Constructors

FirewallPacketCaptureRequestContent()

Initializes a new instance of FirewallPacketCaptureRequestContent.

Properties

DurationInSeconds

Duration of packet capture in seconds.

FileName

Name of file to be uploaded to sasURL.

Filters

Rules to filter packet captures.

Flags

The tcp-flag type to be captured. Used with protocol TCP.

NumberOfPacketsToCapture

Number of packets to be captured.

Protocol

The protocol of packets to capture.

SasUri

Upload capture location.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FirewallPacketCaptureRequestContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FirewallPacketCaptureRequestContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FirewallPacketCaptureRequestContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FirewallPacketCaptureRequestContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FirewallPacketCaptureRequestContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to