Interface GalleryImages
- All Superinterfaces:
SupportsCreating<GalleryImage.DefinitionStages.Blank>
Entry point to gallery images management API in Azure.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByGallery(String resourceGroupName, String galleryName, String galleryImageName) Delete an image in a gallery.deleteByGalleryAsync(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image in a gallery.getByGallery(String resourceGroupName, String galleryName, String galleryImageName) Retrieves information about an image in a gallery.getByGalleryAsync(String resourceGroupName, String galleryName, String galleryImageName) Retrieves information about an image in a gallery.com.azure.core.http.rest.PagedIterable<GalleryImage>listByGallery(String resourceGroupName, String galleryName) List images under a gallery.com.azure.core.http.rest.PagedFlux<GalleryImage>listByGalleryAsync(String resourceGroupName, String galleryName) List images under a gallery.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
define
-
Method Details
-
getByGalleryAsync
Mono<GalleryImage> getByGalleryAsync(String resourceGroupName, String galleryName, String galleryImageName) Retrieves information about an image in a gallery.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the gallery.galleryImageName- The name of the gallery image.- Returns:
- the observable for the request
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
getByGallery
Retrieves information about an image in a gallery.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the gallery.galleryImageName- The name of the gallery image.- Returns:
- the gallery image
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
listByGalleryAsync
com.azure.core.http.rest.PagedFlux<GalleryImage> listByGalleryAsync(String resourceGroupName, String galleryName) List images under a gallery.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the gallery.- Returns:
- the observable for the request
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
listByGallery
com.azure.core.http.rest.PagedIterable<GalleryImage> listByGallery(String resourceGroupName, String galleryName) List images under a gallery.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the gallery.- Returns:
- the list of images in the gallery
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
deleteByGalleryAsync
Mono<Void> deleteByGalleryAsync(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image in a gallery.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the gallery.galleryImageName- The name of the gallery image.- Returns:
- the completable for the request
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
deleteByGallery
Delete an image in a gallery.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the gallery.galleryImageName- The name of the gallery image.- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-