Interface ScriptExecution.DefinitionStages.WithFailureReason
-
- All Known Subinterfaces:
ScriptExecution.Definition
,ScriptExecution.DefinitionStages.WithCreate
- Enclosing interface:
- ScriptExecution.DefinitionStages
public static interface ScriptExecution.DefinitionStages.WithFailureReason
The stage of the ScriptExecution definition allowing to specify failureReason.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScriptExecution.DefinitionStages.WithCreate
withFailureReason(String failureReason)
Specifies the failureReason property: Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.
-
-
-
Method Detail
-
withFailureReason
ScriptExecution.DefinitionStages.WithCreate withFailureReason(String failureReason)
Specifies the failureReason property: Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.- Parameters:
failureReason
- Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.- Returns:
- the next definition stage.
-
-