Interface BackupOperationResultsClient


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

    Modifier and Type
    Method
    Description
    void
    get(String vaultName, String resourceGroupName, String operationId)
    Provides the status of the delete operations such as deleting backed up item.
    com.azure.core.http.rest.Response<Void>
    getWithResponse(String vaultName, String resourceGroupName, String operationId, com.azure.core.util.Context context)
    Provides the status of the delete operations such as deleting backed up item.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<Void> getWithResponse(String vaultName, String resourceGroupName, String operationId, com.azure.core.util.Context context)
      Provides the status of the delete operations such as deleting backed up item. Once the operation has started, the status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is part of the Location header of the operation response.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      operationId - OperationID which represents the operation.
      context - The context to associate with this operation.
      Returns:
      the 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

      void get(String vaultName, String resourceGroupName, String operationId)
      Provides the status of the delete operations such as deleting backed up item. Once the operation has started, the status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is part of the Location header of the operation response.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      operationId - OperationID which represents the 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.