CloudJobExtensions.PrepareOutputStorageAsync 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, Azure.Storage.Blobs.BlobServiceClient blobClient, System.Threading.CancellationToken cancellationToken = default);
static member PrepareOutputStorageAsync : Microsoft.Azure.Batch.CloudJob * Azure.Storage.Blobs.BlobServiceClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function PrepareOutputStorageAsync (job As CloudJob, blobClient As BlobServiceClient, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

job
CloudJob

The job for which to create the container.

blobClient
BlobServiceClient

The blob service client linked to the Azure Batch storage account.

cancellationToken
CancellationToken

A CancellationToken for controlling the lifetime of the asynchronous operation.

Returns

A Task that represents the asynchronous operation.

Applies to