azure-native.dbforpostgresql.Migration
Explore with Pulumi AI
Represents a migration resource.
Uses Azure REST API version 2024-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-11-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 Migration with other source types for Validate and Migrate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var migration = new AzureNative.DBforPostgreSQL.Migration("migration", new()
{
DbsToMigrate = new[]
{
"db1",
"db2",
"db3",
"db4",
},
Location = "westus",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "testmigration",
MigrationOption = AzureNative.DBforPostgreSQL.MigrationOption.ValidateAndMigrate,
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDbsInTargetEnum.True,
ResourceGroupName = "testrg",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "xxxxxxxx",
TargetServerPassword = "xxxxxxxx",
},
},
SourceDbServerResourceId = "testsource:5432@pguser",
SourceType = AzureNative.DBforPostgreSQL.SourceType.OnPremises,
SslMode = AzureNative.DBforPostgreSQL.SslMode.Prefer,
TargetDbServerName = "testtarget",
});
});
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("db1"),
pulumi.String("db2"),
pulumi.String("db3"),
pulumi.String("db4"),
},
Location: pulumi.String("westus"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("testmigration"),
MigrationOption: pulumi.String(dbforpostgresql.MigrationOptionValidateAndMigrate),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDbsInTargetEnumTrue),
ResourceGroupName: pulumi.String("testrg"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("xxxxxxxx"),
TargetServerPassword: pulumi.String("xxxxxxxx"),
},
},
SourceDbServerResourceId: pulumi.String("testsource:5432@pguser"),
SourceType: pulumi.String(dbforpostgresql.SourceTypeOnPremises),
SslMode: pulumi.String(dbforpostgresql.SslModePrefer),
TargetDbServerName: pulumi.String("testtarget"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Migration;
import com.pulumi.azurenative.dbforpostgresql.MigrationArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.MigrationSecretParametersArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AdminCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var migration = new Migration("migration", MigrationArgs.builder()
.dbsToMigrate(
"db1",
"db2",
"db3",
"db4")
.location("westus")
.migrationMode("Offline")
.migrationName("testmigration")
.migrationOption("ValidateAndMigrate")
.overwriteDbsInTarget("True")
.resourceGroupName("testrg")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("xxxxxxxx")
.targetServerPassword("xxxxxxxx")
.build())
.build())
.sourceDbServerResourceId("testsource:5432@pguser")
.sourceType("OnPremises")
.sslMode("Prefer")
.targetDbServerName("testtarget")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"db1",
"db2",
"db3",
"db4",
],
location: "westus",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "testmigration",
migrationOption: azure_native.dbforpostgresql.MigrationOption.ValidateAndMigrate,
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.True,
resourceGroupName: "testrg",
secretParameters: {
adminCredentials: {
sourceServerPassword: "xxxxxxxx",
targetServerPassword: "xxxxxxxx",
},
},
sourceDbServerResourceId: "testsource:5432@pguser",
sourceType: azure_native.dbforpostgresql.SourceType.OnPremises,
sslMode: azure_native.dbforpostgresql.SslMode.Prefer,
targetDbServerName: "testtarget",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"db1",
"db2",
"db3",
"db4",
],
location="westus",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="testmigration",
migration_option=azure_native.dbforpostgresql.MigrationOption.VALIDATE_AND_MIGRATE,
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.TRUE,
resource_group_name="testrg",
secret_parameters={
"admin_credentials": {
"source_server_password": "xxxxxxxx",
"target_server_password": "xxxxxxxx",
},
},
source_db_server_resource_id="testsource:5432@pguser",
source_type=azure_native.dbforpostgresql.SourceType.ON_PREMISES,
ssl_mode=azure_native.dbforpostgresql.SslMode.PREFER,
target_db_server_name="testtarget")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- db1
- db2
- db3
- db4
location: westus
migrationMode: Offline
migrationName: testmigration
migrationOption: ValidateAndMigrate
overwriteDbsInTarget: True
resourceGroupName: testrg
secretParameters:
adminCredentials:
sourceServerPassword: xxxxxxxx
targetServerPassword: xxxxxxxx
sourceDbServerResourceId: testsource:5432@pguser
sourceType: OnPremises
sslMode: Prefer
targetDbServerName: testtarget
Create Pre-migration Validation
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var migration = new AzureNative.DBforPostgreSQL.Migration("migration", new()
{
DbsToMigrate = new[]
{
"db1",
"db2",
"db3",
"db4",
},
Location = "westus",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "testmigration",
MigrationOption = AzureNative.DBforPostgreSQL.MigrationOption.Validate,
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDbsInTargetEnum.True,
ResourceGroupName = "testrg",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "xxxxxxxx",
TargetServerPassword = "xxxxxxxx",
},
},
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
TargetDbServerName = "testtarget",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/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("db1"),
pulumi.String("db2"),
pulumi.String("db3"),
pulumi.String("db4"),
},
Location: pulumi.String("westus"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("testmigration"),
MigrationOption: pulumi.String(dbforpostgresql.MigrationOptionValidate),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDbsInTargetEnumTrue),
ResourceGroupName: pulumi.String("testrg"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("xxxxxxxx"),
TargetServerPassword: pulumi.String("xxxxxxxx"),
},
},
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource"),
TargetDbServerName: pulumi.String("testtarget"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Migration;
import com.pulumi.azurenative.dbforpostgresql.MigrationArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.MigrationSecretParametersArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AdminCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var migration = new Migration("migration", MigrationArgs.builder()
.dbsToMigrate(
"db1",
"db2",
"db3",
"db4")
.location("westus")
.migrationMode("Offline")
.migrationName("testmigration")
.migrationOption("Validate")
.overwriteDbsInTarget("True")
.resourceGroupName("testrg")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("xxxxxxxx")
.targetServerPassword("xxxxxxxx")
.build())
.build())
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource")
.targetDbServerName("testtarget")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"db1",
"db2",
"db3",
"db4",
],
location: "westus",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "testmigration",
migrationOption: azure_native.dbforpostgresql.MigrationOption.Validate,
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.True,
resourceGroupName: "testrg",
secretParameters: {
adminCredentials: {
sourceServerPassword: "xxxxxxxx",
targetServerPassword: "xxxxxxxx",
},
},
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
targetDbServerName: "testtarget",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"db1",
"db2",
"db3",
"db4",
],
location="westus",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="testmigration",
migration_option=azure_native.dbforpostgresql.MigrationOption.VALIDATE,
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.TRUE,
resource_group_name="testrg",
secret_parameters={
"admin_credentials": {
"source_server_password": "xxxxxxxx",
"target_server_password": "xxxxxxxx",
},
},
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
target_db_server_name="testtarget")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- db1
- db2
- db3
- db4
location: westus
migrationMode: Offline
migrationName: testmigration
migrationOption: Validate
overwriteDbsInTarget: True
resourceGroupName: testrg
secretParameters:
adminCredentials:
sourceServerPassword: xxxxxxxx
targetServerPassword: xxxxxxxx
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource
targetDbServerName: testtarget
Migrations Create by passing user names
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var migration = new AzureNative.DBforPostgreSQL.Migration("migration", new()
{
DbsToMigrate = new[]
{
"db1",
"db2",
"db3",
"db4",
},
Location = "westus",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "testmigration",
ResourceGroupName = "testrg",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "xxxxxxxx",
TargetServerPassword = "xxxxxxxx",
},
SourceServerUsername = "newadmin@testsource",
TargetServerUsername = "targetadmin",
},
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
TargetDbServerName = "testtarget",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/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("db1"),
pulumi.String("db2"),
pulumi.String("db3"),
pulumi.String("db4"),
},
Location: pulumi.String("westus"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("testmigration"),
ResourceGroupName: pulumi.String("testrg"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("xxxxxxxx"),
TargetServerPassword: pulumi.String("xxxxxxxx"),
},
SourceServerUsername: pulumi.String("newadmin@testsource"),
TargetServerUsername: pulumi.String("targetadmin"),
},
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource"),
TargetDbServerName: pulumi.String("testtarget"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Migration;
import com.pulumi.azurenative.dbforpostgresql.MigrationArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.MigrationSecretParametersArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AdminCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var migration = new Migration("migration", MigrationArgs.builder()
.dbsToMigrate(
"db1",
"db2",
"db3",
"db4")
.location("westus")
.migrationMode("Offline")
.migrationName("testmigration")
.resourceGroupName("testrg")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("xxxxxxxx")
.targetServerPassword("xxxxxxxx")
.build())
.sourceServerUsername("newadmin@testsource")
.targetServerUsername("targetadmin")
.build())
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource")
.targetDbServerName("testtarget")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"db1",
"db2",
"db3",
"db4",
],
location: "westus",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "testmigration",
resourceGroupName: "testrg",
secretParameters: {
adminCredentials: {
sourceServerPassword: "xxxxxxxx",
targetServerPassword: "xxxxxxxx",
},
sourceServerUsername: "newadmin@testsource",
targetServerUsername: "targetadmin",
},
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
targetDbServerName: "testtarget",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"db1",
"db2",
"db3",
"db4",
],
location="westus",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="testmigration",
resource_group_name="testrg",
secret_parameters={
"admin_credentials": {
"source_server_password": "xxxxxxxx",
"target_server_password": "xxxxxxxx",
},
"source_server_username": "newadmin@testsource",
"target_server_username": "targetadmin",
},
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
target_db_server_name="testtarget")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- db1
- db2
- db3
- db4
location: westus
migrationMode: Offline
migrationName: testmigration
resourceGroupName: testrg
secretParameters:
adminCredentials:
sourceServerPassword: xxxxxxxx
targetServerPassword: xxxxxxxx
sourceServerUsername: newadmin@testsource
targetServerUsername: targetadmin
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource
targetDbServerName: testtarget
Migrations Create 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[]
{
"db1",
"db2",
"db3",
"db4",
},
Location = "westus",
MigrationInstanceResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "testmigration",
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDbsInTargetEnum.True,
ResourceGroupName = "testrg",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "xxxxxxxx",
TargetServerPassword = "xxxxxxxx",
},
},
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
TargetDbServerName = "testtarget",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/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("db1"),
pulumi.String("db2"),
pulumi.String("db3"),
pulumi.String("db4"),
},
Location: pulumi.String("westus"),
MigrationInstanceResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("testmigration"),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDbsInTargetEnumTrue),
ResourceGroupName: pulumi.String("testrg"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("xxxxxxxx"),
TargetServerPassword: pulumi.String("xxxxxxxx"),
},
},
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource"),
TargetDbServerName: pulumi.String("testtarget"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Migration;
import com.pulumi.azurenative.dbforpostgresql.MigrationArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.MigrationSecretParametersArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AdminCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var migration = new Migration("migration", MigrationArgs.builder()
.dbsToMigrate(
"db1",
"db2",
"db3",
"db4")
.location("westus")
.migrationInstanceResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration")
.migrationMode("Offline")
.migrationName("testmigration")
.overwriteDbsInTarget("True")
.resourceGroupName("testrg")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("xxxxxxxx")
.targetServerPassword("xxxxxxxx")
.build())
.build())
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource")
.targetDbServerName("testtarget")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"db1",
"db2",
"db3",
"db4",
],
location: "westus",
migrationInstanceResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "testmigration",
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.True,
resourceGroupName: "testrg",
secretParameters: {
adminCredentials: {
sourceServerPassword: "xxxxxxxx",
targetServerPassword: "xxxxxxxx",
},
},
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
targetDbServerName: "testtarget",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"db1",
"db2",
"db3",
"db4",
],
location="westus",
migration_instance_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="testmigration",
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.TRUE,
resource_group_name="testrg",
secret_parameters={
"admin_credentials": {
"source_server_password": "xxxxxxxx",
"target_server_password": "xxxxxxxx",
},
},
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
target_db_server_name="testtarget")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- db1
- db2
- db3
- db4
location: westus
migrationInstanceResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration
migrationMode: Offline
migrationName: testmigration
overwriteDbsInTarget: True
resourceGroupName: testrg
secretParameters:
adminCredentials:
sourceServerPassword: xxxxxxxx
targetServerPassword: xxxxxxxx
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource
targetDbServerName: testtarget
Migrations Create 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[]
{
"db1",
"db2",
"db3",
"db4",
},
Location = "westus",
MigrateRoles = AzureNative.DBforPostgreSQL.MigrateRolesEnum.True,
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "testmigration",
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDbsInTargetEnum.True,
ResourceGroupName = "testrg",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "xxxxxxxx",
TargetServerPassword = "xxxxxxxx",
},
},
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
TargetDbServerName = "testtarget",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/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("db1"),
pulumi.String("db2"),
pulumi.String("db3"),
pulumi.String("db4"),
},
Location: pulumi.String("westus"),
MigrateRoles: pulumi.String(dbforpostgresql.MigrateRolesEnumTrue),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("testmigration"),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDbsInTargetEnumTrue),
ResourceGroupName: pulumi.String("testrg"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("xxxxxxxx"),
TargetServerPassword: pulumi.String("xxxxxxxx"),
},
},
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource"),
TargetDbServerName: pulumi.String("testtarget"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Migration;
import com.pulumi.azurenative.dbforpostgresql.MigrationArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.MigrationSecretParametersArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AdminCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var migration = new Migration("migration", MigrationArgs.builder()
.dbsToMigrate(
"db1",
"db2",
"db3",
"db4")
.location("westus")
.migrateRoles("True")
.migrationMode("Offline")
.migrationName("testmigration")
.overwriteDbsInTarget("True")
.resourceGroupName("testrg")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("xxxxxxxx")
.targetServerPassword("xxxxxxxx")
.build())
.build())
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource")
.targetDbServerName("testtarget")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"db1",
"db2",
"db3",
"db4",
],
location: "westus",
migrateRoles: azure_native.dbforpostgresql.MigrateRolesEnum.True,
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "testmigration",
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.True,
resourceGroupName: "testrg",
secretParameters: {
adminCredentials: {
sourceServerPassword: "xxxxxxxx",
targetServerPassword: "xxxxxxxx",
},
},
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
targetDbServerName: "testtarget",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"db1",
"db2",
"db3",
"db4",
],
location="westus",
migrate_roles=azure_native.dbforpostgresql.MigrateRolesEnum.TRUE,
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="testmigration",
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.TRUE,
resource_group_name="testrg",
secret_parameters={
"admin_credentials": {
"source_server_password": "xxxxxxxx",
"target_server_password": "xxxxxxxx",
},
},
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
target_db_server_name="testtarget")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- db1
- db2
- db3
- db4
location: westus
migrateRoles: True
migrationMode: Offline
migrationName: testmigration
overwriteDbsInTarget: True
resourceGroupName: testrg
secretParameters:
adminCredentials:
sourceServerPassword: xxxxxxxx
targetServerPassword: xxxxxxxx
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource
targetDbServerName: testtarget
Migrations_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var migration = new AzureNative.DBforPostgreSQL.Migration("migration", new()
{
DbsToMigrate = new[]
{
"db1",
"db2",
"db3",
"db4",
},
Location = "westus",
MigrationInstanceResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration",
MigrationMode = AzureNative.DBforPostgreSQL.MigrationMode.Offline,
MigrationName = "testmigration",
OverwriteDbsInTarget = AzureNative.DBforPostgreSQL.OverwriteDbsInTargetEnum.True,
ResourceGroupName = "testrg",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "xxxxxxxx",
TargetServerPassword = "xxxxxxxx",
},
},
SourceDbServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
TargetDbServerName = "testtarget",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/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("db1"),
pulumi.String("db2"),
pulumi.String("db3"),
pulumi.String("db4"),
},
Location: pulumi.String("westus"),
MigrationInstanceResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration"),
MigrationMode: pulumi.String(dbforpostgresql.MigrationModeOffline),
MigrationName: pulumi.String("testmigration"),
OverwriteDbsInTarget: pulumi.String(dbforpostgresql.OverwriteDbsInTargetEnumTrue),
ResourceGroupName: pulumi.String("testrg"),
SecretParameters: &dbforpostgresql.MigrationSecretParametersArgs{
AdminCredentials: &dbforpostgresql.AdminCredentialsArgs{
SourceServerPassword: pulumi.String("xxxxxxxx"),
TargetServerPassword: pulumi.String("xxxxxxxx"),
},
},
SourceDbServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource"),
TargetDbServerName: pulumi.String("testtarget"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Migration;
import com.pulumi.azurenative.dbforpostgresql.MigrationArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.MigrationSecretParametersArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AdminCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var migration = new Migration("migration", MigrationArgs.builder()
.dbsToMigrate(
"db1",
"db2",
"db3",
"db4")
.location("westus")
.migrationInstanceResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration")
.migrationMode("Offline")
.migrationName("testmigration")
.overwriteDbsInTarget("True")
.resourceGroupName("testrg")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("xxxxxxxx")
.targetServerPassword("xxxxxxxx")
.build())
.build())
.sourceDbServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource")
.targetDbServerName("testtarget")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migration = new azure_native.dbforpostgresql.Migration("migration", {
dbsToMigrate: [
"db1",
"db2",
"db3",
"db4",
],
location: "westus",
migrationInstanceResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration",
migrationMode: azure_native.dbforpostgresql.MigrationMode.Offline,
migrationName: "testmigration",
overwriteDbsInTarget: azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.True,
resourceGroupName: "testrg",
secretParameters: {
adminCredentials: {
sourceServerPassword: "xxxxxxxx",
targetServerPassword: "xxxxxxxx",
},
},
sourceDbServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
targetDbServerName: "testtarget",
});
import pulumi
import pulumi_azure_native as azure_native
migration = azure_native.dbforpostgresql.Migration("migration",
dbs_to_migrate=[
"db1",
"db2",
"db3",
"db4",
],
location="westus",
migration_instance_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration",
migration_mode=azure_native.dbforpostgresql.MigrationMode.OFFLINE,
migration_name="testmigration",
overwrite_dbs_in_target=azure_native.dbforpostgresql.OverwriteDbsInTargetEnum.TRUE,
resource_group_name="testrg",
secret_parameters={
"admin_credentials": {
"source_server_password": "xxxxxxxx",
"target_server_password": "xxxxxxxx",
},
},
source_db_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource",
target_db_server_name="testtarget")
resources:
migration:
type: azure-native:dbforpostgresql:Migration
properties:
dbsToMigrate:
- db1
- db2
- db3
- db4
location: westus
migrationInstanceResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/flexibleServers/testsourcemigration
migrationMode: Offline
migrationName: testmigration
overwriteDbsInTarget: True
resourceGroupName: testrg
secretParameters:
adminCredentials:
sourceServerPassword: xxxxxxxx
targetServerPassword: xxxxxxxx
sourceDbServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBForPostgreSql/servers/testsource
targetDbServerName: testtarget
Create Migration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Migration(name: string, args: MigrationArgs, opts?: CustomResourceOptions);
@overload
def Migration(resource_name: str,
args: MigrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Migration(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
target_db_server_name: Optional[str] = None,
overwrite_dbs_in_target: Optional[Union[str, OverwriteDbsInTargetEnum]] = None,
migration_name: Optional[str] = None,
location: Optional[str] = None,
migrate_roles: Optional[Union[str, MigrateRolesEnum]] = None,
migration_instance_resource_id: Optional[str] = None,
migration_mode: Optional[Union[str, MigrationMode]] = None,
dbs_to_migrate: Optional[Sequence[str]] = None,
migration_option: Optional[Union[str, MigrationOption]] = None,
migration_window_end_time_in_utc: Optional[str] = None,
migration_window_start_time_in_utc: Optional[str] = None,
dbs_to_trigger_cutover_on: Optional[Sequence[str]] = None,
cancel: Optional[Union[str, CancelEnum]] = None,
source_type: Optional[Union[str, SourceType]] = None,
setup_logical_replication_on_source_db_if_needed: Optional[Union[str, LogicalReplicationOnSourceDbEnum]] = None,
source_db_server_fully_qualified_domain_name: Optional[str] = None,
source_db_server_resource_id: Optional[str] = None,
secret_parameters: Optional[MigrationSecretParametersArgs] = None,
ssl_mode: Optional[Union[str, SslMode]] = None,
start_data_migration: Optional[Union[str, StartDataMigrationEnum]] = None,
subscription_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
target_db_server_fully_qualified_domain_name: Optional[str] = None,
dbs_to_cancel_migration_on: Optional[Sequence[str]] = None,
trigger_cutover: Optional[Union[str, TriggerCutoverEnum]] = None)
func NewMigration(ctx *Context, name string, args MigrationArgs, opts ...ResourceOption) (*Migration, error)
public Migration(string name, MigrationArgs args, CustomResourceOptions? opts = null)
public Migration(String name, MigrationArgs args)
public Migration(String name, MigrationArgs args, CustomResourceOptions options)
type: azure-native:dbforpostgresql:Migration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MigrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var migrationResource = new AzureNative.DBforPostgreSQL.Migration("migrationResource", new()
{
ResourceGroupName = "string",
TargetDbServerName = "string",
OverwriteDbsInTarget = "string",
MigrationName = "string",
Location = "string",
MigrateRoles = "string",
MigrationInstanceResourceId = "string",
MigrationMode = "string",
DbsToMigrate = new[]
{
"string",
},
MigrationOption = "string",
MigrationWindowEndTimeInUtc = "string",
MigrationWindowStartTimeInUtc = "string",
DbsToTriggerCutoverOn = new[]
{
"string",
},
Cancel = "string",
SourceType = "string",
SetupLogicalReplicationOnSourceDbIfNeeded = "string",
SourceDbServerFullyQualifiedDomainName = "string",
SourceDbServerResourceId = "string",
SecretParameters = new AzureNative.DBforPostgreSQL.Inputs.MigrationSecretParametersArgs
{
AdminCredentials = new AzureNative.DBforPostgreSQL.Inputs.AdminCredentialsArgs
{
SourceServerPassword = "string",
TargetServerPassword = "string",
},
SourceServerUsername = "string",
TargetServerUsername = "string",
},
SslMode = "string",
StartDataMigration = "string",
SubscriptionId = "string",
Tags =
{
{ "string", "string" },
},
TargetDbServerFullyQualifiedDomainName = "string",
DbsToCancelMigrationOn = new[]
{
"string",
},
TriggerCutover = "string",
});
example, err := dbforpostgresql.NewMigration(ctx, "migrationResource", &dbforpostgresql.MigrationArgs{
ResourceGroupName: pulumi.String("string"),
TargetDbServerName: pulumi.String("string"),
OverwriteDbsInTarget: pulumi.String("string"),
MigrationName: pulumi.String("string"),
Location: pulumi.String("string"),
MigrateRoles: pulumi.String("string"),
MigrationInstanceResourceId: pulumi.String("string"),
MigrationMode: pulumi.String("string"),
DbsToMigrate: pulumi.StringArray{
pulumi.String("string"),
},
MigrationOption: pulumi.String("string"),
MigrationWindowEndTimeInUtc: pulumi.String("string"),
MigrationWindowStartTimeInUtc: pulumi.String("string"),
DbsToTriggerCutoverOn: pulumi.StringArray{
pulumi.String("string"),
},
Cancel: pulumi.String("string"),
SourceType: pulumi.String("string"),
SetupLogicalReplicationOnSourceDbIfNeeded: pulumi.String("string"),
SourceDbServerFullyQualifiedDomainName: pulumi.String("string"),
SourceDbServerResourceId: 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"),
},
SslMode: pulumi.String("string"),
StartDataMigration: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TargetDbServerFullyQualifiedDomainName: pulumi.String("string"),
DbsToCancelMigrationOn: pulumi.StringArray{
pulumi.String("string"),
},
TriggerCutover: pulumi.String("string"),
})
var migrationResource = new Migration("migrationResource", MigrationArgs.builder()
.resourceGroupName("string")
.targetDbServerName("string")
.overwriteDbsInTarget("string")
.migrationName("string")
.location("string")
.migrateRoles("string")
.migrationInstanceResourceId("string")
.migrationMode("string")
.dbsToMigrate("string")
.migrationOption("string")
.migrationWindowEndTimeInUtc("string")
.migrationWindowStartTimeInUtc("string")
.dbsToTriggerCutoverOn("string")
.cancel("string")
.sourceType("string")
.setupLogicalReplicationOnSourceDbIfNeeded("string")
.sourceDbServerFullyQualifiedDomainName("string")
.sourceDbServerResourceId("string")
.secretParameters(MigrationSecretParametersArgs.builder()
.adminCredentials(AdminCredentialsArgs.builder()
.sourceServerPassword("string")
.targetServerPassword("string")
.build())
.sourceServerUsername("string")
.targetServerUsername("string")
.build())
.sslMode("string")
.startDataMigration("string")
.subscriptionId("string")
.tags(Map.of("string", "string"))
.targetDbServerFullyQualifiedDomainName("string")
.dbsToCancelMigrationOn("string")
.triggerCutover("string")
.build());
migration_resource = azure_native.dbforpostgresql.Migration("migrationResource",
resource_group_name="string",
target_db_server_name="string",
overwrite_dbs_in_target="string",
migration_name="string",
location="string",
migrate_roles="string",
migration_instance_resource_id="string",
migration_mode="string",
dbs_to_migrate=["string"],
migration_option="string",
migration_window_end_time_in_utc="string",
migration_window_start_time_in_utc="string",
dbs_to_trigger_cutover_on=["string"],
cancel="string",
source_type="string",
setup_logical_replication_on_source_db_if_needed="string",
source_db_server_fully_qualified_domain_name="string",
source_db_server_resource_id="string",
secret_parameters={
"admin_credentials": {
"source_server_password": "string",
"target_server_password": "string",
},
"source_server_username": "string",
"target_server_username": "string",
},
ssl_mode="string",
start_data_migration="string",
subscription_id="string",
tags={
"string": "string",
},
target_db_server_fully_qualified_domain_name="string",
dbs_to_cancel_migration_on=["string"],
trigger_cutover="string")
const migrationResource = new azure_native.dbforpostgresql.Migration("migrationResource", {
resourceGroupName: "string",
targetDbServerName: "string",
overwriteDbsInTarget: "string",
migrationName: "string",
location: "string",
migrateRoles: "string",
migrationInstanceResourceId: "string",
migrationMode: "string",
dbsToMigrate: ["string"],
migrationOption: "string",
migrationWindowEndTimeInUtc: "string",
migrationWindowStartTimeInUtc: "string",
dbsToTriggerCutoverOn: ["string"],
cancel: "string",
sourceType: "string",
setupLogicalReplicationOnSourceDbIfNeeded: "string",
sourceDbServerFullyQualifiedDomainName: "string",
sourceDbServerResourceId: "string",
secretParameters: {
adminCredentials: {
sourceServerPassword: "string",
targetServerPassword: "string",
},
sourceServerUsername: "string",
targetServerUsername: "string",
},
sslMode: "string",
startDataMigration: "string",
subscriptionId: "string",
tags: {
string: "string",
},
targetDbServerFullyQualifiedDomainName: "string",
dbsToCancelMigrationOn: ["string"],
triggerCutover: "string",
});
type: azure-native:dbforpostgresql:Migration
properties:
cancel: string
dbsToCancelMigrationOn:
- string
dbsToMigrate:
- string
dbsToTriggerCutoverOn:
- string
location: string
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
setupLogicalReplicationOnSourceDbIfNeeded: string
sourceDbServerFullyQualifiedDomainName: string
sourceDbServerResourceId: string
sourceType: string
sslMode: string
startDataMigration: string
subscriptionId: string
tags:
string: string
targetDbServerFullyQualifiedDomainName: string
targetDbServerName: string
triggerCutover: string
Migration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Migration resource accepts the following input properties:
- Resource
Group stringName - The resource group name of the target database server.
- Target
Db stringServer Name - The name of the target database server.
- Cancel
string | Pulumi.
Azure Native. DBfor Postgre SQL. Cancel Enum - To trigger cancel for entire migration we need to send this flag as True
- Dbs
To List<string>Cancel Migration On - When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- Dbs
To List<string>Migrate - Number of databases to migrate
- Dbs
To List<string>Trigger Cutover On - When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- Location string
- The geo-location where the resource lives
- Migrate
Roles string | Pulumi.Azure Native. DBfor Postgre SQL. Migrate Roles Enum - To migrate roles and permissions we need to send this flag as True
- Migration
Instance stringResource Id - ResourceId of the private endpoint migration instance
- Migration
Mode string | Pulumi.Azure Native. DBfor Postgre SQL. Migration Mode - There are two types of migration modes Online and Offline
- Migration
Name string - The name of the migration.
- Migration
Option string | Pulumi.Azure Native. DBfor Postgre SQL. Migration Option - This indicates the supported Migration option for the migration
- Migration
Window stringEnd Time In Utc - End time in UTC for migration window
- Migration
Window stringStart Time In Utc - Start time in UTC for migration window
- Overwrite
Dbs string | Pulumi.In Target Azure Native. DBfor Postgre SQL. Overwrite Dbs In Target Enum - Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- 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 Db Enum - Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- Source
Db stringServer Fully Qualified Domain Name - Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- Source
Db stringServer Resource Id - ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username
- Source
Type string | Pulumi.Azure Native. DBfor Postgre SQL. Source Type - migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB
- Ssl
Mode string | Pulumi.Azure Native. DBfor Postgre SQL. Ssl Mode - SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types
- Start
Data string | Pulumi.Migration Azure Native. DBfor Postgre SQL. Start Data Migration Enum - Indicates whether the data migration should start right away
- Subscription
Id string - The subscription ID of the target database server.
- Dictionary<string, string>
- Resource tags.
- Target
Db stringServer Fully Qualified Domain Name - Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- Trigger
Cutover string | Pulumi.Azure Native. DBfor Postgre SQL. Trigger Cutover Enum - To trigger cutover for entire migration we need to send this flag as True
- Resource
Group stringName - The resource group name of the target database server.
- Target
Db stringServer Name - The name of the target database server.
- Cancel
string | Cancel
Enum - To trigger cancel for entire migration we need to send this flag as True
- Dbs
To []stringCancel Migration On - When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- Dbs
To []stringMigrate - Number of databases to migrate
- Dbs
To []stringTrigger Cutover On - When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- Location string
- The geo-location where the resource lives
- Migrate
Roles string | MigrateRoles Enum - To migrate roles and permissions we need to send this flag as True
- Migration
Instance stringResource Id - ResourceId of the private endpoint migration instance
- Migration
Mode string | MigrationMode - There are two types of migration modes Online and Offline
- Migration
Name string - The name of the migration.
- Migration
Option string | MigrationOption - This indicates the supported Migration option for the migration
- Migration
Window stringEnd Time In Utc - End time in UTC for migration window
- Migration
Window stringStart Time In Utc - Start time in UTC for migration window
- Overwrite
Dbs string | OverwriteIn Target Dbs In Target Enum - Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- Secret
Parameters MigrationSecret Parameters Args - Migration secret parameters
- Setup
Logical string | LogicalReplication On Source Db If Needed Replication On Source Db Enum - Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- Source
Db stringServer Fully Qualified Domain Name - Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- Source
Db stringServer Resource Id - ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username
- Source
Type string | SourceType - migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB
- Ssl
Mode string | SslMode - SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types
- Start
Data string | StartMigration Data Migration Enum - Indicates whether the data migration should start right away
- Subscription
Id string - The subscription ID of the target database server.
- map[string]string
- Resource tags.
- Target
Db stringServer Fully Qualified Domain Name - Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- Trigger
Cutover string | TriggerCutover Enum - To trigger cutover for entire migration we need to send this flag as True
- resource
Group StringName - The resource group name of the target database server.
- target
Db StringServer Name - The name of the target database server.
- cancel
String | Cancel
Enum - To trigger cancel for entire migration we need to send this flag as True
- dbs
To List<String>Cancel Migration On - When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- dbs
To List<String>Migrate - Number of databases to migrate
- dbs
To List<String>Trigger Cutover On - When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- location String
- The geo-location where the resource lives
- migrate
Roles String | MigrateRoles Enum - To migrate roles and permissions we need to send this flag as True
- migration
Instance StringResource Id - ResourceId of the private endpoint migration instance
- migration
Mode String | MigrationMode - There are two types of migration modes Online and Offline
- migration
Name String - The name of the migration.
- migration
Option String | MigrationOption - This indicates the supported Migration option for the migration
- migration
Window StringEnd Time In Utc - End time in UTC for migration window
- migration
Window StringStart Time In Utc - Start time in UTC for migration window
- overwrite
Dbs String | OverwriteIn Target Dbs In Target Enum - Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- secret
Parameters MigrationSecret Parameters - Migration secret parameters
- setup
Logical String | LogicalReplication On Source Db If Needed Replication On Source Db Enum - Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- source
Db StringServer Fully Qualified Domain Name - Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- source
Db StringServer Resource Id - ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username
- source
Type String | SourceType - migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB
- ssl
Mode String | SslMode - SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types
- start
Data String | StartMigration Data Migration Enum - Indicates whether the data migration should start right away
- subscription
Id String - The subscription ID of the target database server.
- Map<String,String>
- Resource tags.
- target
Db StringServer Fully Qualified Domain Name - Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- trigger
Cutover String | TriggerCutover Enum - To trigger cutover for entire migration we need to send this flag as True
- resource
Group stringName - The resource group name of the target database server.
- target
Db stringServer Name - The name of the target database server.
- cancel
string | Cancel
Enum - To trigger cancel for entire migration we need to send this flag as True
- dbs
To string[]Cancel Migration On - When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- dbs
To string[]Migrate - Number of databases to migrate
- dbs
To string[]Trigger Cutover On - When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- location string
- The geo-location where the resource lives
- migrate
Roles string | MigrateRoles Enum - To migrate roles and permissions we need to send this flag as True
- migration
Instance stringResource Id - ResourceId of the private endpoint migration instance
- migration
Mode string | MigrationMode - There are two types of migration modes Online and Offline
- migration
Name string - The name of the migration.
- migration
Option string | MigrationOption - This indicates the supported Migration option for the migration
- migration
Window stringEnd Time In Utc - End time in UTC for migration window
- migration
Window stringStart Time In Utc - Start time in UTC for migration window
- overwrite
Dbs string | OverwriteIn Target Dbs In Target Enum - Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- secret
Parameters MigrationSecret Parameters - Migration secret parameters
- setup
Logical string | LogicalReplication On Source Db If Needed Replication On Source Db Enum - Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- source
Db stringServer Fully Qualified Domain Name - Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- source
Db stringServer Resource Id - ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username
- source
Type string | SourceType - migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB
- ssl
Mode string | SslMode - SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types
- start
Data string | StartMigration Data Migration Enum - Indicates whether the data migration should start right away
- subscription
Id string - The subscription ID of the target database server.
- {[key: string]: string}
- Resource tags.
- target
Db stringServer Fully Qualified Domain Name - Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- trigger
Cutover string | TriggerCutover Enum - To trigger cutover for entire migration we need to send this flag as True
- resource_
group_ strname - The resource group name of the target database server.
- target_
db_ strserver_ name - The name of the target database server.
- cancel
str | Cancel
Enum - To trigger cancel for entire migration we need to send this flag as True
- dbs_
to_ Sequence[str]cancel_ migration_ on - When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- dbs_
to_ Sequence[str]migrate - Number of databases to migrate
- dbs_
to_ Sequence[str]trigger_ cutover_ on - When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- location str
- The geo-location where the resource lives
- migrate_
roles str | MigrateRoles Enum - To migrate roles and permissions we need to send this flag as True
- migration_
instance_ strresource_ id - ResourceId of the private endpoint migration instance
- migration_
mode str | MigrationMode - There are two types of migration modes Online and Offline
- migration_
name str - The name of the migration.
- migration_
option str | MigrationOption - This indicates the supported Migration option for the migration
- migration_
window_ strend_ time_ in_ utc - End time in UTC for migration window
- migration_
window_ strstart_ time_ in_ utc - Start time in UTC for migration window
- overwrite_
dbs_ str | Overwritein_ target Dbs In Target Enum - Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- secret_
parameters MigrationSecret Parameters Args - Migration secret parameters
- setup_
logical_ str | Logicalreplication_ on_ source_ db_ if_ needed Replication On Source Db Enum - Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- source_
db_ strserver_ fully_ qualified_ domain_ name - Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- source_
db_ strserver_ resource_ id - ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username
- source_
type str | SourceType - migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB
- ssl_
mode str | SslMode - SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types
- start_
data_ str | Startmigration Data Migration Enum - Indicates whether the data migration should start right away
- subscription_
id str - The subscription ID of the target database server.
- Mapping[str, str]
- Resource tags.
- target_
db_ strserver_ fully_ qualified_ domain_ name - Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- trigger_
cutover str | TriggerCutover Enum - To trigger cutover for entire migration we need to send this flag as True
- resource
Group StringName - The resource group name of the target database server.
- target
Db StringServer Name - The name of the target database server.
- cancel String | "True" | "False"
- To trigger cancel for entire migration we need to send this flag as True
- dbs
To List<String>Cancel Migration On - When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
- dbs
To List<String>Migrate - Number of databases to migrate
- dbs
To List<String>Trigger Cutover On - When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
- location String
- The geo-location where the resource lives
- migrate
Roles String | "True" | "False" - To migrate roles and permissions we need to send this flag as True
- migration
Instance StringResource Id - ResourceId of the private endpoint migration instance
- migration
Mode String | "Offline" | "Online" - There are two types of migration modes Online and Offline
- migration
Name String - The name of the migration.
- migration
Option String | "Validate" | "Migrate" | "ValidateAnd Migrate" - This indicates the supported Migration option for the migration
- migration
Window StringEnd Time In Utc - End time in UTC for migration window
- migration
Window StringStart Time In Utc - Start time in UTC for migration window
- overwrite
Dbs String | "True" | "False"In Target - Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
- secret
Parameters Property Map - Migration secret parameters
- setup
Logical String | "True" | "False"Replication On Source Db If Needed - Indicates whether to setup LogicalReplicationOnSourceDb, if needed
- source
Db StringServer Fully Qualified Domain Name - Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- source
Db StringServer Resource Id - ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be 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" - migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB
- ssl
Mode String | "Prefer" | "Require" | "VerifyCA" | "Verify Full" - SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types
- start
Data String | "True" | "False"Migration - Indicates whether the data migration should start right away
- subscription
Id String - The subscription ID of the target database server.
- Map<String>
- Resource tags.
- target
Db StringServer Fully Qualified Domain Name - Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
- trigger
Cutover String | "True" | "False" - To trigger cutover for entire migration we need to send this flag as True
Outputs
All input properties are implicitly available as output properties. Additionally, the Migration resource produces the following output properties:
- 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 migration
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - ID for migration, a GUID.
- Name string
- The name of the resource
- Source
Db Pulumi.Server Metadata Azure Native. DBfor Postgre SQL. Outputs. Db Server Metadata Response - Metadata of the 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 the target database server
- Target
Db stringServer Resource Id - ResourceId of the source database server
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Current
Status MigrationStatus Response - Current status of migration
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - ID for migration, a GUID.
- Name string
- The name of the resource
- Source
Db DbServer Metadata Server Metadata Response - Metadata of the source database server
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Target
Db DbServer Metadata Server Metadata Response - Metadata of the target database server
- Target
Db stringServer Resource Id - ResourceId of the source database server
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- current
Status MigrationStatus Response - Current status of migration
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - ID for migration, a GUID.
- name String
- The name of the resource
- source
Db DbServer Metadata Server Metadata Response - Metadata of the source database server
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target
Db DbServer Metadata Server Metadata Response - Metadata of the target database server
- target
Db StringServer Resource Id - ResourceId of the source database server
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- current
Status MigrationStatus Response - Current status of migration
- id string
- The provider-assigned unique ID for this managed resource.
- migration
Id string - ID for migration, a GUID.
- name string
- The name of the resource
- source
Db DbServer Metadata Server Metadata Response - Metadata of the source database server
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target
Db DbServer Metadata Server Metadata Response - Metadata of the target database server
- target
Db stringServer Resource Id - ResourceId of the source database server
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- current_
status MigrationStatus Response - Current status of migration
- id str
- The provider-assigned unique ID for this managed resource.
- migration_
id str - ID for migration, a GUID.
- name str
- The name of the resource
- source_
db_ Dbserver_ metadata Server Metadata Response - Metadata of the source database server
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target_
db_ Dbserver_ metadata Server Metadata Response - Metadata of the target database server
- target_
db_ strserver_ resource_ id - ResourceId of the source database server
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- current
Status Property Map - Current status of migration
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - ID for migration, a GUID.
- name String
- The name of the resource
- source
Db Property MapServer Metadata - Metadata of the source database server
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target
Db Property MapServer Metadata - Metadata of the target database server
- target
Db StringServer Resource Id - ResourceId of the source database server
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AdminCredentials, AdminCredentialsArgs
- Source
Server stringPassword - Password for source server.
- Target
Server stringPassword - Password for target server.
- Source
Server stringPassword - Password for source server.
- Target
Server stringPassword - Password for target server.
- source
Server StringPassword - Password for source server.
- target
Server StringPassword - Password for target server.
- source
Server stringPassword - Password for source server.
- target
Server stringPassword - Password for target server.
- source_
server_ strpassword - Password for source server.
- target_
server_ strpassword - Password for target server.
- source
Server StringPassword - Password for source server.
- target
Server StringPassword - Password for target server.
CancelEnum, CancelEnumArgs
- True
- True
- False
- False
- Cancel
Enum True - True
- Cancel
Enum False - False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
DbLevelValidationStatusResponse, DbLevelValidationStatusResponseArgs
- Database
Name string - Name of the database
- Ended
On string - End date-time of a database level validation
- Started
On string - Start date-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 the database
- Ended
On string - End date-time of a database level validation
- Started
On string - Start date-time of a database level validation
- Summary
[]Validation
Summary Item Response - Summary of database level validations
- database
Name String - Name of the database
- ended
On String - End date-time of a database level validation
- started
On String - Start date-time of a database level validation
- summary
List<Validation
Summary Item Response> - Summary of database level validations
- database
Name string - Name of the database
- ended
On string - End date-time of a database level validation
- started
On string - Start date-time of a database level validation
- summary
Validation
Summary Item Response[] - Summary of database level validations
- database_
name str - Name of the database
- ended_
on str - End date-time of a database level validation
- started_
on str - Start date-time of a database level validation
- summary
Sequence[Validation
Summary Item Response] - Summary of database level validations
- database
Name String - Name of the database
- ended
On String - End date-time of a database level validation
- started
On String - Start date-time of a database level validation
- summary List<Property Map>
- Summary of database level validations
DbMigrationStatusResponse, DbMigrationStatusResponseArgs
- Applied
Changes int - CDC applied changes counter
- Cdc
Delete intCounter - CDC delete counter
- Cdc
Insert intCounter - CDC insert counter
- Cdc
Update intCounter - CDC update counter
- Database
Name string - Name of the database
- Ended
On string - End date-time of a migration state
- Full
Load intCompleted Tables - Number of tables loaded during the migration of a DB
- Full
Load intErrored Tables - Number of tables errored out during the migration of a DB
- Full
Load intLoading Tables - Number of tables loading during the migration of a DB
- Full
Load intQueued Tables - Number of tables queued for the migration of a DB
- Incoming
Changes int - CDC 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 an individual database
- Migration
State string - Migration db state of an individual database
- Started
On string - Start date-time of a migration state
- Applied
Changes int - CDC applied changes counter
- Cdc
Delete intCounter - CDC delete counter
- Cdc
Insert intCounter - CDC insert counter
- Cdc
Update intCounter - CDC update counter
- Database
Name string - Name of the database
- Ended
On string - End date-time of a migration state
- Full
Load intCompleted Tables - Number of tables loaded during the migration of a DB
- Full
Load intErrored Tables - Number of tables errored out during the migration of a DB
- Full
Load intLoading Tables - Number of tables loading during the migration of a DB
- Full
Load intQueued Tables - Number of tables queued for the migration of a DB
- Incoming
Changes int - CDC 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 an individual database
- Migration
State string - Migration db state of an individual database
- Started
On string - Start date-time of a migration state
- applied
Changes Integer - CDC applied changes counter
- cdc
Delete IntegerCounter - CDC delete counter
- cdc
Insert IntegerCounter - CDC insert counter
- cdc
Update IntegerCounter - CDC update counter
- database
Name String - Name of the database
- ended
On String - End date-time of a migration state
- full
Load IntegerCompleted Tables - Number of tables loaded during the migration of a DB
- full
Load IntegerErrored Tables - Number of tables errored out during the migration of a DB
- full
Load IntegerLoading Tables - Number of tables loading during the migration of a DB
- full
Load IntegerQueued Tables - Number of tables queued for the migration of a DB
- incoming
Changes Integer - CDC 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 an individual database
- migration
State String - Migration db state of an individual database
- started
On String - Start date-time of a migration state
- applied
Changes number - CDC applied changes counter
- cdc
Delete numberCounter - CDC delete counter
- cdc
Insert numberCounter - CDC insert counter
- cdc
Update numberCounter - CDC update counter
- database
Name string - Name of the database
- ended
On string - End date-time of a migration state
- full
Load numberCompleted Tables - Number of tables loaded during the migration of a DB
- full
Load numberErrored Tables - Number of tables errored out during the migration of a DB
- full
Load numberLoading Tables - Number of tables loading during the migration of a DB
- full
Load numberQueued Tables - Number of tables queued for the migration of a DB
- incoming
Changes number - CDC 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 an individual database
- migration
State string - Migration db state of an individual database
- started
On string - Start date-time of a migration state
- applied_
changes int - CDC applied changes counter
- cdc_
delete_ intcounter - CDC delete counter
- cdc_
insert_ intcounter - CDC insert counter
- cdc_
update_ intcounter - CDC update counter
- database_
name str - Name of the database
- ended_
on str - End date-time of a migration state
- full_
load_ intcompleted_ tables - Number of tables loaded during the migration of a DB
- full_
load_ interrored_ tables - Number of tables errored out during the migration of a DB
- full_
load_ intloading_ tables - Number of tables loading during the migration of a DB
- full_
load_ intqueued_ tables - Number of tables queued for the migration of a DB
- incoming_
changes int - CDC 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 an individual database
- migration_
state str - Migration db state of an individual database
- started_
on str - Start date-time of a migration state
- applied
Changes Number - CDC applied changes counter
- cdc
Delete NumberCounter - CDC delete counter
- cdc
Insert NumberCounter - CDC insert counter
- cdc
Update NumberCounter - CDC update counter
- database
Name String - Name of the database
- ended
On String - End date-time of a migration state
- full
Load NumberCompleted Tables - Number of tables loaded during the migration of a DB
- full
Load NumberErrored Tables - Number of tables errored out during the migration of a DB
- full
Load NumberLoading Tables - Number of tables loading during the migration of a DB
- full
Load NumberQueued Tables - Number of tables queued for the migration of a DB
- incoming
Changes Number - CDC 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 an individual database
- migration
State String - Migration db state of an individual database
- started
On String - Start date-time of a migration state
DbServerMetadataResponse, DbServerMetadataResponseArgs
- Location string
- Location of database server
- Sku
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Server Sku Response - SKU for the database server. This object is empty for PG single server
- Storage
Mb int - Storage size in MB for database server
- Version string
- Version for database engine
- Location string
- Location of database server
- Sku
Server
Sku Response - SKU for the database server. This object is empty for PG single server
- Storage
Mb int - Storage size in MB for database server
- Version string
- Version for database engine
- location String
- Location of database server
- sku
Server
Sku Response - SKU for the database server. This object is empty for PG single server
- storage
Mb Integer - Storage size in MB for database server
- version String
- Version for database engine
- location string
- Location of database server
- sku
Server
Sku Response - SKU for the database server. This object is empty for PG single server
- storage
Mb number - Storage size in MB for database server
- version string
- Version for database engine
- location str
- Location of database server
- sku
Server
Sku Response - SKU for the database server. This object is empty for PG single server
- storage_
mb int - Storage size in MB for database server
- version str
- Version for database engine
- location String
- Location of database server
- sku Property Map
- SKU for the database server. This object is empty for PG single server
- storage
Mb Number - Storage size in MB for database server
- version String
- Version for database engine
LogicalReplicationOnSourceDbEnum, LogicalReplicationOnSourceDbEnumArgs
- True
- True
- False
- False
- Logical
Replication On Source Db Enum True - True
- Logical
Replication On Source Db Enum False - False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
MigrateRolesEnum, MigrateRolesEnumArgs
- True
- True
- False
- False
- Migrate
Roles Enum True - True
- Migrate
Roles Enum False - False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
MigrationMode, MigrationModeArgs
- Offline
- Offline
- Online
- Online
- Migration
Mode Offline - Offline
- Migration
Mode Online - Online
- Offline
- Offline
- Online
- Online
- Offline
- Offline
- Online
- Online
- OFFLINE
- Offline
- ONLINE
- Online
- "Offline"
- Offline
- "Online"
- Online
MigrationOption, MigrationOptionArgs
- Validate
- Validate
- Migrate
- Migrate
- Validate
And Migrate - ValidateAndMigrate
- Migration
Option Validate - Validate
- Migration
Option Migrate - Migrate
- Migration
Option Validate And Migrate - ValidateAndMigrate
- Validate
- Validate
- Migrate
- Migrate
- Validate
And Migrate - ValidateAndMigrate
- Validate
- Validate
- Migrate
- Migrate
- Validate
And Migrate - ValidateAndMigrate
- VALIDATE
- Validate
- MIGRATE
- Migrate
- VALIDATE_AND_MIGRATE
- ValidateAndMigrate
- "Validate"
- Validate
- "Migrate"
- Migrate
- "Validate
And Migrate" - ValidateAndMigrate
MigrationSecretParameters, MigrationSecretParametersArgs
- Admin
Credentials Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Admin Credentials - Admin credentials for source and target servers
- Source
Server stringUsername - Gets or sets the username for the source server. This user need not be an admin.
- Target
Server stringUsername - Gets or sets the username for the target server. This user need not be an admin.
- Admin
Credentials AdminCredentials - Admin credentials for source and target servers
- Source
Server stringUsername - Gets or sets the username for the source server. This user need not be an admin.
- Target
Server stringUsername - Gets or sets the username for the target server. This user need not be an admin.
- admin
Credentials AdminCredentials - Admin credentials for source and target servers
- source
Server StringUsername - Gets or sets the username for the source server. This user need not be an admin.
- target
Server StringUsername - Gets or sets the username for the target server. This user need not be an admin.
- admin
Credentials AdminCredentials - Admin credentials for source and target servers
- source
Server stringUsername - Gets or sets the username for the source server. This user need not be an admin.
- target
Server stringUsername - Gets or sets the username for the target server. This user need not be an admin.
- admin_
credentials AdminCredentials - Admin credentials for source and target servers
- source_
server_ strusername - Gets or sets the username for the source server. This user need not be an admin.
- target_
server_ strusername - Gets or sets the username for the target server. This user need not be an admin.
- admin
Credentials Property Map - Admin credentials for source and target servers
- source
Server StringUsername - Gets or sets the username for the source server. This user need not be an admin.
- target
Server StringUsername - Gets or sets the username for the target server. This user need not be an admin.
MigrationStatusResponse, MigrationStatusResponseArgs
- Current
Sub Pulumi.State Details Azure Native. DBfor Postgre SQL. Inputs. Migration Sub State Details Response - Current Migration sub state details.
- Error string
- Error message, if any, for the migration state
- State string
- State of migration
- Current
Sub MigrationState Details Sub State Details Response - Current Migration sub state details.
- Error string
- Error message, if any, for the migration state
- State string
- State of migration
- current
Sub MigrationState Details Sub State Details Response - Current Migration sub state details.
- error String
- Error message, if any, for the migration state
- state String
- State of migration
- current
Sub MigrationState Details Sub State Details Response - Current Migration sub state details.
- error string
- Error message, if any, for the migration state
- state string
- State of migration
- current_
sub_ Migrationstate_ details Sub State Details Response - Current Migration sub state details.
- error str
- Error message, if any, for the migration state
- state str
- State of migration
- 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
- Current
Sub stringState - Migration sub state.
- Db
Details Dictionary<string, Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Db Migration Status Response> - Validation
Details Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Validation Details Response - Details for the validation for migration
- Current
Sub stringState - Migration sub state.
- Db
Details map[string]DbMigration Status Response - Validation
Details ValidationDetails Response - Details for the validation for migration
- current
Sub StringState - Migration sub state.
- db
Details Map<String,DbMigration Status Response> - validation
Details ValidationDetails Response - Details for the validation for migration
- current
Sub stringState - Migration sub state.
- db
Details {[key: string]: DbMigration Status Response} - validation
Details ValidationDetails Response - Details for the validation for migration
- current_
sub_ strstate - Migration sub state.
- db_
details Mapping[str, DbMigration Status Response] - validation_
details ValidationDetails Response - Details for the validation for migration
- current
Sub StringState - Migration sub state.
- db
Details Map<Property Map> - validation
Details Property Map - Details for the validation for migration
OverwriteDbsInTargetEnum, OverwriteDbsInTargetEnumArgs
- True
- True
- False
- False
- Overwrite
Dbs In Target Enum True - True
- Overwrite
Dbs In Target Enum False - False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
ServerSkuResponse, ServerSkuResponseArgs
SourceType, SourceTypeArgs
- On
Premises - OnPremises
- AWS
- AWS
- GCP
- GCP
- Azure
VM - AzureVM
- Postgre
SQLSingle Server - PostgreSQLSingleServer
- AWS_RDS
- AWS_RDS
- AWS_AURORA
- AWS_AURORA
- AWS_EC2
- AWS_EC2
- GCP_Cloud
SQL - GCP_CloudSQL
- GCP_Alloy
DB - GCP_AlloyDB
- GCP_Compute
- GCP_Compute
- EDB
- EDB
- Source
Type On Premises - OnPremises
- Source
Type AWS - AWS
- Source
Type GCP - GCP
- Source
Type Azure VM - AzureVM
- Source
Type Postgre SQLSingle Server - PostgreSQLSingleServer
- Source
Type_AWS_RDS - AWS_RDS
- Source
Type_AWS_AURORA - AWS_AURORA
- Source
Type_AWS_EC2 - AWS_EC2
- Source
Type_GCP_Cloud SQL - GCP_CloudSQL
- Source
Type_GCP_Alloy DB - GCP_AlloyDB
- Source
Type_GCP_Compute - GCP_Compute
- Source
Type EDB - EDB
- On
Premises - OnPremises
- AWS
- AWS
- GCP
- GCP
- Azure
VM - AzureVM
- Postgre
SQLSingle Server - PostgreSQLSingleServer
- AWS_RDS
- AWS_RDS
- AWS_AURORA
- AWS_AURORA
- AWS_EC2
- AWS_EC2
- GCP_Cloud
SQL - GCP_CloudSQL
- GCP_Alloy
DB - GCP_AlloyDB
- GCP_Compute
- GCP_Compute
- EDB
- EDB
- On
Premises - OnPremises
- AWS
- AWS
- GCP
- GCP
- Azure
VM - AzureVM
- Postgre
SQLSingle Server - PostgreSQLSingleServer
- AWS_RDS
- AWS_RDS
- AWS_AURORA
- AWS_AURORA
- AWS_EC2
- AWS_EC2
- GCP_Cloud
SQL - GCP_CloudSQL
- GCP_Alloy
DB - GCP_AlloyDB
- GCP_Compute
- GCP_Compute
- EDB
- EDB
- ON_PREMISES
- OnPremises
- AWS
- AWS
- GCP
- GCP
- AZURE_VM
- AzureVM
- POSTGRE_SQL_SINGLE_SERVER
- PostgreSQLSingleServer
- AW_S_RDS
- AWS_RDS
- AW_S_AURORA
- AWS_AURORA
- AW_S_EC2
- AWS_EC2
- GC_P_CLOUD_SQL
- GCP_CloudSQL
- GC_P_ALLOY_DB
- GCP_AlloyDB
- GC_P_COMPUTE
- GCP_Compute
- EDB
- EDB
- "On
Premises" - OnPremises
- "AWS"
- AWS
- "GCP"
- GCP
- "Azure
VM" - AzureVM
- "Postgre
SQLSingle Server" - PostgreSQLSingleServer
- "AWS_RDS"
- AWS_RDS
- "AWS_AURORA"
- AWS_AURORA
- "AWS_EC2"
- AWS_EC2
- "GCP_Cloud
SQL" - GCP_CloudSQL
- "GCP_Alloy
DB" - GCP_AlloyDB
- "GCP_Compute"
- GCP_Compute
- "EDB"
- EDB
SslMode, SslModeArgs
- Prefer
- Prefer
- Require
- Require
- Verify
CA - VerifyCA
- Verify
Full - VerifyFull
- Ssl
Mode Prefer - Prefer
- Ssl
Mode Require - Require
- Ssl
Mode Verify CA - VerifyCA
- Ssl
Mode Verify Full - VerifyFull
- Prefer
- Prefer
- Require
- Require
- Verify
CA - VerifyCA
- Verify
Full - VerifyFull
- Prefer
- Prefer
- Require
- Require
- Verify
CA - VerifyCA
- Verify
Full - VerifyFull
- PREFER
- Prefer
- REQUIRE
- Require
- VERIFY_CA
- VerifyCA
- VERIFY_FULL
- VerifyFull
- "Prefer"
- Prefer
- "Require"
- Require
- "Verify
CA" - VerifyCA
- "Verify
Full" - VerifyFull
StartDataMigrationEnum, StartDataMigrationEnumArgs
- True
- True
- False
- False
- Start
Data Migration Enum True - True
- Start
Data Migration Enum False - False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TriggerCutoverEnum, TriggerCutoverEnumArgs
- True
- True
- False
- False
- Trigger
Cutover Enum True - True
- Trigger
Cutover Enum False - False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
ValidationDetailsResponse, ValidationDetailsResponseArgs
- 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 - Validation End date-time in UTC
- Validation
Start stringTime In Utc - Validation Start date-time in UTC
- 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 - Validation End date-time in UTC
- Validation
Start stringTime In Utc - Validation Start date-time in UTC
- 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 - Validation End date-time in UTC
- validation
Start StringTime In Utc - Validation Start date-time in UTC
- 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 - Validation End date-time in UTC
- validation
Start stringTime In Utc - Validation Start date-time in UTC
- 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 - Validation End date-time in UTC
- validation_
start_ strtime_ in_ utc - Validation Start date-time in UTC
- 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 - Validation End date-time in UTC
- validation
Start StringTime In Utc - Validation Start date-time in UTC
ValidationMessageResponse, ValidationMessageResponseArgs
ValidationSummaryItemResponse, ValidationSummaryItemResponseArgs
- 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<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 testmigration /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0