EventSubscriptionFilter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EventSubscriptionFilter() |
Initializes a new instance of the EventSubscriptionFilter class. |
EventSubscriptionFilter(String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, IList<AdvancedFilter>) |
Initializes a new instance of the EventSubscriptionFilter class. |
EventSubscriptionFilter()
Initializes a new instance of the EventSubscriptionFilter class.
public EventSubscriptionFilter ();
Public Sub New ()
Applies to
EventSubscriptionFilter(String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, IList<AdvancedFilter>)
Initializes a new instance of the EventSubscriptionFilter class.
public EventSubscriptionFilter (string subjectBeginsWith = default, string subjectEndsWith = default, System.Collections.Generic.IList<string> includedEventTypes = default, bool? isSubjectCaseSensitive = default, bool? enableAdvancedFilteringOnArrays = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.AdvancedFilter> advancedFilters = default);
new Microsoft.Azure.Management.EventGrid.Models.EventSubscriptionFilter : string * string * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.EventGrid.Models.AdvancedFilter> -> Microsoft.Azure.Management.EventGrid.Models.EventSubscriptionFilter
Public Sub New (Optional subjectBeginsWith As String = Nothing, Optional subjectEndsWith As String = Nothing, Optional includedEventTypes As IList(Of String) = Nothing, Optional isSubjectCaseSensitive As Nullable(Of Boolean) = Nothing, Optional enableAdvancedFilteringOnArrays As Nullable(Of Boolean) = Nothing, Optional advancedFilters As IList(Of AdvancedFilter) = Nothing)
Parameters
- subjectBeginsWith
- String
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
- String
An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
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.
Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- advancedFilters
- IList<AdvancedFilter>
An array of advanced filters that are used for filtering event subscriptions.
Applies to
Azure SDK for .NET