Condividi tramite


TaskOutputStorage Constructors

Definition

Overloads

TaskOutputStorage(Uri, String)

Initializes a new instance of the JobOutputStorage class from a task id and a URL representing the job output container.

TaskOutputStorage(BlobServiceClient, String, String)

Initializes a new instance of the JobOutputStorage class from a storage account, job id, and task id.

TaskOutputStorage(Uri, String)

Source:
TaskOutputStorage.cs

Initializes a new instance of the JobOutputStorage class from a task id and a URL representing the job output container.

public TaskOutputStorage (Uri jobOutputContainerUri, string taskId);
new Microsoft.Azure.Batch.Conventions.Files.TaskOutputStorage : Uri * string -> Microsoft.Azure.Batch.Conventions.Files.TaskOutputStorage
Public Sub New (jobOutputContainerUri As Uri, taskId As String)

Parameters

jobOutputContainerUri
Uri

The URL in Azure storage of the blob container to use for outputs associated with this job. This URL must contain a SAS (Shared Access Signature) granting access to the container, or the container must be public.

taskId
String

The id of the Azure Batch task.

Remarks

The container must already exist; the TaskOutputStorage class does not create it for you.

Applies to

TaskOutputStorage(BlobServiceClient, String, String)

Source:
TaskOutputStorage.cs

Initializes a new instance of the JobOutputStorage class from a storage account, job id, and task id.

public TaskOutputStorage (Azure.Storage.Blobs.BlobServiceClient blobClient, string jobId, string taskId);
new Microsoft.Azure.Batch.Conventions.Files.TaskOutputStorage : Azure.Storage.Blobs.BlobServiceClient * string * string -> Microsoft.Azure.Batch.Conventions.Files.TaskOutputStorage
Public Sub New (blobClient As BlobServiceClient, jobId As String, taskId As String)

Parameters

blobClient
BlobServiceClient

The blob client linked to the Azure Batch storage account.

jobId
String

The id of the Azure Batch job containing the task.

taskId
String

The id of the Azure Batch task.

Remarks

The job output container must already exist; the TaskOutputStorage class does not create it for you.

Applies to