Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

An Azure Function that uses a BlobTrigger to copy a blob to another container while retaining the original blob content-type

License

Notifications You must be signed in to change notification settings

glennmusa/azfuncblobwithcontenttype

Repository files navigation

azfuncblobwithcontenttype

An Azure Function that uses a BlobTrigger to copy a blob to another container while retaining the original blob content-type.

The Azure Functions Blob Output Binding, as of December 2020, does not retain content-type property of blobs.

This sample follows the current guidance to use the Blob libraries directly to set the content-type property.

Monitored container in the configured input_container_name from Blob Trigger with content-type: the configured blob trigger container containing a blob with content-type set

Output blob in the configured output_container_name container with content-type: the desired cloned blob in another container with the content-type set

About

An Azure Function that uses a BlobTrigger to copy a blob to another container while retaining the original blob content-type

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages