Sdílet prostřednictvím


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

Gets the description of the image.

abstract Disallowed disallowed()

Gets a description of features not supported by the image.

abstract OffsetDateTime endOfLifeDate()

Gets the date indicating image's end of life.

abstract String eula()

Gets the image 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()

Gets the hypervisor generation.

abstract String id()

Gets the ARM id of the image.

abstract GalleryImageIdentifier identifier()

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

abstract PagedIterable<GalleryImageVersion> listVersions()

List image versions.

abstract PagedFlux<GalleryImageVersion> listVersionsAsync()

List image versions.

abstract String location()

Gets the location of the image.

abstract String name()

Gets the image name.

abstract OperatingSystemStateTypes osState()

Gets the OS state of the image.

abstract OperatingSystemTypes osType()

Gets the image OS type.

abstract String privacyStatementUri()

Gets the URI to image privacy statement.

abstract String provisioningState()

Gets the provisioningState of image resource.

abstract ImagePurchasePlan purchasePlan()

Gets the purchase plan of the image.

abstract RecommendedMachineConfiguration recommendedVirtualMachineConfiguration()

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

abstract String releaseNoteUri()

Gets the URI to the image release note.

abstract SecurityTypes securityType()

Gets the security type, whether trusted launch or confidential VM.

abstract Map<String,String> tags()

Gets the tags associated with the image.

abstract String type()

Gets the type value.

abstract List<DiskSkuTypes> unsupportedDiskTypes()

Gets the disk types not supported by the image.

Method Details

description

public abstract String description()

Gets the description of the image.

Returns:

the description of the image.

disallowed

public abstract Disallowed disallowed()

Gets a description of features not supported by the image.

Returns:

a description of features not supported by the image.

endOfLifeDate

public abstract OffsetDateTime endOfLifeDate()

Gets the date indicating image's end of life.

Returns:

the date indicating image's end of life.

eula

public abstract String eula()

Gets the image 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()

Gets the hypervisor generation.

Returns:

the hypervisor generation.

id

public abstract String id()

Gets the ARM id of the image.

Returns:

the ARM id of the image.

identifier

public abstract GalleryImageIdentifier identifier()

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

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

Gets the location of the image.

Returns:

the location of the image.

name

public abstract String name()

Gets the image name.

Returns:

the image name.

osState

public abstract OperatingSystemStateTypes osState()

Gets the OS state of the image.

Returns:

the OS state of the image.

osType

public abstract OperatingSystemTypes osType()

Gets the image OS type.

Returns:

the image OS type.

privacyStatementUri

public abstract String privacyStatementUri()

Gets the URI to image privacy statement.

Returns:

the URI to image privacy statement.

provisioningState

public abstract String provisioningState()

Gets the provisioningState of image resource.

Returns:

the provisioningState of image resource.

purchasePlan

public abstract ImagePurchasePlan purchasePlan()

Gets the purchase plan of the image.

Returns:

the purchase plan of the image.

recommendedVirtualMachineConfiguration

public abstract RecommendedMachineConfiguration recommendedVirtualMachineConfiguration()

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

Returns:

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

releaseNoteUri

public abstract String releaseNoteUri()

Gets the URI to the image release note.

Returns:

the URI to the image release note.

securityType

public abstract SecurityTypes securityType()

Gets the security type, whether trusted launch or confidential VM.

Returns:

the security type, whether trusted launch or confidential VM.

tags

public abstract Map tags()

Gets the tags associated with the image.

Returns:

the tags associated with the image.

type

public abstract String type()

Gets the type value.

Returns:

the type value.

unsupportedDiskTypes

public abstract List unsupportedDiskTypes()

Gets the disk types not supported by the image.

Returns:

the disk types not supported by the image.

Applies to