Class AutoHealRules
- java.lang.Object
-
- com.microsoft.azure.management.appservice.AutoHealRules
-
public class AutoHealRules extends Object
Rules that can be defined for auto-heal.
-
-
Constructor Summary
Constructors Constructor Description AutoHealRules()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoHealActionsactions()Get actions to be executed when a rule is triggered.AutoHealTriggerstriggers()Get conditions that describe when to execute the auto-heal actions.AutoHealRuleswithActions(AutoHealActions actions)Set actions to be executed when a rule is triggered.AutoHealRuleswithTriggers(AutoHealTriggers triggers)Set conditions that describe when to execute the auto-heal actions.
-
-
-
Method Detail
-
triggers
public AutoHealTriggers triggers()
Get conditions that describe when to execute the auto-heal actions.- Returns:
- the triggers value
-
withTriggers
public AutoHealRules withTriggers(AutoHealTriggers triggers)
Set conditions that describe when to execute the auto-heal actions.- Parameters:
triggers- the triggers value to set- Returns:
- the AutoHealRules object itself.
-
actions
public AutoHealActions actions()
Get actions to be executed when a rule is triggered.- Returns:
- the actions value
-
withActions
public AutoHealRules withActions(AutoHealActions actions)
Set actions to be executed when a rule is triggered.- Parameters:
actions- the actions value to set- Returns:
- the AutoHealRules object itself.
-
-