Interface DeletedBackupInstances


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

    • list

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

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

      void undelete(String resourceGroupName, String vaultName, String backupInstanceName)
      The undelete operation.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the deleted 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.
    • undelete

      void undelete(String resourceGroupName, String vaultName, String backupInstanceName, com.azure.core.util.Context context)
      The undelete operation.
      Parameters:
      resourceGroupName - The name of the resource group where the backup vault is present.
      vaultName - The name of the backup vault.
      backupInstanceName - The name of the deleted 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.