Create a virtual machine in windows azure programmatically with C# code or .net

.net, azure, c#, cloud

Solution

You'll likely want to use Azure's REST Service Management APIs. For example, APIs for creating and managing VMs are here: Create Virtual Machine Deployment.

The overall API is documented here.

Since you're in .NET it seems like there would be service management APIs in the managed SDK, but I didn't see any service management API references there.

Problem

As we know that a new feature called virtual machine has been added in windows azure portal. but i want to create a virtual machine in windows azure programmatically with C# or . net. so can any one please help in this... which API shoud i use or yet the API for .net need to be published by azure people? please any one guide me to do this task.

Original source