I am creating JSON file for ARM template to deploy Azure VM and its dependent resources.

I have created RHEL VM with following resources(all are newly created):-

```
Storage Account
Diagnostic Storage Account
Virtual Network
Network Interface
Public IP Address
Network Security Group

```

Now I want to create Azure VM with existing Vnet, Subnet or new Vnet, subnet. Is there any example I can follow up. How can I do so?