Share via


MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput Class

Definition

Database specific information for PostgreSQL to Azure Database for PostgreSQL migration task inputs.

public class MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput
type MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput = class
Public Class MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput
Inheritance
MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput

Constructors

MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput()

Initializes a new instance of MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput.

Properties

Id

Result identifier.

MigrationSetting

Migration settings which tune the migration behavior

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Name

Name of the database.

SelectedTables

Tables selected for migration.

SourceSetting

Source settings to tune source endpoint migration behavior.

TargetDatabaseName

Name of target database. Note: Target database will be truncated before starting migration.

TargetSetting

Target settings to tune target endpoint migration behavior.

Applies to