Interface ReportOperations


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

    • getWithResponse

      com.azure.core.http.rest.Response<ReportResource> getWithResponse(String reportName, com.azure.core.util.Context context)
      Get the AppComplianceAutomation report and its properties.
      Parameters:
      reportName - Report Name.
      context - The context to associate with this operation.
      Returns:
      the AppComplianceAutomation report and its properties 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.
    • get

      ReportResource get(String reportName)
      Get the AppComplianceAutomation report and its properties.
      Parameters:
      reportName - Report Name.
      Returns:
      the AppComplianceAutomation report and its properties.
      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.
    • createOrUpdate

      ReportResource createOrUpdate(String reportName, ReportResourceInner parameters)
      Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.
      Parameters:
      reportName - Report Name.
      parameters - Parameters for the create or update operation.
      Returns:
      a class represent an AppComplianceAutomation report resource.
      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.
    • createOrUpdate

      ReportResource createOrUpdate(String reportName, ReportResourceInner parameters, com.azure.core.util.Context context)
      Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.
      Parameters:
      reportName - Report Name.
      parameters - Parameters for the create or update operation.
      context - The context to associate with this operation.
      Returns:
      a class represent an AppComplianceAutomation report resource.
      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.
    • update

      ReportResource update(String reportName, ReportResourcePatch parameters)
      Update an exiting AppComplianceAutomation report.
      Parameters:
      reportName - Report Name.
      parameters - Parameters for the create or update operation.
      Returns:
      a class represent an AppComplianceAutomation report resource.
      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.
    • update

      ReportResource update(String reportName, ReportResourcePatch parameters, com.azure.core.util.Context context)
      Update an exiting AppComplianceAutomation report.
      Parameters:
      reportName - Report Name.
      parameters - Parameters for the create or update operation.
      context - The context to associate with this operation.
      Returns:
      a class represent an AppComplianceAutomation report resource.
      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.
    • delete

      void delete(String reportName)
      Delete an AppComplianceAutomation report.
      Parameters:
      reportName - Report Name.
      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.
    • delete

      void delete(String reportName, com.azure.core.util.Context context)
      Delete an AppComplianceAutomation report.
      Parameters:
      reportName - Report Name.
      context - The context to associate with this operation.
      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.