Skip to main content

autonomous_db_versions

Creates, updates, deletes, gets or lists an autonomous_db_versions resource.

Overview​

Nameautonomous_db_versions
TypeResource
Idoci.database.autonomous_db_versions

Fields​

The following fields are returned by SELECT queries:

The supported Autonomous AI Database version.<br />

NameDatatypeDescription
dbWorkloadstringThe 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. (OLTP, DW, AJD, APEX, LH)
detailsstringA URL that points to a detailed description of the Autonomous AI Database version.
isDedicatedbooleanTrue if the database uses [dedicated Exadata infrastructure](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html).
isDefaultForFreebooleanTrue if this version of the Oracle AI Database software's default is free.
isDefaultForPaidbooleanTrue if this version of the Oracle AI Database software's default is paid.
isFreeTierEnabledbooleanTrue if this version of the Oracle AI Database software can be used for Always-Free Autonomous AI Databases.
isPaidEnabledbooleanTrue if this version of the Oracle AI Database software has payments enabled.
versionstringA 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.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcompartmentId, regionlimit, page, opc-request-id, dbWorkload, sortOrderGets a list of supported Autonomous AI Database versions.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
compartmentIdstringThe compartment [OCID](/Content/General/Concepts/identifiers.htm).
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
dbWorkloadstringA filter to return only Autonomous AI Database resources that match the specified workload type.
limitintegerThe maximum number of items to return per page.
opc-request-idstringUnique identifier for the request.
pagestringThe pagination token to continue listing from.
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC).

SELECT examples​

Gets a list of supported Autonomous AI Database versions.

SELECT
dbWorkload,
details,
isDedicated,
isDefaultForFree,
isDefaultForPaid,
isFreeTierEnabled,
isPaidEnabled,
version
FROM oci.database.autonomous_db_versions
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND opc-request-id = '{{ opc-request-id }}'
AND dbWorkload = '{{ dbWorkload }}'
AND sortOrder = '{{ sortOrder }}'
;