@colchon753 , thank you for your question. You can try following these steps:
- Navigate to the resource group where the Virtual Machines were created in the Azure Portal.
- Select Activity Logs from the left-hand menu and set filters according to your needs.
- Click on the operation you are interested in and select the Change history (Preview) tab on the overlay that appears. Click on the <deleted resource> link from the list of entries.
- In the Old Value section you should be able to see the deleted resource's details as a JSON object.
Note: Currently changes are covered for upto 14 days.
----
Hope this helps.
Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.