Interface ContainerAppsDiagnostics


public interface ContainerAppsDiagnostics
Resource collection API of ContainerAppsDiagnostics.
  • Method Details

    • listDetectors

      com.azure.core.http.rest.PagedIterable<Diagnostics> listDetectors(String resourceGroupName, String containerAppName)
      Get the list of diagnostics for a given Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App for which detector info is needed.
      Returns:
      the list of diagnostics 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.
    • listDetectors

      com.azure.core.http.rest.PagedIterable<Diagnostics> listDetectors(String resourceGroupName, String containerAppName, com.azure.core.util.Context context)
      Get the list of diagnostics for a given Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App for which detector info is needed.
      context - The context to associate with this operation.
      Returns:
      the list of diagnostics 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.
    • getDetectorWithResponse

      com.azure.core.http.rest.Response<Diagnostics> getDetectorWithResponse(String resourceGroupName, String containerAppName, String detectorName, com.azure.core.util.Context context)
      Get a diagnostics result of a Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App.
      detectorName - Name of the Container App Detector.
      context - The context to associate with this operation.
      Returns:
      a diagnostics result 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.
    • getDetector

      Diagnostics getDetector(String resourceGroupName, String containerAppName, String detectorName)
      Get a diagnostics result of a Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App.
      detectorName - Name of the Container App Detector.
      Returns:
      a diagnostics result 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.
    • listRevisions

      com.azure.core.http.rest.PagedIterable<Revision> listRevisions(String resourceGroupName, String containerAppName)
      Get the Revisions for a given Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      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<Revision> listRevisions(String resourceGroupName, String containerAppName, String filter, com.azure.core.util.Context context)
      Get the Revisions for a given Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App for which Revisions are needed.
      filter - The filter to apply on the operation.
      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.
    • getRevisionWithResponse

      com.azure.core.http.rest.Response<Revision> getRevisionWithResponse(String resourceGroupName, String containerAppName, String revisionName, com.azure.core.util.Context context)
      Get a revision of a Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App.
      revisionName - 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.
    • getRevision

      Revision getRevision(String resourceGroupName, String containerAppName, String revisionName)
      Get a revision of a Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App.
      revisionName - 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.
    • getRootWithResponse

      com.azure.core.http.rest.Response<ContainerApp> getRootWithResponse(String resourceGroupName, String containerAppName, com.azure.core.util.Context context)
      Get the properties of a Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App.
      context - The context to associate with this operation.
      Returns:
      the properties of a Container App along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getRoot

      ContainerApp getRoot(String resourceGroupName, String containerAppName)
      Get the properties of a Container App.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      containerAppName - Name of the Container App.
      Returns:
      the properties of a Container App.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.