How can we improve Microsoft Azure Functions?

Wildcard within path of blob input bindings

I wish we could specify blob storage input bindings path that included wildcard.

--- function.json
{
"type": "blob",
"name": "faces",
"path": "face/profile-{date}-*.png",
"connection": "AzureWebJobsDashboard",
"direction": "in"
}

Then, I hope to process these as array of Blob objects.

---index.js

module.exports = function (context, myQueueItem) {
const fileSizeList = context.bindings.faces.map(face => face.size);
context.log(fileSizeList);
context.done();
};

2 votes
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)

We’ll send you updates on this idea

Satoshi Azuma shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base