你当前正在访问 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, Image |
dataDiskImages() |
boolean | isCreatedFromVirtualMachine() |
Image |
osDiskImage() |
String | sourceVirtualMachineId() |
Inherited Members
HasId.id()
HasInner<T>.inner()
Indexable.key()
HasManager<ManagerT>.manager()
HasName.name()
Refreshable<T>.refresh()
Refreshable<T>.refreshAsync()
Resource.region()
Resource.regionName()
HasResourceGroup.resourceGroupName()
Resource.tags()
Resource.type()
Method Details
dataDiskImages
public Map
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