Interface GalleryImagesClient
public interface GalleryImagesClient
An instance of this class provides access to all the operations defined in GalleryImagesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage, com.azure.core.util.Context context) Create or update a gallery image definition.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.beginDelete(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image.beginDelete(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context) Delete a gallery image.beginDeleteAsync(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage, com.azure.core.util.Context context) Update a gallery image definition.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage, com.azure.core.util.Context context) Create or update a gallery image definition.createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.voidDelete a gallery image.voiddelete(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context) Delete a gallery image.deleteAsync(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image.Retrieves information about a gallery image definition.Retrieves information about a gallery image definition.com.azure.core.http.rest.Response<GalleryImageInner> getWithResponse(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context) Retrieves information about a gallery image definition.Mono<com.azure.core.http.rest.Response<GalleryImageInner>> getWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName) Retrieves information about a gallery image definition.com.azure.core.http.rest.PagedIterable<GalleryImageInner> listByGallery(String resourceGroupName, String galleryName) List gallery image definitions in a gallery.com.azure.core.http.rest.PagedIterable<GalleryImageInner> listByGallery(String resourceGroupName, String galleryName, com.azure.core.util.Context context) List gallery image definitions in a gallery.com.azure.core.http.rest.PagedFlux<GalleryImageInner> listByGalleryAsync(String resourceGroupName, String galleryName) List gallery image definitions in a gallery.update(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.update(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage, com.azure.core.util.Context context) Update a gallery image definition.updateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.
-
Method Details
-
listByGalleryAsync
com.azure.core.http.rest.PagedFlux<GalleryImageInner> listByGalleryAsync(String resourceGroupName, String galleryName) List gallery image definitions in a gallery.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.- Returns:
- the List Gallery Images 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.
-
listByGallery
com.azure.core.http.rest.PagedIterable<GalleryImageInner> listByGallery(String resourceGroupName, String galleryName) List gallery image definitions in a gallery.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.- Returns:
- the List Gallery Images 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.
-
listByGallery
com.azure.core.http.rest.PagedIterable<GalleryImageInner> listByGallery(String resourceGroupName, String galleryName, com.azure.core.util.Context context) List gallery image definitions in a gallery.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.context- The context to associate with this operation.- Returns:
- the List Gallery Images 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<GalleryImageInner>> getWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName) Retrieves information about a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.- Returns:
- specifies information about the gallery image definition that you want to create or update 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<GalleryImageInner> getAsync(String resourceGroupName, String galleryName, String galleryImageName) Retrieves information about a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.- Returns:
- specifies information about the gallery image definition that you want to create or update 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<GalleryImageInner> getWithResponse(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context) Retrieves information about a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.context- The context to associate with this operation.- Returns:
- specifies information about the gallery image definition that you want to create or update 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
Retrieves information about a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.- Returns:
- specifies information about the gallery image definition that you want to create or update.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the create or update gallery image operation.- Returns:
- specifies information about the gallery image definition that you want to create or update 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the create or update gallery image operation.- Returns:
- the
PollerFluxfor polling of specifies information about the gallery image definition that you want to create or update. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the create or update gallery image operation.- Returns:
- the
SyncPollerfor polling of specifies information about the gallery image definition that you want to create or update. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage, com.azure.core.util.Context context) Create or update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the create or update gallery image operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of specifies information about the gallery image definition that you want to create or update. - 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.
-
createOrUpdateAsync
Mono<GalleryImageInner> createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the create or update gallery image operation.- Returns:
- specifies information about the gallery image definition that you want to create or update 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.
-
createOrUpdate
GalleryImageInner createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage) Create or update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the create or update gallery image operation.- Returns:
- specifies information about the gallery image definition that you want to create or update.
- 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.
-
createOrUpdate
GalleryImageInner createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage, com.azure.core.util.Context context) Create or update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the create or update gallery image operation.context- The context to associate with this operation.- Returns:
- specifies information about the gallery image definition that you want to create or update.
- 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the update gallery image operation.- Returns:
- specifies information about the gallery image definition that you want to create or update 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.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the update gallery image operation.- Returns:
- the
PollerFluxfor polling of specifies information about the gallery image definition that you want to create or update. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the update gallery image operation.- Returns:
- the
SyncPollerfor polling of specifies information about the gallery image definition that you want to create or update. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>, GalleryImageInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage, com.azure.core.util.Context context) Update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the update gallery image operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of specifies information about the gallery image definition that you want to create or update. - 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.
-
updateAsync
Mono<GalleryImageInner> updateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the update gallery image operation.- Returns:
- specifies information about the gallery image definition that you want to create or update 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.
-
update
GalleryImageInner update(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage) Update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the update gallery image operation.- Returns:
- specifies information about the gallery image definition that you want to create or update.
- 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.
-
update
GalleryImageInner update(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage, com.azure.core.util.Context context) Update a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.galleryImage- Parameters supplied to the update gallery image operation.context- The context to associate with this operation.- Returns:
- specifies information about the gallery image definition that you want to create or update.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.- Returns:
- the
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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String galleryName, String galleryImageName) Delete a gallery image.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context) Delete a gallery image.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
deleteAsync
Delete a gallery image.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
delete
Delete a gallery image.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.- 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.
-
delete
void delete(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context) Delete a gallery image.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryImageName- The name of the gallery image definition to be retrieved.context- The context to associate with this operation.- 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.
-