用于文件共享的Azure触发功能
就像我们在Azure blob存储中为创建或删除的blob具有blob触发器或事件触发器一样,我需要具有一个在文件共享中上载或创建文件时触发的函数.Blob存储触发器,事件网格触发器不适用于Azure文件共享.您能否建议使用任何自定义触发功能或以其他方式在文件共享上使用触发功能?
Like we have blob trigger or event trigger for the blob created or deleted in Azure blob storage, I need to have a function which is triggered when a file is uploaded or created in file share. Blob storage trigger, event grid trigger doesn't work on Azure file share. Can you please suggest on any custom trigger function or any other way to use the trigger functions on file share?
我正在使用timertrigger来检查文件是否在文件共享中创建.因此,基本上,考虑到两个计时器触发器运行之间的时间差,我正在检查创建的新文件并执行进一步的操作.
I am making use of timertrigger to check if the files are created in fileshare. So basically, considering the time difference between 2 timer trigger run, I am checking the new files created and performing further operations.