Interface ContainerAppsRevisionsClient


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

      • listRevisionsAsync

        com.azure.core.http.rest.PagedFlux<RevisionInner> listRevisionsAsync​(String resourceGroupName,
                                                                             String containerAppName)
        Get the Revisions for a given Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App for which Revisions are needed.
        Returns:
        the Revisions for a given Container App.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRevisions

        com.azure.core.http.rest.PagedIterable<RevisionInner> listRevisions​(String resourceGroupName,
                                                                            String containerAppName)
        Get the Revisions for a given Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App for which Revisions are needed.
        Returns:
        the Revisions for a given Container App.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRevisions

        com.azure.core.http.rest.PagedIterable<RevisionInner> listRevisions​(String resourceGroupName,
                                                                            String containerAppName,
                                                                            com.azure.core.util.Context context)
        Get the Revisions for a given Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App for which Revisions are needed.
        context - The context to associate with this operation.
        Returns:
        the Revisions for a given Container App.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRevisionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RevisionInner>> getRevisionWithResponseAsync​(String resourceGroupName,
                                                                                            String containerAppName,
                                                                                            String name)
        Get a revision of a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision.
        Returns:
        a revision of a Container App.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRevisionAsync

        Mono<RevisionInner> getRevisionAsync​(String resourceGroupName,
                                             String containerAppName,
                                             String name)
        Get a revision of a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision.
        Returns:
        a revision of a Container App.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRevision

        RevisionInner getRevision​(String resourceGroupName,
                                  String containerAppName,
                                  String name)
        Get a revision of a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision.
        Returns:
        a revision of a Container App.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRevisionWithResponse

        com.azure.core.http.rest.Response<RevisionInner> getRevisionWithResponse​(String resourceGroupName,
                                                                                 String containerAppName,
                                                                                 String name,
                                                                                 com.azure.core.util.Context context)
        Get a revision of a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision.
        context - The context to associate with this operation.
        Returns:
        a revision of a Container App.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • activateRevisionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> activateRevisionWithResponseAsync​(String resourceGroupName,
                                                                                        String containerAppName,
                                                                                        String name)
        Activates a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to activate.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • activateRevisionAsync

        Mono<Void> activateRevisionAsync​(String resourceGroupName,
                                         String containerAppName,
                                         String name)
        Activates a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to activate.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • activateRevision

        void activateRevision​(String resourceGroupName,
                              String containerAppName,
                              String name)
        Activates a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to activate.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • activateRevisionWithResponse

        com.azure.core.http.rest.Response<Void> activateRevisionWithResponse​(String resourceGroupName,
                                                                             String containerAppName,
                                                                             String name,
                                                                             com.azure.core.util.Context context)
        Activates a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to activate.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deactivateRevisionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deactivateRevisionWithResponseAsync​(String resourceGroupName,
                                                                                          String containerAppName,
                                                                                          String name)
        Deactivates a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to deactivate.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deactivateRevisionAsync

        Mono<Void> deactivateRevisionAsync​(String resourceGroupName,
                                           String containerAppName,
                                           String name)
        Deactivates a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to deactivate.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deactivateRevision

        void deactivateRevision​(String resourceGroupName,
                                String containerAppName,
                                String name)
        Deactivates a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to deactivate.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deactivateRevisionWithResponse

        com.azure.core.http.rest.Response<Void> deactivateRevisionWithResponse​(String resourceGroupName,
                                                                               String containerAppName,
                                                                               String name,
                                                                               com.azure.core.util.Context context)
        Deactivates a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to deactivate.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • restartRevisionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> restartRevisionWithResponseAsync​(String resourceGroupName,
                                                                                       String containerAppName,
                                                                                       String name)
        Restarts a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to restart.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • restartRevisionAsync

        Mono<Void> restartRevisionAsync​(String resourceGroupName,
                                        String containerAppName,
                                        String name)
        Restarts a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to restart.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • restartRevision

        void restartRevision​(String resourceGroupName,
                             String containerAppName,
                             String name)
        Restarts a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to restart.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • restartRevisionWithResponse

        com.azure.core.http.rest.Response<Void> restartRevisionWithResponse​(String resourceGroupName,
                                                                            String containerAppName,
                                                                            String name,
                                                                            com.azure.core.util.Context context)
        Restarts a revision for a Container App.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        containerAppName - Name of the Container App.
        name - Name of the Container App Revision to restart.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.