published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi
Properties of a migration.
Uses Azure REST API version 2025-08-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01-preview.
Other available API versions: 2023-03-01-preview, 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-08-01, 2024-11-01-preview, 2025-01-01-preview, 2025-06-01-preview, 2026-01-01-preview, 2026-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbforpostgresql [ApiVersion]. See the version guide for details.
Example Usage
Create a migration for validating only.
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[]
{
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
},
Location = "eastus",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "examplemigration",
MigrationOption = AzureNative.DBforPostgreSQL.MigrationOption.Validate,
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDatabasesOnTargetServer.True,
ResourceGroupName = "exampleresourcegroup",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "examplesourcepassword",
TargetServerPassword = "exampletargetpassword",
},
},
ServerName = "exampleserver",
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"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("exampledatabase1"),
pulumi.String("exampledatabase2"),
pulumi.String("exampledatabase3"),
pulumi.String("exampledatabase4"),
},
Location: pulumi.String("eastus"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("examplemigration"),
MigrationOption: pulumi.String(dbforpostgresql.MigrationOptionValidate),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDatabasesOnTargetServerTrue),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("examplesourcepassword"),
TargetServerPassword: pulumi.String("exampletargetpassword"),
},
},
ServerName: pulumi.String("exampleserver"),
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_dbforpostgresql_migration" "migration" {
dbs_to_migrate = ["exampledatabase1", "exampledatabase2", "exampledatabase3", "exampledatabase4"]
location = "eastus"
migration_mode = "Offline"
migration_name = "examplemigration"
migration_option = "Validate"
overwrite_dbs_in_target = "True"
resource_group_name = "exampleresourcegroup"
secret_parameters = {
admin_credentials = {
source_server_password = "examplesourcepassword"
target_server_password = "exampletargetpassword"
}
}
server_name = "exampleserver"
source_db_server_resource_id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"
}
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.ArrayList;
import java.util.Arrays;
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(
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4")
.location("eastus")
.migrationMode("Offline")
.migrationName("examplemigration")
.migrationOption("Validate")
.overwriteDbsInTarget("True")
.resourceGroupName("exampleresourcegroup")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("examplesourcepassword")
.targetServerPassword("exampletargetpassword")
.build())
.build())
.serverName("exampleserver")
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location: "eastus",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "examplemigration",
migrationOption: azure_native.dbforpostgresql.MigrationOption.Validate,
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.True,
resourceGroupName: "exampleresourcegroup",
secretParameters: {
adminCredentials: {
sourceServerPassword: "examplesourcepassword",
targetServerPassword: "exampletargetpassword",
},
},
serverName: "exampleserver",
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location="eastus",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="examplemigration",
migration_option=azure_native.dbforpostgresql.MigrationOption.VALIDATE,
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.TRUE,
resource_group_name="exampleresourcegroup",
secret_parameters={
"admin_credentials": {
"source_server_password": "examplesourcepassword",
"target_server_password": "exampletargetpassword",
},
},
server_name="exampleserver",
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- exampledatabase1
- exampledatabase2
- exampledatabase3
- exampledatabase4
location: eastus
migrationMode: Offline
migrationName: examplemigration
migrationOption: Validate
overwriteDbsInTarget: True
resourceGroupName: exampleresourcegroup
secretParameters:
adminCredentials:
sourceServerPassword: examplesourcepassword
targetServerPassword: exampletargetpassword
serverName: exampleserver
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource
Create a migration specifying 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[]
{
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
},
Location = "eastus",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "examplemigration",
ResourceGroupName = "exampleresourcegroup",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "examplesourcepassword",
TargetServerPassword = "exampletargetpassword",
},
SourceServerUsername = "newadmin@examplesource",
TargetServerUsername = "targetadmin",
},
ServerName = "exampleserver",
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"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("exampledatabase1"),
pulumi.String("exampledatabase2"),
pulumi.String("exampledatabase3"),
pulumi.String("exampledatabase4"),
},
Location: pulumi.String("eastus"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("examplemigration"),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("examplesourcepassword"),
TargetServerPassword: pulumi.String("exampletargetpassword"),
},
SourceServerUsername: pulumi.String("newadmin@examplesource"),
TargetServerUsername: pulumi.String("targetadmin"),
},
ServerName: pulumi.String("exampleserver"),
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_dbforpostgresql_migration" "migration" {
dbs_to_migrate = ["exampledatabase1", "exampledatabase2", "exampledatabase3", "exampledatabase4"]
location = "eastus"
migration_mode = "Offline"
migration_name = "examplemigration"
resource_group_name = "exampleresourcegroup"
secret_parameters = {
admin_credentials = {
source_server_password = "examplesourcepassword"
target_server_password = "exampletargetpassword"
}
source_server_username = "newadmin@examplesource"
target_server_username = "targetadmin"
}
server_name = "exampleserver"
source_db_server_resource_id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"
}
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.ArrayList;
import java.util.Arrays;
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(
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4")
.location("eastus")
.migrationMode("Offline")
.migrationName("examplemigration")
.resourceGroupName("exampleresourcegroup")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("examplesourcepassword")
.targetServerPassword("exampletargetpassword")
.build())
.sourceServerUsername("newadmin@examplesource")
.targetServerUsername("targetadmin")
.build())
.serverName("exampleserver")
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location: "eastus",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "examplemigration",
resourceGroupName: "exampleresourcegroup",
secretParameters: {
adminCredentials: {
sourceServerPassword: "examplesourcepassword",
targetServerPassword: "exampletargetpassword",
},
sourceServerUsername: "newadmin@examplesource",
targetServerUsername: "targetadmin",
},
serverName: "exampleserver",
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location="eastus",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="examplemigration",
resource_group_name="exampleresourcegroup",
secret_parameters={
"admin_credentials": {
"source_server_password": "examplesourcepassword",
"target_server_password": "exampletargetpassword",
},
"source_server_username": "newadmin@examplesource",
"target_server_username": "targetadmin",
},
server_name="exampleserver",
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- exampledatabase1
- exampledatabase2
- exampledatabase3
- exampledatabase4
location: eastus
migrationMode: Offline
migrationName: examplemigration
resourceGroupName: exampleresourcegroup
secretParameters:
adminCredentials:
sourceServerPassword: examplesourcepassword
targetServerPassword: exampletargetpassword
sourceServerUsername: newadmin@examplesource
targetServerUsername: targetadmin
serverName: exampleserver
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource
Create a migration with fully qualified domain names for source and target servers.
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[]
{
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
},
Location = "eastus",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "examplemigration",
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDatabasesOnTargetServer.True,
ResourceGroupName = "exampleresourcegroup",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "xxxxxxxx",
TargetServerPassword = "xxxxxxxx",
},
},
ServerName = "exampleserver",
SourceDbServerFullyQualifiedDomainName = "examplesource.contoso.com",
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
TargetDbServerFullyQualifiedDomainName = "exampletarget.contoso.com",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"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("exampledatabase1"),
pulumi.String("exampledatabase2"),
pulumi.String("exampledatabase3"),
pulumi.String("exampledatabase4"),
},
Location: pulumi.String("eastus"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("examplemigration"),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDatabasesOnTargetServerTrue),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("xxxxxxxx"),
TargetServerPassword: pulumi.String("xxxxxxxx"),
},
},
ServerName: pulumi.String("exampleserver"),
SourceDbServerFullyQualifiedDomainName: pulumi.String("examplesource.contoso.com"),
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"),
TargetDbServerFullyQualifiedDomainName: pulumi.String("exampletarget.contoso.com"),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_dbforpostgresql_migration" "migration" {
dbs_to_migrate = ["exampledatabase1", "exampledatabase2", "exampledatabase3", "exampledatabase4"]
location = "eastus"
migration_mode = "Offline"
migration_name = "examplemigration"
overwrite_dbs_in_target = "True"
resource_group_name = "exampleresourcegroup"
secret_parameters = {
admin_credentials = {
source_server_password = "xxxxxxxx"
target_server_password = "xxxxxxxx"
}
}
server_name = "exampleserver"
source_db_server_fully_qualified_domain_name = "examplesource.contoso.com"
source_db_server_resource_id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"
target_db_server_fully_qualified_domain_name = "exampletarget.contoso.com"
}
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.ArrayList;
import java.util.Arrays;
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(
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4")
.location("eastus")
.migrationMode("Offline")
.migrationName("examplemigration")
.overwriteDbsInTarget("True")
.resourceGroupName("exampleresourcegroup")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("xxxxxxxx")
.targetServerPassword("xxxxxxxx")
.build())
.build())
.serverName("exampleserver")
.sourceDbServerFullyQualifiedDomainName("examplesource.contoso.com")
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
.targetDbServerFullyQualifiedDomainName("exampletarget.contoso.com")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location: "eastus",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "examplemigration",
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.True,
resourceGroupName: "exampleresourcegroup",
secretParameters: {
adminCredentials: {
sourceServerPassword: "xxxxxxxx",
targetServerPassword: "xxxxxxxx",
},
},
serverName: "exampleserver",
sourceDbServerFullyQualifiedDomainName: "examplesource.contoso.com",
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
targetDbServerFullyQualifiedDomainName: "exampletarget.contoso.com",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location="eastus",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="examplemigration",
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.TRUE,
resource_group_name="exampleresourcegroup",
secret_parameters={
"admin_credentials": {
"source_server_password": "xxxxxxxx",
"target_server_password": "xxxxxxxx",
},
},
server_name="exampleserver",
source_db_server_fully_qualified_domain_name="examplesource.contoso.com",
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
target_db_server_fully_qualified_domain_name="exampletarget.contoso.com")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- exampledatabase1
- exampledatabase2
- exampledatabase3
- exampledatabase4
location: eastus
migrationMode: Offline
migrationName: examplemigration
overwriteDbsInTarget: True
resourceGroupName: exampleresourcegroup
secretParameters:
adminCredentials:
sourceServerPassword: xxxxxxxx
targetServerPassword: xxxxxxxx
serverName: exampleserver
sourceDbServerFullyQualifiedDomainName: examplesource.contoso.com
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource
targetDbServerFullyQualifiedDomainName: exampletarget.contoso.com
Create a migration with other source type for validating and migrating.
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[]
{
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
},
Location = "eastus",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "examplemigration",
MigrationOption = AzureNative.DBforPostgreSQL.MigrationOption.ValidateAndMigrate,
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDatabasesOnTargetServer.True,
ResourceGroupName = "exampleresourcegroup",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "examplesourcepassword",
TargetServerPassword = "exampletargetpassword",
},
},
ServerName = "exampleserver",
SourceDbServerResourceId = "examplesource:5432@exampleuser",
SourceType = AzureNative.DBforPostgreSQL.SourceType.OnPremises,
SslMode = AzureNative.DBforPostgreSQL.SslMode.Prefer,
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"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("exampledatabase1"),
pulumi.String("exampledatabase2"),
pulumi.String("exampledatabase3"),
pulumi.String("exampledatabase4"),
},
Location: pulumi.String("eastus"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("examplemigration"),
MigrationOption: pulumi.String(dbforpostgresql.MigrationOptionValidateAndMigrate),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDatabasesOnTargetServerTrue),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("examplesourcepassword"),
TargetServerPassword: pulumi.String("exampletargetpassword"),
},
},
ServerName: pulumi.String("exampleserver"),
SourceDbServerResourceId: pulumi.String("examplesource:5432@exampleuser"),
SourceType: pulumi.String(dbforpostgresql.SourceTypeOnPremises),
SslMode: pulumi.String(dbforpostgresql.SslModePrefer),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_dbforpostgresql_migration" "migration" {
dbs_to_migrate = ["exampledatabase1", "exampledatabase2", "exampledatabase3", "exampledatabase4"]
location = "eastus"
migration_mode = "Offline"
migration_name = "examplemigration"
migration_option = "ValidateAndMigrate"
overwrite_dbs_in_target = "True"
resource_group_name = "exampleresourcegroup"
secret_parameters = {
admin_credentials = {
source_server_password = "examplesourcepassword"
target_server_password = "exampletargetpassword"
}
}
server_name = "exampleserver"
source_db_server_resource_id = "examplesource:5432@exampleuser"
source_type = "OnPremises"
ssl_mode = "Prefer"
}
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.ArrayList;
import java.util.Arrays;
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(
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4")
.location("eastus")
.migrationMode("Offline")
.migrationName("examplemigration")
.migrationOption("ValidateAndMigrate")
.overwriteDbsInTarget("True")
.resourceGroupName("exampleresourcegroup")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("examplesourcepassword")
.targetServerPassword("exampletargetpassword")
.build())
.build())
.serverName("exampleserver")
.sourceDbServerResourceId("examplesource:5432@exampleuser")
.sourceType("OnPremises")
.sslMode("Prefer")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location: "eastus",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "examplemigration",
migrationOption: azure_native.dbforpostgresql.MigrationOption.ValidateAndMigrate,
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.True,
resourceGroupName: "exampleresourcegroup",
secretParameters: {
adminCredentials: {
sourceServerPassword: "examplesourcepassword",
targetServerPassword: "exampletargetpassword",
},
},
serverName: "exampleserver",
sourceDbServerResourceId: "examplesource:5432@exampleuser",
sourceType: azure_native.dbforpostgresql.SourceType.OnPremises,
sslMode: azure_native.dbforpostgresql.SslMode.Prefer,
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location="eastus",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="examplemigration",
migration_option=azure_native.dbforpostgresql.MigrationOption.VALIDATE_AND_MIGRATE,
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.TRUE,
resource_group_name="exampleresourcegroup",
secret_parameters={
"admin_credentials": {
"source_server_password": "examplesourcepassword",
"target_server_password": "exampletargetpassword",
},
},
server_name="exampleserver",
source_db_server_resource_id="examplesource:5432@exampleuser",
source_type=azure_native.dbforpostgresql.SourceType.ON_PREMISES,
ssl_mode=azure_native.dbforpostgresql.SslMode.PREFER)
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- exampledatabase1
- exampledatabase2
- exampledatabase3
- exampledatabase4
location: eastus
migrationMode: Offline
migrationName: examplemigration
migrationOption: ValidateAndMigrate
overwriteDbsInTarget: True
resourceGroupName: exampleresourcegroup
secretParameters:
adminCredentials:
sourceServerPassword: examplesourcepassword
targetServerPassword: exampletargetpassword
serverName: exampleserver
sourceDbServerResourceId: examplesource:5432@exampleuser
sourceType: OnPremises
sslMode: Prefer
Create a migration with private endpoint.
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[]
{
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
},
Location = "eastus",
MigrationInstanceResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "examplemigration",
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDatabasesOnTargetServer.True,
ResourceGroupName = "exampleresourcegroup",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "examplesourcepassword",
TargetServerPassword = "exampletargetpassword",
},
},
ServerName = "exampleserver",
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"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("exampledatabase1"),
pulumi.String("exampledatabase2"),
pulumi.String("exampledatabase3"),
pulumi.String("exampledatabase4"),
},
Location: pulumi.String("eastus"),
MigrationInstanceResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("examplemigration"),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDatabasesOnTargetServerTrue),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("examplesourcepassword"),
TargetServerPassword: pulumi.String("exampletargetpassword"),
},
},
ServerName: pulumi.String("exampleserver"),
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_dbforpostgresql_migration" "migration" {
dbs_to_migrate = ["exampledatabase1", "exampledatabase2", "exampledatabase3", "exampledatabase4"]
location = "eastus"
migration_instance_resource_id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration"
migration_mode = "Offline"
migration_name = "examplemigration"
overwrite_dbs_in_target = "True"
resource_group_name = "exampleresourcegroup"
secret_parameters = {
admin_credentials = {
source_server_password = "examplesourcepassword"
target_server_password = "exampletargetpassword"
}
}
server_name = "exampleserver"
source_db_server_resource_id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"
}
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.ArrayList;
import java.util.Arrays;
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(
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4")
.location("eastus")
.migrationInstanceResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration")
.migrationMode("Offline")
.migrationName("examplemigration")
.overwriteDbsInTarget("True")
.resourceGroupName("exampleresourcegroup")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("examplesourcepassword")
.targetServerPassword("exampletargetpassword")
.build())
.build())
.serverName("exampleserver")
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location: "eastus",
migrationInstanceResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "examplemigration",
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.True,
resourceGroupName: "exampleresourcegroup",
secretParameters: {
adminCredentials: {
sourceServerPassword: "examplesourcepassword",
targetServerPassword: "exampletargetpassword",
},
},
serverName: "exampleserver",
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location="eastus",
migration_instance_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="examplemigration",
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.TRUE,
resource_group_name="exampleresourcegroup",
secret_parameters={
"admin_credentials": {
"source_server_password": "examplesourcepassword",
"target_server_password": "exampletargetpassword",
},
},
server_name="exampleserver",
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- exampledatabase1
- exampledatabase2
- exampledatabase3
- exampledatabase4
location: eastus
migrationInstanceResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration
migrationMode: Offline
migrationName: examplemigration
overwriteDbsInTarget: True
resourceGroupName: exampleresourcegroup
secretParameters:
adminCredentials:
sourceServerPassword: examplesourcepassword
targetServerPassword: exampletargetpassword
serverName: exampleserver
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource
Create a migration with roles.
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[]
{
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
},
Location = "eastus",
MigrateRoles = AzureNative.DBforPostgreSQL.MigrateRolesAndPermissions.True,
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "examplemigration",
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDatabasesOnTargetServer.True,
ResourceGroupName = "exampleresourcegroup",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "examplesourcepassword",
TargetServerPassword = "exampletargetpassword",
},
},
ServerName = "exampleserver",
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"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("exampledatabase1"),
pulumi.String("exampledatabase2"),
pulumi.String("exampledatabase3"),
pulumi.String("exampledatabase4"),
},
Location: pulumi.String("eastus"),
MigrateRoles: pulumi.String(dbforpostgresql.MigrateRolesAndPermissionsTrue),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("examplemigration"),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDatabasesOnTargetServerTrue),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("examplesourcepassword"),
TargetServerPassword: pulumi.String("exampletargetpassword"),
},
},
ServerName: pulumi.String("exampleserver"),
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_dbforpostgresql_migration" "migration" {
dbs_to_migrate = ["exampledatabase1", "exampledatabase2", "exampledatabase3", "exampledatabase4"]
location = "eastus"
migrate_roles = "True"
migration_mode = "Offline"
migration_name = "examplemigration"
overwrite_dbs_in_target = "True"
resource_group_name = "exampleresourcegroup"
secret_parameters = {
admin_credentials = {
source_server_password = "examplesourcepassword"
target_server_password = "exampletargetpassword"
}
}
server_name = "exampleserver"
source_db_server_resource_id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"
}
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.ArrayList;
import java.util.Arrays;
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(
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4")
.location("eastus")
.migrateRoles("True")
.migrationMode("Offline")
.migrationName("examplemigration")
.overwriteDbsInTarget("True")
.resourceGroupName("exampleresourcegroup")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("examplesourcepassword")
.targetServerPassword("exampletargetpassword")
.build())
.build())
.serverName("exampleserver")
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location: "eastus",
migrateRoles: azure_native.dbforpostgresql.MigrateRolesAndPermissions.True,
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "examplemigration",
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.True,
resourceGroupName: "exampleresourcegroup",
secretParameters: {
adminCredentials: {
sourceServerPassword: "examplesourcepassword",
targetServerPassword: "exampletargetpassword",
},
},
serverName: "exampleserver",
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location="eastus",
migrate_roles=azure_native.dbforpostgresql.MigrateRolesAndPermissions.TRUE,
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="examplemigration",
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.TRUE,
resource_group_name="exampleresourcegroup",
secret_parameters={
"admin_credentials": {
"source_server_password": "examplesourcepassword",
"target_server_password": "exampletargetpassword",
},
},
server_name="exampleserver",
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- exampledatabase1
- exampledatabase2
- exampledatabase3
- exampledatabase4
location: eastus
migrateRoles: True
migrationMode: Offline
migrationName: examplemigration
overwriteDbsInTarget: True
resourceGroupName: exampleresourcegroup
secretParameters:
adminCredentials:
sourceServerPassword: examplesourcepassword
targetServerPassword: exampletargetpassword
serverName: exampleserver
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource
Create a migration.
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[]
{
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
},
Location = "eastus",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "examplemigration",
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDatabasesOnTargetServer.True,
ResourceGroupName = "exampleresourcegroup",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "examplesourcepassword",
TargetServerPassword = "exampletargetpassword",
},
},
ServerName = "exampleserver",
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"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("exampledatabase1"),
pulumi.String("exampledatabase2"),
pulumi.String("exampledatabase3"),
pulumi.String("exampledatabase4"),
},
Location: pulumi.String("eastus"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("examplemigration"),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDatabasesOnTargetServerTrue),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("examplesourcepassword"),
TargetServerPassword: pulumi.String("exampletargetpassword"),
},
},
ServerName: pulumi.String("exampleserver"),
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_dbforpostgresql_migration" "migration" {
dbs_to_migrate = ["exampledatabase1", "exampledatabase2", "exampledatabase3", "exampledatabase4"]
location = "eastus"
migration_mode = "Offline"
migration_name = "examplemigration"
overwrite_dbs_in_target = "True"
resource_group_name = "exampleresourcegroup"
secret_parameters = {
admin_credentials = {
source_server_password = "examplesourcepassword"
target_server_password = "exampletargetpassword"
}
}
server_name = "exampleserver"
source_db_server_resource_id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource"
}
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.ArrayList;
import java.util.Arrays;
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(
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4")
.location("eastus")
.migrationMode("Offline")
.migrationName("examplemigration")
.overwriteDbsInTarget("True")
.resourceGroupName("exampleresourcegroup")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("examplesourcepassword")
.targetServerPassword("exampletargetpassword")
.build())
.build())
.serverName("exampleserver")
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location: "eastus",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "examplemigration",
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.True,
resourceGroupName: "exampleresourcegroup",
secretParameters: {
adminCredentials: {
sourceServerPassword: "examplesourcepassword",
targetServerPassword: "exampletargetpassword",
},
},
serverName: "exampleserver",
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"exampledatabase1",
"exampledatabase2",
"exampledatabase3",
"exampledatabase4",
],
location="eastus",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="examplemigration",
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDatabasesOnTargetServer.TRUE,
resource_group_name="exampleresourcegroup",
secret_parameters={
"admin_credentials": {
"source_server_password": "examplesourcepassword",
"target_server_password": "exampletargetpassword",
},
},
server_name="exampleserver",
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- exampledatabase1
- exampledatabase2
- exampledatabase3
- exampledatabase4
location: eastus
migrationMode: Offline
migrationName: examplemigration
overwriteDbsInTarget: True
resourceGroupName: exampleresourcegroup
secretParameters:
adminCredentials:
sourceServerPassword: examplesourcepassword
targetServerPassword: exampletargetpassword
serverName: exampleserver
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource
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,
server_name: Optional[str] = None,
overwrite_dbs_in_target: Optional[Union[str, OverwriteDatabasesOnTargetServer]] = None,
migration_window_end_time_in_utc: Optional[str] = None,
location: Optional[str] = None,
migrate_roles: Optional[Union[str, MigrateRolesAndPermissions]] = None,
migration_instance_resource_id: Optional[str] = None,
migration_mode: Optional[Union[str, MigrationMode]] = None,
migration_name: Optional[str] = None,
secret_parameters: Optional[MigrationSecretParametersArgs] = None,
dbs_to_migrate: Optional[Sequence[str]] = None,
migration_window_start_time_in_utc: Optional[str] = None,
dbs_to_trigger_cutover_on: Optional[Sequence[str]] = None,
cancel: Optional[Union[str, Cancel]] = None,
migration_option: Optional[Union[str, MigrationOption]] = None,
dbs_to_cancel_migration_on: Optional[Sequence[str]] = None,
setup_logical_replication_on_source_db_if_needed: Optional[Union[str, LogicalReplicationOnSourceServer]] = None,
source_db_server_fully_qualified_domain_name: Optional[str] = None,
source_db_server_resource_id: Optional[str] = None,
source_type: Optional[Union[str, SourceType]] = None,
ssl_mode: Optional[Union[str, SslMode]] = None,
start_data_migration: Optional[Union[str, StartDataMigration]] = None,
tags: Optional[Mapping[str, str]] = None,
target_db_server_fully_qualified_domain_name: Optional[str] = None,
trigger_cutover: Optional[Union[str, TriggerCutover]] = 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.
resource "azure-native_dbforpostgresql_migration" "name" {
# resource properties
}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",
ServerName = "string",
OverwriteDbsInTarget = "string",
MigrationWindowEndTimeInUtc = "string",
Location = "string",
MigrateRoles = "string",
MigrationInstanceResourceId = "string",
MigrationMode = "string",
MigrationName = "string",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "string",
TargetServerPassword = "string",
},
SourceServerUsername = "string",
TargetServerUsername = "string",
},
DbsToMigrate = new[]
{
"string",
},
MigrationWindowStartTimeInUtc = "string",
DbsToTriggerCutoverOn = new[]
{
"string",
},
Cancel = "string",
MigrationOption = "string",
DbsToCancelMigrationOn = new[]
{
"string",
},
SetupLogicalReplicationOnSourceDbIfNeeded = "string",
SourceDbServerFullyQualifiedDomainName = "string",
SourceDbServerResourceId = "string",
SourceType = "string",
SslMode = "string",
StartDataMigration = "string",
Tags =
{
{ "string", "string" },
},
TargetDbServerFullyQualifiedDomainName = "string",
TriggerCutover = "string",
});
example, err := dbforpostgresql.NewMigration(ctx, "migrationResource", &dbforpostgresql.MigrationArgs{
ResourceGroupName: pulumi.String("string"),
ServerName: pulumi.String("string"),
OverwriteDbsInTarget: pulumi.String("string"),
MigrationWindowEndTimeInUtc: pulumi.String("string"),
Location: pulumi.String("string"),
MigrateRoles: pulumi.String("string"),
MigrationInstanceResourceId: pulumi.String("string"),
MigrationMode: pulumi.String("string"),
MigrationName: 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"),
},
DbsToMigrate: pulumi.StringArray{
pulumi.String("string"),
},
MigrationWindowStartTimeInUtc: pulumi.String("string"),
DbsToTriggerCutoverOn: pulumi.StringArray{
pulumi.String("string"),
},
Cancel: pulumi.String("string"),
MigrationOption: pulumi.String("string"),
DbsToCancelMigrationOn: pulumi.StringArray{
pulumi.String("string"),
},
SetupLogicalReplicationOnSourceDbIfNeeded: pulumi.String("string"),
SourceDbServerFullyQualifiedDomainName: pulumi.String("string"),
SourceDbServerResourceId: pulumi.String("string"),
SourceType: pulumi.String("string"),
SslMode: pulumi.String("string"),
StartDataMigration: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TargetDbServerFullyQualifiedDomainName: pulumi.String("string"),
TriggerCutover: pulumi.String("string"),
})
resource "azure-native_dbforpostgresql_migration" "migrationResource" {
lifecycle {
create_before_destroy = true
}
resource_group_name = "string"
server_name = "string"
overwrite_dbs_in_target = "string"
migration_window_end_time_in_utc = "string"
location = "string"
migrate_roles = "string"
migration_instance_resource_id = "string"
migration_mode = "string"
migration_name = "string"
secret_parameters = {
admin_credentials = {
source_server_password = "string"
target_server_password = "string"
}
source_server_username = "string"
target_server_username = "string"
}
dbs_to_migrate = ["string"]
migration_window_start_time_in_utc = "string"
dbs_to_trigger_cutover_on = ["string"]
cancel = "string"
migration_option = "string"
dbs_to_cancel_migration_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"
source_type = "string"
ssl_mode = "string"
start_data_migration = "string"
tags = {
"string" = "string"
}
target_db_server_fully_qualified_domain_name = "string"
trigger_cutover = "string"
}
var migrationResource = new Migration("migrationResource", MigrationArgs.builder()
.resourceGroupName("string")
.serverName("string")
.overwriteDbsInTarget("string")
.migrationWindowEndTimeInUtc("string")
.location("string")
.migrateRoles("string")
.migrationInstanceResourceId("string")
.migrationMode("string")
.migrationName("string")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("string")
.targetServerPassword("string")
.build())
.sourceServerUsername("string")
.targetServerUsername("string")
.build())
.dbsToMigrate("string")
.migrationWindowStartTimeInUtc("string")
.dbsToTriggerCutoverOn("string")
.cancel("string")
.migrationOption("string")
.dbsToCancelMigrationOn("string")
.setupLogicalReplicationOnSourceDbIfNeeded("string")
.sourceDbServerFullyQualifiedDomainName("string")
.sourceDbServerResourceId("string")
.sourceType("string")
.sslMode("string")
.startDataMigration("string")
.tags(Map.of("string", "string"))
.targetDbServerFullyQualifiedDomainName("string")
.triggerCutover("string")
.build());
migration_resource = azure_native.dbforpostgresql.Migration("migrationResource",
resource_group_name="string",
server_name="string",
overwrite_dbs_in_target="string",
migration_window_end_time_in_utc="string",
location="string",
migrate_roles="string",
migration_instance_resource_id="string",
migration_mode="string",
migration_name="string",
secret_parameters={
"admin_credentials": {
"source_server_password": "string",
"target_server_password": "string",
},
"source_server_username": "string",
"target_server_username": "string",
},
dbs_to_migrate=["string"],
migration_window_start_time_in_utc="string",
dbs_to_trigger_cutover_on=["string"],
cancel="string",
migration_option="string",
dbs_to_cancel_migration_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",
source_type="string",
ssl_mode="string",
start_data_migration="string",
tags={
"string": "string",
},
target_db_server_fully_qualified_domain_name="string",
trigger_cutover="string")
const migrationResource = new azure_native.dbforpostgresql.Migration("migrationResource", {
resourceGroupName: "string",
serverName: "string",
overwriteDbsInTarget: "string",
migrationWindowEndTimeInUtc: "string",
location: "string",
migrateRoles: "string",
migrationInstanceResourceId: "string",
migrationMode: "string",
migrationName: "string",
secretParameters: {
adminCredentials: {
sourceServerPassword: "string",
targetServerPassword: "string",
},
sourceServerUsername: "string",
targetServerUsername: "string",
},
dbsToMigrate: ["string"],
migrationWindowStartTimeInUtc: "string",
dbsToTriggerCutoverOn: ["string"],
cancel: "string",
migrationOption: "string",
dbsToCancelMigrationOn: ["string"],
setupLogicalReplicationOnSourceDbIfNeeded: "string",
sourceDbServerFullyQualifiedDomainName: "string",
sourceDbServerResourceId: "string",
sourceType: "string",
sslMode: "string",
startDataMigration: "string",
tags: {
string: "string",
},
targetDbServerFullyQualifiedDomainName: "string",
triggerCutover: "string",
});
type: azure-native:dbforpostgresql:Migration
properties:
cancel: string
dbsToCancelMigrationOn:
- string
dbsToMigrate:
- string
dbsToTriggerCutoverOn:
- string
location: string
migrateRoles: string
migrationInstanceResourceId: string
migrationMode: string
migrationName: string
migrationOption: string
migrationWindowEndTimeInUtc: string
migrationWindowStartTimeInUtc: string
overwriteDbsInTarget: string
resourceGroupName: string
secretParameters:
adminCredentials:
sourceServerPassword: string
targetServerPassword: string
sourceServerUsername: string
targetServerUsername: string
serverName: string
setupLogicalReplicationOnSourceDbIfNeeded: string
sourceDbServerFullyQualifiedDomainName: string
sourceDbServerResourceId: string
sourceType: string
sslMode: string
startDataMigration: string
tags:
string: string
targetDbServerFullyQualifiedDomainName: 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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Server
Name string - The name of the server.
- Cancel
string | Pulumi.
Azure Native. DBfor Postgre SQL. Cancel - Indicates if cancel must be triggered for the entire migration.
- Dbs
To List<string>Cancel Migration On - When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- Dbs
To List<string>Migrate - Names of databases to migrate.
- Dbs
To List<string>Trigger Cutover On - When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- Location string
- The geo-location where the resource lives
- Migrate
Roles string | Pulumi.Azure Native. DBfor Postgre SQL. Migrate Roles And Permissions - Indicates if roles and permissions must be migrated.
- Migration
Instance stringResource Id - Identifier of the private endpoint migration instance.
- Migration
Mode string | Pulumi.Azure Native. DBfor Postgre SQL. Migration Mode - Mode used to perform the migration: Online or Offline.
- Migration
Name string - Name of migration.
- Migration
Option string | Pulumi.Azure Native. DBfor Postgre SQL. Migration Option - Supported option for a migration.
- Migration
Window stringEnd Time In Utc - End time (UTC) for migration window.
- Migration
Window stringStart Time In Utc - Start time (UTC) for migration window.
- Overwrite
Dbs string | Pulumi.In Target Azure Native. DBfor Postgre SQL. Overwrite Databases On Target Server - Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- Secret
Parameters Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Migration Secret Parameters - Migration secret parameters.
- Setup
Logical string | Pulumi.Replication On Source Db If Needed Azure Native. DBfor Postgre SQL. Logical Replication On Source Server - Indicates whether to setup logical replication on source server, if needed.
- Source
Db stringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
- Source
Db stringServer Resource Id - Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
- Source
Type string | Pulumi.Azure Native. DBfor Postgre SQL. Source Type - Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
- Ssl
Mode string | Pulumi.Azure Native. DBfor Postgre SQL. Ssl Mode - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- Start
Data string | Pulumi.Migration Azure Native. DBfor Postgre SQL. Start Data Migration - Indicates if data migration must start right away.
- Dictionary<string, string>
- Resource tags.
- Target
Db stringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
- Trigger
Cutover string | Pulumi.Azure Native. DBfor Postgre SQL. Trigger Cutover - Indicates if cutover must be triggered for the entire migration.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Server
Name string - The name of the server.
- Cancel string | Cancel
- Indicates if cancel must be triggered for the entire migration.
- Dbs
To []stringCancel Migration On - When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- Dbs
To []stringMigrate - Names of databases to migrate.
- Dbs
To []stringTrigger Cutover On - When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- Location string
- The geo-location where the resource lives
- Migrate
Roles string | MigrateRoles And Permissions - Indicates if roles and permissions must be migrated.
- Migration
Instance stringResource Id - Identifier of the private endpoint migration instance.
- Migration
Mode string | MigrationMode - Mode used to perform the migration: Online or Offline.
- Migration
Name string - Name of migration.
- Migration
Option string | MigrationOption - Supported option for a migration.
- Migration
Window stringEnd Time In Utc - End time (UTC) for migration window.
- Migration
Window stringStart Time In Utc - Start time (UTC) for migration window.
- Overwrite
Dbs string | OverwriteIn Target Databases On Target Server - Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- Secret
Parameters MigrationSecret Parameters Args - Migration secret parameters.
- Setup
Logical string | LogicalReplication On Source Db If Needed Replication On Source Server - Indicates whether to setup logical replication on source server, if needed.
- Source
Db stringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
- Source
Db stringServer Resource Id - Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
- Source
Type string | SourceType - Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
- Ssl
Mode string | SslMode - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- Start
Data string | StartMigration Data Migration - Indicates if data migration must start right away.
- map[string]string
- Resource tags.
- Target
Db stringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
- Trigger
Cutover string | TriggerCutover - Indicates if cutover must be triggered for the entire migration.
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- server_
name string - The name of the server.
- cancel string | "True" | "False"
- Indicates if cancel must be triggered for the entire migration.
- dbs_
to_ list(string)cancel_ migration_ on - When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- dbs_
to_ list(string)migrate - Names of databases to migrate.
- dbs_
to_ list(string)trigger_ cutover_ on - When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- location string
- The geo-location where the resource lives
- migrate_
roles string | "True" | "False" - Indicates if roles and permissions must be migrated.
- migration_
instance_ stringresource_ id - Identifier of the private endpoint migration instance.
- migration_
mode string | "Offline" | "Online" - Mode used to perform the migration: Online or Offline.
- migration_
name string - Name of migration.
- migration_
option string | "Validate" | "Migrate" | "ValidateAnd Migrate" - Supported option for a migration.
- migration_
window_ stringend_ time_ in_ utc - End time (UTC) for migration window.
- migration_
window_ stringstart_ time_ in_ utc - Start time (UTC) for migration window.
- overwrite_
dbs_ string | "True" | "False"in_ target - Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- secret_
parameters object - Migration secret parameters.
- setup_
logical_ string | "True" | "False"replication_ on_ source_ db_ if_ needed - Indicates whether to setup logical replication on source server, if needed.
- source_
db_ stringserver_ fully_ qualified_ domain_ name - Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
- source_
db_ stringserver_ resource_ id - Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
- source_
type string | "OnPremises" | "AWS" | "GCP" | "Azure VM" | "Postgre SQLSingle Server" | "AWS_RDS" | "AWS_AURORA" | "AWS_EC2" | "GCP_Cloud SQL" | "GCP_Alloy DB" | "GCP_Compute" | "EDB" | "EDB_Oracle_Server" | "EDB_Postgre SQL" | "Postgre SQLFlexible Server" | "Postgre SQLCosmos DB" | "Huawei_RDS" | "Huawei_Compute" | "Heroku_Postgre SQL" | "Crunchy_Postgre SQL" | "Apsara DB_RDS" | "Digital_Ocean_Droplets" | "Digital_Ocean_Postgre SQL" | "Supabase_Postgre SQL" - Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
- ssl_
mode string | "Prefer" | "Require" | "VerifyCA" | "Verify Full" - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- start_
data_ string | "True" | "False"migration - Indicates if data migration must start right away.
- map(string)
- Resource tags.
- target_
db_ stringserver_ fully_ qualified_ domain_ name - Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
- trigger_
cutover string | "True" | "False" - Indicates if cutover must be triggered for the entire migration.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- server
Name String - The name of the server.
- cancel String | Cancel
- Indicates if cancel must be triggered for the entire migration.
- dbs
To List<String>Cancel Migration On - When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- dbs
To List<String>Migrate - Names of databases to migrate.
- dbs
To List<String>Trigger Cutover On - When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- location String
- The geo-location where the resource lives
- migrate
Roles String | MigrateRoles And Permissions - Indicates if roles and permissions must be migrated.
- migration
Instance StringResource Id - Identifier of the private endpoint migration instance.
- migration
Mode String | MigrationMode - Mode used to perform the migration: Online or Offline.
- migration
Name String - Name of migration.
- migration
Option String | MigrationOption - Supported option for a migration.
- migration
Window StringEnd Time In Utc - End time (UTC) for migration window.
- migration
Window StringStart Time In Utc - Start time (UTC) for migration window.
- overwrite
Dbs String | OverwriteIn Target Databases On Target Server - Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- secret
Parameters MigrationSecret Parameters - Migration secret parameters.
- setup
Logical String | LogicalReplication On Source Db If Needed Replication On Source Server - Indicates whether to setup logical replication on source server, if needed.
- source
Db StringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
- source
Db StringServer Resource Id - Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
- source
Type String | SourceType - Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
- ssl
Mode String | SslMode - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- start
Data String | StartMigration Data Migration - Indicates if data migration must start right away.
- Map<String,String>
- Resource tags.
- target
Db StringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
- trigger
Cutover String | TriggerCutover - Indicates if cutover must be triggered for the entire migration.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- server
Name string - The name of the server.
- cancel string | Cancel
- Indicates if cancel must be triggered for the entire migration.
- dbs
To string[]Cancel Migration On - When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- dbs
To string[]Migrate - Names of databases to migrate.
- dbs
To string[]Trigger Cutover On - When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- location string
- The geo-location where the resource lives
- migrate
Roles string | MigrateRoles And Permissions - Indicates if roles and permissions must be migrated.
- migration
Instance stringResource Id - Identifier of the private endpoint migration instance.
- migration
Mode string | MigrationMode - Mode used to perform the migration: Online or Offline.
- migration
Name string - Name of migration.
- migration
Option string | MigrationOption - Supported option for a migration.
- migration
Window stringEnd Time In Utc - End time (UTC) for migration window.
- migration
Window stringStart Time In Utc - Start time (UTC) for migration window.
- overwrite
Dbs string | OverwriteIn Target Databases On Target Server - Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- secret
Parameters MigrationSecret Parameters - Migration secret parameters.
- setup
Logical string | LogicalReplication On Source Db If Needed Replication On Source Server - Indicates whether to setup logical replication on source server, if needed.
- source
Db stringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
- source
Db stringServer Resource Id - Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
- source
Type string | SourceType - Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
- ssl
Mode string | SslMode - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- start
Data string | StartMigration Data Migration - Indicates if data migration must start right away.
- {[key: string]: string}
- Resource tags.
- target
Db stringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
- trigger
Cutover string | TriggerCutover - Indicates if cutover must be triggered for the entire migration.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- server_
name str - The name of the server.
- cancel str | Cancel
- Indicates if cancel must be triggered for the entire migration.
- dbs_
to_ Sequence[str]cancel_ migration_ on - When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- dbs_
to_ Sequence[str]migrate - Names of databases to migrate.
- dbs_
to_ Sequence[str]trigger_ cutover_ on - When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- location str
- The geo-location where the resource lives
- migrate_
roles str | MigrateRoles And Permissions - Indicates if roles and permissions must be migrated.
- migration_
instance_ strresource_ id - Identifier of the private endpoint migration instance.
- migration_
mode str | MigrationMode - Mode used to perform the migration: Online or Offline.
- migration_
name str - Name of migration.
- migration_
option str | MigrationOption - Supported option for a migration.
- migration_
window_ strend_ time_ in_ utc - End time (UTC) for migration window.
- migration_
window_ strstart_ time_ in_ utc - Start time (UTC) for migration window.
- overwrite_
dbs_ str | Overwritein_ target Databases On Target Server - Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- secret_
parameters MigrationSecret Parameters Args - Migration secret parameters.
- setup_
logical_ str | Logicalreplication_ on_ source_ db_ if_ needed Replication On Source Server - Indicates whether to setup logical replication on source server, if needed.
- source_
db_ strserver_ fully_ qualified_ domain_ name - Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
- source_
db_ strserver_ resource_ id - Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
- source_
type str | SourceType - Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
- ssl_
mode str | SslMode - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- start_
data_ str | Startmigration Data Migration - Indicates if data migration must start right away.
- Mapping[str, str]
- Resource tags.
- target_
db_ strserver_ fully_ qualified_ domain_ name - Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
- trigger_
cutover str | TriggerCutover - Indicates if cutover must be triggered for the entire migration.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- server
Name String - The name of the server.
- cancel String | "True" | "False"
- Indicates if cancel must be triggered for the entire migration.
- dbs
To List<String>Cancel Migration On - When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- dbs
To List<String>Migrate - Names of databases to migrate.
- dbs
To List<String>Trigger Cutover On - When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
- location String
- The geo-location where the resource lives
- migrate
Roles String | "True" | "False" - Indicates if roles and permissions must be migrated.
- migration
Instance StringResource Id - Identifier of the private endpoint migration instance.
- migration
Mode String | "Offline" | "Online" - Mode used to perform the migration: Online or Offline.
- migration
Name String - Name of migration.
- migration
Option String | "Validate" | "Migrate" | "ValidateAnd Migrate" - Supported option for a migration.
- migration
Window StringEnd Time In Utc - End time (UTC) for migration window.
- migration
Window StringStart Time In Utc - Start time (UTC) for migration window.
- overwrite
Dbs String | "True" | "False"In Target - Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- secret
Parameters Property Map - Migration secret parameters.
- setup
Logical String | "True" | "False"Replication On Source Db If Needed - Indicates whether to setup logical replication on source server, if needed.
- source
Db StringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
- source
Db StringServer Resource Id - Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
- source
Type String | "OnPremises" | "AWS" | "GCP" | "Azure VM" | "Postgre SQLSingle Server" | "AWS_RDS" | "AWS_AURORA" | "AWS_EC2" | "GCP_Cloud SQL" | "GCP_Alloy DB" | "GCP_Compute" | "EDB" | "EDB_Oracle_Server" | "EDB_Postgre SQL" | "Postgre SQLFlexible Server" | "Postgre SQLCosmos DB" | "Huawei_RDS" | "Huawei_Compute" | "Heroku_Postgre SQL" | "Crunchy_Postgre SQL" | "Apsara DB_RDS" | "Digital_Ocean_Droplets" | "Digital_Ocean_Postgre SQL" | "Supabase_Postgre SQL" - Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
- ssl
Mode String | "Prefer" | "Require" | "VerifyCA" | "Verify Full" - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- start
Data String | "True" | "False"Migration - Indicates if data migration must start right away.
- Map<String>
- Resource tags.
- target
Db StringServer Fully Qualified Domain Name - Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
- trigger
Cutover String | "True" | "False" - Indicates if cutover must be triggered for the entire migration.
Outputs
All input properties are implicitly available as output properties. Additionally, the Migration resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Current
Status Pulumi.Azure Native. DBfor Postgre SQL. Outputs. Migration Status Response - Current status of a migration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - Identifier of a migration.
- Name string
- The name of the resource
- Source
Db Pulumi.Server Metadata Azure Native. DBfor Postgre SQL. Outputs. Db Server Metadata Response - Metadata of source database server.
- System
Data Pulumi.Azure Native. DBfor Postgre SQL. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Target
Db Pulumi.Server Metadata Azure Native. DBfor Postgre SQL. Outputs. Db Server Metadata Response - Metadata of target database server.
- Target
Db stringServer Resource Id - Identifier of the target database server resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Current
Status MigrationStatus Response - Current status of a migration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - Identifier of a migration.
- Name string
- The name of the resource
- Source
Db DbServer Metadata Server Metadata Response - Metadata of 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 target database server.
- Target
Db stringServer Resource Id - Identifier of the target database server resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ stringversion - The Azure API version of the resource.
- current_
status object - Current status of a migration.
- id string
- The provider-assigned unique ID for this managed resource.
- migration_
id string - Identifier of a migration.
- name string
- The name of the resource
- source_
db_ objectserver_ metadata - Metadata of source database server.
- system_
data object - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target_
db_ objectserver_ metadata - Metadata of target database server.
- target_
db_ stringserver_ resource_ id - Identifier of the target database server resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- current
Status MigrationStatus Response - Current status of a migration.
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - Identifier of a migration.
- name String
- The name of the resource
- source
Db DbServer Metadata Server Metadata Response - Metadata of 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 target database server.
- target
Db StringServer Resource Id - Identifier of the target database server resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- current
Status MigrationStatus Response - Current status of a migration.
- id string
- The provider-assigned unique ID for this managed resource.
- migration
Id string - Identifier of a migration.
- name string
- The name of the resource
- source
Db DbServer Metadata Server Metadata Response - Metadata of 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 target database server.
- target
Db stringServer Resource Id - Identifier of the target database server resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- current_
status MigrationStatus Response - Current status of a migration.
- id str
- The provider-assigned unique ID for this managed resource.
- migration_
id str - Identifier of a migration.
- name str
- The name of the resource
- source_
db_ Dbserver_ metadata Server Metadata Response - Metadata of 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 target database server.
- target_
db_ strserver_ resource_ id - Identifier of the target database server resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- current
Status Property Map - Current status of a migration.
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - Identifier of a migration.
- name String
- The name of the resource
- source
Db Property MapServer Metadata - Metadata of source database server.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target
Db Property MapServer Metadata - Metadata of target database server.
- target
Db StringServer Resource Id - Identifier of the target database server resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AdminCredentials, AdminCredentialsArgs
Credentials of administrator users for source and target servers.- Source
Server stringPassword - Password for the user of the source server.
- Target
Server stringPassword - Password for the user of the target server.
- Source
Server stringPassword - Password for the user of the source server.
- Target
Server stringPassword - Password for the user of the target server.
- source_
server_ stringpassword - Password for the user of the source server.
- target_
server_ stringpassword - Password for the user of the target server.
- source
Server StringPassword - Password for the user of the source server.
- target
Server StringPassword - Password for the user of the target server.
- source
Server stringPassword - Password for the user of the source server.
- target
Server stringPassword - Password for the user of the target server.
- source_
server_ strpassword - Password for the user of the source server.
- target_
server_ strpassword - Password for the user of the target server.
- source
Server StringPassword - Password for the user of the source server.
- target
Server StringPassword - Password for the user of the target server.
Cancel, CancelArgs
- True
TrueCancel must be triggered for the entire migration.- False
FalseCancel must not be triggered for the entire migration.
- Cancel
True TrueCancel must be triggered for the entire migration.- Cancel
False FalseCancel must not be triggered for the entire migration.
- "True"
TrueCancel must be triggered for the entire migration.- "False"
FalseCancel must not be triggered for the entire migration.
- True
TrueCancel must be triggered for the entire migration.- False
FalseCancel must not be triggered for the entire migration.
- True
TrueCancel must be triggered for the entire migration.- False
FalseCancel must not be triggered for the entire migration.
- TRUE
TrueCancel must be triggered for the entire migration.- FALSE
FalseCancel must not be triggered for the entire migration.
- "True"
TrueCancel must be triggered for the entire migration.- "False"
FalseCancel must not be triggered for the entire migration.
DatabaseMigrationStateResponse, DatabaseMigrationStateResponseArgs
Migration state of a database.- Applied
Changes int - Change Data Capture applied changes counter.
- Cdc
Delete intCounter - Change Data Capture delete counter.
- Cdc
Insert intCounter - Change Data Capture insert counter.
- Cdc
Update intCounter - Change Data Capture update counter.
- Database
Name string - Name of database.
- Ended
On string - End time of a migration state.
- Full
Load intCompleted Tables - Number of tables loaded during the migration of a database.
- Full
Load intErrored Tables - Number of tables encountering errors during the migration of a database.
- Full
Load intLoading Tables - Number of tables loading during the migration of a database.
- Full
Load intQueued Tables - Number of tables queued for the migration of a database.
- Incoming
Changes int - Change Data Capture incoming changes counter.
- Latency int
- Lag in seconds between source and target during online phase.
- Message string
- Error message, if any, for the migration state.
- Migration
Operation string - Migration operation of a database.
- Migration
State string - Migration state of a database.
- Started
On string - Start time of a migration state.
- Applied
Changes int - Change Data Capture applied changes counter.
- Cdc
Delete intCounter - Change Data Capture delete counter.
- Cdc
Insert intCounter - Change Data Capture insert counter.
- Cdc
Update intCounter - Change Data Capture update counter.
- Database
Name string - Name of database.
- Ended
On string - End time of a migration state.
- Full
Load intCompleted Tables - Number of tables loaded during the migration of a database.
- Full
Load intErrored Tables - Number of tables encountering errors during the migration of a database.
- Full
Load intLoading Tables - Number of tables loading during the migration of a database.
- Full
Load intQueued Tables - Number of tables queued for the migration of a database.
- Incoming
Changes int - Change Data Capture incoming changes counter.
- Latency int
- Lag in seconds between source and target during online phase.
- Message string
- Error message, if any, for the migration state.
- Migration
Operation string - Migration operation of a database.
- Migration
State string - Migration state of a database.
- Started
On string - Start time of a migration state.
- applied_
changes number - Change Data Capture applied changes counter.
- cdc_
delete_ numbercounter - Change Data Capture delete counter.
- cdc_
insert_ numbercounter - Change Data Capture insert counter.
- cdc_
update_ numbercounter - Change Data Capture update counter.
- database_
name string - Name of database.
- ended_
on string - End time of a migration state.
- full_
load_ numbercompleted_ tables - Number of tables loaded during the migration of a database.
- full_
load_ numbererrored_ tables - Number of tables encountering errors during the migration of a database.
- full_
load_ numberloading_ tables - Number of tables loading during the migration of a database.
- full_
load_ numberqueued_ tables - Number of tables queued for the migration of a database.
- incoming_
changes number - Change Data Capture incoming changes counter.
- latency number
- Lag in seconds between source and target during online phase.
- message string
- Error message, if any, for the migration state.
- migration_
operation string - Migration operation of a database.
- migration_
state string - Migration state of a database.
- started_
on string - Start time of a migration state.
- applied
Changes Integer - Change Data Capture applied changes counter.
- cdc
Delete IntegerCounter - Change Data Capture delete counter.
- cdc
Insert IntegerCounter - Change Data Capture insert counter.
- cdc
Update IntegerCounter - Change Data Capture update counter.
- database
Name String - Name of database.
- ended
On String - End time of a migration state.
- full
Load IntegerCompleted Tables - Number of tables loaded during the migration of a database.
- full
Load IntegerErrored Tables - Number of tables encountering errors during the migration of a database.
- full
Load IntegerLoading Tables - Number of tables loading during the migration of a database.
- full
Load IntegerQueued Tables - Number of tables queued for the migration of a database.
- incoming
Changes Integer - Change Data Capture incoming changes counter.
- latency Integer
- Lag in seconds between source and target during online phase.
- message String
- Error message, if any, for the migration state.
- migration
Operation String - Migration operation of a database.
- migration
State String - Migration state of a database.
- started
On String - Start time of a migration state.
- applied
Changes number - Change Data Capture applied changes counter.
- cdc
Delete numberCounter - Change Data Capture delete counter.
- cdc
Insert numberCounter - Change Data Capture insert counter.
- cdc
Update numberCounter - Change Data Capture update counter.
- database
Name string - Name of database.
- ended
On string - End time of a migration state.
- full
Load numberCompleted Tables - Number of tables loaded during the migration of a database.
- full
Load numberErrored Tables - Number of tables encountering errors during the migration of a database.
- full
Load numberLoading Tables - Number of tables loading during the migration of a database.
- full
Load numberQueued Tables - Number of tables queued for the migration of a database.
- incoming
Changes number - Change Data Capture incoming changes counter.
- latency number
- Lag in seconds between source and target during online phase.
- message string
- Error message, if any, for the migration state.
- migration
Operation string - Migration operation of a database.
- migration
State string - Migration state of a database.
- started
On string - Start time of a migration state.
- applied_
changes int - Change Data Capture applied changes counter.
- cdc_
delete_ intcounter - Change Data Capture delete counter.
- cdc_
insert_ intcounter - Change Data Capture insert counter.
- cdc_
update_ intcounter - Change Data Capture update counter.
- database_
name str - Name of database.
- ended_
on str - End time of a migration state.
- full_
load_ intcompleted_ tables - Number of tables loaded during the migration of a database.
- full_
load_ interrored_ tables - Number of tables encountering errors during the migration of a database.
- full_
load_ intloading_ tables - Number of tables loading during the migration of a database.
- full_
load_ intqueued_ tables - Number of tables queued for the migration of a database.
- incoming_
changes int - Change Data Capture incoming changes counter.
- latency int
- Lag in seconds between source and target during online phase.
- message str
- Error message, if any, for the migration state.
- migration_
operation str - Migration operation of a database.
- migration_
state str - Migration state of a database.
- started_
on str - Start time of a migration state.
- applied
Changes Number - Change Data Capture applied changes counter.
- cdc
Delete NumberCounter - Change Data Capture delete counter.
- cdc
Insert NumberCounter - Change Data Capture insert counter.
- cdc
Update NumberCounter - Change Data Capture update counter.
- database
Name String - Name of database.
- ended
On String - End time of a migration state.
- full
Load NumberCompleted Tables - Number of tables loaded during the migration of a database.
- full
Load NumberErrored Tables - Number of tables encountering errors during the migration of a database.
- full
Load NumberLoading Tables - Number of tables loading during the migration of a database.
- full
Load NumberQueued Tables - Number of tables queued for the migration of a database.
- incoming
Changes Number - Change Data Capture incoming changes counter.
- latency Number
- Lag in seconds between source and target during online phase.
- message String
- Error message, if any, for the migration state.
- migration
Operation String - Migration operation of a database.
- migration
State String - Migration state of a database.
- started
On String - Start time of a migration state.
DbLevelValidationStatusResponse, DbLevelValidationStatusResponseArgs
Validation status summary for a database.- Database
Name string - Name of database.
- Ended
On string - End time of a database level validation.
- Started
On string - Start time of a database level validation.
- Summary
List<Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Validation Summary Item Response> - Summary of database level validations.
- Database
Name string - Name of database.
- Ended
On string - End time of a database level validation.
- Started
On string - Start time of a database level validation.
- Summary
[]Validation
Summary Item Response - Summary of database level validations.
- database_
name string - Name of database.
- ended_
on string - End time of a database level validation.
- started_
on string - Start time of a database level validation.
- summary list(object)
- Summary of database level validations.
- database
Name String - Name of database.
- ended
On String - End time of a database level validation.
- started
On String - Start time of a database level validation.
- summary
List<Validation
Summary Item Response> - Summary of database level validations.
- database
Name string - Name of database.
- ended
On string - End time of a database level validation.
- started
On string - Start time of a database level validation.
- summary
Validation
Summary Item Response[] - Summary of database level validations.
- database_
name str - Name of database.
- ended_
on str - End time of a database level validation.
- started_
on str - Start time of a database level validation.
- summary
Sequence[Validation
Summary Item Response] - Summary of database level validations.
- database
Name String - Name of database.
- ended
On String - End time of a database level validation.
- started
On String - Start time of a database level validation.
- summary List<Property Map>
- Summary of database level validations.
DbServerMetadataResponse, DbServerMetadataResponseArgs
Database server metadata.- Location string
- Location of database server.
- Sku
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Server Sku Response - Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- Storage
Mb int - Storage size (in MB) for database server.
- Version string
- Major version of PostgreSQL database engine.
- Location string
- Location of database server.
- Sku
Server
Sku Response - Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- Storage
Mb int - Storage size (in MB) for database server.
- Version string
- Major version of PostgreSQL database engine.
- location string
- Location of database server.
- sku object
- Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- storage_
mb number - Storage size (in MB) for database server.
- version string
- Major version of PostgreSQL database engine.
- location String
- Location of database server.
- sku
Server
Sku Response - Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- storage
Mb Integer - Storage size (in MB) for database server.
- version String
- Major version of PostgreSQL database engine.
- location string
- Location of database server.
- sku
Server
Sku Response - Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- storage
Mb number - Storage size (in MB) for database server.
- version string
- Major version of PostgreSQL database engine.
- location str
- Location of database server.
- sku
Server
Sku Response - Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- storage_
mb int - Storage size (in MB) for database server.
- version str
- Major version of PostgreSQL database engine.
- location String
- Location of database server.
- sku Property Map
- Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- storage
Mb Number - Storage size (in MB) for database server.
- version String
- Major version of PostgreSQL database engine.
LogicalReplicationOnSourceServer, LogicalReplicationOnSourceServerArgs
- True
TrueLogical replication will be set up on the source server.- False
FalseLogical replication will not be set up on the source server.
- Logical
Replication On Source Server True TrueLogical replication will be set up on the source server.- Logical
Replication On Source Server False FalseLogical replication will not be set up on the source server.
- "True"
TrueLogical replication will be set up on the source server.- "False"
FalseLogical replication will not be set up on the source server.
- True
TrueLogical replication will be set up on the source server.- False
FalseLogical replication will not be set up on the source server.
- True
TrueLogical replication will be set up on the source server.- False
FalseLogical replication will not be set up on the source server.
- TRUE
TrueLogical replication will be set up on the source server.- FALSE
FalseLogical replication will not be set up on the source server.
- "True"
TrueLogical replication will be set up on the source server.- "False"
FalseLogical replication will not be set up on the source server.
MigrateRolesAndPermissions, MigrateRolesAndPermissionsArgs
- True
TrueRoles and permissions will be migrated.- False
FalseRoles and permissions will not be migrated.
- Migrate
Roles And Permissions True TrueRoles and permissions will be migrated.- Migrate
Roles And Permissions False FalseRoles and permissions will not be migrated.
- "True"
TrueRoles and permissions will be migrated.- "False"
FalseRoles and permissions will not be migrated.
- True
TrueRoles and permissions will be migrated.- False
FalseRoles and permissions will not be migrated.
- True
TrueRoles and permissions will be migrated.- False
FalseRoles and permissions will not be migrated.
- TRUE
TrueRoles and permissions will be migrated.- FALSE
FalseRoles and permissions will not be migrated.
- "True"
TrueRoles and permissions will be migrated.- "False"
FalseRoles and permissions will not be migrated.
MigrationMode, MigrationModeArgs
- Offline
OfflineOffline migration mode.- Online
OnlineOnline migration mode.
- Migration
Mode Offline OfflineOffline migration mode.- Migration
Mode Online OnlineOnline migration mode.
- "Offline"
OfflineOffline migration mode.- "Online"
OnlineOnline migration mode.
- Offline
OfflineOffline migration mode.- Online
OnlineOnline migration mode.
- Offline
OfflineOffline migration mode.- Online
OnlineOnline migration mode.
- OFFLINE
OfflineOffline migration mode.- ONLINE
OnlineOnline migration mode.
- "Offline"
OfflineOffline migration mode.- "Online"
OnlineOnline migration mode.
MigrationOption, MigrationOptionArgs
- Validate
ValidateValidate the migration without performing it.- Migrate
MigratePerform the migration.- Validate
And Migrate ValidateAndMigrateValidate and perform the migration.
- Migration
Option Validate ValidateValidate the migration without performing it.- Migration
Option Migrate MigratePerform the migration.- Migration
Option Validate And Migrate ValidateAndMigrateValidate and perform the migration.
- "Validate"
ValidateValidate the migration without performing it.- "Migrate"
MigratePerform the migration.- "Validate
And Migrate" ValidateAndMigrateValidate and perform the migration.
- Validate
ValidateValidate the migration without performing it.- Migrate
MigratePerform the migration.- Validate
And Migrate ValidateAndMigrateValidate and perform the migration.
- Validate
ValidateValidate the migration without performing it.- Migrate
MigratePerform the migration.- Validate
And Migrate ValidateAndMigrateValidate and perform the migration.
- VALIDATE
ValidateValidate the migration without performing it.- MIGRATE
MigratePerform the migration.- VALIDATE_AND_MIGRATE
ValidateAndMigrateValidate and perform the migration.
- "Validate"
ValidateValidate the migration without performing it.- "Migrate"
MigratePerform the migration.- "Validate
And Migrate" ValidateAndMigrateValidate and perform the migration.
MigrationSecretParameters, MigrationSecretParametersArgs
Migration secret parameters.- Admin
Credentials Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Admin Credentials - Credentials of administrator users for source and target servers.
- Source
Server stringUsername - Gets or sets the name of the user for the source server. This user doesn't need to be an administrator.
- Target
Server stringUsername - Gets or sets the name of the user for the target server. This user doesn't need to be an administrator.
- Admin
Credentials AdminCredentials - Credentials of administrator users for source and target servers.
- Source
Server stringUsername - Gets or sets the name of the user for the source server. This user doesn't need to be an administrator.
- Target
Server stringUsername - Gets or sets the name of the user for the target server. This user doesn't need to be an administrator.
- admin_
credentials object - Credentials of administrator users for source and target servers.
- source_
server_ stringusername - Gets or sets the name of the user for the source server. This user doesn't need to be an administrator.
- target_
server_ stringusername - Gets or sets the name of the user for the target server. This user doesn't need to be an administrator.
- admin
Credentials AdminCredentials - Credentials of administrator users for source and target servers.
- source
Server StringUsername - Gets or sets the name of the user for the source server. This user doesn't need to be an administrator.
- target
Server StringUsername - Gets or sets the name of the user for the target server. This user doesn't need to be an administrator.
- admin
Credentials AdminCredentials - Credentials of administrator users for source and target servers.
- source
Server stringUsername - Gets or sets the name of the user for the source server. This user doesn't need to be an administrator.
- target
Server stringUsername - Gets or sets the name of the user for the target server. This user doesn't need to be an administrator.
- admin_
credentials AdminCredentials - Credentials of administrator users for source and target servers.
- source_
server_ strusername - Gets or sets the name of the user for the source server. This user doesn't need to be an administrator.
- target_
server_ strusername - Gets or sets the name of the user for the target server. This user doesn't need to be an administrator.
- admin
Credentials Property Map - Credentials of administrator users for source and target servers.
- source
Server StringUsername - Gets or sets the name of the user for the source server. This user doesn't need to be an administrator.
- target
Server StringUsername - Gets or sets the name of the user for the target server. This user doesn't need to be an administrator.
MigrationStatusResponse, MigrationStatusResponseArgs
State of migration.- Current
Sub Pulumi.State Details Azure Native. DBfor Postgre SQL. Inputs. Migration Substate 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 Substate Details Response - Current migration sub state details.
- Error string
- Error message, if any, for the migration state.
- State string
- State of migration.
- current_
sub_ objectstate_ details - Current migration sub state details.
- error string
- Error message, if any, for the migration state.
- state string
- State of migration.
- current
Sub MigrationState Details Substate 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 Substate 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 Substate Details Response - Current migration sub state details.
- error str
- Error message, if any, for the migration state.
- state str
- State of migration.
- current
Sub 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
Details of migration substate.- Current
Sub stringState - Substate of migration.
- Db
Details Dictionary<string, Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Database Migration State Response> - Validation
Details Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Validation Details Response - Details for the validation for migration.
- Current
Sub stringState - Substate of migration.
- Db
Details map[string]DatabaseMigration State Response - Validation
Details ValidationDetails Response - Details for the validation for migration.
- current_
sub_ stringstate - Substate of migration.
- db_
details map(object) - validation_
details object - Details for the validation for migration.
- current
Sub StringState - Substate of migration.
- db
Details Map<String,DatabaseMigration State Response> - validation
Details ValidationDetails Response - Details for the validation for migration.
- current
Sub stringState - Substate of migration.
- db
Details {[key: string]: DatabaseMigration State Response} - validation
Details ValidationDetails Response - Details for the validation for migration.
- current_
sub_ strstate - Substate of migration.
- db_
details Mapping[str, DatabaseMigration State Response] - validation_
details ValidationDetails Response - Details for the validation for migration.
- current
Sub StringState - Substate of migration.
- db
Details Map<Property Map> - validation
Details Property Map - Details for the validation for migration.
OverwriteDatabasesOnTargetServer, OverwriteDatabasesOnTargetServerArgs
- True
TrueDatabases on the target server can be overwritten when already present.- False
FalseDatabases on the target server cannot be overwritten when already present. When the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- Overwrite
Databases On Target Server True TrueDatabases on the target server can be overwritten when already present.- Overwrite
Databases On Target Server False FalseDatabases on the target server cannot be overwritten when already present. When the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- "True"
TrueDatabases on the target server can be overwritten when already present.- "False"
FalseDatabases on the target server cannot be overwritten when already present. When the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- True
TrueDatabases on the target server can be overwritten when already present.- False
FalseDatabases on the target server cannot be overwritten when already present. When the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- True
TrueDatabases on the target server can be overwritten when already present.- False
FalseDatabases on the target server cannot be overwritten when already present. When the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- TRUE
TrueDatabases on the target server can be overwritten when already present.- FALSE
FalseDatabases on the target server cannot be overwritten when already present. When the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
- "True"
TrueDatabases on the target server can be overwritten when already present.- "False"
FalseDatabases on the target server cannot be overwritten when already present. When the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
ServerSkuResponse, ServerSkuResponseArgs
Compute information of a server.SourceType, SourceTypeArgs
- On
Premises OnPremisesOn-premises PostgreSQL server.- AWS
AWSAmazon Web Services PostgreSQL server.- GCP
GCPGoogle Cloud Platform PostgreSQL server.- Azure
VM AzureVMAzure Virtual Machine PostgreSQL server.- Postgre
SQLSingle Server PostgreSQLSingleServerAzure Database for PostgreSQL single server.- AWS_RDS
AWS_RDSAmazon RDS for PostgreSQL.- AWS_AURORA
AWS_AURORAAmazon Aurora for PostgreSQL.- AWS_EC2
AWS_EC2Amazon EC2 for PostgreSQL.- GCP_Cloud
SQL GCP_CloudSQLGoogle Cloud SQL for PostgreSQL.- GCP_Alloy
DB GCP_AlloyDBGoogle Cloud AlloyDB for PostgreSQL.- GCP_Compute
GCP_ComputeGoogle Compute Engine for PostgreSQL.- EDB
EDBEnterpriseDB PostgreSQL server.- EDB_Oracle_Server
EDB_Oracle_ServerEnterpriseDB Oracle Server.- EDB_Postgre
SQL EDB_PostgreSQLEnterpriseDB PostgreSQL server.- Postgre
SQLFlexible Server PostgreSQLFlexibleServerAzure Database for PostgreSQL flexible server.- Postgre
SQLCosmos DB PostgreSQLCosmosDB.NET Cosmos DB for PostgreSQL- Huawei_RDS
Huawei_RDSHuawei RDS for PostgreSQL- Huawei_Compute
Huawei_ComputeHuawei Compute for PostgreSQL- Heroku_Postgre
SQL Heroku_PostgreSQLHeroku PostgreSQL- Crunchy_Postgre
SQL Crunchy_PostgreSQLCrunchy PostgreSQL- Apsara
DB_RDS ApsaraDB_RDSApsaraDB RDS for PostgreSQL- Digital_Ocean_Droplets
Digital_Ocean_DropletsDigital Ocean Droplets for PostgreSQL- Digital_Ocean_Postgre
SQL Digital_Ocean_PostgreSQLDigital Ocean PostgreSQL- Supabase_Postgre
SQL Supabase_PostgreSQLSupabase PostgreSQL
- Source
Type On Premises OnPremisesOn-premises PostgreSQL server.- Source
Type AWS AWSAmazon Web Services PostgreSQL server.- Source
Type GCP GCPGoogle Cloud Platform PostgreSQL server.- Source
Type Azure VM AzureVMAzure Virtual Machine PostgreSQL server.- Source
Type Postgre SQLSingle Server PostgreSQLSingleServerAzure Database for PostgreSQL single server.- Source
Type_AWS_RDS AWS_RDSAmazon RDS for PostgreSQL.- Source
Type_AWS_AURORA AWS_AURORAAmazon Aurora for PostgreSQL.- Source
Type_AWS_EC2 AWS_EC2Amazon EC2 for PostgreSQL.- Source
Type_GCP_Cloud SQL GCP_CloudSQLGoogle Cloud SQL for PostgreSQL.- Source
Type_GCP_Alloy DB GCP_AlloyDBGoogle Cloud AlloyDB for PostgreSQL.- Source
Type_GCP_Compute GCP_ComputeGoogle Compute Engine for PostgreSQL.- Source
Type EDB EDBEnterpriseDB PostgreSQL server.- Source
Type_EDB_Oracle_Server EDB_Oracle_ServerEnterpriseDB Oracle Server.- Source
Type_EDB_Postgre SQL EDB_PostgreSQLEnterpriseDB PostgreSQL server.- Source
Type Postgre SQLFlexible Server PostgreSQLFlexibleServerAzure Database for PostgreSQL flexible server.- Source
Type Postgre SQLCosmos DB PostgreSQLCosmosDB.NET Cosmos DB for PostgreSQL- Source
Type_Huawei_RDS Huawei_RDSHuawei RDS for PostgreSQL- Source
Type_Huawei_Compute Huawei_ComputeHuawei Compute for PostgreSQL- Source
Type_Heroku_Postgre SQL Heroku_PostgreSQLHeroku PostgreSQL- Source
Type_Crunchy_Postgre SQL Crunchy_PostgreSQLCrunchy PostgreSQL- Source
Type_Apsara DB_RDS ApsaraDB_RDSApsaraDB RDS for PostgreSQL- Source
Type_Digital_Ocean_Droplets Digital_Ocean_DropletsDigital Ocean Droplets for PostgreSQL- Source
Type_Digital_Ocean_Postgre SQL Digital_Ocean_PostgreSQLDigital Ocean PostgreSQL- Source
Type_Supabase_Postgre SQL Supabase_PostgreSQLSupabase PostgreSQL
- "On
Premises" OnPremisesOn-premises PostgreSQL server.- "AWS"
AWSAmazon Web Services PostgreSQL server.- "GCP"
GCPGoogle Cloud Platform PostgreSQL server.- "Azure
VM" AzureVMAzure Virtual Machine PostgreSQL server.- "Postgre
SQLSingle Server" PostgreSQLSingleServerAzure Database for PostgreSQL single server.- "AWS_RDS"
AWS_RDSAmazon RDS for PostgreSQL.- "AWS_AURORA"
AWS_AURORAAmazon Aurora for PostgreSQL.- "AWS_EC2"
AWS_EC2Amazon EC2 for PostgreSQL.- "GCP_Cloud
SQL" GCP_CloudSQLGoogle Cloud SQL for PostgreSQL.- "GCP_Alloy
DB" GCP_AlloyDBGoogle Cloud AlloyDB for PostgreSQL.- "GCP_Compute"
GCP_ComputeGoogle Compute Engine for PostgreSQL.- "EDB"
EDBEnterpriseDB PostgreSQL server.- "EDB_Oracle_Server"
EDB_Oracle_ServerEnterpriseDB Oracle Server.- "EDB_Postgre
SQL" EDB_PostgreSQLEnterpriseDB PostgreSQL server.- "Postgre
SQLFlexible Server" PostgreSQLFlexibleServerAzure Database for PostgreSQL flexible server.- "Postgre
SQLCosmos DB" PostgreSQLCosmosDB.NET Cosmos DB for PostgreSQL- "Huawei_RDS"
Huawei_RDSHuawei RDS for PostgreSQL- "Huawei_Compute"
Huawei_ComputeHuawei Compute for PostgreSQL- "Heroku_Postgre
SQL" Heroku_PostgreSQLHeroku PostgreSQL- "Crunchy_Postgre
SQL" Crunchy_PostgreSQLCrunchy PostgreSQL- "Apsara
DB_RDS" ApsaraDB_RDSApsaraDB RDS for PostgreSQL- "Digital_Ocean_Droplets"
Digital_Ocean_DropletsDigital Ocean Droplets for PostgreSQL- "Digital_Ocean_Postgre
SQL" Digital_Ocean_PostgreSQLDigital Ocean PostgreSQL- "Supabase_Postgre
SQL" Supabase_PostgreSQLSupabase PostgreSQL
- On
Premises OnPremisesOn-premises PostgreSQL server.- AWS
AWSAmazon Web Services PostgreSQL server.- GCP
GCPGoogle Cloud Platform PostgreSQL server.- Azure
VM AzureVMAzure Virtual Machine PostgreSQL server.- Postgre
SQLSingle Server PostgreSQLSingleServerAzure Database for PostgreSQL single server.- AWS_RDS
AWS_RDSAmazon RDS for PostgreSQL.- AWS_AURORA
AWS_AURORAAmazon Aurora for PostgreSQL.- AWS_EC2
AWS_EC2Amazon EC2 for PostgreSQL.- GCP_Cloud
SQL GCP_CloudSQLGoogle Cloud SQL for PostgreSQL.- GCP_Alloy
DB GCP_AlloyDBGoogle Cloud AlloyDB for PostgreSQL.- GCP_Compute
GCP_ComputeGoogle Compute Engine for PostgreSQL.- EDB
EDBEnterpriseDB PostgreSQL server.- EDB_Oracle_Server
EDB_Oracle_ServerEnterpriseDB Oracle Server.- EDB_Postgre
SQL EDB_PostgreSQLEnterpriseDB PostgreSQL server.- Postgre
SQLFlexible Server PostgreSQLFlexibleServerAzure Database for PostgreSQL flexible server.- Postgre
SQLCosmos DB PostgreSQLCosmosDB.NET Cosmos DB for PostgreSQL- Huawei_RDS
Huawei_RDSHuawei RDS for PostgreSQL- Huawei_Compute
Huawei_ComputeHuawei Compute for PostgreSQL- Heroku_Postgre
SQL Heroku_PostgreSQLHeroku PostgreSQL- Crunchy_Postgre
SQL Crunchy_PostgreSQLCrunchy PostgreSQL- Apsara
DB_RDS ApsaraDB_RDSApsaraDB RDS for PostgreSQL- Digital_Ocean_Droplets
Digital_Ocean_DropletsDigital Ocean Droplets for PostgreSQL- Digital_Ocean_Postgre
SQL Digital_Ocean_PostgreSQLDigital Ocean PostgreSQL- Supabase_Postgre
SQL Supabase_PostgreSQLSupabase PostgreSQL
- On
Premises OnPremisesOn-premises PostgreSQL server.- AWS
AWSAmazon Web Services PostgreSQL server.- GCP
GCPGoogle Cloud Platform PostgreSQL server.- Azure
VM AzureVMAzure Virtual Machine PostgreSQL server.- Postgre
SQLSingle Server PostgreSQLSingleServerAzure Database for PostgreSQL single server.- AWS_RDS
AWS_RDSAmazon RDS for PostgreSQL.- AWS_AURORA
AWS_AURORAAmazon Aurora for PostgreSQL.- AWS_EC2
AWS_EC2Amazon EC2 for PostgreSQL.- GCP_Cloud
SQL GCP_CloudSQLGoogle Cloud SQL for PostgreSQL.- GCP_Alloy
DB GCP_AlloyDBGoogle Cloud AlloyDB for PostgreSQL.- GCP_Compute
GCP_ComputeGoogle Compute Engine for PostgreSQL.- EDB
EDBEnterpriseDB PostgreSQL server.- EDB_Oracle_Server
EDB_Oracle_ServerEnterpriseDB Oracle Server.- EDB_Postgre
SQL EDB_PostgreSQLEnterpriseDB PostgreSQL server.- Postgre
SQLFlexible Server PostgreSQLFlexibleServerAzure Database for PostgreSQL flexible server.- Postgre
SQLCosmos DB PostgreSQLCosmosDB.NET Cosmos DB for PostgreSQL- Huawei_RDS
Huawei_RDSHuawei RDS for PostgreSQL- Huawei_Compute
Huawei_ComputeHuawei Compute for PostgreSQL- Heroku_Postgre
SQL Heroku_PostgreSQLHeroku PostgreSQL- Crunchy_Postgre
SQL Crunchy_PostgreSQLCrunchy PostgreSQL- Apsara
DB_RDS ApsaraDB_RDSApsaraDB RDS for PostgreSQL- Digital_Ocean_Droplets
Digital_Ocean_DropletsDigital Ocean Droplets for PostgreSQL- Digital_Ocean_Postgre
SQL Digital_Ocean_PostgreSQLDigital Ocean PostgreSQL- Supabase_Postgre
SQL Supabase_PostgreSQLSupabase PostgreSQL
- ON_PREMISES
OnPremisesOn-premises PostgreSQL server.- AWS
AWSAmazon Web Services PostgreSQL server.- GCP
GCPGoogle Cloud Platform PostgreSQL server.- AZURE_VM
AzureVMAzure Virtual Machine PostgreSQL server.- POSTGRE_SQL_SINGLE_SERVER
PostgreSQLSingleServerAzure Database for PostgreSQL single server.- AW_S_RDS
AWS_RDSAmazon RDS for PostgreSQL.- AW_S_AURORA
AWS_AURORAAmazon Aurora for PostgreSQL.- AW_S_EC2
AWS_EC2Amazon EC2 for PostgreSQL.- GC_P_CLOUD_SQL
GCP_CloudSQLGoogle Cloud SQL for PostgreSQL.- GC_P_ALLOY_DB
GCP_AlloyDBGoogle Cloud AlloyDB for PostgreSQL.- GC_P_COMPUTE
GCP_ComputeGoogle Compute Engine for PostgreSQL.- EDB
EDBEnterpriseDB PostgreSQL server.- ED_B_ORACLE_SERVER
EDB_Oracle_ServerEnterpriseDB Oracle Server.- ED_B_POSTGRE_SQL
EDB_PostgreSQLEnterpriseDB PostgreSQL server.- POSTGRE_SQL_FLEXIBLE_SERVER
PostgreSQLFlexibleServerAzure Database for PostgreSQL flexible server.- POSTGRE_SQL_COSMOS_DB
PostgreSQLCosmosDB.NET Cosmos DB for PostgreSQL- HUAWEI_RDS
Huawei_RDSHuawei RDS for PostgreSQL- HUAWEI_COMPUTE
Huawei_ComputeHuawei Compute for PostgreSQL- HEROKU_POSTGRE_SQL
Heroku_PostgreSQLHeroku PostgreSQL- CRUNCHY_POSTGRE_SQL
Crunchy_PostgreSQLCrunchy PostgreSQL- APSARA_D_B_RDS
ApsaraDB_RDSApsaraDB RDS for PostgreSQL- DIGITAL_OCEAN_DROPLETS
Digital_Ocean_DropletsDigital Ocean Droplets for PostgreSQL- DIGITAL_OCEAN_POSTGRE_SQL
Digital_Ocean_PostgreSQLDigital Ocean PostgreSQL- SUPABASE_POSTGRE_SQL
Supabase_PostgreSQLSupabase PostgreSQL
- "On
Premises" OnPremisesOn-premises PostgreSQL server.- "AWS"
AWSAmazon Web Services PostgreSQL server.- "GCP"
GCPGoogle Cloud Platform PostgreSQL server.- "Azure
VM" AzureVMAzure Virtual Machine PostgreSQL server.- "Postgre
SQLSingle Server" PostgreSQLSingleServerAzure Database for PostgreSQL single server.- "AWS_RDS"
AWS_RDSAmazon RDS for PostgreSQL.- "AWS_AURORA"
AWS_AURORAAmazon Aurora for PostgreSQL.- "AWS_EC2"
AWS_EC2Amazon EC2 for PostgreSQL.- "GCP_Cloud
SQL" GCP_CloudSQLGoogle Cloud SQL for PostgreSQL.- "GCP_Alloy
DB" GCP_AlloyDBGoogle Cloud AlloyDB for PostgreSQL.- "GCP_Compute"
GCP_ComputeGoogle Compute Engine for PostgreSQL.- "EDB"
EDBEnterpriseDB PostgreSQL server.- "EDB_Oracle_Server"
EDB_Oracle_ServerEnterpriseDB Oracle Server.- "EDB_Postgre
SQL" EDB_PostgreSQLEnterpriseDB PostgreSQL server.- "Postgre
SQLFlexible Server" PostgreSQLFlexibleServerAzure Database for PostgreSQL flexible server.- "Postgre
SQLCosmos DB" PostgreSQLCosmosDB.NET Cosmos DB for PostgreSQL- "Huawei_RDS"
Huawei_RDSHuawei RDS for PostgreSQL- "Huawei_Compute"
Huawei_ComputeHuawei Compute for PostgreSQL- "Heroku_Postgre
SQL" Heroku_PostgreSQLHeroku PostgreSQL- "Crunchy_Postgre
SQL" Crunchy_PostgreSQLCrunchy PostgreSQL- "Apsara
DB_RDS" ApsaraDB_RDSApsaraDB RDS for PostgreSQL- "Digital_Ocean_Droplets"
Digital_Ocean_DropletsDigital Ocean Droplets for PostgreSQL- "Digital_Ocean_Postgre
SQL" Digital_Ocean_PostgreSQLDigital Ocean PostgreSQL- "Supabase_Postgre
SQL" Supabase_PostgreSQLSupabase PostgreSQL
SslMode, SslModeArgs
- Prefer
PreferPrefer SSL connection. If the server does not support SSL, the connection will be established without SSL.- Require
RequireRequire SSL connection. If the server does not support SSL, the connection will fail.- Verify
CA VerifyCARequire SSL connection and verify the server certificate against the CA certificate.- Verify
Full VerifyFullRequire SSL connection, verify the server certificate against the CA certificate, and verify that the server hostname matches the certificate.
- Ssl
Mode Prefer PreferPrefer SSL connection. If the server does not support SSL, the connection will be established without SSL.- Ssl
Mode Require RequireRequire SSL connection. If the server does not support SSL, the connection will fail.- Ssl
Mode Verify CA VerifyCARequire SSL connection and verify the server certificate against the CA certificate.- Ssl
Mode Verify Full VerifyFullRequire SSL connection, verify the server certificate against the CA certificate, and verify that the server hostname matches the certificate.
- "Prefer"
PreferPrefer SSL connection. If the server does not support SSL, the connection will be established without SSL.- "Require"
RequireRequire SSL connection. If the server does not support SSL, the connection will fail.- "Verify
CA" VerifyCARequire SSL connection and verify the server certificate against the CA certificate.- "Verify
Full" VerifyFullRequire SSL connection, verify the server certificate against the CA certificate, and verify that the server hostname matches the certificate.
- Prefer
PreferPrefer SSL connection. If the server does not support SSL, the connection will be established without SSL.- Require
RequireRequire SSL connection. If the server does not support SSL, the connection will fail.- Verify
CA VerifyCARequire SSL connection and verify the server certificate against the CA certificate.- Verify
Full VerifyFullRequire SSL connection, verify the server certificate against the CA certificate, and verify that the server hostname matches the certificate.
- Prefer
PreferPrefer SSL connection. If the server does not support SSL, the connection will be established without SSL.- Require
RequireRequire SSL connection. If the server does not support SSL, the connection will fail.- Verify
CA VerifyCARequire SSL connection and verify the server certificate against the CA certificate.- Verify
Full VerifyFullRequire SSL connection, verify the server certificate against the CA certificate, and verify that the server hostname matches the certificate.
- PREFER
PreferPrefer SSL connection. If the server does not support SSL, the connection will be established without SSL.- REQUIRE
RequireRequire SSL connection. If the server does not support SSL, the connection will fail.- VERIFY_CA
VerifyCARequire SSL connection and verify the server certificate against the CA certificate.- VERIFY_FULL
VerifyFullRequire SSL connection, verify the server certificate against the CA certificate, and verify that the server hostname matches the certificate.
- "Prefer"
PreferPrefer SSL connection. If the server does not support SSL, the connection will be established without SSL.- "Require"
RequireRequire SSL connection. If the server does not support SSL, the connection will fail.- "Verify
CA" VerifyCARequire SSL connection and verify the server certificate against the CA certificate.- "Verify
Full" VerifyFullRequire SSL connection, verify the server certificate against the CA certificate, and verify that the server hostname matches the certificate.
StartDataMigration, StartDataMigrationArgs
- True
TrueData migration must start right away.- False
FalseData migration must not start right away.
- Start
Data Migration True TrueData migration must start right away.- Start
Data Migration False FalseData migration must not start right away.
- "True"
TrueData migration must start right away.- "False"
FalseData migration must not start right away.
- True
TrueData migration must start right away.- False
FalseData migration must not start right away.
- True
TrueData migration must start right away.- False
FalseData migration must not start right away.
- TRUE
TrueData migration must start right away.- FALSE
FalseData migration must not start right away.
- "True"
TrueData migration must start right away.- "False"
FalseData migration must not start right away.
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of 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 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.
TriggerCutover, TriggerCutoverArgs
- True
TrueCutover must be triggered for the entire migration.- False
FalseCutover must not be triggered for the entire migration.
- Trigger
Cutover True TrueCutover must be triggered for the entire migration.- Trigger
Cutover False FalseCutover must not be triggered for the entire migration.
- "True"
TrueCutover must be triggered for the entire migration.- "False"
FalseCutover must not be triggered for the entire migration.
- True
TrueCutover must be triggered for the entire migration.- False
FalseCutover must not be triggered for the entire migration.
- True
TrueCutover must be triggered for the entire migration.- False
FalseCutover must not be triggered for the entire migration.
- TRUE
TrueCutover must be triggered for the entire migration.- FALSE
FalseCutover must not be triggered for the entire migration.
- "True"
TrueCutover must be triggered for the entire migration.- "False"
FalseCutover must not be triggered for the entire migration.
ValidationDetailsResponse, ValidationDetailsResponseArgs
Details for the validation for migration.- Db
Level List<Pulumi.Validation Details Azure Native. DBfor Postgre SQL. Inputs. Db Level Validation Status Response> - Details of server level validations.
- Server
Level List<Pulumi.Validation Details Azure Native. DBfor Postgre SQL. Inputs. Validation Summary Item Response> - Details of server level validations.
- Status string
- Validation status for migration.
- Validation
End stringTime In Utc - End time (UTC) for validation.
- Validation
Start stringTime In Utc - Start time (UTC) for validation.
- Db
Level []DbValidation Details Level Validation Status Response - Details of server level validations.
- Server
Level []ValidationValidation Details Summary Item Response - Details of server level validations.
- Status string
- Validation status for migration.
- Validation
End stringTime In Utc - End time (UTC) for validation.
- Validation
Start stringTime In Utc - Start time (UTC) for validation.
- db_
level_ list(object)validation_ details - Details of server level validations.
- server_
level_ list(object)validation_ details - Details of server level validations.
- status string
- Validation status for migration.
- validation_
end_ stringtime_ in_ utc - End time (UTC) for validation.
- validation_
start_ stringtime_ in_ utc - Start time (UTC) for validation.
- db
Level List<DbValidation Details Level Validation Status Response> - Details of server level validations.
- server
Level List<ValidationValidation Details Summary Item Response> - Details of server level validations.
- status String
- Validation status for migration.
- validation
End StringTime In Utc - End time (UTC) for validation.
- validation
Start StringTime In Utc - Start time (UTC) for validation.
- db
Level DbValidation Details Level Validation Status Response[] - Details of server level validations.
- server
Level ValidationValidation Details Summary Item Response[] - Details of server level validations.
- status string
- Validation status for migration.
- validation
End stringTime In Utc - End time (UTC) for validation.
- validation
Start stringTime In Utc - Start time (UTC) for validation.
- db_
level_ Sequence[Dbvalidation_ details Level Validation Status Response] - Details of server level validations.
- server_
level_ Sequence[Validationvalidation_ details Summary Item Response] - Details of server level validations.
- status str
- Validation status for migration.
- validation_
end_ strtime_ in_ utc - End time (UTC) for validation.
- validation_
start_ strtime_ in_ utc - Start time (UTC) for validation.
- db
Level List<Property Map>Validation Details - Details of server level validations.
- server
Level List<Property Map>Validation Details - Details of server level validations.
- status String
- Validation status for migration.
- validation
End StringTime In Utc - End time (UTC) for validation.
- validation
Start StringTime In Utc - Start time (UTC) for validation.
ValidationMessageResponse, ValidationMessageResponseArgs
Validation message object.ValidationSummaryItemResponse, ValidationSummaryItemResponseArgs
Validation summary object.- Messages
List<Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Validation Message Response> - Validation messages.
- State string
- Validation status for migration.
- Type string
- Validation type.
- Messages
[]Validation
Message Response - Validation messages.
- State string
- Validation status for migration.
- Type string
- Validation type.
- messages list(object)
- Validation messages.
- state string
- Validation status for migration.
- type string
- Validation type.
- messages
List<Validation
Message Response> - Validation messages.
- state String
- Validation status for migration.
- type String
- Validation type.
- messages
Validation
Message Response[] - Validation messages.
- state string
- Validation status for migration.
- type string
- Validation type.
- messages
Sequence[Validation
Message Response] - Validation messages.
- state str
- Validation status for migration.
- type str
- Validation type.
- messages List<Property Map>
- Validation messages.
- state String
- Validation status for migration.
- type String
- Validation type.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:dbforpostgresql:Migration examplemigration /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/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
published on Thursday, Aug 13, 2026 by Pulumi