published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides the list of Autonomous Db Preview Versions in Oracle Cloud Infrastructure Database service.
Gets a list of supported Autonomous AI Database versions. Note that preview version software is only available for Autonomous AI Database Serverless (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) databases.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousDbPreviewVersions = oci.Database.getAutonomousDbPreviewVersions({
compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_autonomous_db_preview_versions = oci.Database.get_autonomous_db_preview_versions(compartment_id=compartment_id)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.GetAutonomousDbPreviewVersions(ctx, &database.GetAutonomousDbPreviewVersionsArgs{
CompartmentId: compartmentId,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAutonomousDbPreviewVersions = Oci.Database.GetAutonomousDbPreviewVersions.Invoke(new()
{
CompartmentId = compartmentId,
});
});
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.GetAutonomousDbPreviewVersionsArgs;
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 testAutonomousDbPreviewVersions = DatabaseFunctions.getAutonomousDbPreviewVersions(GetAutonomousDbPreviewVersionsArgs.builder()
.compartmentId(compartmentId)
.build());
}
}
variables:
testAutonomousDbPreviewVersions:
fn::invoke:
function: oci:Database:getAutonomousDbPreviewVersions
arguments:
compartmentId: ${compartmentId}
Using getAutonomousDbPreviewVersions
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 getAutonomousDbPreviewVersions(args: GetAutonomousDbPreviewVersionsArgs, opts?: InvokeOptions): Promise<GetAutonomousDbPreviewVersionsResult>
function getAutonomousDbPreviewVersionsOutput(args: GetAutonomousDbPreviewVersionsOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDbPreviewVersionsResult>def get_autonomous_db_preview_versions(compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetAutonomousDbPreviewVersionsFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetAutonomousDbPreviewVersionsResult
def get_autonomous_db_preview_versions_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAutonomousDbPreviewVersionsFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDbPreviewVersionsResult]func GetAutonomousDbPreviewVersions(ctx *Context, args *GetAutonomousDbPreviewVersionsArgs, opts ...InvokeOption) (*GetAutonomousDbPreviewVersionsResult, error)
func GetAutonomousDbPreviewVersionsOutput(ctx *Context, args *GetAutonomousDbPreviewVersionsOutputArgs, opts ...InvokeOption) GetAutonomousDbPreviewVersionsResultOutput> Note: This function is named GetAutonomousDbPreviewVersions in the Go SDK.
public static class GetAutonomousDbPreviewVersions
{
public static Task<GetAutonomousDbPreviewVersionsResult> InvokeAsync(GetAutonomousDbPreviewVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetAutonomousDbPreviewVersionsResult> Invoke(GetAutonomousDbPreviewVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAutonomousDbPreviewVersionsResult> getAutonomousDbPreviewVersions(GetAutonomousDbPreviewVersionsArgs args, InvokeOptions options)
public static Output<GetAutonomousDbPreviewVersionsResult> getAutonomousDbPreviewVersions(GetAutonomousDbPreviewVersionsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getAutonomousDbPreviewVersions:getAutonomousDbPreviewVersions
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The compartment OCID.
- Filters
List<Get
Autonomous Db Preview Versions Filter>
- Compartment
Id string - The compartment OCID.
- Filters
[]Get
Autonomous Db Preview Versions Filter
- compartment
Id String - The compartment OCID.
- filters
List<Get
Autonomous Db Preview Versions Filter>
- compartment
Id string - The compartment OCID.
- filters
Get
Autonomous Db Preview Versions Filter[]
- compartment_
id str - The compartment OCID.
- filters
Sequence[Get
Autonomous Db Preview Versions Filter]
- compartment
Id String - The compartment OCID.
- filters List<Property Map>
getAutonomousDbPreviewVersions Result
The following output properties are available:
- Autonomous
Db List<GetPreview Versions Autonomous Db Preview Versions Autonomous Db Preview Version> - The list of autonomous_db_preview_versions.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Autonomous Db Preview Versions Filter>
- Autonomous
Db []GetPreview Versions Autonomous Db Preview Versions Autonomous Db Preview Version - The list of autonomous_db_preview_versions.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Autonomous Db Preview Versions Filter
- autonomous
Db List<GetPreview Versions Autonomous Db Preview Versions Autonomous Db Preview Version> - The list of autonomous_db_preview_versions.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Autonomous Db Preview Versions Filter>
- autonomous
Db GetPreview Versions Autonomous Db Preview Versions Autonomous Db Preview Version[] - The list of autonomous_db_preview_versions.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Autonomous Db Preview Versions Filter[]
- autonomous_
db_ Sequence[Getpreview_ versions Autonomous Db Preview Versions Autonomous Db Preview Version] - The list of autonomous_db_preview_versions.
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Autonomous Db Preview Versions Filter]
- autonomous
Db List<Property Map>Preview Versions - The list of autonomous_db_preview_versions.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetAutonomousDbPreviewVersionsAutonomousDbPreviewVersion
- Db
Workload string - 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
- Details string
- A URL that points to a detailed description of the preview version.
- Time
Preview stringBegin - The date and time when the preview version availability begins.
- Time
Preview stringEnd - The date and time when the preview version availability ends.
- Version string
- A valid Autonomous AI Database preview version.
- Db
Workload string - 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
- Details string
- A URL that points to a detailed description of the preview version.
- Time
Preview stringBegin - The date and time when the preview version availability begins.
- Time
Preview stringEnd - The date and time when the preview version availability ends.
- Version string
- A valid Autonomous AI Database preview version.
- db
Workload String - 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
- details String
- A URL that points to a detailed description of the preview version.
- time
Preview StringBegin - The date and time when the preview version availability begins.
- time
Preview StringEnd - The date and time when the preview version availability ends.
- version String
- A valid Autonomous AI Database preview version.
- db
Workload string - 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
- details string
- A URL that points to a detailed description of the preview version.
- time
Preview stringBegin - The date and time when the preview version availability begins.
- time
Preview stringEnd - The date and time when the preview version availability ends.
- version string
- A valid Autonomous AI Database preview version.
- db_
workload str - 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
- details str
- A URL that points to a detailed description of the preview version.
- time_
preview_ strbegin - The date and time when the preview version availability begins.
- time_
preview_ strend - The date and time when the preview version availability ends.
- version str
- A valid Autonomous AI Database preview version.
- db
Workload String - 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
- details String
- A URL that points to a detailed description of the preview version.
- time
Preview StringBegin - The date and time when the preview version availability begins.
- time
Preview StringEnd - The date and time when the preview version availability ends.
- version String
- A valid Autonomous AI Database preview version.
GetAutonomousDbPreviewVersionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Friday, Mar 6, 2026 by Pulumi
