You can use the Azure Resource Manager REST API to display template deployments for your resource group. API link here .
At the top of the answer is templateLink , with which you can get the deployment template. For example, this is what I return for one of my deployments, where I used the Web App + SQL database configuration with the Azure Portal to create a new web application.

source
share