Interface SharedGalleriesClient


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

      • listAsync

        com.azure.core.http.rest.PagedFlux<SharedGalleryInner> listAsync​(String location,
                                                                         SharedToValues sharedTo)
        List shared galleries by subscription id or tenant id.
        Parameters:
        location - Resource location.
        sharedTo - The query parameter to decide what shared galleries to fetch when doing listing operations.
        Returns:
        the List Shared Galleries 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<SharedGalleryInner> listAsync​(String location)
        List shared galleries by subscription id or tenant id.
        Parameters:
        location - Resource location.
        Returns:
        the List Shared Galleries 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<SharedGalleryInner> list​(String location)
        List shared galleries by subscription id or tenant id.
        Parameters:
        location - Resource location.
        Returns:
        the List Shared Galleries 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<SharedGalleryInner> list​(String location,
                                                                        SharedToValues sharedTo,
                                                                        com.azure.core.util.Context context)
        List shared galleries by subscription id or tenant id.
        Parameters:
        location - Resource location.
        sharedTo - The query parameter to decide what shared galleries to fetch when doing listing operations.
        context - The context to associate with this operation.
        Returns:
        the List Shared Galleries 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<SharedGalleryInner>> getWithResponseAsync​(String location,
                                                                                         String galleryUniqueName)
        Get a shared gallery by subscription id or tenant id.
        Parameters:
        location - Resource location.
        galleryUniqueName - The unique name of the Shared Gallery.
        Returns:
        a shared gallery by subscription id or tenant id 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<SharedGalleryInner> getAsync​(String location,
                                          String galleryUniqueName)
        Get a shared gallery by subscription id or tenant id.
        Parameters:
        location - Resource location.
        galleryUniqueName - The unique name of the Shared Gallery.
        Returns:
        a shared gallery 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

        SharedGalleryInner get​(String location,
                               String galleryUniqueName)
        Get a shared gallery by subscription id or tenant id.
        Parameters:
        location - Resource location.
        galleryUniqueName - The unique name of the Shared Gallery.
        Returns:
        a shared gallery 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<SharedGalleryInner> getWithResponse​(String location,
                                                                              String galleryUniqueName,
                                                                              com.azure.core.util.Context context)
        Get a shared gallery by subscription id or tenant id.
        Parameters:
        location - Resource location.
        galleryUniqueName - The unique name of the Shared Gallery.
        context - The context to associate with this operation.
        Returns:
        a shared gallery 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.