I needed some feedback on how to configure Azure Webjob for below requirement.
- Need to have only one Web job. In that Webjob, need to have one function for each service(API) for multiple Geo's(Ex: WestUS and Central US).
- WebJob should run for every 5 mins.
- It should call only GET endpoints of services and should validate HTTP status codes and response body.
- Each run of each end-point should make an entry in Table(Configuration => Method Name, URL, IsActive)
Ex: MethodName URL IsActive
GetUsers XXXX 1
GetProducts XXXX 0
- Each failure i.e other than HttpStatus code 2XX should trigger an email to configured audience + Team channel alerts by picking up DB configuration;this DB should be available in multiple Geo's.
Any help in implementation would be appreciated. Thanks in advance.