Partager 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()

Gets data disk images in the virtual machine image.

abstract String id()

Gets the resource ID of this image.

abstract ImageReference imageReference()

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

abstract Region location()

Gets the region in which virtual machine image is available.

abstract String offer()

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

abstract OSDiskImage osDiskImage()

Gets OS disk image in the virtual machine image.

abstract PurchasePlan plan()

Gets the purchase plan for the virtual machine image.

abstract String publisherName()

Gets the publisher name of the virtual machine image.

abstract String sku()

Gets the commercial name of the virtual machine image (SKU).

abstract String version()

Gets the version of the virtual machine image.

Method Details

dataDiskImages

public abstract Map dataDiskImages()

Gets data disk images in the virtual machine image.

Returns:

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

id

public abstract String id()

Gets the resource ID of this image.

Returns:

the resource ID of this image

imageReference

public abstract ImageReference imageReference()

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

Returns:

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

location

public abstract Region location()

Gets the region in which virtual machine image is available.

Returns:

the region in which virtual machine image is available

offer

public abstract String offer()

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

Returns:

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

osDiskImage

public abstract OSDiskImage osDiskImage()

Gets OS disk image in the virtual machine image.

Returns:

OS disk image in the virtual machine image

plan

public abstract PurchasePlan plan()

Gets the purchase plan for the virtual machine image.

Returns:

the purchase plan for the virtual machine image

publisherName

public abstract String publisherName()

Gets the publisher name of the virtual machine image.

Returns:

the publisher name of the virtual machine image

sku

public abstract String sku()

Gets the commercial name of the virtual machine image (SKU).

Returns:

the commercial name of the virtual machine image (SKU)

version

public abstract String version()

Gets the version of the virtual machine image.

Returns:

the version of the virtual machine image

Applies to