azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

No default image for Win10 in KnownWindowsVirtualMachineImage

Open puneet101 opened this issue 8 years ago • 3 comments

There is no constant for default Win10 image in KnownWindowsVirtualMachineImage

How do we create a VM from the Win10 Pro image in the marketplace: new->marketplace->compute->Win10 Pro, Version 1709 PUBLISHER: Microsoft

puneet101 avatar Dec 07 '17 01:12 puneet101

@anuchandy Any pointers for this? How do we find the details like offer, sku, publisher and version to create an "ImageReference"?

puneet101 avatar Dec 07 '17 01:12 puneet101

ImageReference imageReference = new ImageReference();
imageReference.withPublisher("MicrosoftWindowsDesktop");
imageReference.withOffer("Windows-10");
imageReference.withSku("RS3-Pro");
imageReference.withVersion("latest");

This test shows how to enumerate images.

anuchandy avatar Dec 07 '17 02:12 anuchandy

@anuchandy Thanks!

puneet101 avatar Dec 08 '17 22:12 puneet101