public class AlertingAction extends Action
| Constructor and Description |
|---|
AlertingAction() |
| Modifier and Type | Method and Description |
|---|---|
AzNsActionGroup |
aznsAction()
Get the aznsAction property: Azure action group reference.
|
AlertSeverity |
severity()
Get the severity property: Severity of the alert.
|
Integer |
throttlingInMin()
Get the throttlingInMin property: time (in minutes) for which Alerts should be throttled or suppressed.
|
TriggerCondition |
trigger()
Get the trigger property: The trigger condition that results in the alert rule being.
|
void |
validate()
Validates the instance.
|
AlertingAction |
withAznsAction(AzNsActionGroup aznsAction)
Set the aznsAction property: Azure action group reference.
|
AlertingAction |
withSeverity(AlertSeverity severity)
Set the severity property: Severity of the alert.
|
AlertingAction |
withThrottlingInMin(Integer throttlingInMin)
Set the throttlingInMin property: time (in minutes) for which Alerts should be throttled or suppressed.
|
AlertingAction |
withTrigger(TriggerCondition trigger)
Set the trigger property: The trigger condition that results in the alert rule being.
|
public AlertSeverity severity()
public AlertingAction withSeverity(AlertSeverity severity)
severity - the severity value to set.public AzNsActionGroup aznsAction()
public AlertingAction withAznsAction(AzNsActionGroup aznsAction)
aznsAction - the aznsAction value to set.public Integer throttlingInMin()
public AlertingAction withThrottlingInMin(Integer throttlingInMin)
throttlingInMin - the throttlingInMin value to set.public TriggerCondition trigger()
public AlertingAction withTrigger(TriggerCondition trigger)
trigger - the trigger value to set.public void validate()
validate in class ActionIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.