英文:
Logic app when a blob is added or modified for all containers
问题
Is there any way of triggering logic app on adding files or modification for all containers in a blob storage? I know that I can do that for a specific one using When blob is added or modified trigger:
英文:
Is there any way of triggering logic app on adding files or modification for all containers in a blob storage? I know that I can do that for specific one using When blob is added or modified trigger:
But is it doable for all containers using one logic app?
答案1
得分: 0
我同意 @skin 的观点,无法在逻辑应用工作流中对所有容器执行操作,只能使用“当添加或修改 Blob 时”:
但我建议你使用逻辑应用中的事件网格触发器,可以使用多个事件,如下所示:
输出:
在这里,我使用了消耗计划,它在两个容器中触发,所以你可以使用这个。
在 BlobUrl 中,你可以获取 Blob 的名称。
这里使用了多个事件类型。
如果你正在使用“当添加或修改 Blob 时”,你可以使用 @skin 的评论来使用一个有用的应用。
英文:
i do agree with @skin you cannot do for all containers in logic app workflow using when a blob is added or modified
:
But I would suggest you to use Event Grid Trigger In Logic app, where more than one event can be used as below:
Output:
Here I have used Consumption plan and it got triggerred in both containers, so you can use this.
Here in BlobUrl you can get the name of the blob.
Here more than one event type is used.
If you are using when a blob is added or modified
you can use @skin's comment to use app which is usefull.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论