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/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[_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:
- 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[database.
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[database.preview_ versions Get 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[database.
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 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.
- 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 Database preview version.
- Db
Workload 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.
- 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 Database preview version.
- db
Workload 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.
- 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 Database preview version.
- db
Workload 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.
- 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 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.
- db
Workload 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.
- 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 Database preview version.
GetAutonomousDbPreviewVersionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.