Interface GalleryImages

All Superinterfaces:
SupportsCreating<GalleryImage.DefinitionStages.Blank>

public interface GalleryImages extends SupportsCreating<GalleryImage.DefinitionStages.Blank>
Entry point to gallery images management API in Azure.
  • 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

      GalleryImage getByGallery(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 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

      void deleteByGallery(String resourceGroupName, String galleryName, String galleryImageName)
      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