Udostępnij za pośrednictwem


JobOutputStorage Constructors

Definition

Overloads

JobOutputStorage(Uri)

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

JobOutputStorage(BlobServiceClient, String)

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

JobOutputStorage(Uri)

Source:
JobOutputStorage.cs

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.

Applies to

JobOutputStorage(BlobServiceClient, String)

Source:
JobOutputStorage.cs

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

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

Parameters

blobClient
BlobServiceClient

The blob service client linked to the Azure Batch Storage 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.

Applies to