編輯

共用方式為


New-AzEventGridStringEndsWithAdvancedFilterObject

Create an in-memory object for StringEndsWithAdvancedFilter.

Syntax

New-AzEventGridStringEndsWithAdvancedFilterObject
   [-Value <String[]>]
   [-Key <String>]
   [<CommonParameters>]

Description

Create an in-memory object for StringEndsWithAdvancedFilter.

Examples

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

New-AzEventGridStringEndsWithAdvancedFilterObject -Key "testKey" -Value "value1","value2"

Key     OperatorType
---     ------------
testKey StringEndsWith

Create an in-memory object for StringEndsWithAdvancedFilter.

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:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

StringEndsWithAdvancedFilter