Editar

Compartilhar via


New-AzEventGridNumberInRangeAdvancedFilterObject

Create an in-memory object for NumberInRangeAdvancedFilter.

Syntax

New-AzEventGridNumberInRangeAdvancedFilterObject
   [-Value <Double[][]>]
   [-Key <String>]
   [<CommonParameters>]

Description

Create an in-memory object for NumberInRangeAdvancedFilter.

Examples

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

$valuesObj = @(11.11, 22.22, 33.33, 44.44)
New-AzEventGridNumberInRangeAdvancedFilterObject -Key "testKey" -Value @(,$valuesObj)

Key     OperatorType
---     ------------
testKey NumberInRange

Create an in-memory object for NumberInRangeAdvancedFilter.

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 set of filter values.

Type:Double[][]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

NumberInRangeAdvancedFilter