Språk

FirewallPacketCaptureRequestContent Class

Definition

Azure Firewall Packet Capture Parameters.

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

Constructors

Name Description
FirewallPacketCaptureRequestContent()

Initializes a new instance of FirewallPacketCaptureRequestContent.

Properties

Name Description
DurationInSeconds

Duration of packet capture in seconds. If the field is not provided, the default value is 60.

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. If the field is not provided, the default value is 1000.

Operation

The packet capture operation to perform. If the Start operation is selected, please provide all the fields in the firewallPacketCaptureParameters to successfully initiate the packet capture. If the Status or Stop operation is selected, only the operation field is required; all other fields in the firewallPacketCaptureParameters can be omitted to successfully retrieve the capture status or stop the capture.

Protocol

The protocol of packets to capture.

SasUri

Upload capture location.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model as JSON.

PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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