Interface BackupsUnderBackupVaultsClient
public interface BackupsUnderBackupVaultsClient
An instance of this class provides access to all the operations defined in BackupsUnderBackupVaultsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginRestoreFiles
(String resourceGroupName, String accountName, String backupVaultName, String backupName, BackupRestoreFiles body) Create a new Backup Restore Files request Restore the specified files from the specified backup to the active filesystem.beginRestoreFiles
(String resourceGroupName, String accountName, String backupVaultName, String backupName, BackupRestoreFiles body, com.azure.core.util.Context context) Create a new Backup Restore Files request Restore the specified files from the specified backup to the active filesystem.void
restoreFiles
(String resourceGroupName, String accountName, String backupVaultName, String backupName, BackupRestoreFiles body) Create a new Backup Restore Files request Restore the specified files from the specified backup to the active filesystem.void
restoreFiles
(String resourceGroupName, String accountName, String backupVaultName, String backupName, BackupRestoreFiles body, com.azure.core.util.Context context) Create a new Backup Restore Files request Restore the specified files from the specified backup to the active filesystem.
-
Method Details
-
beginRestoreFiles
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestoreFiles(String resourceGroupName, String accountName, String backupVaultName, String backupName, BackupRestoreFiles body) Create a new Backup Restore Files request Restore the specified files from the specified backup to the active filesystem.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.backupName
- The name of the backup.body
- Restore payload supplied in the body of the 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.
-
beginRestoreFiles
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestoreFiles(String resourceGroupName, String accountName, String backupVaultName, String backupName, BackupRestoreFiles body, com.azure.core.util.Context context) Create a new Backup Restore Files request Restore the specified files from the specified backup to the active filesystem.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.backupName
- The name of the backup.body
- Restore payload supplied in the body of the 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.
-
restoreFiles
void restoreFiles(String resourceGroupName, String accountName, String backupVaultName, String backupName, BackupRestoreFiles body) Create a new Backup Restore Files request Restore the specified files from the specified backup to the active filesystem.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.backupName
- The name of the backup.body
- Restore payload supplied in the body of the operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
restoreFiles
void restoreFiles(String resourceGroupName, String accountName, String backupVaultName, String backupName, BackupRestoreFiles body, com.azure.core.util.Context context) Create a new Backup Restore Files request Restore the specified files from the specified backup to the active filesystem.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.backupName
- The name of the backup.body
- Restore payload supplied in the body of the 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.
-