In my scenario, the function needs to poll a remote service and when new item appears the function should upload a new file to blob storage. There is an example in the documentation of how to save data to blob storage Blob binding example in Node.js:
// Copy blob from input to output, based on a queue trigger
module.exports = function(context) {
context.log('Node.js Queue trigger function processed', context.bindings.myQueueItem);
context.bindings.myOutputBlob = context.bindings.myInputBlob;
context.done();
};
But it is not clear how to specify a different name for the uploaded file?