Interface VirtualMachineCustomImage
- All Superinterfaces:
GroupableResource<ComputeManager, ImageInner>, HasId, HasInnerModel<ImageInner>, HasManager<ComputeManager>, HasName, HasResourceGroup, Indexable, Refreshable<VirtualMachineCustomImage>, Resource
public interface VirtualMachineCustomImage
extends GroupableResource<ComputeManager, ImageInner>, Refreshable<VirtualMachineCustomImage>
An immutable client-side representation of an Azure virtual machine custom image.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn immutable client-side representation of a data disk image in an image resource.static interfaceThe entirety of the image definition.static interfaceGrouping of image definition stages.Nested classes/interfaces inherited from interface Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets data disk images in this image.Gets the hyper v Generation.booleanChecks whether this image was created by capturing a virtual machine.Gets operating system disk image in this image.Gets ID of the virtual machine if this image was created by capturing that virtual machine.Methods inherited from interface HasInnerModel
innerModelMethods inherited from interface HasManager
managerMethods inherited from interface HasResourceGroup
resourceGroupNameMethods inherited from interface Refreshable
refresh, refreshAsyncMethods inherited from interface Resource
region, regionName, tags, type
-
Method Details
-
isCreatedFromVirtualMachine
boolean isCreatedFromVirtualMachine()Checks whether this image was created by capturing a virtual machine.- Returns:
- true if this image was created by capturing a virtual machine
-
hyperVGeneration
HyperVGenerationTypes hyperVGeneration()Gets the hyper v Generation.- Returns:
- the hyper v Generation
-
sourceVirtualMachineId
String sourceVirtualMachineId()Gets ID of the virtual machine if this image was created by capturing that virtual machine.- Returns:
- ID of the virtual machine if this image was created by capturing that virtual machine
-
osDiskImage
ImageOSDisk osDiskImage()Gets operating system disk image in this image.- Returns:
- operating system disk image in this image
-
dataDiskImages
Map<Integer, ImageDataDisk> dataDiskImages()Gets data disk images in this image.- Returns:
- data disk images in this image, indexed by the disk LUN
-