Interface BackupsClient
-
public interface BackupsClient
An instance of this class provides access to all the operations defined in BackupsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 backup for the volume.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 backup for the volume.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 a backup of the volume.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 a backup of the volume.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 backup for the volume.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 backup for the volume.BackupInner
create(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body)
Create a backup for the volume.BackupInner
create(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupInner body, com.azure.core.util.Context context)
Create a backup for the volume.void
delete(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName)
Delete a backup of the volume.void
delete(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, com.azure.core.util.Context context)
Delete a backup of the volume.BackupInner
get(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName)
Gets the specified backup of the volume.BackupStatusInner
getStatus(String resourceGroupName, String accountName, String poolName, String volumeName)
Get the status of the backup for a volume.com.azure.core.http.rest.Response<BackupStatusInner>
getStatusWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context)
Get the status of the backup for a volume.RestoreStatusInner
getVolumeRestoreStatus(String resourceGroupName, String accountName, String poolName, String volumeName)
Get the status of the restore for a volume.com.azure.core.http.rest.Response<RestoreStatusInner>
getVolumeRestoreStatusWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context)
Get the status of the restore for a volume.com.azure.core.http.rest.Response<BackupInner>
getWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, com.azure.core.util.Context context)
Gets the specified backup of the volume.com.azure.core.http.rest.PagedIterable<BackupInner>
list(String resourceGroupName, String accountName, String poolName, String volumeName)
List all backups for a volume.com.azure.core.http.rest.PagedIterable<BackupInner>
list(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context)
List all backups for a volume.BackupInner
update(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName)
Patch a backup for the volume.BackupInner
update(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body)
Patch a backup for the volume.BackupInner
update(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName, BackupPatch body, com.azure.core.util.Context context)
Patch a backup for the volume.
-
-
-
Method Detail
-
getStatus
BackupStatusInner getStatus(String resourceGroupName, String accountName, String poolName, String volumeName)
Get 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 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 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 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 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 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)
Gets 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)
Gets 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 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 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 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 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 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 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 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 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 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 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 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 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 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.
-
-