I have several scripts on the "azure virtual machine" that run once a day at a certain time, extract data from several web services and push the extracted data into the "azure database for postgresql server".
I want these scripts to run from the 'azure function app' instead of the 'azure VM'.
At the moment I have a folder with all these scripts in a blob container.
Issues:
Is it possible to run these scripts from the blob container? or is it easier to download these scripts and run them through the made function? or other ideas?
What trigger should I use in the function? I need to run these scripts every day (looks like a timer trigger); these scripts get data from web services (looks like an http trigger). But It's possible to use one trigger for one function doc. Moreover, timer trigger doesn't have input/output doc.
Do I understand correctly that in my case, the data I retrieve from web services should be the "input data" for my azure function, and when I put it into the postgresql database, it should be the "output data" for the same azure function?
I'm new at Azure and try to understand all the logic behind function apps. So, any help is welcome!