Azure function to get asset inventory

Job ID: 35183937

Budget: $10 – $30 USD

I need an azure function that allows me to get an inventory of all the VMs running on azure in different subscriptions. the function must be able to insert the results into a SQL table

Powershell, C# or python