Interface SnapshotOperations


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

    • getWithResponse

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

      SnapshotResource get(String reportName, String snapshotName)
      Get the AppComplianceAutomation snapshot and its properties.
      Parameters:
      reportName - Report Name.
      snapshotName - Snapshot Name.
      Returns:
      the AppComplianceAutomation snapshot 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.
    • download

      DownloadResponse download(String reportName, String snapshotName, SnapshotDownloadRequest parameters)
      Download compliance needs from snapshot, like: Compliance Report, Resource List.
      Parameters:
      reportName - Report Name.
      snapshotName - Snapshot Name.
      parameters - Parameters for the query operation.
      Returns:
      object that includes all the possible response for the download 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.
    • download

      DownloadResponse download(String reportName, String snapshotName, SnapshotDownloadRequest parameters, com.azure.core.util.Context context)
      Download compliance needs from snapshot, like: Compliance Report, Resource List.
      Parameters:
      reportName - Report Name.
      snapshotName - Snapshot Name.
      parameters - Parameters for the query operation.
      context - The context to associate with this operation.
      Returns:
      object that includes all the possible response for the download 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.