Hi @Ladicek Sorry for the delayed response and thank you for your contribution. 

To speed up `listImages()`, you could set the 
`jclouds.azurecompute.arm.publishers` property to just `Canonical` or just 
`RedHat`. For development and testing only, to speed up everything, you could 
updating the existing code with the following in `AzureComputeServiceAdapter`:

in `listHardwareProfiles()`:
```
VMHardware hwProfile = new VMHardware();
         hwProfile.name = "Standard_A5";
         hwProfile.numberOfCores = 2;
         hwProfile.osDiskSizeInMB = 1047552;
         hwProfile.resourceDiskSizeInMB = 138240;
         hwProfile.memoryInMB = 14336;
         hwProfile.maxDataDiskCount = 4;
         hwProfile.location = "westus";
         hwProfiles.add(hwProfile);
```

in `listLocations()`:

```
List<Location> locations = new ArrayList<Location>();
Location loc = Location.create("westus", "westus", "westus", 20, 20);
locations.add(loc);

```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/298#issuecomment-232183317

Reply via email to