Editar

Compartilhar via


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