azure-native.dbforpostgresql.Migration
Explore with Pulumi AI
Represents a migration resource. Azure REST API version: 2023-03-01-preview.
Other available API versions: 2021-06-15-privatepreview, 2022-05-01-preview, 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-08-01, 2024-11-01-preview.
Example Usage
Migrations Create by passing user names
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var migration = new AzureNative.DBforPostgreSQL.Migration("migration", new()
    {
        DbsToMigrate = new[]
        {
            "db1",
            "db2",
            "db3",
            "db4",
        },
        Location = "westus",
        MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
        MigrationName = "testmigration",
        ResourceGroupName = "testrg",
        SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
        {
            AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
            {
                SourceServerPassword = "xxxxxxxx",
                TargetServerPassword = "xxxxxxxx",
            },
            SourceServerUsername = "newadmin@testsource",
            TargetServerUsername = "targetadmin",
        },
        SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
        TargetDbServerName = "testtarget",
    });
});
package main
import (
	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbforpostgresql.NewMigration(ctx, "migration", &dbforpostgresql.MigrationArgs{
			DbsToMigrate: pulumi.StringArray{
				pulumi.String("db1"),
				pulumi.String("db2"),
				pulumi.String("db3"),
				pulumi.String("db4"),
			},
			Location:          pulumi.String("westus"),
			MigrationMode:     pulumi.String(dbforpostgresql.MigrationModeOffline),
			MigrationName:     pulumi.String("testmigration"),
			ResourceGroupName: pulumi.String("testrg"),
			SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
				AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
					SourceServerPassword: pulumi.String("xxxxxxxx"),
					TargetServerPassword: pulumi.String("xxxxxxxx"),
				},
				SourceServerUsername: pulumi.String("newadmin@testsource"),
				TargetServerUsername: pulumi.String("targetadmin"),
			},
			SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource"),
			TargetDbServerName:       pulumi.String("testtarget"),
		})
		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.dbforpostgresql.Migration;
import com.pulumi.azurenative.dbforpostgresql.MigrationArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.MigrationSecretParametersArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AdminCredentialsArgs;
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 migration = new Migration("migration", MigrationArgs.builder()
            .dbsToMigrate(            
                "db1",
                "db2",
                "db3",
                "db4")
            .location("westus")
            .migrationMode("Offline")
            .migrationName("testmigration")
            .resourceGroupName("testrg")
            .secretParameters(MigrationSecretParametersArgs.builder()
                .adminCredentials(AdminCredentialsArgs.builder()
                    .sourceServerPassword("xxxxxxxx")
                    .targetServerPassword("xxxxxxxx")
                    .build())
                .sourceServerUsername("newadmin@testsource")
                .targetServerUsername("targetadmin")
                .build())
            .sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource")
            .targetDbServerName("testtarget")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
    dbsToMigrate: [
        "db1",
        "db2",
        "db3",
        "db4",
    ],
    location: "westus",
    migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
    migrationName: "testmigration",
    resourceGroupName: "testrg",
    secretParameters: {
        adminCredentials: {
            sourceServerPassword: "xxxxxxxx",
            targetServerPassword: "xxxxxxxx",
        },
        sourceServerUsername: "newadmin@testsource",
        targetServerUsername: "targetadmin",
    },
    sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
    targetDbServerName: "testtarget",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
    dbs_to_migrate=[
        "db1",
        "db2",
        "db3",
        "db4",
    ],
    location="westus",
    migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
    migration_name="testmigration",
    resource_group_name="testrg",
    secret_parameters={
        "admin_credentials": {
            "source_server_password": "xxxxxxxx",
            "target_server_password": "xxxxxxxx",
        },
        "source_server_username": "newadmin@testsource",
        "target_server_username": "targetadmin",
    },
    source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
    target_db_server_name="testtarget")
resources:
  migration:
    type: azure-native:dbforpostgresql:Migration
    properties:
      dbsToMigrate:
        - db1
        - db2
        - db3
        - db4
      location: westus
      migrationMode: Offline
      migrationName: testmigration
      resourceGroupName: testrg
      secretParameters:
        adminCredentials:
          sourceServerPassword: xxxxxxxx
          targetServerPassword: xxxxxxxx
        sourceServerUsername: newadmin@testsource
        targetServerUsername: targetadmin
      sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource
      targetDbServerName: testtarget
