ManagementEventRuleCondition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A management event rule condition.
public class ManagementEventRuleCondition : Azure.ResourceManager.Monitor.Models.AlertRuleCondition, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.ManagementEventRuleCondition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.ManagementEventRuleCondition>
type ManagementEventRuleCondition = class
inherit AlertRuleCondition
interface IJsonModel<ManagementEventRuleCondition>
interface IPersistableModel<ManagementEventRuleCondition>
Public Class ManagementEventRuleCondition
Inherits AlertRuleCondition
Implements IJsonModel(Of ManagementEventRuleCondition), IPersistableModel(Of ManagementEventRuleCondition)
- Inheritance
- Implements
Constructors
ManagementEventRuleCondition() |
Initializes a new instance of ManagementEventRuleCondition. |
Properties
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. |
DataSource |
the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource. Please note RuleDataSource is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RuleManagementEventDataSource and RuleMetricDataSource. (Inherited from AlertRuleCondition) |