Interface ScriptExecution.DefinitionStages.WithFailureReason

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