VirtualMachineCustomImage Interface

Implements

public interface VirtualMachineCustomImage
extends GroupableResource<ComputeManager,ImageInner>, Refreshable<VirtualMachineCustomImage>

An immutable client-side representation of an Azure virtual machine custom image.

Method Summary

Modifier and Type Method and Description
abstract Map<Integer,ImageDataDisk> dataDiskImages()
abstract HyperVGenerationTypes hyperVGeneration()
abstract boolean isCreatedFromVirtualMachine()
abstract ImageOSDisk osDiskImage()
abstract String sourceVirtualMachineId()

Method Details

dataDiskImages

public abstract Map dataDiskImages()

Returns:

data disk images in this image, indexed by the disk LUN

hyperVGeneration

public abstract HyperVGenerationTypes hyperVGeneration()

Returns:

the hyper v Generation

isCreatedFromVirtualMachine

public abstract boolean isCreatedFromVirtualMachine()

Returns:

true if this image was created by capturing a virtual machine

osDiskImage

public abstract ImageOSDisk osDiskImage()

Returns:

operating system disk image in this image

sourceVirtualMachineId

public abstract String sourceVirtualMachineId()

Returns:

ID of the virtual machine if this image was created by capturing that virtual machine

Applies to