gpt4 book ai didi

azure - 存储帐户不存在,找不到 Function App 的引用

转载 作者:行者123 更新时间:2023-12-03 01:48:07 25 4
gpt4 key购买 nike

我在 Azure 中编写了两个函数。一个函数使用存储帐户,另一个函数使用 SQL 存储。两者都在同一个应用服务下。

对我编写的 SQL 函数的方法感到满意,我删除了不需要的函数,然后删除了存储帐户。

此后,应用服务提示无法再联系存储帐户(其余功能未使用)。

"Storage account xxx doesn't exist. Deleting the storage account the function app is using will cause the function app to stop working. Update the app setting with a valid existing storage connection string."

然后

"We are not able to retrieve your functions right now. Please try again later"

我从函数应用设置中删除了引用存储的行,但这没有什么区别。重新启动也没有什么区别。

愚蠢的是我无法从 Azure 中的 Functions 应用程序访问代码,我都是在线编写的。

这有什么恢复吗?

我猜测某处有对已删除存储的引用,但我找不到它。

最佳答案

是的。 Function App 需要 Azure 存储。遗憾的是,您的函数代码不可恢复,因为 Azure Functions 使用该存储帐户上的 Azure 存储文件共享作为底层文件系统。

通常您可以从 Kudu 端点访问代码。转到函数应用程序的平台功能 --> 高级工具 (Kudu)--> 调试控制台 --> 站点 --> wwwroot

关于azure - 存储帐户不存在,找不到 Function App 的引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43392917/

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