首页 > 解决方案 > 批量上传时触发一次 Azure 函数

问题描述

我有一个 Azure 函数,我想在一次上传多个图像时触发它。问题在于,blob 触发器会在上传单个文件时触发。这意味着我的函数会触发我在该块中上传的 x 个文件。我想每次批量上传只触发一次我的功能。

有谁知道解决这个问题?

最好的问候,R

标签: azureazure-functionsserverless

解决方案


reduards Glad to hear that you resolved your issue. Thank you joelforsyth Posting your suggestion as an answer to help other community members.

"The trigger doesn't know when the last file is uploaded because though it is a bulk upload for you, it's still just a collection of individual files. You can upload a sort of manifest file after each bulk upload and have the trigger based on that"


推荐阅读