This demo show Azure Function write in Python hosted in Azure with 2 entry points.
- Create an Azure Function inside Azure.
- Create an new Deploy inside the Deployment 3. Center to get all Access Tokens created on your Repo.
- Adjust the Action file properly to use your Tokens.
- Run the Action
- Get the app_key on the Portal inside your Azure Function created before.
- Check the functions in your browser.
https://<function_name>.azurewebsites.net/api/function-a?code=<app_key>
or
https://<function_name>.azurewebsites.net/api/function-b?code=<app_key>
The response must be: Function A completed or Function B completed depending on wicth function you wanna test.
- Explore the logs, monitoring and metrics on the portal!