Partager via


GalleryImages Interface

Implements

public interface GalleryImages
extends SupportsCreating<Blank>

Entry point to gallery images management API in Azure.

Method Summary

Modifier and Type Method and Description
abstract void deleteByGallery(String resourceGroupName, String galleryName, String galleryImageName)

Delete an image in a gallery.

abstract Mono<Void> deleteByGalleryAsync(String resourceGroupName, String galleryName, String galleryImageName)

Delete a gallery image in a gallery.

abstract GalleryImage getByGallery(String resourceGroupName, String galleryName, String galleryImageName)

Retrieves information about an image in a gallery.

abstract Mono<GalleryImage> getByGalleryAsync(String resourceGroupName, String galleryName, String galleryImageName)

Retrieves information about an image in a gallery.

abstract PagedIterable<GalleryImage> listByGallery(String resourceGroupName, String galleryName)

List images under a gallery.

abstract PagedFlux<GalleryImage> listByGalleryAsync(String resourceGroupName, String galleryName)

List images under a gallery.

Method Details

deleteByGallery

public abstract 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.

deleteByGalleryAsync

public abstract Mono 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

getByGallery

public abstract 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

getByGalleryAsync

public abstract Mono 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

listByGallery

public abstract PagedIterable 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

listByGalleryAsync

public abstract PagedFlux 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

Applies to