Interface DeletedBackupInstancesClient


public interface DeletedBackupInstancesClient
An instance of this class provides access to all the operations defined in DeletedBackupInstancesClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<DeletedBackupInstanceResourceInner> 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<DeletedBackupInstanceResourceInner> 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<DeletedBackupInstanceResourceInner> 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

      DeletedBackupInstanceResourceInner 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.
    • beginUndelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUndelete(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.
      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.
    • beginUndelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUndelete(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.
      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.
    • 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.