Azure 存储资源管理器中的 Blob 文件是分页的,每页 100 个文件。有没有一种方法可以按名称搜索文件,这样我就不必翻阅页面来查找它。
我已按照说明下载并安装适用于 Linux (Ubuntu 18.04) 的 Azurite。我想将其与 Azure 存储资源管理器(也已下载并安装)一起使用,以通过 BlobTrigger 直观地管理/测试 Azure Function。我了解如何启动 Azurite,并可以使用 Storage Exporer 将 blob 上传到模拟器容器。
无法弄清楚:
如何将 Azure Function 连接到 Azurite 容器以用作 Functions内部存储。
A。我"AzureWebJobsStorage": "UseDevelopmentStorage=true"在 中使用过local.settings.json,但我不知道如何将函数连接到 Azurite 中的给定容器
如何将函数连接到 Azurite 容器以实现BlobTrigger功能。
A。我需要添加"BlobTrigger": "<azuriteContainerConnectionString>"设置吗local.settings.json?
我有 Azure 应用服务。在 Visual Studio 2019 中,我可以执行以下操作来从中获取事件日志:
在 Visual Studio 2022 中,没有云资源管理器。他们建议我们改用 Azure 存储资源管理器。我无法在存储资源管理器中找到事件日志文件。
有谁知道如何在没有 Visual Studio 2019 的情况下从 GUI 或命令行获取它?
我正在本地从 VSCode 运行一个 Azure 函数,该函数将字符串输出到 blob。我正在使用 Azurite 来模拟输出 blob 容器。我的函数如下所示:
import azure.functions as func
def main(mytimer: func.TimerRequest, outputblob:func.Out[str]):
outputblob.set("hello")
Run Code Online (Sandbox Code Playgroud)
我的 function.json:
{
"scriptFile": "__init__.py",
"bindings": [
{
"name": "mytimer",
"type": "timerTrigger",
"direction": "in",
"schedule": "0 * * * * *"
},
{
"name": "outputblob",
"type": "blob",
"dataType": "string",
"direction": "out",
"path": "testblob/hello"
}
]
}
Run Code Online (Sandbox Code Playgroud)
在 local.settings.json 中,我设置了"AzureWebJobsStorage": "UseDevelopmentStorage=true".
问题是,当我运行该函数并签入 Azure 存储资源管理器时,会创建容器 (testblob)(以及其他 2 个容器:azure-webjobs-hosts 和 azure-webjobs-secrets),但它是空的并且 Azure 存储资源管理器刷新时显示错误消息: 第一个参数必须是字符串类型或 Buffer、ArrayBuffer、Array 或类似 Array 的实例。Received undefined
该函数运行并且不返回任何错误消息。
当我使用队列而不是 blob …
python azure-storage azure-functions azure-storage-explorer azurite