Interface GallerySharingProfilesClient


public interface GallerySharingProfilesClient
An instance of this class provides access to all the operations defined in GallerySharingProfilesClient.
  • Method Details

    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String galleryName, SharingUpdateInner sharingUpdate)
      Update sharing profile of a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      sharingUpdate - Parameters supplied to the update gallery sharing profile.
      Returns:
      specifies information about the gallery sharing profile update along with Response 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.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SharingUpdateInner>, SharingUpdateInner> beginUpdateAsync(String resourceGroupName, String galleryName, SharingUpdateInner sharingUpdate)
      Update sharing profile of a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      sharingUpdate - Parameters supplied to the update gallery sharing profile.
      Returns:
      the PollerFlux for polling of specifies information about the gallery sharing profile 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<SharingUpdateInner>, SharingUpdateInner> beginUpdate(String resourceGroupName, String galleryName, SharingUpdateInner sharingUpdate)
      Update sharing profile of a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      sharingUpdate - Parameters supplied to the update gallery sharing profile.
      Returns:
      the SyncPoller for polling of specifies information about the gallery sharing profile 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<SharingUpdateInner>, SharingUpdateInner> beginUpdate(String resourceGroupName, String galleryName, SharingUpdateInner sharingUpdate, com.azure.core.util.Context context)
      Update sharing profile of a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      sharingUpdate - Parameters supplied to the update gallery sharing profile.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery sharing profile 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<SharingUpdateInner> updateAsync(String resourceGroupName, String galleryName, SharingUpdateInner sharingUpdate)
      Update sharing profile of a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      sharingUpdate - Parameters supplied to the update gallery sharing profile.
      Returns:
      specifies information about the gallery sharing profile 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

      SharingUpdateInner update(String resourceGroupName, String galleryName, SharingUpdateInner sharingUpdate)
      Update sharing profile of a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      sharingUpdate - Parameters supplied to the update gallery sharing profile.
      Returns:
      specifies information about the gallery sharing profile 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

      SharingUpdateInner update(String resourceGroupName, String galleryName, SharingUpdateInner sharingUpdate, com.azure.core.util.Context context)
      Update sharing profile of a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      sharingUpdate - Parameters supplied to the update gallery sharing profile.
      context - The context to associate with this operation.
      Returns:
      specifies information about the gallery sharing profile 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.