Share via


ArmDataMigrationModelFactory.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput Method

Definition

Initializes a new instance of MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput.

public static Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput (string name = default, string id = default, string targetDatabaseName = default, System.Collections.Generic.IDictionary<string,BinaryData> migrationSetting = default, System.Collections.Generic.IDictionary<string,string> sourceSetting = default, System.Collections.Generic.IDictionary<string,string> targetSetting = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseTableInput> selectedTables = default);
static member MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput : string * string * string * System.Collections.Generic.IDictionary<string, BinaryData> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseTableInput> -> Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput
Public Shared Function MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput (Optional name As String = Nothing, Optional id As String = Nothing, Optional targetDatabaseName As String = Nothing, Optional migrationSetting As IDictionary(Of String, BinaryData) = Nothing, Optional sourceSetting As IDictionary(Of String, String) = Nothing, Optional targetSetting As IDictionary(Of String, String) = Nothing, Optional selectedTables As IEnumerable(Of MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseTableInput) = Nothing) As MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput

Parameters

name
String

Name of the database.

id
String

Result identifier.

targetDatabaseName
String

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

migrationSetting
IDictionary<String,BinaryData>

Migration settings which tune the migration behavior.

sourceSetting
IDictionary<String,String>

Source settings to tune source endpoint migration behavior.

targetSetting
IDictionary<String,String>

Target settings to tune target endpoint migration behavior.

selectedTables
IEnumerable<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseTableInput>

Tables selected for migration.

Returns

A new MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput instance for mocking.

Applies to