1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getDatabases
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Database.getDatabases

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Databases in Oracle Cloud Infrastructure Database service.

Gets a list of the databases in the specified Database Home.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDatabases = oci.Database.getDatabases({
    compartmentId: compartmentId,
    dbHomeId: testDbHome.id,
    dbName: databaseDbName,
    state: databaseState,
    systemId: testSystem.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_databases = oci.Database.get_databases(compartment_id=compartment_id,
    db_home_id=test_db_home["id"],
    db_name=database_db_name,
    state=database_state,
    system_id=test_system["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.GetDatabases(ctx, &database.GetDatabasesArgs{
			CompartmentId: compartmentId,
			DbHomeId:      pulumi.StringRef(testDbHome.Id),
			DbName:        pulumi.StringRef(databaseDbName),
			State:         pulumi.StringRef(databaseState),
			SystemId:      pulumi.StringRef(testSystem.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDatabases = Oci.Database.GetDatabases.Invoke(new()
    {
        CompartmentId = compartmentId,
        DbHomeId = testDbHome.Id,
        DbName = databaseDbName,
        State = databaseState,
        SystemId = testSystem.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetDatabasesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testDatabases = DatabaseFunctions.getDatabases(GetDatabasesArgs.builder()
            .compartmentId(compartmentId)
            .dbHomeId(testDbHome.id())
            .dbName(databaseDbName)
            .state(databaseState)
            .systemId(testSystem.id())
            .build());

    }
}
Copy
variables:
  testDatabases:
    fn::invoke:
      function: oci:Database:getDatabases
      arguments:
        compartmentId: ${compartmentId}
        dbHomeId: ${testDbHome.id}
        dbName: ${databaseDbName}
        state: ${databaseState}
        systemId: ${testSystem.id}
Copy

Using getDatabases

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDatabases(args: GetDatabasesArgs, opts?: InvokeOptions): Promise<GetDatabasesResult>
function getDatabasesOutput(args: GetDatabasesOutputArgs, opts?: InvokeOptions): Output<GetDatabasesResult>
Copy
def get_databases(compartment_id: Optional[str] = None,
                  db_home_id: Optional[str] = None,
                  db_name: Optional[str] = None,
                  filters: Optional[Sequence[_database.GetDatabasesFilter]] = None,
                  state: Optional[str] = None,
                  system_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetDatabasesResult
def get_databases_output(compartment_id: Optional[pulumi.Input[str]] = None,
                  db_home_id: Optional[pulumi.Input[str]] = None,
                  db_name: Optional[pulumi.Input[str]] = None,
                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetDatabasesFilterArgs]]]] = None,
                  state: Optional[pulumi.Input[str]] = None,
                  system_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetDatabasesResult]
Copy
func GetDatabases(ctx *Context, args *GetDatabasesArgs, opts ...InvokeOption) (*GetDatabasesResult, error)
func GetDatabasesOutput(ctx *Context, args *GetDatabasesOutputArgs, opts ...InvokeOption) GetDatabasesResultOutput
Copy

> Note: This function is named GetDatabases in the Go SDK.

public static class GetDatabases 
{
    public static Task<GetDatabasesResult> InvokeAsync(GetDatabasesArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabasesResult> Invoke(GetDatabasesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDatabasesResult> getDatabases(GetDatabasesArgs args, InvokeOptions options)
public static Output<GetDatabasesResult> getDatabases(GetDatabasesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Database/getDatabases:getDatabases
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The compartment OCID.
DbHomeId string
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
DbName string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
Filters Changes to this property will trigger replacement. List<GetDatabasesFilter>
State string
A filter to return only resources that match the given lifecycle state exactly.
SystemId string
The OCID of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.
CompartmentId This property is required. string
The compartment OCID.
DbHomeId string
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
DbName string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
Filters Changes to this property will trigger replacement. []GetDatabasesFilter
State string
A filter to return only resources that match the given lifecycle state exactly.
SystemId string
The OCID of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.
compartmentId This property is required. String
The compartment OCID.
dbHomeId String
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
dbName String
A filter to return only resources that match the entire database name given. The match is not case sensitive.
filters Changes to this property will trigger replacement. List<GetsFilter>
state String
A filter to return only resources that match the given lifecycle state exactly.
systemId String
The OCID of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.
compartmentId This property is required. string
The compartment OCID.
dbHomeId string
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
dbName string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
filters Changes to this property will trigger replacement. GetDatabasesFilter[]
state string
A filter to return only resources that match the given lifecycle state exactly.
systemId string
The OCID of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.
compartment_id This property is required. str
The compartment OCID.
db_home_id str
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
db_name str
A filter to return only resources that match the entire database name given. The match is not case sensitive.
filters Changes to this property will trigger replacement. Sequence[database.GetDatabasesFilter]
state str
A filter to return only resources that match the given lifecycle state exactly.
system_id str
The OCID of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.
compartmentId This property is required. String
The compartment OCID.
dbHomeId String
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
dbName String
A filter to return only resources that match the entire database name given. The match is not case sensitive.
filters Changes to this property will trigger replacement. List<Property Map>
state String
A filter to return only resources that match the given lifecycle state exactly.
systemId String
The OCID of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.

getDatabases Result

The following output properties are available:

CompartmentId string
The OCID of the compartment.
Databases List<GetDatabasesDatabase>
The list of databases.
Id string
The provider-assigned unique ID for this managed resource.
DbHomeId string
The OCID of the Database Home.
DbName string
The database name.
Filters List<GetDatabasesFilter>
State string
The current state of the database.
SystemId string
CompartmentId string
The OCID of the compartment.
Databases []GetDatabasesDatabase
The list of databases.
Id string
The provider-assigned unique ID for this managed resource.
DbHomeId string
The OCID of the Database Home.
DbName string
The database name.
Filters []GetDatabasesFilter
State string
The current state of the database.
SystemId string
compartmentId String
The OCID of the compartment.
databases List<Gets>
The list of databases.
id String
The provider-assigned unique ID for this managed resource.
dbHomeId String
The OCID of the Database Home.
dbName String
The database name.
filters List<GetsFilter>
state String
The current state of the database.
systemId String
compartmentId string
The OCID of the compartment.
databases GetDatabasesDatabase[]
The list of databases.
id string
The provider-assigned unique ID for this managed resource.
dbHomeId string
The OCID of the Database Home.
dbName string
The database name.
filters GetDatabasesFilter[]
state string
The current state of the database.
systemId string
compartment_id str
The OCID of the compartment.
databases Sequence[database.GetDatabasesDatabase]
The list of databases.
id str
The provider-assigned unique ID for this managed resource.
db_home_id str
The OCID of the Database Home.
db_name str
The database name.
filters Sequence[database.GetDatabasesFilter]
state str
The current state of the database.
system_id str
compartmentId String
The OCID of the compartment.
databases List<Property Map>
The list of databases.
id String
The provider-assigned unique ID for this managed resource.
dbHomeId String
The OCID of the Database Home.
dbName String
The database name.
filters List<Property Map>
state String
The current state of the database.
systemId String

Supporting Types

GetDatabasesDatabase

ActionTrigger This property is required. int
CharacterSet This property is required. string
The character set for the database.
CompartmentId This property is required. string
The compartment OCID.
ConnectionStrings This property is required. List<GetDatabasesDatabaseConnectionString>
The Connection strings used to connect to the Oracle Database.
DataGuardAction This property is required. string
DataGuardGroups This property is required. List<GetDatabasesDatabaseDataGuardGroup>
Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
DatabaseManagementConfigs This property is required. List<GetDatabasesDatabaseDatabaseManagementConfig>
The configuration of the Database Management service.
DatabaseSoftwareImageId This property is required. string
The database software image OCID
Databases This property is required. List<GetDatabasesDatabaseDatabase>
DbBackupConfigs This property is required. List<GetDatabasesDatabaseDbBackupConfig>
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
DbHomeId This property is required. string
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
DbName This property is required. string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
DbSystemId This property is required. string
The OCID of the DB system.
DbUniqueName This property is required. string
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
DbVersion This property is required. string
DbWorkload This property is required. string
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags This property is required. Dictionary<string, string>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
Id This property is required. string
The OCID of the database.
IsCdb This property is required. bool
True if the database is a container database.
KeyStoreId This property is required. string
The OCID of the key store of Oracle Vault.
KeyStoreWalletName This property is required. string
The wallet name for Oracle Key Vault.
KmsKeyId This property is required. string
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyMigration This property is required. bool
KmsKeyRotation This property is required. int
KmsKeyVersionId This property is required. string
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
LastBackupDurationInSeconds This property is required. int
The duration when the latest database backup created.
LastBackupTimestamp This property is required. string
The date and time when the latest database backup was created.
LastFailedBackupTimestamp This property is required. string
The date and time when the latest database backup failed.
LifecycleDetails This property is required. string
Additional information about the current lifecycle state.
NcharacterSet This property is required. string
The national character set for the database.
PdbName This property is required. string
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
SidPrefix This property is required. string
Specifies a prefix for the Oracle SID of the database to be created.
Source This property is required. string
SourceDatabasePointInTimeRecoveryTimestamp This property is required. string
Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
State This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
TimeCreated This property is required. string
The date and time the database was created.
VaultId This property is required. string
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
VmClusterId This property is required. string
The OCID of the VM cluster.
ActionTrigger This property is required. int
CharacterSet This property is required. string
The character set for the database.
CompartmentId This property is required. string
The compartment OCID.
ConnectionStrings This property is required. []GetDatabasesDatabaseConnectionString
The Connection strings used to connect to the Oracle Database.
DataGuardAction This property is required. string
DataGuardGroups This property is required. []GetDatabasesDatabaseDataGuardGroup
Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
DatabaseManagementConfigs This property is required. []GetDatabasesDatabaseDatabaseManagementConfig
The configuration of the Database Management service.
DatabaseSoftwareImageId This property is required. string
The database software image OCID
Databases This property is required. []GetDatabasesDatabaseDatabase
DbBackupConfigs This property is required. []GetDatabasesDatabaseDbBackupConfig
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
DbHomeId This property is required. string
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
DbName This property is required. string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
DbSystemId This property is required. string
The OCID of the DB system.
DbUniqueName This property is required. string
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
DbVersion This property is required. string
DbWorkload This property is required. string
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags This property is required. map[string]string
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
Id This property is required. string
The OCID of the database.
IsCdb This property is required. bool
True if the database is a container database.
KeyStoreId This property is required. string
The OCID of the key store of Oracle Vault.
KeyStoreWalletName This property is required. string
The wallet name for Oracle Key Vault.
KmsKeyId This property is required. string
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyMigration This property is required. bool
KmsKeyRotation This property is required. int
KmsKeyVersionId This property is required. string
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
LastBackupDurationInSeconds This property is required. int
The duration when the latest database backup created.
LastBackupTimestamp This property is required. string
The date and time when the latest database backup was created.
LastFailedBackupTimestamp This property is required. string
The date and time when the latest database backup failed.
LifecycleDetails This property is required. string
Additional information about the current lifecycle state.
NcharacterSet This property is required. string
The national character set for the database.
PdbName This property is required. string
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
SidPrefix This property is required. string
Specifies a prefix for the Oracle SID of the database to be created.
Source This property is required. string
SourceDatabasePointInTimeRecoveryTimestamp This property is required. string
Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
State This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
TimeCreated This property is required. string
The date and time the database was created.
VaultId This property is required. string
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
VmClusterId This property is required. string
The OCID of the VM cluster.
actionTrigger This property is required. Integer
characterSet This property is required. String
The character set for the database.
compartmentId This property is required. String
The compartment OCID.
connectionStrings This property is required. List<GetsConnectionString>
The Connection strings used to connect to the Oracle Database.
dataGuardAction This property is required. String
dataGuardGroups This property is required. List<GetsDataGuardGroup>
Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
databaseManagementConfigs This property is required. List<GetsManagementConfig>
The configuration of the Database Management service.
databaseSoftwareImageId This property is required. String
The database software image OCID
databases This property is required. List<Gets>
dbBackupConfigs This property is required. List<GetsDbBackupConfig>
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
dbHomeId This property is required. String
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
dbName This property is required. String
A filter to return only resources that match the entire database name given. The match is not case sensitive.
dbSystemId This property is required. String
The OCID of the DB system.
dbUniqueName This property is required. String
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
dbVersion This property is required. String
dbWorkload This property is required. String
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags This property is required. Map<String,String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. String
The OCID of the database.
isCdb This property is required. Boolean
True if the database is a container database.
keyStoreId This property is required. String
The OCID of the key store of Oracle Vault.
keyStoreWalletName This property is required. String
The wallet name for Oracle Key Vault.
kmsKeyId This property is required. String
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyMigration This property is required. Boolean
kmsKeyRotation This property is required. Integer
kmsKeyVersionId This property is required. String
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
lastBackupDurationInSeconds This property is required. Integer
The duration when the latest database backup created.
lastBackupTimestamp This property is required. String
The date and time when the latest database backup was created.
lastFailedBackupTimestamp This property is required. String
The date and time when the latest database backup failed.
lifecycleDetails This property is required. String
Additional information about the current lifecycle state.
ncharacterSet This property is required. String
The national character set for the database.
pdbName This property is required. String
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
sidPrefix This property is required. String
Specifies a prefix for the Oracle SID of the database to be created.
source This property is required. String
sourceDatabasePointInTimeRecoveryTimestamp This property is required. String
Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
state This property is required. String
A filter to return only resources that match the given lifecycle state exactly.
timeCreated This property is required. String
The date and time the database was created.
vaultId This property is required. String
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
vmClusterId This property is required. String
The OCID of the VM cluster.
actionTrigger This property is required. number
characterSet This property is required. string
The character set for the database.
compartmentId This property is required. string
The compartment OCID.
connectionStrings This property is required. GetDatabasesDatabaseConnectionString[]
The Connection strings used to connect to the Oracle Database.
dataGuardAction This property is required. string
dataGuardGroups This property is required. GetDatabasesDatabaseDataGuardGroup[]
Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
databaseManagementConfigs This property is required. GetDatabasesDatabaseDatabaseManagementConfig[]
The configuration of the Database Management service.
databaseSoftwareImageId This property is required. string
The database software image OCID
databases This property is required. GetDatabasesDatabaseDatabase[]
dbBackupConfigs This property is required. GetDatabasesDatabaseDbBackupConfig[]
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
dbHomeId This property is required. string
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
dbName This property is required. string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
dbSystemId This property is required. string
The OCID of the DB system.
dbUniqueName This property is required. string
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
dbVersion This property is required. string
dbWorkload This property is required. string
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags This property is required. {[key: string]: string}
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. string
The OCID of the database.
isCdb This property is required. boolean
True if the database is a container database.
keyStoreId This property is required. string
The OCID of the key store of Oracle Vault.
keyStoreWalletName This property is required. string
The wallet name for Oracle Key Vault.
kmsKeyId This property is required. string
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyMigration This property is required. boolean
kmsKeyRotation This property is required. number
kmsKeyVersionId This property is required. string
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
lastBackupDurationInSeconds This property is required. number
The duration when the latest database backup created.
lastBackupTimestamp This property is required. string
The date and time when the latest database backup was created.
lastFailedBackupTimestamp This property is required. string
The date and time when the latest database backup failed.
lifecycleDetails This property is required. string
Additional information about the current lifecycle state.
ncharacterSet This property is required. string
The national character set for the database.
pdbName This property is required. string
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
sidPrefix This property is required. string
Specifies a prefix for the Oracle SID of the database to be created.
source This property is required. string
sourceDatabasePointInTimeRecoveryTimestamp This property is required. string
Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
state This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
timeCreated This property is required. string
The date and time the database was created.
vaultId This property is required. string
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
vmClusterId This property is required. string
The OCID of the VM cluster.
action_trigger This property is required. int
character_set This property is required. str
The character set for the database.
compartment_id This property is required. str
The compartment OCID.
connection_strings This property is required. Sequence[database.GetDatabasesDatabaseConnectionString]
The Connection strings used to connect to the Oracle Database.
data_guard_action This property is required. str
data_guard_groups This property is required. Sequence[database.GetDatabasesDatabaseDataGuardGroup]
Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
database_management_configs This property is required. Sequence[database.GetDatabasesDatabaseDatabaseManagementConfig]
The configuration of the Database Management service.
database_software_image_id This property is required. str
The database software image OCID
databases This property is required. Sequence[database.GetDatabasesDatabaseDatabase]
db_backup_configs This property is required. Sequence[database.GetDatabasesDatabaseDbBackupConfig]
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
db_home_id This property is required. str
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
db_name This property is required. str
A filter to return only resources that match the entire database name given. The match is not case sensitive.
db_system_id This property is required. str
The OCID of the DB system.
db_unique_name This property is required. str
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
db_version This property is required. str
db_workload This property is required. str
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeform_tags This property is required. Mapping[str, str]
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. str
The OCID of the database.
is_cdb This property is required. bool
True if the database is a container database.
key_store_id This property is required. str
The OCID of the key store of Oracle Vault.
key_store_wallet_name This property is required. str
The wallet name for Oracle Key Vault.
kms_key_id This property is required. str
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kms_key_migration This property is required. bool
kms_key_rotation This property is required. int
kms_key_version_id This property is required. str
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
last_backup_duration_in_seconds This property is required. int
The duration when the latest database backup created.
last_backup_timestamp This property is required. str
The date and time when the latest database backup was created.
last_failed_backup_timestamp This property is required. str
The date and time when the latest database backup failed.
lifecycle_details This property is required. str
Additional information about the current lifecycle state.
ncharacter_set This property is required. str
The national character set for the database.
pdb_name This property is required. str
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
sid_prefix This property is required. str
Specifies a prefix for the Oracle SID of the database to be created.
source This property is required. str
source_database_point_in_time_recovery_timestamp This property is required. str
Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
state This property is required. str
A filter to return only resources that match the given lifecycle state exactly.
time_created This property is required. str
The date and time the database was created.
vault_id This property is required. str
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
vm_cluster_id This property is required. str
The OCID of the VM cluster.
actionTrigger This property is required. Number
characterSet This property is required. String
The character set for the database.
compartmentId This property is required. String
The compartment OCID.
connectionStrings This property is required. List<Property Map>
The Connection strings used to connect to the Oracle Database.
dataGuardAction This property is required. String
dataGuardGroups This property is required. List<Property Map>
Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
databaseManagementConfigs This property is required. List<Property Map>
The configuration of the Database Management service.
databaseSoftwareImageId This property is required. String
The database software image OCID
databases This property is required. List<Property Map>
dbBackupConfigs This property is required. List<Property Map>
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
dbHomeId This property is required. String
A Database Home OCID. *Note: Either db_home_id or system_id is required to make the LIST API call.
dbName This property is required. String
A filter to return only resources that match the entire database name given. The match is not case sensitive.
dbSystemId This property is required. String
The OCID of the DB system.
dbUniqueName This property is required. String
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
dbVersion This property is required. String
dbWorkload This property is required. String
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags This property is required. Map<String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. String
The OCID of the database.
isCdb This property is required. Boolean
True if the database is a container database.
keyStoreId This property is required. String
The OCID of the key store of Oracle Vault.
keyStoreWalletName This property is required. String
The wallet name for Oracle Key Vault.
kmsKeyId This property is required. String
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyMigration This property is required. Boolean
kmsKeyRotation This property is required. Number
kmsKeyVersionId This property is required. String
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
lastBackupDurationInSeconds This property is required. Number
The duration when the latest database backup created.
lastBackupTimestamp This property is required. String
The date and time when the latest database backup was created.
lastFailedBackupTimestamp This property is required. String
The date and time when the latest database backup failed.
lifecycleDetails This property is required. String
Additional information about the current lifecycle state.
ncharacterSet This property is required. String
The national character set for the database.
pdbName This property is required. String
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
sidPrefix This property is required. String
Specifies a prefix for the Oracle SID of the database to be created.
source This property is required. String
sourceDatabasePointInTimeRecoveryTimestamp This property is required. String
Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
state This property is required. String
A filter to return only resources that match the given lifecycle state exactly.
timeCreated This property is required. String
The date and time the database was created.
vaultId This property is required. String
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
vmClusterId This property is required. String
The OCID of the VM cluster.

GetDatabasesDatabaseConnectionString

AllConnectionStrings This property is required. Dictionary<string, string>
All connection strings to use to connect to the Database.
CdbDefault This property is required. string
Host name based CDB Connection String.
CdbIpDefault This property is required. string
IP based CDB Connection String.
AllConnectionStrings This property is required. map[string]string
All connection strings to use to connect to the Database.
CdbDefault This property is required. string
Host name based CDB Connection String.
CdbIpDefault This property is required. string
IP based CDB Connection String.
allConnectionStrings This property is required. Map<String,String>
All connection strings to use to connect to the Database.
cdbDefault This property is required. String
Host name based CDB Connection String.
cdbIpDefault This property is required. String
IP based CDB Connection String.
allConnectionStrings This property is required. {[key: string]: string}
All connection strings to use to connect to the Database.
cdbDefault This property is required. string
Host name based CDB Connection String.
cdbIpDefault This property is required. string
IP based CDB Connection String.
all_connection_strings This property is required. Mapping[str, str]
All connection strings to use to connect to the Database.
cdb_default This property is required. str
Host name based CDB Connection String.
cdb_ip_default This property is required. str
IP based CDB Connection String.
allConnectionStrings This property is required. Map<String>
All connection strings to use to connect to the Database.
cdbDefault This property is required. String
Host name based CDB Connection String.
cdbIpDefault This property is required. String
IP based CDB Connection String.

GetDatabasesDatabaseDataGuardGroup

Members This property is required. List<GetDatabasesDatabaseDataGuardGroupMember>
List of Data Guard members, representing each database that is part of Data Guard.
ProtectionMode This property is required. string
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
Members This property is required. []GetDatabasesDatabaseDataGuardGroupMember
List of Data Guard members, representing each database that is part of Data Guard.
ProtectionMode This property is required. string
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
members This property is required. List<GetsDataGuardGroupMember>
List of Data Guard members, representing each database that is part of Data Guard.
protectionMode This property is required. String
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
members This property is required. GetDatabasesDatabaseDataGuardGroupMember[]
List of Data Guard members, representing each database that is part of Data Guard.
protectionMode This property is required. string
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
members This property is required. Sequence[database.GetDatabasesDatabaseDataGuardGroupMember]
List of Data Guard members, representing each database that is part of Data Guard.
protection_mode This property is required. str
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
members This property is required. List<Property Map>
List of Data Guard members, representing each database that is part of Data Guard.
protectionMode This property is required. String
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

GetDatabasesDatabaseDataGuardGroupMember

ApplyLag This property is required. string
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example: 1 second
ApplyRate This property is required. string
The rate at which redo logs are synced between the associated databases. Example: 102.96 MByte/s
DatabaseId This property is required. string
The OCID of the Database.
DbSystemId This property is required. string
The OCID of the DB system.
IsActiveDataGuardEnabled This property is required. bool
True if active Data Guard is enabled.
Role This property is required. string
The role of the reporting database in this Data Guard association.
TransportLag This property is required. string
The rate at which redo logs are transported between the associated databases. Example: 1 second
TransportLagRefresh This property is required. string
The date and time when last redo transport has been done.
TransportType This property is required. string
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
ApplyLag This property is required. string
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example: 1 second
ApplyRate This property is required. string
The rate at which redo logs are synced between the associated databases. Example: 102.96 MByte/s
DatabaseId This property is required. string
The OCID of the Database.
DbSystemId This property is required. string
The OCID of the DB system.
IsActiveDataGuardEnabled This property is required. bool
True if active Data Guard is enabled.
Role This property is required. string
The role of the reporting database in this Data Guard association.
TransportLag This property is required. string
The rate at which redo logs are transported between the associated databases. Example: 1 second
TransportLagRefresh This property is required. string
The date and time when last redo transport has been done.
TransportType This property is required. string
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
applyLag This property is required. String
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example: 1 second
applyRate This property is required. String
The rate at which redo logs are synced between the associated databases. Example: 102.96 MByte/s
databaseId This property is required. String
The OCID of the Database.
dbSystemId This property is required. String
The OCID of the DB system.
isActiveDataGuardEnabled This property is required. Boolean
True if active Data Guard is enabled.
role This property is required. String
The role of the reporting database in this Data Guard association.
transportLag This property is required. String
The rate at which redo logs are transported between the associated databases. Example: 1 second
transportLagRefresh This property is required. String
The date and time when last redo transport has been done.
transportType This property is required. String
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
applyLag This property is required. string
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example: 1 second
applyRate This property is required. string
The rate at which redo logs are synced between the associated databases. Example: 102.96 MByte/s
databaseId This property is required. string
The OCID of the Database.
dbSystemId This property is required. string
The OCID of the DB system.
isActiveDataGuardEnabled This property is required. boolean
True if active Data Guard is enabled.
role This property is required. string
The role of the reporting database in this Data Guard association.
transportLag This property is required. string
The rate at which redo logs are transported between the associated databases. Example: 1 second
transportLagRefresh This property is required. string
The date and time when last redo transport has been done.
transportType This property is required. string
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
apply_lag This property is required. str
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example: 1 second
apply_rate This property is required. str
The rate at which redo logs are synced between the associated databases. Example: 102.96 MByte/s
database_id This property is required. str
The OCID of the Database.
db_system_id This property is required. str
The OCID of the DB system.
is_active_data_guard_enabled This property is required. bool
True if active Data Guard is enabled.
role This property is required. str
The role of the reporting database in this Data Guard association.
transport_lag This property is required. str
The rate at which redo logs are transported between the associated databases. Example: 1 second
transport_lag_refresh This property is required. str
The date and time when last redo transport has been done.
transport_type This property is required. str
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
applyLag This property is required. String
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example: 1 second
applyRate This property is required. String
The rate at which redo logs are synced between the associated databases. Example: 102.96 MByte/s
databaseId This property is required. String
The OCID of the Database.
dbSystemId This property is required. String
The OCID of the DB system.
isActiveDataGuardEnabled This property is required. Boolean
True if active Data Guard is enabled.
role This property is required. String
The role of the reporting database in this Data Guard association.
transportLag This property is required. String
The rate at which redo logs are transported between the associated databases. Example: 1 second
transportLagRefresh This property is required. String
The date and time when last redo transport has been done.
transportType This property is required. String
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC

GetDatabasesDatabaseDatabase

AdminPassword This property is required. string
BackupId This property is required. string
BackupTdePassword This property is required. string
CharacterSet This property is required. string
The character set for the database.
DatabaseAdminPassword This property is required. string
DatabaseSoftwareImageId This property is required. string
The database software image OCID
DbBackupConfigs This property is required. List<GetDatabasesDatabaseDatabaseDbBackupConfig>
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
DbName This property is required. string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
DbUniqueName This property is required. string
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
DbWorkload This property is required. string
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
EncryptionKeyLocationDetails This property is required. List<GetDatabasesDatabaseDatabaseEncryptionKeyLocationDetail>
Types of providers supported for managing database encryption keys
FreeformTags This property is required. Dictionary<string, string>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
IsActiveDataGuardEnabled This property is required. bool
True if active Data Guard is enabled.
KmsKeyId This property is required. string
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyVersionId This property is required. string
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
NcharacterSet This property is required. string
The national character set for the database.
PdbName This property is required. string
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
PluggableDatabases This property is required. List<string>
ProtectionMode This property is required. string
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
SidPrefix This property is required. string
Specifies a prefix for the Oracle SID of the database to be created.
SourceDatabaseId This property is required. string
SourceEncryptionKeyLocationDetails This property is required. List<GetDatabasesDatabaseDatabaseSourceEncryptionKeyLocationDetail>
SourceTdeWalletPassword This property is required. string
TdeWalletPassword This property is required. string
TransportType This property is required. string
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
VaultId This property is required. string
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
AdminPassword This property is required. string
BackupId This property is required. string
BackupTdePassword This property is required. string
CharacterSet This property is required. string
The character set for the database.
DatabaseAdminPassword This property is required. string
DatabaseSoftwareImageId This property is required. string
The database software image OCID
DbBackupConfigs This property is required. []GetDatabasesDatabaseDatabaseDbBackupConfig
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
DbName This property is required. string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
DbUniqueName This property is required. string
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
DbWorkload This property is required. string
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
EncryptionKeyLocationDetails This property is required. []GetDatabasesDatabaseDatabaseEncryptionKeyLocationDetail
Types of providers supported for managing database encryption keys
FreeformTags This property is required. map[string]string
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
IsActiveDataGuardEnabled This property is required. bool
True if active Data Guard is enabled.
KmsKeyId This property is required. string
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyVersionId This property is required. string
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
NcharacterSet This property is required. string
The national character set for the database.
PdbName This property is required. string
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
PluggableDatabases This property is required. []string
ProtectionMode This property is required. string
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
SidPrefix This property is required. string
Specifies a prefix for the Oracle SID of the database to be created.
SourceDatabaseId This property is required. string
SourceEncryptionKeyLocationDetails This property is required. []GetDatabasesDatabaseDatabaseSourceEncryptionKeyLocationDetail
SourceTdeWalletPassword This property is required. string
TdeWalletPassword This property is required. string
TransportType This property is required. string
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
VaultId This property is required. string
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
adminPassword This property is required. String
backupId This property is required. String
backupTdePassword This property is required. String
characterSet This property is required. String
The character set for the database.
databaseAdminPassword This property is required. String
databaseSoftwareImageId This property is required. String
The database software image OCID
dbBackupConfigs This property is required. List<GetsDbBackupConfig>
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
dbName This property is required. String
A filter to return only resources that match the entire database name given. The match is not case sensitive.
dbUniqueName This property is required. String
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
dbWorkload This property is required. String
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
encryptionKeyLocationDetails This property is required. List<GetsEncryptionKeyLocationDetail>
Types of providers supported for managing database encryption keys
freeformTags This property is required. Map<String,String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
isActiveDataGuardEnabled This property is required. Boolean
True if active Data Guard is enabled.
kmsKeyId This property is required. String
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyVersionId This property is required. String
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
ncharacterSet This property is required. String
The national character set for the database.
pdbName This property is required. String
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
pluggableDatabases This property is required. List<String>
protectionMode This property is required. String
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
sidPrefix This property is required. String
Specifies a prefix for the Oracle SID of the database to be created.
sourceDatabaseId This property is required. String
sourceEncryptionKeyLocationDetails This property is required. List<GetsSourceEncryptionKeyLocationDetail>
sourceTdeWalletPassword This property is required. String
tdeWalletPassword This property is required. String
transportType This property is required. String
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
vaultId This property is required. String
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
adminPassword This property is required. string
backupId This property is required. string
backupTdePassword This property is required. string
characterSet This property is required. string
The character set for the database.
databaseAdminPassword This property is required. string
databaseSoftwareImageId This property is required. string
The database software image OCID
dbBackupConfigs This property is required. GetDatabasesDatabaseDatabaseDbBackupConfig[]
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
dbName This property is required. string
A filter to return only resources that match the entire database name given. The match is not case sensitive.
dbUniqueName This property is required. string
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
dbWorkload This property is required. string
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
encryptionKeyLocationDetails This property is required. GetDatabasesDatabaseDatabaseEncryptionKeyLocationDetail[]
Types of providers supported for managing database encryption keys
freeformTags This property is required. {[key: string]: string}
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
isActiveDataGuardEnabled This property is required. boolean
True if active Data Guard is enabled.
kmsKeyId This property is required. string
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyVersionId This property is required. string
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
ncharacterSet This property is required. string
The national character set for the database.
pdbName This property is required. string
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
pluggableDatabases This property is required. string[]
protectionMode This property is required. string
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
sidPrefix This property is required. string
Specifies a prefix for the Oracle SID of the database to be created.
sourceDatabaseId This property is required. string
sourceEncryptionKeyLocationDetails This property is required. GetDatabasesDatabaseDatabaseSourceEncryptionKeyLocationDetail[]
sourceTdeWalletPassword This property is required. string
tdeWalletPassword This property is required. string
transportType This property is required. string
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
vaultId This property is required. string
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
admin_password This property is required. str
backup_id This property is required. str
backup_tde_password This property is required. str
character_set This property is required. str
The character set for the database.
database_admin_password This property is required. str
database_software_image_id This property is required. str
The database software image OCID
db_backup_configs This property is required. Sequence[database.GetDatabasesDatabaseDatabaseDbBackupConfig]
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
db_name This property is required. str
A filter to return only resources that match the entire database name given. The match is not case sensitive.
db_unique_name This property is required. str
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
db_workload This property is required. str
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
encryption_key_location_details This property is required. Sequence[database.GetDatabasesDatabaseDatabaseEncryptionKeyLocationDetail]
Types of providers supported for managing database encryption keys
freeform_tags This property is required. Mapping[str, str]
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
is_active_data_guard_enabled This property is required. bool
True if active Data Guard is enabled.
kms_key_id This property is required. str
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kms_key_version_id This property is required. str
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
ncharacter_set This property is required. str
The national character set for the database.
pdb_name This property is required. str
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
pluggable_databases This property is required. Sequence[str]
protection_mode This property is required. str
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
sid_prefix This property is required. str
Specifies a prefix for the Oracle SID of the database to be created.
source_database_id This property is required. str
source_encryption_key_location_details This property is required. Sequence[database.GetDatabasesDatabaseDatabaseSourceEncryptionKeyLocationDetail]
source_tde_wallet_password This property is required. str
tde_wallet_password This property is required. str
transport_type This property is required. str
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
vault_id This property is required. str
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
adminPassword This property is required. String
backupId This property is required. String
backupTdePassword This property is required. String
characterSet This property is required. String
The character set for the database.
databaseAdminPassword This property is required. String
databaseSoftwareImageId This property is required. String
The database software image OCID
dbBackupConfigs This property is required. List<Property Map>
Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
dbName This property is required. String
A filter to return only resources that match the entire database name given. The match is not case sensitive.
dbUniqueName This property is required. String
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
dbWorkload This property is required. String
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
encryptionKeyLocationDetails This property is required. List<Property Map>
Types of providers supported for managing database encryption keys
freeformTags This property is required. Map<String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
isActiveDataGuardEnabled This property is required. Boolean
True if active Data Guard is enabled.
kmsKeyId This property is required. String
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyVersionId This property is required. String
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
ncharacterSet This property is required. String
The national character set for the database.
pdbName This property is required. String
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
pluggableDatabases This property is required. List<String>
protectionMode This property is required. String
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
sidPrefix This property is required. String
Specifies a prefix for the Oracle SID of the database to be created.
sourceDatabaseId This property is required. String
sourceEncryptionKeyLocationDetails This property is required. List<Property Map>
sourceTdeWalletPassword This property is required. String
tdeWalletPassword This property is required. String
transportType This property is required. String
The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC
vaultId This property is required. String
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.

GetDatabasesDatabaseDatabaseDbBackupConfig

AutoBackupEnabled This property is required. bool
If set to true, configures automatic backups. 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.
AutoBackupWindow This property is required. string
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
AutoFullBackupDay This property is required. string
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
AutoFullBackupWindow This property is required. string
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
BackupDeletionPolicy This property is required. string
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
BackupDestinationDetails This property is required. List<GetDatabasesDatabaseDatabaseDbBackupConfigBackupDestinationDetail>
Backup destination details.
RecoveryWindowInDays This property is required. int
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
RunImmediateFullBackup This property is required. bool
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
AutoBackupEnabled This property is required. bool
If set to true, configures automatic backups. 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.
AutoBackupWindow This property is required. string
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
AutoFullBackupDay This property is required. string
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
AutoFullBackupWindow This property is required. string
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
BackupDeletionPolicy This property is required. string
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
BackupDestinationDetails This property is required. []GetDatabasesDatabaseDatabaseDbBackupConfigBackupDestinationDetail
Backup destination details.
RecoveryWindowInDays This property is required. int
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
RunImmediateFullBackup This property is required. bool
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
autoBackupEnabled This property is required. Boolean
If set to true, configures automatic backups. 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.
autoBackupWindow This property is required. String
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
autoFullBackupDay This property is required. String
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
autoFullBackupWindow This property is required. String
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
backupDeletionPolicy This property is required. String
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
backupDestinationDetails This property is required. List<GetsDbBackupConfigBackupDestinationDetail>
Backup destination details.
recoveryWindowInDays This property is required. Integer
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
runImmediateFullBackup This property is required. Boolean
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
autoBackupEnabled This property is required. boolean
If set to true, configures automatic backups. 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.
autoBackupWindow This property is required. string
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
autoFullBackupDay This property is required. string
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
autoFullBackupWindow This property is required. string
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
backupDeletionPolicy This property is required. string
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
backupDestinationDetails This property is required. GetDatabasesDatabaseDatabaseDbBackupConfigBackupDestinationDetail[]
Backup destination details.
recoveryWindowInDays This property is required. number
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
runImmediateFullBackup This property is required. boolean
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
auto_backup_enabled This property is required. bool
If set to true, configures automatic backups. 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.
auto_backup_window This property is required. str
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
auto_full_backup_day This property is required. str
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
auto_full_backup_window This property is required. str
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
backup_deletion_policy This property is required. str
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
backup_destination_details This property is required. Sequence[database.GetDatabasesDatabaseDatabaseDbBackupConfigBackupDestinationDetail]
Backup destination details.
recovery_window_in_days This property is required. int
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
run_immediate_full_backup This property is required. bool
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
autoBackupEnabled This property is required. Boolean
If set to true, configures automatic backups. 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.
autoBackupWindow This property is required. String
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
autoFullBackupDay This property is required. String
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
autoFullBackupWindow This property is required. String
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
backupDeletionPolicy This property is required. String
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
backupDestinationDetails This property is required. List<Property Map>
Backup destination details.
recoveryWindowInDays This property is required. Number
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
runImmediateFullBackup This property is required. Boolean
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.

GetDatabasesDatabaseDatabaseDbBackupConfigBackupDestinationDetail

DbrsPolicyId This property is required. string
The OCID of the DBRS policy used for backup.
Id This property is required. string
The OCID of the database.
Type This property is required. string
Type of the database backup destination.
VpcUser This property is required. string
DbrsPolicyId This property is required. string
The OCID of the DBRS policy used for backup.
Id This property is required. string
The OCID of the database.
Type This property is required. string
Type of the database backup destination.
VpcUser This property is required. string
dbrsPolicyId This property is required. String
The OCID of the DBRS policy used for backup.
id This property is required. String
The OCID of the database.
type This property is required. String
Type of the database backup destination.
vpcUser This property is required. String
dbrsPolicyId This property is required. string
The OCID of the DBRS policy used for backup.
id This property is required. string
The OCID of the database.
type This property is required. string
Type of the database backup destination.
vpcUser This property is required. string
dbrs_policy_id This property is required. str
The OCID of the DBRS policy used for backup.
id This property is required. str
The OCID of the database.
type This property is required. str
Type of the database backup destination.
vpc_user This property is required. str
dbrsPolicyId This property is required. String
The OCID of the DBRS policy used for backup.
id This property is required. String
The OCID of the database.
type This property is required. String
Type of the database backup destination.
vpcUser This property is required. String

GetDatabasesDatabaseDatabaseEncryptionKeyLocationDetail

HsmPassword This property is required. string
Provide the HSM password as you would in RDBMS for External HSM.
ProviderType This property is required. string
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
HsmPassword This property is required. string
Provide the HSM password as you would in RDBMS for External HSM.
ProviderType This property is required. string
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
hsmPassword This property is required. String
Provide the HSM password as you would in RDBMS for External HSM.
providerType This property is required. String
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
hsmPassword This property is required. string
Provide the HSM password as you would in RDBMS for External HSM.
providerType This property is required. string
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
hsm_password This property is required. str
Provide the HSM password as you would in RDBMS for External HSM.
provider_type This property is required. str
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
hsmPassword This property is required. String
Provide the HSM password as you would in RDBMS for External HSM.
providerType This property is required. String
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.

GetDatabasesDatabaseDatabaseManagementConfig

ManagementStatus This property is required. string
The status of the Database Management service.
ManagementType This property is required. string
The Database Management type.
ManagementStatus This property is required. string
The status of the Database Management service.
ManagementType This property is required. string
The Database Management type.
managementStatus This property is required. String
The status of the Database Management service.
managementType This property is required. String
The Database Management type.
managementStatus This property is required. string
The status of the Database Management service.
managementType This property is required. string
The Database Management type.
management_status This property is required. str
The status of the Database Management service.
management_type This property is required. str
The Database Management type.
managementStatus This property is required. String
The status of the Database Management service.
managementType This property is required. String
The Database Management type.

GetDatabasesDatabaseDatabaseSourceEncryptionKeyLocationDetail

HsmPassword This property is required. string
Provide the HSM password as you would in RDBMS for External HSM.
ProviderType This property is required. string
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
HsmPassword This property is required. string
Provide the HSM password as you would in RDBMS for External HSM.
ProviderType This property is required. string
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
hsmPassword This property is required. String
Provide the HSM password as you would in RDBMS for External HSM.
providerType This property is required. String
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
hsmPassword This property is required. string
Provide the HSM password as you would in RDBMS for External HSM.
providerType This property is required. string
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
hsm_password This property is required. str
Provide the HSM password as you would in RDBMS for External HSM.
provider_type This property is required. str
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
hsmPassword This property is required. String
Provide the HSM password as you would in RDBMS for External HSM.
providerType This property is required. String
Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.

GetDatabasesDatabaseDbBackupConfig

AutoBackupEnabled This property is required. bool
If set to true, configures automatic backups. 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.
AutoBackupWindow This property is required. string
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
AutoFullBackupDay This property is required. string
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
AutoFullBackupWindow This property is required. string
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
BackupDeletionPolicy This property is required. string
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
BackupDestinationDetails This property is required. List<GetDatabasesDatabaseDbBackupConfigBackupDestinationDetail>
Backup destination details.
RecoveryWindowInDays This property is required. int
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
RunImmediateFullBackup This property is required. bool
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
AutoBackupEnabled This property is required. bool
If set to true, configures automatic backups. 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.
AutoBackupWindow This property is required. string
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
AutoFullBackupDay This property is required. string
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
AutoFullBackupWindow This property is required. string
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
BackupDeletionPolicy This property is required. string
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
BackupDestinationDetails This property is required. []GetDatabasesDatabaseDbBackupConfigBackupDestinationDetail
Backup destination details.
RecoveryWindowInDays This property is required. int
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
RunImmediateFullBackup This property is required. bool
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
autoBackupEnabled This property is required. Boolean
If set to true, configures automatic backups. 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.
autoBackupWindow This property is required. String
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
autoFullBackupDay This property is required. String
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
autoFullBackupWindow This property is required. String
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
backupDeletionPolicy This property is required. String
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
backupDestinationDetails This property is required. List<GetsDbBackupConfigBackupDestinationDetail>
Backup destination details.
recoveryWindowInDays This property is required. Integer
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
runImmediateFullBackup This property is required. Boolean
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
autoBackupEnabled This property is required. boolean
If set to true, configures automatic backups. 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.
autoBackupWindow This property is required. string
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
autoFullBackupDay This property is required. string
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
autoFullBackupWindow This property is required. string
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
backupDeletionPolicy This property is required. string
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
backupDestinationDetails This property is required. GetDatabasesDatabaseDbBackupConfigBackupDestinationDetail[]
Backup destination details.
recoveryWindowInDays This property is required. number
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
runImmediateFullBackup This property is required. boolean
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
auto_backup_enabled This property is required. bool
If set to true, configures automatic backups. 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.
auto_backup_window This property is required. str
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
auto_full_backup_day This property is required. str
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
auto_full_backup_window This property is required. str
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
backup_deletion_policy This property is required. str
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
backup_destination_details This property is required. Sequence[database.GetDatabasesDatabaseDbBackupConfigBackupDestinationDetail]
Backup destination details.
recovery_window_in_days This property is required. int
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
run_immediate_full_backup This property is required. bool
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
autoBackupEnabled This property is required. Boolean
If set to true, configures automatic backups. 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.
autoBackupWindow This property is required. String
Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
autoFullBackupDay This property is required. String
Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
autoFullBackupWindow This property is required. String
Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO
backupDeletionPolicy This property is required. String
This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
backupDestinationDetails This property is required. List<Property Map>
Backup destination details.
recoveryWindowInDays This property is required. Number
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
runImmediateFullBackup This property is required. Boolean
If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.

GetDatabasesDatabaseDbBackupConfigBackupDestinationDetail

DbrsPolicyId This property is required. string
The OCID of the DBRS policy used for backup.
Id This property is required. string
The OCID of the database.
Type This property is required. string
Type of the database backup destination.
VpcUser This property is required. string
DbrsPolicyId This property is required. string
The OCID of the DBRS policy used for backup.
Id This property is required. string
The OCID of the database.
Type This property is required. string
Type of the database backup destination.
VpcUser This property is required. string
dbrsPolicyId This property is required. String
The OCID of the DBRS policy used for backup.
id This property is required. String
The OCID of the database.
type This property is required. String
Type of the database backup destination.
vpcUser This property is required. String
dbrsPolicyId This property is required. string
The OCID of the DBRS policy used for backup.
id This property is required. string
The OCID of the database.
type This property is required. string
Type of the database backup destination.
vpcUser This property is required. string
dbrs_policy_id This property is required. str
The OCID of the DBRS policy used for backup.
id This property is required. str
The OCID of the database.
type This property is required. str
Type of the database backup destination.
vpc_user This property is required. str
dbrsPolicyId This property is required. String
The OCID of the DBRS policy used for backup.
id This property is required. String
The OCID of the database.
type This property is required. String
Type of the database backup destination.
vpcUser This property is required. String

GetDatabasesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi