class Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::EventSubscriptionFilter
Filter for the Event Subscription
Attributes
@return [Array<String>] A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all event types, the string “all” needs to be specified as an element in this list.
@return [Boolean] Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner. Default value: false .
@return [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.
@return [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.
Public Class Methods
Mapper for EventSubscriptionFilter
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb, line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EventSubscriptionFilter', type: { name: 'Composite', class_name: 'EventSubscriptionFilter', model_properties: { subject_begins_with: { client_side_validation: true, required: false, serialized_name: 'subjectBeginsWith', type: { name: 'String' } }, subject_ends_with: { client_side_validation: true, required: false, serialized_name: 'subjectEndsWith', type: { name: 'String' } }, included_event_types: { client_side_validation: true, required: false, serialized_name: 'includedEventTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, is_subject_case_sensitive: { client_side_validation: true, required: false, serialized_name: 'isSubjectCaseSensitive', default_value: false, type: { name: 'Boolean' } } } } } end