Powershell – How to set an availability set for an existing VM in azure

azurepowershellvirtual-machines

I am using the new Resource Manager type of virtual machine.

Now I need to add this into a load balancer (already configured) but I can't find how to assign this VM into the Availability Set so I can allocate it to the load balancer.

There seems to be no UI in the preview portal, so I am assuming this to be a PowerShell only at the moment but I can find no docs on assigning an existing VM.

FYI – All items associated with this are in the same region I ensured this to start with.

Best Answer

There is no setting for this in ARM yet, even in powershell

Related Topic