1. Packages
  2. Azure Native
  3. API Docs
  4. datamigration
  5. DatabaseMigrationsMongoToCosmosDbRUMongo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    Database Migration Resource for Mongo to CosmosDb. Azure REST API version: 2023-07-15-preview.

    Example Usage

    Create Mongo to CosmosDb Mongo(RU) Database Migration resource with Maximum parameters.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var databaseMigrationsMongoToCosmosDbRUMongo = new AzureNative.DataMigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongo", new()
        {
            CollectionList = new[]
            {
                new AzureNative.DataMigration.Inputs.MongoMigrationCollectionArgs
                {
                    SourceCollection = "sourceCol1",
                    SourceDatabase = "sourceDb1",
                    TargetCollection = "targetCol1",
                    TargetDatabase = "targetDb1",
                },
                new AzureNative.DataMigration.Inputs.MongoMigrationCollectionArgs
                {
                    SourceCollection = "sourceCol2",
                    SourceDatabase = "sourceDb2",
                    TargetCollection = "sourceCol2",
                    TargetDatabase = "sourceDb2",
                },
            },
            Kind = "MongoToCosmosDbMongo",
            MigrationName = "migrationRequest",
            MigrationService = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService",
            ResourceGroupName = "testrg",
            Scope = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName",
            SourceMongoConnection = new AzureNative.DataMigration.Inputs.MongoConnectionInformationArgs
            {
                Host = "abc.mongodb.com",
                Password = "placeholder",
                Port = 88,
                UseSsl = true,
                UserName = "abc",
            },
            TargetMongoConnection = new AzureNative.DataMigration.Inputs.MongoConnectionInformationArgs
            {
                Host = "xyz.mongocluster.cosmos.azure.com",
                Password = "placeholder",
                Port = 10255,
                UseSsl = true,
                UserName = "def",
            },
            TargetResourceName = "targetCosmosDbClusterName",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/datamigration/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datamigration.NewDatabaseMigrationsMongoToCosmosDbRUMongo(ctx, "databaseMigrationsMongoToCosmosDbRUMongo", &datamigration.DatabaseMigrationsMongoToCosmosDbRUMongoArgs{
    			CollectionList: datamigration.MongoMigrationCollectionArray{
    				&datamigration.MongoMigrationCollectionArgs{
    					SourceCollection: pulumi.String("sourceCol1"),
    					SourceDatabase:   pulumi.String("sourceDb1"),
    					TargetCollection: pulumi.String("targetCol1"),
    					TargetDatabase:   pulumi.String("targetDb1"),
    				},
    				&datamigration.MongoMigrationCollectionArgs{
    					SourceCollection: pulumi.String("sourceCol2"),
    					SourceDatabase:   pulumi.String("sourceDb2"),
    					TargetCollection: pulumi.String("sourceCol2"),
    					TargetDatabase:   pulumi.String("sourceDb2"),
    				},
    			},
    			Kind:              pulumi.String("MongoToCosmosDbMongo"),
    			MigrationName:     pulumi.String("migrationRequest"),
    			MigrationService:  pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService"),
    			ResourceGroupName: pulumi.String("testrg"),
    			Scope:             pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName"),
    			SourceMongoConnection: &datamigration.MongoConnectionInformationArgs{
    				Host:     pulumi.String("abc.mongodb.com"),
    				Password: pulumi.String("placeholder"),
    				Port:     pulumi.Int(88),
    				UseSsl:   pulumi.Bool(true),
    				UserName: pulumi.String("abc"),
    			},
    			TargetMongoConnection: &datamigration.MongoConnectionInformationArgs{
    				Host:     pulumi.String("xyz.mongocluster.cosmos.azure.com"),
    				Password: pulumi.String("placeholder"),
    				Port:     pulumi.Int(10255),
    				UseSsl:   pulumi.Bool(true),
    				UserName: pulumi.String("def"),
    			},
    			TargetResourceName: pulumi.String("targetCosmosDbClusterName"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo;
    import com.pulumi.azurenative.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongoArgs;
    import com.pulumi.azurenative.datamigration.inputs.MongoMigrationCollectionArgs;
    import com.pulumi.azurenative.datamigration.inputs.MongoConnectionInformationArgs;
    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) {
            var databaseMigrationsMongoToCosmosDbRUMongo = new DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongo", DatabaseMigrationsMongoToCosmosDbRUMongoArgs.builder()        
                .collectionList(            
                    MongoMigrationCollectionArgs.builder()
                        .sourceCollection("sourceCol1")
                        .sourceDatabase("sourceDb1")
                        .targetCollection("targetCol1")
                        .targetDatabase("targetDb1")
                        .build(),
                    MongoMigrationCollectionArgs.builder()
                        .sourceCollection("sourceCol2")
                        .sourceDatabase("sourceDb2")
                        .targetCollection("sourceCol2")
                        .targetDatabase("sourceDb2")
                        .build())
                .kind("MongoToCosmosDbMongo")
                .migrationName("migrationRequest")
                .migrationService("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService")
                .resourceGroupName("testrg")
                .scope("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName")
                .sourceMongoConnection(MongoConnectionInformationArgs.builder()
                    .host("abc.mongodb.com")
                    .password("placeholder")
                    .port(88)
                    .useSsl(true)
                    .userName("abc")
                    .build())
                .targetMongoConnection(MongoConnectionInformationArgs.builder()
                    .host("xyz.mongocluster.cosmos.azure.com")
                    .password("placeholder")
                    .port(10255)
                    .useSsl(true)
                    .userName("def")
                    .build())
                .targetResourceName("targetCosmosDbClusterName")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    database_migrations_mongo_to_cosmos_db_ru_mongo = azure_native.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongo",
        collection_list=[
            azure_native.datamigration.MongoMigrationCollectionArgs(
                source_collection="sourceCol1",
                source_database="sourceDb1",
                target_collection="targetCol1",
                target_database="targetDb1",
            ),
            azure_native.datamigration.MongoMigrationCollectionArgs(
                source_collection="sourceCol2",
                source_database="sourceDb2",
                target_collection="sourceCol2",
                target_database="sourceDb2",
            ),
        ],
        kind="MongoToCosmosDbMongo",
        migration_name="migrationRequest",
        migration_service="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService",
        resource_group_name="testrg",
        scope="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName",
        source_mongo_connection=azure_native.datamigration.MongoConnectionInformationArgs(
            host="abc.mongodb.com",
            password="placeholder",
            port=88,
            use_ssl=True,
            user_name="abc",
        ),
        target_mongo_connection=azure_native.datamigration.MongoConnectionInformationArgs(
            host="xyz.mongocluster.cosmos.azure.com",
            password="placeholder",
            port=10255,
            use_ssl=True,
            user_name="def",
        ),
        target_resource_name="targetCosmosDbClusterName")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const databaseMigrationsMongoToCosmosDbRUMongo = new azure_native.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongo", {
        collectionList: [
            {
                sourceCollection: "sourceCol1",
                sourceDatabase: "sourceDb1",
                targetCollection: "targetCol1",
                targetDatabase: "targetDb1",
            },
            {
                sourceCollection: "sourceCol2",
                sourceDatabase: "sourceDb2",
                targetCollection: "sourceCol2",
                targetDatabase: "sourceDb2",
            },
        ],
        kind: "MongoToCosmosDbMongo",
        migrationName: "migrationRequest",
        migrationService: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService",
        resourceGroupName: "testrg",
        scope: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName",
        sourceMongoConnection: {
            host: "abc.mongodb.com",
            password: "placeholder",
            port: 88,
            useSsl: true,
            userName: "abc",
        },
        targetMongoConnection: {
            host: "xyz.mongocluster.cosmos.azure.com",
            password: "placeholder",
            port: 10255,
            useSsl: true,
            userName: "def",
        },
        targetResourceName: "targetCosmosDbClusterName",
    });
    
    resources:
      databaseMigrationsMongoToCosmosDbRUMongo:
        type: azure-native:datamigration:DatabaseMigrationsMongoToCosmosDbRUMongo
        properties:
          collectionList:
            - sourceCollection: sourceCol1
              sourceDatabase: sourceDb1
              targetCollection: targetCol1
              targetDatabase: targetDb1
            - sourceCollection: sourceCol2
              sourceDatabase: sourceDb2
              targetCollection: sourceCol2
              targetDatabase: sourceDb2
          kind: MongoToCosmosDbMongo
          migrationName: migrationRequest
          migrationService: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService
          resourceGroupName: testrg
          scope: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName
          sourceMongoConnection:
            host: abc.mongodb.com
            password: placeholder
            port: 88
            useSsl: true
            userName: abc
          targetMongoConnection:
            host: xyz.mongocluster.cosmos.azure.com
            password: placeholder
            port: 10255
            useSsl: true
            userName: def
          targetResourceName: targetCosmosDbClusterName
    

    Create Mongo to CosmosDb Mongo(RU) Database Migration resource with Minimum parameters.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var databaseMigrationsMongoToCosmosDbRUMongo = new AzureNative.DataMigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongo", new()
        {
            CollectionList = new[]
            {
                new AzureNative.DataMigration.Inputs.MongoMigrationCollectionArgs
                {
                    SourceCollection = "sourceCol1",
                    SourceDatabase = "sourceDb1",
                    TargetCollection = "targetCol1",
                    TargetDatabase = "targetDb1",
                },
                new AzureNative.DataMigration.Inputs.MongoMigrationCollectionArgs
                {
                    SourceCollection = "sourceCol2",
                    SourceDatabase = "sourceDb2",
                },
            },
            Kind = "MongoToCosmosDbMongo",
            MigrationName = "migrationRequest",
            MigrationService = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService",
            ResourceGroupName = "testrg",
            Scope = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName",
            SourceMongoConnection = new AzureNative.DataMigration.Inputs.MongoConnectionInformationArgs
            {
                Host = "abc.mongodb.com",
                Password = "placeholder",
                Port = 88,
                UseSsl = true,
                UserName = "abc",
            },
            TargetMongoConnection = new AzureNative.DataMigration.Inputs.MongoConnectionInformationArgs
            {
                ConnectionString = "placeholder",
            },
            TargetResourceName = "targetCosmosDbClusterName",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/datamigration/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datamigration.NewDatabaseMigrationsMongoToCosmosDbRUMongo(ctx, "databaseMigrationsMongoToCosmosDbRUMongo", &datamigration.DatabaseMigrationsMongoToCosmosDbRUMongoArgs{
    			CollectionList: datamigration.MongoMigrationCollectionArray{
    				&datamigration.MongoMigrationCollectionArgs{
    					SourceCollection: pulumi.String("sourceCol1"),
    					SourceDatabase:   pulumi.String("sourceDb1"),
    					TargetCollection: pulumi.String("targetCol1"),
    					TargetDatabase:   pulumi.String("targetDb1"),
    				},
    				&datamigration.MongoMigrationCollectionArgs{
    					SourceCollection: pulumi.String("sourceCol2"),
    					SourceDatabase:   pulumi.String("sourceDb2"),
    				},
    			},
    			Kind:              pulumi.String("MongoToCosmosDbMongo"),
    			MigrationName:     pulumi.String("migrationRequest"),
    			MigrationService:  pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService"),
    			ResourceGroupName: pulumi.String("testrg"),
    			Scope:             pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName"),
    			SourceMongoConnection: &datamigration.MongoConnectionInformationArgs{
    				Host:     pulumi.String("abc.mongodb.com"),
    				Password: pulumi.String("placeholder"),
    				Port:     pulumi.Int(88),
    				UseSsl:   pulumi.Bool(true),
    				UserName: pulumi.String("abc"),
    			},
    			TargetMongoConnection: &datamigration.MongoConnectionInformationArgs{
    				ConnectionString: pulumi.String("placeholder"),
    			},
    			TargetResourceName: pulumi.String("targetCosmosDbClusterName"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo;
    import com.pulumi.azurenative.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongoArgs;
    import com.pulumi.azurenative.datamigration.inputs.MongoMigrationCollectionArgs;
    import com.pulumi.azurenative.datamigration.inputs.MongoConnectionInformationArgs;
    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) {
            var databaseMigrationsMongoToCosmosDbRUMongo = new DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongo", DatabaseMigrationsMongoToCosmosDbRUMongoArgs.builder()        
                .collectionList(            
                    MongoMigrationCollectionArgs.builder()
                        .sourceCollection("sourceCol1")
                        .sourceDatabase("sourceDb1")
                        .targetCollection("targetCol1")
                        .targetDatabase("targetDb1")
                        .build(),
                    MongoMigrationCollectionArgs.builder()
                        .sourceCollection("sourceCol2")
                        .sourceDatabase("sourceDb2")
                        .build())
                .kind("MongoToCosmosDbMongo")
                .migrationName("migrationRequest")
                .migrationService("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService")
                .resourceGroupName("testrg")
                .scope("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName")
                .sourceMongoConnection(MongoConnectionInformationArgs.builder()
                    .host("abc.mongodb.com")
                    .password("placeholder")
                    .port(88)
                    .useSsl(true)
                    .userName("abc")
                    .build())
                .targetMongoConnection(MongoConnectionInformationArgs.builder()
                    .connectionString("placeholder")
                    .build())
                .targetResourceName("targetCosmosDbClusterName")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    database_migrations_mongo_to_cosmos_db_ru_mongo = azure_native.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongo",
        collection_list=[
            azure_native.datamigration.MongoMigrationCollectionArgs(
                source_collection="sourceCol1",
                source_database="sourceDb1",
                target_collection="targetCol1",
                target_database="targetDb1",
            ),
            azure_native.datamigration.MongoMigrationCollectionArgs(
                source_collection="sourceCol2",
                source_database="sourceDb2",
            ),
        ],
        kind="MongoToCosmosDbMongo",
        migration_name="migrationRequest",
        migration_service="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService",
        resource_group_name="testrg",
        scope="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName",
        source_mongo_connection=azure_native.datamigration.MongoConnectionInformationArgs(
            host="abc.mongodb.com",
            password="placeholder",
            port=88,
            use_ssl=True,
            user_name="abc",
        ),
        target_mongo_connection=azure_native.datamigration.MongoConnectionInformationArgs(
            connection_string="placeholder",
        ),
        target_resource_name="targetCosmosDbClusterName")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const databaseMigrationsMongoToCosmosDbRUMongo = new azure_native.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongo", {
        collectionList: [
            {
                sourceCollection: "sourceCol1",
                sourceDatabase: "sourceDb1",
                targetCollection: "targetCol1",
                targetDatabase: "targetDb1",
            },
            {
                sourceCollection: "sourceCol2",
                sourceDatabase: "sourceDb2",
            },
        ],
        kind: "MongoToCosmosDbMongo",
        migrationName: "migrationRequest",
        migrationService: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService",
        resourceGroupName: "testrg",
        scope: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName",
        sourceMongoConnection: {
            host: "abc.mongodb.com",
            password: "placeholder",
            port: 88,
            useSsl: true,
            userName: "abc",
        },
        targetMongoConnection: {
            connectionString: "placeholder",
        },
        targetResourceName: "targetCosmosDbClusterName",
    });
    
    resources:
      databaseMigrationsMongoToCosmosDbRUMongo:
        type: azure-native:datamigration:DatabaseMigrationsMongoToCosmosDbRUMongo
        properties:
          collectionList:
            - sourceCollection: sourceCol1
              sourceDatabase: sourceDb1
              targetCollection: targetCol1
              targetDatabase: targetDb1
            - sourceCollection: sourceCol2
              sourceDatabase: sourceDb2
          kind: MongoToCosmosDbMongo
          migrationName: migrationRequest
          migrationService: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/MigrationServices/testMigrationService
          resourceGroupName: testrg
          scope: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DocumentDB/mongoClusters/targetCosmosDbClusterName
          sourceMongoConnection:
            host: abc.mongodb.com
            password: placeholder
            port: 88
            useSsl: true
            userName: abc
          targetMongoConnection:
            connectionString: placeholder
          targetResourceName: targetCosmosDbClusterName
    

    Create DatabaseMigrationsMongoToCosmosDbRUMongo Resource

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

    Constructor syntax

    new DatabaseMigrationsMongoToCosmosDbRUMongo(name: string, args: DatabaseMigrationsMongoToCosmosDbRUMongoArgs, opts?: CustomResourceOptions);
    @overload
    def DatabaseMigrationsMongoToCosmosDbRUMongo(resource_name: str,
                                                 args: DatabaseMigrationsMongoToCosmosDbRUMongoArgs,
                                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatabaseMigrationsMongoToCosmosDbRUMongo(resource_name: str,
                                                 opts: Optional[ResourceOptions] = None,
                                                 resource_group_name: Optional[str] = None,
                                                 target_resource_name: Optional[str] = None,
                                                 collection_list: Optional[Sequence[MongoMigrationCollectionArgs]] = None,
                                                 migration_name: Optional[str] = None,
                                                 migration_operation_id: Optional[str] = None,
                                                 migration_service: Optional[str] = None,
                                                 provisioning_error: Optional[str] = None,
                                                 scope: Optional[str] = None,
                                                 source_mongo_connection: Optional[MongoConnectionInformationArgs] = None,
                                                 target_mongo_connection: Optional[MongoConnectionInformationArgs] = None)
    func NewDatabaseMigrationsMongoToCosmosDbRUMongo(ctx *Context, name string, args DatabaseMigrationsMongoToCosmosDbRUMongoArgs, opts ...ResourceOption) (*DatabaseMigrationsMongoToCosmosDbRUMongo, error)
    public DatabaseMigrationsMongoToCosmosDbRUMongo(string name, DatabaseMigrationsMongoToCosmosDbRUMongoArgs args, CustomResourceOptions? opts = null)
    public DatabaseMigrationsMongoToCosmosDbRUMongo(String name, DatabaseMigrationsMongoToCosmosDbRUMongoArgs args)
    public DatabaseMigrationsMongoToCosmosDbRUMongo(String name, DatabaseMigrationsMongoToCosmosDbRUMongoArgs args, CustomResourceOptions options)
    
    type: azure-native:datamigration:DatabaseMigrationsMongoToCosmosDbRUMongo
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DatabaseMigrationsMongoToCosmosDbRUMongoArgs
    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 DatabaseMigrationsMongoToCosmosDbRUMongoArgs
    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 DatabaseMigrationsMongoToCosmosDbRUMongoArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatabaseMigrationsMongoToCosmosDbRUMongoArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatabaseMigrationsMongoToCosmosDbRUMongoArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var databaseMigrationsMongoToCosmosDbRUMongoResource = new AzureNative.DataMigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongoResource", new()
    {
        Kind = "string",
        ResourceGroupName = "string",
        TargetResourceName = "string",
        CollectionList = new[]
        {
            new AzureNative.DataMigration.Inputs.MongoMigrationCollectionArgs
            {
                SourceCollection = "string",
                SourceDatabase = "string",
                TargetCollection = "string",
                TargetDatabase = "string",
            },
        },
        MigrationName = "string",
        MigrationOperationId = "string",
        MigrationService = "string",
        ProvisioningError = "string",
        Scope = "string",
        SourceMongoConnection = new AzureNative.DataMigration.Inputs.MongoConnectionInformationArgs
        {
            ConnectionString = "string",
            Host = "string",
            Password = "string",
            Port = 0,
            UseSsl = false,
            UserName = "string",
        },
        TargetMongoConnection = new AzureNative.DataMigration.Inputs.MongoConnectionInformationArgs
        {
            ConnectionString = "string",
            Host = "string",
            Password = "string",
            Port = 0,
            UseSsl = false,
            UserName = "string",
        },
    });
    
    example, err := datamigration.NewDatabaseMigrationsMongoToCosmosDbRUMongo(ctx, "databaseMigrationsMongoToCosmosDbRUMongoResource", &datamigration.DatabaseMigrationsMongoToCosmosDbRUMongoArgs{
    Kind: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    TargetResourceName: pulumi.String("string"),
    CollectionList: datamigration.MongoMigrationCollectionArray{
    &datamigration.MongoMigrationCollectionArgs{
    SourceCollection: pulumi.String("string"),
    SourceDatabase: pulumi.String("string"),
    TargetCollection: pulumi.String("string"),
    TargetDatabase: pulumi.String("string"),
    },
    },
    MigrationName: pulumi.String("string"),
    MigrationOperationId: pulumi.String("string"),
    MigrationService: pulumi.String("string"),
    ProvisioningError: pulumi.String("string"),
    Scope: pulumi.String("string"),
    SourceMongoConnection: &datamigration.MongoConnectionInformationArgs{
    ConnectionString: pulumi.String("string"),
    Host: pulumi.String("string"),
    Password: pulumi.String("string"),
    Port: pulumi.Int(0),
    UseSsl: pulumi.Bool(false),
    UserName: pulumi.String("string"),
    },
    TargetMongoConnection: &datamigration.MongoConnectionInformationArgs{
    ConnectionString: pulumi.String("string"),
    Host: pulumi.String("string"),
    Password: pulumi.String("string"),
    Port: pulumi.Int(0),
    UseSsl: pulumi.Bool(false),
    UserName: pulumi.String("string"),
    },
    })
    
    var databaseMigrationsMongoToCosmosDbRUMongoResource = new DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongoResource", DatabaseMigrationsMongoToCosmosDbRUMongoArgs.builder()        
        .kind("string")
        .resourceGroupName("string")
        .targetResourceName("string")
        .collectionList(MongoMigrationCollectionArgs.builder()
            .sourceCollection("string")
            .sourceDatabase("string")
            .targetCollection("string")
            .targetDatabase("string")
            .build())
        .migrationName("string")
        .migrationOperationId("string")
        .migrationService("string")
        .provisioningError("string")
        .scope("string")
        .sourceMongoConnection(MongoConnectionInformationArgs.builder()
            .connectionString("string")
            .host("string")
            .password("string")
            .port(0)
            .useSsl(false)
            .userName("string")
            .build())
        .targetMongoConnection(MongoConnectionInformationArgs.builder()
            .connectionString("string")
            .host("string")
            .password("string")
            .port(0)
            .useSsl(false)
            .userName("string")
            .build())
        .build());
    
    database_migrations_mongo_to_cosmos_db_ru_mongo_resource = azure_native.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongoResource",
        kind="string",
        resource_group_name="string",
        target_resource_name="string",
        collection_list=[azure_native.datamigration.MongoMigrationCollectionArgs(
            source_collection="string",
            source_database="string",
            target_collection="string",
            target_database="string",
        )],
        migration_name="string",
        migration_operation_id="string",
        migration_service="string",
        provisioning_error="string",
        scope="string",
        source_mongo_connection=azure_native.datamigration.MongoConnectionInformationArgs(
            connection_string="string",
            host="string",
            password="string",
            port=0,
            use_ssl=False,
            user_name="string",
        ),
        target_mongo_connection=azure_native.datamigration.MongoConnectionInformationArgs(
            connection_string="string",
            host="string",
            password="string",
            port=0,
            use_ssl=False,
            user_name="string",
        ))
    
    const databaseMigrationsMongoToCosmosDbRUMongoResource = new azure_native.datamigration.DatabaseMigrationsMongoToCosmosDbRUMongo("databaseMigrationsMongoToCosmosDbRUMongoResource", {
        kind: "string",
        resourceGroupName: "string",
        targetResourceName: "string",
        collectionList: [{
            sourceCollection: "string",
            sourceDatabase: "string",
            targetCollection: "string",
            targetDatabase: "string",
        }],
        migrationName: "string",
        migrationOperationId: "string",
        migrationService: "string",
        provisioningError: "string",
        scope: "string",
        sourceMongoConnection: {
            connectionString: "string",
            host: "string",
            password: "string",
            port: 0,
            useSsl: false,
            userName: "string",
        },
        targetMongoConnection: {
            connectionString: "string",
            host: "string",
            password: "string",
            port: 0,
            useSsl: false,
            userName: "string",
        },
    });
    
    type: azure-native:datamigration:DatabaseMigrationsMongoToCosmosDbRUMongo
    properties:
        collectionList:
            - sourceCollection: string
              sourceDatabase: string
              targetCollection: string
              targetDatabase: string
        kind: string
        migrationName: string
        migrationOperationId: string
        migrationService: string
        provisioningError: string
        resourceGroupName: string
        scope: string
        sourceMongoConnection:
            connectionString: string
            host: string
            password: string
            port: 0
            useSsl: false
            userName: string
        targetMongoConnection:
            connectionString: string
            host: string
            password: string
            port: 0
            useSsl: false
            userName: string
        targetResourceName: string
    

    DatabaseMigrationsMongoToCosmosDbRUMongo Resource Properties

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

    Inputs

    The DatabaseMigrationsMongoToCosmosDbRUMongo resource accepts the following input properties:

    ResourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    TargetResourceName string
    The name of the target resource/account.
    CollectionList List<Pulumi.AzureNative.DataMigration.Inputs.MongoMigrationCollection>
    List of Mongo Collections to be migrated.
    MigrationName string
    Name of the migration.
    MigrationOperationId string
    ID for current migration operation.
    MigrationService string
    Resource Id of the Migration Service.
    ProvisioningError string
    Error message for migration provisioning failure, if any.
    Scope string
    Resource Id of the target resource.
    SourceMongoConnection Pulumi.AzureNative.DataMigration.Inputs.MongoConnectionInformation
    Source Mongo connection details.
    TargetMongoConnection Pulumi.AzureNative.DataMigration.Inputs.MongoConnectionInformation
    Target Cosmos DB Mongo connection details.
    ResourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    TargetResourceName string
    The name of the target resource/account.
    CollectionList []MongoMigrationCollectionArgs
    List of Mongo Collections to be migrated.
    MigrationName string
    Name of the migration.
    MigrationOperationId string
    ID for current migration operation.
    MigrationService string
    Resource Id of the Migration Service.
    ProvisioningError string
    Error message for migration provisioning failure, if any.
    Scope string
    Resource Id of the target resource.
    SourceMongoConnection MongoConnectionInformationArgs
    Source Mongo connection details.
    TargetMongoConnection MongoConnectionInformationArgs
    Target Cosmos DB Mongo connection details.
    resourceGroupName String
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    targetResourceName String
    The name of the target resource/account.
    collectionList List<MongoMigrationCollection>
    List of Mongo Collections to be migrated.
    migrationName String
    Name of the migration.
    migrationOperationId String
    ID for current migration operation.
    migrationService String
    Resource Id of the Migration Service.
    provisioningError String
    Error message for migration provisioning failure, if any.
    scope String
    Resource Id of the target resource.
    sourceMongoConnection MongoConnectionInformation
    Source Mongo connection details.
    targetMongoConnection MongoConnectionInformation
    Target Cosmos DB Mongo connection details.
    resourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    targetResourceName string
    The name of the target resource/account.
    collectionList MongoMigrationCollection[]
    List of Mongo Collections to be migrated.
    migrationName string
    Name of the migration.
    migrationOperationId string
    ID for current migration operation.
    migrationService string
    Resource Id of the Migration Service.
    provisioningError string
    Error message for migration provisioning failure, if any.
    scope string
    Resource Id of the target resource.
    sourceMongoConnection MongoConnectionInformation
    Source Mongo connection details.
    targetMongoConnection MongoConnectionInformation
    Target Cosmos DB Mongo connection details.
    resource_group_name str
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    target_resource_name str
    The name of the target resource/account.
    collection_list Sequence[MongoMigrationCollectionArgs]
    List of Mongo Collections to be migrated.
    migration_name str
    Name of the migration.
    migration_operation_id str
    ID for current migration operation.
    migration_service str
    Resource Id of the Migration Service.
    provisioning_error str
    Error message for migration provisioning failure, if any.
    scope str
    Resource Id of the target resource.
    source_mongo_connection MongoConnectionInformationArgs
    Source Mongo connection details.
    target_mongo_connection MongoConnectionInformationArgs
    Target Cosmos DB Mongo connection details.
    resourceGroupName String
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    targetResourceName String
    The name of the target resource/account.
    collectionList List<Property Map>
    List of Mongo Collections to be migrated.
    migrationName String
    Name of the migration.
    migrationOperationId String
    ID for current migration operation.
    migrationService String
    Resource Id of the Migration Service.
    provisioningError String
    Error message for migration provisioning failure, if any.
    scope String
    Resource Id of the target resource.
    sourceMongoConnection Property Map
    Source Mongo connection details.
    targetMongoConnection Property Map
    Target Cosmos DB Mongo connection details.

    Outputs

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

    EndedOn string
    Database migration end time.
    Id string
    The provider-assigned unique ID for this managed resource.
    MigrationFailureError Pulumi.AzureNative.DataMigration.Outputs.ErrorInfoResponse
    Error details in case of migration failure.
    MigrationStatus string
    Migration status.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    StartedOn string
    Database migration start time.
    SystemData Pulumi.AzureNative.DataMigration.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    EndedOn string
    Database migration end time.
    Id string
    The provider-assigned unique ID for this managed resource.
    MigrationFailureError ErrorInfoResponse
    Error details in case of migration failure.
    MigrationStatus string
    Migration status.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    StartedOn string
    Database migration start time.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    endedOn String
    Database migration end time.
    id String
    The provider-assigned unique ID for this managed resource.
    migrationFailureError ErrorInfoResponse
    Error details in case of migration failure.
    migrationStatus String
    Migration status.
    name String
    The name of the resource
    provisioningState String
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    startedOn String
    Database migration start time.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    endedOn string
    Database migration end time.
    id string
    The provider-assigned unique ID for this managed resource.
    migrationFailureError ErrorInfoResponse
    Error details in case of migration failure.
    migrationStatus string
    Migration status.
    name string
    The name of the resource
    provisioningState string
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    startedOn string
    Database migration start time.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    ended_on str
    Database migration end time.
    id str
    The provider-assigned unique ID for this managed resource.
    migration_failure_error ErrorInfoResponse
    Error details in case of migration failure.
    migration_status str
    Migration status.
    name str
    The name of the resource
    provisioning_state str
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    started_on str
    Database migration start time.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    endedOn String
    Database migration end time.
    id String
    The provider-assigned unique ID for this managed resource.
    migrationFailureError Property Map
    Error details in case of migration failure.
    migrationStatus String
    Migration status.
    name String
    The name of the resource
    provisioningState String
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    startedOn String
    Database migration start time.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ErrorInfoResponse, ErrorInfoResponseArgs

    Code string
    Error code.
    Message string
    Error message.
    Code string
    Error code.
    Message string
    Error message.
    code String
    Error code.
    message String
    Error message.
    code string
    Error code.
    message string
    Error message.
    code str
    Error code.
    message str
    Error message.
    code String
    Error code.
    message String
    Error message.

    MongoConnectionInformation, MongoConnectionInformationArgs

    ConnectionString string
    ConnectionString to connect to Mongo.
    Host string
    Host of mongo connection.
    Password string
    Password to connect to Mongo.
    Port int
    Port of mongo connection.
    UseSsl bool
    Whether to UseSsl or UseTls to connect to Mongo. Default is true.
    UserName string
    User name to connect to Mongo.
    ConnectionString string
    ConnectionString to connect to Mongo.
    Host string
    Host of mongo connection.
    Password string
    Password to connect to Mongo.
    Port int
    Port of mongo connection.
    UseSsl bool
    Whether to UseSsl or UseTls to connect to Mongo. Default is true.
    UserName string
    User name to connect to Mongo.
    connectionString String
    ConnectionString to connect to Mongo.
    host String
    Host of mongo connection.
    password String
    Password to connect to Mongo.
    port Integer
    Port of mongo connection.
    useSsl Boolean
    Whether to UseSsl or UseTls to connect to Mongo. Default is true.
    userName String
    User name to connect to Mongo.
    connectionString string
    ConnectionString to connect to Mongo.
    host string
    Host of mongo connection.
    password string
    Password to connect to Mongo.
    port number
    Port of mongo connection.
    useSsl boolean
    Whether to UseSsl or UseTls to connect to Mongo. Default is true.
    userName string
    User name to connect to Mongo.
    connection_string str
    ConnectionString to connect to Mongo.
    host str
    Host of mongo connection.
    password str
    Password to connect to Mongo.
    port int
    Port of mongo connection.
    use_ssl bool
    Whether to UseSsl or UseTls to connect to Mongo. Default is true.
    user_name str
    User name to connect to Mongo.
    connectionString String
    ConnectionString to connect to Mongo.
    host String
    Host of mongo connection.
    password String
    Password to connect to Mongo.
    port Number
    Port of mongo connection.
    useSsl Boolean
    Whether to UseSsl or UseTls to connect to Mongo. Default is true.
    userName String
    User name to connect to Mongo.

    MongoConnectionInformationResponse, MongoConnectionInformationResponseArgs

    Host string
    Host of mongo connection.
    Port int
    Port of mongo connection.
    Host string
    Host of mongo connection.
    Port int
    Port of mongo connection.
    host String
    Host of mongo connection.
    port Integer
    Port of mongo connection.
    host string
    Host of mongo connection.
    port number
    Port of mongo connection.
    host str
    Host of mongo connection.
    port int
    Port of mongo connection.
    host String
    Host of mongo connection.
    port Number
    Port of mongo connection.

    MongoMigrationCollection, MongoMigrationCollectionArgs

    SourceCollection string
    Source collection name.
    SourceDatabase string
    Source database name.
    TargetCollection string
    Target collection name.
    TargetDatabase string
    Target database name.
    SourceCollection string
    Source collection name.
    SourceDatabase string
    Source database name.
    TargetCollection string
    Target collection name.
    TargetDatabase string
    Target database name.
    sourceCollection String
    Source collection name.
    sourceDatabase String
    Source database name.
    targetCollection String
    Target collection name.
    targetDatabase String
    Target database name.
    sourceCollection string
    Source collection name.
    sourceDatabase string
    Source database name.
    targetCollection string
    Target collection name.
    targetDatabase string
    Target database name.
    source_collection str
    Source collection name.
    source_database str
    Source database name.
    target_collection str
    Target collection name.
    target_database str
    Target database name.
    sourceCollection String
    Source collection name.
    sourceDatabase String
    Source database name.
    targetCollection String
    Target collection name.
    targetDatabase String
    Target database name.

    MongoMigrationCollectionResponse, MongoMigrationCollectionResponseArgs

    MigrationProgressDetails Pulumi.AzureNative.DataMigration.Inputs.MongoMigrationProgressDetailsResponse
    Detailed migration status. Not included by default.
    SourceCollection string
    Source collection name.
    SourceDatabase string
    Source database name.
    TargetCollection string
    Target collection name.
    TargetDatabase string
    Target database name.
    MigrationProgressDetails MongoMigrationProgressDetailsResponse
    Detailed migration status. Not included by default.
    SourceCollection string
    Source collection name.
    SourceDatabase string
    Source database name.
    TargetCollection string
    Target collection name.
    TargetDatabase string
    Target database name.
    migrationProgressDetails MongoMigrationProgressDetailsResponse
    Detailed migration status. Not included by default.
    sourceCollection String
    Source collection name.
    sourceDatabase String
    Source database name.
    targetCollection String
    Target collection name.
    targetDatabase String
    Target database name.
    migrationProgressDetails MongoMigrationProgressDetailsResponse
    Detailed migration status. Not included by default.
    sourceCollection string
    Source collection name.
    sourceDatabase string
    Source database name.
    targetCollection string
    Target collection name.
    targetDatabase string
    Target database name.
    migration_progress_details MongoMigrationProgressDetailsResponse
    Detailed migration status. Not included by default.
    source_collection str
    Source collection name.
    source_database str
    Source database name.
    target_collection str
    Target collection name.
    target_database str
    Target database name.
    migrationProgressDetails Property Map
    Detailed migration status. Not included by default.
    sourceCollection String
    Source collection name.
    sourceDatabase String
    Source database name.
    targetCollection String
    Target collection name.
    targetDatabase String
    Target database name.

    MongoMigrationProgressDetailsResponse, MongoMigrationProgressDetailsResponseArgs

    DurationInSeconds int
    Migration duration
    MigrationError string
    Migration Error
    MigrationStatus string
    Migration Status
    ProcessedDocumentCount double
    Processed Document Count
    SourceDocumentCount double
    Source Document Count
    DurationInSeconds int
    Migration duration
    MigrationError string
    Migration Error
    MigrationStatus string
    Migration Status
    ProcessedDocumentCount float64
    Processed Document Count
    SourceDocumentCount float64
    Source Document Count
    durationInSeconds Integer
    Migration duration
    migrationError String
    Migration Error
    migrationStatus String
    Migration Status
    processedDocumentCount Double
    Processed Document Count
    sourceDocumentCount Double
    Source Document Count
    durationInSeconds number
    Migration duration
    migrationError string
    Migration Error
    migrationStatus string
    Migration Status
    processedDocumentCount number
    Processed Document Count
    sourceDocumentCount number
    Source Document Count
    duration_in_seconds int
    Migration duration
    migration_error str
    Migration Error
    migration_status str
    Migration Status
    processed_document_count float
    Processed Document Count
    source_document_count float
    Source Document Count
    durationInSeconds Number
    Migration duration
    migrationError String
    Migration Error
    migrationStatus String
    Migration Status
    processedDocumentCount Number
    Processed Document Count
    sourceDocumentCount Number
    Source Document Count

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:datamigration:DatabaseMigrationsMongoToCosmosDbRUMongo migrationRequest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{targetResourceName}/providers/Microsoft.DataMigration/databaseMigrations/{migrationName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi