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 com.azure.resourcemanager.resources.fluentcore.arm.models.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 com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.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
-