Share via


OutputFileBlobContainerDestination Class

Definition

Specifies a file upload destination within an Azure blob storage container.

public class OutputFileBlobContainerDestination : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.OutputFileBlobContainerDestination>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.OutputFileBlobContainerDestination>
type OutputFileBlobContainerDestination = class
    interface IJsonModel<OutputFileBlobContainerDestination>
    interface IPersistableModel<OutputFileBlobContainerDestination>
Public Class OutputFileBlobContainerDestination
Implements IJsonModel(Of OutputFileBlobContainerDestination), IPersistableModel(Of OutputFileBlobContainerDestination)
Inheritance
OutputFileBlobContainerDestination
Implements

Constructors

OutputFileBlobContainerDestination(String)

Initializes a new instance of OutputFileBlobContainerDestination.

Properties

ContainerUrl

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

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.

Path

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.

UploadHeaders

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://docs.microsoft.com/en-us/rest/api/storageservices/put-blob#request-headers-all-blob-types.

Explicit Interface Implementations

IJsonModel<OutputFileBlobContainerDestination>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<OutputFileBlobContainerDestination>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OutputFileBlobContainerDestination>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OutputFileBlobContainerDestination>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<OutputFileBlobContainerDestination>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to