AutoHealCustomAction Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AutoHealCustomAction
- com.
Implements
public final class AutoHealCustomAction
implements JsonSerializable<AutoHealCustomAction>
Custom action to be executed when an auto heal rule is triggered.
Constructor Summary
Constructor | Description |
---|---|
AutoHealCustomAction() |
Creates an instance of Auto |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
exe()
Get the exe property: Executable to be run. |
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
String |
parameters()
Get the parameters property: Parameters for the executable. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Auto |
withExe(String exe)
Set the exe property: Executable to be run. |
Auto |
withParameters(String parameters)
Set the parameters property: Parameters for the executable. |
Methods inherited from java.lang.Object
Constructor Details
AutoHealCustomAction
public AutoHealCustomAction()
Creates an instance of AutoHealCustomAction class.
Method Details
exe
public String exe()
Get the exe property: Executable to be run.
Returns:
fromJson
public static AutoHealCustomAction fromJson(JsonReader jsonReader)
Reads an instance of AutoHealCustomAction from the JsonReader.
Parameters:
Returns:
Throws:
parameters
public String parameters()
Get the parameters property: Parameters for the executable.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExe
public AutoHealCustomAction withExe(String exe)
Set the exe property: Executable to be run.
Parameters:
Returns:
withParameters
public AutoHealCustomAction withParameters(String parameters)
Set the parameters property: Parameters for the executable.
Parameters:
Returns:
Applies to
Azure SDK for Java