Interface CommunityGalleriesClient
public interface CommunityGalleriesClient
An instance of this class provides access to all the operations defined in CommunityGalleriesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet a community gallery by gallery public name.Get a community gallery by gallery public name.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.Mono<com.azure.core.http.rest.Response<CommunityGalleryInner>> getWithResponseAsync(String location, String publicGalleryName) Get a community gallery by gallery public name.
-
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- The name of Azure region.publicGalleryName- The public name of the community gallery.- Returns:
- a community gallery by gallery public name 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 community gallery by gallery public name.- Parameters:
location- The name of Azure region.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.
-
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- The name of Azure region.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.
-
get
Get a community gallery by gallery public name.- Parameters:
location- The name of Azure region.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.
-