CmdID / az / az vm / az vm availability-set
az vm availability-set validate-migration-to-vmss
Validate that the Virtual Machines in the Availability Set can be migrated to the provided Virtual Machine Scale Set. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--availability-set-name, --name, -nThe name of the availability set.--vmss-flexible-idSpecify resource id about the Virtual Machine Scale Set that the Availability Set should be migrated to.