-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{EventGrid} Add support for StorageQueueMessageTTL, AdvancedFilters, EnableAdvancedFilteringOnArrays #17440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…storagequeuemsgttl
…storagequeuemsgttl
…storagequeuemsgttl
Collaborator
|
EventGrid |
evelyn-ys
reviewed
Mar 25, 2021
evelyn-ys
reviewed
Mar 25, 2021
evelyn-ys
reviewed
Mar 25, 2021
evelyn-ys
reviewed
Mar 25, 2021
evelyn-ys
reviewed
Mar 25, 2021
evelyn-ys
reviewed
Mar 25, 2021
…storagequeuemsgttl
evelyn-ys
reviewed
Mar 25, 2021
src/azure-cli/azure/cli/command_modules/eventgrid/advanced_filter.py
Outdated
Show resolved
Hide resolved
evelyn-ys
reviewed
Mar 26, 2021
evelyn-ys
approved these changes
Mar 26, 2021
kairu-ms
approved these changes
Mar 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added new commands to
Configure StorageQueueMessage TTL
az eventgrid event-subscription create-n -g --system-topic-name --endpoint-type storagequeue --endpoint --storage-queue-msg-ttl 500
az eventgrid event-subscription update -n -g --system-topic-name --endpoint-type storagequeue --storage-queue-msg-ttl 500
Configure additional AdvancedFilters
az eventgrid event-subscription create -n -g --system-topic-name --endpoint-type storagequeue --endpoint
--advanced-filter data.someprop1 isnotnull --advanced-filter data.someprop2 isnullorundefined --advanced-filter data.someprop3 stringnotcontains red blue --advanced-filter data.someprop4 stringnotbeginswith red blue green --advanced-filter data.someprop5 stringnotendswith r g b --advanced-filter data.someprop6 numberinrange 1,5 6,10 11,15 --advanced-filter data.someprop7 numbernotinrange 10,15 16,20 21,25 26,30
az eventgrid event-subscription update -n -g --system-topic-name --endpoint-type storagequeue --endpoint
--advanced-filter data.someprop1 isnotnull --advanced-filter data.someprop2 isnullorundefined --advanced-filter data.someprop3 stringnotcontains red blue --advanced-filter data.someprop4 stringnotbeginswith red blue green --advanced-filter data.someprop5 stringnotendswith r g b --advanced-filter data.someprop6 numberinrange 1,5 6,10 11,15 --advanced-filter data.someprop7 numbernotinrange 10,15 16,20 21,25 26,30
Configure AdvancedFilteringOnArrays
az eventgrid event-subscription create -n -g --system-topic-name --endpoint-type storagequeue --endpoint --enable-advanced-filtering-on-arrays <true/false>
az eventgrid event-subscription update -n -g --system-topic-name --endpoint-type storagequeue --endpoint --enable-advanced-filtering-on-arrays <true/false>
We have event-subscription creation under the following 2 groups and the above commands have been extended on these as well.
az eventgrid partner topic event-subscription
az eventgrid system-topic event-subscription
History Notes
[EventGrid] az eventgrid [partner topic | system-topic] event-subscription: Add support for StorageQueueMessageTTL, AdvancedFilters, EnableAdvancedFilteringOnArrays