/// <summary> /// Gets the task log summary from execution of a jobDetails. /// </summary> /// <param name="jobId"> /// Required. The id of the job. /// </param> /// <param name="targetDirectory"> /// Required. The directory in which to download the logs to. /// </param> /// <param name="storageAccountName"> /// The name of the storage account. /// </param> /// <param name="storageAccountKey"> /// The default storage account key. /// </param> /// <param name="defaultContainer"> /// The default container. /// </param> /// Cancellation token. /// </param> /// <returns> /// /// </returns> public static Task DownloadJobTaskLogsAsync(this IJobOperations operations, string jobId, string targetDirectory, string storageAccountName, string storageAccountKey, string defaultContainer) { return(operations.DownloadJobTaskLogsAsync(jobId, targetDirectory, storageAccountName, storageAccountKey, defaultContainer, CancellationToken.None)); }