Interface ContainerAppsRevisionsClient


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

    • 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 as paginated response with PagedFlux.
      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 as paginated response with PagedIterable.
      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 as paginated response with PagedIterable.
      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 along with Response on successful completion of Mono.
      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 on successful completion of Mono.
      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 along with 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.
    • 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 Response on successful completion of Mono.
      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:
      A Mono that completes when a successful response is received.
      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 Response on successful completion of Mono.
      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:
      A Mono that completes when a successful response is received.
      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 Response on successful completion of Mono.
      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:
      A Mono that completes when a successful response is received.
      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.