Class AutoHealActions
java.lang.Object
com.microsoft.azure.management.appservice.AutoHealActions
Actions which to take by the auto-heal module when a rule is triggered.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet predefined action to be taken.Get custom action to be taken.Get minimum time the process must execute before taking the action.withActionType
(AutoHealActionType actionType) Set predefined action to be taken.withCustomAction
(AutoHealCustomAction customAction) Set custom action to be taken.withMinProcessExecutionTime
(String minProcessExecutionTime) Set minimum time the process must execute before taking the action.
-
Constructor Details
-
AutoHealActions
public AutoHealActions()
-
-
Method Details
-
actionType
Get predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'.- Returns:
- the actionType value
-
withActionType
Set predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'.- Parameters:
actionType
- the actionType value to set- Returns:
- the AutoHealActions object itself.
-
customAction
Get custom action to be taken.- Returns:
- the customAction value
-
withCustomAction
Set custom action to be taken.- Parameters:
customAction
- the customAction value to set- Returns:
- the AutoHealActions object itself.
-
minProcessExecutionTime
Get minimum time the process must execute before taking the action.- Returns:
- the minProcessExecutionTime value
-
withMinProcessExecutionTime
Set minimum time the process must execute before taking the action.- Parameters:
minProcessExecutionTime
- the minProcessExecutionTime value to set- Returns:
- the AutoHealActions object itself.
-