JobOutputStorage Constructors

Definition

Overloads

JobOutputStorage(Uri)

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

JobOutputStorage(CloudStorageAccount, String)

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

JobOutputStorage(Uri, IRetryPolicy)

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

JobOutputStorage(CloudStorageAccount, String, IRetryPolicy)

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

JobOutputStorage(Uri)

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

public JobOutputStorage (Uri jobOutputContainerUri);
new Microsoft.Azure.Batch.Conventions.Files.JobOutputStorage : Uri -> Microsoft.Azure.Batch.Conventions.Files.JobOutputStorage
Public Sub New (jobOutputContainerUri As Uri)

Parameters

jobOutputContainerUri
Uri

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

Remarks

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

        it for you.

JobOutputStorage(CloudStorageAccount, String)

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

public JobOutputStorage (Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string jobId);
new Microsoft.Azure.Batch.Conventions.Files.JobOutputStorage : Microsoft.WindowsAzure.Storage.CloudStorageAccount * string -> Microsoft.Azure.Batch.Conventions.Files.JobOutputStorage
Public Sub New (storageAccount As CloudStorageAccount, jobId 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.

Remarks

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

        it for you.

JobOutputStorage(Uri, IRetryPolicy)

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

public JobOutputStorage (Uri jobOutputContainerUri, Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy storageRetryPolicy);
new Microsoft.Azure.Batch.Conventions.Files.JobOutputStorage : Uri * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy -> Microsoft.Azure.Batch.Conventions.Files.JobOutputStorage
Public Sub New (jobOutputContainerUri As Uri, storageRetryPolicy As IRetryPolicy)

Parameters

jobOutputContainerUri
Uri

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

storageRetryPolicy
Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy

The retry policy for storage requests.

Remarks

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

        it for you.

JobOutputStorage(CloudStorageAccount, String, IRetryPolicy)

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

public JobOutputStorage (Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string jobId, Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy storageRetryPolicy);
new Microsoft.Azure.Batch.Conventions.Files.JobOutputStorage : Microsoft.WindowsAzure.Storage.CloudStorageAccount * string * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy -> Microsoft.Azure.Batch.Conventions.Files.JobOutputStorage
Public Sub New (storageAccount As CloudStorageAccount, jobId 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.

storageRetryPolicy
Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy

The retry policy for storage requests.

Remarks

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

        it for you.

Applies to