Azure management libraries for Java - Virtual machine samples

The following table links to Java source you can use to create and configure Azure virtual machines.

Sample Description
Create a virtual machine from a custom image Create a custom virtual machine image and use it to create new virtual machines.
Create a virtual machine using specialized VHD from a snapshot Create snapshot from the virtual machine's OS and data disks, create managed disks from the snapshots, and then create a virtual machine by attaching the managed disks.
Create virtual machines in parallel in the same network Create virtual machines in the same region on the same virtual network with two subnets in parallel.