.create();
System.out.println("Created first VM:" + vm1.id());
Utils.print(vm1);
System.out.println("Creating a Linux VM in the availability set");
VirtualMachine vm2 = azure.virtualMachines().define(vm2Name)
<BUG>.withRegion(Region.US_EAST)
</BUG>
.withExistingResourceGroup(rgName)
.withNewPrimaryNetwork(networkDefinition)
.withPrimaryPrivateIpAddressDynamic()

.create();
System.out.println("Created first availability set: " + availSet1.id());
Utils.print(availSet1);
Creatable<Network> networkDefinition = azure.networks()
.define(vnetName)
.withRegion(region)
.withExistingResourceGroup(rgName)
.withAddressSpace("10.0.0.0/28");
System.out.println("Creating a Windows VM in the availability set");
VirtualMachine vm1 = azure.virtualMachines().define(vm1Name)
.withRegion(region)
.withExistingResourceGroup(rgName)
.withNewPrimaryNetwork(networkDefinition)
.withPrimaryPrivateIpAddressDynamic()
