Interface BackupOperationStatusesClient


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

      • get

        OperationStatusInner get​(String vaultName,
                                 String resourceGroupName,
                                 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 an operation. Some operations create jobs. This method returns the list of jobs when the operation is complete.
        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.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<OperationStatusInner> getWithResponse​(String vaultName,
                                                                                String resourceGroupName,
                                                                                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 an operation. Some operations create jobs. This method returns the list of jobs when the operation is complete.
        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:
        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.