gpt4 book ai didi

azure - 使用 C# 类库和部署表单 vsts 时如何配置 Azure Function 代理?

转载 作者:行者123 更新时间:2023-12-01 23:10:32 25 4
gpt4 key购买 nike

使用 VSTS 的部署自动化时,代理在 Azure 门户中仅显示为只读。那么是否可以将代理定义添加到 c# 类库 ( https://learn.microsoft.com/en-us/azure/azure-functions/functions-dotnet-class-library ) 或者此场景的推荐工作流程是什么?代理的单独功能应用程序?

最佳答案

将代理配置放入 host.json 文件旁边的 proxies.json 文件中,并从 CI 管道部署它。

The proxies that you configure are stored in a proxies.json file, which is located in the root of a function app directory. You can manually edit this file and deploy it as part of your app when you use any of the deployment methods that Functions supports.

Source

关于azure - 使用 C# 类库和部署表单 vsts 时如何配置 Azure Function 代理?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49097877/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com