@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public interface DatabaseAsync extends AutoCloseable
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.Future<CompleteExternalBackupJobResponse> completeExternalBackupJob(CompleteExternalBackupJobRequest request, AsyncHandler<CompleteExternalBackupJobRequest,CompleteExternalBackupJobResponse> handler)
Changes the status of the standalone backup resource to ACTIVE
after the backup is created from the on-premises database and placed in Oracle Cloud Infrastructure Object Storage.
Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud for more information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateAutonomousContainerDatabaseResponse> createAutonomousContainerDatabase(CreateAutonomousContainerDatabaseRequest request, AsyncHandler<CreateAutonomousContainerDatabaseRequest,CreateAutonomousContainerDatabaseResponse> handler)
Create a new Autonomous Container Database in the specified Autonomous Exadata Infrastructure.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateAutonomousDataWarehouseResponse> createAutonomousDataWarehouse(CreateAutonomousDataWarehouseRequest request, AsyncHandler<CreateAutonomousDataWarehouseRequest,CreateAutonomousDataWarehouseResponse> handler)
Deprecated. To create a new Autonomous Data Warehouse, use the createAutonomousDatabase
operation and specify DW
as the workload type.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateAutonomousDataWarehouseBackupResponse> createAutonomousDataWarehouseBackup(CreateAutonomousDataWarehouseBackupRequest request, AsyncHandler<CreateAutonomousDataWarehouseBackupRequest,CreateAutonomousDataWarehouseBackupResponse> handler)
Deprecated. To create a new Autonomous Data Warehouse backup for a specified database, use the createAutonomousDatabaseBackup
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateAutonomousDatabaseResponse> createAutonomousDatabase(CreateAutonomousDatabaseRequest request, AsyncHandler<CreateAutonomousDatabaseRequest,CreateAutonomousDatabaseResponse> handler)
Creates a new Autonomous Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateAutonomousDatabaseBackupResponse> createAutonomousDatabaseBackup(CreateAutonomousDatabaseBackupRequest request, AsyncHandler<CreateAutonomousDatabaseBackupRequest,CreateAutonomousDatabaseBackupResponse> handler)
Creates a new Autonomous Database backup for the specified database based on the provided request parameters.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateBackupResponse> createBackup(CreateBackupRequest request, AsyncHandler<CreateBackupRequest,CreateBackupResponse> handler)
Creates a new backup in the specified database based on the request parameters you provide. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDataGuardAssociationResponse> createDataGuardAssociation(CreateDataGuardAssociationRequest request, AsyncHandler<CreateDataGuardAssociationRequest,CreateDataGuardAssociationResponse> handler)
Creates a new Data Guard association. A Data Guard association represents the replication relationship between the specified database and a peer database. For more information, see Using Oracle Data Guard.
All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource’s OCID by using a List API operation on that resource type, or by viewing the resource in the Console. For more information, see Resource Identifiers.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDbHomeResponse> createDbHome(CreateDbHomeRequest request, AsyncHandler<CreateDbHomeRequest,CreateDbHomeResponse> handler)
Creates a new database home in the specified DB system based on the request parameters you provide.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateExternalBackupJobResponse> createExternalBackupJob(CreateExternalBackupJobRequest request, AsyncHandler<CreateExternalBackupJobRequest,CreateExternalBackupJobResponse> handler)
Creates a new backup resource and returns the information the caller needs to back up an on-premises Oracle Database to Oracle Cloud Infrastructure.
Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud for more information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DbNodeActionResponse> dbNodeAction(DbNodeActionRequest request, AsyncHandler<DbNodeActionRequest,DbNodeActionResponse> handler)
Performs one of the following power actions on the specified DB node: - start - power on - stop - power off - softreset - ACPI shutdown and power on - reset - power off and power on
Note:** Stopping a node affects billing differently, depending on the type of DB system: Bare metal and Exadata DB systems - The stop state has no effect on the resources you consume. Billing continues for DB nodes that you stop, and related resources continue to apply against any relevant quotas. You must terminate the DB system (terminateDbSystem
) to remove its resources from billing and quotas. Virtual machine DB systems - Stopping a node stops billing for all OCPUs associated with that node, and billing resumes when you restart the node.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteAutonomousDataWarehouseResponse> deleteAutonomousDataWarehouse(DeleteAutonomousDataWarehouseRequest request, AsyncHandler<DeleteAutonomousDataWarehouseRequest,DeleteAutonomousDataWarehouseResponse> handler)
Deprecated. To delete an Autonomous Data Warehouse, use the deleteAutonomousDatabase
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteAutonomousDatabaseResponse> deleteAutonomousDatabase(DeleteAutonomousDatabaseRequest request, AsyncHandler<DeleteAutonomousDatabaseRequest,DeleteAutonomousDatabaseResponse> handler)
Deletes the specified Autonomous Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteBackupResponse> deleteBackup(DeleteBackupRequest request, AsyncHandler<DeleteBackupRequest,DeleteBackupResponse> handler)
Deletes a full backup. You cannot delete automatic backups using this API.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDbHomeResponse> deleteDbHome(DeleteDbHomeRequest request, AsyncHandler<DeleteDbHomeRequest,DeleteDbHomeResponse> handler)
Deletes a DB Home. The DB Home and its database data are local to the DB system and will be lost when it is deleted. Oracle recommends that you back up any data in the DB system prior to deleting it.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<FailoverDataGuardAssociationResponse> failoverDataGuardAssociation(FailoverDataGuardAssociationRequest request, AsyncHandler<FailoverDataGuardAssociationRequest,FailoverDataGuardAssociationResponse> handler)
Performs a failover to transition the standby database identified by the databaseId
parameter into the specified Data Guard association’s primary role after the existing primary database fails or becomes unreachable.
A failover might result in data loss depending on the protection mode in effect at the time of the primary database failure.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GenerateAutonomousDataWarehouseWalletResponse> generateAutonomousDataWarehouseWallet(GenerateAutonomousDataWarehouseWalletRequest request, AsyncHandler<GenerateAutonomousDataWarehouseWalletRequest,GenerateAutonomousDataWarehouseWalletResponse> handler)
Deprecated. To create and download a wallet for an Autonomous Data Warehouse, use the generateAutonomousDatabaseWallet
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GenerateAutonomousDatabaseWalletResponse> generateAutonomousDatabaseWallet(GenerateAutonomousDatabaseWalletRequest request, AsyncHandler<GenerateAutonomousDatabaseWalletRequest,GenerateAutonomousDatabaseWalletResponse> handler)
Creates and downloads a wallet for the specified Autonomous Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAutonomousContainerDatabaseResponse> getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest request, AsyncHandler<GetAutonomousContainerDatabaseRequest,GetAutonomousContainerDatabaseResponse> handler)
Gets information about the specified Autonomous Container Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAutonomousDataWarehouseResponse> getAutonomousDataWarehouse(GetAutonomousDataWarehouseRequest request, AsyncHandler<GetAutonomousDataWarehouseRequest,GetAutonomousDataWarehouseResponse> handler)
Deprecated. To get the details of an Autonomous Data Warehouse, use the getAutonomousDatabase
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAutonomousDataWarehouseBackupResponse> getAutonomousDataWarehouseBackup(GetAutonomousDataWarehouseBackupRequest request, AsyncHandler<GetAutonomousDataWarehouseBackupRequest,GetAutonomousDataWarehouseBackupResponse> handler)
Deprecated. To get information about a specified Autonomous Data Warehouse backup, use the getAutonomousDatabaseBackup
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAutonomousDatabaseResponse> getAutonomousDatabase(GetAutonomousDatabaseRequest request, AsyncHandler<GetAutonomousDatabaseRequest,GetAutonomousDatabaseResponse> handler)
Gets the details of the specified Autonomous Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAutonomousDatabaseBackupResponse> getAutonomousDatabaseBackup(GetAutonomousDatabaseBackupRequest request, AsyncHandler<GetAutonomousDatabaseBackupRequest,GetAutonomousDatabaseBackupResponse> handler)
Gets information about the specified Autonomous Database backup.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetAutonomousExadataInfrastructureResponse> getAutonomousExadataInfrastructure(GetAutonomousExadataInfrastructureRequest request, AsyncHandler<GetAutonomousExadataInfrastructureRequest,GetAutonomousExadataInfrastructureResponse> handler)
Gets information about the specified Autonomous Exadata Infrastructure.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBackupResponse> getBackup(GetBackupRequest request, AsyncHandler<GetBackupRequest,GetBackupResponse> handler)
Gets information about the specified backup.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDataGuardAssociationResponse> getDataGuardAssociation(GetDataGuardAssociationRequest request, AsyncHandler<GetDataGuardAssociationRequest,GetDataGuardAssociationResponse> handler)
Gets the specified Data Guard association’s configuration information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDatabaseResponse> getDatabase(GetDatabaseRequest request, AsyncHandler<GetDatabaseRequest,GetDatabaseResponse> handler)
Gets information about a specific database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDbHomeResponse> getDbHome(GetDbHomeRequest request, AsyncHandler<GetDbHomeRequest,GetDbHomeResponse> handler)
Gets information about the specified database home.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDbHomePatchResponse> getDbHomePatch(GetDbHomePatchRequest request, AsyncHandler<GetDbHomePatchRequest,GetDbHomePatchResponse> handler)
Gets information about a specified patch package.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDbHomePatchHistoryEntryResponse> getDbHomePatchHistoryEntry(GetDbHomePatchHistoryEntryRequest request, AsyncHandler<GetDbHomePatchHistoryEntryRequest,GetDbHomePatchHistoryEntryResponse> handler)
Gets the patch history details for the specified patchHistoryEntryId
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDbNodeResponse> getDbNode(GetDbNodeRequest request, AsyncHandler<GetDbNodeRequest,GetDbNodeResponse> handler)
Gets information about the specified database node.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDbSystemResponse> getDbSystem(GetDbSystemRequest request, AsyncHandler<GetDbSystemRequest,GetDbSystemResponse> handler)
Gets information about the specified DB system.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDbSystemPatchResponse> getDbSystemPatch(GetDbSystemPatchRequest request, AsyncHandler<GetDbSystemPatchRequest,GetDbSystemPatchResponse> handler)
Gets information about a specified patch package.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDbSystemPatchHistoryEntryResponse> getDbSystemPatchHistoryEntry(GetDbSystemPatchHistoryEntryRequest request, AsyncHandler<GetDbSystemPatchHistoryEntryRequest,GetDbSystemPatchHistoryEntryResponse> handler)
Gets the patch history details for the specified patchHistoryEntryId.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetExadataIormConfigResponse> getExadataIormConfig(GetExadataIormConfigRequest request, AsyncHandler<GetExadataIormConfigRequest,GetExadataIormConfigResponse> handler)
Gets IORM
Setting for the requested Exadata DB System. The default IORM Settings is pre-created in all the Exadata DB System.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetExternalBackupJobResponse> getExternalBackupJob(GetExternalBackupJobRequest request, AsyncHandler<GetExternalBackupJobRequest,GetExternalBackupJobResponse> handler)
Gets information about the specified external backup job.
Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud for more information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetMaintenanceRunResponse> getMaintenanceRun(GetMaintenanceRunRequest request, AsyncHandler<GetMaintenanceRunRequest,GetMaintenanceRunResponse> handler)
Gets information about the specified Maintenance Run.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<LaunchAutonomousExadataInfrastructureResponse> launchAutonomousExadataInfrastructure(LaunchAutonomousExadataInfrastructureRequest request, AsyncHandler<LaunchAutonomousExadataInfrastructureRequest,LaunchAutonomousExadataInfrastructureResponse> handler)
Launches a new Autonomous Exadata Infrastructure in the specified compartment and availability domain.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<LaunchDbSystemResponse> launchDbSystem(LaunchDbSystemRequest request, AsyncHandler<LaunchDbSystemRequest,LaunchDbSystemResponse> handler)
Launches a new DB system in the specified compartment and availability domain. The Oracle Database edition that you specify applies to all the databases on that DB system. The selected edition cannot be changed.
An initial database is created on the DB system based on the request parameters you provide and some default options. For more information, see Default Options for the Initial Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAutonomousContainerDatabasesResponse> listAutonomousContainerDatabases(ListAutonomousContainerDatabasesRequest request, AsyncHandler<ListAutonomousContainerDatabasesRequest,ListAutonomousContainerDatabasesResponse> handler)
Gets a list of the Autonomous Container Databases in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAutonomousDataWarehouseBackupsResponse> listAutonomousDataWarehouseBackups(ListAutonomousDataWarehouseBackupsRequest request, AsyncHandler<ListAutonomousDataWarehouseBackupsRequest,ListAutonomousDataWarehouseBackupsResponse> handler)
Deprecated. To get a list of Autonomous Data Warehouse backups, use the listAutonomousDatabaseBackups
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAutonomousDataWarehousesResponse> listAutonomousDataWarehouses(ListAutonomousDataWarehousesRequest request, AsyncHandler<ListAutonomousDataWarehousesRequest,ListAutonomousDataWarehousesResponse> handler)
Deprecated. To get a list of Autonomous Data Warehouses, use the listAutonomousDatabases
operation and specify DW
as the workload type.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAutonomousDatabaseBackupsResponse> listAutonomousDatabaseBackups(ListAutonomousDatabaseBackupsRequest request, AsyncHandler<ListAutonomousDatabaseBackupsRequest,ListAutonomousDatabaseBackupsResponse> handler)
Gets a list of Autonomous Database backups based on either the autonomousDatabaseId
or compartmentId
specified as a query parameter.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAutonomousDatabasesResponse> listAutonomousDatabases(ListAutonomousDatabasesRequest request, AsyncHandler<ListAutonomousDatabasesRequest,ListAutonomousDatabasesResponse> handler)
Gets a list of Autonomous Databases.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAutonomousExadataInfrastructureShapesResponse> listAutonomousExadataInfrastructureShapes(ListAutonomousExadataInfrastructureShapesRequest request, AsyncHandler<ListAutonomousExadataInfrastructureShapesRequest,ListAutonomousExadataInfrastructureShapesResponse> handler)
Gets a list of the shapes that can be used to launch a new Autonomous Exadata Infrastructure DB system. The shape determines resources to allocate to the DB system (CPU cores, memory and storage).
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAutonomousExadataInfrastructuresResponse> listAutonomousExadataInfrastructures(ListAutonomousExadataInfrastructuresRequest request, AsyncHandler<ListAutonomousExadataInfrastructuresRequest,ListAutonomousExadataInfrastructuresResponse> handler)
Gets a list of the Autonomous Exadata Infrastructures in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListBackupsResponse> listBackups(ListBackupsRequest request, AsyncHandler<ListBackupsRequest,ListBackupsResponse> handler)
Gets a list of backups based on the databaseId or compartmentId specified. Either one of the query parameters must be provided.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDataGuardAssociationsResponse> listDataGuardAssociations(ListDataGuardAssociationsRequest request, AsyncHandler<ListDataGuardAssociationsRequest,ListDataGuardAssociationsResponse> handler)
Lists all Data Guard associations for the specified database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDatabasesResponse> listDatabases(ListDatabasesRequest request, AsyncHandler<ListDatabasesRequest,ListDatabasesResponse> handler)
Gets a list of the databases in the specified database home.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbHomePatchHistoryEntriesResponse> listDbHomePatchHistoryEntries(ListDbHomePatchHistoryEntriesRequest request, AsyncHandler<ListDbHomePatchHistoryEntriesRequest,ListDbHomePatchHistoryEntriesResponse> handler)
Gets history of the actions taken for patches for the specified database home.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbHomePatchesResponse> listDbHomePatches(ListDbHomePatchesRequest request, AsyncHandler<ListDbHomePatchesRequest,ListDbHomePatchesResponse> handler)
Lists patches applicable to the requested database home.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbHomesResponse> listDbHomes(ListDbHomesRequest request, AsyncHandler<ListDbHomesRequest,ListDbHomesResponse> handler)
Gets a list of database homes in the specified DB system and compartment. A database home is a directory where Oracle Database software is installed.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbNodesResponse> listDbNodes(ListDbNodesRequest request, AsyncHandler<ListDbNodesRequest,ListDbNodesResponse> handler)
Gets a list of database nodes in the specified DB system and compartment. A database node is a server running database software.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbSystemPatchHistoryEntriesResponse> listDbSystemPatchHistoryEntries(ListDbSystemPatchHistoryEntriesRequest request, AsyncHandler<ListDbSystemPatchHistoryEntriesRequest,ListDbSystemPatchHistoryEntriesResponse> handler)
Gets the history of the patch actions performed on the specified DB system.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbSystemPatchesResponse> listDbSystemPatches(ListDbSystemPatchesRequest request, AsyncHandler<ListDbSystemPatchesRequest,ListDbSystemPatchesResponse> handler)
Lists the patches applicable to the requested DB system.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbSystemShapesResponse> listDbSystemShapes(ListDbSystemShapesRequest request, AsyncHandler<ListDbSystemShapesRequest,ListDbSystemShapesResponse> handler)
Gets a list of the shapes that can be used to launch a new DB system. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbSystemsResponse> listDbSystems(ListDbSystemsRequest request, AsyncHandler<ListDbSystemsRequest,ListDbSystemsResponse> handler)
Gets a list of the DB systems in the specified compartment. You can specify a backupId to list only the DB systems that support creating a database using this backup in this compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDbVersionsResponse> listDbVersions(ListDbVersionsRequest request, AsyncHandler<ListDbVersionsRequest,ListDbVersionsResponse> handler)
Gets a list of supported Oracle Database versions.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListMaintenanceRunsResponse> listMaintenanceRuns(ListMaintenanceRunsRequest request, AsyncHandler<ListMaintenanceRunsRequest,ListMaintenanceRunsResponse> handler)
Gets a list of the Maintenance Runs in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ReinstateDataGuardAssociationResponse> reinstateDataGuardAssociation(ReinstateDataGuardAssociationRequest request, AsyncHandler<ReinstateDataGuardAssociationRequest,ReinstateDataGuardAssociationResponse> handler)
Reinstates the database identified by the databaseId
parameter into the standby role in a Data Guard association.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RestartAutonomousContainerDatabaseResponse> restartAutonomousContainerDatabase(RestartAutonomousContainerDatabaseRequest request, AsyncHandler<RestartAutonomousContainerDatabaseRequest,RestartAutonomousContainerDatabaseResponse> handler)
Rolling restarts the specified Autonomous Container Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RestoreAutonomousDataWarehouseResponse> restoreAutonomousDataWarehouse(RestoreAutonomousDataWarehouseRequest request, AsyncHandler<RestoreAutonomousDataWarehouseRequest,RestoreAutonomousDataWarehouseResponse> handler)
Deprecated. To restore an Autonomous Data Warehouse, use the restoreAutonomousDatabase
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RestoreAutonomousDatabaseResponse> restoreAutonomousDatabase(RestoreAutonomousDatabaseRequest request, AsyncHandler<RestoreAutonomousDatabaseRequest,RestoreAutonomousDatabaseResponse> handler)
Restores an Autonomous Database based on the provided request parameters.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RestoreDatabaseResponse> restoreDatabase(RestoreDatabaseRequest request, AsyncHandler<RestoreDatabaseRequest,RestoreDatabaseResponse> handler)
Restore a Database based on the request parameters you provide.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<StartAutonomousDataWarehouseResponse> startAutonomousDataWarehouse(StartAutonomousDataWarehouseRequest request, AsyncHandler<StartAutonomousDataWarehouseRequest,StartAutonomousDataWarehouseResponse> handler)
Deprecated. To start an Autonomous Data Warehouse, use the startAutonomousDatabase
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<StartAutonomousDatabaseResponse> startAutonomousDatabase(StartAutonomousDatabaseRequest request, AsyncHandler<StartAutonomousDatabaseRequest,StartAutonomousDatabaseResponse> handler)
Starts the specified Autonomous Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<StopAutonomousDataWarehouseResponse> stopAutonomousDataWarehouse(StopAutonomousDataWarehouseRequest request, AsyncHandler<StopAutonomousDataWarehouseRequest,StopAutonomousDataWarehouseResponse> handler)
Deprecated. To stop an Autonomous Data Warehouse, use the stopAutonomousDatabase
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<StopAutonomousDatabaseResponse> stopAutonomousDatabase(StopAutonomousDatabaseRequest request, AsyncHandler<StopAutonomousDatabaseRequest,StopAutonomousDatabaseResponse> handler)
Stops the specified Autonomous Database.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<SwitchoverDataGuardAssociationResponse> switchoverDataGuardAssociation(SwitchoverDataGuardAssociationRequest request, AsyncHandler<SwitchoverDataGuardAssociationRequest,SwitchoverDataGuardAssociationResponse> handler)
Performs a switchover to transition the primary database of a Data Guard association into a standby role. The standby database associated with the dataGuardAssociationId
assumes the primary database role.
A switchover guarantees no data loss.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<TerminateAutonomousContainerDatabaseResponse> terminateAutonomousContainerDatabase(TerminateAutonomousContainerDatabaseRequest request, AsyncHandler<TerminateAutonomousContainerDatabaseRequest,TerminateAutonomousContainerDatabaseResponse> handler)
Terminates an Autonomous Container Database, which permanently deletes the container database and any databases within the container database. The database data is local to the Autonomous Exadata Infrastructure and will be lost when the container database is terminated. Oracle recommends that you back up any data in the Autonomous Container Database prior to terminating it.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<TerminateAutonomousExadataInfrastructureResponse> terminateAutonomousExadataInfrastructure(TerminateAutonomousExadataInfrastructureRequest request, AsyncHandler<TerminateAutonomousExadataInfrastructureRequest,TerminateAutonomousExadataInfrastructureResponse> handler)
Terminates an Autonomous Exadata Infrastructure, which permanently deletes the Exadata Infrastructure and any container databases and databases contained in the Exadata Infrastructure. The database data is local to the Autonomous Exadata Infrastructure and will be lost when the system is terminated. Oracle recommends that you back up any data in the Autonomous Exadata Infrastructure prior to terminating it.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<TerminateDbSystemResponse> terminateDbSystem(TerminateDbSystemRequest request, AsyncHandler<TerminateDbSystemRequest,TerminateDbSystemResponse> handler)
Terminates a DB system and permanently deletes it and any databases running on it, and any storage volumes attached to it. The database data is local to the DB system and will be lost when the system is terminated. Oracle recommends that you back up any data in the DB system prior to terminating it.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateAutonomousContainerDatabaseResponse> updateAutonomousContainerDatabase(UpdateAutonomousContainerDatabaseRequest request, AsyncHandler<UpdateAutonomousContainerDatabaseRequest,UpdateAutonomousContainerDatabaseResponse> handler)
Updates the properties of an Autonomous Container Database, such as the CPU core count and storage size.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateAutonomousDataWarehouseResponse> updateAutonomousDataWarehouse(UpdateAutonomousDataWarehouseRequest request, AsyncHandler<UpdateAutonomousDataWarehouseRequest,UpdateAutonomousDataWarehouseResponse> handler)
Deprecated. To update the CPU core count and storage size of an Autonomous Data Warehouse, use the updateAutonomousDatabase
operation.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateAutonomousDatabaseResponse> updateAutonomousDatabase(UpdateAutonomousDatabaseRequest request, AsyncHandler<UpdateAutonomousDatabaseRequest,UpdateAutonomousDatabaseResponse> handler)
Updates the specified Autonomous Database with a new CPU core count and size.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateAutonomousExadataInfrastructureResponse> updateAutonomousExadataInfrastructure(UpdateAutonomousExadataInfrastructureRequest request, AsyncHandler<UpdateAutonomousExadataInfrastructureRequest,UpdateAutonomousExadataInfrastructureResponse> handler)
Updates the properties of an Autonomous Exadata Infrastructure, such as the CPU core count.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDatabaseResponse> updateDatabase(UpdateDatabaseRequest request, AsyncHandler<UpdateDatabaseRequest,UpdateDatabaseResponse> handler)
Update a Database based on the request parameters you provide.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDbHomeResponse> updateDbHome(UpdateDbHomeRequest request, AsyncHandler<UpdateDbHomeRequest,UpdateDbHomeResponse> handler)
Patches the specified dbHome.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDbSystemResponse> updateDbSystem(UpdateDbSystemRequest request, AsyncHandler<UpdateDbSystemRequest,UpdateDbSystemResponse> handler)
Updates the properties of a DB system, such as the CPU core count.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateExadataIormConfigResponse> updateExadataIormConfig(UpdateExadataIormConfigRequest request, AsyncHandler<UpdateExadataIormConfigRequest,UpdateExadataIormConfigResponse> handler)
Update IORM
Settings for the requested Exadata DB System.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateMaintenanceRunResponse> updateMaintenanceRun(UpdateMaintenanceRunRequest request, AsyncHandler<UpdateMaintenanceRunRequest,UpdateMaintenanceRunResponse> handler)
Updates the properties of a Maintenance Run, such as the state of a Maintenance Run.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2019. All rights reserved.