Explanation
1. View template from deployment history
Go to the resource group for your new resource group. Notice that the portal shows the result of the last deployment. Select this link.
A screenshot of a computer Description automatically generated

2. You see a history of deployments for the group. In your case, the portal probably lists only one deployment.
Select this deployment.
A screenshot of a computer Description automatically generated

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.
A screenshot of a computer Description automatically generated

References:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-export-template