azure-native.datamigration.DatabaseMigrationsSqlDb
Explore with Pulumi AI
Database Migration Resource for SQL Database. Azure REST API version: 2022-03-30-preview. Prior API version in Azure Native 1.x: 2022-03-30-preview.
Other available API versions: 2023-07-15-preview.
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",
});
});
package main
import (
datamigration "github.com/pulumi/pulumi-azure-native-sdk/datamigration/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datamigration.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
})
}
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());
}
}
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")
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",
});
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
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",
});
});
package main
import (
datamigration "github.com/pulumi/pulumi-azure-native-sdk/datamigration/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datamigration.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
})
}
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());
}
}
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")
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",
});
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
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 string
- The unique name of the resource.
- args DatabaseMigrationsSqlDbArgs
- 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 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 string
- The unique name of the resource.
- args DatabaseMigrationsSqlDbArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseMigrationsSqlDbArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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:
- Resource
Group stringName - 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 stringInstance Name - Properties
Pulumi.
Azure Native. Data Migration. Inputs. Database Migration Properties Sql Db - Database Migration Resource properties for SQL database.
- Target
Db stringName - The name of the target database.
- Resource
Group stringName - 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 stringInstance Name - Properties
Database
Migration Properties Sql Db Args - Database Migration Resource properties for SQL database.
- Target
Db stringName - The name of the target database.
- resource
Group StringName - 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 StringInstance Name - properties
Database
Migration Properties Sql Db - Database Migration Resource properties for SQL database.
- target
Db StringName - The name of the target database.
- resource
Group stringName - 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 stringInstance Name - properties
Database
Migration Properties Sql Db - Database Migration Resource properties for SQL database.
- target
Db stringName - The name of the target database.
- resource_
group_ strname - 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_ strinstance_ name - properties
Database
Migration Properties Sql Db Args - Database Migration Resource properties for SQL database.
- target_
db_ strname - The name of the target database.
- resource
Group StringName - 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 StringInstance Name - properties Property Map
- Database Migration Resource properties for SQL database.
- target
Db StringName - 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:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- System
Data Pulumi.Azure Native. Data Migration. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
Supporting Types
CopyProgressDetailsResponse, CopyProgressDetailsResponseArgs
- Copy
Duration int - Copy Duration in seconds
- Copy
Start string - Copy Start
- Copy
Throughput double - Copy throughput in KBps
- Data
Read double - Bytes read
- Data
Written double - Bytes written
- Parallel
Copy stringType - Type of parallel copy (Dynamic range, Physical partition, none).
- Rows
Copied double - Rows Copied
- Rows
Read double - Rows read
- Status string
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- Table
Name string - Table Name
- Used
Parallel intCopies - The degree of parallelization.
- Copy
Duration int - Copy Duration in seconds
- Copy
Start string - Copy Start
- Copy
Throughput float64 - Copy throughput in KBps
- Data
Read float64 - Bytes read
- Data
Written float64 - Bytes written
- Parallel
Copy stringType - Type of parallel copy (Dynamic range, Physical partition, none).
- Rows
Copied float64 - Rows Copied
- Rows
Read float64 - Rows read
- Status string
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- Table
Name string - Table Name
- Used
Parallel intCopies - The degree of parallelization.
- copy
Duration Integer - Copy Duration in seconds
- copy
Start String - Copy Start
- copy
Throughput Double - Copy throughput in KBps
- data
Read Double - Bytes read
- data
Written Double - Bytes written
- parallel
Copy StringType - Type of parallel copy (Dynamic range, Physical partition, none).
- rows
Copied Double - Rows Copied
- rows
Read Double - Rows read
- status String
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- table
Name String - Table Name
- used
Parallel IntegerCopies - The degree of parallelization.
- copy
Duration number - Copy Duration in seconds
- copy
Start string - Copy Start
- copy
Throughput number - Copy throughput in KBps
- data
Read number - Bytes read
- data
Written number - Bytes written
- parallel
Copy stringType - Type of parallel copy (Dynamic range, Physical partition, none).
- rows
Copied number - Rows Copied
- rows
Read number - Rows read
- status string
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- table
Name string - Table Name
- used
Parallel numberCopies - The degree of parallelization.
- copy_
duration int - Copy Duration in seconds
- copy_
start str - Copy Start
- copy_
throughput float - Copy throughput in KBps
- data_
read float - Bytes read
- data_
written float - Bytes written
- parallel_
copy_ strtype - Type of parallel copy (Dynamic range, Physical partition, none).
- rows_
copied float - Rows Copied
- rows_
read float - Rows read
- status str
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- table_
name str - Table Name
- used_
parallel_ intcopies - The degree of parallelization.
- copy
Duration Number - Copy Duration in seconds
- copy
Start String - Copy Start
- copy
Throughput Number - Copy throughput in KBps
- data
Read Number - Bytes read
- data
Written Number - Bytes written
- parallel
Copy StringType - Type of parallel copy (Dynamic range, Physical partition, none).
- rows
Copied Number - Rows Copied
- rows
Read Number - Rows read
- status String
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- table
Name String - Table Name
- used
Parallel NumberCopies - The degree of parallelization.
DatabaseMigrationPropertiesSqlDb, DatabaseMigrationPropertiesSqlDbArgs
- Migration
Operation stringId - ID tracking current migration operation.
- Migration
Service string - Resource Id of the Migration Service.
- Provisioning
Error string - Error message for migration provisioning failure, if any.
- Scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- Source
Database stringName - Name of the source database.
- Source
Sql Pulumi.Connection Azure Native. Data Migration. Inputs. Sql Connection Information - Source SQL Server connection details.
- Table
List List<string> - List of tables to copy.
- Target
Database stringCollation - Database collation to be used for the target database.
- Target
Sql Pulumi.Connection Azure Native. Data Migration. Inputs. Sql Connection Information - Target SQL DB connection details.
- Migration
Operation stringId - ID tracking current migration operation.
- Migration
Service string - Resource Id of the Migration Service.
- Provisioning
Error string - Error message for migration provisioning failure, if any.
- Scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- Source
Database stringName - Name of the source database.
- Source
Sql SqlConnection Connection Information - Source SQL Server connection details.
- Table
List []string - List of tables to copy.
- Target
Database stringCollation - Database collation to be used for the target database.
- Target
Sql SqlConnection Connection Information - Target SQL DB connection details.
- migration
Operation StringId - ID tracking current migration operation.
- migration
Service String - Resource Id of the Migration Service.
- provisioning
Error String - Error message for migration provisioning failure, if any.
- scope String
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- source
Database StringName - Name of the source database.
- source
Sql SqlConnection Connection Information - Source SQL Server connection details.
- table
List List<String> - List of tables to copy.
- target
Database StringCollation - Database collation to be used for the target database.
- target
Sql SqlConnection Connection Information - Target SQL DB connection details.
- migration
Operation stringId - ID tracking current migration operation.
- migration
Service string - Resource Id of the Migration Service.
- provisioning
Error string - Error message for migration provisioning failure, if any.
- scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- source
Database stringName - Name of the source database.
- source
Sql SqlConnection Connection Information - Source SQL Server connection details.
- table
List string[] - List of tables to copy.
- target
Database stringCollation - Database collation to be used for the target database.
- target
Sql SqlConnection Connection Information - Target SQL DB connection details.
- migration_
operation_ strid - ID tracking 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 (SQL VM or SQL Managed Instance).
- source_
database_ strname - Name of the source database.
- source_
sql_ Sqlconnection Connection Information - Source SQL Server connection details.
- table_
list Sequence[str] - List of tables to copy.
- target_
database_ strcollation - Database collation to be used for the target database.
- target_
sql_ Sqlconnection Connection Information - Target SQL DB connection details.
- migration
Operation StringId - ID tracking current migration operation.
- migration
Service String - Resource Id of the Migration Service.
- provisioning
Error String - Error message for migration provisioning failure, if any.
- scope String
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- source
Database StringName - Name of the source database.
- source
Sql Property MapConnection - Source SQL Server connection details.
- table
List List<String> - List of tables to copy.
- target
Database StringCollation - Database collation to be used for the target database.
- target
Sql Property MapConnection - Target SQL DB connection details.
DatabaseMigrationPropertiesSqlDbResponse, DatabaseMigrationPropertiesSqlDbResponseArgs
- Ended
On string - Database migration end time.
- Migration
Failure Pulumi.Error Azure Native. Data Migration. Inputs. Error Info Response - Error details in case of migration failure.
- Migration
Status string - Migration status.
- Migration
Status Pulumi.Details Azure Native. Data Migration. Inputs. Sql Db Migration Status Details Response - Detailed migration status. Not included by default.
- Offline
Configuration Pulumi.Azure Native. Data Migration. Inputs. Sql Db Offline Configuration Response - Offline configuration.
- Provisioning
State string - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- Source
Server stringName - Name of the source sql server.
- Started
On string - Database migration start time.
- Migration
Operation stringId - ID tracking current migration operation.
- Migration
Service string - Resource Id of the Migration Service.
- Provisioning
Error string - Error message for migration provisioning failure, if any.
- Scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- Source
Database stringName - Name of the source database.
- Source
Sql Pulumi.Connection Azure Native. Data Migration. Inputs. Sql Connection Information Response - Source SQL Server connection details.
- Table
List List<string> - List of tables to copy.
- Target
Database stringCollation - Database collation to be used for the target database.
- Target
Sql Pulumi.Connection Azure Native. Data Migration. Inputs. Sql Connection Information Response - Target SQL DB connection details.
- Ended
On string - Database migration end time.
- Migration
Failure ErrorError Info Response - Error details in case of migration failure.
- Migration
Status string - Migration status.
- Migration
Status SqlDetails Db Migration Status Details Response - Detailed migration status. Not included by default.
- Offline
Configuration SqlDb Offline Configuration Response - Offline configuration.
- Provisioning
State string - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- Source
Server stringName - Name of the source sql server.
- Started
On string - Database migration start time.
- Migration
Operation stringId - ID tracking current migration operation.
- Migration
Service string - Resource Id of the Migration Service.
- Provisioning
Error string - Error message for migration provisioning failure, if any.
- Scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- Source
Database stringName - Name of the source database.
- Source
Sql SqlConnection Connection Information Response - Source SQL Server connection details.
- Table
List []string - List of tables to copy.
- Target
Database stringCollation - Database collation to be used for the target database.
- Target
Sql SqlConnection Connection Information Response - Target SQL DB connection details.
- ended
On String - Database migration end time.
- migration
Failure ErrorError Info Response - Error details in case of migration failure.
- migration
Status String - Migration status.
- migration
Status SqlDetails Db Migration Status Details Response - Detailed migration status. Not included by default.
- offline
Configuration SqlDb Offline Configuration Response - Offline configuration.
- provisioning
State String - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- source
Server StringName - Name of the source sql server.
- started
On String - Database migration start time.
- migration
Operation StringId - ID tracking current migration operation.
- migration
Service String - Resource Id of the Migration Service.
- provisioning
Error String - Error message for migration provisioning failure, if any.
- scope String
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- source
Database StringName - Name of the source database.
- source
Sql SqlConnection Connection Information Response - Source SQL Server connection details.
- table
List List<String> - List of tables to copy.
- target
Database StringCollation - Database collation to be used for the target database.
- target
Sql SqlConnection Connection Information Response - Target SQL DB connection details.
- ended
On string - Database migration end time.
- migration
Failure ErrorError Info Response - Error details in case of migration failure.
- migration
Status string - Migration status.
- migration
Status SqlDetails Db Migration Status Details Response - Detailed migration status. Not included by default.
- offline
Configuration SqlDb Offline Configuration Response - Offline configuration.
- provisioning
State string - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- source
Server stringName - Name of the source sql server.
- started
On string - Database migration start time.
- migration
Operation stringId - ID tracking current migration operation.
- migration
Service string - Resource Id of the Migration Service.
- provisioning
Error string - Error message for migration provisioning failure, if any.
- scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- source
Database stringName - Name of the source database.
- source
Sql SqlConnection Connection Information Response - Source SQL Server connection details.
- table
List string[] - List of tables to copy.
- target
Database stringCollation - Database collation to be used for the target database.
- target
Sql SqlConnection Connection Information Response - Target SQL DB connection details.
- ended_
on str - Database migration end time.
- migration_
failure_ Errorerror Info Response - Error details in case of migration failure.
- migration_
status str - Migration status.
- migration_
status_ Sqldetails Db Migration Status Details Response - Detailed migration status. Not included by default.
- offline_
configuration SqlDb Offline Configuration Response - Offline configuration.
- provisioning_
state str - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- source_
server_ strname - Name of the source sql server.
- started_
on str - Database migration start time.
- migration_
operation_ strid - ID tracking 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 (SQL VM or SQL Managed Instance).
- source_
database_ strname - Name of the source database.
- source_
sql_ Sqlconnection Connection Information Response - Source SQL Server connection details.
- table_
list Sequence[str] - List of tables to copy.
- target_
database_ strcollation - Database collation to be used for the target database.
- target_
sql_ Sqlconnection Connection Information Response - Target SQL DB connection details.
- ended
On String - Database migration end time.
- migration
Failure Property MapError - Error details in case of migration failure.
- migration
Status String - Migration status.
- migration
Status Property MapDetails - Detailed migration status. Not included by default.
- offline
Configuration Property Map - Offline configuration.
- provisioning
State String - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- source
Server StringName - Name of the source sql server.
- started
On String - Database migration start time.
- migration
Operation StringId - ID tracking current migration operation.
- migration
Service String - Resource Id of the Migration Service.
- provisioning
Error String - Error message for migration provisioning failure, if any.
- scope String
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- source
Database StringName - Name of the source database.
- source
Sql Property MapConnection - Source SQL Server connection details.
- table
List List<String> - List of tables to copy.
- target
Database StringCollation - Database collation to be used for the target database.
- target
Sql Property MapConnection - Target SQL DB connection details.
ErrorInfoResponse, ErrorInfoResponseArgs
SqlConnectionInformation, SqlConnectionInformationArgs
- Authentication string
- Authentication type.
- Data
Source string - Data source.
- Encrypt
Connection bool - Whether to encrypt connection or not.
- Password string
- Password to connect to source SQL.
- Trust
Server boolCertificate - Whether to trust server certificate or not.
- User
Name string - User name to connect to source SQL.
- Authentication string
- Authentication type.
- Data
Source string - Data source.
- Encrypt
Connection bool - Whether to encrypt connection or not.
- Password string
- Password to connect to source SQL.
- Trust
Server boolCertificate - Whether to trust server certificate or not.
- User
Name string - User name to connect to source SQL.
- authentication String
- Authentication type.
- data
Source String - Data source.
- encrypt
Connection Boolean - Whether to encrypt connection or not.
- password String
- Password to connect to source SQL.
- trust
Server BooleanCertificate - Whether to trust server certificate or not.
- user
Name String - User name to connect to source SQL.
- authentication string
- Authentication type.
- data
Source string - Data source.
- encrypt
Connection boolean - Whether to encrypt connection or not.
- password string
- Password to connect to source SQL.
- trust
Server booleanCertificate - Whether to trust server certificate or not.
- user
Name 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_ boolcertificate - Whether to trust server certificate or not.
- user_
name str - User name to connect to source SQL.
- authentication String
- Authentication type.
- data
Source String - Data source.
- encrypt
Connection Boolean - Whether to encrypt connection or not.
- password String
- Password to connect to source SQL.
- trust
Server BooleanCertificate - Whether to trust server certificate or not.
- user
Name String - User name to connect to source SQL.
SqlConnectionInformationResponse, SqlConnectionInformationResponseArgs
- Authentication string
- Authentication type.
- Data
Source string - Data source.
- Encrypt
Connection bool - Whether to encrypt connection or not.
- Password string
- Password to connect to source SQL.
- Trust
Server boolCertificate - Whether to trust server certificate or not.
- User
Name string - User name to connect to source SQL.
- Authentication string
- Authentication type.
- Data
Source string - Data source.
- Encrypt
Connection bool - Whether to encrypt connection or not.
- Password string
- Password to connect to source SQL.
- Trust
Server boolCertificate - Whether to trust server certificate or not.
- User
Name string - User name to connect to source SQL.
- authentication String
- Authentication type.
- data
Source String - Data source.
- encrypt
Connection Boolean - Whether to encrypt connection or not.
- password String
- Password to connect to source SQL.
- trust
Server BooleanCertificate - Whether to trust server certificate or not.
- user
Name String - User name to connect to source SQL.
- authentication string
- Authentication type.
- data
Source string - Data source.
- encrypt
Connection boolean - Whether to encrypt connection or not.
- password string
- Password to connect to source SQL.
- trust
Server booleanCertificate - Whether to trust server certificate or not.
- user
Name 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_ boolcertificate - Whether to trust server certificate or not.
- user_
name str - User name to connect to source SQL.
- authentication String
- Authentication type.
- data
Source String - Data source.
- encrypt
Connection Boolean - Whether to encrypt connection or not.
- password String
- Password to connect to source SQL.
- trust
Server BooleanCertificate - Whether to trust server certificate or not.
- user
Name String - User name to connect to source SQL.
SqlDbMigrationStatusDetailsResponse, SqlDbMigrationStatusDetailsResponseArgs
- List
Of List<Pulumi.Copy Progress Details Azure Native. Data Migration. Inputs. Copy Progress Details Response> - Details on progress of ADF copy activities.
- Migration
State string - Current State of Migration.
- Sql
Data List<string>Copy Errors - Sql Data Copy errors, if any.
- List
Of []CopyCopy Progress Details Progress Details Response - Details on progress of ADF copy activities.
- Migration
State string - Current State of Migration.
- Sql
Data []stringCopy Errors - Sql Data Copy errors, if any.
- list
Of List<CopyCopy Progress Details Progress Details Response> - Details on progress of ADF copy activities.
- migration
State String - Current State of Migration.
- sql
Data List<String>Copy Errors - Sql Data Copy errors, if any.
- list
Of CopyCopy Progress Details Progress Details Response[] - Details on progress of ADF copy activities.
- migration
State string - Current State of Migration.
- sql
Data string[]Copy Errors - Sql Data Copy errors, if any.
- list_
of_ Sequence[Copycopy_ progress_ details Progress Details Response] - Details on progress of ADF copy activities.
- migration_
state str - Current State of Migration.
- sql_
data_ Sequence[str]copy_ errors - Sql Data Copy errors, if any.
- list
Of List<Property Map>Copy Progress Details - Details on progress of ADF copy activities.
- migration
State String - Current State of Migration.
- sql
Data List<String>Copy Errors - Sql Data Copy errors, if any.
SqlDbOfflineConfigurationResponse, SqlDbOfflineConfigurationResponseArgs
- Offline bool
- Offline migration
- Offline bool
- Offline migration
- offline Boolean
- Offline migration
- offline boolean
- Offline migration
- offline bool
- Offline migration
- offline Boolean
- Offline migration
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:datamigration:DatabaseMigrationsSqlDb db1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/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