Udostępnij za pośrednictwem


ManagementEventRuleCondition Class

Definition

A management event rule condition.

[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition")]
public class ManagementEventRuleCondition : Microsoft.Azure.Management.Monitor.Models.RuleCondition
[<Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition")>]
type ManagementEventRuleCondition = class
    inherit RuleCondition
Public Class ManagementEventRuleCondition
Inherits RuleCondition
Inheritance
ManagementEventRuleCondition
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

ManagementEventRuleCondition()

Initializes a new instance of the ManagementEventRuleCondition class.

ManagementEventRuleCondition(RuleDataSource, ManagementEventAggregationCondition)

Initializes a new instance of the ManagementEventRuleCondition class.

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.

DataSource

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

(Inherited from RuleCondition)

Applies to