TaskOutputStorage Constructors
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.
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
Azure SDK for .NET