GalleryImage Interface

Implements

public interface GalleryImage
extends HasInnerModel<GalleryImageInner>, Indexable, Refreshable<GalleryImage>, Updatable<Update>, HasManager<ComputeManager>

An immutable client-side representation of an Azure gallery image. A gallery image resource is a container for multiple versions of the same image.

Method Summary

Modifier and Type Method and Description
abstract String description()
abstract Disallowed disallowed()
abstract OffsetDateTime endOfLifeDate()
abstract String eula()
abstract GalleryImageVersion getVersion(String versionName)

Retrieves information about an image version.

abstract Mono<GalleryImageVersion> getVersionAsync(String versionName)

Retrieves information about an image version.

abstract HyperVGeneration hyperVGeneration()
abstract String id()
abstract GalleryImageIdentifier identifier()
abstract PagedIterable<GalleryImageVersion> listVersions()

List image versions.

abstract PagedFlux<GalleryImageVersion> listVersionsAsync()

List image versions.

abstract String location()
abstract String name()
abstract OperatingSystemStateTypes osState()
abstract OperatingSystemTypes osType()
abstract String privacyStatementUri()
abstract String provisioningState()
abstract ImagePurchasePlan purchasePlan()
abstract RecommendedMachineConfiguration recommendedVirtualMachineConfiguration()
abstract String releaseNoteUri()
abstract SecurityTypes securityType()
abstract Map<String,String> tags()
abstract String type()
abstract List<DiskSkuTypes> unsupportedDiskTypes()

Method Details

description

public abstract String description()

Returns:

the description of the image.

disallowed

public abstract Disallowed disallowed()

Returns:

a description of features not supported by the image.

endOfLifeDate

public abstract OffsetDateTime endOfLifeDate()

Returns:

the date indicating image's end of life.

eula

public abstract String eula()

Returns:

the image eula.

getVersion

public abstract GalleryImageVersion getVersion(String versionName)

Retrieves information about an image version.

Parameters:

versionName - The name of the image version.

Returns:

the image version

getVersionAsync

public abstract Mono getVersionAsync(String versionName)

Retrieves information about an image version.

Parameters:

versionName - The name of the image.

Returns:

the observable for the request

hyperVGeneration

public abstract HyperVGeneration hyperVGeneration()

Returns:

the hypervisor generation.

id

public abstract String id()

Returns:

the ARM id of the image.

identifier

public abstract GalleryImageIdentifier identifier()

Returns:

an identifier describing publisher, offer and sku of the image.

listVersions

public abstract PagedIterable listVersions()

List image versions.

Returns:

the list of image versions

listVersionsAsync

public abstract PagedFlux listVersionsAsync()

List image versions.

Returns:

the observable for the request

location

public abstract String location()

Returns:

the location of the image.

name

public abstract String name()

Returns:

the image name.

osState

public abstract OperatingSystemStateTypes osState()

Returns:

the OS state of the image.

osType

public abstract OperatingSystemTypes osType()

Returns:

the image OS type.

privacyStatementUri

public abstract String privacyStatementUri()

Returns:

the uri to image privacy statement.

provisioningState

public abstract String provisioningState()

Returns:

the provisioningState of image resource.

purchasePlan

public abstract ImagePurchasePlan purchasePlan()

Returns:

the purchasePlan of the image.

recommendedVirtualMachineConfiguration

public abstract RecommendedMachineConfiguration recommendedVirtualMachineConfiguration()

Returns:

the value describing recommended configuration for a virtual machine based on this image.

releaseNoteUri

public abstract String releaseNoteUri()

Returns:

the uri to the image release note.

securityType

public abstract SecurityTypes securityType()

Returns:

the security type, whether trusted launch or confidential VM.

tags

public abstract Map tags()

Returns:

the tags associated with the image.

type

public abstract String type()

Returns:

the type value.

unsupportedDiskTypes

public abstract List unsupportedDiskTypes()

Returns:

the disk types not supported by the image.

Applies to