CloudJobExtensions.PrepareOutputStorageAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET