Share via


AlertingAction Constructors

Definition

Overloads

AlertingAction()

Initializes a new instance of the AlertingAction class.

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

Initializes a new instance of the AlertingAction class.

AlertingAction()

Initializes a new instance of the AlertingAction class.

public AlertingAction ();
Public Sub New ()

Applies to

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

Initializes a new instance of the AlertingAction class.

public AlertingAction (string severity, Microsoft.Azure.Management.Monitor.Models.TriggerCondition trigger, Microsoft.Azure.Management.Monitor.Models.AzNsActionGroup aznsAction = default, int? throttlingInMin = default);
new Microsoft.Azure.Management.Monitor.Models.AlertingAction : string * Microsoft.Azure.Management.Monitor.Models.TriggerCondition * Microsoft.Azure.Management.Monitor.Models.AzNsActionGroup * Nullable<int> -> Microsoft.Azure.Management.Monitor.Models.AlertingAction
Public Sub New (severity As String, trigger As TriggerCondition, Optional aznsAction As AzNsActionGroup = Nothing, Optional throttlingInMin As Nullable(Of Integer) = Nothing)

Parameters

severity
String

Severity of the alert. Possible values include: '0', '1', '2', '3', '4'

trigger
TriggerCondition

The trigger condition that results in the alert rule being.

aznsAction
AzNsActionGroup

Azure action group reference.

throttlingInMin
Nullable<Int32>

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

Applies to