Interface BackupInstancesClient


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

      • list

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

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

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

        com.azure.core.http.rest.Response<BackupInstanceResourceInner> getWithResponse​(String vaultName,
                                                                                       String resourceGroupName,
                                                                                       String backupInstanceName,
                                                                                       com.azure.core.util.Context context)
        Gets a backup instance with name in a backup vault.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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.
        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 vaultName,
                                                                                                                                                                                String resourceGroupName,
                                                                                                                                                                                String backupInstanceName,
                                                                                                                                                                                BackupInstanceResourceInner parameters)
        Create or update a backup instance in a backup vault.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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.
      • beginCreateOrUpdate

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

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

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

        OperationJobExtendedInfoInner adhocBackup​(String vaultName,
                                                  String resourceGroupName,
                                                  String backupInstanceName,
                                                  TriggerBackupRequest parameters)
        Trigger adhoc backup.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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 vaultName,
                                                  String resourceGroupName,
                                                  String backupInstanceName,
                                                  TriggerBackupRequest parameters,
                                                  com.azure.core.util.Context context)
        Trigger adhoc backup.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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 vaultName,
                                                                                                                                                                                       String resourceGroupName,
                                                                                                                                                                                       ValidateForBackupRequest parameters)
        Validate whether adhoc backup will be successful or not.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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.
      • beginValidateForBackup

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

        OperationJobExtendedInfoInner validateForBackup​(String vaultName,
                                                        String resourceGroupName,
                                                        ValidateForBackupRequest parameters)
        Validate whether adhoc backup will be successful or not.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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 vaultName,
                                                        String resourceGroupName,
                                                        ValidateForBackupRequest parameters,
                                                        com.azure.core.util.Context context)
        Validate whether adhoc backup will be successful or not.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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.
      • 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 completion.
        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 completion.
        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 vaultName,
                                                                                                                                                                                    String resourceGroupName,
                                                                                                                                                                                    String backupInstanceName,
                                                                                                                                                                                    AzureBackupRestoreRequest parameters)
        Triggers restore for a BackupInstance.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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.
      • beginTriggerRestore

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

        OperationJobExtendedInfoInner triggerRestore​(String vaultName,
                                                     String resourceGroupName,
                                                     String backupInstanceName,
                                                     AzureBackupRestoreRequest parameters)
        Triggers restore for a BackupInstance.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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 vaultName,
                                                     String resourceGroupName,
                                                     String backupInstanceName,
                                                     AzureBackupRestoreRequest parameters,
                                                     com.azure.core.util.Context context)
        Triggers restore for a BackupInstance.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        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.
      • beginValidateForRestore

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

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

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