BenBtg
BenBtg

Reputation: 836

Use Azure Function Binding to return list of Blobs in a Container

Perhaps I'm misunderstanding the purpose of Azure Function Input Bindings. But I want to be able to return the list of blobs in a container on a HttpTrigger using a blob input binding. Is this possible or do I need to access the Blob Storage API directly from the Function?

Upvotes: 2

Views: 927

Answers (1)

Jerry Liu
Jerry Liu

Reputation: 17790

Not possible, blob binding is to read single blob once according to specified blob path. If we work with c#, we can use CloudBlobContainer as input binding type just for convenience. Otherwise we have to leverage Storage SDK to access Blob Service.

Upvotes: 4

Related Questions