Migrations_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var migration = new AzureNative.DBforPostgreSQL.Migration("migration", new()
    {
        DbsToMigrate = new[]
        {
            "db1",
            "db2",
            "db3",
            "db4",
        },
        Location = "westus",
        MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
        MigrationName = "testmigration",
        OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDbsInTargetEnum.True,
        ResourceGroupName = "testrg",
        SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
        {
            AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
            {
                SourceServerPassword = "xxxxxxxx",
                TargetServerPassword = "xxxxxxxx",
            },
        },
        SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
        TargetDbServerName = "testtarget",
    });
});
package main
import (
	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbforpostgresql.NewMigration(ctx, "migration", &dbforpostgresql.MigrationArgs{
			DbsToMigrate: pulumi.StringArray{
				pulumi.String("db1"),
				pulumi.String("db2"),
				pulumi.String("db3"),
				pulumi.String("db4"),
			},
			Location:             pulumi.String("westus"),
			MigrationMode:        pulumi.String(dbforpostgresql.MigrationModeOffline),
			MigrationName:        pulumi.String("testmigration"),
			OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDbsInTargetEnumTrue),
			ResourceGroupName:    pulumi.String("testrg"),
			SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
				AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
					SourceServerPassword: pulumi.String("xxxxxxxx"),
					TargetServerPassword: pulumi.String("xxxxxxxx"),
				},
			},
			SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource"),
			TargetDbServerName:       pulumi.String("testtarget"),
		})
		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.dbforpostgresql.Migration;
import com.pulumi.azurenative.dbforpostgresql.MigrationArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.MigrationSecretParametersArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AdminCredentialsArgs;
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 migration = new Migration("migration", MigrationArgs.builder()
            .dbsToMigrate(            
                "db1",
                "db2",
                "db3",
                "db4")
            .location("westus")
            .migrationMode("Offline")
            .migrationName("testmigration")
            .overwriteDbsInTarget("True")
            .resourceGroupName("testrg")
            .secretParameters(MigrationSecretParametersArgs.builder()
                .adminCredentials(AdminCredentialsArgs.builder()
                    .sourceServerPassword("xxxxxxxx")
                    .targetServerPassword("xxxxxxxx")
                    .build())
                .build())
            .sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource")
            .targetDbServerName("testtarget")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
    dbsToMigrate: [
        "db1",
        "db2",
        "db3",
        "db4",
    ],
    location: "westus",
    migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
    migrationName: "testmigration",
    overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.True,
    resourceGroupName: "testrg",
    secretParameters: {
        adminCredentials: {
            sourceServerPassword: "xxxxxxxx",
            targetServerPassword: "xxxxxxxx",
        },
    },
    sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
    targetDbServerName: "testtarget",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
    dbs_to_migrate=[
        "db1",
        "db2",
        "db3",
        "db4",
    ],
    location="westus",
    migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
    migration_name="testmigration",
    overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.TRUE,
    resource_group_name="testrg",
    secret_parameters={
        "admin_credentials": {
            "source_server_password": "xxxxxxxx",
            "target_server_password": "xxxxxxxx",
        },
    },
    source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
    target_db_server_name="testtarget")
resources:
  migration:
    type: azure-native:dbforpostgresql:Migration
    properties:
      dbsToMigrate:
        - db1
        - db2
        - db3
        - db4
      location: westus
      migrationMode: Offline
      migrationName: testmigration
      overwriteDbsInTarget: True
      resourceGroupName: testrg
      secretParameters:
        adminCredentials:
          sourceServerPassword: xxxxxxxx
          targetServerPassword: xxxxxxxx
      sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource
      targetDbServerName: testtarget
