Interface RestorableDroppedDatabasesClient


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

    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<RestorableDroppedDatabaseInner> listByServerAsync(String resourceGroupName, String serverName)
      Gets a list of restorable dropped databases.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      Returns:
      a list of restorable dropped databases as paginated response with PagedFlux.
      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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<RestorableDroppedDatabaseInner> listByServer(String resourceGroupName, String serverName)
      Gets a list of restorable dropped databases.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      Returns:
      a list of restorable dropped databases 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<RestorableDroppedDatabaseInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Gets a list of restorable dropped databases.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      a list of restorable dropped databases 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RestorableDroppedDatabaseInner>> getWithResponseAsync(String resourceGroupName, String serverName, String restorableDroppedDatabaseId)
      Gets a restorable dropped database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
      Returns:
      a restorable dropped database along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<RestorableDroppedDatabaseInner> getAsync(String resourceGroupName, String serverName, String restorableDroppedDatabaseId)
      Gets a restorable dropped database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
      Returns:
      a restorable dropped database on successful completion of Mono.
      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<RestorableDroppedDatabaseInner> getWithResponse(String resourceGroupName, String serverName, String restorableDroppedDatabaseId, com.azure.core.util.Context context)
      Gets a restorable dropped database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
      context - The context to associate with this operation.
      Returns:
      a restorable dropped database 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

      RestorableDroppedDatabaseInner get(String resourceGroupName, String serverName, String restorableDroppedDatabaseId)
      Gets a restorable dropped database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
      Returns:
      a restorable dropped database.
      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.