MigratePostgreSqlAzureDBForPostgreSqlSyncTaskInput Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MigratePostgreSqlAzureDBForPostgreSqlSyncTaskInput.
public MigratePostgreSqlAzureDBForPostgreSqlSyncTaskInput (System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput> selectedDatabases, Azure.ResourceManager.DataMigration.Models.PostgreSqlConnectionInfo targetConnectionInfo, Azure.ResourceManager.DataMigration.Models.PostgreSqlConnectionInfo sourceConnectionInfo);
new Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskInput : seq<Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput> * Azure.ResourceManager.DataMigration.Models.PostgreSqlConnectionInfo * Azure.ResourceManager.DataMigration.Models.PostgreSqlConnectionInfo -> Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskInput
Public Sub New (selectedDatabases As IEnumerable(Of MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput), targetConnectionInfo As PostgreSqlConnectionInfo, sourceConnectionInfo As PostgreSqlConnectionInfo)
Parameters
- selectedDatabases
- IEnumerable<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>
Databases to migrate.
- targetConnectionInfo
- PostgreSqlConnectionInfo
Connection information for target Azure Database for PostgreSQL.
- sourceConnectionInfo
- PostgreSqlConnectionInfo
Connection information for source PostgreSQL.
Exceptions
selectedDatabases
, targetConnectionInfo
or sourceConnectionInfo
is null.