共用方式為


FiltersConfiguration Class

Definition

Filters configuration for the Event Subscription.

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

Constructors

FiltersConfiguration()

Initializes a new instance of FiltersConfiguration.

Properties

Filters

An array of filters that are used for filtering event subscriptions. Please note EventGridFilter is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include BoolEqualsFilter, IsNotNullFilter, IsNullOrUndefinedFilter, NumberGreaterThanFilter, NumberGreaterThanOrEqualsFilter, NumberInFilter, NumberInRangeFilter, NumberLessThanFilter, NumberLessThanOrEqualsFilter, NumberNotInFilter, NumberNotInRangeFilter, StringBeginsWithFilter, StringContainsFilter, StringEndsWithFilter, StringInFilter, StringNotBeginsWithFilter, StringNotContainsFilter, StringNotEndsWithFilter and StringNotInFilter.

IncludedEventTypes

A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.

Explicit Interface Implementations

IJsonModel<FiltersConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FiltersConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FiltersConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FiltersConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FiltersConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to