1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseMigration
  5. getConnectionDatabaseconnectiontypes
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi

    This data source provides the list of Connection Databaseconnectiontypes in Oracle Cloud Infrastructure Database Migration service.

    List supported Database Types, Sub-types and Versions.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testConnectionDatabaseconnectiontypes = oci.DatabaseMigration.getConnectionDatabaseconnectiontypes({
        compartmentId: compartmentId,
        connectionTypes: connectionDatabaseconnectiontypeConnectionType,
        sourceConnectionId: testConnection.id,
        technologyTypes: connectionDatabaseconnectiontypeTechnologyType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_connection_databaseconnectiontypes = oci.DatabaseMigration.get_connection_databaseconnectiontypes(compartment_id=compartment_id,
        connection_types=connection_databaseconnectiontype_connection_type,
        source_connection_id=test_connection["id"],
        technology_types=connection_databaseconnectiontype_technology_type)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasemigration"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databasemigration.GetConnectionDatabaseconnectiontypes(ctx, &databasemigration.GetConnectionDatabaseconnectiontypesArgs{
    			CompartmentId:      compartmentId,
    			ConnectionTypes:    connectionDatabaseconnectiontypeConnectionType,
    			SourceConnectionId: pulumi.StringRef(testConnection.Id),
    			TechnologyTypes:    connectionDatabaseconnectiontypeTechnologyType,
    		}, 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 testConnectionDatabaseconnectiontypes = Oci.DatabaseMigration.GetConnectionDatabaseconnectiontypes.Invoke(new()
        {
            CompartmentId = compartmentId,
            ConnectionTypes = connectionDatabaseconnectiontypeConnectionType,
            SourceConnectionId = testConnection.Id,
            TechnologyTypes = connectionDatabaseconnectiontypeTechnologyType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseMigration.DatabaseMigrationFunctions;
    import com.pulumi.oci.DatabaseMigration.inputs.GetConnectionDatabaseconnectiontypesArgs;
    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 testConnectionDatabaseconnectiontypes = DatabaseMigrationFunctions.getConnectionDatabaseconnectiontypes(GetConnectionDatabaseconnectiontypesArgs.builder()
                .compartmentId(compartmentId)
                .connectionTypes(connectionDatabaseconnectiontypeConnectionType)
                .sourceConnectionId(testConnection.id())
                .technologyTypes(connectionDatabaseconnectiontypeTechnologyType)
                .build());
    
        }
    }
    
    variables:
      testConnectionDatabaseconnectiontypes:
        fn::invoke:
          function: oci:DatabaseMigration:getConnectionDatabaseconnectiontypes
          arguments:
            compartmentId: ${compartmentId}
            connectionTypes: ${connectionDatabaseconnectiontypeConnectionType}
            sourceConnectionId: ${testConnection.id}
            technologyTypes: ${connectionDatabaseconnectiontypeTechnologyType}
    

    Using getConnectionDatabaseconnectiontypes

    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 getConnectionDatabaseconnectiontypes(args: GetConnectionDatabaseconnectiontypesArgs, opts?: InvokeOptions): Promise<GetConnectionDatabaseconnectiontypesResult>
    function getConnectionDatabaseconnectiontypesOutput(args: GetConnectionDatabaseconnectiontypesOutputArgs, opts?: InvokeOptions): Output<GetConnectionDatabaseconnectiontypesResult>
    def get_connection_databaseconnectiontypes(compartment_id: Optional[str] = None,
                                               connection_types: Optional[Sequence[str]] = None,
                                               filters: Optional[Sequence[GetConnectionDatabaseconnectiontypesFilter]] = None,
                                               source_connection_id: Optional[str] = None,
                                               technology_types: Optional[Sequence[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetConnectionDatabaseconnectiontypesResult
    def get_connection_databaseconnectiontypes_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                               connection_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetConnectionDatabaseconnectiontypesFilterArgs]]]] = None,
                                               source_connection_id: Optional[pulumi.Input[str]] = None,
                                               technology_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetConnectionDatabaseconnectiontypesResult]
    func GetConnectionDatabaseconnectiontypes(ctx *Context, args *GetConnectionDatabaseconnectiontypesArgs, opts ...InvokeOption) (*GetConnectionDatabaseconnectiontypesResult, error)
    func GetConnectionDatabaseconnectiontypesOutput(ctx *Context, args *GetConnectionDatabaseconnectiontypesOutputArgs, opts ...InvokeOption) GetConnectionDatabaseconnectiontypesResultOutput

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

    public static class GetConnectionDatabaseconnectiontypes 
    {
        public static Task<GetConnectionDatabaseconnectiontypesResult> InvokeAsync(GetConnectionDatabaseconnectiontypesArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectionDatabaseconnectiontypesResult> Invoke(GetConnectionDatabaseconnectiontypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectionDatabaseconnectiontypesResult> getConnectionDatabaseconnectiontypes(GetConnectionDatabaseconnectiontypesArgs args, InvokeOptions options)
    public static Output<GetConnectionDatabaseconnectiontypesResult> getConnectionDatabaseconnectiontypes(GetConnectionDatabaseconnectiontypesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DatabaseMigration/getConnectionDatabaseconnectiontypes:getConnectionDatabaseconnectiontypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    ConnectionTypes List<string>
    The array of connection types.
    Filters List<GetConnectionDatabaseconnectiontypesFilter>
    SourceConnectionId string
    The OCID of the source connection.
    TechnologyTypes List<string>
    The array of technology types.
    CompartmentId string
    The ID of the compartment in which to list resources.
    ConnectionTypes []string
    The array of connection types.
    Filters []GetConnectionDatabaseconnectiontypesFilter
    SourceConnectionId string
    The OCID of the source connection.
    TechnologyTypes []string
    The array of technology types.
    compartmentId String
    The ID of the compartment in which to list resources.
    connectionTypes List<String>
    The array of connection types.
    filters List<GetConnectionDatabaseconnectiontypesFilter>
    sourceConnectionId String
    The OCID of the source connection.
    technologyTypes List<String>
    The array of technology types.
    compartmentId string
    The ID of the compartment in which to list resources.
    connectionTypes string[]
    The array of connection types.
    filters GetConnectionDatabaseconnectiontypesFilter[]
    sourceConnectionId string
    The OCID of the source connection.
    technologyTypes string[]
    The array of technology types.
    compartment_id str
    The ID of the compartment in which to list resources.
    connection_types Sequence[str]
    The array of connection types.
    filters Sequence[GetConnectionDatabaseconnectiontypesFilter]
    source_connection_id str
    The OCID of the source connection.
    technology_types Sequence[str]
    The array of technology types.
    compartmentId String
    The ID of the compartment in which to list resources.
    connectionTypes List<String>
    The array of connection types.
    filters List<Property Map>
    sourceConnectionId String
    The OCID of the source connection.
    technologyTypes List<String>
    The array of technology types.

    getConnectionDatabaseconnectiontypes Result

    The following output properties are available:

    CompartmentId string
    DatabaseConnectionTypeCollections List<GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollection>
    The list of database_connection_type_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    ConnectionTypes List<string>
    Defines the type of connection. For example, ORACLE.
    Filters List<GetConnectionDatabaseconnectiontypesFilter>
    SourceConnectionId string
    TechnologyTypes List<string>
    The technology type.
    CompartmentId string
    DatabaseConnectionTypeCollections []GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollection
    The list of database_connection_type_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    ConnectionTypes []string
    Defines the type of connection. For example, ORACLE.
    Filters []GetConnectionDatabaseconnectiontypesFilter
    SourceConnectionId string
    TechnologyTypes []string
    The technology type.
    compartmentId String
    databaseConnectionTypeCollections List<GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollection>
    The list of database_connection_type_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    connectionTypes List<String>
    Defines the type of connection. For example, ORACLE.
    filters List<GetConnectionDatabaseconnectiontypesFilter>
    sourceConnectionId String
    technologyTypes List<String>
    The technology type.
    compartmentId string
    databaseConnectionTypeCollections GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollection[]
    The list of database_connection_type_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    connectionTypes string[]
    Defines the type of connection. For example, ORACLE.
    filters GetConnectionDatabaseconnectiontypesFilter[]
    sourceConnectionId string
    technologyTypes string[]
    The technology type.
    compartment_id str
    database_connection_type_collections Sequence[GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollection]
    The list of database_connection_type_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    connection_types Sequence[str]
    Defines the type of connection. For example, ORACLE.
    filters Sequence[GetConnectionDatabaseconnectiontypesFilter]
    source_connection_id str
    technology_types Sequence[str]
    The technology type.
    compartmentId String
    databaseConnectionTypeCollections List<Property Map>
    The list of database_connection_type_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    connectionTypes List<String>
    Defines the type of connection. For example, ORACLE.
    filters List<Property Map>
    sourceConnectionId String
    technologyTypes List<String>
    The technology type.

    Supporting Types

    GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollection

    items List<Property Map>
    Items in collection.

    GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollectionItem

    connectionType String
    The array of connection types.
    technologyTypes List<Property Map>
    Array of technology type objects

    GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollectionItemTechnologyType

    DatabaseVersions List<string>
    Array of database versions
    TechnologySubTypes List<GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollectionItemTechnologyTypeTechnologySubType>
    Array of technology sub-types e.g. ADW_SHARED.
    TechnologyType string
    The array of technology types.
    DatabaseVersions []string
    Array of database versions
    TechnologySubTypes []GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollectionItemTechnologyTypeTechnologySubType
    Array of technology sub-types e.g. ADW_SHARED.
    TechnologyType string
    The array of technology types.
    databaseVersions List<String>
    Array of database versions
    technologySubTypes List<GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollectionItemTechnologyTypeTechnologySubType>
    Array of technology sub-types e.g. ADW_SHARED.
    technologyType String
    The array of technology types.
    databaseVersions string[]
    Array of database versions
    technologySubTypes GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollectionItemTechnologyTypeTechnologySubType[]
    Array of technology sub-types e.g. ADW_SHARED.
    technologyType string
    The array of technology types.
    database_versions Sequence[str]
    Array of database versions
    technology_sub_types Sequence[GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollectionItemTechnologyTypeTechnologySubType]
    Array of technology sub-types e.g. ADW_SHARED.
    technology_type str
    The array of technology types.
    databaseVersions List<String>
    Array of database versions
    technologySubTypes List<Property Map>
    Array of technology sub-types e.g. ADW_SHARED.
    technologyType String
    The array of technology types.

    GetConnectionDatabaseconnectiontypesDatabaseConnectionTypeCollectionItemTechnologyTypeTechnologySubType

    DatabaseVersions List<string>
    Array of database versions
    TechnologySubType string
    Technology sub-type e.g. ADW_SHARED.
    TechnologySubTypeDisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DatabaseVersions []string
    Array of database versions
    TechnologySubType string
    Technology sub-type e.g. ADW_SHARED.
    TechnologySubTypeDisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    databaseVersions List<String>
    Array of database versions
    technologySubType String
    Technology sub-type e.g. ADW_SHARED.
    technologySubTypeDisplayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    databaseVersions string[]
    Array of database versions
    technologySubType string
    Technology sub-type e.g. ADW_SHARED.
    technologySubTypeDisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    database_versions Sequence[str]
    Array of database versions
    technology_sub_type str
    Technology sub-type e.g. ADW_SHARED.
    technology_sub_type_display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    databaseVersions List<String>
    Array of database versions
    technologySubType String
    Technology sub-type e.g. ADW_SHARED.
    technologySubTypeDisplayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    GetConnectionDatabaseconnectiontypesFilter

    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
    Viewing docs for Oracle Cloud Infrastructure v4.2.0
    published on Friday, Mar 6, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.