Oracle Cloud Infrastructure

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

getMigrationObjectTypes

This data source provides the list of Migration Object Types in Oracle Cloud Infrastructure Database Migration service.

Display sample object types to exclude or include for a Migration.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testMigrationObjectTypes = Output.Create(Oci.DatabaseMigration.GetMigrationObjectTypes.InvokeAsync());
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DatabaseMigration"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DatabaseMigration.GetMigrationObjectTypes(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_migration_object_types = oci.DatabaseMigration.get_migration_object_types()
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testMigrationObjectTypes = pulumi.output(oci.DatabaseMigration.getMigrationObjectTypes());

Coming soon!

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(filters: Optional[Sequence[_databasemigration.GetMigrationObjectTypesFilter]] = None,
                               opts: Optional[InvokeOptions] = None) -> GetMigrationObjectTypesResult
def get_migration_object_types_output(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:

getMigrationObjectTypes Result

The following output properties are available:

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>
Id string

The provider-assigned unique ID for this managed resource.

MigrationObjectTypeSummaryCollections []GetMigrationObjectTypesMigrationObjectTypeSummaryCollection

The list of migration_object_type_summary_collection.

Filters []GetMigrationObjectTypesFilter
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>
id string

The provider-assigned unique ID for this managed resource.

migrationObjectTypeSummaryCollections GetMigrationObjectTypesMigrationObjectTypeSummaryCollection[]

The list of migration_object_type_summary_collection.

filters GetMigrationObjectTypesFilter[]
id str

The provider-assigned unique ID for this managed resource.

migration_object_type_summary_collections GetMigrationObjectTypesMigrationObjectTypeSummaryCollection]

The list of migration_object_type_summary_collection.

filters GetMigrationObjectTypesFilter]
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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.