From 0e2503926204e4929c57e4f0bd2fa79db78860a1 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 24 Feb 2020 22:02:14 +0000 Subject: [PATCH] Generated from 497f37d011e45d90e7a5f190b1326ec89e2719c8 Merge pull request #6 from Khushboo-Baheti/master merge --- .../arm-datamigration/LICENSE.txt | 2 +- sdk/datamigration/arm-datamigration/README.md | 2 +- .../src/dataMigrationServiceClientContext.ts | 2 +- .../arm-datamigration/src/models/index.ts | 294 ++++++++++++++++-- .../arm-datamigration/src/models/mappers.ts | 68 +++- 5 files changed, 333 insertions(+), 35 deletions(-) diff --git a/sdk/datamigration/arm-datamigration/LICENSE.txt b/sdk/datamigration/arm-datamigration/LICENSE.txt index b73b4a1293c3..ea8fb1516028 100644 --- a/sdk/datamigration/arm-datamigration/LICENSE.txt +++ b/sdk/datamigration/arm-datamigration/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/datamigration/arm-datamigration/README.md b/sdk/datamigration/arm-datamigration/README.md index d6b3a84c59a5..e21bb2044b65 100644 --- a/sdk/datamigration/arm-datamigration/README.md +++ b/sdk/datamigration/arm-datamigration/README.md @@ -96,4 +96,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdatamigration%2Farm-datamigration%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/datamigration/arm-datamigration/README.png) diff --git a/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClientContext.ts b/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClientContext.ts index 6a0937753ff2..e98fef460950 100644 --- a/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClientContext.ts +++ b/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-datamigration"; -const packageVersion = "1.0.1"; +const packageVersion = "2.0.0"; export class DataMigrationServiceClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/datamigration/arm-datamigration/src/models/index.ts b/sdk/datamigration/arm-datamigration/src/models/index.ts index f2255ca5eb5d..e47a8dfaa522 100644 --- a/sdk/datamigration/arm-datamigration/src/models/index.ts +++ b/sdk/datamigration/arm-datamigration/src/models/index.ts @@ -517,6 +517,14 @@ export interface PostgreSqlConnectionInfo { * Port for Server */ port: number; + /** + * Whether to encrypt the connection. Default value: true. + */ + encryptConnection?: boolean; + /** + * Whether to trust the server certificate. Default value: false. + */ + trustServerCertificate?: boolean; } /** @@ -969,10 +977,19 @@ export interface MongoDbError { type?: MongoDbErrorType; } +/** + * Contains the possible cases for MongoDbProgress. + */ +export type MongoDbProgressUnion = MongoDbProgress | MongoDbCollectionProgress | MongoDbDatabaseProgress | MongoDbMigrationProgress; + /** * Base class for MongoDB migration outputs */ export interface MongoDbProgress { + /** + * Polymorphic Discriminator + */ + resultType: "MongoDbProgress"; /** * The number of document bytes copied during the Copying stage */ @@ -1018,10 +1035,6 @@ export interface MongoDbProgress { * name. For a database, this is the database name. For the overall migration, this is null. */ qualifiedName?: string; - /** - * The type of progress object. Possible values include: 'Migration', 'Database', 'Collection' - */ - resultType: ResultType; /** * Possible values include: 'NotStarted', 'ValidatingInput', 'Initializing', 'Restarting', * 'Copying', 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', 'Failed' @@ -1042,13 +1055,141 @@ export interface MongoDbProgress { /** * Describes the progress of a collection */ -export interface MongoDbCollectionProgress extends MongoDbProgress { +export interface MongoDbCollectionProgress { + /** + * Polymorphic Discriminator + */ + resultType: "Collection"; + /** + * The number of document bytes copied during the Copying stage + */ + bytesCopied: number; + /** + * The number of documents copied during the Copying stage + */ + documentsCopied: number; + /** + * The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + */ + elapsedTime: string; + /** + * The errors and warnings that have occurred for the current object. The keys are the error + * codes. + */ + errors: { [propertyName: string]: MongoDbError }; + /** + * The number of oplog events awaiting replay + */ + eventsPending: number; + /** + * The number of oplog events replayed so far + */ + eventsReplayed: number; + /** + * The timestamp of the last oplog event received, or null if no oplog event has been received + * yet + */ + lastEventTime?: Date; + /** + * The timestamp of the last oplog event replayed, or null if no oplog event has been replayed + * yet + */ + lastReplayTime?: Date; + /** + * The name of the progress object. For a collection, this is the unqualified collection name. + * For a database, this is the database name. For the overall migration, this is null. + */ + name?: string; + /** + * The qualified name of the progress object. For a collection, this is the database-qualified + * name. For a database, this is the database name. For the overall migration, this is null. + */ + qualifiedName?: string; + /** + * Possible values include: 'NotStarted', 'ValidatingInput', 'Initializing', 'Restarting', + * 'Copying', 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', 'Failed' + */ + state: MongoDbMigrationState; + /** + * The total number of document bytes on the source at the beginning of the Copying stage, or -1 + * if the total size was unknown + */ + totalBytes: number; + /** + * The total number of documents on the source at the beginning of the Copying stage, or -1 if + * the total count was unknown + */ + totalDocuments: number; } /** * Describes the progress of a database */ -export interface MongoDbDatabaseProgress extends MongoDbProgress { +export interface MongoDbDatabaseProgress { + /** + * Polymorphic Discriminator + */ + resultType: "Database"; + /** + * The number of document bytes copied during the Copying stage + */ + bytesCopied: number; + /** + * The number of documents copied during the Copying stage + */ + documentsCopied: number; + /** + * The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + */ + elapsedTime: string; + /** + * The errors and warnings that have occurred for the current object. The keys are the error + * codes. + */ + errors: { [propertyName: string]: MongoDbError }; + /** + * The number of oplog events awaiting replay + */ + eventsPending: number; + /** + * The number of oplog events replayed so far + */ + eventsReplayed: number; + /** + * The timestamp of the last oplog event received, or null if no oplog event has been received + * yet + */ + lastEventTime?: Date; + /** + * The timestamp of the last oplog event replayed, or null if no oplog event has been replayed + * yet + */ + lastReplayTime?: Date; + /** + * The name of the progress object. For a collection, this is the unqualified collection name. + * For a database, this is the database name. For the overall migration, this is null. + */ + name?: string; + /** + * The qualified name of the progress object. For a collection, this is the database-qualified + * name. For a database, this is the database name. For the overall migration, this is null. + */ + qualifiedName?: string; + /** + * Possible values include: 'NotStarted', 'ValidatingInput', 'Initializing', 'Restarting', + * 'Copying', 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', 'Failed' + */ + state: MongoDbMigrationState; + /** + * The total number of document bytes on the source at the beginning of the Copying stage, or -1 + * if the total size was unknown + */ + totalBytes: number; + /** + * The total number of documents on the source at the beginning of the Copying stage, or -1 if + * the total count was unknown + */ + totalDocuments: number; /** * The progress of the collections in the database. The keys are the unqualified names of the * collections @@ -1059,7 +1200,71 @@ export interface MongoDbDatabaseProgress extends MongoDbProgress { /** * Describes the progress of the overall migration */ -export interface MongoDbMigrationProgress extends MongoDbProgress { +export interface MongoDbMigrationProgress { + /** + * Polymorphic Discriminator + */ + resultType: "Migration"; + /** + * The number of document bytes copied during the Copying stage + */ + bytesCopied: number; + /** + * The number of documents copied during the Copying stage + */ + documentsCopied: number; + /** + * The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + */ + elapsedTime: string; + /** + * The errors and warnings that have occurred for the current object. The keys are the error + * codes. + */ + errors: { [propertyName: string]: MongoDbError }; + /** + * The number of oplog events awaiting replay + */ + eventsPending: number; + /** + * The number of oplog events replayed so far + */ + eventsReplayed: number; + /** + * The timestamp of the last oplog event received, or null if no oplog event has been received + * yet + */ + lastEventTime?: Date; + /** + * The timestamp of the last oplog event replayed, or null if no oplog event has been replayed + * yet + */ + lastReplayTime?: Date; + /** + * The name of the progress object. For a collection, this is the unqualified collection name. + * For a database, this is the database name. For the overall migration, this is null. + */ + name?: string; + /** + * The qualified name of the progress object. For a collection, this is the database-qualified + * name. For a database, this is the database name. For the overall migration, this is null. + */ + qualifiedName?: string; + /** + * Possible values include: 'NotStarted', 'ValidatingInput', 'Initializing', 'Restarting', + * 'Copying', 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', 'Failed' + */ + state: MongoDbMigrationState; + /** + * The total number of document bytes on the source at the beginning of the Copying stage, or -1 + * if the total size was unknown + */ + totalBytes: number; + /** + * The total number of documents on the source at the beginning of the Copying stage, or -1 if + * the total count was unknown + */ + totalDocuments: number; /** * The progress of the databases in the migration. The keys are the names of the databases */ @@ -1849,7 +2054,8 @@ export interface MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel { /** * Migration state that this database is in. Possible values include: 'UNDEFINED', 'CONFIGURING', * 'INITIALIAZING', 'STARTING', 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', - * 'CANCELLING', 'CANCELLED', 'FAILED' + * 'CANCELLING', 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', 'VALIDATION_FAILED', + * 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly migrationState?: SyncDatabaseMigrationReportingState; @@ -2171,7 +2377,8 @@ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLeve /** * Migration state that this database is in. Possible values include: 'UNDEFINED', 'CONFIGURING', * 'INITIALIAZING', 'STARTING', 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', - * 'CANCELLING', 'CANCELLED', 'FAILED' + * 'CANCELLING', 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', 'VALIDATION_FAILED', + * 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly migrationState?: SyncDatabaseMigrationReportingState; @@ -2275,6 +2482,24 @@ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLev * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly targetServer?: string; + /** + * Source server type. Possible values include: 'Access', 'DB2', 'MySQL', 'Oracle', 'SQL', + * 'Sybase', 'PostgreSQL', 'MongoDB', 'SQLRDS', 'MySQLRDS', 'PostgreSQLRDS' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceServerType?: ScenarioSource; + /** + * Target server type. Possible values include: 'SQLServer', 'SQLDB', 'SQLDW', 'SQLMI', + * 'AzureDBForMySql', 'AzureDBForPostgresSQL', 'MongoDB' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetServerType?: ScenarioTarget; + /** + * Migration status. Possible values include: 'UNDEFINED', 'VALIDATING', 'PENDING', 'COMPLETE', + * 'ACTION_REQUIRED', 'FAILED' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly state?: ReplicateMigrationState; } /** @@ -2331,7 +2556,7 @@ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties { /** * Polymorphic Discriminator */ - taskType: "Migrate.PostgreSql.AzureDbForPostgreSql.Sync"; + taskType: "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2"; /** * Array of errors. This is ignored if submitted. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -2539,7 +2764,8 @@ export interface MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel { /** * Migration state that this database is in. Possible values include: 'UNDEFINED', 'CONFIGURING', * 'INITIALIAZING', 'STARTING', 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', - * 'CANCELLING', 'CANCELLED', 'FAILED' + * 'CANCELLING', 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', 'VALIDATION_FAILED', + * 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly migrationState?: SyncDatabaseMigrationReportingState; @@ -2906,7 +3132,8 @@ export interface MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel { /** * Migration state that this database is in. Possible values include: 'UNDEFINED', 'CONFIGURING', * 'INITIALIAZING', 'STARTING', 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', - * 'CANCELLING', 'CANCELLED', 'FAILED' + * 'CANCELLING', 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', 'VALIDATION_FAILED', + * 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly migrationState?: SyncDatabaseMigrationReportingState; @@ -4549,7 +4776,7 @@ export interface MigrateMongoDbTaskProperties { /** * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly output?: MongoDbProgress[]; + readonly output?: MongoDbProgressUnion[]; } /** @@ -8026,11 +8253,40 @@ export type SyncTableMigrationState = 'BEFORE_LOAD' | 'FULL_LOAD' | 'COMPLETED' /** * Defines values for SyncDatabaseMigrationReportingState. * Possible values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', 'RUNNING', - * 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', 'CANCELLED', 'FAILED' + * 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', 'CANCELLED', 'FAILED', + * 'VALIDATING', 'VALIDATION_COMPLETE', 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', + * 'RESTORE_COMPLETED', 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' * @readonly * @enum {string} */ -export type SyncDatabaseMigrationReportingState = 'UNDEFINED' | 'CONFIGURING' | 'INITIALIAZING' | 'STARTING' | 'RUNNING' | 'READY_TO_COMPLETE' | 'COMPLETING' | 'COMPLETE' | 'CANCELLING' | 'CANCELLED' | 'FAILED'; +export type SyncDatabaseMigrationReportingState = 'UNDEFINED' | 'CONFIGURING' | 'INITIALIAZING' | 'STARTING' | 'RUNNING' | 'READY_TO_COMPLETE' | 'COMPLETING' | 'COMPLETE' | 'CANCELLING' | 'CANCELLED' | 'FAILED' | 'VALIDATING' | 'VALIDATION_COMPLETE' | 'VALIDATION_FAILED' | 'RESTORE_IN_PROGRESS' | 'RESTORE_COMPLETED' | 'BACKUP_IN_PROGRESS' | 'BACKUP_COMPLETED'; + +/** + * Defines values for ReplicateMigrationState. + * Possible values include: 'UNDEFINED', 'VALIDATING', 'PENDING', 'COMPLETE', 'ACTION_REQUIRED', + * 'FAILED' + * @readonly + * @enum {string} + */ +export type ReplicateMigrationState = 'UNDEFINED' | 'VALIDATING' | 'PENDING' | 'COMPLETE' | 'ACTION_REQUIRED' | 'FAILED'; + +/** + * Defines values for ScenarioTarget. + * Possible values include: 'SQLServer', 'SQLDB', 'SQLDW', 'SQLMI', 'AzureDBForMySql', + * 'AzureDBForPostgresSQL', 'MongoDB' + * @readonly + * @enum {string} + */ +export type ScenarioTarget = 'SQLServer' | 'SQLDB' | 'SQLDW' | 'SQLMI' | 'AzureDBForMySql' | 'AzureDBForPostgresSQL' | 'MongoDB'; + +/** + * Defines values for ScenarioSource. + * Possible values include: 'Access', 'DB2', 'MySQL', 'Oracle', 'SQL', 'Sybase', 'PostgreSQL', + * 'MongoDB', 'SQLRDS', 'MySQLRDS', 'PostgreSQLRDS' + * @readonly + * @enum {string} + */ +export type ScenarioSource = 'Access' | 'DB2' | 'MySQL' | 'Oracle' | 'SQL' | 'Sybase' | 'PostgreSQL' | 'MongoDB' | 'SQLRDS' | 'MySQLRDS' | 'PostgreSQLRDS'; /** * Defines values for ValidationStatus. @@ -8280,14 +8536,6 @@ export type DataMigrationResultCode = 'Initial' | 'Completed' | 'ObjectNotExists */ export type ErrorType = 'Default' | 'Warning' | 'Error'; -/** - * Defines values for ResultType. - * Possible values include: 'Migration', 'Database', 'Collection' - * @readonly - * @enum {string} - */ -export type ResultType = 'Migration' | 'Database' | 'Collection'; - /** * Contains response data for the listSkus operation. */ diff --git a/sdk/datamigration/arm-datamigration/src/models/mappers.ts b/sdk/datamigration/arm-datamigration/src/models/mappers.ts index f2bf55c66195..7620f707dd43 100644 --- a/sdk/datamigration/arm-datamigration/src/models/mappers.ts +++ b/sdk/datamigration/arm-datamigration/src/models/mappers.ts @@ -711,6 +711,20 @@ export const PostgreSqlConnectionInfo: msRest.CompositeMapper = { type: { name: "Number" } + }, + encryptConnection: { + serializedName: "encryptConnection", + defaultValue: true, + type: { + name: "Boolean" + } + }, + trustServerCertificate: { + serializedName: "trustServerCertificate", + defaultValue: false, + type: { + name: "Boolean" + } } } } @@ -1355,6 +1369,11 @@ export const MongoDbProgress: msRest.CompositeMapper = { serializedName: "MongoDbProgress", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "resultType", + clientName: "resultType" + }, + uberParent: "MongoDbProgress", className: "MongoDbProgress", modelProperties: { bytesCopied: { @@ -1429,13 +1448,6 @@ export const MongoDbProgress: msRest.CompositeMapper = { name: "String" } }, - resultType: { - required: true, - serializedName: "resultType", - type: { - name: "String" - } - }, state: { required: true, serializedName: "state", @@ -1456,6 +1468,13 @@ export const MongoDbProgress: msRest.CompositeMapper = { type: { name: "Number" } + }, + resultType: { + required: true, + serializedName: "resultType", + type: { + name: "String" + } } } } @@ -1465,6 +1484,8 @@ export const MongoDbCollectionProgress: msRest.CompositeMapper = { serializedName: "Collection", type: { name: "Composite", + polymorphicDiscriminator: MongoDbProgress.type.polymorphicDiscriminator, + uberParent: "MongoDbProgress", className: "MongoDbCollectionProgress", modelProperties: { ...MongoDbProgress.type.modelProperties @@ -1476,6 +1497,8 @@ export const MongoDbDatabaseProgress: msRest.CompositeMapper = { serializedName: "Database", type: { name: "Composite", + polymorphicDiscriminator: MongoDbProgress.type.polymorphicDiscriminator, + uberParent: "MongoDbProgress", className: "MongoDbDatabaseProgress", modelProperties: { ...MongoDbProgress.type.modelProperties, @@ -1499,6 +1522,8 @@ export const MongoDbMigrationProgress: msRest.CompositeMapper = { serializedName: "Migration", type: { name: "Composite", + polymorphicDiscriminator: MongoDbProgress.type.polymorphicDiscriminator, + uberParent: "MongoDbProgress", className: "MongoDbMigrationProgress", modelProperties: { ...MongoDbProgress.type.modelProperties, @@ -3214,6 +3239,27 @@ export const MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel: type: { name: "String" } + }, + sourceServerType: { + readOnly: true, + serializedName: "sourceServerType", + type: { + name: "String" + } + }, + targetServerType: { + readOnly: true, + serializedName: "targetServerType", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "state", + type: { + name: "String" + } } } } @@ -3314,7 +3360,7 @@ export const MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput: msRest.Composit }; export const MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties: msRest.CompositeMapper = { - serializedName: "Migrate.PostgreSql.AzureDbForPostgreSql.Sync", + serializedName: "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2", type: { name: "Composite", polymorphicDiscriminator: ProjectTaskProperties.type.polymorphicDiscriminator, @@ -11067,6 +11113,10 @@ export const discriminators = { 'ProjectTaskProperties.Migrate.Ssis' : MigrateSsisTaskProperties, 'ProjectTaskProperties.GetTDECertificates.Sql' : GetTdeCertificatesSqlTaskProperties, 'ProjectTaskProperties.Validate.Oracle.AzureDbPostgreSql.Sync' : ValidateOracleAzureDbForPostgreSqlSyncTaskProperties, + 'MongoDbProgress.Collection' : MongoDbCollectionProgress, + 'MongoDbProgress.Database' : MongoDbDatabaseProgress, + 'MongoDbProgress' : MongoDbProgress, + 'MongoDbProgress.Migration' : MongoDbMigrationProgress, 'ProjectTaskProperties.Validate.MongoDb' : ValidateMongoDbTaskProperties, 'ProjectTaskProperties.ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS' : ValidateMigrationInputSqlServerSqlMISyncTaskProperties, 'ProjectTaskProperties.ValidateMigrationInput.SqlServer.AzureSqlDbMI' : ValidateMigrationInputSqlServerSqlMITaskProperties, @@ -11084,7 +11134,7 @@ export const discriminators = { 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.DatabaseLevelOutput' : MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel, 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.MigrationLevelOutput' : MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel, 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput' : MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput, - 'ProjectTaskProperties.Migrate.PostgreSql.AzureDbForPostgreSql.Sync' : MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, + 'ProjectTaskProperties.Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2' : MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, 'MigrateMySqlAzureDbForMySqlSyncTaskOutput.DatabaseLevelErrorOutput' : MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError, 'MigrateMySqlAzureDbForMySqlSyncTaskOutput.ErrorOutput' : MigrateMySqlAzureDbForMySqlSyncTaskOutputError, 'MigrateMySqlAzureDbForMySqlSyncTaskOutput.TableLevelOutput' : MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel,