Hi @Sheik Mohamed Yasar ,
to swap the OS disk of an Azure VM the VM needs to be stopped/deallocated.
In my opinion this is not a "hot-swap", the VM isn't available for a short time, there will be a short downtime,
The process looks like this:
- Stop/deallocate Azure VM
- Swap the OS disk (Azure Cli, PowerShell, Azure Portal)
- Start the Azure VM
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten