你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

New-AzEventGridStringContainsAdvancedFilterObject

Create an in-memory object for StringContainsAdvancedFilter.

Syntax

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

Description

Create an in-memory object for StringContainsAdvancedFilter.

Examples

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

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

Key     OperatorType
---     ------------
testKey StringContains

Create an in-memory object for StringContainsAdvancedFilter.

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

StringContainsAdvancedFilter