Interface SharedGalleriesClient
public interface SharedGalleriesClient
An instance of this class provides access to all the operations defined in SharedGalleriesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet a shared gallery by subscription id or tenant id.Get a shared gallery by subscription id or tenant id.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.Mono<com.azure.core.http.rest.Response<SharedGalleryInner>>getWithResponseAsync(String location, String galleryUniqueName) Get a shared gallery by subscription id or tenant id.com.azure.core.http.rest.PagedIterable<SharedGalleryInner>List shared galleries by subscription id or tenant id.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.com.azure.core.http.rest.PagedFlux<SharedGalleryInner>List shared galleries by subscription id or tenant id.com.azure.core.http.rest.PagedFlux<SharedGalleryInner>listAsync(String location, SharedToValues sharedTo) List shared galleries by subscription id or tenant id.
-
Method Details
-
listAsync
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
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.
-
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
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
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
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.