Interface CommunityGalleryImageVersionsClient
public interface CommunityGalleryImageVersionsClient
An instance of this class provides access to all the operations defined in CommunityGalleryImageVersionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionget(String location, String publicGalleryName, String galleryImageName, String galleryImageVersionName) Get a community gallery image version.getAsync(String location, String publicGalleryName, String galleryImageName, String galleryImageVersionName) Get a community gallery image version.com.azure.core.http.rest.Response<CommunityGalleryImageVersionInner> getWithResponse(String location, String publicGalleryName, String galleryImageName, String galleryImageVersionName, com.azure.core.util.Context context) Get a community gallery image version.Mono<com.azure.core.http.rest.Response<CommunityGalleryImageVersionInner>> getWithResponseAsync(String location, String publicGalleryName, String galleryImageName, String galleryImageVersionName) Get a community gallery image version.com.azure.core.http.rest.PagedIterable<CommunityGalleryImageVersionInner> List community gallery image versions inside an image.com.azure.core.http.rest.PagedIterable<CommunityGalleryImageVersionInner> list(String location, String publicGalleryName, String galleryImageName, com.azure.core.util.Context context) List community gallery image versions inside an image.com.azure.core.http.rest.PagedFlux<CommunityGalleryImageVersionInner> List community gallery image versions inside an image.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<CommunityGalleryImageVersionInner>> getWithResponseAsync(String location, String publicGalleryName, String galleryImageName, String galleryImageVersionName) Get a community gallery image version.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.galleryImageVersionName- The name of the community gallery image version. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>.- Returns:
- a community gallery image version 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<CommunityGalleryImageVersionInner> getAsync(String location, String publicGalleryName, String galleryImageName, String galleryImageVersionName) Get a community gallery image version.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.galleryImageVersionName- The name of the community gallery image version. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>.- Returns:
- a community gallery image version 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<CommunityGalleryImageVersionInner> getWithResponse(String location, String publicGalleryName, String galleryImageName, String galleryImageVersionName, com.azure.core.util.Context context) Get a community gallery image version.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.galleryImageVersionName- The name of the community gallery image version. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>.context- The context to associate with this operation.- Returns:
- a community gallery image version 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
CommunityGalleryImageVersionInner get(String location, String publicGalleryName, String galleryImageName, String galleryImageVersionName) Get a community gallery image version.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.galleryImageVersionName- The name of the community gallery image version. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>.- Returns:
- a community gallery image version.
- 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<CommunityGalleryImageVersionInner> listAsync(String location, String publicGalleryName, String galleryImageName) List community gallery image versions inside an image.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.- Returns:
- the List Community Gallery Image versions 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<CommunityGalleryImageVersionInner> list(String location, String publicGalleryName, String galleryImageName) List community gallery image versions inside an image.- Parameters:
location- Resource location.publicGalleryName- The public name of the community gallery.galleryImageName- The name of the community gallery image definition.- Returns:
- the List Community Gallery Image versions 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<CommunityGalleryImageVersionInner> list(String location, String publicGalleryName, String galleryImageName, com.azure.core.util.Context context) List community gallery image versions inside an 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:
- the List Community Gallery Image versions 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.
-