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
Modifier and TypeInterfaceDescriptionstatic interface
An immutable client-side representation of a data disk image in an image resource.static interface
The entirety of the image definition.static interface
Grouping 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 TypeMethodDescriptionboolean
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
Methods 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
-