編輯

共用方式為


New-AzEventGridNumberNotInRangeFilterObject

Create an in-memory object for NumberNotInRangeFilter.

Syntax

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

Description

Create an in-memory object for NumberNotInRangeFilter.

Examples

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

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

Key     OperatorType
---     ------------
testKey NumberNotInRange

Create an in-memory object for NumberNotInRangeFilter.

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

NumberNotInRangeFilter