FirewallPacketCaptureRequestContent Class

Definition

Compatibility alias for firewall packet capture request content.

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.

Protocol

The protocol of packets to capture.

SasUri

Upload capture location.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model as JSON.

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