EventSubscriptionFilter Class

Filter for the Event Subscription.

Inheritance
EventSubscriptionFilter

Constructor

EventSubscriptionFilter(*, subject_begins_with: Optional[str] = None, subject_ends_with: Optional[str] = None, included_event_types: Optional[List[str]] = None, is_subject_case_sensitive: Optional[bool] = False, enable_advanced_filtering_on_arrays: Optional[bool] = None, advanced_filters: Optional[List[azure.mgmt.eventgrid.models._models_py3.AdvancedFilter]] = None, **kwargs)

Variables

subject_begins_with
str

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.

subject_ends_with
str

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

included_event_types
list[str]

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.

is_subject_case_sensitive
bool

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

enable_advanced_filtering_on_arrays
bool

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

advanced_filters
list[AdvancedFilter]

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