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

oci.DatabaseMigration.getMigrationObjectTypes

Explore with Pulumi AI

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMigrationObjectTypes = oci.DatabaseMigration.getMigrationObjectTypes({
        connectionType: migrationObjectTypeConnectionType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_migration_object_types = oci.DatabaseMigration.get_migration_object_types(connection_type=migration_object_type_connection_type)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseMigration"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DatabaseMigration.GetMigrationObjectTypes(ctx, &databasemigration.GetMigrationObjectTypesArgs{
    			ConnectionType: migrationObjectTypeConnectionType,
    		}, 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 testMigrationObjectTypes = Oci.DatabaseMigration.GetMigrationObjectTypes.Invoke(new()
        {
            ConnectionType = migrationObjectTypeConnectionType,
        });
    
    });
    
    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.GetMigrationObjectTypesArgs;
    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 testMigrationObjectTypes = DatabaseMigrationFunctions.getMigrationObjectTypes(GetMigrationObjectTypesArgs.builder()
                .connectionType(migrationObjectTypeConnectionType)
                .build());
    
        }
    }
    
    variables:
      testMigrationObjectTypes:
        fn::invoke:
          Function: oci:DatabaseMigration:getMigrationObjectTypes
          Arguments:
            connectionType: ${migrationObjectTypeConnectionType}
    

    Using getMigrationObjectTypes

    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 getMigrationObjectTypes(args: GetMigrationObjectTypesArgs, opts?: InvokeOptions): Promise<GetMigrationObjectTypesResult>
    function getMigrationObjectTypesOutput(args: GetMigrationObjectTypesOutputArgs, opts?: InvokeOptions): Output<GetMigrationObjectTypesResult>
    def get_migration_object_types(connection_type: Optional[str] = None,
                                   filters: Optional[Sequence[_databasemigration.GetMigrationObjectTypesFilter]] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetMigrationObjectTypesResult
    def get_migration_object_types_output(connection_type: Optional[pulumi.Input[str]] = None,
                                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemigration.GetMigrationObjectTypesFilterArgs]]]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetMigrationObjectTypesResult]
    func GetMigrationObjectTypes(ctx *Context, args *GetMigrationObjectTypesArgs, opts ...InvokeOption) (*GetMigrationObjectTypesResult, error)
    func GetMigrationObjectTypesOutput(ctx *Context, args *GetMigrationObjectTypesOutputArgs, opts ...InvokeOption) GetMigrationObjectTypesResultOutput

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

    public static class GetMigrationObjectTypes 
    {
        public static Task<GetMigrationObjectTypesResult> InvokeAsync(GetMigrationObjectTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetMigrationObjectTypesResult> Invoke(GetMigrationObjectTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMigrationObjectTypesResult> getMigrationObjectTypes(GetMigrationObjectTypesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DatabaseMigration/getMigrationObjectTypes:getMigrationObjectTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ConnectionType string
    The connection type for migration objects.
    Filters List<GetMigrationObjectTypesFilter>
    ConnectionType string
    The connection type for migration objects.
    Filters []GetMigrationObjectTypesFilter
    connectionType String
    The connection type for migration objects.
    filters List<GetMigrationObjectTypesFilter>
    connectionType string
    The connection type for migration objects.
    filters GetMigrationObjectTypesFilter[]
    connectionType String
    The connection type for migration objects.
    filters List<Property Map>

    getMigrationObjectTypes Result

    The following output properties are available:

    ConnectionType string
    Id string
    The provider-assigned unique ID for this managed resource.
    MigrationObjectTypeSummaryCollections List<GetMigrationObjectTypesMigrationObjectTypeSummaryCollection>
    The list of migration_object_type_summary_collection.
    Filters List<GetMigrationObjectTypesFilter>
    ConnectionType string
    Id string
    The provider-assigned unique ID for this managed resource.
    MigrationObjectTypeSummaryCollections []GetMigrationObjectTypesMigrationObjectTypeSummaryCollection
    The list of migration_object_type_summary_collection.
    Filters []GetMigrationObjectTypesFilter
    connectionType String
    id String
    The provider-assigned unique ID for this managed resource.
    migrationObjectTypeSummaryCollections List<GetMigrationObjectTypesMigrationObjectTypeSummaryCollection>
    The list of migration_object_type_summary_collection.
    filters List<GetMigrationObjectTypesFilter>
    connectionType string
    id string
    The provider-assigned unique ID for this managed resource.
    migrationObjectTypeSummaryCollections GetMigrationObjectTypesMigrationObjectTypeSummaryCollection[]
    The list of migration_object_type_summary_collection.
    filters GetMigrationObjectTypesFilter[]
    connectionType String
    id String
    The provider-assigned unique ID for this managed resource.
    migrationObjectTypeSummaryCollections List<Property Map>
    The list of migration_object_type_summary_collection.
    filters List<Property Map>

    Supporting Types

    GetMigrationObjectTypesFilter

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

    GetMigrationObjectTypesMigrationObjectTypeSummaryCollection

    items List<Property Map>
    Items in collection.

    GetMigrationObjectTypesMigrationObjectTypeSummaryCollectionItem

    Name string
    Object type name
    Name string
    Object type name
    name String
    Object type name
    name string
    Object type name
    name str
    Object type name
    name String
    Object type name

    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