ThresholdRuleCondition Class
A rule condition based on a metric crossing a threshold.
Namespace: Microsoft.Azure.Management.Insights.Models
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Inheritance Hierarchy
System.Object
Microsoft.Azure.Management.Insights.Models.RuleCondition
Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition
Syntax
public class ThresholdRuleCondition : RuleCondition
public ref class ThresholdRuleCondition : RuleCondition
type ThresholdRuleCondition =
class
inherit RuleCondition
end
Public Class ThresholdRuleCondition
Inherits RuleCondition
Constructors
Name | Description | |
---|---|---|
ThresholdRuleCondition() | Initializes a new instance of the ThresholdRuleCondition class. |
Properties
Name | Description | |
---|---|---|
DataSource | Optional. The resource from which the rule collects its data. |
|
Operator | Optional. The operator used to compare the data and the threshold. |
|
Threshold | Optional. The threshold value that activates the alert. |
|
TimeAggregation | Optional. How the data that is collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. |
|
WindowSize | Optional. The period of time that is used to monitor alert activity based on the threshold. Must be between 5 minutes and 1 day. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Azure.Management.Insights.Models Namespace
Return to top