gpt4 book ai didi

Azure 应用程序配置 - 如何获取应用程序服务中的最新配置

转载 作者:行者123 更新时间:2023-12-03 00:53:07 26 4
gpt4 key购买 nike

应用配置中的值发生更改后,

enter image description here

即使重新启动 Azure 应用服务中的配置也不会更改

enter image description here

我想知道如何让应用服务在没有任何代码的情况下获取新配置?

最佳答案

您可以通过对应用服务中的现有应用程序设置进行任何更改,强制应用服务实例从应用配置中重新加载值。根据this documentation :

Any configuration change to the app that results in a site restart causes an immediate refetch of all referenced key-values from the App Configuration store.

您可以在应用服务中创建一个虚拟应用程序设置,并在您想要从应用配置中重新加载键值时更改其值。

关于Azure 应用程序配置 - 如何获取应用程序服务中的最新配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76561576/

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