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 Type
    Method
    Description
    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 Details

    • 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.