Partager via


VirtualMachineImages Interface

Implements

public interface VirtualMachineImages
extends SupportsListingByRegion<VirtualMachineImage>

Entry point to virtual machine image management API.

Method Summary

Modifier and Type Method and Description
abstract VirtualMachineImage getImage(Region region, String publisherName, String offerName, String skuName, String version)

Gets a virtual machine image.

abstract VirtualMachineImage getImage(String region, String publisherName, String offerName, String skuName, String version)

Gets a virtual machine image.

abstract VirtualMachinePublishers publishers()

Method Details

getImage

public abstract VirtualMachineImage getImage(Region region, String publisherName, String offerName, String skuName, String version)

Gets a virtual machine image.

Parameters:

region - the region
publisherName - publisher name
offerName - offer name
skuName - SKU name
version - version name

Returns:

the virtual machine image

getImage

public abstract VirtualMachineImage getImage(String region, String publisherName, String offerName, String skuName, String version)

Gets a virtual machine image.

Parameters:

region - the region
publisherName - publisher name
offerName - offer name
skuName - SKU name
version - version name

Returns:

the virtual machine image

publishers

public abstract VirtualMachinePublishers publishers()

Returns:

entry point to virtual machine image publishers

Applies to