This is based on the work of https://nest.parrotsec.org/build/alternate-install with a few minor adjustments to fit this on Azure Debian 10 Marketplace image.
az group create -n myResourceGroup -l westeurope
az vm create -n myVm -g myResourceGroup --image debian --admin-username parrot --admin-password superSecure123#
az vm extension set \
--resource-group myResourceGroup \
--vm-name myVM --name customScript \
--publisher Microsoft.Azure.Extensions \
--settings ./script-config.json