Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.38 KB

functions-bindings-storage-blob-output-dotnet-isolated-types.md

File metadata and controls

27 lines (21 loc) · 1.38 KB
authorms.servicems.topicms.datems.author
mattchenderson
azure-functions
include
07/10/2023
mahender

When you want the function to write to a single blob, the blob output binding can bind to the following types:

TypeDescription
stringThe blob content as a string. Use when the blob content is simple text.
byte[]The bytes of the blob content.
JSON serializable typesAn object representing the content of a JSON blob. Functions attempts to serialize a plain-old CLR object (POCO) type into JSON data.

When you want the function to write to multiple blobs, the blob output binding can bind to the following types:

TypeDescription
T[] where T is one of the single blob output binding typesAn array containing content for multiple blobs. Each entry represents the content of one blob.

For other output scenarios, create and use a BlobClient or BlobContainerClient with other types from Azure.Storage.Blobs directly. See Register Azure clients for an example of using dependency injection to create a client type from the Azure SDK.

close