如何通过ARM模板将azure函数添加到API管理? [英] How to add azure functions to API managment via ARM template?

查看:60
本文介绍了如何通过ARM模板将azure函数添加到API管理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法做到这一点:

https://docs.microsoft.com/en-us/azure/api-management/import-function-app-as-api



使用ARM模板?



我环顾了一会儿,找不到任何答案或示例如何这是完成的。

我确实看到市场上有第三方扩展,但我仍然想知道是否可以通过ARM模板完成。



谢谢你

解决方案

可用  现在。
请参阅 
Api
参考




{



 
" properties" ;: {



   
" format":" swagger-link-json",


< p style ="margin-bottom:0in;边距:.0001pt;行高:正常;背景:#EFF0F1; vertical-align:baseline">
   
" value" ;:\"http://petstore.swagger.io/v2/swagger.json",



   
" path":" petstore"



 
}



}


Is there a way to do this:
https://docs.microsoft.com/en-us/azure/api-management/import-function-app-as-api

using ARM template?

I looked around for quite awhile and could not found any answer or example of how this is done.
I did saw there is a third party extansion for this in the marketplace, but I still wonder if it is can be done via the ARM template.

Thanks

解决方案

It is available now. See Api Reference.

{

  "properties": {

    "format": "swagger-link-json",

    "value": "http://petstore.swagger.io/v2/swagger.json",

    "path": "petstore"

  }

}


这篇关于如何通过ARM模板将azure函数添加到API管理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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