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 | |
---|---|---|
Rule() | Initializes a new instance of the Rule class. |
Properties
Name | Description | |
---|---|---|
Action | Optional. The action that is performed when the alert rule becomes active, and when an alert condition is resolved. |
|
Condition | Optional. The condition that results in the alert rule being activated. |
|
Description | Optional. Description of the alert rule that will be included in the alert email. |
|
IsEnabled | Optional. Indicates whether the alert rule is enabled. |
|
LastUpdatedTime | Optional. Last time the rule was updated. |
|
Name | Optional. Name of the alert rule. |
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