oci.Database.getAutonomousDbPreviewVersions
Explore with Pulumi AI
This data source provides the list of Autonomous Db Preview Versions in Oracle Cloud Infrastructure Database service.
Gets a list of supported Autonomous Database versions. Note that preview version software is only available for Autonomous 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/v2/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:
- CompartmentId string
- The compartment OCID.
- Filters
List<GetAutonomous Db Preview Versions Filter> 
- CompartmentId string
- The compartment OCID.
- Filters
[]GetAutonomous Db Preview Versions Filter 
- compartmentId String
- The compartment OCID.
- filters
List<GetAutonomous Db Preview Versions Filter> 
- compartmentId string
- The compartment OCID.
- filters
GetAutonomous Db Preview Versions Filter[] 
- compartment_id str
- The compartment OCID.
- filters
Sequence[GetAutonomous Db Preview Versions Filter] 
- compartmentId String
- The compartment OCID.
- filters List<Property Map>
getAutonomousDbPreviewVersions Result
The following output properties are available:
- AutonomousDb List<GetPreview Versions Autonomous Db Preview Versions Autonomous Db Preview Version> 
- The list of autonomous_db_preview_versions.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<GetAutonomous Db Preview Versions Filter> 
- AutonomousDb []GetPreview Versions Autonomous Db Preview Versions Autonomous Db Preview Version 
- The list of autonomous_db_preview_versions.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]GetAutonomous Db Preview Versions Filter 
- autonomousDb List<GetPreview Versions Autonomous Db Preview Versions Autonomous Db Preview Version> 
- The list of autonomous_db_preview_versions.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<GetAutonomous Db Preview Versions Filter> 
- autonomousDb GetPreview Versions Autonomous Db Preview Versions Autonomous Db Preview Version[] 
- The list of autonomous_db_preview_versions.
- compartmentId string
- id string
- The provider-assigned unique ID for this managed resource.
- filters
GetAutonomous 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[GetAutonomous Db Preview Versions Filter] 
- autonomousDb List<Property Map>Preview Versions 
- The list of autonomous_db_preview_versions.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetAutonomousDbPreviewVersionsAutonomousDbPreviewVersion        
- DbWorkload string
- The Autonomous Database workload type. The following values are valid:- OLTP - indicates an Autonomous Transaction Processing database
- DW - indicates an Autonomous Data Warehouse database
- AJD - indicates an Autonomous JSON Database
- APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
 
- Details string
- A URL that points to a detailed description of the preview version.
- TimePreview stringBegin 
- The date and time when the preview version availability begins.
- TimePreview stringEnd 
- The date and time when the preview version availability ends.
- Version string
- A valid Autonomous Database preview version.
- DbWorkload string
- The Autonomous Database workload type. The following values are valid:- OLTP - indicates an Autonomous Transaction Processing database
- DW - indicates an Autonomous Data Warehouse database
- AJD - indicates an Autonomous JSON Database
- APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
 
- Details string
- A URL that points to a detailed description of the preview version.
- TimePreview stringBegin 
- The date and time when the preview version availability begins.
- TimePreview stringEnd 
- The date and time when the preview version availability ends.
- Version string
- A valid Autonomous Database preview version.
- dbWorkload String
- The Autonomous Database workload type. The following values are valid:- OLTP - indicates an Autonomous Transaction Processing database
- DW - indicates an Autonomous Data Warehouse database
- AJD - indicates an Autonomous JSON Database
- APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
 
- details String
- A URL that points to a detailed description of the preview version.
- timePreview StringBegin 
- The date and time when the preview version availability begins.
- timePreview StringEnd 
- The date and time when the preview version availability ends.
- version String
- A valid Autonomous Database preview version.
- dbWorkload string
- The Autonomous Database workload type. The following values are valid:- OLTP - indicates an Autonomous Transaction Processing database
- DW - indicates an Autonomous Data Warehouse database
- AJD - indicates an Autonomous JSON Database
- APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
 
- details string
- A URL that points to a detailed description of the preview version.
- timePreview stringBegin 
- The date and time when the preview version availability begins.
- timePreview stringEnd 
- The date and time when the preview version availability ends.
- version string
- A valid Autonomous Database preview version.
- db_workload str
- The Autonomous Database workload type. The following values are valid:- OLTP - indicates an Autonomous Transaction Processing database
- DW - indicates an Autonomous Data Warehouse database
- AJD - indicates an Autonomous JSON Database
- APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
 
- 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 Database preview version.
- dbWorkload String
- The Autonomous Database workload type. The following values are valid:- OLTP - indicates an Autonomous Transaction Processing database
- DW - indicates an Autonomous Data Warehouse database
- AJD - indicates an Autonomous JSON Database
- APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
 
- details String
- A URL that points to a detailed description of the preview version.
- timePreview StringBegin 
- The date and time when the preview version availability begins.
- timePreview StringEnd 
- The date and time when the preview version availability ends.
- version String
- A valid Autonomous 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.