Share via


CloudJobExtensions.PrepareOutputStorageAsync Methode

Definition

Erstellt einen Azure Blob Storage-Container für die Ausgaben eines 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

Parameter

job
CloudJob

Der Auftrag, für den der Container erstellt werden soll.

blobClient
BlobServiceClient

Der mit dem Azure Batch Speicherkonto verknüpfte Blobdienstclient.

cancellationToken
CancellationToken

A CancellationToken zum Steuern der Lebensdauer des asynchronen Vorgangs.

Gibt zurück

Ein Task-Element, das den asynchronen Vorgang darstellt.

Gilt für: