Example to create a Spot VM using Dotnet C# Reference: Create and manage Windows VMs in Azure using C# Azure Spot