Share via


PacketCaptureFilter Class

Definition

Filter that is applied to packet capture request. Multiple filters can be applied.

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

Constructors

PacketCaptureFilter()

Initializes a new instance of PacketCaptureFilter.

Properties

LocalIPAddress

Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.

LocalPort

Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.

Protocol

Protocol to be filtered on.

RemoteIPAddress

Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.

RemotePort

Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.

Explicit Interface Implementations

IJsonModel<PacketCaptureFilter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PacketCaptureFilter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PacketCaptureFilter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PacketCaptureFilter>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PacketCaptureFilter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to