Udostępnij za pośrednictwem


AlertingAction Class

Definition

Specify action need to be taken when rule type is Alert

[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
[<Newtonsoft.Json.JsonObject("Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction")>]
type AlertingAction = class
    inherit Action
Public Class AlertingAction
Inherits Action
Inheritance
AlertingAction
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

AlertingAction()

Initializes a new instance of the AlertingAction class.

AlertingAction(String, TriggerCondition, AzNsActionGroup, Nullable<Int32>)

Initializes a new instance of the AlertingAction class.

Properties

AznsAction

Gets or sets azure action group reference.

Severity

Gets or sets severity of the alert. Possible values include: '0', '1', '2', '3', '4'

ThrottlingInMin

Gets or sets time (in minutes) for which Alerts should be throttled or suppressed.

Trigger

Gets or sets the trigger condition that results in the alert rule being.

Methods

Validate()

Validate the object.

Applies to