1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getAutonomousContainerDatabaseVersions
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Database.getAutonomousContainerDatabaseVersions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Autonomous Container Database Versions in Oracle Cloud Infrastructure Database service.

    Gets a list of supported Autonomous Container Database versions.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAutonomousContainerDatabaseVersions = oci.Database.getAutonomousContainerDatabaseVersions({
        compartmentId: compartmentId,
        serviceComponent: autonomousContainerDatabaseVersionServiceComponent,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_autonomous_container_database_versions = oci.Database.get_autonomous_container_database_versions(compartment_id=compartment_id,
        service_component=autonomous_container_database_version_service_component)
    
    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.GetAutonomousContainerDatabaseVersions(ctx, &database.GetAutonomousContainerDatabaseVersionsArgs{
    			CompartmentId:    compartmentId,
    			ServiceComponent: autonomousContainerDatabaseVersionServiceComponent,
    		}, 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 testAutonomousContainerDatabaseVersions = Oci.Database.GetAutonomousContainerDatabaseVersions.Invoke(new()
        {
            CompartmentId = compartmentId,
            ServiceComponent = autonomousContainerDatabaseVersionServiceComponent,
        });
    
    });
    
    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.GetAutonomousContainerDatabaseVersionsArgs;
    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 testAutonomousContainerDatabaseVersions = DatabaseFunctions.getAutonomousContainerDatabaseVersions(GetAutonomousContainerDatabaseVersionsArgs.builder()
                .compartmentId(compartmentId)
                .serviceComponent(autonomousContainerDatabaseVersionServiceComponent)
                .build());
    
        }
    }
    
    variables:
      testAutonomousContainerDatabaseVersions:
        fn::invoke:
          Function: oci:Database:getAutonomousContainerDatabaseVersions
          Arguments:
            compartmentId: ${compartmentId}
            serviceComponent: ${autonomousContainerDatabaseVersionServiceComponent}
    

    Using getAutonomousContainerDatabaseVersions

    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 getAutonomousContainerDatabaseVersions(args: GetAutonomousContainerDatabaseVersionsArgs, opts?: InvokeOptions): Promise<GetAutonomousContainerDatabaseVersionsResult>
    function getAutonomousContainerDatabaseVersionsOutput(args: GetAutonomousContainerDatabaseVersionsOutputArgs, opts?: InvokeOptions): Output<GetAutonomousContainerDatabaseVersionsResult>
    def get_autonomous_container_database_versions(compartment_id: Optional[str] = None,
                                                   filters: Optional[Sequence[_database.GetAutonomousContainerDatabaseVersionsFilter]] = None,
                                                   service_component: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetAutonomousContainerDatabaseVersionsResult
    def get_autonomous_container_database_versions_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetAutonomousContainerDatabaseVersionsFilterArgs]]]] = None,
                                                   service_component: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousContainerDatabaseVersionsResult]
    func GetAutonomousContainerDatabaseVersions(ctx *Context, args *GetAutonomousContainerDatabaseVersionsArgs, opts ...InvokeOption) (*GetAutonomousContainerDatabaseVersionsResult, error)
    func GetAutonomousContainerDatabaseVersionsOutput(ctx *Context, args *GetAutonomousContainerDatabaseVersionsOutputArgs, opts ...InvokeOption) GetAutonomousContainerDatabaseVersionsResultOutput

    > Note: This function is named GetAutonomousContainerDatabaseVersions in the Go SDK.

    public static class GetAutonomousContainerDatabaseVersions 
    {
        public static Task<GetAutonomousContainerDatabaseVersionsResult> InvokeAsync(GetAutonomousContainerDatabaseVersionsArgs args, InvokeOptions? opts = null)
        public static Output<GetAutonomousContainerDatabaseVersionsResult> Invoke(GetAutonomousContainerDatabaseVersionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutonomousContainerDatabaseVersionsResult> getAutonomousContainerDatabaseVersions(GetAutonomousContainerDatabaseVersionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Database/getAutonomousContainerDatabaseVersions:getAutonomousContainerDatabaseVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The compartment OCID.
    ServiceComponent string
    The service component to use, either ADBD or EXACC.
    Filters List<GetAutonomousContainerDatabaseVersionsFilter>
    CompartmentId string
    The compartment OCID.
    ServiceComponent string
    The service component to use, either ADBD or EXACC.
    Filters []GetAutonomousContainerDatabaseVersionsFilter
    compartmentId String
    The compartment OCID.
    serviceComponent String
    The service component to use, either ADBD or EXACC.
    filters List<GetAutonomousContainerVersionsFilter>
    compartmentId string
    The compartment OCID.
    serviceComponent string
    The service component to use, either ADBD or EXACC.
    filters GetAutonomousContainerDatabaseVersionsFilter[]
    compartment_id str
    The compartment OCID.
    service_component str
    The service component to use, either ADBD or EXACC.
    filters Sequence[database.GetAutonomousContainerDatabaseVersionsFilter]
    compartmentId String
    The compartment OCID.
    serviceComponent String
    The service component to use, either ADBD or EXACC.
    filters List<Property Map>

    getAutonomousContainerDatabaseVersions Result

    The following output properties are available:

    AutonomousContainerDatabaseVersions []GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersion
    The list of autonomous_container_database_versions.
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceComponent string
    Filters []GetAutonomousContainerDatabaseVersionsFilter
    autonomousContainerDatabaseVersions List<GetAutonomousContainerVersionsAutonomousContainerVersion>
    The list of autonomous_container_database_versions.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceComponent String
    filters List<GetAutonomousContainerVersionsFilter>
    autonomousContainerDatabaseVersions GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersion[]
    The list of autonomous_container_database_versions.
    compartmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    serviceComponent string
    filters GetAutonomousContainerDatabaseVersionsFilter[]
    autonomousContainerDatabaseVersions List<Property Map>
    The list of autonomous_container_database_versions.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceComponent String
    filters List<Property Map>

    Supporting Types

    GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersion

    Details string
    A URL that points to a detailed description of the Autonomous Container Database version.
    SupportedApps List<GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedApp>
    The list of applications supported for the given version.
    Version string
    A valid Oracle Database version for provisioning an Autonomous Container Database.
    Details string
    A URL that points to a detailed description of the Autonomous Container Database version.
    SupportedApps []GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedApp
    The list of applications supported for the given version.
    Version string
    A valid Oracle Database version for provisioning an Autonomous Container Database.
    details String
    A URL that points to a detailed description of the Autonomous Container Database version.
    supportedApps List<GetAutonomousContainerVersionsAutonomousContainerVersionSupportedApp>
    The list of applications supported for the given version.
    version String
    A valid Oracle Database version for provisioning an Autonomous Container Database.
    details string
    A URL that points to a detailed description of the Autonomous Container Database version.
    supportedApps GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedApp[]
    The list of applications supported for the given version.
    version string
    A valid Oracle Database version for provisioning an Autonomous Container Database.
    details str
    A URL that points to a detailed description of the Autonomous Container Database version.
    supported_apps Sequence[database.GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedApp]
    The list of applications supported for the given version.
    version str
    A valid Oracle Database version for provisioning an Autonomous Container Database.
    details String
    A URL that points to a detailed description of the Autonomous Container Database version.
    supportedApps List<Property Map>
    The list of applications supported for the given version.
    version String
    A valid Oracle Database version for provisioning an Autonomous Container Database.

    GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedApp

    EndOfSupport string
    The Autonomous Container Database version end of support date.
    IsCertified bool
    Indicates if the image is certified.
    ReleaseDate string
    The Autonomous Container Database version release date.
    SupportedAppName string
    The name of the supported application.
    EndOfSupport string
    The Autonomous Container Database version end of support date.
    IsCertified bool
    Indicates if the image is certified.
    ReleaseDate string
    The Autonomous Container Database version release date.
    SupportedAppName string
    The name of the supported application.
    endOfSupport String
    The Autonomous Container Database version end of support date.
    isCertified Boolean
    Indicates if the image is certified.
    releaseDate String
    The Autonomous Container Database version release date.
    supportedAppName String
    The name of the supported application.
    endOfSupport string
    The Autonomous Container Database version end of support date.
    isCertified boolean
    Indicates if the image is certified.
    releaseDate string
    The Autonomous Container Database version release date.
    supportedAppName string
    The name of the supported application.
    end_of_support str
    The Autonomous Container Database version end of support date.
    is_certified bool
    Indicates if the image is certified.
    release_date str
    The Autonomous Container Database version release date.
    supported_app_name str
    The name of the supported application.
    endOfSupport String
    The Autonomous Container Database version end of support date.
    isCertified Boolean
    Indicates if the image is certified.
    releaseDate String
    The Autonomous Container Database version release date.
    supportedAppName String
    The name of the supported application.

    GetAutonomousContainerDatabaseVersionsFilter

    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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi