1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. CloudMigrations
  6. Migration
Viewing docs for Oracle Cloud Infrastructure v4.12.0
published on Thursday, May 21, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.12.0
published on Thursday, May 21, 2026 by Pulumi

    This resource provides the Migration resource in Oracle Cloud Infrastructure Cloud Migrations service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ocm/latest/Migration

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudMigrations

    Creates a migration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMigration = new oci.cloudmigrations.Migration("test_migration", {
        compartmentId: compartmentId,
        displayName: migrationDisplayName,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        isCompleted: migrationIsCompleted === "true",
        migrationConfig: {
            subnetId: testSubnet.id,
        },
        migrationType: migrationMigrationType,
        replicationScheduleId: testReplicationSchedule.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_migration = oci.cloudmigrations.Migration("test_migration",
        compartment_id=compartment_id,
        display_name=migration_display_name,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        },
        is_completed=migration_is_completed == "true",
        migration_config={
            "subnet_id": test_subnet["id"],
        },
        migration_type=migration_migration_type,
        replication_schedule_id=test_replication_schedule["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/cloudmigrations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudmigrations.NewMigration(ctx, "test_migration", &cloudmigrations.MigrationArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(migrationDisplayName),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			IsCompleted: pulumi.Any(migrationIsCompleted),
    			MigrationConfig: &cloudmigrations.MigrationMigrationConfigArgs{
    				SubnetId: pulumi.Any(testSubnet.Id),
    			},
    			MigrationType:         pulumi.Any(migrationMigrationType),
    			ReplicationScheduleId: pulumi.Any(testReplicationSchedule.Id),
    		})
    		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 testMigration = new Oci.CloudMigrations.Migration("test_migration", new()
        {
            CompartmentId = compartmentId,
            DisplayName = migrationDisplayName,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            IsCompleted = migrationIsCompleted,
            MigrationConfig = new Oci.CloudMigrations.Inputs.MigrationMigrationConfigArgs
            {
                SubnetId = testSubnet.Id,
            },
            MigrationType = migrationMigrationType,
            ReplicationScheduleId = testReplicationSchedule.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.CloudMigrations.Migration;
    import com.pulumi.oci.CloudMigrations.MigrationArgs;
    import com.pulumi.oci.CloudMigrations.inputs.MigrationMigrationConfigArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var testMigration = new Migration("testMigration", MigrationArgs.builder()
                .compartmentId(compartmentId)
                .displayName(migrationDisplayName)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .isCompleted(migrationIsCompleted)
                .migrationConfig(MigrationMigrationConfigArgs.builder()
                    .subnetId(testSubnet.id())
                    .build())
                .migrationType(migrationMigrationType)
                .replicationScheduleId(testReplicationSchedule.id())
                .build());
    
        }
    }
    
    resources:
      testMigration:
        type: oci:CloudMigrations:Migration
        name: test_migration
        properties:
          compartmentId: ${compartmentId}
          displayName: ${migrationDisplayName}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          isCompleted: ${migrationIsCompleted}
          migrationConfig:
            subnetId: ${testSubnet.id}
          migrationType: ${migrationMigrationType}
          replicationScheduleId: ${testReplicationSchedule.id}
    
    Example coming soon!
    

    Create Migration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Migration(name: string, args: MigrationArgs, opts?: CustomResourceOptions);
    @overload
    def Migration(resource_name: str,
                  args: MigrationArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Migration(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  compartment_id: Optional[str] = None,
                  display_name: Optional[str] = None,
                  defined_tags: Optional[Mapping[str, str]] = None,
                  freeform_tags: Optional[Mapping[str, str]] = None,
                  is_completed: Optional[bool] = None,
                  migration_config: Optional[MigrationMigrationConfigArgs] = None,
                  migration_type: Optional[str] = None,
                  replication_schedule_id: Optional[str] = None)
    func NewMigration(ctx *Context, name string, args MigrationArgs, opts ...ResourceOption) (*Migration, error)
    public Migration(string name, MigrationArgs args, CustomResourceOptions? opts = null)
    public Migration(String name, MigrationArgs args)
    public Migration(String name, MigrationArgs args, CustomResourceOptions options)
    
    type: oci:CloudMigrations:Migration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_cloudmigrations_migration" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args MigrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MigrationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MigrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MigrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MigrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var migrationResource = new Oci.CloudMigrations.Migration("migrationResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsCompleted = false,
        MigrationConfig = new Oci.CloudMigrations.Inputs.MigrationMigrationConfigArgs
        {
            SubnetId = "string",
        },
        MigrationType = "string",
        ReplicationScheduleId = "string",
    });
    
    example, err := cloudmigrations.NewMigration(ctx, "migrationResource", &cloudmigrations.MigrationArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsCompleted: pulumi.Bool(false),
    	MigrationConfig: &cloudmigrations.MigrationMigrationConfigArgs{
    		SubnetId: pulumi.String("string"),
    	},
    	MigrationType:         pulumi.String("string"),
    	ReplicationScheduleId: pulumi.String("string"),
    })
    
    resource "oci_cloudmigrations_migration" "migrationResource" {
      compartment_id = "string"
      display_name   = "string"
      defined_tags = {
        "string" = "string"
      }
      freeform_tags = {
        "string" = "string"
      }
      is_completed = false
      migration_config = {
        subnet_id = "string"
      }
      migration_type          = "string"
      replication_schedule_id = "string"
    }
    
    var migrationResource = new com.pulumi.oci.CloudMigrations.Migration("migrationResource", com.pulumi.oci.CloudMigrations.MigrationArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .isCompleted(false)
        .migrationConfig(MigrationMigrationConfigArgs.builder()
            .subnetId("string")
            .build())
        .migrationType("string")
        .replicationScheduleId("string")
        .build());
    
    migration_resource = oci.cloudmigrations.Migration("migrationResource",
        compartment_id="string",
        display_name="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        is_completed=False,
        migration_config={
            "subnet_id": "string",
        },
        migration_type="string",
        replication_schedule_id="string")
    
    const migrationResource = new oci.cloudmigrations.Migration("migrationResource", {
        compartmentId: "string",
        displayName: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        isCompleted: false,
        migrationConfig: {
            subnetId: "string",
        },
        migrationType: "string",
        replicationScheduleId: "string",
    });
    
    type: oci:CloudMigrations:Migration
    properties:
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        isCompleted: false
        migrationConfig:
            subnetId: string
        migrationType: string
        replicationScheduleId: string
    

    Migration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Migration resource accepts the following input properties:

    CompartmentId string
    (Updatable) Compartment identifier
    DisplayName string
    (Updatable) Migration identifier
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    IsCompleted bool
    (Updatable) Indicates whether migration is marked as complete.
    MigrationConfig MigrationMigrationConfig
    (Updatable) Configuration for a Migration Project.
    MigrationType string
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    ReplicationScheduleId string

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) Compartment identifier
    DisplayName string
    (Updatable) Migration identifier
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    IsCompleted bool
    (Updatable) Indicates whether migration is marked as complete.
    MigrationConfig MigrationMigrationConfigArgs
    (Updatable) Configuration for a Migration Project.
    MigrationType string
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    ReplicationScheduleId string

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id string
    (Updatable) Compartment identifier
    display_name string
    (Updatable) Migration identifier
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags map(string)
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    is_completed bool
    (Updatable) Indicates whether migration is marked as complete.
    migration_config object
    (Updatable) Configuration for a Migration Project.
    migration_type string
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replication_schedule_id string

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) Compartment identifier
    displayName String
    (Updatable) Migration identifier
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    isCompleted Boolean
    (Updatable) Indicates whether migration is marked as complete.
    migrationConfig MigrationMigrationConfig
    (Updatable) Configuration for a Migration Project.
    migrationType String
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replicationScheduleId String

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) Compartment identifier
    displayName string
    (Updatable) Migration identifier
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    isCompleted boolean
    (Updatable) Indicates whether migration is marked as complete.
    migrationConfig MigrationMigrationConfig
    (Updatable) Configuration for a Migration Project.
    migrationType string
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replicationScheduleId string

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) Compartment identifier
    display_name str
    (Updatable) Migration identifier
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    is_completed bool
    (Updatable) Indicates whether migration is marked as complete.
    migration_config MigrationMigrationConfigArgs
    (Updatable) Configuration for a Migration Project.
    migration_type str
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replication_schedule_id str

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) Compartment identifier
    displayName String
    (Updatable) Migration identifier
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    isCompleted Boolean
    (Updatable) Indicates whether migration is marked as complete.
    migrationConfig Property Map
    (Updatable) Configuration for a Migration Project.
    migrationType String
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replicationScheduleId String

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Migration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    State string
    The current state of migration.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the migration project was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time when the migration project was updated. An RFC3339 formatted datetime string
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    State string
    The current state of migration.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the migration project was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time when the migration project was updated. An RFC3339 formatted datetime string
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycle_details string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    state string
    The current state of migration.
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The time when the migration project was created. An RFC3339 formatted datetime string
    time_updated string
    The time when the migration project was updated. An RFC3339 formatted datetime string
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    state String
    The current state of migration.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the migration project was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time when the migration project was updated. An RFC3339 formatted datetime string
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    state string
    The current state of migration.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when the migration project was created. An RFC3339 formatted datetime string
    timeUpdated string
    The time when the migration project was updated. An RFC3339 formatted datetime string
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    state str
    The current state of migration.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time when the migration project was created. An RFC3339 formatted datetime string
    time_updated str
    The time when the migration project was updated. An RFC3339 formatted datetime string
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    state String
    The current state of migration.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the migration project was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time when the migration project was updated. An RFC3339 formatted datetime string

    Look up Existing Migration Resource

    Get an existing Migration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MigrationState, opts?: CustomResourceOptions): Migration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_completed: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            migration_config: Optional[MigrationMigrationConfigArgs] = None,
            migration_type: Optional[str] = None,
            replication_schedule_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> Migration
    func GetMigration(ctx *Context, name string, id IDInput, state *MigrationState, opts ...ResourceOption) (*Migration, error)
    public static Migration Get(string name, Input<string> id, MigrationState? state, CustomResourceOptions? opts = null)
    public static Migration get(String name, Output<String> id, MigrationState state, CustomResourceOptions options)
    resources:  _:    type: oci:CloudMigrations:Migration    get:      id: ${id}
    import {
      to = oci_cloudmigrations_migration.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) Compartment identifier
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) Migration identifier
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    IsCompleted bool
    (Updatable) Indicates whether migration is marked as complete.
    LifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    MigrationConfig MigrationMigrationConfig
    (Updatable) Configuration for a Migration Project.
    MigrationType string
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    ReplicationScheduleId string

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of migration.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the migration project was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time when the migration project was updated. An RFC3339 formatted datetime string
    CompartmentId string
    (Updatable) Compartment identifier
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) Migration identifier
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    IsCompleted bool
    (Updatable) Indicates whether migration is marked as complete.
    LifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    MigrationConfig MigrationMigrationConfigArgs
    (Updatable) Configuration for a Migration Project.
    MigrationType string
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    ReplicationScheduleId string

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of migration.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the migration project was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time when the migration project was updated. An RFC3339 formatted datetime string
    compartment_id string
    (Updatable) Compartment identifier
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name string
    (Updatable) Migration identifier
    freeform_tags map(string)
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    is_completed bool
    (Updatable) Indicates whether migration is marked as complete.
    lifecycle_details string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    migration_config object
    (Updatable) Configuration for a Migration Project.
    migration_type string
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replication_schedule_id string

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current state of migration.
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The time when the migration project was created. An RFC3339 formatted datetime string
    time_updated string
    The time when the migration project was updated. An RFC3339 formatted datetime string
    compartmentId String
    (Updatable) Compartment identifier
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) Migration identifier
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    isCompleted Boolean
    (Updatable) Indicates whether migration is marked as complete.
    lifecycleDetails String
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    migrationConfig MigrationMigrationConfig
    (Updatable) Configuration for a Migration Project.
    migrationType String
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replicationScheduleId String

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of migration.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the migration project was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time when the migration project was updated. An RFC3339 formatted datetime string
    compartmentId string
    (Updatable) Compartment identifier
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) Migration identifier
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    isCompleted boolean
    (Updatable) Indicates whether migration is marked as complete.
    lifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    migrationConfig MigrationMigrationConfig
    (Updatable) Configuration for a Migration Project.
    migrationType string
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replicationScheduleId string

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current state of migration.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when the migration project was created. An RFC3339 formatted datetime string
    timeUpdated string
    The time when the migration project was updated. An RFC3339 formatted datetime string
    compartment_id str
    (Updatable) Compartment identifier
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) Migration identifier
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    is_completed bool
    (Updatable) Indicates whether migration is marked as complete.
    lifecycle_details str
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    migration_config MigrationMigrationConfigArgs
    (Updatable) Configuration for a Migration Project.
    migration_type str
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replication_schedule_id str

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The current state of migration.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time when the migration project was created. An RFC3339 formatted datetime string
    time_updated str
    The time when the migration project was updated. An RFC3339 formatted datetime string
    compartmentId String
    (Updatable) Compartment identifier
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) Migration identifier
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
    isCompleted Boolean
    (Updatable) Indicates whether migration is marked as complete.
    lifecycleDetails String
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    migrationConfig Property Map
    (Updatable) Configuration for a Migration Project.
    migrationType String
    (Updatable) Type of migration project (OCI/OLVM). This determines the target environment for the migration.
    replicationScheduleId String

    (Updatable) Replication schedule identifier

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of migration.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the migration project was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time when the migration project was updated. An RFC3339 formatted datetime string

    Supporting Types

    MigrationMigrationConfig, MigrationMigrationConfigArgs

    SubnetId string
    (Updatable) The OCID of the subnet to use for replication
    SubnetId string
    (Updatable) The OCID of the subnet to use for replication
    subnet_id string
    (Updatable) The OCID of the subnet to use for replication
    subnetId String
    (Updatable) The OCID of the subnet to use for replication
    subnetId string
    (Updatable) The OCID of the subnet to use for replication
    subnet_id str
    (Updatable) The OCID of the subnet to use for replication
    subnetId String
    (Updatable) The OCID of the subnet to use for replication

    Import

    Migrations can be imported using the id, e.g.

    $ pulumi import oci:CloudMigrations/migration:Migration test_migration "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.12.0
    published on Thursday, May 21, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.