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

New-AzScheduledQueryRuleDimensionObject

Create an in-memory object for Dimension.

Syntax

New-AzScheduledQueryRuleDimensionObject
   -Name <String>
   -Operator <DimensionOperator>
   -Value <String[]>
   [<CommonParameters>]

Description

Create an in-memory object for Dimension.

Examples

Example 1: Create dimension object

New-AzScheduledQueryRuleDimensionObject -Name Computer -Operator Include -Value *

Create dimension object

Parameters

-Name

Name of the dimension.

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

-Operator

Operator for dimension values.

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

-Value

List of dimension values.

Type:String[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Dimension