简体   繁体   English

用于REST / Swagger API的SQL Azure连接器-市场吗? 套餐设置?

[英]SQL Azure Connector for REST/Swagger API - marketplace? package settings?

I'm trying to create a (Swagger based) REST API for my SQL Azure database. 我正在尝试为我的SQL Azure数据库创建一个(基于Swagger的)REST API。 I'll be using it in Logic Apps, PowerApps, and other places. 我将在Logic Apps,PowerApps和其他地方使用它。

For some reason I can't find the Microsoft SQL Connector when searching in the Azure marketplace. 由于某些原因,在Azure市场中搜索时找不到Microsoft SQL连接器。 Is there some trick to finding this? 找到这个有什么技巧吗? I have a pay-as-you-go subscription and I'm not having any issue with creating other services. 我有一个现收现付的订阅,创建其他服务没有任何问题。

I was able to create a connection to my Azure SQL database via Logic Apps Designer, and it allows me to trigger queries and other database operations. 我能够通过Logic Apps Designer创建到Azure SQL数据库的连接,它使我能够触发查询和其他数据库操作。

But when I edit the SQL Connection, I can't seem to find the Package Settings, which is apparently where I need to be in order to generate the Swagger API for CRUD operations (according to the examples I've been reading). 但是,当我编辑SQL Connection时,似乎无法找到Package Settings,这显然是生成CRUD操作的Swagger API所需的位置(根据我所阅读的示例)。

I also tried to configure this connection within abn API APP, but again couldn't find the "package settings" where you set up the CRUD operations. 我也尝试在abn API APP中配置此连接,但是再次找不到在其中设置CRUD操作的“程序包设置”。

Is there a trick to finding package settings and/or configuring the SQL Connector for a REST API? 查找包设置和/或为REST API配置SQL连接器是否有技巧? Or are all of the public examples outdated and something has changed? 还是所有公共示例都已过时并且发生了变化?

I would suggest creating an Azure function to connect to an SQL Database as described here. 我建议按照此处所述创建Azure函数以连接到SQL数据库 Then you can add the API definition as described here. 然后,您可以按照此处所述添加API定义 You can then use it in PowerApps/Flow as described here , here , and here . 然后,您可以按此处此处此处所述在PowerApps / Flow中使用它。 All are relatively fresh articles and should work. 所有这些都是相对新鲜的文章,应该起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM