将数据从Azure Service Bus主题复制到Azure内的存储帐户 [英] Copy data from Azure Service Bus Topic to a Storage Account inside Azure
问题描述
我需要将在服务总线主题中收到的数据移动到Azure内的存储帐户. 我相信Azure Function是实现这一目标的好方法之一. 如果您有一个,请分享合适的示例.
I need to move data received in my Service Bus Topic to a Storage Account inside Azure. I believe Azure Function is one of the good ways to achieve this. Please share suitable example if you have one.
关于, 苏里亚
推荐答案
启动Azure Functions项目,使用斑点,表(视情况而定).然后在功能代码中,只需将相关数据从触发器参数复制到输出参数即可.
Fire up an Azure Functions project, create a function with a Service Bus trigger binding (if you're in the portal or Visual Studio then it'll offer you a template) and add a storage output binding for blob, queue or table as appropriate. Then in the function code just copy the relevant data from your trigger parameter to your output parameter.
这篇关于将数据从Azure Service Bus主题复制到Azure内的存储帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!