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 Summary
Modifier and TypeMethodDescriptionvoid
deleteByGallery
(String resourceGroupName, String galleryName, String galleryImageName) Delete an image in a gallery.rx.Completable
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.rx.Observable<GalleryImage>
getByGalleryAsync
(String resourceGroupName, String galleryName, String galleryImageName) Retrieves information about an image in a gallery.com.microsoft.azure.PagedList<GalleryImage>
listByGallery
(String resourceGroupName, String galleryName) List images under a gallery.rx.Observable<GalleryImage>
listByGalleryAsync
(String resourceGroupName, String galleryName) List images under a gallery.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
-
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
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
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
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
-