public interface GalleriesClient extends InnerSupportsGet<GalleryInner>, InnerSupportsListing<GalleryInner>, InnerSupportsDelete<Void>
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInner>,GalleryInner> |
beginCreateOrUpdate(String resourceGroupName,
String galleryName,
GalleryInner gallery)
Create or update a Shared Image Gallery.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInner>,GalleryInner> |
beginCreateOrUpdate(String resourceGroupName,
String galleryName,
GalleryInner gallery,
com.azure.core.util.Context context)
Create or update a Shared Image Gallery.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryInner>,GalleryInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String galleryName,
GalleryInner gallery)
Create or update a Shared Image Gallery.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String galleryName)
Delete a Shared Image Gallery.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String galleryName,
com.azure.core.util.Context context)
Delete a Shared Image Gallery.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String galleryName)
Delete a Shared Image Gallery.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInner>,GalleryInner> |
beginUpdate(String resourceGroupName,
String galleryName,
GalleryUpdate gallery)
Update a Shared Image Gallery.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInner>,GalleryInner> |
beginUpdate(String resourceGroupName,
String galleryName,
GalleryUpdate gallery,
com.azure.core.util.Context context)
Update a Shared Image Gallery.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryInner>,GalleryInner> |
beginUpdateAsync(String resourceGroupName,
String galleryName,
GalleryUpdate gallery)
Update a Shared Image Gallery.
|
GalleryInner |
createOrUpdate(String resourceGroupName,
String galleryName,
GalleryInner gallery)
Create or update a Shared Image Gallery.
|
GalleryInner |
createOrUpdate(String resourceGroupName,
String galleryName,
GalleryInner gallery,
com.azure.core.util.Context context)
Create or update a Shared Image Gallery.
|
Mono<GalleryInner> |
createOrUpdateAsync(String resourceGroupName,
String galleryName,
GalleryInner gallery)
Create or update a Shared Image Gallery.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String galleryName,
GalleryInner gallery)
Create or update a Shared Image Gallery.
|
void |
delete(String resourceGroupName,
String galleryName)
Delete a Shared Image Gallery.
|
void |
delete(String resourceGroupName,
String galleryName,
com.azure.core.util.Context context)
Delete a Shared Image Gallery.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String galleryName)
Delete a Shared Image Gallery.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String galleryName)
Delete a Shared Image Gallery.
|
GalleryInner |
getByResourceGroup(String resourceGroupName,
String galleryName)
Retrieves information about a Shared Image Gallery.
|
Mono<GalleryInner> |
getByResourceGroupAsync(String resourceGroupName,
String galleryName)
Retrieves information about a Shared Image Gallery.
|
com.azure.core.http.rest.Response<GalleryInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String galleryName,
com.azure.core.util.Context context)
Retrieves information about a Shared Image Gallery.
|
Mono<com.azure.core.http.rest.Response<GalleryInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String galleryName)
Retrieves information about a Shared Image Gallery.
|
com.azure.core.http.rest.PagedIterable<GalleryInner> |
list()
List galleries under a subscription.
|
com.azure.core.http.rest.PagedIterable<GalleryInner> |
list(com.azure.core.util.Context context)
List galleries under a subscription.
|
com.azure.core.http.rest.PagedFlux<GalleryInner> |
listAsync()
List galleries under a subscription.
|
com.azure.core.http.rest.PagedIterable<GalleryInner> |
listByResourceGroup(String resourceGroupName)
List galleries under a resource group.
|
com.azure.core.http.rest.PagedIterable<GalleryInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
List galleries under a resource group.
|
com.azure.core.http.rest.PagedFlux<GalleryInner> |
listByResourceGroupAsync(String resourceGroupName)
List galleries under a resource group.
|
GalleryInner |
update(String resourceGroupName,
String galleryName,
GalleryUpdate gallery)
Update a Shared Image Gallery.
|
GalleryInner |
update(String resourceGroupName,
String galleryName,
GalleryUpdate gallery,
com.azure.core.util.Context context)
Update a Shared Image Gallery.
|
Mono<GalleryInner> |
updateAsync(String resourceGroupName,
String galleryName,
GalleryUpdate gallery)
Update a Shared Image Gallery.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String galleryName,
GalleryUpdate gallery)
Update a Shared Image Gallery.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, GalleryInner gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner>,GalleryInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, GalleryInner gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner>,GalleryInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, GalleryInner gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner>,GalleryInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, GalleryInner gallery, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner> createOrUpdateAsync(String resourceGroupName, String galleryName, GalleryInner gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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.GalleryInner createOrUpdate(String resourceGroupName, String galleryName, GalleryInner gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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.GalleryInner createOrUpdate(String resourceGroupName, String galleryName, GalleryInner gallery, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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, GalleryUpdate gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner>,GalleryInner> beginUpdateAsync(String resourceGroupName, String galleryName, GalleryUpdate gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner>,GalleryInner> beginUpdate(String resourceGroupName, String galleryName, GalleryUpdate gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner>,GalleryInner> beginUpdate(String resourceGroupName, String galleryName, GalleryUpdate gallery, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner> updateAsync(String resourceGroupName, String galleryName, GalleryUpdate gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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.GalleryInner update(String resourceGroupName, String galleryName, GalleryUpdate gallery)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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.GalleryInner update(String resourceGroupName, String galleryName, GalleryUpdate gallery, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
dots and periods allowed in the middle. The maximum length is 80 characters.gallery
- Specifies information about the Shared Image Gallery 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<GalleryInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String galleryName)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery.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<GalleryInner> getByResourceGroupAsync(String resourceGroupName, String galleryName)
getByResourceGroupAsync
in interface InnerSupportsGet<GalleryInner>
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery.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.GalleryInner getByResourceGroup(String resourceGroupName, String galleryName)
getByResourceGroup
in interface InnerSupportsGet<GalleryInner>
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery.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<GalleryInner> getByResourceGroupWithResponse(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.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)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery 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)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery 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)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery 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, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery 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)
deleteAsync
in interface InnerSupportsDelete<Void>
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery 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)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery 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, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.galleryName
- The name of the Shared Image Gallery 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<GalleryInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync
in interface InnerSupportsListing<GalleryInner>
resourceGroupName
- The name of the resource group.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<GalleryInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup
in interface InnerSupportsListing<GalleryInner>
resourceGroupName
- The name of the resource group.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<GalleryInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.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<GalleryInner> listAsync()
listAsync
in interface InnerSupportsListing<GalleryInner>
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<GalleryInner> list()
list
in interface InnerSupportsListing<GalleryInner>
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<GalleryInner> list(com.azure.core.util.Context context)
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.