/// <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>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <FileDeleteFromTaskHeaders> DeleteFromTaskAsync(this IFileOperations operations, string jobId, string taskId, string filePath, bool?recursive = default(bool?), FileDeleteFromTaskOptions fileDeleteFromTaskOptions = default(FileDeleteFromTaskOptions), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.DeleteFromTaskWithHttpMessagesAsync(jobId, taskId, filePath, recursive, fileDeleteFromTaskOptions, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Headers);
     }
 }