Edit

Share via


New-AzScheduledQueryRuleDimensionObject

Create an in-memory object for Dimension.

Syntax

Default (Default)

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.

Parameter properties

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

Parameter sets

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

-Operator

Operator for dimension values.

Parameter properties

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

Parameter sets

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

-Value

List of dimension values.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
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

Dimension