Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobOutputStorage"/> class from a URL representing
 /// the job output container.
 /// </summary>
 /// <param name="jobOutputContainerUri">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.</param>
 /// <param name="storageRetryPolicy">The retry policy for storage requests.</param>
 /// <remarks>The container must already exist; the JobOutputStorage class does not create
 /// it for you.</remarks>
 public JobOutputStorage(Uri jobOutputContainerUri, IRetryPolicy storageRetryPolicy)
     : this(CloudBlobContainerUtils.GetContainerReference(jobOutputContainerUri), storageRetryPolicy)
 {
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobOutputStorage"/> class from a storage account
 /// and job id.
 /// </summary>
 /// <param name="storageAccount">The storage account linked to the Azure Batch account.</param>
 /// <param name="jobId">The id of the Azure Batch job.</param>
 /// <param name="storageRetryPolicy">The retry policy for storage requests.</param>
 /// <remarks>The job output container must already exist; the JobOutputStorage class does not create
 /// it for you.</remarks>
 public JobOutputStorage(CloudStorageAccount storageAccount, string jobId, IRetryPolicy storageRetryPolicy)
     : this(CloudBlobContainerUtils.GetContainerReference(storageAccount, jobId), storageRetryPolicy)
 {
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobOutputStorage"/> class from a storage account
 /// and job id.
 /// </summary>
 /// <param name="storageAccount">The storage account linked to the Azure Batch account.</param>
 /// <param name="jobId">The id of the Azure Batch job.</param>
 /// <remarks>The job output container must already exist; the JobOutputStorage class does not create
 /// it for you.</remarks>
 public JobOutputStorage(CloudStorageAccount storageAccount, string jobId)
     : this(CloudBlobContainerUtils.GetContainerReference(storageAccount, jobId), null)
 {
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobOutputStorage"/> class from a URL representing
 /// the job output container.
 /// </summary>
 /// <param name="jobOutputContainerUri">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.</param>
 /// <remarks>The container must already exist; the JobOutputStorage class does not create
 /// it for you.</remarks>
 public JobOutputStorage(Uri jobOutputContainerUri)
     : this(CloudBlobContainerUtils.GetContainerReference(jobOutputContainerUri), null)
 {
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobOutputStorage"/> class from a task id and
 /// a URL representing the job output container.
 /// </summary>
 /// <param name="jobOutputContainerUri">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.</param>
 /// <param name="taskId">The id of the Azure Batch task.</param>
 /// <param name="storageRetryPolicy">The retry policy for storage requests.</param>
 /// <remarks>The container must already exist; the TaskOutputStorage class does not create
 /// it for you.</remarks>
 public TaskOutputStorage(Uri jobOutputContainerUri, string taskId, IRetryPolicy storageRetryPolicy)
     : this(CloudBlobContainerUtils.GetContainerReference(jobOutputContainerUri), taskId, storageRetryPolicy)
 {
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobOutputStorage"/> class from a task id and
 /// a URL representing the job output container.
 /// </summary>
 /// <param name="jobOutputContainerUri">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.</param>
 /// <param name="taskId">The id of the Azure Batch task.</param>
 /// <remarks>The container must already exist; the TaskOutputStorage class does not create
 /// it for you.</remarks>
 public TaskOutputStorage(Uri jobOutputContainerUri, string taskId)
     : this(CloudBlobContainerUtils.GetContainerReference(jobOutputContainerUri), taskId, null)
 {
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobOutputStorage"/> class from a storage account,
 /// job id, and task id.
 /// </summary>
 /// <param name="storageAccount">The storage account linked to the Azure Batch account.</param>
 /// <param name="jobId">The id of the Azure Batch job containing the task.</param>
 /// <param name="taskId">The id of the Azure Batch task.</param>
 /// <remarks>The job output container must already exist; the JobOutputStorage class does not create
 /// it for you.</remarks>
 public TaskOutputStorage(CloudStorageAccount storageAccount, string jobId, string taskId)
     : this(CloudBlobContainerUtils.GetContainerReference(storageAccount, jobId), taskId)
 {
 }