I am using the Azure Logic Apps List Blobs action:
I want to know if I can add a query filter to this or do I have to list all the blobs and then filter as this will be more expensive.
I am using the Azure Logic Apps List Blobs action:
I want to know if I can add a query filter to this or do I have to list all the blobs and then filter as this will be more expensive.
I don't think this is possible yet. What kind of filters are you trying to use?
Would it be possible to add prefixes to your blob file names and create a logical folder structure within your Blob container?
For instance, if you named your blobs as:
folder1/blobA.json
folder1/blobB.json
folder1/blobC.json
folder2/blobZ.json
folder2/blobY.json
This would create a logical folder structure on your Blob container with two folders. This way, the Logic App connector could list only blobs under a particular folder, i.e. with the prefix "folder1\" in the name.
In the picture below, temp
is the container name and myfolder/
is the blob name prefix.
HTH.
Unfortunately, this does not seem to have a direct way to achieve. Pretty much all the connectors I've dealt with are not very flexible. :(
I could not find any wildcards related feature requests to Logic Apps.
From the official documentation: