編輯

共用方式為


New-AzEventGridNumberGreaterThanFilterObject

Create an in-memory object for NumberGreaterThanFilter.

Syntax

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

Description

Create an in-memory object for NumberGreaterThanFilter.

Examples

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

New-AzEventGridNumberGreaterThanFilterObject -Key "testKey" -Value 11.22

Key     OperatorType      Value
---     ------------      -----
testKey NumberGreaterThan 11.22

Create an in-memory object for NumberGreaterThanFilter.

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 filter value.

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

Outputs

NumberGreaterThanFilter