Thanks for reaching out to Microsoft Q&A Platform.
To answer your question Azure ARM templates is one of most suggested answer .
How to create a ARM template?
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
How to use ARM template to create multiple resources of the same type?
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/copy-resources
How to download the sample ARM template with all the required values to deploy a VM ?
While trying to create a new VM from the Azure portal , Just before you click "Review+Create " you will be able to view the "Download ARM template for this deployment "
Quick Screen shot for reference:
Hope this answers your question and helps to start of with .
Thanks & Regards,
Pradeep
-----------------------------------------------------------------------------
Please do "Accept the answer" or "Up-Vote " if this was helpful in answering your question