Create Migration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Migration(name: string, args: MigrationArgs, opts?: CustomResourceOptions);@overload
def Migration(resource_name: str,
              args: MigrationArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def Migration(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              resource_group_name: Optional[str] = None,
              target_db_server_name: Optional[str] = None,
              migration_mode: Optional[Union[str, MigrationMode]] = None,
              secret_parameters: Optional[MigrationSecretParametersArgs] = None,
              location: Optional[str] = None,
              cancel: Optional[Union[str, CancelEnum]] = None,
              migration_name: Optional[str] = None,
              migration_window_end_time_in_utc: Optional[str] = None,
              migration_window_start_time_in_utc: Optional[str] = None,
              overwrite_dbs_in_target: Optional[Union[str, OverwriteDbsInTargetEnum]] = None,
              dbs_to_migrate: Optional[Sequence[str]] = None,
              dbs_to_trigger_cutover_on: Optional[Sequence[str]] = None,
              setup_logical_replication_on_source_db_if_needed: Optional[Union[str, LogicalReplicationOnSourceDbEnum]] = None,
              source_db_server_fully_qualified_domain_name: Optional[str] = None,
              source_db_server_resource_id: Optional[str] = None,
              start_data_migration: Optional[Union[str, StartDataMigrationEnum]] = None,
              subscription_id: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None,
              target_db_server_fully_qualified_domain_name: Optional[str] = None,
              dbs_to_cancel_migration_on: Optional[Sequence[str]] = None,
              trigger_cutover: Optional[Union[str, TriggerCutoverEnum]] = None)func NewMigration(ctx *Context, name string, args MigrationArgs, opts ...ResourceOption) (*Migration, error)public Migration(string name, MigrationArgs args, CustomResourceOptions? opts = null)
public Migration(String name, MigrationArgs args)
public Migration(String name, MigrationArgs args, CustomResourceOptions options)
type: azure-native:dbforpostgresql:Migration
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 MigrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var migrationResource = new AzureNative.DBforPostgreSQL.Migration("migrationResource", new()
{
    ResourceGroupName = "string",
    TargetDbServerName = "string",
    MigrationMode = "string",
    SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
    {
        AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
        {
            SourceServerPassword = "string",
            TargetServerPassword = "string",
        },
        SourceServerUsername = "string",
        TargetServerUsername = "string",
    },
    Location = "string",
    Cancel = "string",
    MigrationName = "string",
    MigrationWindowEndTimeInUtc = "string",
    MigrationWindowStartTimeInUtc = "string",
    OverwriteDbsInTarget = "string",
    DbsToMigrate = new[]
    {
        "string",
    },
    DbsToTriggerCutoverOn = new[]
    {
        "string",
    },
    SetupLogicalReplicationOnSourceDbIfNeeded = "string",
    SourceDbServerFullyQualifiedDomainName = "string",
    SourceDbServerResourceId = "string",
    StartDataMigration = "string",
    SubscriptionId = "string",
    Tags = 
    {
        { "string", "string" },
    },
    TargetDbServerFullyQualifiedDomainName = "string",
    DbsToCancelMigrationOn = new[]
    {
        "string",
    },
    TriggerCutover = "string",
});
example, err := dbforpostgresql.NewMigration(ctx, "migrationResource", &dbforpostgresql.MigrationArgs{
	ResourceGroupName:  pulumi.String("string"),
	TargetDbServerName: pulumi.String("string"),
	MigrationMode:      pulumi.String("string"),
	SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
		AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
			SourceServerPassword: pulumi.String("string"),
			TargetServerPassword: pulumi.String("string"),
		},
		SourceServerUsername: pulumi.String("string"),
		TargetServerUsername: pulumi.String("string"),
	},
	Location:                      pulumi.String("string"),
	Cancel:                        pulumi.String("string"),
	MigrationName:                 pulumi.String("string"),
	MigrationWindowEndTimeInUtc:   pulumi.String("string"),
	MigrationWindowStartTimeInUtc: pulumi.String("string"),
	OverwriteDbsInTarget:          pulumi.String("string"),
	DbsToMigrate: pulumi.StringArray{
		pulumi.String("string"),
	},
	DbsToTriggerCutoverOn: pulumi.StringArray{
		pulumi.String("string"),
	},
	SetupLogicalReplicationOnSourceDbIfNeeded: pulumi.String("string"),
	SourceDbServerFullyQualifiedDomainName:    pulumi.String("string"),
	SourceDbServerResourceId:                  pulumi.String("string"),
	StartDataMigration:                        pulumi.String("string"),
	SubscriptionId:                            pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TargetDbServerFullyQualifiedDomainName: pulumi.String("string"),
	DbsToCancelMigrationOn: pulumi.StringArray{
		pulumi.String("string"),
	},
	TriggerCutover: pulumi.String("string"),
})
var migrationResource = new Migration("migrationResource", MigrationArgs.builder()
    .resourceGroupName("string")
    .targetDbServerName("string")
    .migrationMode("string")
    .secretParameters(MigrationSecretParametersArgs.builder()
        .adminCredentials(AdminCredentialsArgs.builder()
            .sourceServerPassword("string")
            .targetServerPassword("string")
            .build())
        .sourceServerUsername("string")
        .targetServerUsername("string")
        .build())
    .location("string")
    .cancel("string")
    .migrationName("string")
    .migrationWindowEndTimeInUtc("string")
    .migrationWindowStartTimeInUtc("string")
    .overwriteDbsInTarget("string")
    .dbsToMigrate("string")
    .dbsToTriggerCutoverOn("string")
    .setupLogicalReplicationOnSourceDbIfNeeded("string")
    .sourceDbServerFullyQualifiedDomainName("string")
    .sourceDbServerResourceId("string")
    .startDataMigration("string")
    .subscriptionId("string")
    .tags(Map.of("string", "string"))
    .targetDbServerFullyQualifiedDomainName("string")
    .dbsToCancelMigrationOn("string")
    .triggerCutover("string")
    .build());
