Minimal example of using the Pulumi IaC tool to deploy an Azure API Management service on the consumption tier, with an Azure Function backend. Azure free tier friendly.
Install Azure CLI, then login.
az login
Install Pulumi
Deploy or update infrastructure
cd pulumi
npm i
pulumi up
Remove infrastructure
cd pulumi
npm i
pulumi down