azure - 批量上传时触发一次 Azure 函数
问题描述
我有一个 Azure 函数,我想在一次上传多个图像时触发它。问题在于,blob 触发器会在上传单个文件时触发。这意味着我的函数会触发我在该块中上传的 x 个文件。我想每次批量上传只触发一次我的功能。
有谁知道解决这个问题?
最好的问候,R
解决方案
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"
推荐阅读
- sql-server - 从审计表中查找更改
- java - AlwaysPretouch 是否会导致触摸 -Xms 或 -Xmx 内的页面?
- scala - 在scala中组合变量类型的函数序列
- excel - 如何检查单元格内容的变量类型,区分长和小数
- xml - 使用结构替换仅替换一个 XML 属性
- maven - Fabric8 maven 插件抱怨部署配置问题
- python - 从 docx 文件中删除所有图像
- c# - 从 .net 核心调用 .net 框架中的 ConfigurationManager.ConnectionStrings
- javascript - 我想从数学考试中找到一个结果 在哪里可以找到你必须达到最低分数的结果
- vba - 以不同字体插入的符号