migration_resource = azure_native.dbforpostgresql.Migration("migrationResource",
    resource_group_name="string",
    target_db_server_name="string",
    migration_mode="string",
    secret_parameters={
        "admin_credentials": {
            "source_server_password": "string",
            "target_server_password": "string",
        },
        "source_server_username": "string",
        "target_server_username": "string",
    },
    location="string",
    cancel="string",
    migration_name="string",
    migration_window_end_time_in_utc="string",
    migration_window_start_time_in_utc="string",
    overwrite_dbs_in_target="string",
    dbs_to_migrate=["string"],
    dbs_to_trigger_cutover_on=["string"],
    setup_logical_replication_on_source_db_if_needed="string",
    source_db_server_fully_qualified_domain_name="string",
    source_db_server_resource_id="string",
    start_data_migration="string",
    subscription_id="string",
    tags={
        "string": "string",
    },
    target_db_server_fully_qualified_domain_name="string",
    dbs_to_cancel_migration_on=["string"],
    trigger_cutover="string")
const migrationResource = new azure_native.dbforpostgresql.Migration("migrationResource", {
    resourceGroupName: "string",
    targetDbServerName: "string",
    migrationMode: "string",
    secretParameters: {
        adminCredentials: {
            sourceServerPassword: "string",
            targetServerPassword: "string",
        },
        sourceServerUsername: "string",
        targetServerUsername: "string",
    },
    location: "string",
    cancel: "string",
    migrationName: "string",
    migrationWindowEndTimeInUtc: "string",
    migrationWindowStartTimeInUtc: "string",
    overwriteDbsInTarget: "string",
    dbsToMigrate: ["string"],
    dbsToTriggerCutoverOn: ["string"],
    setupLogicalReplicationOnSourceDbIfNeeded: "string",
    sourceDbServerFullyQualifiedDomainName: "string",
    sourceDbServerResourceId: "string",
    startDataMigration: "string",
    subscriptionId: "string",
    tags: {
        string: "string",
    },
    targetDbServerFullyQualifiedDomainName: "string",
    dbsToCancelMigrationOn: ["string"],
    triggerCutover: "string",
});
type: azure-native:dbforpostgresql:Migration
properties:
    cancel: string
    dbsToCancelMigrationOn:
        - string
    dbsToMigrate:
        - string
    dbsToTriggerCutoverOn:
        - string
    location: string
    migrationMode: string
    migrationName: string
    migrationWindowEndTimeInUtc: string
    migrationWindowStartTimeInUtc: string
    overwriteDbsInTarget: string
    resourceGroupName: string
    secretParameters:
        adminCredentials:
            sourceServerPassword: string
            targetServerPassword: string
        sourceServerUsername: string
        targetServerUsername: string
    setupLogicalReplicationOnSourceDbIfNeeded: string
    sourceDbServerFullyQualifiedDomainName: string
    sourceDbServerResourceId: string
    startDataMigration: string
    subscriptionId: string
    tags:
        string: string
    targetDbServerFullyQualifiedDomainName: string
    targetDbServerName: string
    triggerCutover: string
