Share via


EventSubscriptionFilter Class

Definition

Filter for the Event Subscription.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.EventSubscriptionFilterTypeConverter))]
public class EventSubscriptionFilter : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IEventSubscriptionFilter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.EventSubscriptionFilterTypeConverter))>]
type EventSubscriptionFilter = class
    interface IEventSubscriptionFilter
    interface IJsonSerializable
Public Class EventSubscriptionFilter
Implements IEventSubscriptionFilter
Inheritance
EventSubscriptionFilter
Attributes
Implements

Constructors

EventSubscriptionFilter()

Creates an new EventSubscriptionFilter instance.

Properties

AdvancedFilter

An array of advanced filters that are used for filtering event subscriptions.

EnableAdvancedFilteringOnArray

Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.

IncludedEventType

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.

IsSubjectCaseSensitive

Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.

SubjectBeginsWith

An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.

SubjectEndsWith

An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventSubscriptionFilter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventSubscriptionFilter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IEventSubscriptionFilter.

FromJsonString(String)

Creates a new instance of EventSubscriptionFilter, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventSubscriptionFilter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to