View template from deployment history
1. Go to the resource group for your new resource group. Notice that the portal shows the result of the last deployment. Select this link.
![AZ-104_284E_1.jpg related to the Microsoft AZ-104 Exam](/static/microsoft/AZ-104_images/AZ-104_284E_1.jpg)
2. You see a history of deployments for the group. In your case, the portal probably lists only one deployment. Select this deployment.
![AZ-104_284E_2.jpg related to the Microsoft AZ-104 Exam](/static/microsoft/AZ-104_images/AZ-104_284E_2.jpg)
3. The portal displays a summary of the deployment. The summary includes the status of the deployment and its operations and the values that you provided for parameters. To see the template that you used for the deployment, select View template.
![AZ-104_284E_3.png related to the Microsoft AZ-104 Exam](/static/microsoft/AZ-104_images/AZ-104_284E_3.png)
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-export-template