Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getAutonomousDbPreviewVersions

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 databases with shared Exadata infrastructure.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAutonomousDbPreviewVersions = Output.Create(Oci.Database.GetAutonomousDbPreviewVersions.InvokeAsync(new Oci.Database.GetAutonomousDbPreviewVersionsArgs
        {
            CompartmentId = @var.Compartment_id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_autonomous_db_preview_versions = oci.Database.get_autonomous_db_preview_versions(compartment_id=var["compartment_id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutonomousDbPreviewVersions = oci.Database.getAutonomousDbPreviewVersions({
    compartmentId: _var.compartment_id,
});

Coming soon!

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[_database.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[_database.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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Database/getAutonomousDbPreviewVersions:getAutonomousDbPreviewVersions
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getAutonomousDbPreviewVersions Result

The following output properties are available:

AutonomousDbPreviewVersions List<GetAutonomousDbPreviewVersionsAutonomousDbPreviewVersion>

The list of autonomous_db_preview_versions.

CompartmentId string
Id string

The provider-assigned unique ID for this managed resource.

Filters List<GetAutonomousDbPreviewVersionsFilter>
AutonomousDbPreviewVersions []GetAutonomousDbPreviewVersionsAutonomousDbPreviewVersion

The list of autonomous_db_preview_versions.

CompartmentId string
Id string

The provider-assigned unique ID for this managed resource.

Filters []GetAutonomousDbPreviewVersionsFilter
autonomousDbPreviewVersions List<GetAutonomousDbPreviewVersionsAutonomousDbPreviewVersion>

The list of autonomous_db_preview_versions.

compartmentId String
id String

The provider-assigned unique ID for this managed resource.

filters List<GetAutonomousDbPreviewVersionsFilter>
autonomousDbPreviewVersions GetAutonomousDbPreviewVersionsAutonomousDbPreviewVersion[]

The list of autonomous_db_preview_versions.

compartmentId string
id string

The provider-assigned unique ID for this managed resource.

filters GetAutonomousDbPreviewVersionsFilter[]
autonomous_db_preview_versions GetAutonomousDbPreviewVersionsAutonomousDbPreviewVersion]

The list of autonomous_db_preview_versions.

compartment_id str
id str

The provider-assigned unique ID for this managed resource.

filters GetAutonomousDbPreviewVersionsFilter]
autonomousDbPreviewVersions List<Property Map>

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.

TimePreviewBegin string

The date and time when the preview version availability begins.

TimePreviewEnd string

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.

TimePreviewBegin string

The date and time when the preview version availability begins.

TimePreviewEnd string

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.

timePreviewBegin String

The date and time when the preview version availability begins.

timePreviewEnd String

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.

timePreviewBegin string

The date and time when the preview version availability begins.

timePreviewEnd string

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_begin str

The date and time when the preview version availability begins.

time_preview_end str

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.

timePreviewBegin String

The date and time when the preview version availability begins.

timePreviewEnd String

The date and time when the preview version availability ends.

version String

A valid Autonomous Database preview version.

GetAutonomousDbPreviewVersionsFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.