1. Packages
  2. Azure Native
  3. API Docs
  4. datamigration
  5. DatabaseMigrationsSqlDb
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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.datamigration.DatabaseMigrationsSqlDb

Explore with Pulumi AI

Database Migration Resource for SQL Database.

Uses Azure REST API version 2023-07-15-preview. In version 2.x of the Azure Native provider, it used API version 2022-03-30-preview.

Other available API versions: 2022-03-30-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 databaseMigrationsSqlDb = new AzureNative.DataMigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDb", new()
    {
        Properties = new AzureNative.DataMigration.Inputs.DatabaseMigrationPropertiesSqlDbArgs
        {
            Kind = "SqlDb",
            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/servers/sqldbinstance",
            SourceDatabaseName = "aaa",
            SourceSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
            {
                Authentication = "WindowsAuthentication",
                DataSource = "aaa",
                EncryptConnection = true,
                Password = "placeholder",
                TrustServerCertificate = true,
                UserName = "bbb",
            },
            TableList = new[]
            {
                "[Schema1].[TableName1]",
                "[Schema2].[TableName2]",
            },
            TargetSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
            {
                Authentication = "SqlAuthentication",
                DataSource = "sqldbinstance",
                EncryptConnection = true,
                Password = "placeholder",
                TrustServerCertificate = true,
                UserName = "bbb",
            },
        },
        ResourceGroupName = "testrg",
        SqlDbInstanceName = "sqldbinstance",
        TargetDbName = "db1",
    });

});
Copy
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.NewDatabaseMigrationsSqlDb(ctx, "databaseMigrationsSqlDb", &datamigration.DatabaseMigrationsSqlDbArgs{
			Properties: &datamigration.DatabaseMigrationPropertiesSqlDbArgs{
				Kind:               pulumi.String("SqlDb"),
				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/servers/sqldbinstance"),
				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"),
				},
				TableList: pulumi.StringArray{
					pulumi.String("[Schema1].[TableName1]"),
					pulumi.String("[Schema2].[TableName2]"),
				},
				TargetSqlConnection: &datamigration.SqlConnectionInformationArgs{
					Authentication:         pulumi.String("SqlAuthentication"),
					DataSource:             pulumi.String("sqldbinstance"),
					EncryptConnection:      pulumi.Bool(true),
					Password:               pulumi.String("placeholder"),
					TrustServerCertificate: pulumi.Bool(true),
					UserName:               pulumi.String("bbb"),
				},
			},
			ResourceGroupName: pulumi.String("testrg"),
			SqlDbInstanceName: pulumi.String("sqldbinstance"),
			TargetDbName:      pulumi.String("db1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datamigration.DatabaseMigrationsSqlDb;
import com.pulumi.azurenative.datamigration.DatabaseMigrationsSqlDbArgs;
import com.pulumi.azurenative.datamigration.inputs.DatabaseMigrationPropertiesSqlDbArgs;
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 databaseMigrationsSqlDb = new DatabaseMigrationsSqlDb("databaseMigrationsSqlDb", DatabaseMigrationsSqlDbArgs.builder()
            .properties(DatabaseMigrationPropertiesSqlDbArgs.builder()
                .kind("SqlDb")
                .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/servers/sqldbinstance")
                .sourceDatabaseName("aaa")
                .sourceSqlConnection(SqlConnectionInformationArgs.builder()
                    .authentication("WindowsAuthentication")
                    .dataSource("aaa")
                    .encryptConnection(true)
                    .password("placeholder")
                    .trustServerCertificate(true)
                    .userName("bbb")
                    .build())
                .tableList(                
                    "[Schema1].[TableName1]",
                    "[Schema2].[TableName2]")
                .targetSqlConnection(SqlConnectionInformationArgs.builder()
                    .authentication("SqlAuthentication")
                    .dataSource("sqldbinstance")
                    .encryptConnection(true)
                    .password("placeholder")
                    .trustServerCertificate(true)
                    .userName("bbb")
                    .build())
                .build())
            .resourceGroupName("testrg")
            .sqlDbInstanceName("sqldbinstance")
            .targetDbName("db1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const databaseMigrationsSqlDb = new azure_native.datamigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDb", {
    properties: {
        kind: "SqlDb",
        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/servers/sqldbinstance",
        sourceDatabaseName: "aaa",
        sourceSqlConnection: {
            authentication: "WindowsAuthentication",
            dataSource: "aaa",
            encryptConnection: true,
            password: "placeholder",
            trustServerCertificate: true,
            userName: "bbb",
        },
        tableList: [
            "[Schema1].[TableName1]",
            "[Schema2].[TableName2]",
        ],
        targetSqlConnection: {
            authentication: "SqlAuthentication",
            dataSource: "sqldbinstance",
            encryptConnection: true,
            password: "placeholder",
            trustServerCertificate: true,
            userName: "bbb",
        },
    },
    resourceGroupName: "testrg",
    sqlDbInstanceName: "sqldbinstance",
    targetDbName: "db1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

database_migrations_sql_db = azure_native.datamigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDb",
    properties={
        "kind": "SqlDb",
        "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/servers/sqldbinstance",
        "source_database_name": "aaa",
        "source_sql_connection": {
            "authentication": "WindowsAuthentication",
            "data_source": "aaa",
            "encrypt_connection": True,
            "password": "placeholder",
            "trust_server_certificate": True,
            "user_name": "bbb",
        },
        "table_list": [
            "[Schema1].[TableName1]",
            "[Schema2].[TableName2]",
        ],
        "target_sql_connection": {
            "authentication": "SqlAuthentication",
            "data_source": "sqldbinstance",
            "encrypt_connection": True,
            "password": "placeholder",
            "trust_server_certificate": True,
            "user_name": "bbb",
        },
    },
    resource_group_name="testrg",
    sql_db_instance_name="sqldbinstance",
    target_db_name="db1")
Copy
resources:
  databaseMigrationsSqlDb:
    type: azure-native:datamigration:DatabaseMigrationsSqlDb
    properties:
      properties:
        kind: SqlDb
        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/servers/sqldbinstance
        sourceDatabaseName: aaa
        sourceSqlConnection:
          authentication: WindowsAuthentication
          dataSource: aaa
          encryptConnection: true
          password: placeholder
          trustServerCertificate: true
          userName: bbb
        tableList:
          - '[Schema1].[TableName1]'
          - '[Schema2].[TableName2]'
        targetSqlConnection:
          authentication: SqlAuthentication
          dataSource: sqldbinstance
          encryptConnection: true
          password: placeholder
          trustServerCertificate: true
          userName: bbb
      resourceGroupName: testrg
      sqlDbInstanceName: sqldbinstance
      targetDbName: db1
Copy

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 databaseMigrationsSqlDb = new AzureNative.DataMigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDb", new()
    {
        Properties = new AzureNative.DataMigration.Inputs.DatabaseMigrationPropertiesSqlDbArgs
        {
            Kind = "SqlDb",
            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/servers/sqldbinstance",
            SourceDatabaseName = "aaa",
            SourceSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
            {
                Authentication = "WindowsAuthentication",
                DataSource = "aaa",
                EncryptConnection = true,
                Password = "placeholder",
                TrustServerCertificate = true,
                UserName = "bbb",
            },
            TargetSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
            {
                Authentication = "SqlAuthentication",
                DataSource = "sqldbinstance",
                EncryptConnection = true,
                Password = "placeholder",
                TrustServerCertificate = true,
                UserName = "bbb",
            },
        },
        ResourceGroupName = "testrg",
        SqlDbInstanceName = "sqldbinstance",
        TargetDbName = "db1",
    });

});
Copy
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.NewDatabaseMigrationsSqlDb(ctx, "databaseMigrationsSqlDb", &datamigration.DatabaseMigrationsSqlDbArgs{
			Properties: &datamigration.DatabaseMigrationPropertiesSqlDbArgs{
				Kind:               pulumi.String("SqlDb"),
				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/servers/sqldbinstance"),
				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"),
				},
				TargetSqlConnection: &datamigration.SqlConnectionInformationArgs{
					Authentication:         pulumi.String("SqlAuthentication"),
					DataSource:             pulumi.String("sqldbinstance"),
					EncryptConnection:      pulumi.Bool(true),
					Password:               pulumi.String("placeholder"),
					TrustServerCertificate: pulumi.Bool(true),
					UserName:               pulumi.String("bbb"),
				},
			},
			ResourceGroupName: pulumi.String("testrg"),
			SqlDbInstanceName: pulumi.String("sqldbinstance"),
			TargetDbName:      pulumi.String("db1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datamigration.DatabaseMigrationsSqlDb;
import com.pulumi.azurenative.datamigration.DatabaseMigrationsSqlDbArgs;
import com.pulumi.azurenative.datamigration.inputs.DatabaseMigrationPropertiesSqlDbArgs;
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 databaseMigrationsSqlDb = new DatabaseMigrationsSqlDb("databaseMigrationsSqlDb", DatabaseMigrationsSqlDbArgs.builder()
            .properties(DatabaseMigrationPropertiesSqlDbArgs.builder()
                .kind("SqlDb")
                .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/servers/sqldbinstance")
                .sourceDatabaseName("aaa")
                .sourceSqlConnection(SqlConnectionInformationArgs.builder()
                    .authentication("WindowsAuthentication")
                    .dataSource("aaa")
                    .encryptConnection(true)
                    .password("placeholder")
                    .trustServerCertificate(true)
                    .userName("bbb")
                    .build())
                .targetSqlConnection(SqlConnectionInformationArgs.builder()
                    .authentication("SqlAuthentication")
                    .dataSource("sqldbinstance")
                    .encryptConnection(true)
                    .password("placeholder")
                    .trustServerCertificate(true)
                    .userName("bbb")
                    .build())
                .build())
            .resourceGroupName("testrg")
            .sqlDbInstanceName("sqldbinstance")
            .targetDbName("db1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const databaseMigrationsSqlDb = new azure_native.datamigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDb", {
    properties: {
        kind: "SqlDb",
        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/servers/sqldbinstance",
        sourceDatabaseName: "aaa",
        sourceSqlConnection: {
            authentication: "WindowsAuthentication",
            dataSource: "aaa",
            encryptConnection: true,
            password: "placeholder",
            trustServerCertificate: true,
            userName: "bbb",
        },
        targetSqlConnection: {
            authentication: "SqlAuthentication",
            dataSource: "sqldbinstance",
            encryptConnection: true,
            password: "placeholder",
            trustServerCertificate: true,
            userName: "bbb",
        },
    },
    resourceGroupName: "testrg",
    sqlDbInstanceName: "sqldbinstance",
    targetDbName: "db1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

database_migrations_sql_db = azure_native.datamigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDb",
    properties={
        "kind": "SqlDb",
        "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/servers/sqldbinstance",
        "source_database_name": "aaa",
        "source_sql_connection": {
            "authentication": "WindowsAuthentication",
            "data_source": "aaa",
            "encrypt_connection": True,
            "password": "placeholder",
            "trust_server_certificate": True,
            "user_name": "bbb",
        },
        "target_sql_connection": {
            "authentication": "SqlAuthentication",
            "data_source": "sqldbinstance",
            "encrypt_connection": True,
            "password": "placeholder",
            "trust_server_certificate": True,
            "user_name": "bbb",
        },
    },
    resource_group_name="testrg",
    sql_db_instance_name="sqldbinstance",
    target_db_name="db1")
Copy
resources:
  databaseMigrationsSqlDb:
    type: azure-native:datamigration:DatabaseMigrationsSqlDb
    properties:
      properties:
        kind: SqlDb
        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/servers/sqldbinstance
        sourceDatabaseName: aaa
        sourceSqlConnection:
          authentication: WindowsAuthentication
          dataSource: aaa
          encryptConnection: true
          password: placeholder
          trustServerCertificate: true
          userName: bbb
        targetSqlConnection:
          authentication: SqlAuthentication
          dataSource: sqldbinstance
          encryptConnection: true
          password: placeholder
          trustServerCertificate: true
          userName: bbb
      resourceGroupName: testrg
      sqlDbInstanceName: sqldbinstance
      targetDbName: db1
Copy

Create DatabaseMigrationsSqlDb Resource

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

Constructor syntax

new DatabaseMigrationsSqlDb(name: string, args: DatabaseMigrationsSqlDbArgs, opts?: CustomResourceOptions);
@overload
def DatabaseMigrationsSqlDb(resource_name: str,
                            args: DatabaseMigrationsSqlDbArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def DatabaseMigrationsSqlDb(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            resource_group_name: Optional[str] = None,
                            sql_db_instance_name: Optional[str] = None,
                            properties: Optional[DatabaseMigrationPropertiesSqlDbArgs] = None,
                            target_db_name: Optional[str] = None)
func NewDatabaseMigrationsSqlDb(ctx *Context, name string, args DatabaseMigrationsSqlDbArgs, opts ...ResourceOption) (*DatabaseMigrationsSqlDb, error)
public DatabaseMigrationsSqlDb(string name, DatabaseMigrationsSqlDbArgs args, CustomResourceOptions? opts = null)
public DatabaseMigrationsSqlDb(String name, DatabaseMigrationsSqlDbArgs args)
public DatabaseMigrationsSqlDb(String name, DatabaseMigrationsSqlDbArgs args, CustomResourceOptions options)
type: azure-native:datamigration:DatabaseMigrationsSqlDb
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DatabaseMigrationsSqlDbArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DatabaseMigrationsSqlDbArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DatabaseMigrationsSqlDbArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DatabaseMigrationsSqlDbArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DatabaseMigrationsSqlDbArgs
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 databaseMigrationsSqlDbResource = new AzureNative.DataMigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDbResource", new()
{
    ResourceGroupName = "string",
    SqlDbInstanceName = "string",
    Properties = new AzureNative.DataMigration.Inputs.DatabaseMigrationPropertiesSqlDbArgs
    {
        Kind = "SqlDb",
        MigrationOperationId = "string",
        MigrationService = "string",
        ProvisioningError = "string",
        Scope = "string",
        SourceDatabaseName = "string",
        SourceSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
        {
            Authentication = "string",
            DataSource = "string",
            EncryptConnection = false,
            Password = "string",
            TrustServerCertificate = false,
            UserName = "string",
        },
        TableList = new[]
        {
            "string",
        },
        TargetDatabaseCollation = "string",
        TargetSqlConnection = new AzureNative.DataMigration.Inputs.SqlConnectionInformationArgs
        {
            Authentication = "string",
            DataSource = "string",
            EncryptConnection = false,
            Password = "string",
            TrustServerCertificate = false,
            UserName = "string",
        },
    },
    TargetDbName = "string",
});
Copy
example, err := datamigration.NewDatabaseMigrationsSqlDb(ctx, "databaseMigrationsSqlDbResource", &datamigration.DatabaseMigrationsSqlDbArgs{
	ResourceGroupName: pulumi.String("string"),
	SqlDbInstanceName: pulumi.String("string"),
	Properties: &datamigration.DatabaseMigrationPropertiesSqlDbArgs{
		Kind:                 pulumi.String("SqlDb"),
		MigrationOperationId: pulumi.String("string"),
		MigrationService:     pulumi.String("string"),
		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"),
		},
		TableList: pulumi.StringArray{
			pulumi.String("string"),
		},
		TargetDatabaseCollation: pulumi.String("string"),
		TargetSqlConnection: &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"),
		},
	},
	TargetDbName: pulumi.String("string"),
})
Copy
var databaseMigrationsSqlDbResource = new DatabaseMigrationsSqlDb("databaseMigrationsSqlDbResource", DatabaseMigrationsSqlDbArgs.builder()
    .resourceGroupName("string")
    .sqlDbInstanceName("string")
    .properties(DatabaseMigrationPropertiesSqlDbArgs.builder()
        .kind("SqlDb")
        .migrationOperationId("string")
        .migrationService("string")
        .provisioningError("string")
        .scope("string")
        .sourceDatabaseName("string")
        .sourceSqlConnection(SqlConnectionInformationArgs.builder()
            .authentication("string")
            .dataSource("string")
            .encryptConnection(false)
            .password("string")
            .trustServerCertificate(false)
            .userName("string")
            .build())
        .tableList("string")
        .targetDatabaseCollation("string")
        .targetSqlConnection(SqlConnectionInformationArgs.builder()
            .authentication("string")
            .dataSource("string")
            .encryptConnection(false)
            .password("string")
            .trustServerCertificate(false)
            .userName("string")
            .build())
        .build())
    .targetDbName("string")
    .build());
Copy
database_migrations_sql_db_resource = azure_native.datamigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDbResource",
    resource_group_name="string",
    sql_db_instance_name="string",
    properties={
        "kind": "SqlDb",
        "migration_operation_id": "string",
        "migration_service": "string",
        "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",
        },
        "table_list": ["string"],
        "target_database_collation": "string",
        "target_sql_connection": {
            "authentication": "string",
            "data_source": "string",
            "encrypt_connection": False,
            "password": "string",
            "trust_server_certificate": False,
            "user_name": "string",
        },
    },
    target_db_name="string")
Copy
const databaseMigrationsSqlDbResource = new azure_native.datamigration.DatabaseMigrationsSqlDb("databaseMigrationsSqlDbResource", {
    resourceGroupName: "string",
    sqlDbInstanceName: "string",
    properties: {
        kind: "SqlDb",
        migrationOperationId: "string",
        migrationService: "string",
        provisioningError: "string",
        scope: "string",
        sourceDatabaseName: "string",
        sourceSqlConnection: {
            authentication: "string",
            dataSource: "string",
            encryptConnection: false,
            password: "string",
            trustServerCertificate: false,
            userName: "string",
        },
        tableList: ["string"],
        targetDatabaseCollation: "string",
        targetSqlConnection: {
            authentication: "string",
            dataSource: "string",
            encryptConnection: false,
            password: "string",
            trustServerCertificate: false,
            userName: "string",
        },
    },
    targetDbName: "string",
});
Copy
type: azure-native:datamigration:DatabaseMigrationsSqlDb
properties:
    properties:
        kind: SqlDb
        migrationOperationId: string
        migrationService: string
        provisioningError: string
        scope: string
        sourceDatabaseName: string
        sourceSqlConnection:
            authentication: string
            dataSource: string
            encryptConnection: false
            password: string
            trustServerCertificate: false
            userName: string
        tableList:
            - string
        targetDatabaseCollation: string
        targetSqlConnection:
            authentication: string
            dataSource: string
            encryptConnection: false
            password: string
            trustServerCertificate: false
            userName: string
    resourceGroupName: string
    sqlDbInstanceName: string
    targetDbName: string
Copy

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

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
SqlDbInstanceName
This property is required.
Changes to this property will trigger replacement.
string
Properties Pulumi.AzureNative.DataMigration.Inputs.DatabaseMigrationPropertiesSqlDb
Database Migration Resource properties for SQL database.
TargetDbName Changes to this property will trigger replacement. string
The name of the target database.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
SqlDbInstanceName
This property is required.
Changes to this property will trigger replacement.
string
Properties DatabaseMigrationPropertiesSqlDbArgs
Database Migration Resource properties for SQL database.
TargetDbName Changes to this property will trigger replacement. string
The name of the target database.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName
This property is required.
Changes to this property will trigger replacement.
String
properties DatabaseMigrationPropertiesSqlDb
Database Migration Resource properties for SQL database.
targetDbName Changes to this property will trigger replacement. String
The name of the target database.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName
This property is required.
Changes to this property will trigger replacement.
string
properties DatabaseMigrationPropertiesSqlDb
Database Migration Resource properties for SQL database.
targetDbName Changes to this property will trigger replacement. string
The name of the target database.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sql_db_instance_name
This property is required.
Changes to this property will trigger replacement.
str
properties DatabaseMigrationPropertiesSqlDbArgs
Database Migration Resource properties for SQL database.
target_db_name Changes to this property will trigger replacement. str
The name of the target database.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName
This property is required.
Changes to this property will trigger replacement.
String
properties Property Map
Database Migration Resource properties for SQL database.
targetDbName Changes to this property will trigger replacement. String
The name of the target database.

Outputs

All input properties are implicitly available as output properties. Additionally, the DatabaseMigrationsSqlDb 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
SystemData Pulumi.AzureNative.DataMigration.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
type String

Supporting Types

CopyProgressDetailsResponse
, CopyProgressDetailsResponseArgs

CopyDuration This property is required. int
Copy Duration in seconds
CopyStart This property is required. string
Copy Start
CopyThroughput This property is required. double
Copy throughput in KBps
DataRead This property is required. double
Bytes read
DataWritten This property is required. double
Bytes written
ParallelCopyType This property is required. string
Type of parallel copy (Dynamic range, Physical partition, none).
RowsCopied This property is required. double
Rows Copied
RowsRead This property is required. double
Rows read
Status This property is required. string
Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
TableName This property is required. string
Table Name
UsedParallelCopies This property is required. int
The degree of parallelization.
CopyDuration This property is required. int
Copy Duration in seconds
CopyStart This property is required. string
Copy Start
CopyThroughput This property is required. float64
Copy throughput in KBps
DataRead This property is required. float64
Bytes read
DataWritten This property is required. float64
Bytes written
ParallelCopyType This property is required. string
Type of parallel copy (Dynamic range, Physical partition, none).
RowsCopied This property is required. float64
Rows Copied
RowsRead This property is required. float64
Rows read
Status This property is required. string
Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
TableName This property is required. string
Table Name
UsedParallelCopies This property is required. int
The degree of parallelization.
copyDuration This property is required. Integer
Copy Duration in seconds
copyStart This property is required. String
Copy Start
copyThroughput This property is required. Double
Copy throughput in KBps
dataRead This property is required. Double
Bytes read
dataWritten This property is required. Double
Bytes written
parallelCopyType This property is required. String
Type of parallel copy (Dynamic range, Physical partition, none).
rowsCopied This property is required. Double
Rows Copied
rowsRead This property is required. Double
Rows read
status This property is required. String
Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
tableName This property is required. String
Table Name
usedParallelCopies This property is required. Integer
The degree of parallelization.
copyDuration This property is required. number
Copy Duration in seconds
copyStart This property is required. string
Copy Start
copyThroughput This property is required. number
Copy throughput in KBps
dataRead This property is required. number
Bytes read
dataWritten This property is required. number
Bytes written
parallelCopyType This property is required. string
Type of parallel copy (Dynamic range, Physical partition, none).
rowsCopied This property is required. number
Rows Copied
rowsRead This property is required. number
Rows read
status This property is required. string
Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
tableName This property is required. string
Table Name
usedParallelCopies This property is required. number
The degree of parallelization.
copy_duration This property is required. int
Copy Duration in seconds
copy_start This property is required. str
Copy Start
copy_throughput This property is required. float
Copy throughput in KBps
data_read This property is required. float
Bytes read
data_written This property is required. float
Bytes written
parallel_copy_type This property is required. str
Type of parallel copy (Dynamic range, Physical partition, none).
rows_copied This property is required. float
Rows Copied
rows_read This property is required. float
Rows read
status This property is required. str
Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
table_name This property is required. str
Table Name
used_parallel_copies This property is required. int
The degree of parallelization.
copyDuration This property is required. Number
Copy Duration in seconds
copyStart This property is required. String
Copy Start
copyThroughput This property is required. Number
Copy throughput in KBps
dataRead This property is required. Number
Bytes read
dataWritten This property is required. Number
Bytes written
parallelCopyType This property is required. String
Type of parallel copy (Dynamic range, Physical partition, none).
rowsCopied This property is required. Number
Rows Copied
rowsRead This property is required. Number
Rows read
status This property is required. String
Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
tableName This property is required. String
Table Name
usedParallelCopies This property is required. Number
The degree of parallelization.

DatabaseMigrationPropertiesSqlDb
, DatabaseMigrationPropertiesSqlDbArgs

MigrationOperationId string
ID for current migration operation.
MigrationService string
Resource Id of the Migration Service.
ProvisioningError string
Error message for migration provisioning failure, if any.
Scope string
Resource Id of the target resource.
SourceDatabaseName string
Name of the source database.
SourceSqlConnection Pulumi.AzureNative.DataMigration.Inputs.SqlConnectionInformation
Source SQL Server connection details.
TableList List<string>
List of tables to copy.
TargetDatabaseCollation string
Database collation to be used for the target database.
TargetSqlConnection Pulumi.AzureNative.DataMigration.Inputs.SqlConnectionInformation
Target SQL DB connection details.
MigrationOperationId string
ID for current migration operation.
MigrationService string
Resource Id of the Migration Service.
ProvisioningError string
Error message for migration provisioning failure, if any.
Scope string
Resource Id of the target resource.
SourceDatabaseName string
Name of the source database.
SourceSqlConnection SqlConnectionInformation
Source SQL Server connection details.
TableList []string
List of tables to copy.
TargetDatabaseCollation string
Database collation to be used for the target database.
TargetSqlConnection SqlConnectionInformation
Target SQL DB connection details.
migrationOperationId String
ID for current migration operation.
migrationService String
Resource Id of the Migration Service.
provisioningError String
Error message for migration provisioning failure, if any.
scope String
Resource Id of the target resource.
sourceDatabaseName String
Name of the source database.
sourceSqlConnection SqlConnectionInformation
Source SQL Server connection details.
tableList List<String>
List of tables to copy.
targetDatabaseCollation String
Database collation to be used for the target database.
targetSqlConnection SqlConnectionInformation
Target SQL DB connection details.
migrationOperationId string
ID for current migration operation.
migrationService string
Resource Id of the Migration Service.
provisioningError string
Error message for migration provisioning failure, if any.
scope string
Resource Id of the target resource.
sourceDatabaseName string
Name of the source database.
sourceSqlConnection SqlConnectionInformation
Source SQL Server connection details.
tableList string[]
List of tables to copy.
targetDatabaseCollation string
Database collation to be used for the target database.
targetSqlConnection SqlConnectionInformation
Target SQL DB connection details.
migration_operation_id str
ID for current migration operation.
migration_service str
Resource Id of the Migration Service.
provisioning_error str
Error message for migration provisioning failure, if any.
scope str
Resource Id of the target resource.
source_database_name str
Name of the source database.
source_sql_connection SqlConnectionInformation
Source SQL Server connection details.
table_list Sequence[str]
List of tables to copy.
target_database_collation str
Database collation to be used for the target database.
target_sql_connection SqlConnectionInformation
Target SQL DB connection details.
migrationOperationId String
ID for current migration operation.
migrationService String
Resource Id of the Migration Service.
provisioningError String
Error message for migration provisioning failure, if any.
scope String
Resource Id of the target resource.
sourceDatabaseName String
Name of the source database.
sourceSqlConnection Property Map
Source SQL Server connection details.
tableList List<String>
List of tables to copy.
targetDatabaseCollation String
Database collation to be used for the target database.
targetSqlConnection Property Map
Target SQL DB connection details.

DatabaseMigrationPropertiesSqlDbResponse
, DatabaseMigrationPropertiesSqlDbResponseArgs

EndedOn This property is required. string
Database migration end time.
MigrationFailureError This property is required. Pulumi.AzureNative.DataMigration.Inputs.ErrorInfoResponse
Error details in case of migration failure.
MigrationStatus This property is required. string
Migration status.
MigrationStatusDetails This property is required. Pulumi.AzureNative.DataMigration.Inputs.SqlDbMigrationStatusDetailsResponse
Detailed migration status. Not included by default.
OfflineConfiguration This property is required. Pulumi.AzureNative.DataMigration.Inputs.SqlDbOfflineConfigurationResponse
Offline configuration.
ProvisioningState This property is required. string
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
SourceServerName This property is required. string
Name of the source sql server.
StartedOn This property is required. string
Database migration start time.
MigrationOperationId string
ID for current migration operation.
MigrationService string
Resource Id of the Migration Service.
ProvisioningError string
Error message for migration provisioning failure, if any.
Scope string
Resource Id of the target resource.
SourceDatabaseName string
Name of the source database.
SourceSqlConnection Pulumi.AzureNative.DataMigration.Inputs.SqlConnectionInformationResponse
Source SQL Server connection details.
TableList List<string>
List of tables to copy.
TargetDatabaseCollation string
Database collation to be used for the target database.
TargetSqlConnection Pulumi.AzureNative.DataMigration.Inputs.SqlConnectionInformationResponse
Target SQL DB connection details.
EndedOn This property is required. string
Database migration end time.
MigrationFailureError This property is required. ErrorInfoResponse
Error details in case of migration failure.
MigrationStatus This property is required. string
Migration status.
MigrationStatusDetails This property is required. SqlDbMigrationStatusDetailsResponse
Detailed migration status. Not included by default.
OfflineConfiguration This property is required. SqlDbOfflineConfigurationResponse
Offline configuration.
ProvisioningState This property is required. string
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
SourceServerName This property is required. string
Name of the source sql server.
StartedOn This property is required. string
Database migration start time.
MigrationOperationId string
ID for current migration operation.
MigrationService string
Resource Id of the Migration Service.
ProvisioningError string
Error message for migration provisioning failure, if any.
Scope string
Resource Id of the target resource.
SourceDatabaseName string
Name of the source database.
SourceSqlConnection SqlConnectionInformationResponse
Source SQL Server connection details.
TableList []string
List of tables to copy.
TargetDatabaseCollation string
Database collation to be used for the target database.
TargetSqlConnection SqlConnectionInformationResponse
Target SQL DB connection details.
endedOn This property is required. String
Database migration end time.
migrationFailureError This property is required. ErrorInfoResponse
Error details in case of migration failure.
migrationStatus This property is required. String
Migration status.
migrationStatusDetails This property is required. SqlDbMigrationStatusDetailsResponse
Detailed migration status. Not included by default.
offlineConfiguration This property is required. SqlDbOfflineConfigurationResponse
Offline configuration.
provisioningState This property is required. String
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
sourceServerName This property is required. String
Name of the source sql server.
startedOn This property is required. String
Database migration start time.
migrationOperationId String
ID for current migration operation.
migrationService String
Resource Id of the Migration Service.
provisioningError String
Error message for migration provisioning failure, if any.
scope String
Resource Id of the target resource.
sourceDatabaseName String
Name of the source database.
sourceSqlConnection SqlConnectionInformationResponse
Source SQL Server connection details.
tableList List<String>
List of tables to copy.
targetDatabaseCollation String
Database collation to be used for the target database.
targetSqlConnection SqlConnectionInformationResponse
Target SQL DB connection details.
endedOn This property is required. string
Database migration end time.
migrationFailureError This property is required. ErrorInfoResponse
Error details in case of migration failure.
migrationStatus This property is required. string
Migration status.
migrationStatusDetails This property is required. SqlDbMigrationStatusDetailsResponse
Detailed migration status. Not included by default.
offlineConfiguration This property is required. SqlDbOfflineConfigurationResponse
Offline configuration.
provisioningState This property is required. string
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
sourceServerName This property is required. string
Name of the source sql server.
startedOn This property is required. string
Database migration start time.
migrationOperationId string
ID for current migration operation.
migrationService string
Resource Id of the Migration Service.
provisioningError string
Error message for migration provisioning failure, if any.
scope string
Resource Id of the target resource.
sourceDatabaseName string
Name of the source database.
sourceSqlConnection SqlConnectionInformationResponse
Source SQL Server connection details.
tableList string[]
List of tables to copy.
targetDatabaseCollation string
Database collation to be used for the target database.
targetSqlConnection SqlConnectionInformationResponse
Target SQL DB connection details.
ended_on This property is required. str
Database migration end time.
migration_failure_error This property is required. ErrorInfoResponse
Error details in case of migration failure.
migration_status This property is required. str
Migration status.
migration_status_details This property is required. SqlDbMigrationStatusDetailsResponse
Detailed migration status. Not included by default.
offline_configuration This property is required. SqlDbOfflineConfigurationResponse
Offline configuration.
provisioning_state This property is required. str
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
source_server_name This property is required. str
Name of the source sql server.
started_on This property is required. str
Database migration start time.
migration_operation_id str
ID for current migration operation.
migration_service str
Resource Id of the Migration Service.
provisioning_error str
Error message for migration provisioning failure, if any.
scope str
Resource Id of the target resource.
source_database_name str
Name of the source database.
source_sql_connection SqlConnectionInformationResponse
Source SQL Server connection details.
table_list Sequence[str]
List of tables to copy.
target_database_collation str
Database collation to be used for the target database.
target_sql_connection SqlConnectionInformationResponse
Target SQL DB connection details.
endedOn This property is required. String
Database migration end time.
migrationFailureError This property is required. Property Map
Error details in case of migration failure.
migrationStatus This property is required. String
Migration status.
migrationStatusDetails This property is required. Property Map
Detailed migration status. Not included by default.
offlineConfiguration This property is required. Property Map
Offline configuration.
provisioningState This property is required. String
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
sourceServerName This property is required. String
Name of the source sql server.
startedOn This property is required. String
Database migration start time.
migrationOperationId String
ID for current migration operation.
migrationService String
Resource Id of the Migration Service.
provisioningError String
Error message for migration provisioning failure, if any.
scope String
Resource Id of the target resource.
sourceDatabaseName String
Name of the source database.
sourceSqlConnection Property Map
Source SQL Server connection details.
tableList List<String>
List of tables to copy.
targetDatabaseCollation String
Database collation to be used for the target database.
targetSqlConnection Property Map
Target SQL DB connection details.

ErrorInfoResponse
, ErrorInfoResponseArgs

Code This property is required. string
Error code.
Message This property is required. string
Error message.
Code This property is required. string
Error code.
Message This property is required. string
Error message.
code This property is required. String
Error code.
message This property is required. String
Error message.
code This property is required. string
Error code.
message This property is required. string
Error message.
code This property is required. str
Error code.
message This property is required. str
Error message.
code This property is required. String
Error code.
message This property is required. String
Error message.

SqlConnectionInformation
, SqlConnectionInformationArgs

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

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.

SqlDbMigrationStatusDetailsResponse
, SqlDbMigrationStatusDetailsResponseArgs

ListOfCopyProgressDetails This property is required. List<Pulumi.AzureNative.DataMigration.Inputs.CopyProgressDetailsResponse>
Details on progress of ADF copy activities.
MigrationState This property is required. string
Current State of Migration.
SqlDataCopyErrors This property is required. List<string>
Sql Data Copy errors, if any.
ListOfCopyProgressDetails This property is required. []CopyProgressDetailsResponse
Details on progress of ADF copy activities.
MigrationState This property is required. string
Current State of Migration.
SqlDataCopyErrors This property is required. []string
Sql Data Copy errors, if any.
listOfCopyProgressDetails This property is required. List<CopyProgressDetailsResponse>
Details on progress of ADF copy activities.
migrationState This property is required. String
Current State of Migration.
sqlDataCopyErrors This property is required. List<String>
Sql Data Copy errors, if any.
listOfCopyProgressDetails This property is required. CopyProgressDetailsResponse[]
Details on progress of ADF copy activities.
migrationState This property is required. string
Current State of Migration.
sqlDataCopyErrors This property is required. string[]
Sql Data Copy errors, if any.
list_of_copy_progress_details This property is required. Sequence[CopyProgressDetailsResponse]
Details on progress of ADF copy activities.
migration_state This property is required. str
Current State of Migration.
sql_data_copy_errors This property is required. Sequence[str]
Sql Data Copy errors, if any.
listOfCopyProgressDetails This property is required. List<Property Map>
Details on progress of ADF copy activities.
migrationState This property is required. String
Current State of Migration.
sqlDataCopyErrors This property is required. List<String>
Sql Data Copy errors, if any.

SqlDbOfflineConfigurationResponse
, SqlDbOfflineConfigurationResponseArgs

Offline This property is required. bool
Offline migration
Offline This property is required. bool
Offline migration
offline This property is required. Boolean
Offline migration
offline This property is required. boolean
Offline migration
offline This property is required. bool
Offline migration
offline This property is required. Boolean
Offline migration

SystemDataResponse
, SystemDataResponseArgs

Import

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

$ pulumi import azure-native:datamigration:DatabaseMigrationsSqlDb db1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0