Found this little gem on my travels the other day, credit goes to “Anders Liu”

Capture Azure Resource Group

Select your Subscription and Resource Group and click “Capture”

Capture Template

Currently there is no Schema to capture a RG with:

Microsoft.Network: virtualNetworkGateways, localNetworkGateways and connections

I will update when I know 🙂