Azure / Azure/azure-powershell
Az.EventGrid 2.0.0 Update-AzEventGridSubscription -FilterAdvancedFilter
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description
Could not find a way to pass the value to search for in the key when using the new -FilterAdvancedFilter parameter, IAdvancedFilter type seems to contain only Key and operatorType properties
In the previous version (1.6.1) it was possible to specify the string value to look for when using operators like "StringBeginsWith".
Some examples on how to pass the value(s) needed for searching inside the key value would be welcomed. e.g.:
Update-AzEventGridSubscription -Name $data.eventName -Scope "subscriptions/$subscriptionId" -Destination $DestinationObject -FilterIncludedEventType $data.includeEventType -FilterAdvancedFilter $data.filter1
The question is, how to build the $data.filter1 object to include the text to search for.
Thanks.
### Script or Debug output
_No response_
### Environment data
_No response_
### Module versions
_No response_
### Error output
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.