When creating a VM in Azure, you have the option of setting an Availability Set and Fault/Update domain. I have some VMs where I need to set the Availability Set and another set of VMs where I need to update the Fault/Update domain.
As far as I can see, this isn't available with the new Resource Group-based Virtual Machines and cmdlets, thus this previous post isn't applicable. Without recreating the VMs, what is the proper way to set these resources?