Bearbeiten

Freigeben über


New-AzEventGridStringContainsFilterObject

Create an in-memory object for StringContainsFilter.

Syntax

Default (Default)

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

Description

Create an in-memory object for StringContainsFilter.

Examples

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

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

Create an in-memory object for StringContainsFilter.

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

StringContainsFilter