Share via

Access storage container from Azure Function

Francisco Dominguez 386 Reputation points
2021-09-22T10:06:36.507+00:00

Hi,

I'm writing an Azure Function that will need to read a file that has been uploaded to a certain container in a storage account in my Azure subscription.

I had a look at the docs of both Javascript (NodeJS) and Python SDKs, but apparently all the utils access to a file share instead of a container in a storage account.

Is there a way to read files from a container?

Thank you. Regards.

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.

0 comments No comments

Answer accepted by question author

MayankBargali-MSFT 71,016 Reputation points Moderator
2021-09-22T12:34:15.703+00:00

@Francisco Dominguez Azure function storage trigger only triggered when the blob is added/updated. If your requirement is you want to monitor only one container then you can configure the path with the container path for your input binding so your function only monitors your define container/path when the blob is added/updated.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.