Compartir a través de


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
System_CAPS_pubmethod ThresholdRuleCondition()

Initializes a new instance of the ThresholdRuleCondition class.

Properties

Name Description
System_CAPS_pubproperty DataSource

Optional. The resource from which the rule collects its data.

System_CAPS_pubproperty Operator

Optional. The operator used to compare the data and the threshold.

System_CAPS_pubproperty Threshold

Optional. The threshold value that activates the alert.

System_CAPS_pubproperty TimeAggregation

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

System_CAPS_pubproperty 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
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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