无法导入Azure功能 [英] Unable to Import Azure Function

查看:109
本文介绍了无法导入Azure功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在"添加新API"下导航到API管理并选择"功能应用程序"。在"选择Azure功能应用程序"上选择我的功能应用程序后屏幕"导入Azure功能"部分显示"正在加载..."
然而它永远不会完成加载并且永远不会列出任何函数。因此我无法添加API。我在3个浏览器中重现了这个问题。

I navigate to API management under "Add a new API" and select "Function App". After selecting my function app on "Select Azure Function App" screen the "Import Azure Functions" section shows "Loading..." however it never finishes loading and never lists any functions. As a result I cannot add the API. I reproduced the problem in 3 browsers.

我有一个Azure功能,它是一个HTTP触发器并使用功能验证。观看浏览器网络请求,我看到它会调用一个响应,部分响应在下面。

I have one Azure Function that is a HTTP Trigger and uses Function authentication. Watching the browser network requests I see it makes a call gets a response, part of the response is below.

" config":{ "绑定":[{" AUTHLEVEL":"功能","类型":" httpTrigger","方向":"在","名称":" REQ","方法" ;:["获得","交"]},{"类型":" HTTP","方向":"列","名称":" RES"}]}

"config":{"bindings":[{"authLevel":"function","type":"httpTrigger","direction":"in","name":"req","methods":["get","post"]},{"type":"http","direction":"out","name":"res"}]}

有没有其他方法可以导入函数?

Is there any alternative way to import a function?

编辑:一些其他信息。我创建了第二个功能应用程序,我能够从第二个功能应用程序导入该功能,但同样不是原始的功能应用程序。区别?第一个功能应用程序是"Linux消费功能"。
并且无法导入。第二个是Windows消费计划。理想情况下,API Management将支持两种类型的功能应用程序。

Some additional information. I created second Function App and I was able to the import the function from the second Function App but again not the original Function App. The difference? The first Function App is a "Linux Consumption Functions" and cannot be imported. The second is a Windows Consumption plan. Ideally both types of Function Apps would be supported by API Management.




推荐答案

嗨Brian,



最终产品组计划支持进口Linux功能在不久的将来可能需要2到3个月,但此时间表可能会发生变化。 



Hi Brian,

Eventually Product Group is planning to support importing of Linux Functions in the near future probably in 2 or 3 months but this timeline is subject to change. 



这篇关于无法导入Azure功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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