Interface BackupsClient
public interface BackupsClient
An instance of this class provides access to all the operations defined in BackupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInner>,
BackupInner> beginCreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body) Create a backupcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInner>,
BackupInner> beginCreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body, com.azure.core.util.Context context) Create a backupbeginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) Delete backupbeginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, com.azure.core.util.Context context) Delete backupcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInner>,
BackupInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body) Patch a backupcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInner>,
BackupInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body, com.azure.core.util.Context context) Patch a backupcreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body) Create a backupcreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body, com.azure.core.util.Context context) Create a backupvoid
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) Delete backupvoid
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, com.azure.core.util.Context context) Delete backupget
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) Get a backupGet volume's backup statuscom.azure.core.http.rest.Response<BackupStatusInner>
getStatusWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Get volume's backup statusgetVolumeRestoreStatus
(String resourceGroupName, String accountName, String poolName, String volumeName) Get volume's restore statuscom.azure.core.http.rest.Response<RestoreStatusInner>
getVolumeRestoreStatusWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Get volume's restore statuscom.azure.core.http.rest.Response<BackupInner>
getWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, com.azure.core.util.Context context) Get a backupcom.azure.core.http.rest.PagedIterable<BackupInner>
List Backupscom.azure.core.http.rest.PagedIterable<BackupInner>
list
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List Backupsupdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) Patch a backupupdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body) Patch a backupupdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body, com.azure.core.util.Context context) Patch a backup
-
Method Details
-
getStatus
BackupStatusInner getStatus(String resourceGroupName, String accountName, String poolName, String volumeName) Get volume's backup statusGet the status of the backup for a volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- the status of the backup for a volume.
- 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.
-
getStatusWithResponse
com.azure.core.http.rest.Response<BackupStatusInner> getStatusWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Get volume's backup statusGet the status of the backup for a volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- the status of the backup for a volume 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.
-
getVolumeRestoreStatus
RestoreStatusInner getVolumeRestoreStatus(String resourceGroupName, String accountName, String poolName, String volumeName) Get volume's restore statusGet the status of the restore for a volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- the status of the restore for a volume.
- 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.
-
getVolumeRestoreStatusWithResponse
com.azure.core.http.rest.Response<RestoreStatusInner> getVolumeRestoreStatusWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Get volume's restore statusGet the status of the restore for a volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- the status of the restore for a volume 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.
-
list
com.azure.core.http.rest.PagedIterable<BackupInner> list(String resourceGroupName, String accountName, String poolName, String volumeName) List BackupsList all backups for a volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- list of Backups 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<BackupInner> list(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List BackupsList all backups for a volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- list of Backups 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.
-
get
BackupInner get(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) Get a backupGets the specified backup of the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.- Returns:
- the specified backup of the volume.
- 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<BackupInner> getWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, com.azure.core.util.Context context) Get a backupGets the specified backup of the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.context
- The context to associate with this operation.- Returns:
- the specified backup of the volume 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInner>,BackupInner> beginCreate(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body) Create a backupCreate a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.body
- Backup object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of backup of a Volume. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInner>,BackupInner> beginCreate(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body, com.azure.core.util.Context context) Create a backupCreate a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.body
- Backup object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of backup of a Volume. - 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.
-
create
BackupInner create(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body) Create a backupCreate a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.body
- Backup object supplied in the body of the operation.- Returns:
- backup of a Volume.
- 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.
-
create
BackupInner create(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body, com.azure.core.util.Context context) Create a backupCreate a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.body
- Backup object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- backup of a Volume.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInner>,BackupInner> beginUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body) Patch a backupPatch a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.body
- Backup object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of backup of a Volume. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInner>,BackupInner> beginUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body, com.azure.core.util.Context context) Patch a backupPatch a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.body
- Backup object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of backup of a Volume. - 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.
-
update
BackupInner update(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body) Patch a backupPatch a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.body
- Backup object supplied in the body of the operation.- Returns:
- backup of a Volume.
- 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.
-
update
BackupInner update(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) Patch a backupPatch a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.- Returns:
- backup of a Volume.
- 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.
-
update
BackupInner update(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body, com.azure.core.util.Context context) Patch a backupPatch a backup for the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.body
- Backup object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- backup of a Volume.
- 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 accountName, String poolName, String volumeName, String backupName) Delete backupDelete a backup of the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.- 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 accountName, String poolName, String volumeName, String backupName, com.azure.core.util.Context context) Delete backupDelete a backup of the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.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 accountName, String poolName, String volumeName, String backupName) Delete backupDelete a backup of the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.- 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 accountName, String poolName, String volumeName, String backupName, com.azure.core.util.Context context) Delete backupDelete a backup of the volume.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.backupName
- The name of the backup.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.
-