Share via


TaskOutputStorage.GetOutput(TaskOutputKind, String) Method

Definition

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

public Microsoft.Azure.Batch.Conventions.Files.OutputFileReference GetOutput (Microsoft.Azure.Batch.Conventions.Files.TaskOutputKind kind, string filePath);
member this.GetOutput : Microsoft.Azure.Batch.Conventions.Files.TaskOutputKind * string -> Microsoft.Azure.Batch.Conventions.Files.OutputFileReference
Public Function GetOutput (kind As TaskOutputKind, filePath As String) As OutputFileReference

Parameters

kind
TaskOutputKind

A TaskOutputKind representing the category of the output to retrieve, for example TaskOutput or TaskLog.

filePath
String

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

Returns

A reference to the requested file in Azure blob storage.

Applies to