Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ThresholdRuleCondition

Package version

A rule condition based on a metric crossing a threshold.

Hierarchy

Index

Properties

Optional dataSource

the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.

odataType

odataType: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"

Polymorphic discriminator, which specifies the different types this object can be

operator

the operator used to compare the data and the threshold.

threshold

threshold: number

the threshold value that activates the alert.

Optional timeAggregation

timeAggregation: TimeAggregationOperator

the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric.

Optional windowSize

windowSize: undefined | string

the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.

Generated using TypeDoc