Is there a Nuget package to create Azure Function Apps?

£可爱£侵袭症+ 提交于 2019-12-25 04:12:23

问题


I need to create multiple Azure Function apps in different geographic locations over and over, so I need to automate this. Doing this in the Portal isn't going to scale. I thought there would be a Nuget package for doing this, but I haven't found it yet. Any ideas on how to automate the creation of Azure Function Apps?


回答1:


There isn't an Azure Functions specific NuGet package or API. Functions works with the standard Azure Resource Manager APIs (consistent with the way you manage other Azure services) and new Function Apps can be provisioned using PowerShell, the Azure CLI, the ARM API or directly through the portal.

Under the "Get Started" section of the documentation I've linked to, you can find more information on how to create and manage templates.

I hope this helps!




回答2:


As far as I know, there is no Nuget Package for you to do this. Per my understanding, you could leverage ARM template to create your Azure Function App. You could try to follow the issue & code sample on GitHub about deploying Azure Function Apps with ARM to create the Azure Function App in multiple geographic locations as expected.

Also, you could follow this tutorial about deploying your resources to Azure with Resource Manager templates via Azure Power Shell.



来源:https://stackoverflow.com/questions/40776133/is-there-a-nuget-package-to-create-azure-function-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!