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(CloudStorageAccount, String, String)

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

TaskOutputStorage(Uri, String, IRetryPolicy)

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

TaskOutputStorage(CloudStorageAccount, String, String, IRetryPolicy)

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

TaskOutputStorage(Uri, String)

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.

TaskOutputStorage(CloudStorageAccount, String, String)

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

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

Parameters

storageAccount
Microsoft.WindowsAzure.Storage.CloudStorageAccount

The storage account linked to the Azure Batch 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.

TaskOutputStorage(Uri, String, IRetryPolicy)

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, Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy storageRetryPolicy);
new Microsoft.Azure.Batch.Conventions.Files.TaskOutputStorage : Uri * string * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy -> Microsoft.Azure.Batch.Conventions.Files.TaskOutputStorage
Public Sub New (jobOutputContainerUri As Uri, taskId As String, storageRetryPolicy As IRetryPolicy)

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.

storageRetryPolicy
Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy

The retry policy for storage requests.

Remarks

The container must already exist; the TaskOutputStorage class does not create

        it for you.

TaskOutputStorage(CloudStorageAccount, String, String, IRetryPolicy)

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

public TaskOutputStorage (Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string jobId, string taskId, Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy storageRetryPolicy);
new Microsoft.Azure.Batch.Conventions.Files.TaskOutputStorage : Microsoft.WindowsAzure.Storage.CloudStorageAccount * string * string * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy -> Microsoft.Azure.Batch.Conventions.Files.TaskOutputStorage
Public Sub New (storageAccount As CloudStorageAccount, jobId As String, taskId As String, storageRetryPolicy As IRetryPolicy)

Parameters

storageAccount
Microsoft.WindowsAzure.Storage.CloudStorageAccount

The storage account linked to the Azure Batch account.

jobId
String

The id of the Azure Batch job containing the task.

taskId
String

The id of the Azure Batch task.

storageRetryPolicy
Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy

The retry policy for storage requests.

Remarks

The job output container must already exist; the TaskOutputStorage class does not create

        it for you.

Applies to