Package com.oracle.cloud.spring.adb
Interface AutonomousDb
- All Known Implementing Classes:
AutonomousDbImpl
public interface AutonomousDb
Interface for OCI Autonomous Database module.
-
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.bmc.database.responses.CreateAutonomousDatabaseResponse
createAutonomousDatabase
(String databaseName, String compartmentId, String adminPassword, Integer dataStorageSizeInGBs, Float computeCount) Create an Autonomous Database.com.oracle.bmc.database.responses.DeleteAutonomousDatabaseResponse
deleteAutonomousDatabase
(String databaseId) Delete an Autonomous Database.com.oracle.bmc.database.responses.GenerateAutonomousDatabaseWalletResponse
generateAutonomousDatabaseWallet
(String databaseId, String password) Generate a wallet for an Autonomous Database.getAutonomousDatabase
(String databaseId) Get details of an Autonomous Database.com.oracle.bmc.database.DatabaseClient
Direct instance of OCI Java SDK DatabaseClient.
-
Method Details
-
getDatabaseClient
com.oracle.bmc.database.DatabaseClient getDatabaseClient()Direct instance of OCI Java SDK DatabaseClient.- Returns:
- DatabaseClient
-
createAutonomousDatabase
com.oracle.bmc.database.responses.CreateAutonomousDatabaseResponse createAutonomousDatabase(String databaseName, String compartmentId, String adminPassword, Integer dataStorageSizeInGBs, Float computeCount) Create an Autonomous Database.- Parameters:
databaseName
- Name of the Autonomous Database to be createdcompartmentId
- Compartment OCID where the Autonomous Database needs to be created- Returns:
- CreateAutonomousDatabaseResponse
-
getAutonomousDatabase
Get details of an Autonomous Database.- Parameters:
databaseId
- OCID of the Autonomous Database to get details of- Returns:
- GetAutonomousDatabaseResponse
-
generateAutonomousDatabaseWallet
com.oracle.bmc.database.responses.GenerateAutonomousDatabaseWalletResponse generateAutonomousDatabaseWallet(String databaseId, String password) Generate a wallet for an Autonomous Database.- Parameters:
databaseId
- OCID of the Autonomous Database to get generate a wallet forpassword
- Password for the wallet- Returns:
- GenerateAutonomousDatabaseWalletResponse
-
deleteAutonomousDatabase
com.oracle.bmc.database.responses.DeleteAutonomousDatabaseResponse deleteAutonomousDatabase(String databaseId) Delete an Autonomous Database.- Parameters:
databaseId
- OCID of the Autonomous Database to be deleted- Returns:
- DeleteAutonomousDatabaseResponse
-