Interface ProtectedItemOperationStatuses


public interface ProtectedItemOperationStatuses
Resource collection API of ProtectedItemOperationStatuses.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String operationId)
    Fetches the status of an operation such as triggering a backup, restore.
    com.azure.core.http.rest.Response<OperationStatus>
    getWithResponse(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String operationId, com.azure.core.util.Context context)
    Fetches the status of an operation such as triggering a backup, restore.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<OperationStatus> getWithResponse(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String operationId, com.azure.core.util.Context context)
      Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of the operation. Some operations create jobs. This method returns the list of jobs associated with the operation.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      fabricName - Fabric name associated with the backup item.
      containerName - Container name associated with the backup item.
      protectedItemName - Backup item name whose details are to be fetched.
      operationId - OperationID represents the operation whose status needs to be fetched.
      context - The context to associate with this operation.
      Returns:
      operation status 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

      OperationStatus get(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String operationId)
      Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of the operation. Some operations create jobs. This method returns the list of jobs associated with the operation.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      fabricName - Fabric name associated with the backup item.
      containerName - Container name associated with the backup item.
      protectedItemName - Backup item name whose details are to be fetched.
      operationId - OperationID represents the operation whose status needs to be fetched.
      Returns:
      operation status.
      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.