Interface GalleryImage
- All Superinterfaces:
HasInnerModel<GalleryImageInner>,HasManager<ComputeManager>,Indexable,Refreshable<GalleryImage>,Updatable<GalleryImage.Update>
public interface GalleryImage
extends HasInnerModel<GalleryImageInner>, Indexable, Refreshable<GalleryImage>, Updatable<GalleryImage.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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the gallery image definition.static interfaceGrouping of gallery image definition stages.static interfaceThe template for a gallery image update operation, containing all the settings that can be modified.static interfaceGrouping of gallery image update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the description of the image.Gets a description of features not supported by the image.Gets the date indicating image's end of life.eula()Gets the image EULA.getVersion(String versionName) Retrieves information about an image version.getVersionAsync(String versionName) Retrieves information about an image version.Gets the hypervisor generation.id()Gets the ARM id of the image.Gets an identifier describing publisher, offer and sku of the image.com.azure.core.http.rest.PagedIterable<GalleryImageVersion> List image versions.com.azure.core.http.rest.PagedFlux<GalleryImageVersion> List image versions.location()Gets the location of the image.name()Gets the image name.osState()Gets the OS state of the image.osType()Gets the image OS type.Gets the URI to image privacy statement.Gets the provisioningState of image resource.Gets the purchase plan of the image.Gets the value describing recommended configuration for a virtual machine based on this image.Gets the URI to the image release note.Gets the security type, whether trusted launch or confidential VM.tags()Gets the tags associated with the image.type()Gets the type value.Gets the disk types not supported by the image.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
description
String description()Gets the description of the image.- Returns:
- the description of the image.
-
unsupportedDiskTypes
List<DiskSkuTypes> unsupportedDiskTypes()Gets the disk types not supported by the image.- Returns:
- the disk types not supported by the image.
-
disallowed
Disallowed disallowed()Gets a description of features not supported by the image.- Returns:
- a description of features not supported by the image.
-
endOfLifeDate
OffsetDateTime endOfLifeDate()Gets the date indicating image's end of life.- Returns:
- the date indicating image's end of life.
-
eula
String eula()Gets the image EULA.- Returns:
- the image EULA.
-
id
String id()Gets the ARM id of the image.- Returns:
- the ARM id of the image.
-
identifier
GalleryImageIdentifier identifier()Gets an identifier describing publisher, offer and sku of the image.- Returns:
- an identifier describing publisher, offer and sku of the image.
-
location
String location()Gets the location of the image.- Returns:
- the location of the image.
-
name
String name()Gets the image name.- Returns:
- the image name.
-
osState
OperatingSystemStateTypes osState()Gets the OS state of the image.- Returns:
- the OS state of the image.
-
osType
OperatingSystemTypes osType()Gets the image OS type.- Returns:
- the image OS type.
-
privacyStatementUri
String privacyStatementUri()Gets the URI to image privacy statement.- Returns:
- the URI to image privacy statement.
-
provisioningState
String provisioningState()Gets the provisioningState of image resource.- Returns:
- the provisioningState of image resource.
-
purchasePlan
ImagePurchasePlan purchasePlan()Gets the purchase plan of the image.- Returns:
- the purchase plan of the image.
-
recommendedVirtualMachineConfiguration
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
String releaseNoteUri()Gets the URI to the image release note.- Returns:
- the URI to the image release note.
-
hyperVGeneration
HyperVGeneration hyperVGeneration()Gets the hypervisor generation.- Returns:
- the hypervisor generation.
-
securityType
SecurityTypes securityType()Gets the security type, whether trusted launch or confidential VM.- Returns:
- the security type, whether trusted launch or confidential VM.
-
tags
Gets the tags associated with the image.- Returns:
- the tags associated with the image.
-
type
String type()Gets the type value.- Returns:
- the type value.
-
getVersionAsync
Retrieves information about an image version.- Parameters:
versionName- The name of the image.- Returns:
- the observable for the request
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
getVersion
Retrieves information about an image version.- Parameters:
versionName- The name of the image version.- Returns:
- the image version
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
listVersionsAsync
com.azure.core.http.rest.PagedFlux<GalleryImageVersion> listVersionsAsync()List image versions.- Returns:
- the observable for the request
-
listVersions
com.azure.core.http.rest.PagedIterable<GalleryImageVersion> listVersions()List image versions.- Returns:
- the list of image versions
-