New-AzEventGridAdvancedFilterObject
Create an in-memory object for AdvancedFilter.
Syntax
New-AzEventGridAdvancedFilterObject
-OperatorType <String>
[-Key <String>]
[<CommonParameters>]
Description
Create an in-memory object for AdvancedFilter.
Examples
Example 1: Create an in-memory object for AdvancedFilter.
New-AzEventGridAdvancedFilterObject -OperatorType NumberIn -Key "TestKey"
Key OperatorType
--- ------------
TestKey NumberIn
Create an in-memory object for AdvancedFilter.
Parameters
-Key
The field/property in the event based on which you want to filter.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OperatorType
The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell