Skip to content Skip to sidebar Skip to footer

How To Get Updated Blob List?

How to fetch updated list of blobs from azure, When a new file has been added to blob storage?? This is the code which fetches the blobs from azure-storage blobService.listContaine

Solution 1:

Azure Storage originally didn't have any facility to see updates based on any events: you'd have to list and analyze every blob to determine this on your own (as described in this question and set of answers).

Now, Azure Event Grid provides this ability, and you may choose events for:

  • blobs created or replaced
  • blobs deleted

If you use hierarchical directories (e.g. ADLS on top of Azure Storage), you get even more options (such as renames, as well as directory-level events).

Event Grid events are consumable via Azure Functions, Logic Apps, or an HTTP listener.

More details are here.

Post a Comment for "How To Get Updated Blob List?"