ComputeBatchModelFactory.OutputFileBlobContainerDestination Method
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.
Specifies a file upload destination within an Azure blob storage container.
public static Azure.Compute.Batch.OutputFileBlobContainerDestination OutputFileBlobContainerDestination(string path = default, Uri containerUri = default, Azure.Compute.Batch.BatchNodeIdentityReference identityReference = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.OutputFileUploadHeader> uploadHeaders = default);
static member OutputFileBlobContainerDestination : string * Uri * Azure.Compute.Batch.BatchNodeIdentityReference * seq<Azure.Compute.Batch.OutputFileUploadHeader> -> Azure.Compute.Batch.OutputFileBlobContainerDestination
Public Shared Function OutputFileBlobContainerDestination (Optional path As String = Nothing, Optional containerUri As Uri = Nothing, Optional identityReference As BatchNodeIdentityReference = Nothing, Optional uploadHeaders As IEnumerable(Of OutputFileUploadHeader) = Nothing) As OutputFileBlobContainerDestination
Parameters
- path
- String
The destination blob or virtual directory within the Azure Storage container. If filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name.
- containerUri
- Uri
The URL of the container within Azure Blob Storage to which to upload the file(s). If not using a managed identity, the URL must include a Shared Access Signature (SAS) granting write permissions to the container.
- identityReference
- BatchNodeIdentityReference
The reference to the user assigned identity to use to access Azure Blob Storage specified by containerUrl. The identity must have write access to the Azure Blob Storage container.
- uploadHeaders
- IEnumerable<OutputFileUploadHeader>
A list of name-value pairs for headers to be used in uploading output files. These headers will be specified when uploading files to Azure Storage. Official document on allowed headers when uploading blobs: https://learn.microsoft.com/rest/api/storageservices/put-blob#request-headers-all-blob-types.
Returns
A new OutputFileBlobContainerDestination instance for mocking.