Class AutoHealCustomAction
java.lang.Object
com.azure.resourcemanager.appservice.models.AutoHealCustomAction
Custom action to be executed when an auto heal rule is triggered.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexe()Get the exe property: Executable to be run.Get the parameters property: Parameters for the executable.voidvalidate()Validates the instance.Set the exe property: Executable to be run.withParameters(String parameters) Set the parameters property: Parameters for the executable.
-
Constructor Details
-
AutoHealCustomAction
public AutoHealCustomAction()Creates an instance of AutoHealCustomAction class.
-
-
Method Details
-
exe
Get the exe property: Executable to be run.- Returns:
- the exe value.
-
withExe
Set the exe property: Executable to be run.- Parameters:
exe- the exe value to set.- Returns:
- the AutoHealCustomAction object itself.
-
parameters
Get the parameters property: Parameters for the executable.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Parameters for the executable.- Parameters:
parameters- the parameters value to set.- Returns:
- the AutoHealCustomAction object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-