使用azure逻辑应用程序动态将blob从azure存储帐户发送到电子邮件 [英] Dynamically send blobs from azure storage account to email using azure logic apps

查看:53
本文介绍了使用azure逻辑应用程序动态将blob从azure存储帐户发送到电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有文件定期存储在我的Azure Blob存储帐户中.我想通过电子邮件将这些Blob文件内容作为附件发送.我已经使用Azure Logic应用程序建立了工作流.

这是工作流程:

我能够发送Blob文件,但是我需要始终指定文件名.有什么方法可以动态获取所有文件内容,而无需手动指定名称?

解决方案

只需添加使用path获取Blob元数据操作即可获取文件名:

I have files getting stored in my Azure Blob storage account regularly. I want to send these blob file contents as attachments via email. I have established a workflow using Azure Logic Apps.

Here's the workflow:

I am able to send the blob file, but I need to specify the name of the file always. Is there any way I can get all the file contents dynamically without having to specify the name manually?

解决方案

Just add Get Blob Metadata using path action to get the name of your file:

这篇关于使用azure逻辑应用程序动态将blob从azure存储帐户发送到电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