你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineCustomImage Interface

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

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

Method Summary

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

Inherited Members

Method Details

dataDiskImages

public Map dataDiskImages()

Returns:

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

isCreatedFromVirtualMachine

public boolean isCreatedFromVirtualMachine()

Returns:

true if this image was created by capturing a virtual machine

osDiskImage

public ImageOSDisk osDiskImage()

Returns:

operating system disk image in this image

sourceVirtualMachineId

public String sourceVirtualMachineId()

Returns:

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

Applies to