Editar

Compartilhar via


New-AzEventGridBoolEqualsAdvancedFilterObject

Create an in-memory object for BoolEqualsAdvancedFilter.

Syntax

New-AzEventGridBoolEqualsAdvancedFilterObject
   [-Value <Boolean>]
   [-Key <String>]
   [<CommonParameters>]

Description

Create an in-memory object for BoolEqualsAdvancedFilter.

Examples

Example 1: Create an in-memory object for BoolEqualsAdvancedFilter.

New-AzEventGridBoolEqualsAdvancedFilterObject -Key "testKey" -Value:$true

Key     OperatorType Value
---     ------------ -----
testKey BoolEquals   True

Create an in-memory object for BoolEqualsAdvancedFilter.

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

-Value

The boolean filter value.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

BoolEqualsAdvancedFilter