1. Packages
  2. Azure Native
  3. API Docs
  4. datamigration
  5. DatabaseMigrationsSqlMi
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi

    Database Migration Resource for SQL Managed Instance.

    Uses Azure REST API version 2025-06-30.

    Other available API versions: 2025-09-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native datamigration [ApiVersion]. See the version guide for details.

    Example Usage

    Create or Update Database Migration resource with Maximum parameters.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var databaseMigrationsSqlMi = new AzureNative.DataMigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMi", new()
        {
            ManagedInstanceName = "managedInstance1",
            Properties = new AzureNative.DataMigration.Inputs.DatabaseMigrationPropertiesSqlMiArgs
            {
                BackupConfiguration = new AzureNative.DataMigration.Inputs.BackupConfigurationArgs
                {
                    SourceLocation = new AzureNative.DataMigration.Inputs.SourceLocationArgs
                    {
                        FileShare = new AzureNative.DataMigration.Inputs.SqlFileShareArgs
                        {
                            Password = "placeholder",
                            Path = "C:\\aaa\\bbb\\ccc",
                            Username = "name",
                        },
                    },
                    TargetLocation = new AzureNative.DataMigration.Inputs.TargetLocationArgs
                    {
                        AccountKey = "abcd",
                        StorageAccountResourceId = "account.database.windows.net",
                    },
                },
                Kind = "SqlMi",
                MigrationService = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent",
                OfflineConfiguration = new AzureNative.DataMigration.Inputs.OfflineConfigurationArgs
                {
                    LastBackupName = "last_backup_file_name",
                    Offline = true,
                },
                Scope = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance",
                SourceDatabaseName = "aaa",
                SourceSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
                {
                    Authentication = "WindowsAuthentication",
                    DataSource = "aaa",
                    EncryptConnection = true,
                    Password = "placeholder",
                    TrustServerCertificate = true,
                    UserName = "bbb",
                },
            },
            ResourceGroupName = "testrg",
            TargetDbName = "db1",
        });
    
    });
    
    package main
    
    import (
    	datamigration "github.com/pulumi/pulumi-azure-native-sdk/datamigration/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datamigration.NewDatabaseMigrationsSqlMi(ctx, "databaseMigrationsSqlMi", &datamigration.DatabaseMigrationsSqlMiArgs{
    			ManagedInstanceName: pulumi.String("managedInstance1"),
    			Properties: &datamigration.DatabaseMigrationPropertiesSqlMiArgs{
    				BackupConfiguration: &datamigration.BackupConfigurationArgs{
    					SourceLocation: &datamigration.SourceLocationArgs{
    						FileShare: &datamigration.SqlFileShareArgs{
    							Password: pulumi.String("placeholder"),
    							Path:     pulumi.String("C:\\aaa\\bbb\\ccc"),
    							Username: pulumi.String("name"),
    						},
    					},
    					TargetLocation: &datamigration.TargetLocationArgs{
    						AccountKey:               pulumi.String("abcd"),
    						StorageAccountResourceId: pulumi.String("account.database.windows.net"),
    					},
    				},
    				Kind:             pulumi.String("SqlMi"),
    				MigrationService: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent"),
    				OfflineConfiguration: &datamigration.OfflineConfigurationArgs{
    					LastBackupName: pulumi.String("last_backup_file_name"),
    					Offline:        pulumi.Bool(true),
    				},
    				Scope:              pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance"),
    				SourceDatabaseName: pulumi.String("aaa"),
    				SourceSqlConnection: &datamigration.SqlConnectionInformationArgs{
    					Authentication:         pulumi.String("WindowsAuthentication"),
    					DataSource:             pulumi.String("aaa"),
    					EncryptConnection:      pulumi.Bool(true),
    					Password:               pulumi.String("placeholder"),
    					TrustServerCertificate: pulumi.Bool(true),
    					UserName:               pulumi.String("bbb"),
    				},
    			},
    			ResourceGroupName: pulumi.String("testrg"),
    			TargetDbName:      pulumi.String("db1"),
    		})
    		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.DatabaseMigrationsSqlMi;
    import com.pulumi.azurenative.datamigration.DatabaseMigrationsSqlMiArgs;
    import com.pulumi.azurenative.datamigration.inputs.DatabaseMigrationPropertiesSqlMiArgs;
    import com.pulumi.azurenative.datamigration.inputs.BackupConfigurationArgs;
    import com.pulumi.azurenative.datamigration.inputs.SourceLocationArgs;
    import com.pulumi.azurenative.datamigration.inputs.SqlFileShareArgs;
    import com.pulumi.azurenative.datamigration.inputs.TargetLocationArgs;
    import com.pulumi.azurenative.datamigration.inputs.OfflineConfigurationArgs;
    import com.pulumi.azurenative.datamigration.inputs.SqlConnectionInformationArgs;
    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 databaseMigrationsSqlMi = new DatabaseMigrationsSqlMi("databaseMigrationsSqlMi", DatabaseMigrationsSqlMiArgs.builder()
                .managedInstanceName("managedInstance1")
                .properties(DatabaseMigrationPropertiesSqlMiArgs.builder()
                    .backupConfiguration(BackupConfigurationArgs.builder()
                        .sourceLocation(SourceLocationArgs.builder()
                            .fileShare(SqlFileShareArgs.builder()
                                .password("placeholder")
                                .path("C:\\aaa\\bbb\\ccc")
                                .username("name")
                                .build())
                            .build())
                        .targetLocation(TargetLocationArgs.builder()
                            .accountKey("abcd")
                            .storageAccountResourceId("account.database.windows.net")
                            .build())
                        .build())
                    .kind("SqlMi")
                    .migrationService("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent")
                    .offlineConfiguration(OfflineConfigurationArgs.builder()
                        .lastBackupName("last_backup_file_name")
                        .offline(true)
                        .build())
                    .scope("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance")
                    .sourceDatabaseName("aaa")
                    .sourceSqlConnection(SqlConnectionInformationArgs.builder()
                        .authentication("WindowsAuthentication")
                        .dataSource("aaa")
                        .encryptConnection(true)
                        .password("placeholder")
                        .trustServerCertificate(true)
                        .userName("bbb")
                        .build())
                    .build())
                .resourceGroupName("testrg")
                .targetDbName("db1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const databaseMigrationsSqlMi = new azure_native.datamigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMi", {
        managedInstanceName: "managedInstance1",
        properties: {
            backupConfiguration: {
                sourceLocation: {
                    fileShare: {
                        password: "placeholder",
                        path: "C:\\aaa\\bbb\\ccc",
                        username: "name",
                    },
                },
                targetLocation: {
                    accountKey: "abcd",
                    storageAccountResourceId: "account.database.windows.net",
                },
            },
            kind: "SqlMi",
            migrationService: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent",
            offlineConfiguration: {
                lastBackupName: "last_backup_file_name",
                offline: true,
            },
            scope: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance",
            sourceDatabaseName: "aaa",
            sourceSqlConnection: {
                authentication: "WindowsAuthentication",
                dataSource: "aaa",
                encryptConnection: true,
                password: "placeholder",
                trustServerCertificate: true,
                userName: "bbb",
            },
        },
        resourceGroupName: "testrg",
        targetDbName: "db1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    database_migrations_sql_mi = azure_native.datamigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMi",
        managed_instance_name="managedInstance1",
        properties={
            "backup_configuration": {
                "source_location": {
                    "file_share": {
                        "password": "placeholder",
                        "path": "C:\\aaa\\bbb\\ccc",
                        "username": "name",
                    },
                },
                "target_location": {
                    "account_key": "abcd",
                    "storage_account_resource_id": "account.database.windows.net",
                },
            },
            "kind": "SqlMi",
            "migration_service": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent",
            "offline_configuration": {
                "last_backup_name": "last_backup_file_name",
                "offline": True,
            },
            "scope": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance",
            "source_database_name": "aaa",
            "source_sql_connection": {
                "authentication": "WindowsAuthentication",
                "data_source": "aaa",
                "encrypt_connection": True,
                "password": "placeholder",
                "trust_server_certificate": True,
                "user_name": "bbb",
            },
        },
        resource_group_name="testrg",
        target_db_name="db1")
    
    resources:
      databaseMigrationsSqlMi:
        type: azure-native:datamigration:DatabaseMigrationsSqlMi
        properties:
          managedInstanceName: managedInstance1
          properties:
            backupConfiguration:
              sourceLocation:
                fileShare:
                  password: placeholder
                  path: C:\aaa\bbb\ccc
                  username: name
              targetLocation:
                accountKey: abcd
                storageAccountResourceId: account.database.windows.net
            kind: SqlMi
            migrationService: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent
            offlineConfiguration:
              lastBackupName: last_backup_file_name
              offline: true
            scope: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance
            sourceDatabaseName: aaa
            sourceSqlConnection:
              authentication: WindowsAuthentication
              dataSource: aaa
              encryptConnection: true
              password: placeholder
              trustServerCertificate: true
              userName: bbb
          resourceGroupName: testrg
          targetDbName: db1
    

    Create or Update Database Migration resource with Minimum parameters.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var databaseMigrationsSqlMi = new AzureNative.DataMigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMi", new()
        {
            ManagedInstanceName = "managedInstance1",
            Properties = new AzureNative.DataMigration.Inputs.DatabaseMigrationPropertiesSqlMiArgs
            {
                BackupConfiguration = new AzureNative.DataMigration.Inputs.BackupConfigurationArgs
                {
                    SourceLocation = new AzureNative.DataMigration.Inputs.SourceLocationArgs
                    {
                        FileShare = new AzureNative.DataMigration.Inputs.SqlFileShareArgs
                        {
                            Password = "placeholder",
                            Path = "C:\\aaa\\bbb\\ccc",
                            Username = "name",
                        },
                    },
                    TargetLocation = new AzureNative.DataMigration.Inputs.TargetLocationArgs
                    {
                        AccountKey = "abcd",
                        StorageAccountResourceId = "account.database.windows.net",
                    },
                },
                Kind = "SqlMi",
                MigrationService = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent",
                Scope = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance",
                SourceDatabaseName = "aaa",
                SourceSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
                {
                    Authentication = "WindowsAuthentication",
                    DataSource = "aaa",
                    EncryptConnection = true,
                    Password = "placeholder",
                    TrustServerCertificate = true,
                    UserName = "bbb",
                },
            },
            ResourceGroupName = "testrg",
            TargetDbName = "db1",
        });
    
    });
    
    package main
    
    import (
    	datamigration "github.com/pulumi/pulumi-azure-native-sdk/datamigration/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datamigration.NewDatabaseMigrationsSqlMi(ctx, "databaseMigrationsSqlMi", &datamigration.DatabaseMigrationsSqlMiArgs{
    			ManagedInstanceName: pulumi.String("managedInstance1"),
    			Properties: &datamigration.DatabaseMigrationPropertiesSqlMiArgs{
    				BackupConfiguration: &datamigration.BackupConfigurationArgs{
    					SourceLocation: &datamigration.SourceLocationArgs{
    						FileShare: &datamigration.SqlFileShareArgs{
    							Password: pulumi.String("placeholder"),
    							Path:     pulumi.String("C:\\aaa\\bbb\\ccc"),
    							Username: pulumi.String("name"),
    						},
    					},
    					TargetLocation: &datamigration.TargetLocationArgs{
    						AccountKey:               pulumi.String("abcd"),
    						StorageAccountResourceId: pulumi.String("account.database.windows.net"),
    					},
    				},
    				Kind:               pulumi.String("SqlMi"),
    				MigrationService:   pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent"),
    				Scope:              pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance"),
    				SourceDatabaseName: pulumi.String("aaa"),
    				SourceSqlConnection: &datamigration.SqlConnectionInformationArgs{
    					Authentication:         pulumi.String("WindowsAuthentication"),
    					DataSource:             pulumi.String("aaa"),
    					EncryptConnection:      pulumi.Bool(true),
    					Password:               pulumi.String("placeholder"),
    					TrustServerCertificate: pulumi.Bool(true),
    					UserName:               pulumi.String("bbb"),
    				},
    			},
    			ResourceGroupName: pulumi.String("testrg"),
    			TargetDbName:      pulumi.String("db1"),
    		})
    		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.DatabaseMigrationsSqlMi;
    import com.pulumi.azurenative.datamigration.DatabaseMigrationsSqlMiArgs;
    import com.pulumi.azurenative.datamigration.inputs.DatabaseMigrationPropertiesSqlMiArgs;
    import com.pulumi.azurenative.datamigration.inputs.BackupConfigurationArgs;
    import com.pulumi.azurenative.datamigration.inputs.SourceLocationArgs;
    import com.pulumi.azurenative.datamigration.inputs.SqlFileShareArgs;
    import com.pulumi.azurenative.datamigration.inputs.TargetLocationArgs;
    import com.pulumi.azurenative.datamigration.inputs.SqlConnectionInformationArgs;
    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 databaseMigrationsSqlMi = new DatabaseMigrationsSqlMi("databaseMigrationsSqlMi", DatabaseMigrationsSqlMiArgs.builder()
                .managedInstanceName("managedInstance1")
                .properties(DatabaseMigrationPropertiesSqlMiArgs.builder()
                    .backupConfiguration(BackupConfigurationArgs.builder()
                        .sourceLocation(SourceLocationArgs.builder()
                            .fileShare(SqlFileShareArgs.builder()
                                .password("placeholder")
                                .path("C:\\aaa\\bbb\\ccc")
                                .username("name")
                                .build())
                            .build())
                        .targetLocation(TargetLocationArgs.builder()
                            .accountKey("abcd")
                            .storageAccountResourceId("account.database.windows.net")
                            .build())
                        .build())
                    .kind("SqlMi")
                    .migrationService("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent")
                    .scope("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance")
                    .sourceDatabaseName("aaa")
                    .sourceSqlConnection(SqlConnectionInformationArgs.builder()
                        .authentication("WindowsAuthentication")
                        .dataSource("aaa")
                        .encryptConnection(true)
                        .password("placeholder")
                        .trustServerCertificate(true)
                        .userName("bbb")
                        .build())
                    .build())
                .resourceGroupName("testrg")
                .targetDbName("db1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const databaseMigrationsSqlMi = new azure_native.datamigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMi", {
        managedInstanceName: "managedInstance1",
        properties: {
            backupConfiguration: {
                sourceLocation: {
                    fileShare: {
                        password: "placeholder",
                        path: "C:\\aaa\\bbb\\ccc",
                        username: "name",
                    },
                },
                targetLocation: {
                    accountKey: "abcd",
                    storageAccountResourceId: "account.database.windows.net",
                },
            },
            kind: "SqlMi",
            migrationService: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent",
            scope: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance",
            sourceDatabaseName: "aaa",
            sourceSqlConnection: {
                authentication: "WindowsAuthentication",
                dataSource: "aaa",
                encryptConnection: true,
                password: "placeholder",
                trustServerCertificate: true,
                userName: "bbb",
            },
        },
        resourceGroupName: "testrg",
        targetDbName: "db1",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    database_migrations_sql_mi = azure_native.datamigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMi",
        managed_instance_name="managedInstance1",
        properties={
            "backup_configuration": {
                "source_location": {
                    "file_share": {
                        "password": "placeholder",
                        "path": "C:\\aaa\\bbb\\ccc",
                        "username": "name",
                    },
                },
                "target_location": {
                    "account_key": "abcd",
                    "storage_account_resource_id": "account.database.windows.net",
                },
            },
            "kind": "SqlMi",
            "migration_service": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent",
            "scope": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance",
            "source_database_name": "aaa",
            "source_sql_connection": {
                "authentication": "WindowsAuthentication",
                "data_source": "aaa",
                "encrypt_connection": True,
                "password": "placeholder",
                "trust_server_certificate": True,
                "user_name": "bbb",
            },
        },
        resource_group_name="testrg",
        target_db_name="db1")
    
    resources:
      databaseMigrationsSqlMi:
        type: azure-native:datamigration:DatabaseMigrationsSqlMi
        properties:
          managedInstanceName: managedInstance1
          properties:
            backupConfiguration:
              sourceLocation:
                fileShare:
                  password: placeholder
                  path: C:\aaa\bbb\ccc
                  username: name
              targetLocation:
                accountKey: abcd
                storageAccountResourceId: account.database.windows.net
            kind: SqlMi
            migrationService: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.DataMigration/sqlMigrationServices/testagent
            scope: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/instance
            sourceDatabaseName: aaa
            sourceSqlConnection:
              authentication: WindowsAuthentication
              dataSource: aaa
              encryptConnection: true
              password: placeholder
              trustServerCertificate: true
              userName: bbb
          resourceGroupName: testrg
          targetDbName: db1
    

    Create DatabaseMigrationsSqlMi Resource

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

    Constructor syntax

    new DatabaseMigrationsSqlMi(name: string, args: DatabaseMigrationsSqlMiArgs, opts?: CustomResourceOptions);
    @overload
    def DatabaseMigrationsSqlMi(resource_name: str,
                                args: DatabaseMigrationsSqlMiArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatabaseMigrationsSqlMi(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                managed_instance_name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                properties: Optional[DatabaseMigrationPropertiesSqlMiArgs] = None,
                                target_db_name: Optional[str] = None)
    func NewDatabaseMigrationsSqlMi(ctx *Context, name string, args DatabaseMigrationsSqlMiArgs, opts ...ResourceOption) (*DatabaseMigrationsSqlMi, error)
    public DatabaseMigrationsSqlMi(string name, DatabaseMigrationsSqlMiArgs args, CustomResourceOptions? opts = null)
    public DatabaseMigrationsSqlMi(String name, DatabaseMigrationsSqlMiArgs args)
    public DatabaseMigrationsSqlMi(String name, DatabaseMigrationsSqlMiArgs args, CustomResourceOptions options)
    
    type: azure-native:datamigration:DatabaseMigrationsSqlMi
    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 DatabaseMigrationsSqlMiArgs
    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 DatabaseMigrationsSqlMiArgs
    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 DatabaseMigrationsSqlMiArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatabaseMigrationsSqlMiArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatabaseMigrationsSqlMiArgs
    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 databaseMigrationsSqlMiResource = new AzureNative.DataMigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMiResource", new()
    {
        ManagedInstanceName = "string",
        ResourceGroupName = "string",
        Properties = new AzureNative.DataMigration.Inputs.DatabaseMigrationPropertiesSqlMiArgs
        {
            Kind = "SqlMi",
            BackupConfiguration = new AzureNative.DataMigration.Inputs.BackupConfigurationArgs
            {
                SourceLocation = new AzureNative.DataMigration.Inputs.SourceLocationArgs
                {
                    AzureBlob = new AzureNative.DataMigration.Inputs.AzureBlobArgs
                    {
                        AccountKey = "string",
                        AuthType = AzureNative.DataMigration.AuthType.AccountKey,
                        BlobContainerName = "string",
                        Identity = new AzureNative.DataMigration.Inputs.ManagedServiceIdentityArgs
                        {
                            Type = "string",
                            UserAssignedIdentities = new[]
                            {
                                "string",
                            },
                        },
                        StorageAccountResourceId = "string",
                    },
                    FileShare = new AzureNative.DataMigration.Inputs.SqlFileShareArgs
                    {
                        Password = "string",
                        Path = "string",
                        Username = "string",
                    },
                },
                TargetLocation = new AzureNative.DataMigration.Inputs.TargetLocationArgs
                {
                    AccountKey = "string",
                    StorageAccountResourceId = "string",
                },
            },
            MigrationOperationId = "string",
            MigrationService = "string",
            OfflineConfiguration = new AzureNative.DataMigration.Inputs.OfflineConfigurationArgs
            {
                LastBackupName = "string",
                Offline = false,
            },
            ProvisioningError = "string",
            Scope = "string",
            SourceDatabaseName = "string",
            SourceSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
            {
                Authentication = "string",
                DataSource = "string",
                EncryptConnection = false,
                Password = "string",
                TrustServerCertificate = false,
                UserName = "string",
            },
            TargetDatabaseCollation = "string",
        },
        TargetDbName = "string",
    });
    
    example, err := datamigration.NewDatabaseMigrationsSqlMi(ctx, "databaseMigrationsSqlMiResource", &datamigration.DatabaseMigrationsSqlMiArgs{
    	ManagedInstanceName: pulumi.String("string"),
    	ResourceGroupName:   pulumi.String("string"),
    	Properties: &datamigration.DatabaseMigrationPropertiesSqlMiArgs{
    		Kind: pulumi.String("SqlMi"),
    		BackupConfiguration: &datamigration.BackupConfigurationArgs{
    			SourceLocation: &datamigration.SourceLocationArgs{
    				AzureBlob: &datamigration.AzureBlobArgs{
    					AccountKey:        pulumi.String("string"),
    					AuthType:          datamigration.AuthTypeAccountKey,
    					BlobContainerName: pulumi.String("string"),
    					Identity: &datamigration.ManagedServiceIdentityArgs{
    						Type: pulumi.String("string"),
    						UserAssignedIdentities: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					StorageAccountResourceId: pulumi.String("string"),
    				},
    				FileShare: &datamigration.SqlFileShareArgs{
    					Password: pulumi.String("string"),
    					Path:     pulumi.String("string"),
    					Username: pulumi.String("string"),
    				},
    			},
    			TargetLocation: &datamigration.TargetLocationArgs{
    				AccountKey:               pulumi.String("string"),
    				StorageAccountResourceId: pulumi.String("string"),
    			},
    		},
    		MigrationOperationId: pulumi.String("string"),
    		MigrationService:     pulumi.String("string"),
    		OfflineConfiguration: &datamigration.OfflineConfigurationArgs{
    			LastBackupName: pulumi.String("string"),
    			Offline:        pulumi.Bool(false),
    		},
    		ProvisioningError:  pulumi.String("string"),
    		Scope:              pulumi.String("string"),
    		SourceDatabaseName: pulumi.String("string"),
    		SourceSqlConnection: &datamigration.SqlConnectionInformationArgs{
    			Authentication:         pulumi.String("string"),
    			DataSource:             pulumi.String("string"),
    			EncryptConnection:      pulumi.Bool(false),
    			Password:               pulumi.String("string"),
    			TrustServerCertificate: pulumi.Bool(false),
    			UserName:               pulumi.String("string"),
    		},
    		TargetDatabaseCollation: pulumi.String("string"),
    	},
    	TargetDbName: pulumi.String("string"),
    })
    
    var databaseMigrationsSqlMiResource = new DatabaseMigrationsSqlMi("databaseMigrationsSqlMiResource", DatabaseMigrationsSqlMiArgs.builder()
        .managedInstanceName("string")
        .resourceGroupName("string")
        .properties(DatabaseMigrationPropertiesSqlMiArgs.builder()
            .kind("SqlMi")
            .backupConfiguration(BackupConfigurationArgs.builder()
                .sourceLocation(SourceLocationArgs.builder()
                    .azureBlob(AzureBlobArgs.builder()
                        .accountKey("string")
                        .authType("AccountKey")
                        .blobContainerName("string")
                        .identity(ManagedServiceIdentityArgs.builder()
                            .type("string")
                            .userAssignedIdentities("string")
                            .build())
                        .storageAccountResourceId("string")
                        .build())
                    .fileShare(SqlFileShareArgs.builder()
                        .password("string")
                        .path("string")
                        .username("string")
                        .build())
                    .build())
                .targetLocation(TargetLocationArgs.builder()
                    .accountKey("string")
                    .storageAccountResourceId("string")
                    .build())
                .build())
            .migrationOperationId("string")
            .migrationService("string")
            .offlineConfiguration(OfflineConfigurationArgs.builder()
                .lastBackupName("string")
                .offline(false)
                .build())
            .provisioningError("string")
            .scope("string")
            .sourceDatabaseName("string")
            .sourceSqlConnection(SqlConnectionInformationArgs.builder()
                .authentication("string")
                .dataSource("string")
                .encryptConnection(false)
                .password("string")
                .trustServerCertificate(false)
                .userName("string")
                .build())
            .targetDatabaseCollation("string")
            .build())
        .targetDbName("string")
        .build());
    
    database_migrations_sql_mi_resource = azure_native.datamigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMiResource",
        managed_instance_name="string",
        resource_group_name="string",
        properties={
            "kind": "SqlMi",
            "backup_configuration": {
                "source_location": {
                    "azure_blob": {
                        "account_key": "string",
                        "auth_type": azure_native.datamigration.AuthType.ACCOUNT_KEY,
                        "blob_container_name": "string",
                        "identity": {
                            "type": "string",
                            "user_assigned_identities": ["string"],
                        },
                        "storage_account_resource_id": "string",
                    },
                    "file_share": {
                        "password": "string",
                        "path": "string",
                        "username": "string",
                    },
                },
                "target_location": {
                    "account_key": "string",
                    "storage_account_resource_id": "string",
                },
            },
            "migration_operation_id": "string",
            "migration_service": "string",
            "offline_configuration": {
                "last_backup_name": "string",
                "offline": False,
            },
            "provisioning_error": "string",
            "scope": "string",
            "source_database_name": "string",
            "source_sql_connection": {
                "authentication": "string",
                "data_source": "string",
                "encrypt_connection": False,
                "password": "string",
                "trust_server_certificate": False,
                "user_name": "string",
            },
            "target_database_collation": "string",
        },
        target_db_name="string")
    
    const databaseMigrationsSqlMiResource = new azure_native.datamigration.DatabaseMigrationsSqlMi("databaseMigrationsSqlMiResource", {
        managedInstanceName: "string",
        resourceGroupName: "string",
        properties: {
            kind: "SqlMi",
            backupConfiguration: {
                sourceLocation: {
                    azureBlob: {
                        accountKey: "string",
                        authType: azure_native.datamigration.AuthType.AccountKey,
                        blobContainerName: "string",
                        identity: {
                            type: "string",
                            userAssignedIdentities: ["string"],
                        },
                        storageAccountResourceId: "string",
                    },
                    fileShare: {
                        password: "string",
                        path: "string",
                        username: "string",
                    },
                },
                targetLocation: {
                    accountKey: "string",
                    storageAccountResourceId: "string",
                },
            },
            migrationOperationId: "string",
            migrationService: "string",
            offlineConfiguration: {
                lastBackupName: "string",
                offline: false,
            },
            provisioningError: "string",
            scope: "string",
            sourceDatabaseName: "string",
            sourceSqlConnection: {
                authentication: "string",
                dataSource: "string",
                encryptConnection: false,
                password: "string",
                trustServerCertificate: false,
                userName: "string",
            },
            targetDatabaseCollation: "string",
        },
        targetDbName: "string",
    });
    
    type: azure-native:datamigration:DatabaseMigrationsSqlMi
    properties:
        managedInstanceName: string
        properties:
            backupConfiguration:
                sourceLocation:
                    azureBlob:
                        accountKey: string
                        authType: AccountKey
                        blobContainerName: string
                        identity:
                            type: string
                            userAssignedIdentities:
                                - string
                        storageAccountResourceId: string
                    fileShare:
                        password: string
                        path: string
                        username: string
                targetLocation:
                    accountKey: string
                    storageAccountResourceId: string
            kind: SqlMi
            migrationOperationId: string
            migrationService: string
            offlineConfiguration:
                lastBackupName: string
                offline: false
            provisioningError: string
            scope: string
            sourceDatabaseName: string
            sourceSqlConnection:
                authentication: string
                dataSource: string
                encryptConnection: false
                password: string
                trustServerCertificate: false
                userName: string
            targetDatabaseCollation: string
        resourceGroupName: string
        targetDbName: string
    

    DatabaseMigrationsSqlMi 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 DatabaseMigrationsSqlMi resource accepts the following input properties:

    ManagedInstanceName string
    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.
    Properties Pulumi.AzureNative.DataMigration.Inputs.DatabaseMigrationPropertiesSqlMi
    Database Migration Resource properties for SQL Managed Instance.
    TargetDbName string
    The name of the target database.
    ManagedInstanceName string
    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.
    Properties DatabaseMigrationPropertiesSqlMiArgs
    Database Migration Resource properties for SQL Managed Instance.
    TargetDbName string
    The name of the target database.
    managedInstanceName String
    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.
    properties DatabaseMigrationPropertiesSqlMi
    Database Migration Resource properties for SQL Managed Instance.
    targetDbName String
    The name of the target database.
    managedInstanceName string
    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.
    properties DatabaseMigrationPropertiesSqlMi
    Database Migration Resource properties for SQL Managed Instance.
    targetDbName string
    The name of the target database.
    managed_instance_name str
    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.
    properties DatabaseMigrationPropertiesSqlMiArgs
    Database Migration Resource properties for SQL Managed Instance.
    target_db_name str
    The name of the target database.
    managedInstanceName String
    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.
    properties Property Map
    Database Migration Resource properties for SQL Managed Instance.
    targetDbName String
    The name of the target database.

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    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"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    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"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    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"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    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

    AuthType, AuthTypeArgs

    AccountKey
    AccountKeyUse an account key for authentication.
    ManagedIdentity
    ManagedIdentityUse a managed identity for authentication.
    AuthTypeAccountKey
    AccountKeyUse an account key for authentication.
    AuthTypeManagedIdentity
    ManagedIdentityUse a managed identity for authentication.
    AccountKey
    AccountKeyUse an account key for authentication.
    ManagedIdentity
    ManagedIdentityUse a managed identity for authentication.
    AccountKey
    AccountKeyUse an account key for authentication.
    ManagedIdentity
    ManagedIdentityUse a managed identity for authentication.
    ACCOUNT_KEY
    AccountKeyUse an account key for authentication.
    MANAGED_IDENTITY
    ManagedIdentityUse a managed identity for authentication.
    "AccountKey"
    AccountKeyUse an account key for authentication.
    "ManagedIdentity"
    ManagedIdentityUse a managed identity for authentication.

    AzureBlob, AzureBlobArgs

    Azure Blob Details
    AccountKey string
    Storage Account Key.
    AuthType Pulumi.AzureNative.DataMigration.AuthType
    Authentication type used for accessing Azure Blob Storage.
    BlobContainerName string
    Blob container name where backups are stored.
    Identity Pulumi.AzureNative.DataMigration.Inputs.ManagedServiceIdentity
    Identity details for authentication using a Managed Identity.
    StorageAccountResourceId string
    Resource Id of the storage account where backups are stored.
    AccountKey string
    Storage Account Key.
    AuthType AuthType
    Authentication type used for accessing Azure Blob Storage.
    BlobContainerName string
    Blob container name where backups are stored.
    Identity ManagedServiceIdentity
    Identity details for authentication using a Managed Identity.
    StorageAccountResourceId string
    Resource Id of the storage account where backups are stored.
    accountKey String
    Storage Account Key.
    authType AuthType
    Authentication type used for accessing Azure Blob Storage.
    blobContainerName String
    Blob container name where backups are stored.
    identity ManagedServiceIdentity
    Identity details for authentication using a Managed Identity.
    storageAccountResourceId String
    Resource Id of the storage account where backups are stored.
    accountKey string
    Storage Account Key.
    authType AuthType
    Authentication type used for accessing Azure Blob Storage.
    blobContainerName string
    Blob container name where backups are stored.
    identity ManagedServiceIdentity
    Identity details for authentication using a Managed Identity.
    storageAccountResourceId string
    Resource Id of the storage account where backups are stored.
    account_key str
    Storage Account Key.
    auth_type AuthType
    Authentication type used for accessing Azure Blob Storage.
    blob_container_name str
    Blob container name where backups are stored.
    identity ManagedServiceIdentity
    Identity details for authentication using a Managed Identity.
    storage_account_resource_id str
    Resource Id of the storage account where backups are stored.
    accountKey String
    Storage Account Key.
    authType "AccountKey" | "ManagedIdentity"
    Authentication type used for accessing Azure Blob Storage.
    blobContainerName String
    Blob container name where backups are stored.
    identity Property Map
    Identity details for authentication using a Managed Identity.
    storageAccountResourceId String
    Resource Id of the storage account where backups are stored.

    AzureBlobResponse, AzureBlobResponseArgs

    Azure Blob Details
    AccountKey string
    Storage Account Key.
    AuthType string
    Authentication type used for accessing Azure Blob Storage.
    BlobContainerName string
    Blob container name where backups are stored.
    Identity Pulumi.AzureNative.DataMigration.Inputs.ManagedServiceIdentityResponse
    Identity details for authentication using a Managed Identity.
    StorageAccountResourceId string
    Resource Id of the storage account where backups are stored.
    AccountKey string
    Storage Account Key.
    AuthType string
    Authentication type used for accessing Azure Blob Storage.
    BlobContainerName string
    Blob container name where backups are stored.
    Identity ManagedServiceIdentityResponse
    Identity details for authentication using a Managed Identity.
    StorageAccountResourceId string
    Resource Id of the storage account where backups are stored.
    accountKey String
    Storage Account Key.
    authType String
    Authentication type used for accessing Azure Blob Storage.
    blobContainerName String
    Blob container name where backups are stored.
    identity ManagedServiceIdentityResponse
    Identity details for authentication using a Managed Identity.
    storageAccountResourceId String
    Resource Id of the storage account where backups are stored.
    accountKey string
    Storage Account Key.
    authType string
    Authentication type used for accessing Azure Blob Storage.
    blobContainerName string
    Blob container name where backups are stored.
    identity ManagedServiceIdentityResponse
    Identity details for authentication using a Managed Identity.
    storageAccountResourceId string
    Resource Id of the storage account where backups are stored.
    account_key str
    Storage Account Key.
    auth_type str
    Authentication type used for accessing Azure Blob Storage.
    blob_container_name str
    Blob container name where backups are stored.
    identity ManagedServiceIdentityResponse
    Identity details for authentication using a Managed Identity.
    storage_account_resource_id str
    Resource Id of the storage account where backups are stored.
    accountKey String
    Storage Account Key.
    authType String
    Authentication type used for accessing Azure Blob Storage.
    blobContainerName String
    Blob container name where backups are stored.
    identity Property Map
    Identity details for authentication using a Managed Identity.
    storageAccountResourceId String
    Resource Id of the storage account where backups are stored.

    BackupConfiguration, BackupConfigurationArgs

    Backup Configuration
    SourceLocation SourceLocation
    Source location of backups.
    TargetLocation TargetLocation
    Target location for copying backups.
    sourceLocation SourceLocation
    Source location of backups.
    targetLocation TargetLocation
    Target location for copying backups.
    sourceLocation SourceLocation
    Source location of backups.
    targetLocation TargetLocation
    Target location for copying backups.
    source_location SourceLocation
    Source location of backups.
    target_location TargetLocation
    Target location for copying backups.
    sourceLocation Property Map
    Source location of backups.
    targetLocation Property Map
    Target location for copying backups.

    BackupConfigurationResponse, BackupConfigurationResponseArgs

    Backup Configuration
    SourceLocation SourceLocationResponse
    Source location of backups.
    TargetLocation TargetLocationResponse
    Target location for copying backups.
    sourceLocation SourceLocationResponse
    Source location of backups.
    targetLocation TargetLocationResponse
    Target location for copying backups.
    sourceLocation SourceLocationResponse
    Source location of backups.
    targetLocation TargetLocationResponse
    Target location for copying backups.
    source_location SourceLocationResponse
    Source location of backups.
    target_location TargetLocationResponse
    Target location for copying backups.
    sourceLocation Property Map
    Source location of backups.
    targetLocation Property Map
    Target location for copying backups.

    DatabaseMigrationPropertiesSqlMi, DatabaseMigrationPropertiesSqlMiArgs

    Database Migration Resource properties for SQL Managed Instance.
    BackupConfiguration Pulumi.AzureNative.DataMigration.Inputs.BackupConfiguration
    Backup configuration info.
    MigrationOperationId string
    ID for current migration operation.
    MigrationService string
    Resource Id of the Migration Service.
    OfflineConfiguration Pulumi.AzureNative.DataMigration.Inputs.OfflineConfiguration
    Offline configuration.
    ProvisioningError string
    Error message for migration provisioning failure, if any.
    Scope string
    Resource Id of the target resource.
    SourceDatabaseName string
    Name of the source database.
    SourceSqlConnection Pulumi.AzureNative.DataMigration.Inputs.SqlConnectionInformation
    Source SQL Server connection details.
    TargetDatabaseCollation string
    Database collation to be used for the target database.
    BackupConfiguration BackupConfiguration
    Backup configuration info.
    MigrationOperationId string
    ID for current migration operation.
    MigrationService string
    Resource Id of the Migration Service.
    OfflineConfiguration OfflineConfiguration
    Offline configuration.
    ProvisioningError string
    Error message for migration provisioning failure, if any.
    Scope string
    Resource Id of the target resource.
    SourceDatabaseName string
    Name of the source database.
    SourceSqlConnection SqlConnectionInformation
    Source SQL Server connection details.
    TargetDatabaseCollation string
    Database collation to be used for the target database.
    backupConfiguration BackupConfiguration
    Backup configuration info.
    migrationOperationId String
    ID for current migration operation.
    migrationService String
    Resource Id of the Migration Service.
    offlineConfiguration OfflineConfiguration
    Offline configuration.
    provisioningError String
    Error message for migration provisioning failure, if any.
    scope String
    Resource Id of the target resource.
    sourceDatabaseName String
    Name of the source database.
    sourceSqlConnection SqlConnectionInformation
    Source SQL Server connection details.
    targetDatabaseCollation String
    Database collation to be used for the target database.
    backupConfiguration BackupConfiguration
    Backup configuration info.
    migrationOperationId string
    ID for current migration operation.
    migrationService string
    Resource Id of the Migration Service.
    offlineConfiguration OfflineConfiguration
    Offline configuration.
    provisioningError string
    Error message for migration provisioning failure, if any.
    scope string
    Resource Id of the target resource.
    sourceDatabaseName string
    Name of the source database.
    sourceSqlConnection SqlConnectionInformation
    Source SQL Server connection details.
    targetDatabaseCollation string
    Database collation to be used for the target database.
    backup_configuration BackupConfiguration
    Backup configuration info.
    migration_operation_id str
    ID for current migration operation.
    migration_service str
    Resource Id of the Migration Service.
    offline_configuration OfflineConfiguration
    Offline configuration.
    provisioning_error str
    Error message for migration provisioning failure, if any.
    scope str
    Resource Id of the target resource.
    source_database_name str
    Name of the source database.
    source_sql_connection SqlConnectionInformation
    Source SQL Server connection details.
    target_database_collation str
    Database collation to be used for the target database.
    backupConfiguration Property Map
    Backup configuration info.
    migrationOperationId String
    ID for current migration operation.
    migrationService String
    Resource Id of the Migration Service.
    offlineConfiguration Property Map
    Offline configuration.
    provisioningError String
    Error message for migration provisioning failure, if any.
    scope String
    Resource Id of the target resource.
    sourceDatabaseName String
    Name of the source database.
    sourceSqlConnection Property Map
    Source SQL Server connection details.
    targetDatabaseCollation String
    Database collation to be used for the target database.

    DatabaseMigrationPropertiesSqlMiResponse, DatabaseMigrationPropertiesSqlMiResponseArgs

    Database Migration Resource properties for SQL Managed Instance.
    EndedOn string
    Database migration end time.
    MigrationFailureError Pulumi.AzureNative.DataMigration.Inputs.ErrorInfoResponse
    Error details in case of migration failure.
    MigrationStatus string
    Migration status.
    MigrationStatusDetails Pulumi.AzureNative.DataMigration.Inputs.MigrationStatusDetailsResponse
    Detailed migration status. Not included by default.
    ProvisioningState string
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    SourceServerName string
    Name of the source sql server.
    StartedOn string
    Database migration start time.
    BackupConfiguration Pulumi.AzureNative.DataMigration.Inputs.BackupConfigurationResponse
    Backup configuration info.
    MigrationOperationId string
    ID for current migration operation.
    MigrationService string
    Resource Id of the Migration Service.
    OfflineConfiguration Pulumi.AzureNative.DataMigration.Inputs.OfflineConfigurationResponse
    Offline configuration.
    ProvisioningError string
    Error message for migration provisioning failure, if any.
    Scope string
    Resource Id of the target resource.
    SourceDatabaseName string
    Name of the source database.
    SourceSqlConnection Pulumi.AzureNative.DataMigration.Inputs.SqlConnectionInformationResponse
    Source SQL Server connection details.
    TargetDatabaseCollation string
    Database collation to be used for the target database.
    EndedOn string
    Database migration end time.
    MigrationFailureError ErrorInfoResponse
    Error details in case of migration failure.
    MigrationStatus string
    Migration status.
    MigrationStatusDetails MigrationStatusDetailsResponse
    Detailed migration status. Not included by default.
    ProvisioningState string
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    SourceServerName string
    Name of the source sql server.
    StartedOn string
    Database migration start time.
    BackupConfiguration BackupConfigurationResponse
    Backup configuration info.
    MigrationOperationId string
    ID for current migration operation.
    MigrationService string
    Resource Id of the Migration Service.
    OfflineConfiguration OfflineConfigurationResponse
    Offline configuration.
    ProvisioningError string
    Error message for migration provisioning failure, if any.
    Scope string
    Resource Id of the target resource.
    SourceDatabaseName string
    Name of the source database.
    SourceSqlConnection SqlConnectionInformationResponse
    Source SQL Server connection details.
    TargetDatabaseCollation string
    Database collation to be used for the target database.
    endedOn String
    Database migration end time.
    migrationFailureError ErrorInfoResponse
    Error details in case of migration failure.
    migrationStatus String
    Migration status.
    migrationStatusDetails MigrationStatusDetailsResponse
    Detailed migration status. Not included by default.
    provisioningState String
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    sourceServerName String
    Name of the source sql server.
    startedOn String
    Database migration start time.
    backupConfiguration BackupConfigurationResponse
    Backup configuration info.
    migrationOperationId String
    ID for current migration operation.
    migrationService String
    Resource Id of the Migration Service.
    offlineConfiguration OfflineConfigurationResponse
    Offline configuration.
    provisioningError String
    Error message for migration provisioning failure, if any.
    scope String
    Resource Id of the target resource.
    sourceDatabaseName String
    Name of the source database.
    sourceSqlConnection SqlConnectionInformationResponse
    Source SQL Server connection details.
    targetDatabaseCollation String
    Database collation to be used for the target database.
    endedOn string
    Database migration end time.
    migrationFailureError ErrorInfoResponse
    Error details in case of migration failure.
    migrationStatus string
    Migration status.
    migrationStatusDetails MigrationStatusDetailsResponse
    Detailed migration status. Not included by default.
    provisioningState string
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    sourceServerName string
    Name of the source sql server.
    startedOn string
    Database migration start time.
    backupConfiguration BackupConfigurationResponse
    Backup configuration info.
    migrationOperationId string
    ID for current migration operation.
    migrationService string
    Resource Id of the Migration Service.
    offlineConfiguration OfflineConfigurationResponse
    Offline configuration.
    provisioningError string
    Error message for migration provisioning failure, if any.
    scope string
    Resource Id of the target resource.
    sourceDatabaseName string
    Name of the source database.
    sourceSqlConnection SqlConnectionInformationResponse
    Source SQL Server connection details.
    targetDatabaseCollation string
    Database collation to be used for the target database.
    ended_on str
    Database migration end time.
    migration_failure_error ErrorInfoResponse
    Error details in case of migration failure.
    migration_status str
    Migration status.
    migration_status_details MigrationStatusDetailsResponse
    Detailed migration status. Not included by default.
    provisioning_state str
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    source_server_name str
    Name of the source sql server.
    started_on str
    Database migration start time.
    backup_configuration BackupConfigurationResponse
    Backup configuration info.
    migration_operation_id str
    ID for current migration operation.
    migration_service str
    Resource Id of the Migration Service.
    offline_configuration OfflineConfigurationResponse
    Offline configuration.
    provisioning_error str
    Error message for migration provisioning failure, if any.
    scope str
    Resource Id of the target resource.
    source_database_name str
    Name of the source database.
    source_sql_connection SqlConnectionInformationResponse
    Source SQL Server connection details.
    target_database_collation str
    Database collation to be used for the target database.
    endedOn String
    Database migration end time.
    migrationFailureError Property Map
    Error details in case of migration failure.
    migrationStatus String
    Migration status.
    migrationStatusDetails Property Map
    Detailed migration status. Not included by default.
    provisioningState String
    Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
    sourceServerName String
    Name of the source sql server.
    startedOn String
    Database migration start time.
    backupConfiguration Property Map
    Backup configuration info.
    migrationOperationId String
    ID for current migration operation.
    migrationService String
    Resource Id of the Migration Service.
    offlineConfiguration Property Map
    Offline configuration.
    provisioningError String
    Error message for migration provisioning failure, if any.
    scope String
    Resource Id of the target resource.
    sourceDatabaseName String
    Name of the source database.
    sourceSqlConnection Property Map
    Source SQL Server connection details.
    targetDatabaseCollation String
    Database collation to be used for the target database.

    ErrorInfoResponse, ErrorInfoResponseArgs

    Error details
    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.

    ManagedServiceIdentity, ManagedServiceIdentityArgs

    Managed service identity (system assigned and/or user assigned identities)
    Type string | Pulumi.AzureNative.DataMigration.ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities List<string>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Type string | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities []string
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    type String | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities List<String>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    type string | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities string[]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    type str | ManagedServiceIdentityType
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    user_assigned_identities Sequence[str]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    type String | "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned"
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities List<String>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

    ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs

    Managed service identity (system assigned and/or user assigned identities)
    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    Type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DataMigration.Inputs.UserAssignedIdentityResponse>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    Type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities map[string]UserAssignedIdentityResponse
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type String
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities Map<String,UserAssignedIdentityResponse>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    principalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    principal_id str
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenant_id str
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type str
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type String
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities Map<Property Map>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

    ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs

    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    ManagedServiceIdentityTypeNone
    None
    ManagedServiceIdentityTypeSystemAssigned
    SystemAssigned
    ManagedServiceIdentityTypeUserAssigned
    UserAssigned
    ManagedServiceIdentityType_SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    NONE
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned,UserAssigned
    "None"
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned,UserAssigned"
    SystemAssigned,UserAssigned

    MigrationStatusDetailsResponse, MigrationStatusDetailsResponseArgs

    Detailed status of current migration.
    ActiveBackupSets List<Pulumi.AzureNative.DataMigration.Inputs.SqlBackupSetInfoResponse>
    Backup sets that are currently active.
    BlobContainerName string
    Name of blob container.
    CompleteRestoreErrorMessage string
    Complete restore error message, if any
    CurrentRestoringFilename string
    File name that is currently being restored.
    FileUploadBlockingErrors List<string>
    File upload blocking errors, if any.
    FullBackupSetInfo Pulumi.AzureNative.DataMigration.Inputs.SqlBackupSetInfoResponse
    Details of full backup set.
    InvalidFiles List<string>
    Files that are not valid backup files.
    IsFullBackupRestored bool
    Whether full backup has been applied to the target database or not.
    LastRestoredBackupSetInfo Pulumi.AzureNative.DataMigration.Inputs.SqlBackupSetInfoResponse
    Last applied backup set information.
    LastRestoredFilename string
    Last restored file name.
    MigrationState string
    Current State of Migration.
    PendingLogBackupsCount int
    Total pending log backups.
    RestoreBlockingReason string
    Restore blocking reason, if any
    ActiveBackupSets []SqlBackupSetInfoResponse
    Backup sets that are currently active.
    BlobContainerName string
    Name of blob container.
    CompleteRestoreErrorMessage string
    Complete restore error message, if any
    CurrentRestoringFilename string
    File name that is currently being restored.
    FileUploadBlockingErrors []string
    File upload blocking errors, if any.
    FullBackupSetInfo SqlBackupSetInfoResponse
    Details of full backup set.
    InvalidFiles []string
    Files that are not valid backup files.
    IsFullBackupRestored bool
    Whether full backup has been applied to the target database or not.
    LastRestoredBackupSetInfo SqlBackupSetInfoResponse
    Last applied backup set information.
    LastRestoredFilename string
    Last restored file name.
    MigrationState string
    Current State of Migration.
    PendingLogBackupsCount int
    Total pending log backups.
    RestoreBlockingReason string
    Restore blocking reason, if any
    activeBackupSets List<SqlBackupSetInfoResponse>
    Backup sets that are currently active.
    blobContainerName String
    Name of blob container.
    completeRestoreErrorMessage String
    Complete restore error message, if any
    currentRestoringFilename String
    File name that is currently being restored.
    fileUploadBlockingErrors List<String>
    File upload blocking errors, if any.
    fullBackupSetInfo SqlBackupSetInfoResponse
    Details of full backup set.
    invalidFiles List<String>
    Files that are not valid backup files.
    isFullBackupRestored Boolean
    Whether full backup has been applied to the target database or not.
    lastRestoredBackupSetInfo SqlBackupSetInfoResponse
    Last applied backup set information.
    lastRestoredFilename String
    Last restored file name.
    migrationState String
    Current State of Migration.
    pendingLogBackupsCount Integer
    Total pending log backups.
    restoreBlockingReason String
    Restore blocking reason, if any
    activeBackupSets SqlBackupSetInfoResponse[]
    Backup sets that are currently active.
    blobContainerName string
    Name of blob container.
    completeRestoreErrorMessage string
    Complete restore error message, if any
    currentRestoringFilename string
    File name that is currently being restored.
    fileUploadBlockingErrors string[]
    File upload blocking errors, if any.
    fullBackupSetInfo SqlBackupSetInfoResponse
    Details of full backup set.
    invalidFiles string[]
    Files that are not valid backup files.
    isFullBackupRestored boolean
    Whether full backup has been applied to the target database or not.
    lastRestoredBackupSetInfo SqlBackupSetInfoResponse
    Last applied backup set information.
    lastRestoredFilename string
    Last restored file name.
    migrationState string
    Current State of Migration.
    pendingLogBackupsCount number
    Total pending log backups.
    restoreBlockingReason string
    Restore blocking reason, if any
    active_backup_sets Sequence[SqlBackupSetInfoResponse]
    Backup sets that are currently active.
    blob_container_name str
    Name of blob container.
    complete_restore_error_message str
    Complete restore error message, if any
    current_restoring_filename str
    File name that is currently being restored.
    file_upload_blocking_errors Sequence[str]
    File upload blocking errors, if any.
    full_backup_set_info SqlBackupSetInfoResponse
    Details of full backup set.
    invalid_files Sequence[str]
    Files that are not valid backup files.
    is_full_backup_restored bool
    Whether full backup has been applied to the target database or not.
    last_restored_backup_set_info SqlBackupSetInfoResponse
    Last applied backup set information.
    last_restored_filename str
    Last restored file name.
    migration_state str
    Current State of Migration.
    pending_log_backups_count int
    Total pending log backups.
    restore_blocking_reason str
    Restore blocking reason, if any
    activeBackupSets List<Property Map>
    Backup sets that are currently active.
    blobContainerName String
    Name of blob container.
    completeRestoreErrorMessage String
    Complete restore error message, if any
    currentRestoringFilename String
    File name that is currently being restored.
    fileUploadBlockingErrors List<String>
    File upload blocking errors, if any.
    fullBackupSetInfo Property Map
    Details of full backup set.
    invalidFiles List<String>
    Files that are not valid backup files.
    isFullBackupRestored Boolean
    Whether full backup has been applied to the target database or not.
    lastRestoredBackupSetInfo Property Map
    Last applied backup set information.
    lastRestoredFilename String
    Last restored file name.
    migrationState String
    Current State of Migration.
    pendingLogBackupsCount Number
    Total pending log backups.
    restoreBlockingReason String
    Restore blocking reason, if any

    OfflineConfiguration, OfflineConfigurationArgs

    Offline configuration
    LastBackupName string
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    Offline bool
    Offline migration
    LastBackupName string
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    Offline bool
    Offline migration
    lastBackupName String
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    offline Boolean
    Offline migration
    lastBackupName string
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    offline boolean
    Offline migration
    last_backup_name str
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    offline bool
    Offline migration
    lastBackupName String
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    offline Boolean
    Offline migration

    OfflineConfigurationResponse, OfflineConfigurationResponseArgs

    Offline configuration
    LastBackupName string
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    Offline bool
    Offline migration
    LastBackupName string
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    Offline bool
    Offline migration
    lastBackupName String
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    offline Boolean
    Offline migration
    lastBackupName string
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    offline boolean
    Offline migration
    last_backup_name str
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    offline bool
    Offline migration
    lastBackupName String
    Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.
    offline Boolean
    Offline migration

    SourceLocation, SourceLocationArgs

    Source Location details of backups.
    AzureBlob AzureBlob
    Source Azure Blob.
    FileShare SqlFileShare
    Source File share.
    azureBlob AzureBlob
    Source Azure Blob.
    fileShare SqlFileShare
    Source File share.
    azureBlob AzureBlob
    Source Azure Blob.
    fileShare SqlFileShare
    Source File share.
    azure_blob AzureBlob
    Source Azure Blob.
    file_share SqlFileShare
    Source File share.
    azureBlob Property Map
    Source Azure Blob.
    fileShare Property Map
    Source File share.

    SourceLocationResponse, SourceLocationResponseArgs

    Source Location details of backups.
    FileStorageType string
    Backup storage Type.
    AzureBlob AzureBlobResponse
    Source Azure Blob.
    FileShare SqlFileShareResponse
    Source File share.
    fileStorageType String
    Backup storage Type.
    azureBlob AzureBlobResponse
    Source Azure Blob.
    fileShare SqlFileShareResponse
    Source File share.
    fileStorageType string
    Backup storage Type.
    azureBlob AzureBlobResponse
    Source Azure Blob.
    fileShare SqlFileShareResponse
    Source File share.
    file_storage_type str
    Backup storage Type.
    azure_blob AzureBlobResponse
    Source Azure Blob.
    file_share SqlFileShareResponse
    Source File share.
    fileStorageType String
    Backup storage Type.
    azureBlob Property Map
    Source Azure Blob.
    fileShare Property Map
    Source File share.

    SqlBackupFileInfoResponse, SqlBackupFileInfoResponseArgs

    Information of backup file
    CopyDuration int
    Copy Duration in seconds
    CopyThroughput double
    Copy throughput in KBps
    DataRead double
    Bytes read
    DataWritten double
    Bytes written
    FamilySequenceNumber int
    Media family sequence number
    FileName string
    File name.
    Status string
    Status of the file. (Initial, Uploading, Uploaded, Restoring, Restored or Skipped)
    TotalSize double
    File size in bytes
    CopyDuration int
    Copy Duration in seconds
    CopyThroughput float64
    Copy throughput in KBps
    DataRead float64
    Bytes read
    DataWritten float64
    Bytes written
    FamilySequenceNumber int
    Media family sequence number
    FileName string
    File name.
    Status string
    Status of the file. (Initial, Uploading, Uploaded, Restoring, Restored or Skipped)
    TotalSize float64
    File size in bytes
    copyDuration Integer
    Copy Duration in seconds
    copyThroughput Double
    Copy throughput in KBps
    dataRead Double
    Bytes read
    dataWritten Double
    Bytes written
    familySequenceNumber Integer
    Media family sequence number
    fileName String
    File name.
    status String
    Status of the file. (Initial, Uploading, Uploaded, Restoring, Restored or Skipped)
    totalSize Double
    File size in bytes
    copyDuration number
    Copy Duration in seconds
    copyThroughput number
    Copy throughput in KBps
    dataRead number
    Bytes read
    dataWritten number
    Bytes written
    familySequenceNumber number
    Media family sequence number
    fileName string
    File name.
    status string
    Status of the file. (Initial, Uploading, Uploaded, Restoring, Restored or Skipped)
    totalSize number
    File size in bytes
    copy_duration int
    Copy Duration in seconds
    copy_throughput float
    Copy throughput in KBps
    data_read float
    Bytes read
    data_written float
    Bytes written
    family_sequence_number int
    Media family sequence number
    file_name str
    File name.
    status str
    Status of the file. (Initial, Uploading, Uploaded, Restoring, Restored or Skipped)
    total_size float
    File size in bytes
    copyDuration Number
    Copy Duration in seconds
    copyThroughput Number
    Copy throughput in KBps
    dataRead Number
    Bytes read
    dataWritten Number
    Bytes written
    familySequenceNumber Number
    Media family sequence number
    fileName String
    File name.
    status String
    Status of the file. (Initial, Uploading, Uploaded, Restoring, Restored or Skipped)
    totalSize Number
    File size in bytes

    SqlBackupSetInfoResponse, SqlBackupSetInfoResponseArgs

    Information of backup set
    BackupFinishDate string
    Backup end time.
    BackupSetId string
    Backup set id.
    BackupStartDate string
    Backup start date.
    BackupType string
    Backup type.
    FamilyCount int
    Media family count
    FirstLSN string
    First LSN of the backup set.
    HasBackupChecksums bool
    Has Backup Checksums
    IgnoreReasons List<string>
    The reasons why the backup set is ignored
    IsBackupRestored bool
    Whether this backup set has been restored or not.
    LastLSN string
    Last LSN of the backup set.
    ListOfBackupFiles List<Pulumi.AzureNative.DataMigration.Inputs.SqlBackupFileInfoResponse>
    List of files in the backup set.
    BackupFinishDate string
    Backup end time.
    BackupSetId string
    Backup set id.
    BackupStartDate string
    Backup start date.
    BackupType string
    Backup type.
    FamilyCount int
    Media family count
    FirstLSN string
    First LSN of the backup set.
    HasBackupChecksums bool
    Has Backup Checksums
    IgnoreReasons []string
    The reasons why the backup set is ignored
    IsBackupRestored bool
    Whether this backup set has been restored or not.
    LastLSN string
    Last LSN of the backup set.
    ListOfBackupFiles []SqlBackupFileInfoResponse
    List of files in the backup set.
    backupFinishDate String
    Backup end time.
    backupSetId String
    Backup set id.
    backupStartDate String
    Backup start date.
    backupType String
    Backup type.
    familyCount Integer
    Media family count
    firstLSN String
    First LSN of the backup set.
    hasBackupChecksums Boolean
    Has Backup Checksums
    ignoreReasons List<String>
    The reasons why the backup set is ignored
    isBackupRestored Boolean
    Whether this backup set has been restored or not.
    lastLSN String
    Last LSN of the backup set.
    listOfBackupFiles List<SqlBackupFileInfoResponse>
    List of files in the backup set.
    backupFinishDate string
    Backup end time.
    backupSetId string
    Backup set id.
    backupStartDate string
    Backup start date.
    backupType string
    Backup type.
    familyCount number
    Media family count
    firstLSN string
    First LSN of the backup set.
    hasBackupChecksums boolean
    Has Backup Checksums
    ignoreReasons string[]
    The reasons why the backup set is ignored
    isBackupRestored boolean
    Whether this backup set has been restored or not.
    lastLSN string
    Last LSN of the backup set.
    listOfBackupFiles SqlBackupFileInfoResponse[]
    List of files in the backup set.
    backup_finish_date str
    Backup end time.
    backup_set_id str
    Backup set id.
    backup_start_date str
    Backup start date.
    backup_type str
    Backup type.
    family_count int
    Media family count
    first_lsn str
    First LSN of the backup set.
    has_backup_checksums bool
    Has Backup Checksums
    ignore_reasons Sequence[str]
    The reasons why the backup set is ignored
    is_backup_restored bool
    Whether this backup set has been restored or not.
    last_lsn str
    Last LSN of the backup set.
    list_of_backup_files Sequence[SqlBackupFileInfoResponse]
    List of files in the backup set.
    backupFinishDate String
    Backup end time.
    backupSetId String
    Backup set id.
    backupStartDate String
    Backup start date.
    backupType String
    Backup type.
    familyCount Number
    Media family count
    firstLSN String
    First LSN of the backup set.
    hasBackupChecksums Boolean
    Has Backup Checksums
    ignoreReasons List<String>
    The reasons why the backup set is ignored
    isBackupRestored Boolean
    Whether this backup set has been restored or not.
    lastLSN String
    Last LSN of the backup set.
    listOfBackupFiles List<Property Map>
    List of files in the backup set.

    SqlConnectionInformation, SqlConnectionInformationArgs

    Source SQL Connection
    Authentication string
    Authentication type.
    DataSource string
    Data source.
    EncryptConnection bool
    Whether to encrypt connection or not.
    Password string
    Password to connect to source SQL.
    TrustServerCertificate bool
    Whether to trust server certificate or not.
    UserName string
    User name to connect to source SQL.
    Authentication string
    Authentication type.
    DataSource string
    Data source.
    EncryptConnection bool
    Whether to encrypt connection or not.
    Password string
    Password to connect to source SQL.
    TrustServerCertificate bool
    Whether to trust server certificate or not.
    UserName string
    User name to connect to source SQL.
    authentication String
    Authentication type.
    dataSource String
    Data source.
    encryptConnection Boolean
    Whether to encrypt connection or not.
    password String
    Password to connect to source SQL.
    trustServerCertificate Boolean
    Whether to trust server certificate or not.
    userName String
    User name to connect to source SQL.
    authentication string
    Authentication type.
    dataSource string
    Data source.
    encryptConnection boolean
    Whether to encrypt connection or not.
    password string
    Password to connect to source SQL.
    trustServerCertificate boolean
    Whether to trust server certificate or not.
    userName string
    User name to connect to source SQL.
    authentication str
    Authentication type.
    data_source str
    Data source.
    encrypt_connection bool
    Whether to encrypt connection or not.
    password str
    Password to connect to source SQL.
    trust_server_certificate bool
    Whether to trust server certificate or not.
    user_name str
    User name to connect to source SQL.
    authentication String
    Authentication type.
    dataSource String
    Data source.
    encryptConnection Boolean
    Whether to encrypt connection or not.
    password String
    Password to connect to source SQL.
    trustServerCertificate Boolean
    Whether to trust server certificate or not.
    userName String
    User name to connect to source SQL.

    SqlConnectionInformationResponse, SqlConnectionInformationResponseArgs

    Source SQL Connection
    Authentication string
    Authentication type.
    DataSource string
    Data source.
    EncryptConnection bool
    Whether to encrypt connection or not.
    Password string
    Password to connect to source SQL.
    TrustServerCertificate bool
    Whether to trust server certificate or not.
    UserName string
    User name to connect to source SQL.
    Authentication string
    Authentication type.
    DataSource string
    Data source.
    EncryptConnection bool
    Whether to encrypt connection or not.
    Password string
    Password to connect to source SQL.
    TrustServerCertificate bool
    Whether to trust server certificate or not.
    UserName string
    User name to connect to source SQL.
    authentication String
    Authentication type.
    dataSource String
    Data source.
    encryptConnection Boolean
    Whether to encrypt connection or not.
    password String
    Password to connect to source SQL.
    trustServerCertificate Boolean
    Whether to trust server certificate or not.
    userName String
    User name to connect to source SQL.
    authentication string
    Authentication type.
    dataSource string
    Data source.
    encryptConnection boolean
    Whether to encrypt connection or not.
    password string
    Password to connect to source SQL.
    trustServerCertificate boolean
    Whether to trust server certificate or not.
    userName string
    User name to connect to source SQL.
    authentication str
    Authentication type.
    data_source str
    Data source.
    encrypt_connection bool
    Whether to encrypt connection or not.
    password str
    Password to connect to source SQL.
    trust_server_certificate bool
    Whether to trust server certificate or not.
    user_name str
    User name to connect to source SQL.
    authentication String
    Authentication type.
    dataSource String
    Data source.
    encryptConnection Boolean
    Whether to encrypt connection or not.
    password String
    Password to connect to source SQL.
    trustServerCertificate Boolean
    Whether to trust server certificate or not.
    userName String
    User name to connect to source SQL.

    SqlFileShare, SqlFileShareArgs

    File share
    Password string
    Password for username to access file share location.
    Path string
    Location as SMB share or local drive where backups are placed.
    Username string
    Username to access the file share location for backups.
    Password string
    Password for username to access file share location.
    Path string
    Location as SMB share or local drive where backups are placed.
    Username string
    Username to access the file share location for backups.
    password String
    Password for username to access file share location.
    path String
    Location as SMB share or local drive where backups are placed.
    username String
    Username to access the file share location for backups.
    password string
    Password for username to access file share location.
    path string
    Location as SMB share or local drive where backups are placed.
    username string
    Username to access the file share location for backups.
    password str
    Password for username to access file share location.
    path str
    Location as SMB share or local drive where backups are placed.
    username str
    Username to access the file share location for backups.
    password String
    Password for username to access file share location.
    path String
    Location as SMB share or local drive where backups are placed.
    username String
    Username to access the file share location for backups.

    SqlFileShareResponse, SqlFileShareResponseArgs

    File share
    Path string
    Location as SMB share or local drive where backups are placed.
    Username string
    Username to access the file share location for backups.
    Path string
    Location as SMB share or local drive where backups are placed.
    Username string
    Username to access the file share location for backups.
    path String
    Location as SMB share or local drive where backups are placed.
    username String
    Username to access the file share location for backups.
    path string
    Location as SMB share or local drive where backups are placed.
    username string
    Username to access the file share location for backups.
    path str
    Location as SMB share or local drive where backups are placed.
    username str
    Username to access the file share location for backups.
    path String
    Location as SMB share or local drive where backups are placed.
    username String
    Username to access the file share location for backups.

    SystemDataResponse, SystemDataResponseArgs

    TargetLocation, TargetLocationArgs

    Target Location details for optional copy of backups
    AccountKey string
    Storage Account Key.
    StorageAccountResourceId string
    Resource Id of the storage account copying backups.
    AccountKey string
    Storage Account Key.
    StorageAccountResourceId string
    Resource Id of the storage account copying backups.
    accountKey String
    Storage Account Key.
    storageAccountResourceId String
    Resource Id of the storage account copying backups.
    accountKey string
    Storage Account Key.
    storageAccountResourceId string
    Resource Id of the storage account copying backups.
    account_key str
    Storage Account Key.
    storage_account_resource_id str
    Resource Id of the storage account copying backups.
    accountKey String
    Storage Account Key.
    storageAccountResourceId String
    Resource Id of the storage account copying backups.

    TargetLocationResponse, TargetLocationResponseArgs

    Target Location details for optional copy of backups
    AccountKey string
    Storage Account Key.
    StorageAccountResourceId string
    Resource Id of the storage account copying backups.
    AccountKey string
    Storage Account Key.
    StorageAccountResourceId string
    Resource Id of the storage account copying backups.
    accountKey String
    Storage Account Key.
    storageAccountResourceId String
    Resource Id of the storage account copying backups.
    accountKey string
    Storage Account Key.
    storageAccountResourceId string
    Resource Id of the storage account copying backups.
    account_key str
    Storage Account Key.
    storage_account_resource_id str
    Resource Id of the storage account copying backups.
    accountKey String
    Storage Account Key.
    storageAccountResourceId String
    Resource Id of the storage account copying backups.

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

    User assigned identity properties
    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.
    clientId string
    The client ID of the assigned identity.
    principalId string
    The principal ID of the assigned identity.
    client_id str
    The client ID of the assigned identity.
    principal_id str
    The principal ID of the assigned identity.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.

    Import

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

    $ pulumi import azure-native:datamigration:DatabaseMigrationsSqlMi db1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName} 
    

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate