Język

FirewallPacketCaptureContent Class

Definition

Compatibility declaration for the FirewallPacketCaptureContent type.

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

Constructors

Name Description
FirewallPacketCaptureContent()

Initializes a new instance of FirewallPacketCaptureContent.

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.

Id

Resource ID.

(Inherited from NetworkSubResource)
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)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<FirewallPacketCaptureContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Dummy implementation.

IJsonModel<FirewallPacketCaptureContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Dummy implementation.

IJsonModel<NetworkSubResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from NetworkSubResource)
IJsonModel<NetworkSubResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkSubResource)
IPersistableModel<FirewallPacketCaptureContent>.Create(BinaryData, ModelReaderWriterOptions)

Dummy implementation.

IPersistableModel<FirewallPacketCaptureContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Dummy implementation.

IPersistableModel<FirewallPacketCaptureContent>.Write(ModelReaderWriterOptions)

Dummy implementation.

IPersistableModel<NetworkSubResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkSubResource)
IPersistableModel<NetworkSubResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from NetworkSubResource)
IPersistableModel<NetworkSubResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkSubResource)

Applies to