Interface VirtualMachineCustomImage

All Superinterfaces:
GroupableResource<com.microsoft.azure.management.compute.implementation.ComputeManager,com.microsoft.azure.management.compute.implementation.ImageInner>, HasId, HasInner<com.microsoft.azure.management.compute.implementation.ImageInner>, HasManager<com.microsoft.azure.management.compute.implementation.ComputeManager>, HasName, HasResourceGroup, Indexable, Refreshable<VirtualMachineCustomImage>, Resource

public interface VirtualMachineCustomImage extends GroupableResource<com.microsoft.azure.management.compute.implementation.ComputeManager,com.microsoft.azure.management.compute.implementation.ImageInner>, Refreshable<VirtualMachineCustomImage>
An immutable client-side representation of an Azure virtual machine custom image.
  • Method Details

    • isCreatedFromVirtualMachine

      boolean isCreatedFromVirtualMachine()
      Returns:
      true if this image was created by capturing a virtual machine
    • hyperVGeneration

      HyperVGenerationTypes hyperVGeneration()
      Returns:
      the hyper v Generation
    • sourceVirtualMachineId

      String sourceVirtualMachineId()
      Returns:
      ID of the virtual machine if this image was created by capturing that virtual machine
    • osDiskImage

      ImageOSDisk osDiskImage()
      Returns:
      operating system disk image in this image
    • dataDiskImages

      Map<Integer,ImageDataDisk> dataDiskImages()
      Returns:
      data disk images in this image, indexed by the disk LUN