Hi Sathwik,
Based on your query,
it looks like you're looking to switch an Azure Spot VM to a regular Standard VM. Unfortunately, there's no direct way to convert an Azure Spot VM into a Standard VM. Azure Spot VMs can only be set at the time of creation, and once they're created, you cannot change them into Standard VMs.
If you need to continue using the resources you've set up with the Spot VM, you’d need to create a new Standard VM and migrate your work to that VM. Here's what you can do:
- Deallocate your Spot VM: Make sure to save any necessary data.
- Create a new Standard VM: In the Azure portal, select the "Create a resource" option, then choose "Virtual Machine" and specify the VM details as required for a Standard VM.
- Transfer your data: You can either use Azure Backup, Azure Blob Storage, or any other data transfer method supported by Azure to transfer data from the Spot VM to the new Standard VM.
Please refer the below SS & documentation for more information
Please ping me in comment if you have any query if you need more assistance