AutoHealRules Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AutoHealRules
- com.
public final class AutoHealRules
Rules that can be defined for auto-heal.
Constructor Summary
Constructor | Description |
---|---|
AutoHealRules() |
Creates an instance of Auto |
Method Summary
Modifier and Type | Method and Description |
---|---|
Auto |
actions()
Get the actions property: Actions to be executed when a rule is triggered. |
Auto |
triggers()
Get the triggers property: Conditions that describe when to execute the auto-heal actions. |
void |
validate()
Validates the instance. |
Auto |
withActions(AutoHealActions actions)
Set the actions property: Actions to be executed when a rule is triggered. |
Auto |
withTriggers(AutoHealTriggers triggers)
Set the triggers property: Conditions that describe when to execute the auto-heal actions. |
Methods inherited from java.lang.Object
Constructor Details
AutoHealRules
public AutoHealRules()
Creates an instance of AutoHealRules class.
Method Details
actions
public AutoHealActions actions()
Get the actions property: Actions to be executed when a rule is triggered.
Returns:
triggers
public AutoHealTriggers triggers()
Get the triggers property: Conditions that describe when to execute the auto-heal actions.
Returns:
validate
public void validate()
Validates the instance.
withActions
public AutoHealRules withActions(AutoHealActions actions)
Set the actions property: Actions to be executed when a rule is triggered.
Parameters:
Returns:
withTriggers
public AutoHealRules withTriggers(AutoHealTriggers triggers)
Set the triggers property: Conditions that describe when to execute the auto-heal actions.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for