> + .offer(offer)
> + .sku(sku)
> + .version("latest")
> + .build();
> +
> + }
> +
> + private OSDisk getOsDisk(String vhdUri, String imageUri) {
> + OSDisk.Builder builder = OSDisk.builder();
> + builder.name("[variables('osDiskName')]");
> + builder.caching("ReadWrite");
> + builder.createOption("FromImage");
> + builder.vhd(VHD.create(vhdUri));
> +
> + if (!imageUri.isEmpty()) {
> + builder.osType("Linux");
I guess it is not always like that but depending on image it can be Windows as
well.
---
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/291/files/8a39037237f5cccc7d100bc58a9a82bdb89924b1#r68014000