Interface Gallery
- All Superinterfaces:
GroupableResource<ComputeManager, GalleryInner>, HasId, HasInnerModel<GalleryInner>, HasManager<ComputeManager>, HasName, HasResourceGroup, Indexable, Refreshable<Gallery>, Resource, Updatable<Gallery.Update>
public interface Gallery
extends HasInnerModel<GalleryInner>, Resource, GroupableResource<ComputeManager, GalleryInner>, HasResourceGroup, Refreshable<Gallery>, Updatable<Gallery.Update>, HasManager<ComputeManager>
An immutable client-side representation of an Azure gallery.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the gallery definition.static interfaceGrouping of gallery definition stages.static interfaceThe template for a Gallery update operation, containing all the settings that can be modified.static interfaceGrouping of gallery update stages.Nested classes/interfaces inherited from interface Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets description for the gallery resource.Retrieves information about an image in the gallery.getImageAsync(String imageName) Retrieves information about an image in the gallery.com.azure.core.http.rest.PagedIterable<GalleryImage> List images in the gallery.com.azure.core.http.rest.PagedFlux<GalleryImage> List images in the gallery.Gets the provisioning state of the gallery resource.Gets the unique name of the gallery resource.Methods inherited from interface HasInnerModel
innerModelMethods inherited from interface HasManager
managerMethods inherited from interface HasResourceGroup
resourceGroupNameMethods inherited from interface Refreshable
refresh, refreshAsyncMethods inherited from interface Resource
region, regionName, tags, type
-
Method Details
-
description
String description()Gets description for the gallery resource.- Returns:
- description for the gallery resource.
-
uniqueName
String uniqueName()Gets the unique name of the gallery resource.- Returns:
- the unique name of the gallery resource.
-
provisioningState
String provisioningState()Gets the provisioning state of the gallery resource.- Returns:
- the provisioning state of the gallery resource.
-
getImageAsync
Retrieves information about an image in the gallery.- Parameters:
imageName- The name of the image.- Returns:
- the observable for the request
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
getImage
Retrieves information about an image in the gallery.- Parameters:
imageName- The name of the image.- Returns:
- the gallery image
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
listImagesAsync
com.azure.core.http.rest.PagedFlux<GalleryImage> listImagesAsync()List images in the gallery.- Returns:
- the observable for the request
-
listImages
com.azure.core.http.rest.PagedIterable<GalleryImage> listImages()List images in the gallery.- Returns:
- the list of images in the gallery
-