CloudJobExtensions.PrepareOutputStorageAsync(CloudJob, CloudStorageAccount, CancellationToken) Method

Definition

Creates an Azure blob storage container for the outputs of a CloudJob.

public static System.Threading.Tasks.Task PrepareOutputStorageAsync (this Microsoft.Azure.Batch.CloudJob job, Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, System.Threading.CancellationToken cancellationToken = null);
static member PrepareOutputStorageAsync : Microsoft.Azure.Batch.CloudJob * Microsoft.WindowsAzure.Storage.CloudStorageAccount * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

job
CloudJob

The job for which to create the container.

storageAccount
Microsoft.WindowsAzure.Storage.CloudStorageAccount

The storage account linked to the Azure Batch account.

cancellationToken
CancellationToken

A CancellationToken for controlling the lifetime of the asynchronous operation.

Returns

A Task that represents the asynchronous operation.

Applies to