Interface GalleryImageVersions

All Superinterfaces:
SupportsCreating<GalleryImageVersion.DefinitionStages.Blank>

public interface GalleryImageVersions extends SupportsCreating<GalleryImageVersion.DefinitionStages.Blank>
Entry point to gallery image versions management API in Azure.
  • Method Details

    • getByGalleryImageAsync

      Mono<GalleryImageVersion> getByGalleryImageAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName)
      Retrieves information about a gallery image version.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the gallery.
      galleryImageName - The name of the gallery image.
      galleryImageVersionName - The name of the gallery image version.
      Returns:
      the observable for the request
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • getByGalleryImage

      GalleryImageVersion getByGalleryImage(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName)
      Retrieves information about a gallery image version.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the gallery.
      galleryImageName - The name of the gallery image.
      galleryImageVersionName - The name of the gallery image version.
      Returns:
      the gallery image version resource
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • listByGalleryImageAsync

      com.azure.core.http.rest.PagedFlux<GalleryImageVersion> listByGalleryImageAsync(String resourceGroupName, String galleryName, String galleryImageName)
      List gallery image versions under a gallery image.
      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
    • listByGalleryImage

      com.azure.core.http.rest.PagedIterable<GalleryImageVersion> listByGalleryImage(String resourceGroupName, String galleryName, String galleryImageName)
      List gallery image versions under a gallery image.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the gallery.
      galleryImageName - The name of the gallery image.
      Returns:
      list of gallery image versions
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • deleteByGalleryImageAsync

      Mono<Void> deleteByGalleryImageAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName)
      Delete a gallery image version.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the gallery.
      galleryImageName - The name of the gallery image.
      galleryImageVersionName - The name of the gallery image version.
      Returns:
      the completable for the request
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • deleteByGalleryImage

      void deleteByGalleryImage(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName)
      Delete a gallery image version.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the gallery.
      galleryImageName - The name of the gallery image.
      galleryImageVersionName - The name of the gallery image version.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation