Interface BackupInstancesClient


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

    • list

      com.azure.core.http.rest.PagedIterable<BackupInstanceResourceInner> list(String resourceGroupName, String vaultName)
      Gets a backup instances belonging to a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      Returns:
      a backup instances belonging to a backup vault as paginated response with PagedIterable.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<BackupInstanceResourceInner> list(String resourceGroupName, String vaultName, com.azure.core.util.Context context)
      Gets a backup instances belonging to a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      context - The context to associate with this operation.
      Returns:
      a backup instances belonging to a backup vault as paginated response with PagedIterable.
      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<BackupInstanceResourceInner> getWithResponse(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      Gets a backup instance with name in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      context - The context to associate with this operation.
      Returns:
      a backup instance with name in a backup vault 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

      BackupInstanceResourceInner get(String resourceGroupName, String vaultName, String backupInstanceName)
      Gets a backup instance with name in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      Returns:
      a backup instance with name in a backup vault.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInstanceResourceInner>,BackupInstanceResourceInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, String backupInstanceName, BackupInstanceResourceInner parameters)
      Create or update a backup instance in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      Returns:
      the SyncPoller for polling of backupInstanceResource.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInstanceResourceInner>,BackupInstanceResourceInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, String backupInstanceName, BackupInstanceResourceInner parameters, com.azure.core.util.Context context)
      Create or update a backup instance in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of backupInstanceResource.
      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.
    • createOrUpdate

      BackupInstanceResourceInner createOrUpdate(String resourceGroupName, String vaultName, String backupInstanceName, BackupInstanceResourceInner parameters)
      Create or update a backup instance in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      Returns:
      backupInstanceResource.
      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.
    • createOrUpdate

      BackupInstanceResourceInner createOrUpdate(String resourceGroupName, String vaultName, String backupInstanceName, BackupInstanceResourceInner parameters, com.azure.core.util.Context context)
      Create or update a backup instance in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      backupInstanceResource.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vaultName, String backupInstanceName)
      Delete a backup instance in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      Delete a backup instance in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • delete

      void delete(String resourceGroupName, String vaultName, String backupInstanceName)
      Delete a backup instance in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      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.
    • delete

      void delete(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      Delete a backup instance in a backup vault.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      context - The context to associate with this 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.
    • beginAdhocBackup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationJobExtendedInfoInner>,OperationJobExtendedInfoInner> beginAdhocBackup(String resourceGroupName, String vaultName, String backupInstanceName, TriggerBackupRequest parameters)
      Trigger adhoc backup.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      Returns:
      the SyncPoller for polling of operationJobExtendedInfo.
      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.
    • beginAdhocBackup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationJobExtendedInfoInner>,OperationJobExtendedInfoInner> beginAdhocBackup(String resourceGroupName, String vaultName, String backupInstanceName, TriggerBackupRequest parameters, com.azure.core.util.Context context)
      Trigger adhoc backup.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of operationJobExtendedInfo.
      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.
    • adhocBackup

      OperationJobExtendedInfoInner adhocBackup(String resourceGroupName, String vaultName, String backupInstanceName, TriggerBackupRequest parameters)
      Trigger adhoc backup.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      Returns:
      operationJobExtendedInfo.
      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.
    • adhocBackup

      OperationJobExtendedInfoInner adhocBackup(String resourceGroupName, String vaultName, String backupInstanceName, TriggerBackupRequest parameters, com.azure.core.util.Context context)
      Trigger adhoc backup.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      operationJobExtendedInfo.
      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.
    • beginValidateForBackup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationJobExtendedInfoInner>,OperationJobExtendedInfoInner> beginValidateForBackup(String resourceGroupName, String vaultName, ValidateForBackupRequest parameters)
      Validate whether adhoc backup will be successful or not.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      parameters - Request body for operation.
      Returns:
      the SyncPoller for polling of operationJobExtendedInfo.
      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.
    • beginValidateForBackup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationJobExtendedInfoInner>,OperationJobExtendedInfoInner> beginValidateForBackup(String resourceGroupName, String vaultName, ValidateForBackupRequest parameters, com.azure.core.util.Context context)
      Validate whether adhoc backup will be successful or not.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of operationJobExtendedInfo.
      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.
    • validateForBackup

      OperationJobExtendedInfoInner validateForBackup(String resourceGroupName, String vaultName, ValidateForBackupRequest parameters)
      Validate whether adhoc backup will be successful or not.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      parameters - Request body for operation.
      Returns:
      operationJobExtendedInfo.
      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.
    • validateForBackup

      OperationJobExtendedInfoInner validateForBackup(String resourceGroupName, String vaultName, ValidateForBackupRequest parameters, com.azure.core.util.Context context)
      Validate whether adhoc backup will be successful or not.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      operationJobExtendedInfo.
      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.
    • getBackupInstanceOperationResultWithResponse

      com.azure.core.http.rest.Response<BackupInstanceResourceInner> getBackupInstanceOperationResultWithResponse(String resourceGroupName, String vaultName, String backupInstanceName, String operationId, com.azure.core.util.Context context)
      Get result of backup instance creation operation.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      operationId - The operationId parameter.
      context - The context to associate with this operation.
      Returns:
      result of backup instance creation operation 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.
    • getBackupInstanceOperationResult

      BackupInstanceResourceInner getBackupInstanceOperationResult(String resourceGroupName, String vaultName, String backupInstanceName, String operationId)
      Get result of backup instance creation operation.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      operationId - The operationId parameter.
      Returns:
      result of backup instance creation 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.
    • beginTriggerRehydrate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginTriggerRehydrate(String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRehydrationRequest parameters)
      rehydrate recovery point for restore for a BackupInstance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      parameters - Request body for operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginTriggerRehydrate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginTriggerRehydrate(String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRehydrationRequest parameters, com.azure.core.util.Context context)
      rehydrate recovery point for restore for a BackupInstance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • triggerRehydrate

      void triggerRehydrate(String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRehydrationRequest parameters)
      rehydrate recovery point for restore for a BackupInstance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      parameters - Request body for 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.
    • triggerRehydrate

      void triggerRehydrate(String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRehydrationRequest parameters, com.azure.core.util.Context context)
      rehydrate recovery point for restore for a BackupInstance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      parameters - Request body for operation.
      context - The context to associate with this 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.
    • beginTriggerRestore

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationJobExtendedInfoInner>,OperationJobExtendedInfoInner> beginTriggerRestore(String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRestoreRequest parameters)
      Triggers restore for a BackupInstance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      Returns:
      the SyncPoller for polling of operationJobExtendedInfo.
      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.
    • beginTriggerRestore

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationJobExtendedInfoInner>,OperationJobExtendedInfoInner> beginTriggerRestore(String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRestoreRequest parameters, com.azure.core.util.Context context)
      Triggers restore for a BackupInstance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of operationJobExtendedInfo.
      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.
    • triggerRestore

      OperationJobExtendedInfoInner triggerRestore(String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRestoreRequest parameters)
      Triggers restore for a BackupInstance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      Returns:
      operationJobExtendedInfo.
      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.
    • triggerRestore

      OperationJobExtendedInfoInner triggerRestore(String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRestoreRequest parameters, com.azure.core.util.Context context)
      Triggers restore for a BackupInstance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      operationJobExtendedInfo.
      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.
    • beginResumeBackups

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResumeBackups(String resourceGroupName, String vaultName, String backupInstanceName)
      This operation will resume backups for backup instance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginResumeBackups

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResumeBackups(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      This operation will resume backups for backup instance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • resumeBackups

      void resumeBackups(String resourceGroupName, String vaultName, String backupInstanceName)
      This operation will resume backups for backup instance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      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.
    • resumeBackups

      void resumeBackups(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      This operation will resume backups for backup instance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      context - The context to associate with this 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.
    • beginResumeProtection

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResumeProtection(String resourceGroupName, String vaultName, String backupInstanceName)
      This operation will resume protection for a stopped backup instance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginResumeProtection

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResumeProtection(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      This operation will resume protection for a stopped backup instance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • resumeProtection

      void resumeProtection(String resourceGroupName, String vaultName, String backupInstanceName)
      This operation will resume protection for a stopped backup instance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      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.
    • resumeProtection

      void resumeProtection(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      This operation will resume protection for a stopped backup instance.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      context - The context to associate with this 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.
    • beginStopProtection

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStopProtection(String resourceGroupName, String vaultName, String backupInstanceName)
      This operation will stop protection of a backup instance and data will be held forever.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginStopProtection

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStopProtection(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      This operation will stop protection of a backup instance and data will be held forever.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • stopProtection

      void stopProtection(String resourceGroupName, String vaultName, String backupInstanceName)
      This operation will stop protection of a backup instance and data will be held forever.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      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.
    • stopProtection

      void stopProtection(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      This operation will stop protection of a backup instance and data will be held forever.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      context - The context to associate with this 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.
    • beginSuspendBackups

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSuspendBackups(String resourceGroupName, String vaultName, String backupInstanceName)
      This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever).
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginSuspendBackups

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSuspendBackups(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever).
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • suspendBackups

      void suspendBackups(String resourceGroupName, String vaultName, String backupInstanceName)
      This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever).
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      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.
    • suspendBackups

      void suspendBackups(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever).
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      context - The context to associate with this 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.
    • beginSyncBackupInstance

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSyncBackupInstance(String resourceGroupName, String vaultName, String backupInstanceName, SyncBackupInstanceRequest parameters)
      Sync backup instance again in case of failure This action will retry last failed operation and will bring backup instance to valid state.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      parameters - Request body for operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginSyncBackupInstance

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSyncBackupInstance(String resourceGroupName, String vaultName, String backupInstanceName, SyncBackupInstanceRequest parameters, com.azure.core.util.Context context)
      Sync backup instance again in case of failure This action will retry last failed operation and will bring backup instance to valid state.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • syncBackupInstance

      void syncBackupInstance(String resourceGroupName, String vaultName, String backupInstanceName, SyncBackupInstanceRequest parameters)
      Sync backup instance again in case of failure This action will retry last failed operation and will bring backup instance to valid state.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      parameters - Request body for 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.
    • syncBackupInstance

      void syncBackupInstance(String resourceGroupName, String vaultName, String backupInstanceName, SyncBackupInstanceRequest parameters, com.azure.core.util.Context context)
      Sync backup instance again in case of failure This action will retry last failed operation and will bring backup instance to valid state.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The backupInstanceName parameter.
      parameters - Request body for operation.
      context - The context to associate with this 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.
    • beginValidateForRestore

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationJobExtendedInfoInner>,OperationJobExtendedInfoInner> beginValidateForRestore(String resourceGroupName, String vaultName, String backupInstanceName, ValidateRestoreRequestObject parameters)
      Validates if Restore can be triggered for a DataSource.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      Returns:
      the SyncPoller for polling of operationJobExtendedInfo.
      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.
    • beginValidateForRestore

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationJobExtendedInfoInner>,OperationJobExtendedInfoInner> beginValidateForRestore(String resourceGroupName, String vaultName, String backupInstanceName, ValidateRestoreRequestObject parameters, com.azure.core.util.Context context)
      Validates if Restore can be triggered for a DataSource.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of operationJobExtendedInfo.
      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.
    • validateForRestore

      OperationJobExtendedInfoInner validateForRestore(String resourceGroupName, String vaultName, String backupInstanceName, ValidateRestoreRequestObject parameters)
      Validates if Restore can be triggered for a DataSource.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      Returns:
      operationJobExtendedInfo.
      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.
    • validateForRestore

      OperationJobExtendedInfoInner validateForRestore(String resourceGroupName, String vaultName, String backupInstanceName, ValidateRestoreRequestObject parameters, com.azure.core.util.Context context)
      Validates if Restore can be triggered for a DataSource.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the backup instance.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      operationJobExtendedInfo.
      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.