@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class DatabaseClient extends Object implements Database
| Modifier and Type | Class and Description |
|---|---|
static class |
DatabaseClient.Builder
Builder class for this client.
|
| Modifier and Type | Field and Description |
|---|---|
static Service |
SERVICE
Service instance for Database.
|
| Constructor and Description |
|---|
DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration.
|
DatabaseClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
DatabaseClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
DatabaseClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
public static final Service SERVICE
Service instance for Database.
public DatabaseClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider - The authentication details provider, required.public DatabaseClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.public DatabaseClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.public DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.public DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public DatabaseClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorpublic static DatabaseClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
DatabaseSets the endpoint to call (ex, https://www.example.com).
setEndpoint in interface Databaseendpoint - The endpoint of the service.public void setRegion(Region region)
DatabaseSets 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.
public void setRegion(String regionId)
DatabaseSets 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.
public void close()
close in interface AutoCloseablepublic ActivateExadataInfrastructureResponse activateExadataInfrastructure(ActivateExadataInfrastructureRequest request)
DatabaseActivates the specified Exadata infrastructure.
activateExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic ChangeAutonomousContainerDatabaseCompartmentResponse changeAutonomousContainerDatabaseCompartment(ChangeAutonomousContainerDatabaseCompartmentRequest request)
DatabaseMove the Autonomous Container Database and its dependent resources to the specified compartment. For more information about moving Autonomous Container Databases, see Moving Database Resources to a Different Compartment.
changeAutonomousContainerDatabaseCompartment in interface Databaserequest - The request object containing the details to sendpublic ChangeAutonomousDatabaseCompartmentResponse changeAutonomousDatabaseCompartment(ChangeAutonomousDatabaseCompartmentRequest request)
DatabaseMove the Autonomous Database and its dependent resources to the specified compartment. For more information about moving Autonomous Databases, see Moving Database Resources to a Different Compartment.
changeAutonomousDatabaseCompartment in interface Databaserequest - The request object containing the details to sendpublic ChangeAutonomousExadataInfrastructureCompartmentResponse changeAutonomousExadataInfrastructureCompartment(ChangeAutonomousExadataInfrastructureCompartmentRequest request)
DatabaseMove the Autonomous Exadata Infrastructure and its dependent resources to the specified compartment. For more information about moving Autonomous Exadata Infrastructures, see Moving Database Resources to a Different Compartment.
changeAutonomousExadataInfrastructureCompartment in interface Databaserequest - The request object containing the details to sendpublic ChangeBackupDestinationCompartmentResponse changeBackupDestinationCompartment(ChangeBackupDestinationCompartmentRequest request)
DatabaseMove the backup destination and its dependent resources to the specified compartment. For more information about moving backup destinations, see Moving Database Resources to a Different Compartment.
changeBackupDestinationCompartment in interface Databaserequest - The request object containing the details to sendpublic ChangeDbSystemCompartmentResponse changeDbSystemCompartment(ChangeDbSystemCompartmentRequest request)
DatabaseMove the DB system and its dependent resources to the specified compartment. For more information about moving DB systems, see Moving Database Resources to a Different Compartment.
changeDbSystemCompartment in interface Databaserequest - The request object containing the details to sendpublic ChangeExadataInfrastructureCompartmentResponse changeExadataInfrastructureCompartment(ChangeExadataInfrastructureCompartmentRequest request)
DatabaseTo move an Exadata infrastructure and its dependent resources to another compartment, use the changeExadataInfrastructureCompartment operation.
changeExadataInfrastructureCompartment in interface Databaserequest - The request object containing the details to sendpublic ChangeVmClusterCompartmentResponse changeVmClusterCompartment(ChangeVmClusterCompartmentRequest request)
DatabaseTo move a VM cluster and its dependent resources to another compartment, use the changeVmClusterCompartment operation.
changeVmClusterCompartment in interface Databaserequest - The request object containing the details to sendpublic CompleteExternalBackupJobResponse completeExternalBackupJob(CompleteExternalBackupJobRequest request)
DatabaseChanges 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.
completeExternalBackupJob in interface Databaserequest - The request object containing the details to sendpublic CreateAutonomousContainerDatabaseResponse createAutonomousContainerDatabase(CreateAutonomousContainerDatabaseRequest request)
DatabaseCreate a new Autonomous Container Database in the specified Autonomous Exadata Infrastructure.
createAutonomousContainerDatabase in interface Databaserequest - The request object containing the details to sendpublic CreateAutonomousDataWarehouseResponse createAutonomousDataWarehouse(CreateAutonomousDataWarehouseRequest request)
DatabaseDeprecated. To create a new Autonomous Data Warehouse, use the createAutonomousDatabase operation and specify DW as the workload type.
createAutonomousDataWarehouse in interface Databaserequest - The request object containing the details to sendpublic CreateAutonomousDataWarehouseBackupResponse createAutonomousDataWarehouseBackup(CreateAutonomousDataWarehouseBackupRequest request)
DatabaseDeprecated. To create a new Autonomous Data Warehouse backup for a specified database, use the createAutonomousDatabaseBackup operation.
createAutonomousDataWarehouseBackup in interface Databaserequest - The request object containing the details to sendpublic CreateAutonomousDatabaseResponse createAutonomousDatabase(CreateAutonomousDatabaseRequest request)
DatabaseCreates a new Autonomous Database.
createAutonomousDatabase in interface Databaserequest - The request object containing the details to sendpublic CreateAutonomousDatabaseBackupResponse createAutonomousDatabaseBackup(CreateAutonomousDatabaseBackupRequest request)
DatabaseCreates a new Autonomous Database backup for the specified database based on the provided request parameters.
createAutonomousDatabaseBackup in interface Databaserequest - The request object containing the details to sendpublic CreateBackupResponse createBackup(CreateBackupRequest request)
DatabaseCreates 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.
createBackup in interface Databaserequest - The request object containing the details to sendpublic CreateBackupDestinationResponse createBackupDestination(CreateBackupDestinationRequest request)
DatabaseCreates a backup destination.
createBackupDestination in interface Databaserequest - The request object containing the details to sendpublic CreateDataGuardAssociationResponse createDataGuardAssociation(CreateDataGuardAssociationRequest request)
DatabaseCreates 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.
createDataGuardAssociation in interface Databaserequest - The request object containing the details to sendpublic CreateDbHomeResponse createDbHome(CreateDbHomeRequest request)
DatabaseCreates a new database home in the specified DB system based on the request parameters you provide.
createDbHome in interface Databaserequest - The request object containing the details to sendpublic CreateExadataInfrastructureResponse createExadataInfrastructure(CreateExadataInfrastructureRequest request)
DatabaseCreate Exadata infrastructure.
createExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic CreateExternalBackupJobResponse createExternalBackupJob(CreateExternalBackupJobRequest request)
DatabaseCreates 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.
createExternalBackupJob in interface Databaserequest - The request object containing the details to sendpublic CreateVmClusterResponse createVmCluster(CreateVmClusterRequest request)
DatabaseCreates a VM cluster.
createVmCluster in interface Databaserequest - The request object containing the details to sendpublic CreateVmClusterNetworkResponse createVmClusterNetwork(CreateVmClusterNetworkRequest request)
DatabaseCreates the VM cluster network.
createVmClusterNetwork in interface Databaserequest - The request object containing the details to sendpublic DbNodeActionResponse dbNodeAction(DbNodeActionRequest request)
DatabasePerforms 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.
dbNodeAction in interface Databaserequest - The request object containing the details to sendpublic DeleteAutonomousDataWarehouseResponse deleteAutonomousDataWarehouse(DeleteAutonomousDataWarehouseRequest request)
DatabaseDeprecated. To delete an Autonomous Data Warehouse, use the deleteAutonomousDatabase operation.
deleteAutonomousDataWarehouse in interface Databaserequest - The request object containing the details to sendpublic DeleteAutonomousDatabaseResponse deleteAutonomousDatabase(DeleteAutonomousDatabaseRequest request)
DatabaseDeletes the specified Autonomous Database.
deleteAutonomousDatabase in interface Databaserequest - The request object containing the details to sendpublic DeleteBackupResponse deleteBackup(DeleteBackupRequest request)
DatabaseDeletes a full backup. You cannot delete automatic backups using this API.
deleteBackup in interface Databaserequest - The request object containing the details to sendpublic DeleteBackupDestinationResponse deleteBackupDestination(DeleteBackupDestinationRequest request)
DatabaseDeletes a backup destination.
deleteBackupDestination in interface Databaserequest - The request object containing the details to sendpublic DeleteDbHomeResponse deleteDbHome(DeleteDbHomeRequest request)
DatabaseDeletes 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.
deleteDbHome in interface Databaserequest - The request object containing the details to sendpublic DeleteExadataInfrastructureResponse deleteExadataInfrastructure(DeleteExadataInfrastructureRequest request)
DatabaseDeletes the Exadata infrastructure.
deleteExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic DeleteVmClusterResponse deleteVmCluster(DeleteVmClusterRequest request)
DatabaseDeletes the specified VM cluster.
deleteVmCluster in interface Databaserequest - The request object containing the details to sendpublic DeleteVmClusterNetworkResponse deleteVmClusterNetwork(DeleteVmClusterNetworkRequest request)
DatabaseDeletes the specified VM cluster network.
deleteVmClusterNetwork in interface Databaserequest - The request object containing the details to sendpublic DownloadExadataInfrastructureConfigFileResponse downloadExadataInfrastructureConfigFile(DownloadExadataInfrastructureConfigFileRequest request)
DatabaseDownloads the configuration file for the specified Exadata infrastructure.
downloadExadataInfrastructureConfigFile in interface Databaserequest - The request object containing the details to sendpublic DownloadVmClusterNetworkConfigFileResponse downloadVmClusterNetworkConfigFile(DownloadVmClusterNetworkConfigFileRequest request)
DatabaseDownloads the configuration file for the specified VM Cluster Network.
downloadVmClusterNetworkConfigFile in interface Databaserequest - The request object containing the details to sendpublic FailoverDataGuardAssociationResponse failoverDataGuardAssociation(FailoverDataGuardAssociationRequest request)
DatabasePerforms 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.
failoverDataGuardAssociation in interface Databaserequest - The request object containing the details to sendpublic GenerateAutonomousDataWarehouseWalletResponse generateAutonomousDataWarehouseWallet(GenerateAutonomousDataWarehouseWalletRequest request)
DatabaseDeprecated. To create and download a wallet for an Autonomous Data Warehouse, use the generateAutonomousDatabaseWallet operation.
generateAutonomousDataWarehouseWallet in interface Databaserequest - The request object containing the details to sendpublic GenerateAutonomousDatabaseWalletResponse generateAutonomousDatabaseWallet(GenerateAutonomousDatabaseWalletRequest request)
DatabaseCreates and downloads a wallet for the specified Autonomous Database.
generateAutonomousDatabaseWallet in interface Databaserequest - The request object containing the details to sendpublic GenerateRecommendedVmClusterNetworkResponse generateRecommendedVmClusterNetwork(GenerateRecommendedVmClusterNetworkRequest request)
DatabaseGenerates a recommended VM cluster network configuration.
generateRecommendedVmClusterNetwork in interface Databaserequest - The request object containing the details to sendpublic GetAutonomousContainerDatabaseResponse getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest request)
DatabaseGets information about the specified Autonomous Container Database.
getAutonomousContainerDatabase in interface Databaserequest - The request object containing the details to sendpublic GetAutonomousDataWarehouseResponse getAutonomousDataWarehouse(GetAutonomousDataWarehouseRequest request)
DatabaseDeprecated. To get the details of an Autonomous Data Warehouse, use the getAutonomousDatabase operation.
getAutonomousDataWarehouse in interface Databaserequest - The request object containing the details to sendpublic GetAutonomousDataWarehouseBackupResponse getAutonomousDataWarehouseBackup(GetAutonomousDataWarehouseBackupRequest request)
DatabaseDeprecated. To get information about a specified Autonomous Data Warehouse backup, use the getAutonomousDatabaseBackup operation.
getAutonomousDataWarehouseBackup in interface Databaserequest - The request object containing the details to sendpublic GetAutonomousDatabaseResponse getAutonomousDatabase(GetAutonomousDatabaseRequest request)
DatabaseGets the details of the specified Autonomous Database.
getAutonomousDatabase in interface Databaserequest - The request object containing the details to sendpublic GetAutonomousDatabaseBackupResponse getAutonomousDatabaseBackup(GetAutonomousDatabaseBackupRequest request)
DatabaseGets information about the specified Autonomous Database backup.
getAutonomousDatabaseBackup in interface Databaserequest - The request object containing the details to sendpublic GetAutonomousExadataInfrastructureResponse getAutonomousExadataInfrastructure(GetAutonomousExadataInfrastructureRequest request)
DatabaseGets information about the specified Autonomous Exadata Infrastructure.
getAutonomousExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic GetBackupResponse getBackup(GetBackupRequest request)
DatabaseGets information about the specified backup.
public GetBackupDestinationResponse getBackupDestination(GetBackupDestinationRequest request)
DatabaseGets information about the specified backup destination.
getBackupDestination in interface Databaserequest - The request object containing the details to sendpublic GetDataGuardAssociationResponse getDataGuardAssociation(GetDataGuardAssociationRequest request)
DatabaseGets the specified Data Guard association’s configuration information.
getDataGuardAssociation in interface Databaserequest - The request object containing the details to sendpublic GetDatabaseResponse getDatabase(GetDatabaseRequest request)
DatabaseGets information about a specific database.
getDatabase in interface Databaserequest - The request object containing the details to sendpublic GetDbHomeResponse getDbHome(GetDbHomeRequest request)
DatabaseGets information about the specified database home.
public GetDbHomePatchResponse getDbHomePatch(GetDbHomePatchRequest request)
DatabaseGets information about a specified patch package.
getDbHomePatch in interface Databaserequest - The request object containing the details to sendpublic GetDbHomePatchHistoryEntryResponse getDbHomePatchHistoryEntry(GetDbHomePatchHistoryEntryRequest request)
DatabaseGets the patch history details for the specified patchHistoryEntryId
getDbHomePatchHistoryEntry in interface Databaserequest - The request object containing the details to sendpublic GetDbNodeResponse getDbNode(GetDbNodeRequest request)
DatabaseGets information about the specified database node.
public GetDbSystemResponse getDbSystem(GetDbSystemRequest request)
DatabaseGets information about the specified DB system.
getDbSystem in interface Databaserequest - The request object containing the details to sendpublic GetDbSystemPatchResponse getDbSystemPatch(GetDbSystemPatchRequest request)
DatabaseGets information about a specified patch package.
getDbSystemPatch in interface Databaserequest - The request object containing the details to sendpublic GetDbSystemPatchHistoryEntryResponse getDbSystemPatchHistoryEntry(GetDbSystemPatchHistoryEntryRequest request)
DatabaseGets the patch history details for the specified patchHistoryEntryId.
getDbSystemPatchHistoryEntry in interface Databaserequest - The request object containing the details to sendpublic GetExadataInfrastructureResponse getExadataInfrastructure(GetExadataInfrastructureRequest request)
DatabaseGets information about the specified Exadata infrastructure.
getExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic GetExadataIormConfigResponse getExadataIormConfig(GetExadataIormConfigRequest request)
DatabaseGets IORM Setting for the requested Exadata DB System. The default IORM Settings is pre-created in all the Exadata DB System.
getExadataIormConfig in interface Databaserequest - The request object containing the details to sendpublic GetExternalBackupJobResponse getExternalBackupJob(GetExternalBackupJobRequest request)
DatabaseGets 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.
getExternalBackupJob in interface Databaserequest - The request object containing the details to sendpublic GetMaintenanceRunResponse getMaintenanceRun(GetMaintenanceRunRequest request)
DatabaseGets information about the specified Maintenance Run.
getMaintenanceRun in interface Databaserequest - The request object containing the details to sendpublic GetVmClusterResponse getVmCluster(GetVmClusterRequest request)
DatabaseGets information about the specified VM cluster.
getVmCluster in interface Databaserequest - The request object containing the details to sendpublic GetVmClusterNetworkResponse getVmClusterNetwork(GetVmClusterNetworkRequest request)
DatabaseGets information about the specified VM cluster network.
getVmClusterNetwork in interface Databaserequest - The request object containing the details to sendpublic LaunchAutonomousExadataInfrastructureResponse launchAutonomousExadataInfrastructure(LaunchAutonomousExadataInfrastructureRequest request)
DatabaseLaunches a new Autonomous Exadata Infrastructure in the specified compartment and availability domain.
launchAutonomousExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic LaunchDbSystemResponse launchDbSystem(LaunchDbSystemRequest request)
DatabaseLaunches 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.
launchDbSystem in interface Databaserequest - The request object containing the details to sendpublic ListAutonomousContainerDatabasesResponse listAutonomousContainerDatabases(ListAutonomousContainerDatabasesRequest request)
DatabaseGets a list of the Autonomous Container Databases in the specified compartment.
listAutonomousContainerDatabases in interface Databaserequest - The request object containing the details to sendpublic ListAutonomousDataWarehouseBackupsResponse listAutonomousDataWarehouseBackups(ListAutonomousDataWarehouseBackupsRequest request)
DatabaseDeprecated. To get a list of Autonomous Data Warehouse backups, use the listAutonomousDatabaseBackups operation.
listAutonomousDataWarehouseBackups in interface Databaserequest - The request object containing the details to sendpublic ListAutonomousDataWarehousesResponse listAutonomousDataWarehouses(ListAutonomousDataWarehousesRequest request)
DatabaseDeprecated. To get a list of Autonomous Data Warehouses, use the listAutonomousDatabases operation and specify DW as the workload type.
listAutonomousDataWarehouses in interface Databaserequest - The request object containing the details to sendpublic ListAutonomousDatabaseBackupsResponse listAutonomousDatabaseBackups(ListAutonomousDatabaseBackupsRequest request)
DatabaseGets a list of Autonomous Database backups based on either the autonomousDatabaseId or compartmentId specified as a query parameter.
listAutonomousDatabaseBackups in interface Databaserequest - The request object containing the details to sendpublic ListAutonomousDatabasesResponse listAutonomousDatabases(ListAutonomousDatabasesRequest request)
DatabaseGets a list of Autonomous Databases.
listAutonomousDatabases in interface Databaserequest - The request object containing the details to sendpublic ListAutonomousDbPreviewVersionsResponse listAutonomousDbPreviewVersions(ListAutonomousDbPreviewVersionsRequest request)
DatabaseGets a list of supported Autonomous Database versions. Note that preview version software is only available for serverless deployments.
listAutonomousDbPreviewVersions in interface Databaserequest - The request object containing the details to sendpublic ListAutonomousExadataInfrastructureShapesResponse listAutonomousExadataInfrastructureShapes(ListAutonomousExadataInfrastructureShapesRequest request)
DatabaseGets 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).
listAutonomousExadataInfrastructureShapes in interface Databaserequest - The request object containing the details to sendpublic ListAutonomousExadataInfrastructuresResponse listAutonomousExadataInfrastructures(ListAutonomousExadataInfrastructuresRequest request)
DatabaseGets a list of the Autonomous Exadata Infrastructures in the specified compartment.
listAutonomousExadataInfrastructures in interface Databaserequest - The request object containing the details to sendpublic ListBackupDestinationResponse listBackupDestination(ListBackupDestinationRequest request)
DatabaseGets a list of backup destinations in the specified compartment.
listBackupDestination in interface Databaserequest - The request object containing the details to sendpublic ListBackupsResponse listBackups(ListBackupsRequest request)
DatabaseGets a list of backups based on the databaseId or compartmentId specified. Either one of the query parameters must be provided.
listBackups in interface Databaserequest - The request object containing the details to sendpublic ListDataGuardAssociationsResponse listDataGuardAssociations(ListDataGuardAssociationsRequest request)
DatabaseLists all Data Guard associations for the specified database.
listDataGuardAssociations in interface Databaserequest - The request object containing the details to sendpublic ListDatabasesResponse listDatabases(ListDatabasesRequest request)
DatabaseGets a list of the databases in the specified database home.
listDatabases in interface Databaserequest - The request object containing the details to sendpublic ListDbHomePatchHistoryEntriesResponse listDbHomePatchHistoryEntries(ListDbHomePatchHistoryEntriesRequest request)
DatabaseGets history of the actions taken for patches for the specified database home.
listDbHomePatchHistoryEntries in interface Databaserequest - The request object containing the details to sendpublic ListDbHomePatchesResponse listDbHomePatches(ListDbHomePatchesRequest request)
DatabaseLists patches applicable to the requested database home.
listDbHomePatches in interface Databaserequest - The request object containing the details to sendpublic ListDbHomesResponse listDbHomes(ListDbHomesRequest request)
DatabaseGets a list of database homes in the specified DB system and compartment. A database home is a directory where Oracle Database software is installed.
listDbHomes in interface Databaserequest - The request object containing the details to sendpublic ListDbNodesResponse listDbNodes(ListDbNodesRequest request)
DatabaseGets a list of database nodes in the specified DB system and compartment. A database node is a server running database software.
listDbNodes in interface Databaserequest - The request object containing the details to sendpublic ListDbSystemPatchHistoryEntriesResponse listDbSystemPatchHistoryEntries(ListDbSystemPatchHistoryEntriesRequest request)
DatabaseGets the history of the patch actions performed on the specified DB system.
listDbSystemPatchHistoryEntries in interface Databaserequest - The request object containing the details to sendpublic ListDbSystemPatchesResponse listDbSystemPatches(ListDbSystemPatchesRequest request)
DatabaseLists the patches applicable to the requested DB system.
listDbSystemPatches in interface Databaserequest - The request object containing the details to sendpublic ListDbSystemShapesResponse listDbSystemShapes(ListDbSystemShapesRequest request)
DatabaseGets 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.
listDbSystemShapes in interface Databaserequest - The request object containing the details to sendpublic ListDbSystemsResponse listDbSystems(ListDbSystemsRequest request)
DatabaseGets 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.
listDbSystems in interface Databaserequest - The request object containing the details to sendpublic ListDbVersionsResponse listDbVersions(ListDbVersionsRequest request)
DatabaseGets a list of supported Oracle Database versions.
listDbVersions in interface Databaserequest - The request object containing the details to sendpublic ListExadataInfrastructuresResponse listExadataInfrastructures(ListExadataInfrastructuresRequest request)
DatabaseGets a list of the Exadata infrastructure in the specified compartment.
listExadataInfrastructures in interface Databaserequest - The request object containing the details to sendpublic ListGiVersionsResponse listGiVersions(ListGiVersionsRequest request)
DatabaseGets a list of supported GI versions for VM Cluster.
listGiVersions in interface Databaserequest - The request object containing the details to sendpublic ListMaintenanceRunsResponse listMaintenanceRuns(ListMaintenanceRunsRequest request)
DatabaseGets a list of the Maintenance Runs in the specified compartment.
listMaintenanceRuns in interface Databaserequest - The request object containing the details to sendpublic ListVmClusterNetworksResponse listVmClusterNetworks(ListVmClusterNetworksRequest request)
DatabaseGets a list of the VM cluster networks in the specified compartment.
listVmClusterNetworks in interface Databaserequest - The request object containing the details to sendpublic ListVmClustersResponse listVmClusters(ListVmClustersRequest request)
DatabaseGets a list of the VM clusters in the specified compartment.
listVmClusters in interface Databaserequest - The request object containing the details to sendpublic ReinstateDataGuardAssociationResponse reinstateDataGuardAssociation(ReinstateDataGuardAssociationRequest request)
DatabaseReinstates the database identified by the databaseId parameter into the standby role in a Data Guard association.
reinstateDataGuardAssociation in interface Databaserequest - The request object containing the details to sendpublic RestartAutonomousContainerDatabaseResponse restartAutonomousContainerDatabase(RestartAutonomousContainerDatabaseRequest request)
DatabaseRolling restarts the specified Autonomous Container Database.
restartAutonomousContainerDatabase in interface Databaserequest - The request object containing the details to sendpublic RestoreAutonomousDataWarehouseResponse restoreAutonomousDataWarehouse(RestoreAutonomousDataWarehouseRequest request)
DatabaseDeprecated. To restore an Autonomous Data Warehouse, use the restoreAutonomousDatabase operation.
restoreAutonomousDataWarehouse in interface Databaserequest - The request object containing the details to sendpublic RestoreAutonomousDatabaseResponse restoreAutonomousDatabase(RestoreAutonomousDatabaseRequest request)
DatabaseRestores an Autonomous Database based on the provided request parameters.
restoreAutonomousDatabase in interface Databaserequest - The request object containing the details to sendpublic RestoreDatabaseResponse restoreDatabase(RestoreDatabaseRequest request)
DatabaseRestore a Database based on the request parameters you provide.
restoreDatabase in interface Databaserequest - The request object containing the details to sendpublic StartAutonomousDataWarehouseResponse startAutonomousDataWarehouse(StartAutonomousDataWarehouseRequest request)
DatabaseDeprecated. To start an Autonomous Data Warehouse, use the startAutonomousDatabase operation.
startAutonomousDataWarehouse in interface Databaserequest - The request object containing the details to sendpublic StartAutonomousDatabaseResponse startAutonomousDatabase(StartAutonomousDatabaseRequest request)
DatabaseStarts the specified Autonomous Database.
startAutonomousDatabase in interface Databaserequest - The request object containing the details to sendpublic StopAutonomousDataWarehouseResponse stopAutonomousDataWarehouse(StopAutonomousDataWarehouseRequest request)
DatabaseDeprecated. To stop an Autonomous Data Warehouse, use the stopAutonomousDatabase operation.
stopAutonomousDataWarehouse in interface Databaserequest - The request object containing the details to sendpublic StopAutonomousDatabaseResponse stopAutonomousDatabase(StopAutonomousDatabaseRequest request)
DatabaseStops the specified Autonomous Database.
stopAutonomousDatabase in interface Databaserequest - The request object containing the details to sendpublic SwitchoverDataGuardAssociationResponse switchoverDataGuardAssociation(SwitchoverDataGuardAssociationRequest request)
DatabasePerforms 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.
switchoverDataGuardAssociation in interface Databaserequest - The request object containing the details to sendpublic TerminateAutonomousContainerDatabaseResponse terminateAutonomousContainerDatabase(TerminateAutonomousContainerDatabaseRequest request)
DatabaseTerminates 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.
terminateAutonomousContainerDatabase in interface Databaserequest - The request object containing the details to sendpublic TerminateAutonomousExadataInfrastructureResponse terminateAutonomousExadataInfrastructure(TerminateAutonomousExadataInfrastructureRequest request)
DatabaseTerminates 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.
terminateAutonomousExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic TerminateDbSystemResponse terminateDbSystem(TerminateDbSystemRequest request)
DatabaseTerminates 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.
terminateDbSystem in interface Databaserequest - The request object containing the details to sendpublic UpdateAutonomousContainerDatabaseResponse updateAutonomousContainerDatabase(UpdateAutonomousContainerDatabaseRequest request)
DatabaseUpdates the properties of an Autonomous Container Database, such as the CPU core count and storage size.
updateAutonomousContainerDatabase in interface Databaserequest - The request object containing the details to sendpublic UpdateAutonomousDataWarehouseResponse updateAutonomousDataWarehouse(UpdateAutonomousDataWarehouseRequest request)
DatabaseDeprecated. To update the CPU core count and storage size of an Autonomous Data Warehouse, use the updateAutonomousDatabase operation.
updateAutonomousDataWarehouse in interface Databaserequest - The request object containing the details to sendpublic UpdateAutonomousDatabaseResponse updateAutonomousDatabase(UpdateAutonomousDatabaseRequest request)
DatabaseUpdates the specified Autonomous Database with a new CPU core count and size.
updateAutonomousDatabase in interface Databaserequest - The request object containing the details to sendpublic UpdateAutonomousExadataInfrastructureResponse updateAutonomousExadataInfrastructure(UpdateAutonomousExadataInfrastructureRequest request)
DatabaseUpdates the properties of an Autonomous Exadata Infrastructure, such as the CPU core count.
updateAutonomousExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic UpdateBackupDestinationResponse updateBackupDestination(UpdateBackupDestinationRequest request)
DatabaseIf no database is associated with the backup destination: - For a RECOVERY_APPLIANCE backup destination, updates the connection string and/or the list of VPC users. - For an NFS backup destination, updates the NFS location.
updateBackupDestination in interface Databaserequest - The request object containing the details to sendpublic UpdateDatabaseResponse updateDatabase(UpdateDatabaseRequest request)
DatabaseUpdate a Database based on the request parameters you provide.
updateDatabase in interface Databaserequest - The request object containing the details to sendpublic UpdateDbHomeResponse updateDbHome(UpdateDbHomeRequest request)
DatabasePatches the specified dbHome.
updateDbHome in interface Databaserequest - The request object containing the details to sendpublic UpdateDbSystemResponse updateDbSystem(UpdateDbSystemRequest request)
DatabaseUpdates the properties of a DB system, such as the CPU core count.
updateDbSystem in interface Databaserequest - The request object containing the details to sendpublic UpdateExadataInfrastructureResponse updateExadataInfrastructure(UpdateExadataInfrastructureRequest request)
DatabaseUpdates the Exadata infrastructure.
updateExadataInfrastructure in interface Databaserequest - The request object containing the details to sendpublic UpdateExadataIormConfigResponse updateExadataIormConfig(UpdateExadataIormConfigRequest request)
DatabaseUpdate IORM Settings for the requested Exadata DB System.
updateExadataIormConfig in interface Databaserequest - The request object containing the details to sendpublic UpdateMaintenanceRunResponse updateMaintenanceRun(UpdateMaintenanceRunRequest request)
DatabaseUpdates the properties of a Maintenance Run, such as the state of a Maintenance Run.
updateMaintenanceRun in interface Databaserequest - The request object containing the details to sendpublic UpdateVmClusterResponse updateVmCluster(UpdateVmClusterRequest request)
DatabaseUpdates the specified VM cluster.
updateVmCluster in interface Databaserequest - The request object containing the details to sendpublic UpdateVmClusterNetworkResponse updateVmClusterNetwork(UpdateVmClusterNetworkRequest request)
DatabaseUpdates the specified VM cluster network.
updateVmClusterNetwork in interface Databaserequest - The request object containing the details to sendpublic ValidateVmClusterNetworkResponse validateVmClusterNetwork(ValidateVmClusterNetworkRequest request)
DatabaseValidates the specified VM cluster network.
validateVmClusterNetwork in interface Databaserequest - The request object containing the details to sendpublic DatabaseWaiters getWaiters()
DatabaseGets the pre-configured waiters available for resources for this service.
getWaiters in interface Databasepublic DatabaseWaiters newWaiters(WorkRequest workRequestClient)
DatabaseCreates a new DatabaseWaiters for resources for this service.
newWaiters in interface DatabaseworkRequestClient - The work request service client used to query for work request statuspublic DatabasePaginators getPaginators()
DatabaseGets the pre-configured paginators available for list operations in this service which may return multiple pages of data. These paginators provide an Iterable interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.
getPaginators in interface DatabaseCopyright © 2016–2019. All rights reserved.