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
Modifier and TypeMethodDescriptionwithFailureReason
(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 Details
-
withFailureReason
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.
-