在 Azure 函数集成中动态设置 Blob 路径



我正在使用门户开发 Azure 函数应用。我想在 json 输入文件键值名称上设置 blob 存储路径。我怎么能?

使用编译的 C# 您可以在 function.json 文件中指定路径,我不是 100% 确定它是否适用于脚本版本 (csx(:

{
"name": "myBlob",
"type": "blobTrigger",
"direction": "in",
"path": "testContainerName/{date}-{filetype}.csv",
"connection": "OrderStorageConnection"
}

https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-input?tabs=csharp-script#configuration

最新更新