Can I attach a VM to NIC through an arm template?

750 Views Asked by At

When I tried doing this with portal I could achieve it from virtual machine networking .. I wanted to know if it works with either NIC or VM arm-template .I tried the both and they failed. 1.Network profile - Networking ID 2.Virtual Machine -ID

1

There are 1 best solutions below

4
On BEST ANSWER

It seems you cannot attach an existing or a new NIC and attach to the existing VM through template. There is no property of NIC to achieve it. You just can create a VM and attach an existing or new NIC to it. For more details about template of NIC, see Microsoft.Network/networkInterfaces template reference.