Show / Hide Table of Contents

    Class ManagementEventRuleCondition

    A management event rule condition.

    Inheritance
    Object
    RuleCondition
    ManagementEventRuleCondition
    Inherited Members
    RuleCondition.DataSource
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Monitor.dll
    Syntax
    [Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition")]
    public class ManagementEventRuleCondition : Microsoft.Azure.Management.Monitor.Models.RuleCondition

    Constructors

    ManagementEventRuleCondition()

    Initializes a new instance of the ManagementEventRuleCondition class.

    Declaration
    public ManagementEventRuleCondition ();

    ManagementEventRuleCondition(RuleDataSource, ManagementEventAggregationCondition)

    Initializes a new instance of the ManagementEventRuleCondition class.

    Declaration
    public ManagementEventRuleCondition (Microsoft.Azure.Management.Monitor.Models.RuleDataSource dataSource = null, Microsoft.Azure.Management.Monitor.Models.ManagementEventAggregationCondition aggregation = null);
    Parameters
    RuleDataSource dataSource

    the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.

    ManagementEventAggregationCondition aggregation

    How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.

    Properties

    Aggregation

    Gets or sets how the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="aggregation")]
    public Microsoft.Azure.Management.Monitor.Models.ManagementEventAggregationCondition Aggregation { get; set; }
    Property Value
    ManagementEventAggregationCondition

    Back to top Azure SDK for Net