JobOutputStorage.GetOutputAsync(JobOutputKind, String, CancellationToken) Method

Definition

Retrieves a job output from Azure blob storage by kind and path.

public System.Threading.Tasks.Task<Microsoft.Azure.Batch.Conventions.Files.OutputFileReference> GetOutputAsync (Microsoft.Azure.Batch.Conventions.Files.JobOutputKind kind, string filePath, System.Threading.CancellationToken cancellationToken = null);
member this.GetOutputAsync : Microsoft.Azure.Batch.Conventions.Files.JobOutputKind * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Conventions.Files.OutputFileReference>

Parameters

kind
JobOutputKind

A JobOutputKind representing the category of the output to retrieve, for example JobOutput or JobPreview.

filePath
System.String

The path under which the output was persisted in blob storage.

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken for controlling the lifetime of the asynchronous operation.

Returns

System.Threading.Tasks.Task<OutputFileReference>

A reference to the requested file in Azure blob storage.

Applies to