Interface GalleryApplicationVersionsClient


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

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String galleryName,
                                                                                                  String galleryApplicationName,
                                                                                                  String galleryApplicationVersionName,
                                                                                                  GalleryApplicationVersionInner galleryApplicationVersion)
        Create or update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be created.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the create or update gallery Application Version operation.
        Returns:
        specifies information about the gallery Application Version 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<GalleryApplicationVersionInner>,​GalleryApplicationVersionInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                           String galleryName,
                                                                                                                                                                                           String galleryApplicationName,
                                                                                                                                                                                           String galleryApplicationVersionName,
                                                                                                                                                                                           GalleryApplicationVersionInner galleryApplicationVersion)
        Create or update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be created.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the create or update gallery Application Version operation.
        Returns:
        the PollerFlux for polling of specifies information about the gallery Application 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<GalleryApplicationVersionInner>,​GalleryApplicationVersionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                      String galleryName,
                                                                                                                                                                                      String galleryApplicationName,
                                                                                                                                                                                      String galleryApplicationVersionName,
                                                                                                                                                                                      GalleryApplicationVersionInner galleryApplicationVersion)
        Create or update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be created.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the create or update gallery Application Version operation.
        Returns:
        the SyncPoller for polling of specifies information about the gallery Application 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<GalleryApplicationVersionInner>,​GalleryApplicationVersionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                      String galleryName,
                                                                                                                                                                                      String galleryApplicationName,
                                                                                                                                                                                      String galleryApplicationVersionName,
                                                                                                                                                                                      GalleryApplicationVersionInner galleryApplicationVersion,
                                                                                                                                                                                      com.azure.core.util.Context context)
        Create or update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be created.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the create or update gallery Application Version operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of specifies information about the gallery Application 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<GalleryApplicationVersionInner> createOrUpdateAsync​(String resourceGroupName,
                                                                 String galleryName,
                                                                 String galleryApplicationName,
                                                                 String galleryApplicationVersionName,
                                                                 GalleryApplicationVersionInner galleryApplicationVersion)
        Create or update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be created.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the create or update gallery Application Version operation.
        Returns:
        specifies information about the gallery Application 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

        GalleryApplicationVersionInner createOrUpdate​(String resourceGroupName,
                                                      String galleryName,
                                                      String galleryApplicationName,
                                                      String galleryApplicationVersionName,
                                                      GalleryApplicationVersionInner galleryApplicationVersion)
        Create or update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be created.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the create or update gallery Application Version operation.
        Returns:
        specifies information about the gallery Application 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

        GalleryApplicationVersionInner createOrUpdate​(String resourceGroupName,
                                                      String galleryName,
                                                      String galleryApplicationName,
                                                      String galleryApplicationVersionName,
                                                      GalleryApplicationVersionInner galleryApplicationVersion,
                                                      com.azure.core.util.Context context)
        Create or update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be created.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the create or update gallery Application Version operation.
        context - The context to associate with this operation.
        Returns:
        specifies information about the gallery Application 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 galleryApplicationName,
                                                                                          String galleryApplicationVersionName,
                                                                                          GalleryApplicationVersionUpdate galleryApplicationVersion)
        Update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be updated.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the update gallery Application Version operation.
        Returns:
        specifies information about the gallery Application Version 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<GalleryApplicationVersionInner>,​GalleryApplicationVersionInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                   String galleryName,
                                                                                                                                                                                   String galleryApplicationName,
                                                                                                                                                                                   String galleryApplicationVersionName,
                                                                                                                                                                                   GalleryApplicationVersionUpdate galleryApplicationVersion)
        Update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be updated.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the update gallery Application Version operation.
        Returns:
        the PollerFlux for polling of specifies information about the gallery Application 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<GalleryApplicationVersionInner>,​GalleryApplicationVersionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                              String galleryName,
                                                                                                                                                                              String galleryApplicationName,
                                                                                                                                                                              String galleryApplicationVersionName,
                                                                                                                                                                              GalleryApplicationVersionUpdate galleryApplicationVersion)
        Update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be updated.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the update gallery Application Version operation.
        Returns:
        the SyncPoller for polling of specifies information about the gallery Application 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<GalleryApplicationVersionInner>,​GalleryApplicationVersionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                              String galleryName,
                                                                                                                                                                              String galleryApplicationName,
                                                                                                                                                                              String galleryApplicationVersionName,
                                                                                                                                                                              GalleryApplicationVersionUpdate galleryApplicationVersion,
                                                                                                                                                                              com.azure.core.util.Context context)
        Update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be updated.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the update gallery Application Version operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of specifies information about the gallery Application 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<GalleryApplicationVersionInner> updateAsync​(String resourceGroupName,
                                                         String galleryName,
                                                         String galleryApplicationName,
                                                         String galleryApplicationVersionName,
                                                         GalleryApplicationVersionUpdate galleryApplicationVersion)
        Update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be updated.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the update gallery Application Version operation.
        Returns:
        specifies information about the gallery Application 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

        GalleryApplicationVersionInner update​(String resourceGroupName,
                                              String galleryName,
                                              String galleryApplicationName,
                                              String galleryApplicationVersionName,
                                              GalleryApplicationVersionUpdate galleryApplicationVersion)
        Update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be updated.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the update gallery Application Version operation.
        Returns:
        specifies information about the gallery Application 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

        GalleryApplicationVersionInner update​(String resourceGroupName,
                                              String galleryName,
                                              String galleryApplicationName,
                                              String galleryApplicationVersionName,
                                              GalleryApplicationVersionUpdate galleryApplicationVersion,
                                              com.azure.core.util.Context context)
        Update a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version is to be updated.
        galleryApplicationVersionName - The name of the gallery Application 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>.
        galleryApplicationVersion - Parameters supplied to the update gallery Application Version operation.
        context - The context to associate with this operation.
        Returns:
        specifies information about the gallery Application 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<GalleryApplicationVersionInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                     String galleryName,
                                                                                                     String galleryApplicationName,
                                                                                                     String galleryApplicationVersionName,
                                                                                                     ReplicationStatusTypes expand)
        Retrieves information about a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be retrieved.
        expand - The expand expression to apply on the operation.
        Returns:
        specifies information about the gallery Application Version 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<GalleryApplicationVersionInner> getAsync​(String resourceGroupName,
                                                      String galleryName,
                                                      String galleryApplicationName,
                                                      String galleryApplicationVersionName,
                                                      ReplicationStatusTypes expand)
        Retrieves information about a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be retrieved.
        expand - The expand expression to apply on the operation.
        Returns:
        specifies information about the gallery Application 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.
      • getAsync

        Mono<GalleryApplicationVersionInner> getAsync​(String resourceGroupName,
                                                      String galleryName,
                                                      String galleryApplicationName,
                                                      String galleryApplicationVersionName)
        Retrieves information about a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be retrieved.
        Returns:
        specifies information about the gallery Application 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.
      • get

        GalleryApplicationVersionInner get​(String resourceGroupName,
                                           String galleryName,
                                           String galleryApplicationName,
                                           String galleryApplicationVersionName)
        Retrieves information about a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be retrieved.
        Returns:
        specifies information about the gallery Application 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.
      • getWithResponse

        com.azure.core.http.rest.Response<GalleryApplicationVersionInner> getWithResponse​(String resourceGroupName,
                                                                                          String galleryName,
                                                                                          String galleryApplicationName,
                                                                                          String galleryApplicationVersionName,
                                                                                          ReplicationStatusTypes expand,
                                                                                          com.azure.core.util.Context context)
        Retrieves information about a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application 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 Application 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.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String galleryName,
                                                                                          String galleryApplicationName,
                                                                                          String galleryApplicationVersionName)
        Delete a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be deleted.
        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,
                                                                                                                               String galleryApplicationVersionName)
        Delete a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be deleted.
        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,
                                                                                                                          String galleryApplicationVersionName)
        Delete a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be deleted.
        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,
                                                                                                                          String galleryApplicationVersionName,
                                                                                                                          com.azure.core.util.Context context)
        Delete a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be deleted.
        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,
                               String galleryApplicationVersionName)
        Delete a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application Version to be deleted.
        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,
                    String galleryApplicationVersionName)
        Delete a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application 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 galleryApplicationName,
                    String galleryApplicationVersionName,
                    com.azure.core.util.Context context)
        Delete a gallery Application Version.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the gallery Application Definition in which the Application Version resides.
        galleryApplicationVersionName - The name of the gallery Application 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.
      • listByGalleryApplicationAsync

        com.azure.core.http.rest.PagedFlux<GalleryApplicationVersionInner> listByGalleryApplicationAsync​(String resourceGroupName,
                                                                                                         String galleryName,
                                                                                                         String galleryApplicationName)
        List gallery Application Versions in a gallery Application Definition.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed.
        Returns:
        the List Gallery Application 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.
      • listByGalleryApplication

        com.azure.core.http.rest.PagedIterable<GalleryApplicationVersionInner> listByGalleryApplication​(String resourceGroupName,
                                                                                                        String galleryName,
                                                                                                        String galleryApplicationName)
        List gallery Application Versions in a gallery Application Definition.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed.
        Returns:
        the List Gallery Application 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.
      • listByGalleryApplication

        com.azure.core.http.rest.PagedIterable<GalleryApplicationVersionInner> listByGalleryApplication​(String resourceGroupName,
                                                                                                        String galleryName,
                                                                                                        String galleryApplicationName,
                                                                                                        com.azure.core.util.Context context)
        List gallery Application Versions in a gallery Application Definition.
        Parameters:
        resourceGroupName - The name of the resource group.
        galleryName - The name of the Shared Application Gallery in which the Application Definition resides.
        galleryApplicationName - The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed.
        context - The context to associate with this operation.
        Returns:
        the List Gallery Application 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.