Edit

Share via


New-AzEventGridStringEndsWithAdvancedFilterObject

Create an in-memory object for StringEndsWithAdvancedFilter.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Value

The set of filter values.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

StringEndsWithAdvancedFilter