通过 Azure 逻辑应用程序访问 Blob 存储

Access blob storage through azure logic apps

我有 Azure blob 存储,其中包含一些 CSV 文件。 我的任务:

1. Create a logic app for the blob storage.
2. Retrieve the data from the blob storage.
3. Convert the retrieve file to JSON.
3. Upload that data to an online portal through API.

我已经尝试通过 "Get blob content" 操作检索数据,但不确定在哪里可以看到结果。我刚刚创建了逻辑应用程序,但我不知道下一步该做什么。

关于

的问题

I've tried retrieving the data by "Get blob content" action, but not sure where to see the result.

当你运行逻辑应用程序时,你可以在OUTPUTS中看到你的csv文件的内容,如下所示:

如果你想使用api上传数据,你只需要像下面截图那样操作(但也取决于你的api请求体的类型) :

既然你提到你的 azure 存储 blob 包含一些 csv 文件,那么你可能需要循环这些文件。您可以使用“List blobs" action and "For each”操作循环它们,然后获取 blob 内容。

希望对您有所帮助,如果您还有其他问题,请告诉我。