Class AlertingAction


  • public class AlertingAction
    extends Action
    Specify action need to be taken when rule type is Alert.
    • Constructor Detail

      • AlertingAction

        public AlertingAction()
    • Method Detail

      • severity

        public AlertSeverity severity()
        Get the severity property: Severity of the alert.
        Returns:
        the severity value.
      • withSeverity

        public AlertingAction withSeverity​(AlertSeverity severity)
        Set the severity property: Severity of the alert.
        Parameters:
        severity - the severity value to set.
        Returns:
        the AlertingAction object itself.
      • aznsAction

        public AzNsActionGroup aznsAction()
        Get the aznsAction property: Azure action group reference.
        Returns:
        the aznsAction value.
      • withAznsAction

        public AlertingAction withAznsAction​(AzNsActionGroup aznsAction)
        Set the aznsAction property: Azure action group reference.
        Parameters:
        aznsAction - the aznsAction value to set.
        Returns:
        the AlertingAction object itself.
      • throttlingInMin

        public Integer throttlingInMin()
        Get the throttlingInMin property: time (in minutes) for which Alerts should be throttled or suppressed.
        Returns:
        the throttlingInMin value.
      • withThrottlingInMin

        public AlertingAction withThrottlingInMin​(Integer throttlingInMin)
        Set the throttlingInMin property: time (in minutes) for which Alerts should be throttled or suppressed.
        Parameters:
        throttlingInMin - the throttlingInMin value to set.
        Returns:
        the AlertingAction object itself.
      • trigger

        public TriggerCondition trigger()
        Get the trigger property: The trigger condition that results in the alert rule being.
        Returns:
        the trigger value.
      • withTrigger

        public AlertingAction withTrigger​(TriggerCondition trigger)
        Set the trigger property: The trigger condition that results in the alert rule being.
        Parameters:
        trigger - the trigger value to set.
        Returns:
        the AlertingAction object itself.