azure-functions - 如何从 Azure 函数访问 Azure 存储 "(Classic)"

标签 azure-functions

从功能“集成”选项卡中访问 Azure 存储时,似乎只能链接到"new"存储帐户,而不是它列为“(经典)”的存储帐户。

我已验证我想要连接的“(经典)”存储帐户与我正在使用的 Azure 应用服务和功能位于同一区域,因此它应该出现但它没有。

如何将函数连接到“(经典)”Azure 存储帐户?

最佳答案

UI 存储选择器不显示经典帐户。但是,您可以手动实现相同的目的:

  • 在您的 Web 应用程序中创建一个新的应用程序设置,指向您的经典帐户
  • 的连接字符串
  • 在集成选项卡中,转到原始 View 并设置 "connection": "YOURCONNECTIONNAME"在绑定(bind)中。
  • 关于azure-functions - 如何从 Azure 函数访问 Azure 存储 "(Classic)",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37365045/

    相关文章:

    azure - 如何导出和导入Azure Function的 "application settings"

    javascript - 在 JavaScript Azure 函数中调用图形 API

    c# - Azure函数 "Unable to find assembly"

    azure - 无法调用http ://localhost Azure Function from https://localhost node app

    c# - 预编译的 Azure 函数和 CloudTable 绑定(bind)输出不起作用

    node.js - Azure Function 在 2022 年 4 月 26 日禁用了将 "user"字段设置为 HTTP 请求对象

    c# - 为什么微软说 Azure Functions 是针对小段代码的?

    c# - Azure函数: binding to DocumentClient versus static instance - what's recommended?

    python - Azure 数据工厂管道中的函数调试内部服务器错误

    azure - Azure Function 项目的集成测试项目