Skip to main content

autonomous_db_preview_versions

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

Overview​

Nameautonomous_db_preview_versions
TypeResource
Idoci.database.autonomous_db_preview_versions

Fields​

The following fields are returned by SELECT queries:

The Autonomous AI Database preview version. Note that preview version software is only available for [Autonomous AI Database Serverless instances](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/serverless/).<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 preview version.
timePreviewBeginstring (date-time)The date and time when the preview version availability begins.
timePreviewEndstring (date-time)The date and time when the preview version availability ends.
versionstringA valid Autonomous AI Database preview version.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcompartmentId, regionlimit, page, opc-request-id, sortBy, sortOrderGets a list of supported Autonomous AI Database versions. Note that preview version software is only available for<br />Autonomous AI Database Serverless (https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html) databases.<br />

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)
limitintegerThe maximum number of items to return per page.
opc-request-idstringUnique identifier for the request.
pagestringThe pagination token to continue listing from.
sortBystringThe field to sort by. You can provide one sort order (sortOrder). Default order for DBWORKLOAD is ascending. Note: If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC).

SELECT examples​

Gets a list of supported Autonomous AI Database versions. Note that preview version software is only available for<br />Autonomous AI Database Serverless (https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html) databases.<br />

SELECT
dbWorkload,
details,
timePreviewBegin,
timePreviewEnd,
version
FROM oci.database.autonomous_db_preview_versions
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND opc-request-id = '{{ opc-request-id }}'
AND sortBy = '{{ sortBy }}'
AND sortOrder = '{{ sortOrder }}'
;