Pks
Pks

Reputation: 1

Arm Template -VM from existing vnet and all dependent resources

I want to create ARM template to deploy Azure VM on its already created dependent resources. Want to deploy a vm on these existing dependent resources : Storage Account, Diagnostic Storage Account, Virtual Network, Network Interface, Public IP Address, Network Security Group.

Upvotes: 0

Views: 419

Answers (2)

Jagrati Modi
Jagrati Modi

Reputation: 2088

You can take help of this example:

https://github.com/Azure/azure-quickstart-templates/tree/master/201-vm-different-rg-vnet

And update the ARM template according to your requirements.

Upvotes: 0

Rakesh Suryawanshi
Rakesh Suryawanshi

Reputation: 520

You can use those dependent resources as parameter and use it in your arm file.

Upvotes: 0

Related Questions