如何在已经部署了多个功能的功能应用程序中部署单个天蓝色功能 [英] How to deploy single azure function in function app which already has multiple function deployed

查看:52
本文介绍了如何在已经部署了多个功能的功能应用程序中部署单个天蓝色功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在已经部署了3个功能的功能应用程序中部署新功能,但是当我部署新功能时,现有的部署将替换为新的功能.我想部署新功能,保持原有功能不变.

I am trying to deploy new function in the function app which already has 3 functions deployed in it , but when I deploy new function existing deployments get replaces with new one. I want to deploy new function keeping exiting function as it is.

推荐答案

AFAIK,是不可能的.

AFAIK, this is not possible.

始终将功能应用程序作为程序包部署,以替换任何现有功能.这是功能v2的推荐部署方式.请参考

A function app is always deployed as a package replacing any existing functions. This is the recommended way of deployment for Functions v2. Refer Run from Package for more details.

一种选择是直接在门户中开发功能,实际上不建议在生产中使用.更多有关原型和学习功能的信息.

One option for you would be to develop functions directly in the portal, which is really not recommended for production. Its more for prototyping and learning functions.

话虽如此,您可以使用应用 服务编辑器,可在浏览器中为您提供类似于VS Code的开发体验,以编辑您现有的代码.请注意,这仅适用于从门户创建的功能应用程序,因为否则部署的功能是只读的.

That being said, you could use the App Service Editor which gives you a more VS Code-like development experience in the browser to edit your existing code. Note that this will work only for function apps created from the portal since functions deployed otherwise are Read-Only.



这篇关于如何在已经部署了多个功能的功能应用程序中部署单个天蓝色功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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