你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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