Migration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Migration resource accepts the following input properties:
- ResourceGroup stringName 
- The resource group name of the target database server.
- TargetDb stringServer Name 
- The name of the target database server.
- Cancel
string | Pulumi.Azure Native. DBfor Postgre SQL. Cancel Enum 
- To trigger cancel for entire migration we need to send this flag as True
- DbsTo List<string>Cancel Migration On 
- When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- DbsTo List<string>Migrate 
- Number of databases to migrate
- DbsTo List<string>Trigger Cutover On 
- When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- Location string
- The geo-location where the resource lives
- MigrationMode string | Pulumi.Azure Native. DBfor Postgre SQL. Migration Mode 
- There are two types of migration modes Online and Offline
- MigrationName string
- The name of the migration.
- MigrationWindow stringEnd Time In Utc 
- End time in UTC for migration window
- MigrationWindow stringStart Time In Utc 
- Start time in UTC for migration window
- OverwriteDbs string | Pulumi.In Target Azure Native. DBfor Postgre SQL. Overwrite Dbs In Target Enum 
- Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- SecretParameters Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Migration Secret Parameters 
- Migration secret parameters
- SetupLogical string | Pulumi.Replication On Source Db If Needed Azure Native. DBfor Postgre SQL. Logical Replication On Source Db Enum 
- Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- SourceDb stringServer Fully Qualified Domain Name 
- Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- SourceDb stringServer Resource Id 
- ResourceId of the source database server
- StartData string | Pulumi.Migration Azure Native. DBfor Postgre SQL. Start Data Migration Enum 
- Indicates whether the data migration should start right away
- SubscriptionId string
- The subscription ID of the target database server.
- Dictionary<string, string>
- Resource tags.
- TargetDb stringServer Fully Qualified Domain Name 
- Target server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- TriggerCutover string | Pulumi.Azure Native. DBfor Postgre SQL. Trigger Cutover Enum 
- To trigger cutover for entire migration we need to send this flag as True
- ResourceGroup stringName 
- The resource group name of the target database server.
- TargetDb stringServer Name 
- The name of the target database server.
- Cancel
string | CancelEnum 
- To trigger cancel for entire migration we need to send this flag as True
- DbsTo []stringCancel Migration On 
- When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- DbsTo []stringMigrate 
- Number of databases to migrate
- DbsTo []stringTrigger Cutover On 
- When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- Location string
- The geo-location where the resource lives
- MigrationMode string | MigrationMode 
- There are two types of migration modes Online and Offline
- MigrationName string
- The name of the migration.
- MigrationWindow stringEnd Time In Utc 
- End time in UTC for migration window
- MigrationWindow stringStart Time In Utc 
- Start time in UTC for migration window
- OverwriteDbs string | OverwriteIn Target Dbs In Target Enum 
- Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- SecretParameters MigrationSecret Parameters Args 
- Migration secret parameters
- SetupLogical string | LogicalReplication On Source Db If Needed Replication On Source Db Enum 
- Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- SourceDb stringServer Fully Qualified Domain Name 
- Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- SourceDb stringServer Resource Id 
- ResourceId of the source database server
- StartData string | StartMigration Data Migration Enum 
- Indicates whether the data migration should start right away
- SubscriptionId string
- The subscription ID of the target database server.
- map[string]string
- Resource tags.
- TargetDb stringServer Fully Qualified Domain Name 
- Target server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- TriggerCutover string | TriggerCutover Enum 
- To trigger cutover for entire migration we need to send this flag as True
- resourceGroup StringName 
- The resource group name of the target database server.
- targetDb StringServer Name 
- The name of the target database server.
- cancel
String | CancelEnum 
- To trigger cancel for entire migration we need to send this flag as True
- dbsTo List<String>Cancel Migration On 
- When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- dbsTo List<String>Migrate 
- Number of databases to migrate
- dbsTo List<String>Trigger Cutover On 
- When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- location String
- The geo-location where the resource lives
- migrationMode String | MigrationMode 
- There are two types of migration modes Online and Offline
- migrationName String
- The name of the migration.
- migrationWindow StringEnd Time In Utc 
- End time in UTC for migration window
- migrationWindow StringStart Time In Utc 
- Start time in UTC for migration window
- overwriteDbs String | OverwriteIn Target Dbs In Target Enum 
- Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- secretParameters MigrationSecret Parameters 
- Migration secret parameters
- setupLogical String | LogicalReplication On Source Db If Needed Replication On Source Db Enum 
- Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- sourceDb StringServer Fully Qualified Domain Name 
- Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- sourceDb StringServer Resource Id 
- ResourceId of the source database server
- startData String | StartMigration Data Migration Enum 
- Indicates whether the data migration should start right away
- subscriptionId String
- The subscription ID of the target database server.
- Map<String,String>
- Resource tags.
- targetDb StringServer Fully Qualified Domain Name 
- Target server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- triggerCutover String | TriggerCutover Enum 
- To trigger cutover for entire migration we need to send this flag as True
- resourceGroup stringName 
- The resource group name of the target database server.
- targetDb stringServer Name 
- The name of the target database server.
- cancel
string | CancelEnum 
- To trigger cancel for entire migration we need to send this flag as True
- dbsTo string[]Cancel Migration On 
- When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- dbsTo string[]Migrate 
- Number of databases to migrate
- dbsTo string[]Trigger Cutover On 
- When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- location string
- The geo-location where the resource lives
- migrationMode string | MigrationMode 
- There are two types of migration modes Online and Offline
- migrationName string
- The name of the migration.
- migrationWindow stringEnd Time In Utc 
- End time in UTC for migration window
- migrationWindow stringStart Time In Utc 
- Start time in UTC for migration window
- overwriteDbs string | OverwriteIn Target Dbs In Target Enum 
- Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- secretParameters MigrationSecret Parameters 
- Migration secret parameters
- setupLogical string | LogicalReplication On Source Db If Needed Replication On Source Db Enum 
- Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- sourceDb stringServer Fully Qualified Domain Name 
- Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- sourceDb stringServer Resource Id 
- ResourceId of the source database server
- startData string | StartMigration Data Migration Enum 
- Indicates whether the data migration should start right away
- subscriptionId string
- The subscription ID of the target database server.
- {[key: string]: string}
- Resource tags.
- targetDb stringServer Fully Qualified Domain Name 
- Target server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- triggerCutover string | TriggerCutover Enum 
- To trigger cutover for entire migration we need to send this flag as True
- resource_group_ strname 
- The resource group name of the target database server.
- target_db_ strserver_ name 
- The name of the target database server.
- cancel
str | CancelEnum 
- To trigger cancel for entire migration we need to send this flag as True
- dbs_to_ Sequence[str]cancel_ migration_ on 
- When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- dbs_to_ Sequence[str]migrate 
- Number of databases to migrate
- dbs_to_ Sequence[str]trigger_ cutover_ on 
- When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- location str
- The geo-location where the resource lives
- migration_mode str | MigrationMode 
- There are two types of migration modes Online and Offline
- migration_name str
- The name of the migration.
- migration_window_ strend_ time_ in_ utc 
- End time in UTC for migration window
- migration_window_ strstart_ time_ in_ utc 
- Start time in UTC for migration window
- overwrite_dbs_ str | Overwritein_ target Dbs In Target Enum 
- Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- secret_parameters MigrationSecret Parameters Args 
- Migration secret parameters
- setup_logical_ str | Logicalreplication_ on_ source_ db_ if_ needed Replication On Source Db Enum 
- Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- source_db_ strserver_ fully_ qualified_ domain_ name 
- Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- source_db_ strserver_ resource_ id 
- ResourceId of the source database server
- start_data_ str | Startmigration Data Migration Enum 
- Indicates whether the data migration should start right away
- subscription_id str
- The subscription ID of the target database server.
- Mapping[str, str]
- Resource tags.
- target_db_ strserver_ fully_ qualified_ domain_ name 
- Target server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- trigger_cutover str | TriggerCutover Enum 
- To trigger cutover for entire migration we need to send this flag as True
- resourceGroup StringName 
- The resource group name of the target database server.
- targetDb StringServer Name 
- The name of the target database server.
- cancel String | "True" | "False"
- To trigger cancel for entire migration we need to send this flag as True
- dbsTo List<String>Cancel Migration On 
- When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- dbsTo List<String>Migrate 
- Number of databases to migrate
- dbsTo List<String>Trigger Cutover On 
- When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- location String
- The geo-location where the resource lives
- migrationMode String | "Offline" | "Online"
- There are two types of migration modes Online and Offline
- migrationName String
- The name of the migration.
- migrationWindow StringEnd Time In Utc 
- End time in UTC for migration window
- migrationWindow StringStart Time In Utc 
- Start time in UTC for migration window
- overwriteDbs String | "True" | "False"In Target 
- Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- secretParameters Property Map
- Migration secret parameters
- setupLogical String | "True" | "False"Replication On Source Db If Needed 
- Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- sourceDb StringServer Fully Qualified Domain Name 
- Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- sourceDb StringServer Resource Id 
- ResourceId of the source database server
- startData String | "True" | "False"Migration 
- Indicates whether the data migration should start right away
- subscriptionId String
- The subscription ID of the target database server.
- Map<String>
- Resource tags.
- targetDb StringServer Fully Qualified Domain Name 
- Target server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection
- triggerCutover String | "True" | "False"
- To trigger cutover for entire migration we need to send this flag as True
Outputs
All input properties are implicitly available as output properties. Additionally, the Migration resource produces the following output properties:
- CurrentStatus Pulumi.Azure Native. DBfor Postgre SQL. Outputs. Migration Status Response 
- Current status of migration
- Id string
- The provider-assigned unique ID for this managed resource.
- MigrationId string
- ID for migration, a GUID.
- Name string
- The name of the resource
- SourceDb Pulumi.Server Metadata Azure Native. DBfor Postgre SQL. Outputs. Db Server Metadata Response 
- Metadata of the source database server
- SystemData Pulumi.Azure Native. DBfor Postgre SQL. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- TargetDb Pulumi.Server Metadata Azure Native. DBfor Postgre SQL. Outputs. Db Server Metadata Response 
- Metadata of the target database server
- TargetDb stringServer Resource Id 
- ResourceId of the source database server
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- CurrentStatus MigrationStatus Response 
- Current status of migration
- Id string
- The provider-assigned unique ID for this managed resource.
- MigrationId string
- ID for migration, a GUID.
- Name string
- The name of the resource
- SourceDb DbServer Metadata Server Metadata Response 
- Metadata of the source database server
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- TargetDb DbServer Metadata Server Metadata Response 
- Metadata of the target database server
- TargetDb stringServer Resource Id 
- ResourceId of the source database server
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- currentStatus MigrationStatus Response 
- Current status of migration
- id String
- The provider-assigned unique ID for this managed resource.
- migrationId String
- ID for migration, a GUID.
- name String
- The name of the resource
- sourceDb DbServer Metadata Server Metadata Response 
- Metadata of the source database server
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- targetDb DbServer Metadata Server Metadata Response 
- Metadata of the target database server
- targetDb StringServer Resource Id 
- ResourceId of the source database server
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- currentStatus MigrationStatus Response 
- Current status of migration
- id string
- The provider-assigned unique ID for this managed resource.
- migrationId string
- ID for migration, a GUID.
- name string
- The name of the resource
- sourceDb DbServer Metadata Server Metadata Response 
- Metadata of the source database server
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- targetDb DbServer Metadata Server Metadata Response 
- Metadata of the target database server
- targetDb stringServer Resource Id 
- ResourceId of the source database server
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- current_status MigrationStatus Response 
- Current status of migration
- id str
- The provider-assigned unique ID for this managed resource.
- migration_id str
- ID for migration, a GUID.
- name str
- The name of the resource
- source_db_ Dbserver_ metadata Server Metadata Response 
- Metadata of the source database server
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target_db_ Dbserver_ metadata Server Metadata Response 
- Metadata of the target database server
- target_db_ strserver_ resource_ id 
- ResourceId of the source database server
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- currentStatus Property Map
- Current status of migration
- id String
- The provider-assigned unique ID for this managed resource.
- migrationId String
- ID for migration, a GUID.
- name String
- The name of the resource
- sourceDb Property MapServer Metadata 
- Metadata of the source database server
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- targetDb Property MapServer Metadata 
- Metadata of the target database server
- targetDb StringServer Resource Id 
- ResourceId of the source database server
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AdminCredentials, AdminCredentialsArgs    
- SourceServer stringPassword 
- Password for source server.
- TargetServer stringPassword 
- Password for target server.
- SourceServer stringPassword 
- Password for source server.
- TargetServer stringPassword 
- Password for target server.
- sourceServer StringPassword 
- Password for source server.
- targetServer StringPassword 
- Password for target server.
- sourceServer stringPassword 
- Password for source server.
- targetServer stringPassword 
- Password for target server.
- source_server_ strpassword 
- Password for source server.
- target_server_ strpassword 
- Password for target server.
- sourceServer StringPassword 
- Password for source server.
- targetServer StringPassword 
- Password for target server.
CancelEnum, CancelEnumArgs    
- True
- True
- False
- False
- CancelEnum True 
- True
- CancelEnum False 
- False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
DbServerMetadataResponse, DbServerMetadataResponseArgs        
- Location string
- Location of database server
- Sku
Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Server Sku Response 
- SKU for the database server
- StorageMb int
- Storage size in MB for database server
- Version string
- Version for database engine
- Location string
- Location of database server
- Sku
ServerSku Response 
- SKU for the database server
- StorageMb int
- Storage size in MB for database server
- Version string
- Version for database engine
- location String
- Location of database server
- sku
ServerSku Response 
- SKU for the database server
- storageMb Integer
- Storage size in MB for database server
- version String
- Version for database engine
- location string
- Location of database server
- sku
ServerSku Response 
- SKU for the database server
- storageMb number
- Storage size in MB for database server
- version string
- Version for database engine
- location str
- Location of database server
- sku
ServerSku Response 
- SKU for the database server
- storage_mb int
- Storage size in MB for database server
- version str
- Version for database engine
- location String
- Location of database server
- sku Property Map
- SKU for the database server
- storageMb Number
- Storage size in MB for database server
- version String
- Version for database engine
LogicalReplicationOnSourceDbEnum, LogicalReplicationOnSourceDbEnumArgs            
- True
- True
- False
- False
- LogicalReplication On Source Db Enum True 
- True
- LogicalReplication On Source Db Enum False 
- False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
MigrationMode, MigrationModeArgs    
- Offline
- Offline
- Online
- Online
- MigrationMode Offline 
- Offline
- MigrationMode Online 
- Online
- Offline
- Offline
- Online
- Online
- Offline
- Offline
- Online
- Online
- OFFLINE
- Offline
- ONLINE
- Online
- "Offline"
- Offline
- "Online"
- Online
MigrationSecretParameters, MigrationSecretParametersArgs      
- AdminCredentials Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Admin Credentials 
- Admin credentials for source and target servers
- SourceServer stringUsername 
- Gets or sets the username for the source server. This user need not be an admin.
- TargetServer stringUsername 
- Gets or sets the username for the target server. This user need not be an admin.
- AdminCredentials AdminCredentials 
- Admin credentials for source and target servers
- SourceServer stringUsername 
- Gets or sets the username for the source server. This user need not be an admin.
- TargetServer stringUsername 
- Gets or sets the username for the target server. This user need not be an admin.
- adminCredentials AdminCredentials 
- Admin credentials for source and target servers
- sourceServer StringUsername 
- Gets or sets the username for the source server. This user need not be an admin.
- targetServer StringUsername 
- Gets or sets the username for the target server. This user need not be an admin.
- adminCredentials AdminCredentials 
- Admin credentials for source and target servers
- sourceServer stringUsername 
- Gets or sets the username for the source server. This user need not be an admin.
- targetServer stringUsername 
- Gets or sets the username for the target server. This user need not be an admin.
- admin_credentials AdminCredentials 
- Admin credentials for source and target servers
- source_server_ strusername 
- Gets or sets the username for the source server. This user need not be an admin.
- target_server_ strusername 
- Gets or sets the username for the target server. This user need not be an admin.
- adminCredentials Property Map
- Admin credentials for source and target servers
- sourceServer StringUsername 
- Gets or sets the username for the source server. This user need not be an admin.
- targetServer StringUsername 
- Gets or sets the username for the target server. This user need not be an admin.
MigrationStatusResponse, MigrationStatusResponseArgs      
- CurrentSub Pulumi.State Details Azure Native. DBfor Postgre SQL. Inputs. Migration Sub State Details Response 
- Current Migration sub state details.
- Error string
- Error message, if any, for the migration state
- State string
- State of migration
- CurrentSub MigrationState Details Sub State Details Response 
- Current Migration sub state details.
- Error string
- Error message, if any, for the migration state
- State string
- State of migration
- currentSub MigrationState Details Sub State Details Response 
- Current Migration sub state details.
- error String
- Error message, if any, for the migration state
- state String
- State of migration
- currentSub MigrationState Details Sub State Details Response 
- Current Migration sub state details.
- error string
- Error message, if any, for the migration state
- state string
- State of migration
- current_sub_ Migrationstate_ details Sub State Details Response 
- Current Migration sub state details.
- error str
- Error message, if any, for the migration state
- state str
- State of migration
- currentSub Property MapState Details 
- Current Migration sub state details.
- error String
- Error message, if any, for the migration state
- state String
- State of migration
MigrationSubStateDetailsResponse, MigrationSubStateDetailsResponseArgs          
- CurrentSub stringState 
- Migration sub state.
- CurrentSub stringState 
- Migration sub state.
- currentSub StringState 
- Migration sub state.
- currentSub stringState 
- Migration sub state.
- current_sub_ strstate 
- Migration sub state.
- currentSub StringState 
- Migration sub state.
OverwriteDbsInTargetEnum, OverwriteDbsInTargetEnumArgs          
- True
- True
- False
- False
- OverwriteDbs In Target Enum True 
- True
- OverwriteDbs In Target Enum False 
- False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
ServerSkuResponse, ServerSkuResponseArgs      
StartDataMigrationEnum, StartDataMigrationEnumArgs        
- True
- True
- False
- False
- StartData Migration Enum True 
- True
- StartData Migration Enum False 
- False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
TriggerCutoverEnum, TriggerCutoverEnumArgs      
- True
- True
- False
- False
- TriggerCutover Enum True 
- True
- TriggerCutover Enum False 
- False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:dbforpostgresql:Migration d3ceacbb-a5fd-43dc-a9db-6022b5154856 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0