Setting up Azure Functions

Overview

The definition of Azure Functions from Microsoft:

"Azure Functions allows you to run small pieces of code (called "functions") without worrying about application infrastructure. With Azure Functions, the cloud infrastructure provides all the up-to-date servers you need to keep your application running at scale."

Azure Functions are triggered by specific events that you define.

Create an Azure Function

You can use one of the below options to create an Azure Function:

Upon creation of the Azure Function you will receive a unique endpoint which can be used to invoke the function and will be used in the Webhooks configuration at a later point. You can also use the link highlighted below to get your Function URL.

Get Function URLGet Function URL

Get Function URL

Connect LeanIX to Azure Function

  • Once you have created an Azure Function from the above section you can create a Webhook Subscription in LeanIX.
  • Updated the Target URL in the above as per the one available from Azure Function created above.
  • You can use the Callback in LeanIX to determine what you want to send to Azure Function.