1) My understanding is, in order to use HTTP Trigger, I need to have REST API, correct? How about XML API?
2) If I use Timer Trigger and Azure Data Factory (ADF), where does data get stored in between?
3) I am trying to locate where the logic of pulling data should go within the Function CS file.
I am sorry, it seems to me that you are in a bit of a misunderstanding.
In Azure Functions, Triggers are what cause a function to run. A trigger defines how a function is invoked and a function must have exactly one trigger.
For example,
- If your function is an HTTP Trigger function, your function can be invoked by sending a HTTP Request.
- If your function is a Timer Trigger function, you can specify a CRON expression (for example, every 5 minutes, every day at 5 am, etc), and based on the expression, your
function will get automatically invoked.
Inside the Function class, you will have a method called Run, there you can put your logic like what to do when the function is invoked. For example, in your case call an external endpoint, it doesn't have to be a REST endpoint.
A very important thing: the storage account that gets created as part of Function App creation, shouldn't be used for your business logic. It's for function apps' use like maintaining state etc.