Share via


Rule Class

 

An alert rule.

Namespace:   Microsoft.Azure.Management.Insights.Models
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Azure.Management.Insights.Models.Rule

Syntax

public class Rule
public ref class Rule 
type Rule = class end
Public Class Rule

Constructors

Name Description
System_CAPS_pubmethod Rule()

Initializes a new instance of the Rule class.

Properties

Name Description
System_CAPS_pubproperty Action

Optional. The action that is performed when the alert rule becomes active, and when an alert condition is resolved.

System_CAPS_pubproperty Condition

Optional. The condition that results in the alert rule being activated.

System_CAPS_pubproperty Description

Optional. Description of the alert rule that will be included in the alert email.

System_CAPS_pubproperty IsEnabled

Optional. Indicates whether the alert rule is enabled.

System_CAPS_pubproperty LastUpdatedTime

Optional. Last time the rule was updated.

System_CAPS_pubproperty Name

Optional. Name of the alert rule.

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