Class AlertingAction
Specify action need to be taken when rule type is Alert
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
[Newtonsoft.Json.JsonObject("Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction")]
public class AlertingAction : Microsoft.Azure.Management.Monitor.Models.Action
Constructors
AlertingAction()
Initializes a new instance of the AlertingAction class.
Declaration
public AlertingAction ();
AlertingAction(String, TriggerCondition, AzNsActionGroup, Nullable<Int32>)
Initializes a new instance of the AlertingAction class.
Declaration
public AlertingAction (string severity, Microsoft.Azure.Management.Monitor.Models.TriggerCondition trigger, Microsoft.Azure.Management.Monitor.Models.AzNsActionGroup aznsAction = null, Nullable<int> throttlingInMin = null);
Parameters
|
String
severity
Severity of the alert. Possible values include: '0', '1', '2', '3', '4' |
|
TriggerCondition
trigger
The trigger condition that results in the alert rule being. |
|
AzNsActionGroup
aznsAction
Azure action group reference. |
|
Nullable<Int32>
throttlingInMin
time (in minutes) for which Alerts should be throttled or suppressed. |
Properties
AznsAction
Gets or sets azure action group reference.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="aznsAction")]
public Microsoft.Azure.Management.Monitor.Models.AzNsActionGroup AznsAction { get; set; }
Property Value
|
AzNsActionGroup
|
Severity
Gets or sets severity of the alert. Possible values include: '0', '1', '2', '3', '4'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="severity")]
public string Severity { get; set; }
Property Value
|
String
|
ThrottlingInMin
Gets or sets time (in minutes) for which Alerts should be throttled or suppressed.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="throttlingInMin")]
public Nullable<int> ThrottlingInMin { get; set; }
Property Value
|
Nullable<Int32>
|
Trigger
Gets or sets the trigger condition that results in the alert rule being.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="trigger")]
public Microsoft.Azure.Management.Monitor.Models.TriggerCondition Trigger { get; set; }
Property Value
|
TriggerCondition
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |