azureazure-sdk-.net

how to create a Azure Spot VM using Azure SDK


With Azure Net SDK, how to create a Azure Spot VM. I did some research and just found how to create it via Azure Portal or arm template.


Solution

  • You need to create them as you normally would, but specify the eviction policy for the vm. That would be the way to create spot instance