Interface SharedGalleryImagesClient
public interface SharedGalleryImagesClient
An instance of this class provides access to all the operations defined in SharedGalleryImagesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet a shared gallery image by subscription id or tenant id.Get a shared gallery image by subscription id or tenant id.com.azure.core.http.rest.Response<SharedGalleryImageInner>getWithResponse(String location, String galleryUniqueName, String galleryImageName, com.azure.core.util.Context context) Get a shared gallery image by subscription id or tenant id.Mono<com.azure.core.http.rest.Response<SharedGalleryImageInner>>getWithResponseAsync(String location, String galleryUniqueName, String galleryImageName) Get a shared gallery image by subscription id or tenant id.com.azure.core.http.rest.PagedIterable<SharedGalleryImageInner>List shared gallery images by subscription id or tenant id.com.azure.core.http.rest.PagedIterable<SharedGalleryImageInner>list(String location, String galleryUniqueName, SharedToValues sharedTo, com.azure.core.util.Context context) List shared gallery images by subscription id or tenant id.com.azure.core.http.rest.PagedFlux<SharedGalleryImageInner>List shared gallery images by subscription id or tenant id.com.azure.core.http.rest.PagedFlux<SharedGalleryImageInner>listAsync(String location, String galleryUniqueName, SharedToValues sharedTo) List shared gallery images by subscription id or tenant id.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<SharedGalleryImageInner> listAsync(String location, String galleryUniqueName) List shared gallery images by subscription id or tenant id.- Parameters:
location- Resource location.galleryUniqueName- The unique name of the Shared Gallery.- Returns:
- the List Shared Gallery Images operation response as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<SharedGalleryImageInner> list(String location, String galleryUniqueName) List shared gallery images by subscription id or tenant id.- Parameters:
location- Resource location.galleryUniqueName- The unique name of the Shared Gallery.- Returns:
- the List Shared Gallery Images operation response as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<SharedGalleryImageInner>> getWithResponseAsync(String location, String galleryUniqueName, String galleryImageName) Get a shared gallery image by subscription id or tenant id.- Parameters:
location- Resource location.galleryUniqueName- The unique name of the Shared Gallery.galleryImageName- The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.- Returns:
- a shared gallery image by subscription id or tenant id along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<SharedGalleryImageInner> getAsync(String location, String galleryUniqueName, String galleryImageName) Get a shared gallery image by subscription id or tenant id.- Parameters:
location- Resource location.galleryUniqueName- The unique name of the Shared Gallery.galleryImageName- The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.- Returns:
- a shared gallery image by subscription id or tenant id on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get a shared gallery image by subscription id or tenant id.- Parameters:
location- Resource location.galleryUniqueName- The unique name of the Shared Gallery.galleryImageName- The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.- Returns:
- a shared gallery image by subscription id or tenant id.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<SharedGalleryImageInner> getWithResponse(String location, String galleryUniqueName, String galleryImageName, com.azure.core.util.Context context) Get a shared gallery image by subscription id or tenant id.- Parameters:
location- Resource location.galleryUniqueName- The unique name of the Shared Gallery.galleryImageName- The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.context- The context to associate with this operation.- Returns:
- a shared gallery image by subscription id or tenant id along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.