Interface GalleryApplicationsClient


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

    • listByGalleryAsync

      com.azure.core.http.rest.PagedFlux<GalleryApplicationInner> listByGalleryAsync(String resourceGroupName, String galleryName)
      List gallery Application Definitions in a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      Returns:
      the List Gallery Applications operation response as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByGallery

      com.azure.core.http.rest.PagedIterable<GalleryApplicationInner> listByGallery(String resourceGroupName, String galleryName)
      List gallery Application Definitions in a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      Returns:
      the List Gallery Applications operation response as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByGallery

      com.azure.core.http.rest.PagedIterable<GalleryApplicationInner> listByGallery(String resourceGroupName, String galleryName, com.azure.core.util.Context context)
      List gallery Application Definitions in a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      context - The context to associate with this operation.
      Returns:
      the List Gallery Applications operation response as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<GalleryApplicationInner>> getWithResponseAsync(String resourceGroupName, String galleryName, String galleryApplicationName)
      Retrieves information about a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      Returns:
      specifies information about the gallery Application Definition that you want to create or 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.
    • getAsync

      Mono<GalleryApplicationInner> getAsync(String resourceGroupName, String galleryName, String galleryApplicationName)
      Retrieves information about a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<GalleryApplicationInner> getWithResponse(String resourceGroupName, String galleryName, String galleryApplicationName, com.azure.core.util.Context context)
      Retrieves information about a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      context - The context to associate with this operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      GalleryApplicationInner get(String resourceGroupName, String galleryName, String galleryApplicationName)
      Retrieves information about a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationInner galleryApplication)
      Create or update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the create or update gallery Application operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryApplicationInner>, GalleryApplicationInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationInner galleryApplication)
      Create or update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the create or update gallery Application operation.
      Returns:
      the PollerFlux for polling of specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryApplicationInner>, GalleryApplicationInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationInner galleryApplication)
      Create or update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the create or update gallery Application operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryApplicationInner>, GalleryApplicationInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationInner galleryApplication, com.azure.core.util.Context context)
      Create or update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the create or update gallery Application operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<GalleryApplicationInner> createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationInner galleryApplication)
      Create or update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the create or update gallery Application operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      GalleryApplicationInner createOrUpdate(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationInner galleryApplication)
      Create or update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the create or update gallery Application operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      GalleryApplicationInner createOrUpdate(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationInner galleryApplication, com.azure.core.util.Context context)
      Create or update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the create or update gallery Application operation.
      context - The context to associate with this operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationUpdate galleryApplication)
      Update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the update gallery Application operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or 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<GalleryApplicationInner>, GalleryApplicationInner> beginUpdateAsync(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationUpdate galleryApplication)
      Update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the update gallery Application operation.
      Returns:
      the PollerFlux for polling of specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryApplicationInner>, GalleryApplicationInner> beginUpdate(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationUpdate galleryApplication)
      Update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the update gallery Application operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryApplicationInner>, GalleryApplicationInner> beginUpdate(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationUpdate galleryApplication, com.azure.core.util.Context context)
      Update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the update gallery Application operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<GalleryApplicationInner> updateAsync(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationUpdate galleryApplication)
      Update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the update gallery Application operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      GalleryApplicationInner update(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationUpdate galleryApplication)
      Update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the update gallery Application operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      GalleryApplicationInner update(String resourceGroupName, String galleryName, String galleryApplicationName, GalleryApplicationUpdate galleryApplication, com.azure.core.util.Context context)
      Update a gallery Application Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      galleryApplication - Parameters supplied to the update gallery Application operation.
      context - The context to associate with this operation.
      Returns:
      specifies information about the gallery Application Definition that you want to create or update.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String galleryName, String galleryApplicationName)
      Delete a gallery Application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      Returns:
      the 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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String galleryName, String galleryApplicationName)
      Delete a gallery Application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      Returns:
      the PollerFlux for 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 galleryApplicationName)
      Delete a gallery Application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      Returns:
      the SyncPoller for 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 galleryApplicationName, com.azure.core.util.Context context)
      Delete a gallery Application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for 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 galleryApplicationName)
      Delete a gallery Application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      Returns:
      A Mono that 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 galleryApplicationName)
      Delete a gallery Application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String galleryName, String galleryApplicationName, com.azure.core.util.Context context)
      Delete a gallery Application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      galleryApplicationName - The name of the gallery Application Definition to be retrieved.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.