Interface GalleryImageVersionsClient
public interface GalleryImageVersionsClient
An instance of this class provides access to all the operations defined in GalleryImageVersionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageVersionInner>,GalleryImageVersionInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageVersionInner>,GalleryImageVersionInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion, com.azure.core.util.Context context) Create or update a gallery image version.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryImageVersionInner>,GalleryImageVersionInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.beginDelete(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Delete a gallery image version.beginDelete(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, com.azure.core.util.Context context) Delete a gallery image version.beginDeleteAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Delete a gallery image version.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageVersionInner>,GalleryImageVersionInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageVersionInner>,GalleryImageVersionInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion, com.azure.core.util.Context context) Update a gallery image version.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryImageVersionInner>,GalleryImageVersionInner> beginUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion, com.azure.core.util.Context context) Create or update a gallery image version.createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.voiddelete(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Delete a gallery image version.voiddelete(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, com.azure.core.util.Context context) Delete a gallery image version.deleteAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Delete a gallery image version.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Delete a gallery image version.get(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Retrieves information about a gallery image version.getAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Retrieves information about a gallery image version.com.azure.core.http.rest.Response<GalleryImageVersionInner>getWithResponse(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, ReplicationStatusTypes expand, com.azure.core.util.Context context) Retrieves information about a gallery image version.Mono<com.azure.core.http.rest.Response<GalleryImageVersionInner>>getWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, ReplicationStatusTypes expand) Retrieves information about a gallery image version.com.azure.core.http.rest.PagedIterable<GalleryImageVersionInner>listByGalleryImage(String resourceGroupName, String galleryName, String galleryImageName) List gallery image versions in a gallery image definition.com.azure.core.http.rest.PagedIterable<GalleryImageVersionInner>listByGalleryImage(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context) List gallery image versions in a gallery image definition.com.azure.core.http.rest.PagedFlux<GalleryImageVersionInner>listByGalleryImageAsync(String resourceGroupName, String galleryName, String galleryImageName) List gallery image versions in a gallery image definition.update(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.update(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion, com.azure.core.util.Context context) Update a gallery image version.updateAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be created.galleryImageVersionName- The name of the gallery image version to be created. 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>.galleryImageVersion- Parameters supplied to the create or update gallery image version operation.- Returns:
- specifies information about the gallery image version 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<GalleryImageVersionInner>,GalleryImageVersionInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be created.galleryImageVersionName- The name of the gallery image version to be created. 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>.galleryImageVersion- Parameters supplied to the create or update gallery image version operation.- Returns:
- the
PollerFluxfor polling of specifies information about the gallery image version 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<GalleryImageVersionInner>,GalleryImageVersionInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be created.galleryImageVersionName- The name of the gallery image version to be created. 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>.galleryImageVersion- Parameters supplied to the create or update gallery image version operation.- Returns:
- the
SyncPollerfor polling of specifies information about the gallery image version 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<GalleryImageVersionInner>,GalleryImageVersionInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion, com.azure.core.util.Context context) Create or update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be created.galleryImageVersionName- The name of the gallery image version to be created. 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>.galleryImageVersion- Parameters supplied to the create or update gallery image version operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of specifies information about the gallery image version 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<GalleryImageVersionInner> createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be created.galleryImageVersionName- The name of the gallery image version to be created. 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>.galleryImageVersion- Parameters supplied to the create or update gallery image version operation.- Returns:
- specifies information about the gallery image version 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
GalleryImageVersionInner createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion) Create or update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be created.galleryImageVersionName- The name of the gallery image version to be created. 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>.galleryImageVersion- Parameters supplied to the create or update gallery image version operation.- Returns:
- specifies information about the gallery image version 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
GalleryImageVersionInner createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionInner galleryImageVersion, com.azure.core.util.Context context) Create or update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be created.galleryImageVersionName- The name of the gallery image version to be created. 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>.galleryImageVersion- Parameters supplied to the create or update gallery image version operation.context- The context to associate with this operation.- Returns:
- specifies information about the gallery image version 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, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be updated.galleryImageVersionName- The name of the gallery image version to be updated. 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>.galleryImageVersion- Parameters supplied to the update gallery image version operation.- Returns:
- specifies information about the gallery image version 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<GalleryImageVersionInner>,GalleryImageVersionInner> beginUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be updated.galleryImageVersionName- The name of the gallery image version to be updated. 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>.galleryImageVersion- Parameters supplied to the update gallery image version operation.- Returns:
- the
PollerFluxfor polling of specifies information about the gallery image version 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<GalleryImageVersionInner>,GalleryImageVersionInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be updated.galleryImageVersionName- The name of the gallery image version to be updated. 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>.galleryImageVersion- Parameters supplied to the update gallery image version operation.- Returns:
- the
SyncPollerfor polling of specifies information about the gallery image version 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<GalleryImageVersionInner>,GalleryImageVersionInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion, com.azure.core.util.Context context) Update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be updated.galleryImageVersionName- The name of the gallery image version to be updated. 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>.galleryImageVersion- Parameters supplied to the update gallery image version operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of specifies information about the gallery image version 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<GalleryImageVersionInner> updateAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be updated.galleryImageVersionName- The name of the gallery image version to be updated. 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>.galleryImageVersion- Parameters supplied to the update gallery image version operation.- Returns:
- specifies information about the gallery image version 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
GalleryImageVersionInner update(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion) Update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be updated.galleryImageVersionName- The name of the gallery image version to be updated. 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>.galleryImageVersion- Parameters supplied to the update gallery image version operation.- Returns:
- specifies information about the gallery image version 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
GalleryImageVersionInner update(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, GalleryImageVersionUpdate galleryImageVersion, com.azure.core.util.Context context) Update a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version is to be updated.galleryImageVersionName- The name of the gallery image version to be updated. 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>.galleryImageVersion- Parameters supplied to the update gallery image version operation.context- The context to associate with this operation.- Returns:
- specifies information about the gallery image version 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<GalleryImageVersionInner>> getWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, ReplicationStatusTypes expand) Retrieves information about a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be retrieved.expand- The expand expression to apply on the operation.- Returns:
- specifies information about the gallery image version 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<GalleryImageVersionInner> getAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Retrieves information about a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be retrieved.- Returns:
- specifies information about the gallery image version 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<GalleryImageVersionInner> getWithResponse(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName, ReplicationStatusTypes expand, com.azure.core.util.Context context) Retrieves information about a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be retrieved.expand- The expand expression to apply on the operation.context- The context to associate with this operation.- Returns:
- specifies information about the gallery image version 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
GalleryImageVersionInner get(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Retrieves information about a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be retrieved.- Returns:
- specifies information about the gallery image version 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, String galleryImageVersionName) Delete a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be deleted.- 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, String galleryImageVersionName) Delete a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be deleted.- 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, String galleryImageVersionName) Delete a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be deleted.- 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, String galleryImageVersionName, com.azure.core.util.Context context) Delete a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be deleted.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
Mono<Void> deleteAsync(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Delete a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be deleted.- 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
void delete(String resourceGroupName, String galleryName, String galleryImageName, String galleryImageVersionName) Delete a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be deleted.- 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, String galleryImageVersionName, com.azure.core.util.Context context) Delete a gallery image version.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the gallery image definition in which the Image Version resides.galleryImageVersionName- The name of the gallery image version to be deleted.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.
-
listByGalleryImageAsync
com.azure.core.http.rest.PagedFlux<GalleryImageVersionInner> listByGalleryImageAsync(String resourceGroupName, String galleryName, String galleryImageName) List gallery image versions in a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed.- Returns:
- the List Gallery Image version 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.
-
listByGalleryImage
com.azure.core.http.rest.PagedIterable<GalleryImageVersionInner> listByGalleryImage(String resourceGroupName, String galleryName, String galleryImageName) List gallery image versions in a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed.- Returns:
- the List Gallery Image version 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.
-
listByGalleryImage
com.azure.core.http.rest.PagedIterable<GalleryImageVersionInner> listByGalleryImage(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context) List gallery image versions in a gallery image definition.- Parameters:
resourceGroupName- The name of the resource group.galleryName- The name of the Shared Image Gallery in which the Image Definition resides.galleryImageName- The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed.context- The context to associate with this operation.- Returns:
- the List Gallery Image version 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.
-