Interface CommunityGalleriesClient


public interface CommunityGalleriesClient
An instance of this class provides access to all the operations defined in CommunityGalleriesClient.
  • Method Details

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CommunityGalleryInner>> getWithResponseAsync(String location, String publicGalleryName)
      Get a community gallery by gallery public name.
      Parameters:
      location - Resource location.
      publicGalleryName - The public name of the community gallery.
      Returns:
      a community gallery by gallery public name along with Response 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.
    • getAsync

      Mono<CommunityGalleryInner> getAsync(String location, String publicGalleryName)
      Get a community gallery by gallery public name.
      Parameters:
      location - Resource location.
      publicGalleryName - The public name of the community gallery.
      Returns:
      a community gallery by gallery public name 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

      CommunityGalleryInner get(String location, String publicGalleryName)
      Get a community gallery by gallery public name.
      Parameters:
      location - Resource location.
      publicGalleryName - The public name of the community gallery.
      Returns:
      a community gallery by gallery public name.
      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<CommunityGalleryInner> getWithResponse(String location, String publicGalleryName, com.azure.core.util.Context context)
      Get a community gallery by gallery public name.
      Parameters:
      location - Resource location.
      publicGalleryName - The public name of the community gallery.
      context - The context to associate with this operation.
      Returns:
      a community gallery by gallery public name 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.