Interface GalleryImages

All Superinterfaces:
HasInner<com.microsoft.azure.management.compute.implementation.GalleryImagesInner>, SupportsCreating<GalleryImage.DefinitionStages.Blank>

public interface GalleryImages extends SupportsCreating<GalleryImage.DefinitionStages.Blank>, HasInner<com.microsoft.azure.management.compute.implementation.GalleryImagesInner>
Entry point to gallery images management API in Azure.
  • Method Details

    • getByGalleryAsync

      rx.Observable<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

      rx.Observable<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.microsoft.azure.PagedList<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

      rx.Completable 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