Dani Pazos
Dani Pazos

Reputation: 126

Azure Function - Resize image stored in blob storage for all containers not a specific one

I followed this question to resize images stored in my blob storage.

My problem is that my website creates a new container for every bill it is handeling and add pictures to that specific "bill" container.

Is there a way to trigger my azure function for every container in a storage and not to specify a concrete one?

Upvotes: 1

Views: 1389

Answers (3)

George Wallace
George Wallace

Reputation: 146

As Roman mentioned Event Grid covers this scenario, we recently put up a tutorial on doing this exact scenario based off that existing sample using queues.. It can be found here https://learn.microsoft.com/en-us/azure/storage/blobs/storage-upload-process-images

Upvotes: 2

Roman Kiss
Roman Kiss

Reputation: 8265

Also, I do recommend to look at the Blob Storage Event Grid (now in the preview), see more details here.

Upvotes: 1

Mikhail Shilkov
Mikhail Shilkov

Reputation: 35154

This is not supported at the moment, you can track the status of this request in Add ability to create blob triggers on a container names that match a pattern

Upvotes: 1

Related Questions