.withSubnet("subnet1") // Referencing the default subnet name when no name specified at creation
.withPrimaryPrivateIpAddressDynamic()
.withoutPrimaryPublicIpAddress()
.withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
.withRootUsername(userName)
<BUG>.withRootPassword(password)
.withSize(VirtualMachineSizeTypes.STANDARD_D3_V2)</BUG>
.create();
System.out.println("Created a Linux VM (in the same virtual network): " + linuxVM.id());
Utils.print(linuxVM);

.withSubnet("subnet1") // Referencing the default subnet name when no name specified at creation
.withPrimaryPrivateIpAddressDynamic()
.withoutPrimaryPublicIpAddress()
.withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
.withRootUsername(userName)
.withRootPassword(password)
.withUnmanagedDisks()
.withSize(VirtualMachineSizeTypes.STANDARD_D3_V2)
.create();
System.out.println("Created a Linux VM (in the same virtual network): " + linuxVM.id());
Utils.print(linuxVM);
