/// <summary>
 /// Deletes the specified Task file from the Compute Node where the Task ran.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='jobId'>
 /// The ID of the Job that contains the Task.
 /// </param>
 /// <param name='taskId'>
 /// The ID of the Task whose file you want to delete.
 /// </param>
 /// <param name='filePath'>
 /// The path to the Task file or directory that you want to delete.
 /// </param>
 /// <param name='recursive'>
 /// Whether to delete children of a directory. If the filePath parameter
 /// represents a directory instead of a file, you can set recursive to true to
 /// delete the directory and all of the files and subdirectories in it. If
 /// recursive is false then the directory must be empty or deletion will fail.
 /// </param>
 /// <param name='fileDeleteFromTaskOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static FileDeleteFromTaskHeaders DeleteFromTask(this IFileOperations operations, string jobId, string taskId, string filePath, bool?recursive = default(bool?), FileDeleteFromTaskOptions fileDeleteFromTaskOptions = default(FileDeleteFromTaskOptions))
 {
     return(operations.DeleteFromTaskAsync(jobId, taskId, filePath, recursive, fileDeleteFromTaskOptions).GetAwaiter().GetResult());
 }