Interface SnapshotOperationsClient


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

    • getWithResponse

      com.azure.core.http.rest.Response<SnapshotResourceInner> 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

      SnapshotResourceInner 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.
    • beginDownload

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DownloadResponseInner>,DownloadResponseInner> beginDownload(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:
      the SyncPoller for polling of 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.
    • beginDownload

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DownloadResponseInner>,DownloadResponseInner> beginDownload(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:
      the SyncPoller for polling of 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

      DownloadResponseInner 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

      DownloadResponseInner 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.