Interface GalleryImage
- All Superinterfaces:
HasInner<com.microsoft.azure.management.compute.implementation.GalleryImageInner>
,HasManager<com.microsoft.azure.management.compute.implementation.ComputeManager>
,Indexable
,Refreshable<GalleryImage>
,Updatable<GalleryImage.Update>
public interface GalleryImage
extends HasInner<com.microsoft.azure.management.compute.implementation.GalleryImageInner>, Indexable, Refreshable<GalleryImage>, Updatable<GalleryImage.Update>, HasManager<com.microsoft.azure.management.compute.implementation.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
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the gallery image definition.static interface
Grouping of gallery image definition stages.static interface
The template for a gallery image update operation, containing all the settings that can be modified.static interface
Grouping of gallery image update stages. -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
eula()
getVersion
(String versionName) Retrieves information about an image version.rx.Observable<GalleryImageVersion>
getVersionAsync
(String versionName) Retrieves information about an image version.id()
com.microsoft.azure.PagedList<GalleryImageVersion>
List image versions.rx.Observable<GalleryImageVersion>
List image versions.location()
name()
osState()
osType()
tags()
type()
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
description
String description()- Returns:
- the description of the image.
-
unsupportedDiskTypes
List<DiskSkuTypes> unsupportedDiskTypes()- Returns:
- the disk types not supported by the image.
-
disallowed
Disallowed disallowed()- Returns:
- a description of features not supported by the image.
-
endOfLifeDate
org.joda.time.DateTime endOfLifeDate()- Returns:
- the date indicating image's end of life.
-
eula
String eula()- Returns:
- the image eula.
-
id
String id()- Returns:
- the ARM id of the image.
-
identifier
GalleryImageIdentifier identifier()- Returns:
- an identifier describing publisher, offer and sku of the image.
-
location
String location()- Returns:
- the location of the image.
-
name
String name()- Returns:
- the image name.
-
osState
OperatingSystemStateTypes osState()- Returns:
- the OS state of the image.
-
osType
OperatingSystemTypes osType()- Returns:
- the image OS type.
-
privacyStatementUri
String privacyStatementUri()- Returns:
- the uri to image privacy statement.
-
provisioningState
String provisioningState()- Returns:
- the provisioningState of image resource.
-
purchasePlan
ImagePurchasePlan purchasePlan()- Returns:
- the purchasePlan of the image.
-
recommendedVirtualMachineConfiguration
RecommendedMachineConfiguration recommendedVirtualMachineConfiguration()- Returns:
- the value describing recommended configuration for a virtual machine based on this image.
-
releaseNoteUri
String releaseNoteUri()- Returns:
- the uri to the image release note.
-
tags
- Returns:
- the tags associated with the image.
-
type
String type()- 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
rx.Observable<GalleryImageVersion> listVersionsAsync()List image versions.- Returns:
- the observable for the request
-
listVersions
com.microsoft.azure.PagedList<GalleryImageVersion> listVersions()List image versions.- Returns:
- the list of image versions
-