Class AutoHealRules
java.lang.Object
com.microsoft.azure.management.appservice.AutoHealRules
Rules that can be defined for auto-heal.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions()
Get actions to be executed when a rule is triggered.triggers()
Get conditions that describe when to execute the auto-heal actions.withActions
(AutoHealActions actions) Set actions to be executed when a rule is triggered.withTriggers
(AutoHealTriggers triggers) Set conditions that describe when to execute the auto-heal actions.
-
Constructor Details
-
AutoHealRules
public AutoHealRules()
-
-
Method Details
-
triggers
Get conditions that describe when to execute the auto-heal actions.- Returns:
- the triggers value
-
withTriggers
Set conditions that describe when to execute the auto-heal actions.- Parameters:
triggers
- the triggers value to set- Returns:
- the AutoHealRules object itself.
-
actions
Get actions to be executed when a rule is triggered.- Returns:
- the actions value
-
withActions
Set actions to be executed when a rule is triggered.- Parameters:
actions
- the actions value to set- Returns:
- the AutoHealRules object itself.
-