Interface RecoverableManagedDatabasesClient


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

    • listByInstanceAsync

      com.azure.core.http.rest.PagedFlux<RecoverableManagedDatabaseInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName)
      Gets a list of recoverable managed 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.
      managedInstanceName - The name of the managed instance.
      Returns:
      a list of recoverable managed 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.
    • listByInstance

      com.azure.core.http.rest.PagedIterable<RecoverableManagedDatabaseInner> listByInstance(String resourceGroupName, String managedInstanceName)
      Gets a list of recoverable managed 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.
      managedInstanceName - The name of the managed instance.
      Returns:
      a list of recoverable managed 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.
    • listByInstance

      com.azure.core.http.rest.PagedIterable<RecoverableManagedDatabaseInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context)
      Gets a list of recoverable managed 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.
      managedInstanceName - The name of the managed instance.
      context - The context to associate with this operation.
      Returns:
      a list of recoverable managed 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<RecoverableManagedDatabaseInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String recoverableDatabaseName)
      Gets a recoverable managed 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.
      managedInstanceName - The name of the managed instance.
      recoverableDatabaseName - The recoverableDatabaseName parameter.
      Returns:
      a recoverable managed 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<RecoverableManagedDatabaseInner> getAsync(String resourceGroupName, String managedInstanceName, String recoverableDatabaseName)
      Gets a recoverable managed 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.
      managedInstanceName - The name of the managed instance.
      recoverableDatabaseName - The recoverableDatabaseName parameter.
      Returns:
      a recoverable managed 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<RecoverableManagedDatabaseInner> getWithResponse(String resourceGroupName, String managedInstanceName, String recoverableDatabaseName, com.azure.core.util.Context context)
      Gets a recoverable managed 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.
      managedInstanceName - The name of the managed instance.
      recoverableDatabaseName - The recoverableDatabaseName parameter.
      context - The context to associate with this operation.
      Returns:
      a recoverable managed 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

      RecoverableManagedDatabaseInner get(String resourceGroupName, String managedInstanceName, String recoverableDatabaseName)
      Gets a recoverable managed 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.
      managedInstanceName - The name of the managed instance.
      recoverableDatabaseName - The recoverableDatabaseName parameter.
      Returns:
      a recoverable managed 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.