Interface ManagedEnvironmentDiagnosticsClient


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

    • listDetectorsWithResponse

      com.azure.core.http.rest.Response<DiagnosticsCollectionInner> listDetectorsWithResponse(String resourceGroupName, String environmentName, com.azure.core.util.Context context)
      Get the list of diagnostics for a given Managed Environment.

      Get the list of diagnostics for a Managed Environment used to host container apps.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Environment.
      context - The context to associate with this operation.
      Returns:
      the list of diagnostics for a Managed Environment used to host container apps 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.
    • listDetectors

      DiagnosticsCollectionInner listDetectors(String resourceGroupName, String environmentName)
      Get the list of diagnostics for a given Managed Environment.

      Get the list of diagnostics for a Managed Environment used to host container apps.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Environment.
      Returns:
      the list of diagnostics for a Managed Environment used to host container apps.
      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<DiagnosticsInner> getDetectorWithResponse(String resourceGroupName, String environmentName, String detectorName, com.azure.core.util.Context context)
      Get the diagnostics data for a given Managed Environment.

      Get the diagnostics data for a Managed Environment used to host container apps.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Environment.
      detectorName - Name of the Managed Environment detector.
      context - The context to associate with this operation.
      Returns:
      the diagnostics data for a Managed Environment used to host container apps 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

      DiagnosticsInner getDetector(String resourceGroupName, String environmentName, String detectorName)
      Get the diagnostics data for a given Managed Environment.

      Get the diagnostics data for a Managed Environment used to host container apps.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Environment.
      detectorName - Name of the Managed Environment detector.
      Returns:
      the diagnostics data for a Managed Environment used to host container apps.
      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.