Udostępnij za pośrednictwem


JobOutputStorage Class

Definition

Represents persistent storage for the outputs of an Azure Batch job.

public class JobOutputStorage
type JobOutputStorage = class
Public Class JobOutputStorage
Inheritance
JobOutputStorage

Remarks

Job outputs refer to output data logically associated with the entire job, rather than a particular task. For example, in a movie rendering job, if a task combined all the frames into a movie, that would logically be a job output. The purpose of categorising an output as a 'job' output is to save the client from having to know which task produced it.

Constructors

JobOutputStorage(BlobServiceClient, String)

Initializes a new instance of the JobOutputStorage class from a storage account and job id.

JobOutputStorage(Uri)

Initializes a new instance of the JobOutputStorage class from a URL representing the job output container.

Methods

GetOutput(JobOutputKind, String)

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

GetOutputStoragePath(JobOutputKind)

Gets the Blob name prefix/folder where files of the given kind are stored

ListOutputs(JobOutputKind)

Lists the job outputs of the specified kind.

SaveAsync(JobOutputKind, String, CancellationToken)

Saves the specified file to persistent storage.

SaveAsync(JobOutputKind, String, String, CancellationToken)

Saves the specified file to persistent storage.

Applies to