Class RuleCondition
The condition that results in the alert rule being activated.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class RuleCondition
Constructors
RuleCondition()
Initializes a new instance of the RuleCondition class.
Declaration
public RuleCondition ();
RuleCondition(RuleDataSource)
Initializes a new instance of the RuleCondition class.
Declaration
public RuleCondition (Microsoft.Azure.Management.Monitor.Models.RuleDataSource dataSource = null);
Parameters
|
RuleDataSource
dataSource
the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource. |
Properties
DataSource
Gets or sets the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="dataSource")]
public Microsoft.Azure.Management.Monitor.Models.RuleDataSource DataSource { get; set; }
Property Value
|
RuleDataSource
|