Udostępnij za pośrednictwem


ManagementEventRuleCondition Constructors

Definition

Overloads

ManagementEventRuleCondition()

Initializes a new instance of the ManagementEventRuleCondition class.

ManagementEventRuleCondition(RuleDataSource, ManagementEventAggregationCondition)

Initializes a new instance of the ManagementEventRuleCondition class.

ManagementEventRuleCondition()

Initializes a new instance of the ManagementEventRuleCondition class.

public ManagementEventRuleCondition ();
Public Sub New ()

Applies to

ManagementEventRuleCondition(RuleDataSource, ManagementEventAggregationCondition)

Initializes a new instance of the ManagementEventRuleCondition class.

public ManagementEventRuleCondition (Microsoft.Azure.Management.Monitor.Models.RuleDataSource dataSource = default, Microsoft.Azure.Management.Monitor.Models.ManagementEventAggregationCondition aggregation = default);
new Microsoft.Azure.Management.Monitor.Models.ManagementEventRuleCondition : Microsoft.Azure.Management.Monitor.Models.RuleDataSource * Microsoft.Azure.Management.Monitor.Models.ManagementEventAggregationCondition -> Microsoft.Azure.Management.Monitor.Models.ManagementEventRuleCondition
Public Sub New (Optional dataSource As RuleDataSource = Nothing, Optional aggregation As ManagementEventAggregationCondition = Nothing)

Parameters

dataSource
RuleDataSource

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

aggregation
ManagementEventAggregationCondition

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.

Applies to