Interface RecoverableDatabasesClient
-
public interface RecoverableDatabasesClientAn instance of this class provides access to all the operations defined in RecoverableDatabasesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecoverableDatabaseInnerget(String resourceGroupName, String serverName, String databaseName)Gets a recoverable database, which is a resource representing a database's geo backup.Mono<RecoverableDatabaseInner>getAsync(String resourceGroupName, String serverName, String databaseName)Gets a recoverable database, which is a resource representing a database's geo backup.com.azure.core.http.rest.Response<RecoverableDatabaseInner>getWithResponse(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)Gets a recoverable database, which is a resource representing a database's geo backup.Mono<com.azure.core.http.rest.Response<RecoverableDatabaseInner>>getWithResponseAsync(String resourceGroupName, String serverName, String databaseName)Gets a recoverable database, which is a resource representing a database's geo backup.com.azure.core.http.rest.PagedIterable<RecoverableDatabaseInner>listByServer(String resourceGroupName, String serverName)Gets a list of recoverable databases.com.azure.core.http.rest.PagedIterable<RecoverableDatabaseInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)Gets a list of recoverable databases.com.azure.core.http.rest.PagedFlux<RecoverableDatabaseInner>listByServerAsync(String resourceGroupName, String serverName)Gets a list of recoverable databases.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RecoverableDatabaseInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName)
Gets a recoverable database, which is a resource representing a database's geo backup.- 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.databaseName- The name of the database.- Returns:
- a recoverable database, which is a resource representing a database's geo 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.
-
getAsync
Mono<RecoverableDatabaseInner> getAsync(String resourceGroupName, String serverName, String databaseName)
Gets a recoverable database, which is a resource representing a database's geo backup.- 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.databaseName- The name of the database.- Returns:
- a recoverable database, which is a resource representing a database's geo 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.
-
get
RecoverableDatabaseInner get(String resourceGroupName, String serverName, String databaseName)
Gets a recoverable database, which is a resource representing a database's geo backup.- 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.databaseName- The name of the database.- Returns:
- a recoverable database, which is a resource representing a database's geo 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.
-
getWithResponse
com.azure.core.http.rest.Response<RecoverableDatabaseInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
Gets a recoverable database, which is a resource representing a database's geo backup.- 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.databaseName- The name of the database.context- The context to associate with this operation.- Returns:
- a recoverable database, which is a resource representing a database's geo 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.
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<RecoverableDatabaseInner> listByServerAsync(String resourceGroupName, String serverName)
Gets a list of recoverable 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 recoverable databases.
- 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<RecoverableDatabaseInner> listByServer(String resourceGroupName, String serverName)
Gets a list of recoverable 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 recoverable databases.
- 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<RecoverableDatabaseInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Gets a list of recoverable 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 recoverable databases.
- 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.
-
-