Interface Backups


public interface Backups
Resource collection API of Backups.
  • Method Details

    • getLatestStatusWithResponse

      com.azure.core.http.rest.Response<BackupStatus> getLatestStatusWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context)
      Get the latest backup status of a volume Get the latest status of the backup for a volume.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      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 latest 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.
    • getLatestStatus

      BackupStatus getLatestStatus(String resourceGroupName, String accountName, String poolName, String volumeName)
      Get the latest backup status of a volume Get the latest status of the backup for a volume.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the NetApp account.
      poolName - The name of the capacity pool.
      volumeName - The name of the volume.
      Returns:
      the latest 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.
    • getVolumeLatestRestoreStatusWithResponse

      com.azure.core.http.rest.Response<RestoreStatus> getVolumeLatestRestoreStatusWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context)
      Get the latest restore status of a volume Get the latest status of the restore for a volume.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      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 latest 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.
    • getVolumeLatestRestoreStatus

      RestoreStatus getVolumeLatestRestoreStatus(String resourceGroupName, String accountName, String poolName, String volumeName)
      Get the latest restore status of a volume Get the latest status of the restore for a volume.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the NetApp account.
      poolName - The name of the capacity pool.
      volumeName - The name of the volume.
      Returns:
      the latest 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.
    • listByVault

      com.azure.core.http.rest.PagedIterable<Backup> listByVault(String resourceGroupName, String accountName, String backupVaultName)
      List Backups List all backups Under a Backup Vault.
      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.
      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.
    • listByVault

      com.azure.core.http.rest.PagedIterable<Backup> listByVault(String resourceGroupName, String accountName, String backupVaultName, String filter, com.azure.core.util.Context context)
      List Backups List all backups Under a Backup Vault.
      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.
      filter - An option to specify the VolumeResourceId. If present, then only returns the backups under the specified 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.
    • getWithResponse

      com.azure.core.http.rest.Response<Backup> getWithResponse(String resourceGroupName, String accountName, String backupVaultName, String backupName, com.azure.core.util.Context context)
      Describe the Backup under Backup Vault Get the specified Backup under Backup Vault.
      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.
      context - The context to associate with this operation.
      Returns:
      the specified Backup under 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

      Backup get(String resourceGroupName, String accountName, String backupVaultName, String backupName)
      Describe the Backup under Backup Vault Get the specified Backup under Backup Vault.
      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.
      Returns:
      the specified Backup under 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.
    • delete

      void delete(String resourceGroupName, String accountName, String backupVaultName, String backupName)
      Delete backup Delete a Backup under the Backup Vault.
      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.
      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 backupVaultName, String backupName, com.azure.core.util.Context context)
      Delete backup Delete a Backup under the Backup Vault.
      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.
      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.
    • getById

      Backup getById(String id)
      Describe the Backup under Backup Vault Get the specified Backup under Backup Vault.
      Parameters:
      id - the resource ID.
      Returns:
      the specified Backup under 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<Backup> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Describe the Backup under Backup Vault Get the specified Backup under Backup Vault.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the specified Backup under 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.
    • deleteById

      void deleteById(String id)
      Delete backup Delete a Backup under the Backup Vault.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete backup Delete a Backup under the Backup Vault.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new Backup resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Backup definition.