public interface GalleryImagesClient
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
GalleryImageInner |
createOrUpdate(String resourceGroupName,
String galleryName,
String galleryImageName,
GalleryImageInner galleryImage)
Create or update a gallery Image Definition.
|
GalleryImageInner |
createOrUpdate(String resourceGroupName,
String galleryName,
String galleryImageName,
GalleryImageInner galleryImage,
com.azure.core.util.Context context)
Create or update a gallery Image Definition.
|
Mono<GalleryImageInner> |
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.
|
void |
delete(String resourceGroupName,
String galleryName,
String galleryImageName)
Delete a gallery image.
|
void |
delete(String resourceGroupName,
String galleryName,
String galleryImageName,
com.azure.core.util.Context context)
Delete a gallery image.
|
Mono<Void> |
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.
|
GalleryImageInner |
get(String resourceGroupName,
String galleryName,
String galleryImageName)
Retrieves information about a gallery Image Definition.
|
Mono<GalleryImageInner> |
getAsync(String resourceGroupName,
String galleryName,
String galleryImageName)
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.
|
GalleryImageInner |
update(String resourceGroupName,
String galleryName,
String galleryImageName,
GalleryImageUpdate galleryImage)
Update a gallery Image Definition.
|
GalleryImageInner |
update(String resourceGroupName,
String galleryName,
String galleryImageName,
GalleryImageUpdate galleryImage,
com.azure.core.util.Context context)
Update a gallery Image Definition.
|
Mono<GalleryImageInner> |
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.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be created.galleryImageName
- The name of the gallery Image Definition to be created or updated. The allowed characters
are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to create or update.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryImageInner>,GalleryImageInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be created.galleryImageName
- The name of the gallery Image Definition to be created or updated. The allowed characters
are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to create or update.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>,GalleryImageInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be created.galleryImageName
- The name of the gallery Image Definition to be created or updated. The allowed characters
are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to create or update.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.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)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be created.galleryImageName
- The name of the gallery Image Definition to be created or updated. The allowed characters
are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to create or update.context
- The context to associate with this operation.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.Mono<GalleryImageInner> createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be created.galleryImageName
- The name of the gallery Image Definition to be created or updated. The allowed characters
are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to create or update.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.GalleryImageInner createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be created.galleryImageName
- The name of the gallery Image Definition to be created or updated. The allowed characters
are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to create or update.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.GalleryImageInner createOrUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageInner galleryImage, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be created.galleryImageName
- The name of the gallery Image Definition to be created or updated. The allowed characters
are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to create or update.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be updated.galleryImageName
- The name of the gallery Image Definition to be updated. The allowed characters are
alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to update.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryImageInner>,GalleryImageInner> beginUpdateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be updated.galleryImageName
- The name of the gallery Image Definition to be updated. The allowed characters are
alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to update.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryImageInner>,GalleryImageInner> beginUpdate(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be updated.galleryImageName
- The name of the gallery Image Definition to be updated. The allowed characters are
alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to update.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.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)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be updated.galleryImageName
- The name of the gallery Image Definition to be updated. The allowed characters are
alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to update.context
- The context to associate with this operation.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.Mono<GalleryImageInner> updateAsync(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be updated.galleryImageName
- The name of the gallery Image Definition to be updated. The allowed characters are
alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to update.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.GalleryImageInner update(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be updated.galleryImageName
- The name of the gallery Image Definition to be updated. The allowed characters are
alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to update.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.GalleryImageInner update(String resourceGroupName, String galleryName, String galleryImageName, GalleryImageUpdate galleryImage, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be updated.galleryImageName
- The name of the gallery Image Definition to be updated. The allowed characters are
alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
characters.galleryImage
- Specifies information about the gallery Image Definition that you want to update.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<GalleryImageInner>> getWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.galleryImageName
- The name of the gallery Image Definition to be retrieved.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.Mono<GalleryImageInner> getAsync(String resourceGroupName, String galleryName, String galleryImageName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.galleryImageName
- The name of the gallery Image Definition to be retrieved.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.GalleryImageInner get(String resourceGroupName, String galleryName, String galleryImageName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.galleryImageName
- The name of the gallery Image Definition to be retrieved.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.com.azure.core.http.rest.Response<GalleryImageInner> getWithResponse(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.galleryImageName
- The name of the gallery Image Definition to be retrieved.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String galleryName, String galleryImageName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be deleted.galleryImageName
- The name of the gallery Image Definition to be deleted.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String galleryName, String galleryImageName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be deleted.galleryImageName
- The name of the gallery Image Definition to be deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String galleryName, String galleryImageName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be deleted.galleryImageName
- The name of the gallery Image Definition to be deleted.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.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)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be deleted.galleryImageName
- The name of the gallery Image Definition to be deleted.context
- The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String galleryName, String galleryImageName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be deleted.galleryImageName
- The name of the gallery Image Definition to be deleted.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.void delete(String resourceGroupName, String galleryName, String galleryImageName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be deleted.galleryImageName
- The name of the gallery Image Definition to be deleted.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.void delete(String resourceGroupName, String galleryName, String galleryImageName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery in which the Image Definition is to be deleted.galleryImageName
- The name of the gallery Image Definition to be deleted.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<GalleryImageInner> listByGalleryAsync(String resourceGroupName, String galleryName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery from which Image Definitions are to be listed.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.com.azure.core.http.rest.PagedIterable<GalleryImageInner> listByGallery(String resourceGroupName, String galleryName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery from which Image Definitions are to be listed.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.com.azure.core.http.rest.PagedIterable<GalleryImageInner> listByGallery(String resourceGroupName, String galleryName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery from which Image Definitions are to be listed.context
- The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.