편집

다음을 통해 공유


New-AzEventGridBoolEqualsFilterObject

Create an in-memory object for BoolEqualsFilter.

Syntax

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

Description

Create an in-memory object for BoolEqualsFilter.

Examples

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

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

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

Create an in-memory object for BoolEqualsFilter.

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

BoolEqualsFilter