AlertRuleData.Actions Property

Definition

the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. Please note AlertRuleAction 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 RuleEmailAction and RuleWebhookAction.

public System.Collections.Generic.IList<Azure.ResourceManager.Monitor.Models.AlertRuleAction> Actions { get; }
member this.Actions : System.Collections.Generic.IList<Azure.ResourceManager.Monitor.Models.AlertRuleAction>
Public ReadOnly Property Actions As IList(Of AlertRuleAction)

Property Value

Applies to