I have developed a Blob Trigger Azure function. This will trigger when a file uploads to blob folder. This function will get this uploaded file, Encrypts it and copy the encrypted file into another blob folder.
I can see my function is getting triggered when a new file is added to blob. But I can also see that my function is getting triggered when I am removing the file from blob.
How can I restrict this. My Azure Function has to run only when new BLOB is UPLOADED. It should not run when I delete any file from the blob.
Please suggest me an approach. Thank you.