使用不同的API连接从Data Factory运行Logic App [英] Run Logic App from Data Factory, with different API Connections

查看:125
本文介绍了使用不同的API连接从Data Factory运行Logic App的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello all!



我已经构建了一个Logic App来从(外部)SQL服务器提取数据并处理结果。

此过程将保持不变,但API连接(到SQL服务器)的端点可以更改。



我想运行此逻辑来自Data Factory的应用程序;针对不同客户的不同管道。

Hello all!

I've built a Logic App to pull data from an (external) SQL server and process the results.
This process will stay the same, but the endpoint for the API Connection (to the SQL server) can change.

I want to run this Logic App from the Data Factory; a different pipeline for different customers.

所以情况如下:



管道#1:SQL API连接A

管道#2:SQL API连接B

$
已在(相同)资源组中创建了不同的SQL API连接。

我尝试在HTTP Request的触发器中放置一个参数(Logic App的第一步),然后尝试在Code View中编辑它。但是当我从Pipeline传递这个参数时,遗憾的是它不起作用。



有没有更好或更简单(或逻辑)的方法来做到这一点,或者做我需要为每个API连接创建一个Logic App?



谢谢,非常感谢任何帮助。

So the situation is as follows:

Pipeline #1: SQL API Connection A
Pipeline #2: SQL API Connection B

The different SQL API Connections are already created in the (same) resource group.
I've tried putting a parameter in the triggerbody for the HTTP Request (first step of the Logic App) and then trying to edit this in Code View. But when I pass this parameter from the Pipeline, unfortunately it doesn't work.

Is there a better or easier (or logical) way to do this, or do I need to create a Logic App for every API connection?

Thanks, any help is much appreciated.

推荐答案

如果我理解正确,您可能希望在LA中动态选择API连接。

If I understand it correctly you might be looking to choose API connection dynamically in your LA.

请检查以下MSDN线程是否有帮助:

Please check the below MSDN thread if that helps:

https://social.msdn.microsoft.com/Forums/azure/en-US/22b83226-e7a4-4168-bd31-3547367f4959/choose-api-connection- dynamic-in-logic-app?forum = azurelogicapps






这篇关于使用不同的API连接从Data Factory运行Logic App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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