Dela via


VirtualMachineImage Interface

Implements

public interface VirtualMachineImage
extends HasInnerModel<VirtualMachineImageInner>

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

Method Summary

Modifier and Type Method and Description
abstract Map<Integer,DataDiskImage> dataDiskImages()
abstract String id()
abstract ImageReference imageReference()
abstract Region location()
abstract String offer()
abstract OSDiskImage osDiskImage()
abstract PurchasePlan plan()
abstract String publisherName()
abstract String sku()
abstract String version()

Method Details

dataDiskImages

public abstract Map dataDiskImages()

Returns:

data disk images in the virtual machine image, indexed by the disk LUN

id

public abstract String id()

Returns:

the resource ID of this image

imageReference

public abstract ImageReference imageReference()

Returns:

the image reference representing the publisher, offer, SKU and version of the virtual machine image

location

public abstract Region location()

Returns:

the region in which virtual machine image is available

offer

public abstract String offer()

Returns:

the name of the virtual machine image offer this image is part of

osDiskImage

public abstract OSDiskImage osDiskImage()

Returns:

OS disk image in the virtual machine image

plan

public abstract PurchasePlan plan()

Returns:

the purchase plan for the virtual machine image

publisherName

public abstract String publisherName()

Returns:

the publisher name of the virtual machine image

sku

public abstract String sku()

Returns:

the commercial name of the virtual machine image (SKU)

version

public abstract String version()

Returns:

the version of the virtual machine image

Applies to