Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SearchEvents and SearchEventsAsync for AzureStorageBlob DataProvider #519

Closed
wants to merge 1 commit into from

Conversation

nbiada
Copy link

@nbiada nbiada commented Aug 14, 2022

These methods add the ability to search the Azure Storage container hierarchy.

They return a list of BlobHierarchyItem (https://docs.microsoft.com/en-us/dotnet/api/azure.storage.blobs.models.blobhierarchyitem?view=azure-dotnet) objects.
Example:
[container]/202208/14/D53E8A9C-B400-4EBD-A548-D772C7350C14.json
[container]/202208/14/3CA4D4B3-2B22-44D8-9E47-B3B773E9B9FF.json
[container]/202208/15/E5748A9C-B400-4EBD-A548-D772C7350C14.json
[container]/202208/22/56HT4B3-2B22-44D8-9E47-B3B773E9B9FF.json

By executing the method in the following way I will get the list of all events for August 2022:
SearchEvents("202208")

To get the events of day 14:
SearchEvents("202208/14")

To change the delimiter from "/" (Microsoft standard) to another, simply pass the relevant parameter:
SearchEvents("202208", "_")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants