Interface CommunityGalleryImagesClient
public interface CommunityGalleryImagesClient
An instance of this class provides access to all the operations defined in CommunityGalleryImagesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet a community gallery image.Get a community gallery image.com.azure.core.http.rest.Response<CommunityGalleryImageInner>getWithResponse(String location, String publicGalleryName, String galleryImageName, com.azure.core.util.Context context) Get a community gallery image.Mono<com.azure.core.http.rest.Response<CommunityGalleryImageInner>>getWithResponseAsync(String location, String publicGalleryName, String galleryImageName) Get a community gallery image.com.azure.core.http.rest.PagedIterable<CommunityGalleryImageInner>List community gallery images inside a gallery.com.azure.core.http.rest.PagedIterable<CommunityGalleryImageInner>List community gallery images inside a gallery.com.azure.core.http.rest.PagedFlux<CommunityGalleryImageInner>List community gallery images inside a gallery.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<CommunityGalleryImageInner>> getWithResponseAsync(String location, String publicGalleryName, String galleryImageName) Get a community gallery image.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.- Returns:
- a community gallery image 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<CommunityGalleryImageInner> getAsync(String location, String publicGalleryName, String galleryImageName) Get a community gallery image.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.- Returns:
- a community gallery image 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.
-
getWithResponse
com.azure.core.http.rest.Response<CommunityGalleryImageInner> getWithResponse(String location, String publicGalleryName, String galleryImageName, com.azure.core.util.Context context) Get a community gallery image.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.context- The context to associate with this operation.- Returns:
- a community gallery image 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.
-
get
Get a community gallery image.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.- Returns:
- a community gallery image.
- 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<CommunityGalleryImageInner> listAsync(String location, String publicGalleryName) List community gallery images inside a gallery.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.- Returns:
- the List Community 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<CommunityGalleryImageInner> list(String location, String publicGalleryName) List community gallery images inside a gallery.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.- Returns:
- the List Community 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.
-
list
com.azure.core.http.rest.PagedIterable<CommunityGalleryImageInner> list(String location, String publicGalleryName, com.azure.core.util.Context context) List community gallery images inside a gallery.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.context- The context to associate with this operation.- Returns:
- the List Community 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.
-