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.
-
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.microsoft.azure.management.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
idMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
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
-