.withExistingResourceGroup(resourceGroup);
List<Creatable<VirtualMachine>> creatableVirtualMachines = new ArrayList<>();
for (int i = 0; i < vmCount; i++) {
Creatable<VirtualMachine> creatableVirtualMachine = azure.virtualMachines()
.define("VM-" + i)
<BUG>.withRegion(Region.US_EAST)
</BUG>
.withExistingResourceGroup(resourceGroup)
.withNewPrimaryNetwork(creatableNetwork)
.withPrimaryPrivateIpAddressDynamic()

.withExistingResourceGroup(resourceGroup);
List<Creatable<VirtualMachine>> creatableVirtualMachines = new ArrayList<>();
for (int i = 0; i < vmCount; i++) {
Creatable<VirtualMachine> creatableVirtualMachine = azure.virtualMachines()
.define("VM-" + i)
.withRegion(region)
.withExistingResourceGroup(resourceGroup)
.withNewPrimaryNetwork(creatableNetwork)
.withPrimaryPrivateIpAddressDynamic()
