Data Source: oci_database_autonomous_db_versions
This data source provides the list of Autonomous Db Versions in Oracle Cloud Infrastructure Database service.
Gets a list of supported Autonomous AI Database versions.
Example Usage
data "oci_database_autonomous_db_versions" "test_autonomous_db_versions" {
#Required
compartment_id = var.compartment_id
#Optional
db_workload = var.autonomous_db_version_db_workload
}
Argument Reference
The following arguments are supported:
compartment_id- (Required) The compartment OCID.db_workload- (Optional) A filter to return only Autonomous AI Database resources that match the specified workload type.
Attributes Reference
The following attributes are exported:
autonomous_db_versions- The list of autonomous_db_versions.
AutonomousDbVersion Reference
The following attributes are exported:
db_workload- The Autonomous AI Database workload type. The following values are valid:- OLTP - indicates an Autonomous AI Transaction Processing database
- DW - indicates an Autonomous AI Lakehouse database
- AJD - indicates an Autonomous AI JSON Database
- APEX - indicates an Autonomous AI Database with the Oracle APEX AI Application Development workload type.
- LH - indicates an Oracle Autonomous AI Lakehouse database
Note Starting December 2026, DW will not be supported as a valid value for this parameter. When creating an Autonomous AI Database, if this parameter is not specified, the default value is
OLTP.This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
details- A URL that points to a detailed description of the Autonomous AI Database version.is_dedicated- True if the database uses dedicated Exadata infrastructure.is_default_for_free- True if this version of the Oracle AI Database software’s default is free.is_default_for_paid- True if this version of the Oracle AI Database software’s default is paid.is_free_tier_enabled- True if this version of the Oracle AI Database software can be used for Always-Free Autonomous AI Databases.is_paid_enabled- True if this version of the Oracle AI Database software has payments enabled.version- A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai. When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected. For new databases, it is recommended to use either 19c or 26ai.Note Starting December 2026, 23ai will not be supported as a valid value for this parameter.