@azure/arm-datamigration 3.0.0-alpha.20221102.1 → 3.0.0-alpha.20221129.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +3 -13
- package/dist/index.js +629 -109
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/src/dataMigrationManagementClient.d.ts +2 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist-esm/src/dataMigrationManagementClient.js +48 -17
- package/dist-esm/src/dataMigrationManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +556 -240
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +314 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/files.d.ts.map +1 -1
- package/dist-esm/src/operations/files.js +19 -7
- package/dist-esm/src/operations/files.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/projects.d.ts.map +1 -1
- package/dist-esm/src/operations/projects.js +19 -7
- package/dist-esm/src/operations/projects.js.map +1 -1
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -1
- package/dist-esm/src/operations/resourceSkus.js +19 -7
- package/dist-esm/src/operations/resourceSkus.js.map +1 -1
- package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -1
- package/dist-esm/src/operations/serviceTasks.js +19 -7
- package/dist-esm/src/operations/serviceTasks.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +55 -21
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlMigrationServices.js +55 -21
- package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -1
- package/dist-esm/src/operations/tasks.d.ts.map +1 -1
- package/dist-esm/src/operations/tasks.js +19 -7
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/usages.d.ts.map +1 -1
- package/dist-esm/src/operations/usages.js +19 -7
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +12 -8
- package/review/arm-datamigration.api.md +564 -872
- package/src/dataMigrationManagementClient.ts +59 -19
- package/src/index.ts +1 -0
- package/src/models/index.ts +646 -246
- package/src/operations/files.ts +22 -8
- package/src/operations/operations.ts +21 -8
- package/src/operations/projects.ts +21 -8
- package/src/operations/resourceSkus.ts +21 -8
- package/src/operations/serviceTasks.ts +21 -8
- package/src/operations/services.ts +67 -25
- package/src/operations/sqlMigrationServices.ts +71 -29
- package/src/operations/tasks.ts +22 -8
- package/src/operations/usages.ts +21 -8
- package/src/pagingHelper.ts +39 -0
- package/types/arm-datamigration.d.ts +567 -240
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.min.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),tslib=require("tslib"),coreLro=require("@azure/core-lro");function _interopNamespace(t){var r;return t&&t.__esModule?t:(r=Object.create(null),t&&Object.keys(t).forEach(function(e){var a;"default"!==e&&(a=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(r,e,a.get?a:{enumerable:!0,get:function(){return t[e]}}))}),r.default=t,Object.freeze(r))}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownResourceType=void 0,function(e){e.SqlMi="SqlMi",e.SqlVm="SqlVm"}(exports.KnownResourceType||(exports.KnownResourceType={})),exports.KnownOperationOrigin=void 0,function(e){e.User="user",e.System="system"}(exports.KnownOperationOrigin||(exports.KnownOperationOrigin={})),exports.KnownResourceSkuCapacityScaleType=void 0,function(e){e.Automatic="Automatic",e.Manual="Manual",e.None="None"}(exports.KnownResourceSkuCapacityScaleType||(exports.KnownResourceSkuCapacityScaleType={})),exports.KnownResourceSkuRestrictionsType=void 0,(exports.KnownResourceSkuRestrictionsType||(exports.KnownResourceSkuRestrictionsType={})).Location="location",exports.KnownResourceSkuRestrictionsReasonCode=void 0,function(e){e.QuotaId="QuotaId",e.NotAvailableForSubscription="NotAvailableForSubscription"}(exports.KnownResourceSkuRestrictionsReasonCode||(exports.KnownResourceSkuRestrictionsReasonCode={})),exports.KnownServiceProvisioningState=void 0,function(e){e.Accepted="Accepted",e.Deleting="Deleting",e.Deploying="Deploying",e.Stopped="Stopped",e.Stopping="Stopping",e.Starting="Starting",e.FailedToStart="FailedToStart",e.FailedToStop="FailedToStop",e.Succeeded="Succeeded",e.Failed="Failed"}(exports.KnownServiceProvisioningState||(exports.KnownServiceProvisioningState={})),exports.KnownServiceScalability=void 0,function(e){e.None="none",e.Manual="manual",e.Automatic="automatic"}(exports.KnownServiceScalability||(exports.KnownServiceScalability={})),exports.KnownTaskType=void 0,function(e){e.ConnectMongoDb="Connect.MongoDb",e.ConnectToSourceSqlServer="ConnectToSource.SqlServer",e.ConnectToSourceSqlServerSync="ConnectToSource.SqlServer.Sync",e.ConnectToSourcePostgreSqlSync="ConnectToSource.PostgreSql.Sync",e.ConnectToSourceMySql="ConnectToSource.MySql",e.ConnectToSourceOracleSync="ConnectToSource.Oracle.Sync",e.ConnectToTargetSqlDb="ConnectToTarget.SqlDb",e.ConnectToTargetSqlDbSync="ConnectToTarget.SqlDb.Sync",e.ConnectToTargetAzureDbForPostgreSqlSync="ConnectToTarget.AzureDbForPostgreSql.Sync",e.ConnectToTargetOracleAzureDbForPostgreSqlSync="ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync",e.ConnectToTargetAzureSqlDbMI="ConnectToTarget.AzureSqlDbMI",e.ConnectToTargetAzureSqlDbMISyncLRS="ConnectToTarget.AzureSqlDbMI.Sync.LRS",e.ConnectToTargetAzureDbForMySql="ConnectToTarget.AzureDbForMySql",e.GetUserTablesSql="GetUserTables.Sql",e.GetUserTablesAzureSqlDbSync="GetUserTables.AzureSqlDb.Sync",e.GetUserTablesOracle="GetUserTablesOracle",e.GetUserTablesPostgreSql="GetUserTablesPostgreSql",e.GetUserTablesMySql="GetUserTablesMySql",e.MigrateMongoDb="Migrate.MongoDb",e.MigrateSqlServerAzureSqlDbMI="Migrate.SqlServer.AzureSqlDbMI",e.MigrateSqlServerAzureSqlDbMISyncLRS="Migrate.SqlServer.AzureSqlDbMI.Sync.LRS",e.MigrateSqlServerSqlDb="Migrate.SqlServer.SqlDb",e.MigrateSqlServerAzureSqlDbSync="Migrate.SqlServer.AzureSqlDb.Sync",e.MigrateMySqlAzureDbForMySqlSync="Migrate.MySql.AzureDbForMySql.Sync",e.MigrateMySqlAzureDbForMySql="Migrate.MySql.AzureDbForMySql",e.MigratePostgreSqlAzureDbForPostgreSqlSyncV2="Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2",e.MigrateOracleAzureDbForPostgreSqlSync="Migrate.Oracle.AzureDbForPostgreSql.Sync",e.ValidateMigrationInputSqlServerSqlDbSync="ValidateMigrationInput.SqlServer.SqlDb.Sync",e.ValidateMigrationInputSqlServerAzureSqlDbMI="ValidateMigrationInput.SqlServer.AzureSqlDbMI",e.ValidateMigrationInputSqlServerAzureSqlDbMISyncLRS="ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS",e.ValidateMongoDb="Validate.MongoDb",e.ValidateOracleAzureDbPostgreSqlSync="Validate.Oracle.AzureDbPostgreSql.Sync",e.GetTDECertificatesSql="GetTDECertificates.Sql",e.MigrateSsis="Migrate.Ssis",e.ServiceCheckOCI="Service.Check.OCI",e.ServiceUploadOCI="Service.Upload.OCI",e.ServiceInstallOCI="Service.Install.OCI",e.MigrateSchemaSqlServerSqlDb="MigrateSchemaSqlServerSqlDb"}(exports.KnownTaskType||(exports.KnownTaskType={})),exports.KnownTaskState=void 0,function(e){e.Unknown="Unknown",e.Queued="Queued",e.Running="Running",e.Canceled="Canceled",e.Succeeded="Succeeded",e.Failed="Failed",e.FailedInputValidation="FailedInputValidation",e.Faulted="Faulted"}(exports.KnownTaskState||(exports.KnownTaskState={})),exports.KnownCommandType=void 0,function(e){e.MigrateSyncCompleteDatabase="Migrate.Sync.Complete.Database",e.MigrateSqlServerAzureDbSqlMiComplete="Migrate.SqlServer.AzureDbSqlMi.Complete",e.Cancel="cancel",e.Finish="finish",e.Restart="restart"}(exports.KnownCommandType||(exports.KnownCommandType={})),exports.KnownCommandState=void 0,function(e){e.Unknown="Unknown",e.Accepted="Accepted",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed"}(exports.KnownCommandState||(exports.KnownCommandState={})),exports.KnownNameCheckFailureReason=void 0,function(e){e.AlreadyExists="AlreadyExists",e.Invalid="Invalid"}(exports.KnownNameCheckFailureReason||(exports.KnownNameCheckFailureReason={})),exports.KnownProjectSourcePlatform=void 0,function(e){e.SQL="SQL",e.MySQL="MySQL",e.PostgreSql="PostgreSql",e.MongoDb="MongoDb",e.Unknown="Unknown"}(exports.KnownProjectSourcePlatform||(exports.KnownProjectSourcePlatform={})),exports.KnownProjectTargetPlatform=void 0,function(e){e.Sqldb="SQLDB",e.Sqlmi="SQLMI",e.AzureDbForMySql="AzureDbForMySql",e.AzureDbForPostgreSql="AzureDbForPostgreSql",e.MongoDb="MongoDb",e.Unknown="Unknown"}(exports.KnownProjectTargetPlatform||(exports.KnownProjectTargetPlatform={})),exports.KnownProjectProvisioningState=void 0,function(e){e.Deleting="Deleting",e.Succeeded="Succeeded"}(exports.KnownProjectProvisioningState||(exports.KnownProjectProvisioningState={})),exports.KnownAuthenticationType=void 0,function(e){e.None="None",e.WindowsAuthentication="WindowsAuthentication",e.SqlAuthentication="SqlAuthentication",e.ActiveDirectoryIntegrated="ActiveDirectoryIntegrated",e.ActiveDirectoryPassword="ActiveDirectoryPassword"}(exports.KnownAuthenticationType||(exports.KnownAuthenticationType={})),exports.KnownSqlSourcePlatform=void 0,(exports.KnownSqlSourcePlatform||(exports.KnownSqlSourcePlatform={})).SqlOnPrem="SqlOnPrem",exports.KnownBackupType=void 0,function(e){e.Database="Database",e.TransactionLog="TransactionLog",e.File="File",e.DifferentialDatabase="DifferentialDatabase",e.DifferentialFile="DifferentialFile",e.Partial="Partial",e.DifferentialPartial="DifferentialPartial"}(exports.KnownBackupType||(exports.KnownBackupType={})),exports.KnownBackupFileStatus=void 0,function(e){e.Arrived="Arrived",e.Queued="Queued",e.Uploading="Uploading",e.Uploaded="Uploaded",e.Restoring="Restoring",e.Restored="Restored",e.Cancelled="Cancelled"}(exports.KnownBackupFileStatus||(exports.KnownBackupFileStatus={})),exports.KnownMySqlTargetPlatformType=void 0,function(e){e.SqlServer="SqlServer",e.AzureDbForMySQL="AzureDbForMySQL"}(exports.KnownMySqlTargetPlatformType||(exports.KnownMySqlTargetPlatformType={})),exports.KnownDatabaseFileType=void 0,function(e){e.Rows="Rows",e.Log="Log",e.Filestream="Filestream",e.NotSupported="NotSupported",e.Fulltext="Fulltext"}(exports.KnownDatabaseFileType||(exports.KnownDatabaseFileType={})),exports.KnownDatabaseCompatLevel=void 0,function(e){e.CompatLevel80="CompatLevel80",e.CompatLevel90="CompatLevel90",e.CompatLevel100="CompatLevel100",e.CompatLevel110="CompatLevel110",e.CompatLevel120="CompatLevel120",e.CompatLevel130="CompatLevel130",e.CompatLevel140="CompatLevel140"}(exports.KnownDatabaseCompatLevel||(exports.KnownDatabaseCompatLevel={})),exports.KnownDatabaseState=void 0,function(e){e.Online="Online",e.Restoring="Restoring",e.Recovering="Recovering",e.RecoveryPending="RecoveryPending",e.Suspect="Suspect",e.Emergency="Emergency",e.Offline="Offline",e.Copying="Copying",e.OfflineSecondary="OfflineSecondary"}(exports.KnownDatabaseState||(exports.KnownDatabaseState={})),exports.KnownLoginType=void 0,function(e){e.WindowsUser="WindowsUser",e.WindowsGroup="WindowsGroup",e.SqlLogin="SqlLogin",e.Certificate="Certificate",e.AsymmetricKey="AsymmetricKey",e.ExternalUser="ExternalUser",e.ExternalGroup="ExternalGroup"}(exports.KnownLoginType||(exports.KnownLoginType={})),exports.KnownSchemaMigrationOption=void 0,function(e){e.None="None",e.ExtractFromSource="ExtractFromSource",e.UseStorageFile="UseStorageFile"}(exports.KnownSchemaMigrationOption||(exports.KnownSchemaMigrationOption={})),exports.KnownMigrationState=void 0,function(e){e.None="None",e.InProgress="InProgress",e.Failed="Failed",e.Warning="Warning",e.Completed="Completed",e.Skipped="Skipped",e.Stopped="Stopped"}(exports.KnownMigrationState||(exports.KnownMigrationState={})),exports.KnownSchemaMigrationStage=void 0,function(e){e.NotStarted="NotStarted",e.ValidatingInputs="ValidatingInputs",e.CollectingObjects="CollectingObjects",e.DownloadingScript="DownloadingScript",e.GeneratingScript="GeneratingScript",e.UploadingScript="UploadingScript",e.DeployingSchema="DeployingSchema",e.Completed="Completed",e.CompletedWithWarnings="CompletedWithWarnings",e.Failed="Failed"}(exports.KnownSchemaMigrationStage||(exports.KnownSchemaMigrationStage={})),exports.KnownSyncDatabaseMigrationReportingState=void 0,function(e){e.Undefined="UNDEFINED",e.Configuring="CONFIGURING",e.Initialiazing="INITIALIAZING",e.Starting="STARTING",e.Running="RUNNING",e.ReadyTOComplete="READY_TO_COMPLETE",e.Completing="COMPLETING",e.Complete="COMPLETE",e.Cancelling="CANCELLING",e.Cancelled="CANCELLED",e.Failed="FAILED",e.Validating="VALIDATING",e.ValidationComplete="VALIDATION_COMPLETE",e.ValidationFailed="VALIDATION_FAILED",e.RestoreINProgress="RESTORE_IN_PROGRESS",e.RestoreCompleted="RESTORE_COMPLETED",e.BackupINProgress="BACKUP_IN_PROGRESS",e.BackupCompleted="BACKUP_COMPLETED"}(exports.KnownSyncDatabaseMigrationReportingState||(exports.KnownSyncDatabaseMigrationReportingState={})),exports.KnownSyncTableMigrationState=void 0,function(e){e.BeforeLoad="BEFORE_LOAD",e.FullLoad="FULL_LOAD",e.Completed="COMPLETED",e.Canceled="CANCELED",e.Error="ERROR",e.Failed="FAILED"}(exports.KnownSyncTableMigrationState||(exports.KnownSyncTableMigrationState={})),exports.KnownScenarioSource=void 0,function(e){e.Access="Access",e.DB2="DB2",e.MySQL="MySQL",e.Oracle="Oracle",e.SQL="SQL",e.Sybase="Sybase",e.PostgreSQL="PostgreSQL",e.MongoDB="MongoDB",e.Sqlrds="SQLRDS",e.MySqlrds="MySQLRDS",e.PostgreSqlrds="PostgreSQLRDS"}(exports.KnownScenarioSource||(exports.KnownScenarioSource={})),exports.KnownScenarioTarget=void 0,function(e){e.SQLServer="SQLServer",e.Sqldb="SQLDB",e.Sqldw="SQLDW",e.Sqlmi="SQLMI",e.AzureDBForMySql="AzureDBForMySql",e.AzureDBForPostgresSQL="AzureDBForPostgresSQL",e.MongoDB="MongoDB"}(exports.KnownScenarioTarget||(exports.KnownScenarioTarget={})),exports.KnownReplicateMigrationState=void 0,function(e){e.Undefined="UNDEFINED",e.Validating="VALIDATING",e.Pending="PENDING",e.Complete="COMPLETE",e.ActionRequired="ACTION_REQUIRED",e.Failed="FAILED"}(exports.KnownReplicateMigrationState||(exports.KnownReplicateMigrationState={})),exports.KnownMigrationStatus=void 0,function(e){e.Default="Default",e.Connecting="Connecting",e.SourceAndTargetSelected="SourceAndTargetSelected",e.SelectLogins="SelectLogins",e.Configured="Configured",e.Running="Running",e.Error="Error",e.Stopped="Stopped",e.Completed="Completed",e.CompletedWithWarnings="CompletedWithWarnings"}(exports.KnownMigrationStatus||(exports.KnownMigrationStatus={})),exports.KnownValidationStatus=void 0,function(e){e.Default="Default",e.NotStarted="NotStarted",e.Initialized="Initialized",e.InProgress="InProgress",e.Completed="Completed",e.CompletedWithIssues="CompletedWithIssues",e.Stopped="Stopped",e.Failed="Failed"}(exports.KnownValidationStatus||(exports.KnownValidationStatus={})),exports.KnownDatabaseMigrationStage=void 0,function(e){e.None="None",e.Initialize="Initialize",e.Backup="Backup",e.FileCopy="FileCopy",e.Restore="Restore",e.Completed="Completed"}(exports.KnownDatabaseMigrationStage||(exports.KnownDatabaseMigrationStage={})),exports.KnownSeverity=void 0,function(e){e.Message="Message",e.Warning="Warning",e.Error="Error"}(exports.KnownSeverity||(exports.KnownSeverity={})),exports.KnownObjectType=void 0,function(e){e.StoredProcedures="StoredProcedures",e.Table="Table",e.User="User",e.View="View",e.Function="Function"}(exports.KnownObjectType||(exports.KnownObjectType={})),exports.KnownUpdateActionType=void 0,function(e){e.DeletedOnTarget="DeletedOnTarget",e.ChangedOnTarget="ChangedOnTarget",e.AddedOnTarget="AddedOnTarget"}(exports.KnownUpdateActionType||(exports.KnownUpdateActionType={})),exports.KnownDatabaseMigrationState=void 0,function(e){e.Undefined="UNDEFINED",e.Initial="INITIAL",e.FullBackupUploadStart="FULL_BACKUP_UPLOAD_START",e.LOGShippingStart="LOG_SHIPPING_START",e.UploadLOGFilesStart="UPLOAD_LOG_FILES_START",e.CutoverStart="CUTOVER_START",e.PostCutoverComplete="POST_CUTOVER_COMPLETE",e.Completed="COMPLETED",e.Cancelled="CANCELLED",e.Failed="FAILED"}(exports.KnownDatabaseMigrationState||(exports.KnownDatabaseMigrationState={})),exports.KnownBackupMode=void 0,function(e){e.CreateBackup="CreateBackup",e.ExistingBackup="ExistingBackup"}(exports.KnownBackupMode||(exports.KnownBackupMode={})),exports.KnownLoginMigrationStage=void 0,function(e){e.None="None",e.Initialize="Initialize",e.LoginMigration="LoginMigration",e.EstablishUserMapping="EstablishUserMapping",e.AssignRoleMembership="AssignRoleMembership",e.AssignRoleOwnership="AssignRoleOwnership",e.EstablishServerPermissions="EstablishServerPermissions",e.EstablishObjectPermissions="EstablishObjectPermissions",e.Completed="Completed"}(exports.KnownLoginMigrationStage||(exports.KnownLoginMigrationStage={})),exports.KnownSsisStoreType=void 0,(exports.KnownSsisStoreType||(exports.KnownSsisStoreType={})).SsisCatalog="SsisCatalog",exports.KnownSsisMigrationOverwriteOption=void 0,function(e){e.Ignore="Ignore",e.Overwrite="Overwrite"}(exports.KnownSsisMigrationOverwriteOption||(exports.KnownSsisMigrationOverwriteOption={})),exports.KnownSsisMigrationStage=void 0,function(e){e.None="None",e.Initialize="Initialize",e.InProgress="InProgress",e.Completed="Completed"}(exports.KnownSsisMigrationStage||(exports.KnownSsisMigrationStage={})),exports.KnownMongoDbShardKeyOrder=void 0,function(e){e.Forward="Forward",e.Reverse="Reverse",e.Hashed="Hashed"}(exports.KnownMongoDbShardKeyOrder||(exports.KnownMongoDbShardKeyOrder={})),exports.KnownMongoDbClusterType=void 0,function(e){e.BlobContainer="BlobContainer",e.CosmosDb="CosmosDb",e.MongoDb="MongoDb"}(exports.KnownMongoDbClusterType||(exports.KnownMongoDbClusterType={})),exports.KnownMongoDbErrorType=void 0,function(e){e.Error="Error",e.ValidationError="ValidationError",e.Warning="Warning"}(exports.KnownMongoDbErrorType||(exports.KnownMongoDbErrorType={})),exports.KnownMongoDbProgressResultType=void 0,function(e){e.Migration="Migration",e.Database="Database",e.Collection="Collection"}(exports.KnownMongoDbProgressResultType||(exports.KnownMongoDbProgressResultType={})),exports.KnownMongoDbMigrationState=void 0,function(e){e.NotStarted="NotStarted",e.ValidatingInput="ValidatingInput",e.Initializing="Initializing",e.Restarting="Restarting",e.Copying="Copying",e.InitialReplay="InitialReplay",e.Replaying="Replaying",e.Finalizing="Finalizing",e.Complete="Complete",e.Canceled="Canceled",e.Failed="Failed"}(exports.KnownMongoDbMigrationState||(exports.KnownMongoDbMigrationState={})),exports.KnownMongoDbReplication=void 0,function(e){e.Disabled="Disabled",e.OneTime="OneTime",e.Continuous="Continuous"}(exports.KnownMongoDbReplication||(exports.KnownMongoDbReplication={})),exports.KnownDataMigrationResultCode=void 0,function(e){e.Initial="Initial",e.Completed="Completed",e.ObjectNotExistsInSource="ObjectNotExistsInSource",e.ObjectNotExistsInTarget="ObjectNotExistsInTarget",e.TargetObjectIsInaccessible="TargetObjectIsInaccessible",e.FatalError="FatalError"}(exports.KnownDataMigrationResultCode||(exports.KnownDataMigrationResultCode={})),exports.KnownErrorType=void 0,function(e){e.Default="Default",e.Warning="Warning",e.Error="Error"}(exports.KnownErrorType||(exports.KnownErrorType={}));const SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},MigrationStatusDetails={type:{name:"Composite",className:"MigrationStatusDetails",modelProperties:{migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},fullBackupSetInfo:{serializedName:"fullBackupSetInfo",type:{name:"Composite",className:"SqlBackupSetInfo"}},lastRestoredBackupSetInfo:{serializedName:"lastRestoredBackupSetInfo",type:{name:"Composite",className:"SqlBackupSetInfo"}},activeBackupSets:{serializedName:"activeBackupSets",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlBackupSetInfo"}}}},invalidFiles:{serializedName:"invalidFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},blobContainerName:{serializedName:"blobContainerName",readOnly:!0,type:{name:"String"}},isFullBackupRestored:{serializedName:"isFullBackupRestored",readOnly:!0,type:{name:"Boolean"}},restoreBlockingReason:{serializedName:"restoreBlockingReason",readOnly:!0,type:{name:"String"}},completeRestoreErrorMessage:{serializedName:"completeRestoreErrorMessage",readOnly:!0,type:{name:"String"}},fileUploadBlockingErrors:{serializedName:"fileUploadBlockingErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},currentRestoringFilename:{serializedName:"currentRestoringFilename",readOnly:!0,type:{name:"String"}},lastRestoredFilename:{serializedName:"lastRestoredFilename",readOnly:!0,type:{name:"String"}},pendingLogBackupsCount:{serializedName:"pendingLogBackupsCount",readOnly:!0,type:{name:"Number"}}}}},SqlBackupSetInfo={type:{name:"Composite",className:"SqlBackupSetInfo",modelProperties:{backupSetId:{serializedName:"backupSetId",readOnly:!0,type:{name:"Uuid"}},firstLSN:{serializedName:"firstLSN",readOnly:!0,type:{name:"String"}},lastLSN:{serializedName:"lastLSN",readOnly:!0,type:{name:"String"}},backupType:{serializedName:"backupType",readOnly:!0,type:{name:"String"}},listOfBackupFiles:{serializedName:"listOfBackupFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlBackupFileInfo"}}}},backupStartDate:{serializedName:"backupStartDate",readOnly:!0,type:{name:"DateTime"}},backupFinishDate:{serializedName:"backupFinishDate",readOnly:!0,type:{name:"DateTime"}},isBackupRestored:{serializedName:"isBackupRestored",readOnly:!0,type:{name:"Boolean"}},hasBackupChecksums:{serializedName:"hasBackupChecksums",readOnly:!0,type:{name:"Boolean"}},familyCount:{serializedName:"familyCount",readOnly:!0,type:{name:"Number"}},ignoreReasons:{serializedName:"ignoreReasons",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},SqlBackupFileInfo={type:{name:"Composite",className:"SqlBackupFileInfo",modelProperties:{fileName:{serializedName:"fileName",readOnly:!0,type:{name:"String"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},totalSize:{serializedName:"totalSize",readOnly:!0,type:{name:"Number"}},dataRead:{serializedName:"dataRead",readOnly:!0,type:{name:"Number"}},dataWritten:{serializedName:"dataWritten",readOnly:!0,type:{name:"Number"}},copyThroughput:{serializedName:"copyThroughput",readOnly:!0,type:{name:"Number"}},copyDuration:{serializedName:"copyDuration",readOnly:!0,type:{name:"Number"}},familySequenceNumber:{serializedName:"familySequenceNumber",readOnly:!0,type:{name:"Number"}}}}},BackupConfiguration={type:{name:"Composite",className:"BackupConfiguration",modelProperties:{sourceLocation:{serializedName:"sourceLocation",type:{name:"Composite",className:"SourceLocation"}},targetLocation:{serializedName:"targetLocation",type:{name:"Composite",className:"TargetLocation"}}}}},SourceLocation={type:{name:"Composite",className:"SourceLocation",modelProperties:{fileShare:{serializedName:"fileShare",type:{name:"Composite",className:"SqlFileShare"}},azureBlob:{serializedName:"azureBlob",type:{name:"Composite",className:"AzureBlob"}}}}},SqlFileShare={type:{name:"Composite",className:"SqlFileShare",modelProperties:{path:{serializedName:"path",type:{name:"String"}},username:{serializedName:"username",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}}}}},AzureBlob={type:{name:"Composite",className:"AzureBlob",modelProperties:{storageAccountResourceId:{serializedName:"storageAccountResourceId",type:{name:"String"}},accountKey:{serializedName:"accountKey",type:{name:"String"}},blobContainerName:{serializedName:"blobContainerName",type:{name:"String"}}}}},TargetLocation={type:{name:"Composite",className:"TargetLocation",modelProperties:{storageAccountResourceId:{serializedName:"storageAccountResourceId",type:{name:"String"}},accountKey:{serializedName:"accountKey",type:{name:"String"}}}}},OfflineConfiguration={type:{name:"Composite",className:"OfflineConfiguration",modelProperties:{offline:{serializedName:"offline",type:{name:"Boolean"}},lastBackupName:{serializedName:"lastBackupName",type:{name:"String"}}}}},DatabaseMigrationProperties={type:{name:"Composite",className:"DatabaseMigrationProperties",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:{serializedName:"kind",clientName:"kind"},modelProperties:{kind:{serializedName:"kind",required:!0,type:{name:"String"}},scope:{serializedName:"scope",type:{name:"String"}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},migrationStatus:{serializedName:"migrationStatus",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceSqlConnection:{serializedName:"sourceSqlConnection",type:{name:"Composite",className:"SqlConnectionInformation"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",type:{name:"String"}},migrationService:{serializedName:"migrationService",type:{name:"String"}},migrationOperationId:{serializedName:"migrationOperationId",type:{name:"String"}},migrationFailureError:{serializedName:"migrationFailureError",type:{name:"Composite",className:"ErrorInfo"}}}}},SqlConnectionInformation={type:{name:"Composite",className:"SqlConnectionInformation",modelProperties:{dataSource:{serializedName:"dataSource",type:{name:"String"}},authentication:{serializedName:"authentication",type:{name:"String"}},userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}},encryptConnection:{serializedName:"encryptConnection",type:{name:"Boolean"}},trustServerCertificate:{serializedName:"trustServerCertificate",type:{name:"Boolean"}}}}},ErrorInfo={type:{name:"Composite",className:"ErrorInfo",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},MigrationOperationInput={type:{name:"Composite",className:"MigrationOperationInput",modelProperties:{migrationOperationId:{serializedName:"migrationOperationId",type:{name:"Uuid"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"OperationsDefinition"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},OperationsDefinition={type:{name:"Composite",className:"OperationsDefinition",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isDataAction:{serializedName:"isDataAction",type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationsDisplayDefinition"}},origin:{serializedName:"origin",readOnly:!0,type:{name:"String"}},properties:{serializedName:"properties",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Dictionary",value:{type:{name:"any"}}}}}}}}},OperationsDisplayDefinition={type:{name:"Composite",className:"OperationsDisplayDefinition",modelProperties:{provider:{serializedName:"provider",readOnly:!0,type:{name:"String"}},resource:{serializedName:"resource",readOnly:!0,type:{name:"String"}},operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},description:{serializedName:"description",readOnly:!0,type:{name:"String"}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:{location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SqlMigrationServiceUpdate={type:{name:"Composite",className:"SqlMigrationServiceUpdate",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SqlMigrationListResult={type:{name:"Composite",className:"SqlMigrationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlMigrationService"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},AuthenticationKeys={type:{name:"Composite",className:"AuthenticationKeys",modelProperties:{authKey1:{serializedName:"authKey1",type:{name:"String"}},authKey2:{serializedName:"authKey2",type:{name:"String"}}}}},RegenAuthKeys={type:{name:"Composite",className:"RegenAuthKeys",modelProperties:{keyName:{serializedName:"keyName",type:{name:"String"}},authKey1:{serializedName:"authKey1",type:{name:"String"}},authKey2:{serializedName:"authKey2",type:{name:"String"}}}}},DeleteNode={type:{name:"Composite",className:"DeleteNode",modelProperties:{nodeName:{serializedName:"nodeName",type:{name:"String"}},integrationRuntimeName:{serializedName:"integrationRuntimeName",type:{name:"String"}}}}},DatabaseMigrationListResult={type:{name:"Composite",className:"DatabaseMigrationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseMigration"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},IntegrationRuntimeMonitoringData={type:{name:"Composite",className:"IntegrationRuntimeMonitoringData",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},nodes:{serializedName:"nodes",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NodeMonitoringData"}}}}}}},NodeMonitoringData={type:{name:"Composite",className:"NodeMonitoringData",modelProperties:{additionalProperties:{serializedName:"additionalProperties",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Dictionary",value:{type:{name:"any"}}}}}},nodeName:{serializedName:"nodeName",readOnly:!0,type:{name:"String"}},availableMemoryInMB:{serializedName:"availableMemoryInMB",readOnly:!0,type:{name:"Number"}},cpuUtilization:{serializedName:"cpuUtilization",readOnly:!0,type:{name:"Number"}},concurrentJobsLimit:{serializedName:"concurrentJobsLimit",readOnly:!0,type:{name:"Number"}},concurrentJobsRunning:{serializedName:"concurrentJobsRunning",readOnly:!0,type:{name:"Number"}},maxConcurrentJobs:{serializedName:"maxConcurrentJobs",readOnly:!0,type:{name:"Number"}},sentBytes:{serializedName:"sentBytes",readOnly:!0,type:{name:"Number"}},receivedBytes:{serializedName:"receivedBytes",readOnly:!0,type:{name:"Number"}}}}},ResourceSkusResult={type:{name:"Composite",className:"ResourceSkusResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSku"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ResourceSku={type:{name:"Composite",className:"ResourceSku",modelProperties:{resourceType:{serializedName:"resourceType",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},tier:{serializedName:"tier",readOnly:!0,type:{name:"String"}},size:{serializedName:"size",readOnly:!0,type:{name:"String"}},family:{serializedName:"family",readOnly:!0,type:{name:"String"}},kind:{serializedName:"kind",readOnly:!0,type:{name:"String"}},capacity:{serializedName:"capacity",type:{name:"Composite",className:"ResourceSkuCapacity"}},locations:{serializedName:"locations",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},apiVersions:{serializedName:"apiVersions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},costs:{serializedName:"costs",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuCosts"}}}},capabilities:{serializedName:"capabilities",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuCapabilities"}}}},restrictions:{serializedName:"restrictions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuRestrictions"}}}}}}},ResourceSkuCapacity={type:{name:"Composite",className:"ResourceSkuCapacity",modelProperties:{minimum:{serializedName:"minimum",readOnly:!0,type:{name:"Number"}},maximum:{serializedName:"maximum",readOnly:!0,type:{name:"Number"}},default:{serializedName:"default",readOnly:!0,type:{name:"Number"}},scaleType:{serializedName:"scaleType",readOnly:!0,type:{name:"String"}}}}},ResourceSkuCosts={type:{name:"Composite",className:"ResourceSkuCosts",modelProperties:{meterID:{serializedName:"meterID",readOnly:!0,type:{name:"String"}},quantity:{serializedName:"quantity",readOnly:!0,type:{name:"Number"}},extendedUnit:{serializedName:"extendedUnit",readOnly:!0,type:{name:"String"}}}}},ResourceSkuCapabilities={type:{name:"Composite",className:"ResourceSkuCapabilities",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},value:{serializedName:"value",readOnly:!0,type:{name:"String"}}}}},ResourceSkuRestrictions={type:{name:"Composite",className:"ResourceSkuRestrictions",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},values:{serializedName:"values",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},reasonCode:{serializedName:"reasonCode",readOnly:!0,type:{name:"String"}}}}},ApiError={type:{name:"Composite",className:"ApiError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ODataError"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},ODataError={type:{name:"Composite",className:"ODataError",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}}}}},ServiceSku={type:{name:"Composite",className:"ServiceSku",modelProperties:{name:{serializedName:"name",type:{name:"String"}},tier:{serializedName:"tier",type:{name:"String"}},family:{serializedName:"family",type:{name:"String"}},size:{serializedName:"size",type:{name:"String"}},capacity:{serializedName:"capacity",type:{name:"Number"}}}}},DataMigrationServiceStatusResponse={type:{name:"Composite",className:"DataMigrationServiceStatusResponse",modelProperties:{agentVersion:{serializedName:"agentVersion",type:{name:"String"}},status:{serializedName:"status",type:{name:"String"}},vmSize:{serializedName:"vmSize",type:{name:"String"}},supportedTaskTypes:{serializedName:"supportedTaskTypes",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},ServiceSkuList={type:{name:"Composite",className:"ServiceSkuList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"AvailableServiceSku"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},AvailableServiceSku={type:{name:"Composite",className:"AvailableServiceSku",modelProperties:{resourceType:{serializedName:"resourceType",type:{name:"String"}},sku:{serializedName:"sku",type:{name:"Composite",className:"AvailableServiceSkuSku"}},capacity:{serializedName:"capacity",type:{name:"Composite",className:"AvailableServiceSkuCapacity"}}}}},AvailableServiceSkuSku={type:{name:"Composite",className:"AvailableServiceSkuSku",modelProperties:{name:{serializedName:"name",type:{name:"String"}},family:{serializedName:"family",type:{name:"String"}},size:{serializedName:"size",type:{name:"String"}},tier:{serializedName:"tier",type:{name:"String"}}}}},AvailableServiceSkuCapacity={type:{name:"Composite",className:"AvailableServiceSkuCapacity",modelProperties:{minimum:{serializedName:"minimum",type:{name:"Number"}},maximum:{serializedName:"maximum",type:{name:"Number"}},default:{serializedName:"default",type:{name:"Number"}},scaleType:{serializedName:"scaleType",type:{name:"String"}}}}},TaskList={type:{name:"Composite",className:"TaskList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ProjectTask"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectTaskProperties={type:{name:"Composite",className:"ProjectTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:{serializedName:"taskType",clientName:"taskType"},modelProperties:{taskType:{serializedName:"taskType",required:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},commands:{serializedName:"commands",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"CommandProperties"}}}},clientData:{serializedName:"clientData",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},CommandProperties={type:{name:"Composite",className:"CommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:{serializedName:"commandType",clientName:"commandType"},modelProperties:{commandType:{serializedName:"commandType",required:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},NameAvailabilityRequest={type:{name:"Composite",className:"NameAvailabilityRequest",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},NameAvailabilityResponse={type:{name:"Composite",className:"NameAvailabilityResponse",modelProperties:{nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},DataMigrationServiceList={type:{name:"Composite",className:"DataMigrationServiceList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"DataMigrationService"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectList={type:{name:"Composite",className:"ProjectList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Project"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ConnectionInfo={type:{name:"Composite",className:"ConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:{serializedName:"type",clientName:"type"},modelProperties:{type:{serializedName:"type",required:!0,type:{name:"String"}},userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}}}}},DatabaseInfo={type:{name:"Composite",className:"DatabaseInfo",modelProperties:{sourceDatabaseName:{serializedName:"sourceDatabaseName",required:!0,type:{name:"String"}}}}},QuotaList={type:{name:"Composite",className:"QuotaList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Quota"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Quota={type:{name:"Composite",className:"Quota",modelProperties:{currentValue:{serializedName:"currentValue",type:{name:"Number"}},id:{serializedName:"id",type:{name:"String"}},limit:{serializedName:"limit",type:{name:"Number"}},name:{serializedName:"name",type:{name:"Composite",className:"QuotaName"}},unit:{serializedName:"unit",type:{name:"String"}}}}},QuotaName={type:{name:"Composite",className:"QuotaName",modelProperties:{localizedValue:{serializedName:"localizedValue",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},FileList={type:{name:"Composite",className:"FileList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ProjectFile"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectFileProperties={type:{name:"Composite",className:"ProjectFileProperties",modelProperties:{extension:{serializedName:"extension",type:{name:"String"}},filePath:{serializedName:"filePath",type:{name:"String"}},lastModified:{serializedName:"lastModified",readOnly:!0,type:{name:"DateTime"}},mediaType:{serializedName:"mediaType",type:{name:"String"}},size:{serializedName:"size",readOnly:!0,type:{name:"Number"}}}}},FileStorageInfo={type:{name:"Composite",className:"FileStorageInfo",modelProperties:{uri:{serializedName:"uri",type:{name:"String"}},headers:{serializedName:"headers",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateSyncCompleteCommandInput={type:{name:"Composite",className:"MigrateSyncCompleteCommandInput",modelProperties:{databaseName:{serializedName:"databaseName",required:!0,type:{name:"String"}},commitTimeStamp:{serializedName:"commitTimeStamp",type:{name:"DateTime"}}}}},MigrateSyncCompleteCommandOutput={type:{name:"Composite",className:"MigrateSyncCompleteCommandOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ReportableException={type:{name:"Composite",className:"ReportableException",modelProperties:{message:{serializedName:"message",type:{name:"String"}},actionableMessage:{serializedName:"actionableMessage",type:{name:"String"}},filePath:{serializedName:"filePath",type:{name:"String"}},lineNumber:{serializedName:"lineNumber",type:{name:"String"}},hResult:{serializedName:"hResult",type:{name:"Number"}},stackTrace:{serializedName:"stackTrace",type:{name:"String"}}}}},MigrateMISyncCompleteCommandInput={type:{name:"Composite",className:"MigrateMISyncCompleteCommandInput",modelProperties:{sourceDatabaseName:{serializedName:"sourceDatabaseName",required:!0,type:{name:"String"}}}}},MigrateMISyncCompleteCommandOutput={type:{name:"Composite",className:"MigrateMISyncCompleteCommandOutput",modelProperties:{errors:{serializedName:"errors",type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},AzureActiveDirectoryApp={type:{name:"Composite",className:"AzureActiveDirectoryApp",modelProperties:{applicationId:{serializedName:"applicationId",required:!0,type:{name:"String"}},appKey:{serializedName:"appKey",required:!0,type:{name:"String"}},tenantId:{serializedName:"tenantId",required:!0,type:{name:"String"}}}}},BackupSetInfo={type:{name:"Composite",className:"BackupSetInfo",modelProperties:{backupSetId:{serializedName:"backupSetId",type:{name:"String"}},firstLsn:{serializedName:"firstLsn",type:{name:"String"}},lastLsn:{serializedName:"lastLsn",type:{name:"String"}},lastModifiedTime:{serializedName:"lastModifiedTime",type:{name:"DateTime"}},backupType:{serializedName:"backupType",type:{name:"String"}},listOfBackupFiles:{serializedName:"listOfBackupFiles",type:{name:"Sequence",element:{type:{name:"Composite",className:"BackupFileInfo"}}}},databaseName:{serializedName:"databaseName",type:{name:"String"}},backupStartDate:{serializedName:"backupStartDate",type:{name:"DateTime"}},backupFinishedDate:{serializedName:"backupFinishedDate",type:{name:"DateTime"}},isBackupRestored:{serializedName:"isBackupRestored",type:{name:"Boolean"}}}}},BackupFileInfo={type:{name:"Composite",className:"BackupFileInfo",modelProperties:{fileLocation:{serializedName:"fileLocation",type:{name:"String"}},familySequenceNumber:{serializedName:"familySequenceNumber",type:{name:"Number"}},status:{serializedName:"status",type:{name:"String"}}}}},OrphanedUserInfo={type:{name:"Composite",className:"OrphanedUserInfo",modelProperties:{name:{serializedName:"name",type:{name:"String"}},databaseName:{serializedName:"databaseName",type:{name:"String"}}}}},ConnectToSourceMySqlTaskInput={type:{name:"Composite",className:"ConnectToSourceMySqlTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetPlatform:{serializedName:"targetPlatform",type:{name:"String"}},checkPermissionsGroup:{serializedName:"checkPermissionsGroup",type:{name:"Enum",allowedValues:["Default","MigrationFromSqlServerToAzureDB","MigrationFromSqlServerToAzureMI","MigrationFromMySQLToAzureDBForMySQL"]}},isOfflineMigration:{defaultValue:!1,serializedName:"isOfflineMigration",type:{name:"Boolean"}}}}},ConnectToSourceSqlServerTaskInput={type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},checkPermissionsGroup:{serializedName:"checkPermissionsGroup",type:{name:"Enum",allowedValues:["Default","MigrationFromSqlServerToAzureDB","MigrationFromSqlServerToAzureMI","MigrationFromMySQLToAzureDBForMySQL"]}},collectDatabases:{defaultValue:!0,serializedName:"collectDatabases",type:{name:"Boolean"}},collectLogins:{defaultValue:!1,serializedName:"collectLogins",type:{name:"Boolean"}},collectAgentJobs:{defaultValue:!1,serializedName:"collectAgentJobs",type:{name:"Boolean"}},collectTdeCertificateInfo:{defaultValue:!1,serializedName:"collectTdeCertificateInfo",type:{name:"Boolean"}},validateSsisCatalogOnly:{defaultValue:!1,serializedName:"validateSsisCatalogOnly",type:{name:"Boolean"}}}}},ConnectToSourceSqlServerTaskOutput={type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},DatabaseFileInfo={type:{name:"Composite",className:"DatabaseFileInfo",modelProperties:{databaseName:{serializedName:"databaseName",type:{name:"String"}},id:{serializedName:"id",type:{name:"String"}},logicalName:{serializedName:"logicalName",type:{name:"String"}},physicalFullName:{serializedName:"physicalFullName",type:{name:"String"}},restoreFullName:{serializedName:"restoreFullName",type:{name:"String"}},fileType:{serializedName:"fileType",type:{name:"String"}},sizeMB:{serializedName:"sizeMB",type:{name:"Number"}}}}},MigrationEligibilityInfo={type:{name:"Composite",className:"MigrationEligibilityInfo",modelProperties:{isEligibleForMigration:{serializedName:"isEligibleForMigration",readOnly:!0,type:{name:"Boolean"}},validationMessages:{serializedName:"validationMessages",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},ConnectToSourcePostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToSourcePostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetAzureDbForMySqlTaskInput={type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},isOfflineMigration:{defaultValue:!1,serializedName:"isOfflineMigration",type:{name:"Boolean"}}}}},ConnectToTargetAzureDbForMySqlTaskOutput={type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},serverVersion:{serializedName:"serverVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlDbTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlDbTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},ConnectToTargetSqlDbTaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}}}}},ConnectToTargetSqlMISyncTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo"}},azureApp:{serializedName:"azureApp",type:{name:"Composite",className:"AzureActiveDirectoryApp"}}}}},ConnectToTargetSqlMISyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskOutput",modelProperties:{targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlMITaskInput={type:{name:"Composite",className:"ConnectToTargetSqlMITaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},collectLogins:{defaultValue:!0,serializedName:"collectLogins",type:{name:"Boolean"}},collectAgentJobs:{defaultValue:!0,serializedName:"collectAgentJobs",type:{name:"Boolean"}},validateSsisCatalogOnly:{defaultValue:!1,serializedName:"validateSsisCatalogOnly",type:{name:"Boolean"}}}}},ConnectToTargetSqlMITaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlMITaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlDbSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},ConnectToTargetAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesMySqlTaskInput={type:{name:"Composite",className:"GetUserTablesMySqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesMySqlTaskOutput={type:{name:"Composite",className:"GetUserTablesMySqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databasesToTables:{serializedName:"databasesToTables",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},DatabaseTable={type:{name:"Composite",className:"DatabaseTable",modelProperties:{hasRows:{serializedName:"hasRows",readOnly:!0,type:{name:"Boolean"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}}}}},GetTdeCertificatesSqlTaskInput={type:{name:"Composite",className:"GetTdeCertificatesSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},selectedCertificates:{serializedName:"selectedCertificates",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SelectedCertificateInput"}}}}}}},FileShare={type:{name:"Composite",className:"FileShare",modelProperties:{userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}},path:{serializedName:"path",required:!0,type:{name:"String"}}}}},SelectedCertificateInput={type:{name:"Composite",className:"SelectedCertificateInput",modelProperties:{certificateName:{serializedName:"certificateName",required:!0,type:{name:"String"}},password:{serializedName:"password",required:!0,type:{name:"String"}}}}},GetTdeCertificatesSqlTaskOutput={type:{name:"Composite",className:"GetTdeCertificatesSqlTaskOutput",modelProperties:{base64EncodedCertificates:{serializedName:"base64EncodedCertificates",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesSqlSyncTaskInput={type:{name:"Composite",className:"GetUserTablesSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedSourceDatabases:{serializedName:"selectedSourceDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},selectedTargetDatabases:{serializedName:"selectedTargetDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesSqlSyncTaskOutput={type:{name:"Composite",className:"GetUserTablesSqlSyncTaskOutput",modelProperties:{databasesToSourceTables:{serializedName:"databasesToSourceTables",readOnly:!0,type:{name:"String"}},databasesToTargetTables:{serializedName:"databasesToTargetTables",readOnly:!0,type:{name:"String"}},tableValidationErrors:{serializedName:"tableValidationErrors",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesSqlTaskInput={type:{name:"Composite",className:"GetUserTablesSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesSqlTaskOutput={type:{name:"Composite",className:"GetUserTablesSqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databasesToTables:{serializedName:"databasesToTables",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},MigrateSchemaSqlServerSqlDbDatabaseInput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},id:{serializedName:"id",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},schemaSetting:{serializedName:"schemaSetting",type:{name:"Composite",className:"SchemaMigrationSetting"}}}}},SchemaMigrationSetting={type:{name:"Composite",className:"SchemaMigrationSetting",modelProperties:{schemaOption:{serializedName:"schemaOption",type:{name:"String"}},fileId:{serializedName:"fileId",type:{name:"String"}},fileName:{serializedName:"fileName",type:{name:"String"}}}}},SqlMigrationTaskInput={type:{name:"Composite",className:"SqlMigrationTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},MigrateSchemaSqlServerSqlDbTaskOutput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutput",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateMySqlAzureDbForMySqlSyncTaskInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncDatabaseInput"}}}}}}},MigrateMySqlAzureDbForMySqlSyncDatabaseInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlSyncTaskOutput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},SyncMigrationDatabaseErrorEvent={type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent",modelProperties:{timestampString:{serializedName:"timestampString",readOnly:!0,type:{name:"String"}},eventTypeString:{serializedName:"eventTypeString",readOnly:!0,type:{name:"String"}},eventText:{serializedName:"eventText",readOnly:!0,type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput"}}}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},selectedTables:{serializedName:"selectedTables",type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput"}}}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlDbSyncDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},schemaName:{serializedName:"schemaName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrationValidationOptions={type:{name:"Composite",className:"MigrationValidationOptions",modelProperties:{enableSchemaValidation:{serializedName:"enableSchemaValidation",type:{name:"Boolean"}},enableDataIntegrityValidation:{serializedName:"enableDataIntegrityValidation",type:{name:"Boolean"}},enableQueryAnalysisValidation:{serializedName:"enableQueryAnalysisValidation",type:{name:"Boolean"}}}}},MigrateSqlServerSqlDbSyncTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutput",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlDbDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},makeSourceDbReadOnly:{serializedName:"makeSourceDbReadOnly",type:{name:"Boolean"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},schemaSetting:{serializedName:"schemaSetting",type:{name:"Dictionary",value:{type:{name:"any"}}}},id:{serializedName:"id",type:{name:"String"}}}}},MigrateSqlServerSqlDbTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutput",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrationValidationResult={type:{name:"Composite",className:"MigrationValidationResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},summaryResults:{serializedName:"summaryResults",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MigrationValidationDatabaseSummaryResult"}}}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},MigrationValidationDatabaseSummaryResult={type:{name:"Composite",className:"MigrationValidationDatabaseSummaryResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},MigrationReportResult={type:{name:"Composite",className:"MigrationReportResult",modelProperties:{id:{serializedName:"id",type:{name:"String"}},reportUrl:{serializedName:"reportUrl",type:{name:"String"}}}}},DataItemMigrationSummaryResult={type:{name:"Composite",className:"DataItemMigrationSummaryResult",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}}}}},MigrationValidationDatabaseLevelResult={type:{name:"Composite",className:"MigrationValidationDatabaseLevelResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},dataIntegrityValidationResult:{serializedName:"dataIntegrityValidationResult",type:{name:"Composite",className:"DataIntegrityValidationResult"}},schemaValidationResult:{serializedName:"schemaValidationResult",type:{name:"Composite",className:"SchemaComparisonValidationResult"}},queryAnalysisValidationResult:{serializedName:"queryAnalysisValidationResult",type:{name:"Composite",className:"QueryAnalysisValidationResult"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},DataIntegrityValidationResult={type:{name:"Composite",className:"DataIntegrityValidationResult",modelProperties:{failedObjects:{serializedName:"failedObjects",type:{name:"Dictionary",value:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}}}}},ValidationError={type:{name:"Composite",className:"ValidationError",modelProperties:{text:{serializedName:"text",type:{name:"String"}},severity:{serializedName:"severity",type:{name:"String"}}}}},SchemaComparisonValidationResult={type:{name:"Composite",className:"SchemaComparisonValidationResult",modelProperties:{schemaDifferences:{serializedName:"schemaDifferences",type:{name:"Composite",className:"SchemaComparisonValidationResultType"}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}},sourceDatabaseObjectCount:{serializedName:"sourceDatabaseObjectCount",type:{name:"Dictionary",value:{type:{name:"Number"}}}},targetDatabaseObjectCount:{serializedName:"targetDatabaseObjectCount",type:{name:"Dictionary",value:{type:{name:"Number"}}}}}}},SchemaComparisonValidationResultType={type:{name:"Composite",className:"SchemaComparisonValidationResultType",modelProperties:{objectName:{serializedName:"objectName",type:{name:"String"}},objectType:{serializedName:"objectType",type:{name:"String"}},updateAction:{serializedName:"updateAction",type:{name:"String"}}}}},QueryAnalysisValidationResult={type:{name:"Composite",className:"QueryAnalysisValidationResult",modelProperties:{queryResults:{serializedName:"queryResults",type:{name:"Composite",className:"QueryExecutionResult"}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}}}}},QueryExecutionResult={type:{name:"Composite",className:"QueryExecutionResult",modelProperties:{queryText:{serializedName:"queryText",type:{name:"String"}},statementsInBatch:{serializedName:"statementsInBatch",type:{name:"Number"}},sourceResult:{serializedName:"sourceResult",type:{name:"Composite",className:"ExecutionStatistics"}},targetResult:{serializedName:"targetResult",type:{name:"Composite",className:"ExecutionStatistics"}}}}},ExecutionStatistics={type:{name:"Composite",className:"ExecutionStatistics",modelProperties:{executionCount:{serializedName:"executionCount",type:{name:"Number"}},cpuTimeMs:{serializedName:"cpuTimeMs",type:{name:"Number"}},elapsedTimeMs:{serializedName:"elapsedTimeMs",type:{name:"Number"}},waitStats:{serializedName:"waitStats",type:{name:"Dictionary",value:{type:{name:"Composite",className:"WaitStatistics"}}}},hasErrors:{serializedName:"hasErrors",type:{name:"Boolean"}},sqlErrors:{serializedName:"sqlErrors",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},WaitStatistics={type:{name:"Composite",className:"WaitStatistics",modelProperties:{waitType:{serializedName:"waitType",type:{name:"String"}},waitTimeMs:{defaultValue:0,serializedName:"waitTimeMs",type:{name:"Number"}},waitCount:{serializedName:"waitCount",type:{name:"Number"}}}}},SqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"SqlServerSqlMISyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},storageResourceId:{serializedName:"storageResourceId",required:!0,type:{name:"String"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo"}},azureApp:{serializedName:"azureApp",type:{name:"Composite",className:"AzureActiveDirectoryApp"}}}}},MigrateSqlServerSqlMIDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},restoreDatabaseName:{serializedName:"restoreDatabaseName",required:!0,type:{name:"String"}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupFilePaths:{serializedName:"backupFilePaths",type:{name:"Sequence",element:{type:{name:"String"}}}},id:{serializedName:"id",type:{name:"String"}}}}},MigrateSqlServerSqlMISyncTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutput",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},BlobShare={type:{name:"Composite",className:"BlobShare",modelProperties:{sasUri:{serializedName:"sasUri",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlMITaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutput",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},SsisMigrationInfo={type:{name:"Composite",className:"SsisMigrationInfo",modelProperties:{ssisStoreType:{serializedName:"ssisStoreType",type:{name:"String"}},projectOverwriteOption:{serializedName:"projectOverwriteOption",type:{name:"String"}},environmentOverwriteOption:{serializedName:"environmentOverwriteOption",type:{name:"String"}}}}},MigrateSsisTaskOutput={type:{name:"Composite",className:"MigrateSsisTaskOutput",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MongoDbCommandInput={type:{name:"Composite",className:"MongoDbCommandInput",modelProperties:{objectName:{serializedName:"objectName",type:{name:"String"}}}}},MongoDbClusterInfo={type:{name:"Composite",className:"MongoDbClusterInfo",modelProperties:{databases:{serializedName:"databases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbDatabaseInfo"}}}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}},type:{serializedName:"type",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}}}}},MongoDbShardKeyInfo={type:{name:"Composite",className:"MongoDbShardKeyInfo",modelProperties:{fields:{serializedName:"fields",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbShardKeyField"}}}},isUnique:{serializedName:"isUnique",required:!0,type:{name:"Boolean"}}}}},MongoDbShardKeyField={type:{name:"Composite",className:"MongoDbShardKeyField",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},order:{serializedName:"order",required:!0,type:{name:"String"}}}}},MongoDbObjectInfo={type:{name:"Composite",className:"MongoDbObjectInfo",modelProperties:{averageDocumentSize:{serializedName:"averageDocumentSize",required:!0,type:{name:"Number"}},dataSize:{serializedName:"dataSize",required:!0,type:{name:"Number"}},documentCount:{serializedName:"documentCount",required:!0,type:{name:"Number"}},name:{serializedName:"name",required:!0,type:{name:"String"}},qualifiedName:{serializedName:"qualifiedName",required:!0,type:{name:"String"}}}}},MongoDbProgress={type:{name:"Composite",className:"MongoDbProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{bytesCopied:{serializedName:"bytesCopied",required:!0,type:{name:"Number"}},documentsCopied:{serializedName:"documentsCopied",required:!0,type:{name:"Number"}},elapsedTime:{serializedName:"elapsedTime",required:!0,type:{name:"String"}},errors:{serializedName:"errors",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbError"}}}},eventsPending:{serializedName:"eventsPending",required:!0,type:{name:"Number"}},eventsReplayed:{serializedName:"eventsReplayed",required:!0,type:{name:"Number"}},lastEventTime:{serializedName:"lastEventTime",type:{name:"DateTime"}},lastReplayTime:{serializedName:"lastReplayTime",type:{name:"DateTime"}},name:{serializedName:"name",type:{name:"String"}},qualifiedName:{serializedName:"qualifiedName",type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}},state:{serializedName:"state",required:!0,type:{name:"String"}},totalBytes:{serializedName:"totalBytes",required:!0,type:{name:"Number"}},totalDocuments:{serializedName:"totalDocuments",required:!0,type:{name:"Number"}}}}},MongoDbError={type:{name:"Composite",className:"MongoDbError",modelProperties:{code:{serializedName:"code",type:{name:"String"}},count:{serializedName:"count",type:{name:"Number"}},message:{serializedName:"message",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},MongoDbCollectionSettings={type:{name:"Composite",className:"MongoDbCollectionSettings",modelProperties:{canDelete:{serializedName:"canDelete",type:{name:"Boolean"}},shardKey:{serializedName:"shardKey",type:{name:"Composite",className:"MongoDbShardKeySetting"}},targetRUs:{serializedName:"targetRUs",type:{name:"Number"}}}}},MongoDbShardKeySetting={type:{name:"Composite",className:"MongoDbShardKeySetting",modelProperties:{fields:{serializedName:"fields",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbShardKeyField"}}}},isUnique:{serializedName:"isUnique",required:!0,type:{name:"Boolean"}}}}},MongoDbDatabaseSettings={type:{name:"Composite",className:"MongoDbDatabaseSettings",modelProperties:{collections:{serializedName:"collections",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbCollectionSettings"}}}},targetRUs:{serializedName:"targetRUs",type:{name:"Number"}}}}},MongoDbMigrationSettings={type:{name:"Composite",className:"MongoDbMigrationSettings",modelProperties:{boostRUs:{serializedName:"boostRUs",type:{name:"Number"}},databases:{serializedName:"databases",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbDatabaseSettings"}}}},replication:{serializedName:"replication",type:{name:"String"}},source:{serializedName:"source",type:{name:"Composite",className:"MongoDbConnectionInfo"}},target:{serializedName:"target",type:{name:"Composite",className:"MongoDbConnectionInfo"}},throttling:{serializedName:"throttling",type:{name:"Composite",className:"MongoDbThrottlingSettings"}}}}},MongoDbThrottlingSettings={type:{name:"Composite",className:"MongoDbThrottlingSettings",modelProperties:{minFreeCpu:{serializedName:"minFreeCpu",type:{name:"Number"}},minFreeMemoryMb:{serializedName:"minFreeMemoryMb",type:{name:"Number"}},maxParallelism:{serializedName:"maxParallelism",type:{name:"Number"}}}}},ConnectToSourceOracleSyncTaskInput={type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}}}}},ConnectToSourceOracleSyncTaskOutput={type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskOutput",modelProperties:{sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput",modelProperties:{targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},databaseSchemaMap:{serializedName:"databaseSchemaMap",type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem"}}}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem",modelProperties:{database:{serializedName:"database",type:{name:"String"}},schemas:{serializedName:"schemas",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesOracleTaskInput={type:{name:"Composite",className:"GetUserTablesOracleTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}},selectedSchemas:{serializedName:"selectedSchemas",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesOracleTaskOutput={type:{name:"Composite",className:"GetUserTablesOracleTaskOutput",modelProperties:{schemaName:{serializedName:"schemaName",readOnly:!0,type:{name:"String"}},tables:{serializedName:"tables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseTable"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesPostgreSqlTaskInput={type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesPostgreSqlTaskOutput={type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskOutput",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},tables:{serializedName:"tables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseTable"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ValidateOracleAzureDbPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ValidateOracleAzureDbPostgreSqlSyncTaskOutput",modelProperties:{validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},MigrateOracleAzureDbPostgreSqlSyncTaskInput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncDatabaseInput"}}}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}}}}},MigrateOracleAzureDbPostgreSqlSyncDatabaseInput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncDatabaseInput",modelProperties:{caseManipulation:{serializedName:"caseManipulation",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},schemaName:{serializedName:"schemaName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateOracleAzureDbPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},OracleOCIDriverInfo={type:{name:"Composite",className:"OracleOCIDriverInfo",modelProperties:{driverName:{serializedName:"driverName",readOnly:!0,type:{name:"String"}},driverSize:{serializedName:"driverSize",readOnly:!0,type:{name:"String"}},archiveChecksum:{serializedName:"archiveChecksum",readOnly:!0,type:{name:"String"}},oracleChecksum:{serializedName:"oracleChecksum",readOnly:!0,type:{name:"String"}},assemblyVersion:{serializedName:"assemblyVersion",readOnly:!0,type:{name:"String"}},supportedOracleVersions:{serializedName:"supportedOracleVersions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},CheckOCIDriverTaskInput={type:{name:"Composite",className:"CheckOCIDriverTaskInput",modelProperties:{serverVersion:{serializedName:"serverVersion",type:{name:"String"}}}}},CheckOCIDriverTaskOutput={type:{name:"Composite",className:"CheckOCIDriverTaskOutput",modelProperties:{installedDriver:{serializedName:"installedDriver",type:{name:"Composite",className:"OracleOCIDriverInfo"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},UploadOCIDriverTaskInput={type:{name:"Composite",className:"UploadOCIDriverTaskInput",modelProperties:{driverShare:{serializedName:"driverShare",type:{name:"Composite",className:"FileShare"}}}}},UploadOCIDriverTaskOutput={type:{name:"Composite",className:"UploadOCIDriverTaskOutput",modelProperties:{driverPackageName:{serializedName:"driverPackageName",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},InstallOCIDriverTaskInput={type:{name:"Composite",className:"InstallOCIDriverTaskInput",modelProperties:{driverPackageName:{serializedName:"driverPackageName",type:{name:"String"}}}}},InstallOCIDriverTaskOutput={type:{name:"Composite",className:"InstallOCIDriverTaskOutput",modelProperties:{validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ServiceOperation={type:{name:"Composite",className:"ServiceOperation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"ServiceOperationDisplay"}}}}},ServiceOperationDisplay={type:{name:"Composite",className:"ServiceOperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},ServiceOperationList={type:{name:"Composite",className:"ServiceOperationList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceOperation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ConnectToSourceNonSqlTaskOutput={type:{name:"Composite",className:"ConnectToSourceNonSqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},serverProperties:{serializedName:"serverProperties",type:{name:"Composite",className:"ServerProperties"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ServerProperties={type:{name:"Composite",className:"ServerProperties",modelProperties:{serverPlatform:{serializedName:"serverPlatform",readOnly:!0,type:{name:"String"}},serverName:{serializedName:"serverName",readOnly:!0,type:{name:"String"}},serverVersion:{serializedName:"serverVersion",readOnly:!0,type:{name:"String"}},serverEdition:{serializedName:"serverEdition",readOnly:!0,type:{name:"String"}},serverOperatingSystemVersion:{serializedName:"serverOperatingSystemVersion",readOnly:!0,type:{name:"String"}},serverDatabaseCount:{serializedName:"serverDatabaseCount",readOnly:!0,type:{name:"Number"}}}}},MigrateMySqlAzureDbForMySqlOfflineTaskInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineDatabaseInput"}}}},makeSourceServerReadOnly:{defaultValue:!1,serializedName:"makeSourceServerReadOnly",type:{name:"Boolean"}},startedOn:{serializedName:"startedOn",type:{name:"DateTime"}},optionalAgentSettings:{serializedName:"optionalAgentSettings",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlOfflineDatabaseInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlOfflineTaskOutput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},ValidateSyncMigrationInputSqlServerTaskInput={type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput"}}}}}}},ValidateSyncMigrationInputSqlServerTaskOutput={type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ValidateMigrationInputSqlServerSqlMITaskInput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},selectedLogins:{serializedName:"selectedLogins",type:{name:"Sequence",element:{type:{name:"String"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupBlobShare:{serializedName:"backupBlobShare",type:{name:"Composite",className:"BlobShare"}},backupMode:{serializedName:"backupMode",type:{name:"String"}}}}},ValidateMigrationInputSqlServerSqlMITaskOutput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},restoreDatabaseNameErrors:{serializedName:"restoreDatabaseNameErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupFolderErrors:{serializedName:"backupFolderErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupShareCredentialsErrors:{serializedName:"backupShareCredentialsErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupStorageAccountErrors:{serializedName:"backupStorageAccountErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},existingBackupErrors:{serializedName:"existingBackupErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},databaseBackupInfo:{serializedName:"databaseBackupInfo",type:{name:"Composite",className:"DatabaseBackupInfo"}}}}},DatabaseBackupInfo={type:{name:"Composite",className:"DatabaseBackupInfo",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},backupType:{serializedName:"backupType",readOnly:!0,type:{name:"String"}},backupFiles:{serializedName:"backupFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},position:{serializedName:"position",readOnly:!0,type:{name:"Number"}},isDamaged:{serializedName:"isDamaged",readOnly:!0,type:{name:"Boolean"}},isCompressed:{serializedName:"isCompressed",readOnly:!0,type:{name:"Boolean"}},familyCount:{serializedName:"familyCount",readOnly:!0,type:{name:"Number"}},backupFinishDate:{serializedName:"backupFinishDate",readOnly:!0,type:{name:"DateTime"}}}}},ValidateMigrationInputSqlServerSqlMISyncTaskOutput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},Database={type:{name:"Composite",className:"Database",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},compatibilityLevel:{serializedName:"compatibilityLevel",type:{name:"String"}},collation:{serializedName:"collation",type:{name:"String"}},serverName:{serializedName:"serverName",type:{name:"String"}},fqdn:{serializedName:"fqdn",type:{name:"String"}},installId:{serializedName:"installId",type:{name:"String"}},serverVersion:{serializedName:"serverVersion",type:{name:"String"}},serverEdition:{serializedName:"serverEdition",type:{name:"String"}},serverLevel:{serializedName:"serverLevel",type:{name:"String"}},serverDefaultDataPath:{serializedName:"serverDefaultDataPath",type:{name:"String"}},serverDefaultLogPath:{serializedName:"serverDefaultLogPath",type:{name:"String"}},serverDefaultBackupPath:{serializedName:"serverDefaultBackupPath",type:{name:"String"}},serverCoreCount:{serializedName:"serverCoreCount",type:{name:"Number"}},serverVisibleOnlineCoreCount:{serializedName:"serverVisibleOnlineCoreCount",type:{name:"Number"}},databaseState:{serializedName:"databaseState",type:{name:"String"}},serverId:{serializedName:"serverId",type:{name:"String"}}}}},DatabaseObjectName={type:{name:"Composite",className:"DatabaseObjectName",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},schemaName:{serializedName:"schemaName",readOnly:!0,type:{name:"String"}},objectType:{serializedName:"objectType",type:{name:"String"}}}}},DataMigrationProjectMetadata={type:{name:"Composite",className:"DataMigrationProjectMetadata",modelProperties:{sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},sourceServerPort:{serializedName:"sourceServerPort",readOnly:!0,type:{name:"String"}},sourceUsername:{serializedName:"sourceUsername",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}},targetUsername:{serializedName:"targetUsername",readOnly:!0,type:{name:"String"}},targetDbName:{serializedName:"targetDbName",readOnly:!0,type:{name:"String"}},targetUsingWinAuth:{serializedName:"targetUsingWinAuth",readOnly:!0,type:{name:"Boolean"}},selectedMigrationTables:{serializedName:"selectedMigrationTables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrationTableMetadata"}}}}}}},MigrationTableMetadata={type:{name:"Composite",className:"MigrationTableMetadata",modelProperties:{sourceTableName:{serializedName:"sourceTableName",readOnly:!0,type:{name:"String"}},targetTableName:{serializedName:"targetTableName",readOnly:!0,type:{name:"String"}}}}},GetProjectDetailsNonSqlTaskInput={type:{name:"Composite",className:"GetProjectDetailsNonSqlTaskInput",modelProperties:{projectName:{serializedName:"projectName",required:!0,type:{name:"String"}},projectLocation:{serializedName:"projectLocation",required:!0,type:{name:"String"}}}}},NonSqlMigrationTaskInput={type:{name:"Composite",className:"NonSqlMigrationTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetDatabaseName:{serializedName:"targetDatabaseName",required:!0,type:{name:"String"}},projectName:{serializedName:"projectName",required:!0,type:{name:"String"}},projectLocation:{serializedName:"projectLocation",required:!0,type:{name:"String"}},selectedTables:{serializedName:"selectedTables",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NonSqlDataMigrationTable"}}}}}}},NonSqlDataMigrationTable={type:{name:"Composite",className:"NonSqlDataMigrationTable",modelProperties:{sourceName:{serializedName:"sourceName",type:{name:"String"}}}}},NonSqlMigrationTaskOutput={type:{name:"Composite",className:"NonSqlMigrationTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},dataMigrationTableResults:{serializedName:"dataMigrationTableResults",readOnly:!0,type:{name:"String"}},progressMessage:{serializedName:"progressMessage",readOnly:!0,type:{name:"String"}},sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}}}}},NonSqlDataMigrationTableResult={type:{name:"Composite",className:"NonSqlDataMigrationTableResult",modelProperties:{resultCode:{serializedName:"resultCode",readOnly:!0,type:{name:"String"}},sourceName:{serializedName:"sourceName",readOnly:!0,type:{name:"String"}},targetName:{serializedName:"targetName",readOnly:!0,type:{name:"String"}},sourceRowCount:{serializedName:"sourceRowCount",readOnly:!0,type:{name:"Number"}},targetRowCount:{serializedName:"targetRowCount",readOnly:!0,type:{name:"Number"}},elapsedTimeInMiliseconds:{serializedName:"elapsedTimeInMiliseconds",readOnly:!0,type:{name:"Number"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DataMigrationError"}}}}}}},DataMigrationError={type:{name:"Composite",className:"DataMigrationError",modelProperties:{message:{serializedName:"message",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},MigrateSqlServerDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},restoreDatabaseName:{serializedName:"restoreDatabaseName",type:{name:"String"}},backupAndRestoreFolder:{serializedName:"backupAndRestoreFolder",type:{name:"String"}},databaseFiles:{serializedName:"databaseFiles",type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseFileInput"}}}}}}},DatabaseFileInput={type:{name:"Composite",className:"DatabaseFileInput",modelProperties:{id:{serializedName:"id",type:{name:"String"}},logicalName:{serializedName:"logicalName",type:{name:"String"}},physicalFullName:{serializedName:"physicalFullName",type:{name:"String"}},restoreFullName:{serializedName:"restoreFullName",type:{name:"String"}},fileType:{serializedName:"fileType",type:{name:"String"}}}}},StartMigrationScenarioServerRoleResult={type:{name:"Composite",className:"StartMigrationScenarioServerRoleResult",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},DatabaseMigrationPropertiesSqlMi={serializedName:"SqlMi",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlMi",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:DatabaseMigrationProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},DatabaseMigrationProperties.type.modelProperties),{migrationStatusDetails:{serializedName:"migrationStatusDetails",type:{name:"Composite",className:"MigrationStatusDetails"}},targetDatabaseCollation:{serializedName:"targetDatabaseCollation",type:{name:"String"}},provisioningError:{serializedName:"provisioningError",type:{name:"String"}},backupConfiguration:{serializedName:"backupConfiguration",type:{name:"Composite",className:"BackupConfiguration"}},offlineConfiguration:{serializedName:"offlineConfiguration",type:{name:"Composite",className:"OfflineConfiguration"}}})}},DatabaseMigrationPropertiesSqlVm={serializedName:"SqlVm",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlVm",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:DatabaseMigrationProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},DatabaseMigrationProperties.type.modelProperties),{migrationStatusDetails:{serializedName:"migrationStatusDetails",type:{name:"Composite",className:"MigrationStatusDetails"}},targetDatabaseCollation:{serializedName:"targetDatabaseCollation",type:{name:"String"}},provisioningError:{serializedName:"provisioningError",type:{name:"String"}},backupConfiguration:{serializedName:"backupConfiguration",type:{name:"Composite",className:"BackupConfiguration"}},offlineConfiguration:{serializedName:"offlineConfiguration",type:{name:"Composite",className:"OfflineConfiguration"}}})}},DatabaseMigrationSqlMi={type:{name:"Composite",className:"DatabaseMigrationSqlMi",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlMi"}}})}},DatabaseMigrationSqlVm={type:{name:"Composite",className:"DatabaseMigrationSqlVm",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlVm"}}})}},DatabaseMigration={type:{name:"Composite",className:"DatabaseMigration",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationProperties"}}})}},SqlMigrationService={type:{name:"Composite",className:"SqlMigrationService",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},integrationRuntimeState:{serializedName:"properties.integrationRuntimeState",readOnly:!0,type:{name:"String"}}})}},DataMigrationService={type:{name:"Composite",className:"DataMigrationService",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},kind:{serializedName:"kind",type:{name:"String"}},sku:{serializedName:"sku",type:{name:"Composite",className:"ServiceSku"}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},publicKey:{serializedName:"properties.publicKey",type:{name:"String"}},virtualSubnetId:{serializedName:"properties.virtualSubnetId",type:{name:"String"}},virtualNicId:{serializedName:"properties.virtualNicId",type:{name:"String"}},autoStopDelay:{serializedName:"properties.autoStopDelay",type:{name:"String"}},deleteResourcesOnStop:{serializedName:"properties.deleteResourcesOnStop",type:{name:"Boolean"}}})}},Project={type:{name:"Composite",className:"Project",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{eTag:{serializedName:"eTag",type:{name:"String"}},sourcePlatform:{serializedName:"properties.sourcePlatform",type:{name:"String"}},azureAuthenticationInfo:{serializedName:"properties.azureAuthenticationInfo",type:{name:"String"}},targetPlatform:{serializedName:"properties.targetPlatform",type:{name:"String"}},creationTime:{serializedName:"properties.creationTime",readOnly:!0,type:{name:"DateTime"}},sourceConnectionInfo:{serializedName:"properties.sourceConnectionInfo",type:{name:"Composite",className:"ConnectionInfo"}},targetConnectionInfo:{serializedName:"properties.targetConnectionInfo",type:{name:"Composite",className:"ConnectionInfo"}},databasesInfo:{serializedName:"properties.databasesInfo",type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseInfo"}}}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskProperties={serializedName:"MigrateSchemaSqlServerSqlDb",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutput"}}}},createdOn:{serializedName:"createdOn",type:{name:"String"}},taskId:{serializedName:"taskId",type:{name:"String"}}})}},CheckOCIDriverTaskProperties={serializedName:"Service.Check.OCI",type:{name:"Composite",className:"CheckOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"CheckOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"CheckOCIDriverTaskOutput"}}}}})}},UploadOCIDriverTaskProperties={serializedName:"Service.Upload.OCI",type:{name:"Composite",className:"UploadOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"UploadOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"UploadOCIDriverTaskOutput"}}}}})}},InstallOCIDriverTaskProperties={serializedName:"Service.Install.OCI",type:{name:"Composite",className:"InstallOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"InstallOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"InstallOCIDriverTaskOutput"}}}}})}},ConnectToMongoDbTaskProperties={serializedName:"Connect.MongoDb",type:{name:"Composite",className:"ConnectToMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbConnectionInfo"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbClusterInfo"}}}}})}},ConnectToSourceSqlServerTaskProperties={serializedName:"ConnectToSource.SqlServer",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput"}}}}})}},ConnectToSourceSqlServerSyncTaskProperties={serializedName:"ConnectToSource.SqlServer.Sync",type:{name:"Composite",className:"ConnectToSourceSqlServerSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput"}}}}})}},ConnectToSourcePostgreSqlSyncTaskProperties={serializedName:"ConnectToSource.PostgreSql.Sync",type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskOutput"}}}}})}},ConnectToSourceMySqlTaskProperties={serializedName:"ConnectToSource.MySql",type:{name:"Composite",className:"ConnectToSourceMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceNonSqlTaskOutput"}}}}})}},ConnectToSourceOracleSyncTaskProperties={serializedName:"ConnectToSource.Oracle.Sync",type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskOutput"}}}}})}},ConnectToTargetSqlDbTaskProperties={serializedName:"ConnectToTarget.SqlDb",type:{name:"Composite",className:"ConnectToTargetSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput"}}}}})}},ConnectToTargetSqlDbSyncTaskProperties={serializedName:"ConnectToTarget.SqlDb.Sync",type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput"}}}}})}},ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties={serializedName:"ConnectToTarget.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput"}}}}})}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput"}}}}})}},GetUserTablesSqlTaskProperties={serializedName:"GetUserTables.Sql",type:{name:"Composite",className:"GetUserTablesSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesSqlTaskOutput"}}}}})}},GetUserTablesSqlSyncTaskProperties={serializedName:"GetUserTables.AzureSqlDb.Sync",type:{name:"Composite",className:"GetUserTablesSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesSqlSyncTaskOutput"}}}}})}},GetUserTablesOracleTaskProperties={serializedName:"GetUserTablesOracle",type:{name:"Composite",className:"GetUserTablesOracleTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesOracleTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesOracleTaskOutput"}}}}})}},GetUserTablesPostgreSqlTaskProperties={serializedName:"GetUserTablesPostgreSql",type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskOutput"}}}}})}},GetUserTablesMySqlTaskProperties={serializedName:"GetUserTablesMySql",type:{name:"Composite",className:"GetUserTablesMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesMySqlTaskOutput"}}}}})}},ConnectToTargetSqlMITaskProperties={serializedName:"ConnectToTarget.AzureSqlDbMI",type:{name:"Composite",className:"ConnectToTargetSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlMITaskOutput"}}}}})}},ConnectToTargetSqlMISyncTaskProperties={serializedName:"ConnectToTarget.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskOutput"}}}}})}},ConnectToTargetAzureDbForMySqlTaskProperties={serializedName:"ConnectToTarget.AzureDbForMySql",type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskOutput"}}}}})}},MigrateMongoDbTaskProperties={serializedName:"Migrate.MongoDb",type:{name:"Composite",className:"MigrateMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbMigrationSettings"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbProgress"}}}}})}},MigrateSqlServerSqlMITaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDbMI",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}}})}},MigrateSqlServerSqlMISyncTaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutput"}}}}})}},MigrateSqlServerSqlDbTaskProperties={serializedName:"Migrate.SqlServer.SqlDb",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}},isCloneable:{serializedName:"isCloneable",type:{name:"Boolean"}}})}},MigrateSqlServerSqlDbSyncTaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDb.Sync",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutput"}}}}})}},MigrateMySqlAzureDbForMySqlSyncTaskProperties={serializedName:"Migrate.MySql.AzureDbForMySql.Sync",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutput"}}}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskProperties={serializedName:"Migrate.MySql.AzureDbForMySql",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}},createdOn:{serializedName:"createdOn",type:{name:"String"}}})}},MigrateOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Migrate.Oracle.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"MigrateOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlDbSyncTaskProperties={serializedName:"ValidateMigrationInput.SqlServer.SqlDb.Sync",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlMITaskProperties={serializedName:"ValidateMigrationInput.SqlServer.AzureSqlDbMI",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlMISyncTaskProperties={serializedName:"ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskOutput"}}}}})}},ValidateMongoDbTaskProperties={serializedName:"Validate.MongoDb",type:{name:"Composite",className:"ValidateMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbMigrationSettings"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbMigrationProgress"}}}}})}},ValidateOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Validate.Oracle.AzureDbPostgreSql.Sync",type:{name:"Composite",className:"ValidateOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateOracleAzureDbPostgreSqlSyncTaskOutput"}}}}})}},GetTdeCertificatesSqlTaskProperties={serializedName:"GetTDECertificates.Sql",type:{name:"Composite",className:"GetTdeCertificatesSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetTdeCertificatesSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetTdeCertificatesSqlTaskOutput"}}}}})}},MigrateSsisTaskProperties={serializedName:"Migrate.Ssis",type:{name:"Composite",className:"MigrateSsisTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSsisTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSsisTaskOutput"}}}}})}},MigrateSyncCompleteCommandProperties={serializedName:"Migrate.Sync.Complete.Database",type:{name:"Composite",className:"MigrateSyncCompleteCommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSyncCompleteCommandInput"}},output:{serializedName:"output",type:{name:"Composite",className:"MigrateSyncCompleteCommandOutput"}}})}},MigrateMISyncCompleteCommandProperties={serializedName:"Migrate.SqlServer.AzureDbSqlMi.Complete",type:{name:"Composite",className:"MigrateMISyncCompleteCommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMISyncCompleteCommandInput"}},output:{serializedName:"output",type:{name:"Composite",className:"MigrateMISyncCompleteCommandOutput"}}})}},MongoDbCancelCommand={serializedName:"cancel",type:{name:"Composite",className:"MongoDbCancelCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbCommandInput"}}})}},MongoDbFinishCommand={serializedName:"finish",type:{name:"Composite",className:"MongoDbFinishCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbFinishCommandInput"}}})}},MongoDbRestartCommand={serializedName:"restart",type:{name:"Composite",className:"MongoDbRestartCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbCommandInput"}}})}},ProjectTask={type:{name:"Composite",className:"ProjectTask",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ProjectTaskProperties"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}})}},ProjectFile={type:{name:"Composite",className:"ProjectFile",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ProjectFileProperties"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}})}},MongoDbConnectionInfo={serializedName:"MongoDbConnectionInfo",type:{name:"Composite",className:"MongoDbConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{connectionString:{serializedName:"connectionString",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},encryptConnection:{serializedName:"encryptConnection",type:{name:"Boolean"}},serverBrandVersion:{serializedName:"serverBrandVersion",type:{name:"String"}},enforceSSL:{serializedName:"enforceSSL",type:{name:"Boolean"}},port:{serializedName:"port",type:{name:"Number"}},additionalSettings:{serializedName:"additionalSettings",type:{name:"String"}}})}},SqlConnectionInfo={serializedName:"SqlConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{dataSource:{serializedName:"dataSource",required:!0,type:{name:"String"}},serverName:{serializedName:"serverName",type:{name:"String"}},port:{serializedName:"port",type:{name:"String"}},resourceId:{serializedName:"resourceId",type:{name:"String"}},authentication:{serializedName:"authentication",type:{name:"String"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}},additionalSettings:{serializedName:"additionalSettings",type:{name:"String"}},trustServerCertificate:{defaultValue:!1,serializedName:"trustServerCertificate",type:{name:"Boolean"}},platform:{serializedName:"platform",type:{name:"String"}}})}},MySqlConnectionInfo={serializedName:"MySqlConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{serverName:{serializedName:"serverName",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"Number"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}}})}},OracleConnectionInfo={serializedName:"OracleConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{dataSource:{serializedName:"dataSource",required:!0,type:{name:"String"}}})}},PostgreSqlConnectionInfo={serializedName:"PostgreSqlConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{serverName:{serializedName:"serverName",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},serverVersion:{serializedName:"serverVersion",type:{name:"String"}},databaseName:{serializedName:"databaseName",type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"Number"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}},trustServerCertificate:{defaultValue:!1,serializedName:"trustServerCertificate",type:{name:"Boolean"}}})}},MiSqlConnectionInfo={serializedName:"MiSqlConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{managedInstanceResourceId:{serializedName:"managedInstanceResourceId",required:!0,type:{name:"String"}}})}},ConnectToSourceSqlServerTaskOutputTaskLevel={serializedName:"TaskLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputTaskLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"String"}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"String"}},databaseTdeCertificateMapping:{serializedName:"databaseTdeCertificateMapping",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},ConnectToSourceSqlServerTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputDatabaseLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}},databaseFiles:{serializedName:"databaseFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseFileInfo"}}}},compatibilityLevel:{serializedName:"compatibilityLevel",readOnly:!0,type:{name:"String"}},databaseState:{serializedName:"databaseState",readOnly:!0,type:{name:"String"}}})}},ConnectToSourceSqlServerTaskOutputLoginLevel={serializedName:"LoginLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputLoginLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},loginType:{serializedName:"loginType",readOnly:!0,type:{name:"String"}},defaultDatabase:{serializedName:"defaultDatabase",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},migrationEligibility:{serializedName:"migrationEligibility",type:{name:"Composite",className:"MigrationEligibilityInfo"}}})}},ConnectToSourceSqlServerTaskOutputAgentJobLevel={serializedName:"AgentJobLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputAgentJobLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},jobCategory:{serializedName:"jobCategory",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},jobOwner:{serializedName:"jobOwner",readOnly:!0,type:{name:"String"}},lastExecutedOn:{serializedName:"lastExecutedOn",readOnly:!0,type:{name:"DateTime"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},migrationEligibility:{serializedName:"migrationEligibility",type:{name:"Composite",className:"MigrationEligibilityInfo"}}})}},MigrateSchemaSqlServerSqlDbTaskInput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbDatabaseInput"}}}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}},startedOn:{serializedName:"startedOn",type:{name:"String"}}})}},MigrateSqlServerSqlDbSyncTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput"}}}},validationOptions:{serializedName:"validationOptions",type:{name:"Composite",className:"MigrationValidationOptions"}}})}},MigrateSqlServerSqlDbTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbDatabaseInput"}}}},validationOptions:{serializedName:"validationOptions",type:{name:"Composite",className:"MigrationValidationOptions"}},startedOn:{serializedName:"startedOn",type:{name:"String"}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}}})}},MigrateSqlServerSqlMITaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlMITaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},startedOn:{serializedName:"startedOn",type:{name:"String"}},selectedLogins:{serializedName:"selectedLogins",type:{name:"Sequence",element:{type:{name:"String"}}}},selectedAgentJobs:{serializedName:"selectedAgentJobs",type:{name:"Sequence",element:{type:{name:"String"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupBlobShare:{serializedName:"backupBlobShare",type:{name:"Composite",className:"BlobShare"}},backupMode:{serializedName:"backupMode",type:{name:"String"}},aadDomainName:{serializedName:"aadDomainName",type:{name:"String"}}})}},MigrateSsisTaskInput={type:{name:"Composite",className:"MigrateSsisTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{ssisMigrationInfo:{serializedName:"ssisMigrationInfo",type:{name:"Composite",className:"SsisMigrationInfo"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},databaseErrorResultPrefix:{serializedName:"databaseErrorResultPrefix",readOnly:!0,type:{name:"String"}},schemaErrorResultPrefix:{serializedName:"schemaErrorResultPrefix",readOnly:!0,type:{name:"String"}},numberOfSuccessfulOperations:{serializedName:"numberOfSuccessfulOperations",readOnly:!0,type:{name:"Number"}},numberOfFailedOperations:{serializedName:"numberOfFailedOperations",readOnly:!0,type:{name:"Number"}},fileId:{serializedName:"fileId",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputError={serializedName:"SchemaErrorOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputError",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{commandText:{serializedName:"commandText",readOnly:!0,type:{name:"String"}},errorText:{serializedName:"errorText",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSchemaSqlTaskOutputError",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"String"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"String"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"String"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputError",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}},sourceServerType:{serializedName:"sourceServerType",readOnly:!0,type:{name:"String"}},targetServerType:{serializedName:"targetServerType",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},databaseCount:{serializedName:"databaseCount",type:{name:"Number"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}},databaseCount:{serializedName:"databaseCount",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlDbSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputTableLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateSqlServerSqlDbSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputError",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlDbSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputDatabaseError",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateSqlServerSqlDbTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},durationInSeconds:{serializedName:"durationInSeconds",readOnly:!0,type:{name:"Number"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},databaseSummary:{serializedName:"databaseSummary",readOnly:!0,type:{name:"String"}},migrationValidationResult:{serializedName:"migrationValidationResult",type:{name:"Composite",className:"MigrationValidationResult"}},migrationReportResult:{serializedName:"migrationReportResult",type:{name:"Composite",className:"MigrationReportResult"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlDbTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},numberOfObjects:{serializedName:"numberOfObjects",readOnly:!0,type:{name:"Number"}},numberOfObjectsCompleted:{serializedName:"numberOfObjectsCompleted",readOnly:!0,type:{name:"Number"}},errorCount:{serializedName:"errorCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},objectSummary:{serializedName:"objectSummary",readOnly:!0,type:{name:"String"}}})}},MigrateSqlServerSqlDbTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputTableLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}}})}},MigrateSqlServerSqlDbTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputError",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlDbTaskOutputValidationResult={serializedName:"MigrationValidationOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputValidationResult",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),MigrationValidationResult.type.modelProperties)}},MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult={serializedName:"MigrationDatabaseLevelValidationOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),MigrationValidationDatabaseLevelResult.type.modelProperties)}},DatabaseSummaryResult={type:{name:"Composite",className:"DatabaseSummaryResult",modelProperties:Object.assign(Object.assign({},DataItemMigrationSummaryResult.type.modelProperties),{sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskInput",modelProperties:Object.assign({},SqlServerSqlMISyncTaskInput.type.modelProperties)}},ValidateMigrationInputSqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskInput",modelProperties:Object.assign({},SqlServerSqlMISyncTaskInput.type.modelProperties)}},MigrateSqlServerSqlMISyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{databaseCount:{serializedName:"databaseCount",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},databaseErrorCount:{serializedName:"databaseErrorCount",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},fullBackupSetInfo:{serializedName:"fullBackupSetInfo",type:{name:"Composite",className:"BackupSetInfo"}},lastRestoredBackupSetInfo:{serializedName:"lastRestoredBackupSetInfo",type:{name:"Composite",className:"BackupSetInfo"}},activeBackupSets:{serializedName:"activeBackupSets",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"BackupSetInfo"}}}},containerName:{serializedName:"containerName",readOnly:!0,type:{name:"String"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},isFullBackupRestored:{serializedName:"isFullBackupRestored",readOnly:!0,type:{name:"Boolean"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMISyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputError",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlMITaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},serverRoleResults:{serializedName:"serverRoleResults",readOnly:!0,type:{name:"String"}},orphanedUsersInfo:{serializedName:"orphanedUsersInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"OrphanedUserInfo"}}}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputAgentJobLevel={serializedName:"AgentJobLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputAgentJobLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputLoginLevel={serializedName:"LoginLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputLoginLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{loginName:{serializedName:"loginName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputError",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSsisTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSsisTaskOutputMigrationLevel",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:MigrateSsisTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSsisTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}}})}},MigrateSsisTaskOutputProjectLevel={serializedName:"SsisProjectLevelOutput",type:{name:"Composite",className:"MigrateSsisTaskOutputProjectLevel",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:MigrateSsisTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSsisTaskOutput.type.modelProperties),{folderName:{serializedName:"folderName",readOnly:!0,type:{name:"String"}},projectName:{serializedName:"projectName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MongoDbFinishCommandInput={type:{name:"Composite",className:"MongoDbFinishCommandInput",modelProperties:Object.assign(Object.assign({},MongoDbCommandInput.type.modelProperties),{immediate:{serializedName:"immediate",required:!0,type:{name:"Boolean"}}})}},MongoDbCollectionInfo={type:{name:"Composite",className:"MongoDbCollectionInfo",modelProperties:Object.assign(Object.assign({},MongoDbObjectInfo.type.modelProperties),{databaseName:{serializedName:"databaseName",required:!0,type:{name:"String"}},isCapped:{serializedName:"isCapped",required:!0,type:{name:"Boolean"}},isSystemCollection:{serializedName:"isSystemCollection",required:!0,type:{name:"Boolean"}},isView:{serializedName:"isView",required:!0,type:{name:"Boolean"}},shardKey:{serializedName:"shardKey",type:{name:"Composite",className:"MongoDbShardKeyInfo"}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}},viewOf:{serializedName:"viewOf",type:{name:"String"}}})}},MongoDbDatabaseInfo={type:{name:"Composite",className:"MongoDbDatabaseInfo",modelProperties:Object.assign(Object.assign({},MongoDbObjectInfo.type.modelProperties),{collections:{serializedName:"collections",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbCollectionInfo"}}}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}}})}},MongoDbCollectionProgress={serializedName:"Collection",type:{name:"Composite",className:"MongoDbCollectionProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign({},MongoDbProgress.type.modelProperties)}},MongoDbDatabaseProgress={serializedName:"Database",type:{name:"Composite",className:"MongoDbDatabaseProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MongoDbProgress.type.modelProperties),{collections:{serializedName:"collections",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbCollectionProgress"}}}}})}},MongoDbMigrationProgress={serializedName:"Migration",type:{name:"Composite",className:"MongoDbMigrationProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MongoDbProgress.type.modelProperties),{databases:{serializedName:"databases",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbDatabaseProgress"}}}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputError",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},durationInSeconds:{serializedName:"durationInSeconds",readOnly:!0,type:{name:"Number"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",type:{name:"String"}},databaseSummary:{serializedName:"databaseSummary",readOnly:!0,type:{name:"String"}},migrationReportResult:{serializedName:"migrationReportResult",type:{name:"Composite",className:"MigrationReportResult"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},numberOfObjects:{serializedName:"numberOfObjects",readOnly:!0,type:{name:"Number"}},numberOfObjectsCompleted:{serializedName:"numberOfObjectsCompleted",readOnly:!0,type:{name:"Number"}},errorCount:{serializedName:"errorCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}},objectSummary:{serializedName:"objectSummary",readOnly:!0,type:{name:"String"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputError",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}};let discriminators={DatabaseMigrationProperties:DatabaseMigrationProperties,ProjectTaskProperties:ProjectTaskProperties,CommandProperties:CommandProperties,ConnectionInfo:ConnectionInfo,ConnectToSourceSqlServerTaskOutput:ConnectToSourceSqlServerTaskOutput,MigrateSchemaSqlServerSqlDbTaskOutput:MigrateSchemaSqlServerSqlDbTaskOutput,MigrateMySqlAzureDbForMySqlSyncTaskOutput:MigrateMySqlAzureDbForMySqlSyncTaskOutput,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput,MigrateSqlServerSqlDbSyncTaskOutput:MigrateSqlServerSqlDbSyncTaskOutput,MigrateSqlServerSqlDbTaskOutput:MigrateSqlServerSqlDbTaskOutput,MigrateSqlServerSqlMISyncTaskOutput:MigrateSqlServerSqlMISyncTaskOutput,MigrateSqlServerSqlMITaskOutput:MigrateSqlServerSqlMITaskOutput,MigrateSsisTaskOutput:MigrateSsisTaskOutput,MongoDbProgress:MongoDbProgress,MigrateOracleAzureDbPostgreSqlSyncTaskOutput:MigrateOracleAzureDbPostgreSqlSyncTaskOutput,MigrateMySqlAzureDbForMySqlOfflineTaskOutput:MigrateMySqlAzureDbForMySqlOfflineTaskOutput,"DatabaseMigrationProperties.SqlMi":DatabaseMigrationPropertiesSqlMi,"DatabaseMigrationProperties.SqlVm":DatabaseMigrationPropertiesSqlVm,"ProjectTaskProperties.MigrateSchemaSqlServerSqlDb":MigrateSchemaSqlServerSqlDbTaskProperties,"ProjectTaskProperties.Service.Check.OCI":CheckOCIDriverTaskProperties,"ProjectTaskProperties.Service.Upload.OCI":UploadOCIDriverTaskProperties,"ProjectTaskProperties.Service.Install.OCI":InstallOCIDriverTaskProperties,"ProjectTaskProperties.Connect.MongoDb":ConnectToMongoDbTaskProperties,"ProjectTaskProperties.ConnectToSource.SqlServer":ConnectToSourceSqlServerTaskProperties,"ProjectTaskProperties.ConnectToSource.SqlServer.Sync":ConnectToSourceSqlServerSyncTaskProperties,"ProjectTaskProperties.ConnectToSource.PostgreSql.Sync":ConnectToSourcePostgreSqlSyncTaskProperties,"ProjectTaskProperties.ConnectToSource.MySql":ConnectToSourceMySqlTaskProperties,"ProjectTaskProperties.ConnectToSource.Oracle.Sync":ConnectToSourceOracleSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.SqlDb":ConnectToTargetSqlDbTaskProperties,"ProjectTaskProperties.ConnectToTarget.SqlDb.Sync":ConnectToTargetSqlDbSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureDbForPostgreSql.Sync":ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync":ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.GetUserTables.Sql":GetUserTablesSqlTaskProperties,"ProjectTaskProperties.GetUserTables.AzureSqlDb.Sync":GetUserTablesSqlSyncTaskProperties,"ProjectTaskProperties.GetUserTablesOracle":GetUserTablesOracleTaskProperties,"ProjectTaskProperties.GetUserTablesPostgreSql":GetUserTablesPostgreSqlTaskProperties,"ProjectTaskProperties.GetUserTablesMySql":GetUserTablesMySqlTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureSqlDbMI":ConnectToTargetSqlMITaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureSqlDbMI.Sync.LRS":ConnectToTargetSqlMISyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureDbForMySql":ConnectToTargetAzureDbForMySqlTaskProperties,"ProjectTaskProperties.Migrate.MongoDb":MigrateMongoDbTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDbMI":MigrateSqlServerSqlMITaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDbMI.Sync.LRS":MigrateSqlServerSqlMISyncTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.SqlDb":MigrateSqlServerSqlDbTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDb.Sync":MigrateSqlServerSqlDbSyncTaskProperties,"ProjectTaskProperties.Migrate.MySql.AzureDbForMySql.Sync":MigrateMySqlAzureDbForMySqlSyncTaskProperties,"ProjectTaskProperties.Migrate.MySql.AzureDbForMySql":MigrateMySqlAzureDbForMySqlOfflineTaskProperties,"ProjectTaskProperties.Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.Migrate.Oracle.AzureDbForPostgreSql.Sync":MigrateOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.SqlDb.Sync":ValidateMigrationInputSqlServerSqlDbSyncTaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.AzureSqlDbMI":ValidateMigrationInputSqlServerSqlMITaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS":ValidateMigrationInputSqlServerSqlMISyncTaskProperties,"ProjectTaskProperties.Validate.MongoDb":ValidateMongoDbTaskProperties,"ProjectTaskProperties.Validate.Oracle.AzureDbPostgreSql.Sync":ValidateOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.GetTDECertificates.Sql":GetTdeCertificatesSqlTaskProperties,"ProjectTaskProperties.Migrate.Ssis":MigrateSsisTaskProperties,"CommandProperties.Migrate.Sync.Complete.Database":MigrateSyncCompleteCommandProperties,"CommandProperties.Migrate.SqlServer.AzureDbSqlMi.Complete":MigrateMISyncCompleteCommandProperties,"CommandProperties.cancel":MongoDbCancelCommand,"CommandProperties.finish":MongoDbFinishCommand,"CommandProperties.restart":MongoDbRestartCommand,"ConnectionInfo.MongoDbConnectionInfo":MongoDbConnectionInfo,"ConnectionInfo.SqlConnectionInfo":SqlConnectionInfo,"ConnectionInfo.MySqlConnectionInfo":MySqlConnectionInfo,"ConnectionInfo.OracleConnectionInfo":OracleConnectionInfo,"ConnectionInfo.PostgreSqlConnectionInfo":PostgreSqlConnectionInfo,"ConnectionInfo.MiSqlConnectionInfo":MiSqlConnectionInfo,"ConnectToSourceSqlServerTaskOutput.TaskLevelOutput":ConnectToSourceSqlServerTaskOutputTaskLevel,"ConnectToSourceSqlServerTaskOutput.DatabaseLevelOutput":ConnectToSourceSqlServerTaskOutputDatabaseLevel,"ConnectToSourceSqlServerTaskOutput.LoginLevelOutput":ConnectToSourceSqlServerTaskOutputLoginLevel,"ConnectToSourceSqlServerTaskOutput.AgentJobLevelOutput":ConnectToSourceSqlServerTaskOutputAgentJobLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.MigrationLevelOutput":MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.DatabaseLevelOutput":MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.SchemaErrorOutput":MigrateSchemaSqlServerSqlDbTaskOutputError,"MigrateSchemaSqlServerSqlDbTaskOutput.ErrorOutput":MigrateSchemaSqlTaskOutputError,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.MigrationLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.DatabaseLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.TableLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.ErrorOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputError,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.DatabaseLevelErrorOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.MigrationLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.DatabaseLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.TableLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.ErrorOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.DatabaseLevelErrorOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError,"MigrateSqlServerSqlDbSyncTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel,"MigrateSqlServerSqlDbSyncTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel,"MigrateSqlServerSqlDbSyncTaskOutput.TableLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputTableLevel,"MigrateSqlServerSqlDbSyncTaskOutput.ErrorOutput":MigrateSqlServerSqlDbSyncTaskOutputError,"MigrateSqlServerSqlDbSyncTaskOutput.DatabaseLevelErrorOutput":MigrateSqlServerSqlDbSyncTaskOutputDatabaseError,"MigrateSqlServerSqlDbTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlDbTaskOutputMigrationLevel,"MigrateSqlServerSqlDbTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlDbTaskOutputDatabaseLevel,"MigrateSqlServerSqlDbTaskOutput.TableLevelOutput":MigrateSqlServerSqlDbTaskOutputTableLevel,"MigrateSqlServerSqlDbTaskOutput.ErrorOutput":MigrateSqlServerSqlDbTaskOutputError,"MigrateSqlServerSqlDbTaskOutput.MigrationValidationOutput":MigrateSqlServerSqlDbTaskOutputValidationResult,"MigrateSqlServerSqlDbTaskOutput.MigrationDatabaseLevelValidationOutput":MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult,"MigrateSqlServerSqlMISyncTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlMISyncTaskOutputMigrationLevel,"MigrateSqlServerSqlMISyncTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel,"MigrateSqlServerSqlMISyncTaskOutput.ErrorOutput":MigrateSqlServerSqlMISyncTaskOutputError,"MigrateSqlServerSqlMITaskOutput.MigrationLevelOutput":MigrateSqlServerSqlMITaskOutputMigrationLevel,"MigrateSqlServerSqlMITaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlMITaskOutputDatabaseLevel,"MigrateSqlServerSqlMITaskOutput.AgentJobLevelOutput":MigrateSqlServerSqlMITaskOutputAgentJobLevel,"MigrateSqlServerSqlMITaskOutput.LoginLevelOutput":MigrateSqlServerSqlMITaskOutputLoginLevel,"MigrateSqlServerSqlMITaskOutput.ErrorOutput":MigrateSqlServerSqlMITaskOutputError,"MigrateSsisTaskOutput.MigrationLevelOutput":MigrateSsisTaskOutputMigrationLevel,"MigrateSsisTaskOutput.SsisProjectLevelOutput":MigrateSsisTaskOutputProjectLevel,"MongoDbProgress.Collection":MongoDbCollectionProgress,"MongoDbProgress.Database":MongoDbDatabaseProgress,"MongoDbProgress.Migration":MongoDbMigrationProgress,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.MigrationLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.DatabaseLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.TableLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.ErrorOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputError,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.DatabaseLevelErrorOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.MigrationLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.DatabaseLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.TableLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.ErrorOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputError};var Mappers=Object.freeze({__proto__:null,SystemData:SystemData,MigrationStatusDetails:MigrationStatusDetails,SqlBackupSetInfo:SqlBackupSetInfo,SqlBackupFileInfo:SqlBackupFileInfo,BackupConfiguration:BackupConfiguration,SourceLocation:SourceLocation,SqlFileShare:SqlFileShare,AzureBlob:AzureBlob,TargetLocation:TargetLocation,OfflineConfiguration:OfflineConfiguration,DatabaseMigrationProperties:DatabaseMigrationProperties,SqlConnectionInformation:SqlConnectionInformation,ErrorInfo:ErrorInfo,ProxyResource:ProxyResource,MigrationOperationInput:MigrationOperationInput,OperationListResult:OperationListResult,OperationsDefinition:OperationsDefinition,OperationsDisplayDefinition:OperationsDisplayDefinition,TrackedResource:TrackedResource,SqlMigrationServiceUpdate:SqlMigrationServiceUpdate,SqlMigrationListResult:SqlMigrationListResult,AuthenticationKeys:AuthenticationKeys,RegenAuthKeys:RegenAuthKeys,DeleteNode:DeleteNode,DatabaseMigrationListResult:DatabaseMigrationListResult,IntegrationRuntimeMonitoringData:IntegrationRuntimeMonitoringData,NodeMonitoringData:NodeMonitoringData,ResourceSkusResult:ResourceSkusResult,ResourceSku:ResourceSku,ResourceSkuCapacity:ResourceSkuCapacity,ResourceSkuCosts:ResourceSkuCosts,ResourceSkuCapabilities:ResourceSkuCapabilities,ResourceSkuRestrictions:ResourceSkuRestrictions,ApiError:ApiError,ODataError:ODataError,ServiceSku:ServiceSku,DataMigrationServiceStatusResponse:DataMigrationServiceStatusResponse,ServiceSkuList:ServiceSkuList,AvailableServiceSku:AvailableServiceSku,AvailableServiceSkuSku:AvailableServiceSkuSku,AvailableServiceSkuCapacity:AvailableServiceSkuCapacity,TaskList:TaskList,ProjectTaskProperties:ProjectTaskProperties,CommandProperties:CommandProperties,Resource:Resource,NameAvailabilityRequest:NameAvailabilityRequest,NameAvailabilityResponse:NameAvailabilityResponse,DataMigrationServiceList:DataMigrationServiceList,ProjectList:ProjectList,ConnectionInfo:ConnectionInfo,DatabaseInfo:DatabaseInfo,QuotaList:QuotaList,Quota:Quota,QuotaName:QuotaName,FileList:FileList,ProjectFileProperties:ProjectFileProperties,FileStorageInfo:FileStorageInfo,MigrateSyncCompleteCommandInput:MigrateSyncCompleteCommandInput,MigrateSyncCompleteCommandOutput:MigrateSyncCompleteCommandOutput,ReportableException:ReportableException,MigrateMISyncCompleteCommandInput:MigrateMISyncCompleteCommandInput,MigrateMISyncCompleteCommandOutput:MigrateMISyncCompleteCommandOutput,AzureActiveDirectoryApp:AzureActiveDirectoryApp,BackupSetInfo:BackupSetInfo,BackupFileInfo:BackupFileInfo,OrphanedUserInfo:OrphanedUserInfo,ConnectToSourceMySqlTaskInput:ConnectToSourceMySqlTaskInput,ConnectToSourceSqlServerTaskInput:ConnectToSourceSqlServerTaskInput,ConnectToSourceSqlServerTaskOutput:ConnectToSourceSqlServerTaskOutput,DatabaseFileInfo:DatabaseFileInfo,MigrationEligibilityInfo:MigrationEligibilityInfo,ConnectToSourcePostgreSqlSyncTaskInput:ConnectToSourcePostgreSqlSyncTaskInput,ConnectToSourcePostgreSqlSyncTaskOutput:ConnectToSourcePostgreSqlSyncTaskOutput,ConnectToTargetAzureDbForMySqlTaskInput:ConnectToTargetAzureDbForMySqlTaskInput,ConnectToTargetAzureDbForMySqlTaskOutput:ConnectToTargetAzureDbForMySqlTaskOutput,ConnectToTargetSqlDbTaskInput:ConnectToTargetSqlDbTaskInput,ConnectToTargetSqlDbTaskOutput:ConnectToTargetSqlDbTaskOutput,ConnectToTargetSqlMISyncTaskInput:ConnectToTargetSqlMISyncTaskInput,ConnectToTargetSqlMISyncTaskOutput:ConnectToTargetSqlMISyncTaskOutput,ConnectToTargetSqlMITaskInput:ConnectToTargetSqlMITaskInput,ConnectToTargetSqlMITaskOutput:ConnectToTargetSqlMITaskOutput,ConnectToTargetSqlDbSyncTaskInput:ConnectToTargetSqlDbSyncTaskInput,ConnectToTargetAzureDbForPostgreSqlSyncTaskInput:ConnectToTargetAzureDbForPostgreSqlSyncTaskInput,ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput:ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput,GetUserTablesMySqlTaskInput:GetUserTablesMySqlTaskInput,GetUserTablesMySqlTaskOutput:GetUserTablesMySqlTaskOutput,DatabaseTable:DatabaseTable,GetTdeCertificatesSqlTaskInput:GetTdeCertificatesSqlTaskInput,FileShare:FileShare,SelectedCertificateInput:SelectedCertificateInput,GetTdeCertificatesSqlTaskOutput:GetTdeCertificatesSqlTaskOutput,GetUserTablesSqlSyncTaskInput:GetUserTablesSqlSyncTaskInput,GetUserTablesSqlSyncTaskOutput:GetUserTablesSqlSyncTaskOutput,GetUserTablesSqlTaskInput:GetUserTablesSqlTaskInput,GetUserTablesSqlTaskOutput:GetUserTablesSqlTaskOutput,MigrateSchemaSqlServerSqlDbDatabaseInput:MigrateSchemaSqlServerSqlDbDatabaseInput,SchemaMigrationSetting:SchemaMigrationSetting,SqlMigrationTaskInput:SqlMigrationTaskInput,MigrateSchemaSqlServerSqlDbTaskOutput:MigrateSchemaSqlServerSqlDbTaskOutput,MigrateMySqlAzureDbForMySqlSyncTaskInput:MigrateMySqlAzureDbForMySqlSyncTaskInput,MigrateMySqlAzureDbForMySqlSyncDatabaseInput:MigrateMySqlAzureDbForMySqlSyncDatabaseInput,MigrateMySqlAzureDbForMySqlSyncTaskOutput:MigrateMySqlAzureDbForMySqlSyncTaskOutput,SyncMigrationDatabaseErrorEvent:SyncMigrationDatabaseErrorEvent,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput,MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput:MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput,MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput:MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput,MigrateSqlServerSqlDbSyncDatabaseInput:MigrateSqlServerSqlDbSyncDatabaseInput,MigrationValidationOptions:MigrationValidationOptions,MigrateSqlServerSqlDbSyncTaskOutput:MigrateSqlServerSqlDbSyncTaskOutput,MigrateSqlServerSqlDbDatabaseInput:MigrateSqlServerSqlDbDatabaseInput,MigrateSqlServerSqlDbTaskOutput:MigrateSqlServerSqlDbTaskOutput,MigrationValidationResult:MigrationValidationResult,MigrationValidationDatabaseSummaryResult:MigrationValidationDatabaseSummaryResult,MigrationReportResult:MigrationReportResult,DataItemMigrationSummaryResult:DataItemMigrationSummaryResult,MigrationValidationDatabaseLevelResult:MigrationValidationDatabaseLevelResult,DataIntegrityValidationResult:DataIntegrityValidationResult,ValidationError:ValidationError,SchemaComparisonValidationResult:SchemaComparisonValidationResult,SchemaComparisonValidationResultType:SchemaComparisonValidationResultType,QueryAnalysisValidationResult:QueryAnalysisValidationResult,QueryExecutionResult:QueryExecutionResult,ExecutionStatistics:ExecutionStatistics,WaitStatistics:WaitStatistics,SqlServerSqlMISyncTaskInput:SqlServerSqlMISyncTaskInput,MigrateSqlServerSqlMIDatabaseInput:MigrateSqlServerSqlMIDatabaseInput,MigrateSqlServerSqlMISyncTaskOutput:MigrateSqlServerSqlMISyncTaskOutput,BlobShare:BlobShare,MigrateSqlServerSqlMITaskOutput:MigrateSqlServerSqlMITaskOutput,SsisMigrationInfo:SsisMigrationInfo,MigrateSsisTaskOutput:MigrateSsisTaskOutput,MongoDbCommandInput:MongoDbCommandInput,MongoDbClusterInfo:MongoDbClusterInfo,MongoDbShardKeyInfo:MongoDbShardKeyInfo,MongoDbShardKeyField:MongoDbShardKeyField,MongoDbObjectInfo:MongoDbObjectInfo,MongoDbProgress:MongoDbProgress,MongoDbError:MongoDbError,MongoDbCollectionSettings:MongoDbCollectionSettings,MongoDbShardKeySetting:MongoDbShardKeySetting,MongoDbDatabaseSettings:MongoDbDatabaseSettings,MongoDbMigrationSettings:MongoDbMigrationSettings,MongoDbThrottlingSettings:MongoDbThrottlingSettings,ConnectToSourceOracleSyncTaskInput:ConnectToSourceOracleSyncTaskInput,ConnectToSourceOracleSyncTaskOutput:ConnectToSourceOracleSyncTaskOutput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem,GetUserTablesOracleTaskInput:GetUserTablesOracleTaskInput,GetUserTablesOracleTaskOutput:GetUserTablesOracleTaskOutput,GetUserTablesPostgreSqlTaskInput:GetUserTablesPostgreSqlTaskInput,GetUserTablesPostgreSqlTaskOutput:GetUserTablesPostgreSqlTaskOutput,ValidateOracleAzureDbPostgreSqlSyncTaskOutput:ValidateOracleAzureDbPostgreSqlSyncTaskOutput,MigrateOracleAzureDbPostgreSqlSyncTaskInput:MigrateOracleAzureDbPostgreSqlSyncTaskInput,MigrateOracleAzureDbPostgreSqlSyncDatabaseInput:MigrateOracleAzureDbPostgreSqlSyncDatabaseInput,MigrateOracleAzureDbPostgreSqlSyncTaskOutput:MigrateOracleAzureDbPostgreSqlSyncTaskOutput,OracleOCIDriverInfo:OracleOCIDriverInfo,CheckOCIDriverTaskInput:CheckOCIDriverTaskInput,CheckOCIDriverTaskOutput:CheckOCIDriverTaskOutput,UploadOCIDriverTaskInput:UploadOCIDriverTaskInput,UploadOCIDriverTaskOutput:UploadOCIDriverTaskOutput,InstallOCIDriverTaskInput:InstallOCIDriverTaskInput,InstallOCIDriverTaskOutput:InstallOCIDriverTaskOutput,ServiceOperation:ServiceOperation,ServiceOperationDisplay:ServiceOperationDisplay,ServiceOperationList:ServiceOperationList,ConnectToSourceNonSqlTaskOutput:ConnectToSourceNonSqlTaskOutput,ServerProperties:ServerProperties,MigrateMySqlAzureDbForMySqlOfflineTaskInput:MigrateMySqlAzureDbForMySqlOfflineTaskInput,MigrateMySqlAzureDbForMySqlOfflineDatabaseInput:MigrateMySqlAzureDbForMySqlOfflineDatabaseInput,MigrateMySqlAzureDbForMySqlOfflineTaskOutput:MigrateMySqlAzureDbForMySqlOfflineTaskOutput,ValidateSyncMigrationInputSqlServerTaskInput:ValidateSyncMigrationInputSqlServerTaskInput,ValidateSyncMigrationInputSqlServerTaskOutput:ValidateSyncMigrationInputSqlServerTaskOutput,ValidateMigrationInputSqlServerSqlMITaskInput:ValidateMigrationInputSqlServerSqlMITaskInput,ValidateMigrationInputSqlServerSqlMITaskOutput:ValidateMigrationInputSqlServerSqlMITaskOutput,DatabaseBackupInfo:DatabaseBackupInfo,ValidateMigrationInputSqlServerSqlMISyncTaskOutput:ValidateMigrationInputSqlServerSqlMISyncTaskOutput,Database:Database,DatabaseObjectName:DatabaseObjectName,DataMigrationProjectMetadata:DataMigrationProjectMetadata,MigrationTableMetadata:MigrationTableMetadata,GetProjectDetailsNonSqlTaskInput:GetProjectDetailsNonSqlTaskInput,NonSqlMigrationTaskInput:NonSqlMigrationTaskInput,NonSqlDataMigrationTable:NonSqlDataMigrationTable,NonSqlMigrationTaskOutput:NonSqlMigrationTaskOutput,NonSqlDataMigrationTableResult:NonSqlDataMigrationTableResult,DataMigrationError:DataMigrationError,MigrateSqlServerDatabaseInput:MigrateSqlServerDatabaseInput,DatabaseFileInput:DatabaseFileInput,StartMigrationScenarioServerRoleResult:StartMigrationScenarioServerRoleResult,DatabaseMigrationPropertiesSqlMi:DatabaseMigrationPropertiesSqlMi,DatabaseMigrationPropertiesSqlVm:DatabaseMigrationPropertiesSqlVm,DatabaseMigrationSqlMi:DatabaseMigrationSqlMi,DatabaseMigrationSqlVm:DatabaseMigrationSqlVm,DatabaseMigration:DatabaseMigration,SqlMigrationService:SqlMigrationService,DataMigrationService:DataMigrationService,Project:Project,MigrateSchemaSqlServerSqlDbTaskProperties:MigrateSchemaSqlServerSqlDbTaskProperties,CheckOCIDriverTaskProperties:CheckOCIDriverTaskProperties,UploadOCIDriverTaskProperties:UploadOCIDriverTaskProperties,InstallOCIDriverTaskProperties:InstallOCIDriverTaskProperties,ConnectToMongoDbTaskProperties:ConnectToMongoDbTaskProperties,ConnectToSourceSqlServerTaskProperties:ConnectToSourceSqlServerTaskProperties,ConnectToSourceSqlServerSyncTaskProperties:ConnectToSourceSqlServerSyncTaskProperties,ConnectToSourcePostgreSqlSyncTaskProperties:ConnectToSourcePostgreSqlSyncTaskProperties,ConnectToSourceMySqlTaskProperties:ConnectToSourceMySqlTaskProperties,ConnectToSourceOracleSyncTaskProperties:ConnectToSourceOracleSyncTaskProperties,ConnectToTargetSqlDbTaskProperties:ConnectToTargetSqlDbTaskProperties,ConnectToTargetSqlDbSyncTaskProperties:ConnectToTargetSqlDbSyncTaskProperties,ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties:ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties,GetUserTablesSqlTaskProperties:GetUserTablesSqlTaskProperties,GetUserTablesSqlSyncTaskProperties:GetUserTablesSqlSyncTaskProperties,GetUserTablesOracleTaskProperties:GetUserTablesOracleTaskProperties,GetUserTablesPostgreSqlTaskProperties:GetUserTablesPostgreSqlTaskProperties,GetUserTablesMySqlTaskProperties:GetUserTablesMySqlTaskProperties,ConnectToTargetSqlMITaskProperties:ConnectToTargetSqlMITaskProperties,ConnectToTargetSqlMISyncTaskProperties:ConnectToTargetSqlMISyncTaskProperties,ConnectToTargetAzureDbForMySqlTaskProperties:ConnectToTargetAzureDbForMySqlTaskProperties,MigrateMongoDbTaskProperties:MigrateMongoDbTaskProperties,MigrateSqlServerSqlMITaskProperties:MigrateSqlServerSqlMITaskProperties,MigrateSqlServerSqlMISyncTaskProperties:MigrateSqlServerSqlMISyncTaskProperties,MigrateSqlServerSqlDbTaskProperties:MigrateSqlServerSqlDbTaskProperties,MigrateSqlServerSqlDbSyncTaskProperties:MigrateSqlServerSqlDbSyncTaskProperties,MigrateMySqlAzureDbForMySqlSyncTaskProperties:MigrateMySqlAzureDbForMySqlSyncTaskProperties,MigrateMySqlAzureDbForMySqlOfflineTaskProperties:MigrateMySqlAzureDbForMySqlOfflineTaskProperties,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties,MigrateOracleAzureDbForPostgreSqlSyncTaskProperties:MigrateOracleAzureDbForPostgreSqlSyncTaskProperties,ValidateMigrationInputSqlServerSqlDbSyncTaskProperties:ValidateMigrationInputSqlServerSqlDbSyncTaskProperties,ValidateMigrationInputSqlServerSqlMITaskProperties:ValidateMigrationInputSqlServerSqlMITaskProperties,ValidateMigrationInputSqlServerSqlMISyncTaskProperties:ValidateMigrationInputSqlServerSqlMISyncTaskProperties,ValidateMongoDbTaskProperties:ValidateMongoDbTaskProperties,ValidateOracleAzureDbForPostgreSqlSyncTaskProperties:ValidateOracleAzureDbForPostgreSqlSyncTaskProperties,GetTdeCertificatesSqlTaskProperties:GetTdeCertificatesSqlTaskProperties,MigrateSsisTaskProperties:MigrateSsisTaskProperties,MigrateSyncCompleteCommandProperties:MigrateSyncCompleteCommandProperties,MigrateMISyncCompleteCommandProperties:MigrateMISyncCompleteCommandProperties,MongoDbCancelCommand:MongoDbCancelCommand,MongoDbFinishCommand:MongoDbFinishCommand,MongoDbRestartCommand:MongoDbRestartCommand,ProjectTask:ProjectTask,ProjectFile:ProjectFile,MongoDbConnectionInfo:MongoDbConnectionInfo,SqlConnectionInfo:SqlConnectionInfo,MySqlConnectionInfo:MySqlConnectionInfo,OracleConnectionInfo:OracleConnectionInfo,PostgreSqlConnectionInfo:PostgreSqlConnectionInfo,MiSqlConnectionInfo:MiSqlConnectionInfo,ConnectToSourceSqlServerTaskOutputTaskLevel:ConnectToSourceSqlServerTaskOutputTaskLevel,ConnectToSourceSqlServerTaskOutputDatabaseLevel:ConnectToSourceSqlServerTaskOutputDatabaseLevel,ConnectToSourceSqlServerTaskOutputLoginLevel:ConnectToSourceSqlServerTaskOutputLoginLevel,ConnectToSourceSqlServerTaskOutputAgentJobLevel:ConnectToSourceSqlServerTaskOutputAgentJobLevel,MigrateSchemaSqlServerSqlDbTaskInput:MigrateSchemaSqlServerSqlDbTaskInput,MigrateSqlServerSqlDbSyncTaskInput:MigrateSqlServerSqlDbSyncTaskInput,MigrateSqlServerSqlDbTaskInput:MigrateSqlServerSqlDbTaskInput,MigrateSqlServerSqlMITaskInput:MigrateSqlServerSqlMITaskInput,MigrateSsisTaskInput:MigrateSsisTaskInput,MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel:MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel,MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel:MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel,MigrateSchemaSqlServerSqlDbTaskOutputError:MigrateSchemaSqlServerSqlDbTaskOutputError,MigrateSchemaSqlTaskOutputError:MigrateSchemaSqlTaskOutputError,MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputError:MigrateMySqlAzureDbForMySqlSyncTaskOutputError,MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError:MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError,MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel:MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel,MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel:MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel,MigrateSqlServerSqlDbSyncTaskOutputTableLevel:MigrateSqlServerSqlDbSyncTaskOutputTableLevel,MigrateSqlServerSqlDbSyncTaskOutputError:MigrateSqlServerSqlDbSyncTaskOutputError,MigrateSqlServerSqlDbSyncTaskOutputDatabaseError:MigrateSqlServerSqlDbSyncTaskOutputDatabaseError,MigrateSqlServerSqlDbTaskOutputMigrationLevel:MigrateSqlServerSqlDbTaskOutputMigrationLevel,MigrateSqlServerSqlDbTaskOutputDatabaseLevel:MigrateSqlServerSqlDbTaskOutputDatabaseLevel,MigrateSqlServerSqlDbTaskOutputTableLevel:MigrateSqlServerSqlDbTaskOutputTableLevel,MigrateSqlServerSqlDbTaskOutputError:MigrateSqlServerSqlDbTaskOutputError,MigrateSqlServerSqlDbTaskOutputValidationResult:MigrateSqlServerSqlDbTaskOutputValidationResult,MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult:MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult,DatabaseSummaryResult:DatabaseSummaryResult,MigrateSqlServerSqlMISyncTaskInput:MigrateSqlServerSqlMISyncTaskInput,ValidateMigrationInputSqlServerSqlMISyncTaskInput:ValidateMigrationInputSqlServerSqlMISyncTaskInput,MigrateSqlServerSqlMISyncTaskOutputMigrationLevel:MigrateSqlServerSqlMISyncTaskOutputMigrationLevel,MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel:MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel,MigrateSqlServerSqlMISyncTaskOutputError:MigrateSqlServerSqlMISyncTaskOutputError,MigrateSqlServerSqlMITaskOutputMigrationLevel:MigrateSqlServerSqlMITaskOutputMigrationLevel,MigrateSqlServerSqlMITaskOutputDatabaseLevel:MigrateSqlServerSqlMITaskOutputDatabaseLevel,MigrateSqlServerSqlMITaskOutputAgentJobLevel:MigrateSqlServerSqlMITaskOutputAgentJobLevel,MigrateSqlServerSqlMITaskOutputLoginLevel:MigrateSqlServerSqlMITaskOutputLoginLevel,MigrateSqlServerSqlMITaskOutputError:MigrateSqlServerSqlMITaskOutputError,MigrateSsisTaskOutputMigrationLevel:MigrateSsisTaskOutputMigrationLevel,MigrateSsisTaskOutputProjectLevel:MigrateSsisTaskOutputProjectLevel,MongoDbFinishCommandInput:MongoDbFinishCommandInput,MongoDbCollectionInfo:MongoDbCollectionInfo,MongoDbDatabaseInfo:MongoDbDatabaseInfo,MongoDbCollectionProgress:MongoDbCollectionProgress,MongoDbDatabaseProgress:MongoDbDatabaseProgress,MongoDbMigrationProgress:MongoDbMigrationProgress,MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputError:MigrateOracleAzureDbPostgreSqlSyncTaskOutputError,MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError:MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError,MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputError:MigrateMySqlAzureDbForMySqlOfflineTaskOutputError,discriminators:discriminators});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},managedInstanceName={parameterPath:"managedInstanceName",mapper:{serializedName:"managedInstanceName",required:!0,type:{name:"String"}}},targetDbName={parameterPath:"targetDbName",mapper:{serializedName:"targetDbName",required:!0,type:{name:"String"}}},migrationOperationId={parameterPath:["options","migrationOperationId"],mapper:{serializedName:"migrationOperationId",type:{name:"Uuid"}}},expand={parameterPath:["options","expand"],mapper:{serializedName:"$expand",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-10-30-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:DatabaseMigrationSqlMi},parameters1={parameterPath:"parameters",mapper:MigrationOperationInput},sqlVirtualMachineName={parameterPath:"sqlVirtualMachineName",mapper:{serializedName:"sqlVirtualMachineName",required:!0,type:{name:"String"}}},parameters2={parameterPath:"parameters",mapper:DatabaseMigrationSqlVm},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},sqlMigrationServiceName={parameterPath:"sqlMigrationServiceName",mapper:{serializedName:"sqlMigrationServiceName",required:!0,type:{name:"String"}}},parameters3={parameterPath:"parameters",mapper:SqlMigrationService},parameters4={parameterPath:"parameters",mapper:SqlMigrationServiceUpdate},parameters5={parameterPath:"parameters",mapper:RegenAuthKeys},parameters6={parameterPath:"parameters",mapper:DeleteNode},parameters7={parameterPath:"parameters",mapper:DataMigrationService},groupName={parameterPath:"groupName",mapper:{serializedName:"groupName",required:!0,type:{name:"String"}}},serviceName={parameterPath:"serviceName",mapper:{serializedName:"serviceName",required:!0,type:{name:"String"}}},deleteRunningTasks={parameterPath:["options","deleteRunningTasks"],mapper:{serializedName:"deleteRunningTasks",type:{name:"Boolean"}}},parameters8={parameterPath:"parameters",mapper:NameAvailabilityRequest},location={parameterPath:"location",mapper:{serializedName:"location",required:!0,type:{name:"String"}}},projectName={parameterPath:"projectName",mapper:{serializedName:"projectName",required:!0,type:{name:"String"}}},taskType={parameterPath:["options","taskType"],mapper:{serializedName:"taskType",type:{name:"String"}}},parameters9={parameterPath:"parameters",mapper:ProjectTask},taskName={parameterPath:"taskName",mapper:{serializedName:"taskName",required:!0,type:{name:"String"}}},parameters10={parameterPath:"parameters",mapper:CommandProperties},parameters11={parameterPath:"parameters",mapper:Project},fileName={parameterPath:"fileName",mapper:{serializedName:"fileName",required:!0,type:{name:"String"}}},parameters12={parameterPath:"parameters",mapper:ProjectFile};class LroImpl{constructor(e,a,t,r=t.path,i=t.httpMethod){this.sendOperationFn=e,this.args=a,this.spec=t,this.requestPath=r,this.requestMethod=i}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(a){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:a,httpMethod:"GET"}))})}}class DatabaseMigrationsSqlMiImpl{constructor(e){this.client=e}get(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,managedInstanceName:a,targetDbName:t,options:r},getOperationSpec$7)}beginCreateOrUpdate(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},createOrUpdateOperationSpec$7),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,a,t,r,i)).pollUntilDone()})}beginCancel(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},cancelOperationSpec$3),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCancelAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCancel(e,a,t,r,i)).pollUntilDone()})}beginCutover(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},cutoverOperationSpec$1),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCutoverAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCutover(e,a,t,r,i)).pollUntilDone()})}}const serializer$a=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$7={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationSqlMi},default:{}},queryParameters:[migrationOperationId,expand,apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[accept],serializer:serializer$a},createOrUpdateOperationSpec$7={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"PUT",responses:{200:{bodyMapper:DatabaseMigrationSqlMi},201:{bodyMapper:DatabaseMigrationSqlMi},202:{bodyMapper:DatabaseMigrationSqlMi},204:{bodyMapper:DatabaseMigrationSqlMi},default:{}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$a},cancelOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[contentType],mediaType:"json",serializer:serializer$a},cutoverOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[contentType],mediaType:"json",serializer:serializer$a};class DatabaseMigrationsSqlVmImpl{constructor(e){this.client=e}get(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlVirtualMachineName:a,targetDbName:t,options:r},getOperationSpec$6)}beginCreateOrUpdate(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},createOrUpdateOperationSpec$6),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,a,t,r,i)).pollUntilDone()})}beginCancel(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},cancelOperationSpec$2),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCancelAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCancel(e,a,t,r,i)).pollUntilDone()})}beginCutover(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},cutoverOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCutoverAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCutover(e,a,t,r,i)).pollUntilDone()})}}const serializer$9=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$6={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationSqlVm},default:{}},queryParameters:[migrationOperationId,expand,apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[accept],serializer:serializer$9},createOrUpdateOperationSpec$6={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"PUT",responses:{200:{bodyMapper:DatabaseMigrationSqlVm},201:{bodyMapper:DatabaseMigrationSqlVm},202:{bodyMapper:DatabaseMigrationSqlVm},204:{bodyMapper:DatabaseMigrationSqlVm},default:{}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$9},cancelOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[contentType],mediaType:"json",serializer:serializer$9},cutoverOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[contentType],mediaType:"json",serializer:serializer$9};class OperationsImpl{constructor(e){this.client=e}list(e){const a=this.listPagingAll(e);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(a,t)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$6)}_listNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listNextOperationSpec$6)}}const serializer$8=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$6={path:"/providers/Microsoft.DataMigration/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$8},listNextOperationSpec$6={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$8};class SqlMigrationServicesImpl{constructor(e){this.client=e}listByResourceGroup(e,a){const t=this.listByResourceGroupPagingAll(e,a);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,a)}}listByResourceGroupPagingPage(t,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(t,r));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listByResourceGroupNext(t,a,r)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listMigrations(e,a,t){const r=this.listMigrationsPagingAll(e,a,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listMigrationsPagingPage(e,a,t)}}listMigrationsPagingPage(t,r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listMigrations(t,r,i));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listMigrationsNext(t,r,a,i)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listMigrationsPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listMigrationsPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listBySubscription(e){const a=this.listBySubscriptionPagingAll(e);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listBySubscriptionNext(a,t)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listBySubscriptionPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}get(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},getOperationSpec$5)}beginCreateOrUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,parameters:r,options:i},createOrUpdateOperationSpec$5),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,a,t,r)).pollUntilDone()})}beginDelete(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,options:r},deleteOperationSpec$5),e=new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs});return yield e.poll(),e})}beginDeleteAndWait(e,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,a,t)).pollUntilDone()})}beginUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,parameters:r,options:i},updateOperationSpec$5),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginUpdateAndWait(e,a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginUpdate(e,a,t,r)).pollUntilDone()})}_listByResourceGroup(e,a){return this.client.sendOperationRequest({resourceGroupName:e,options:a},listByResourceGroupOperationSpec$1)}listAuthKeys(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listAuthKeysOperationSpec)}regenerateAuthKeys(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,parameters:t,options:r},regenerateAuthKeysOperationSpec)}deleteNode(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,parameters:t,options:r},deleteNodeOperationSpec)}_listMigrations(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listMigrationsOperationSpec)}listMonitoringData(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listMonitoringDataOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}_listByResourceGroupNext(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:a,options:t},listByResourceGroupNextOperationSpec$1)}_listMigrationsNext(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,nextLink:t,options:r},listMigrationsNextOperationSpec)}_listBySubscriptionNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listBySubscriptionNextOperationSpec)}}const serializer$7=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationService},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},createOrUpdateOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"PUT",responses:{200:{bodyMapper:SqlMigrationService},201:{bodyMapper:SqlMigrationService},202:{bodyMapper:SqlMigrationService},204:{bodyMapper:SqlMigrationService},default:{}},requestBody:parameters3,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},deleteOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],serializer:serializer$7},updateOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:SqlMigrationService},201:{bodyMapper:SqlMigrationService},202:{bodyMapper:SqlMigrationService},204:{bodyMapper:SqlMigrationService},default:{}},requestBody:parameters4,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},listByResourceGroupOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer$7},listAuthKeysOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys",httpMethod:"POST",responses:{200:{bodyMapper:AuthenticationKeys},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},regenerateAuthKeysOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys",httpMethod:"POST",responses:{200:{bodyMapper:RegenAuthKeys},default:{}},requestBody:parameters5,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},deleteNodeOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode",httpMethod:"POST",responses:{200:{bodyMapper:DeleteNode},default:{}},requestBody:parameters6,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},listMigrationsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},listMonitoringDataOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData",httpMethod:"POST",responses:{200:{bodyMapper:IntegrationRuntimeMonitoringData},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$7},listByResourceGroupNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$7},listMigrationsNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,nextLink,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$7};class ResourceSkusImpl{constructor(e){this.client=e}listSkus(e){const a=this.listSkusPagingAll(e);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listSkusPagingPage(e)}}listSkusPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listSkus(t));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listSkusNext(a,t)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listSkusPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listSkusPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_listSkus(e){return this.client.sendOperationRequest({options:e},listSkusOperationSpec$1)}_listSkusNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listSkusNextOperationSpec$1)}}const serializer$6=coreClient__namespace.createSerializer(Mappers,!1),listSkusOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus",httpMethod:"GET",responses:{200:{bodyMapper:ResourceSkusResult},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$6},listSkusNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceSkusResult},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$6};class ServicesImpl{constructor(e){this.client=e}listSkus(e,a,t){const r=this.listSkusPagingAll(e,a,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listSkusPagingPage(e,a,t)}}listSkusPagingPage(t,r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listSkus(t,r,i));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listSkusNext(t,r,a,i)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listSkusPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listSkusPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listByResourceGroup(e,a){const t=this.listByResourceGroupPagingAll(e,a);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,a)}}listByResourceGroupPagingPage(t,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(t,r));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listByResourceGroupNext(t,a,r)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}list(e){const a=this.listPagingAll(e);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(a,t)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}beginCreateOrUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,parameters:r,options:i},createOrUpdateOperationSpec$4),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,a,t,r)).pollUntilDone()})}get(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},getOperationSpec$4)}beginDelete(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},deleteOperationSpec$4),e=new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs});return yield e.poll(),e})}beginDeleteAndWait(e,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,a,t)).pollUntilDone()})}beginUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,parameters:r,options:i},updateOperationSpec$4),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginUpdateAndWait(e,a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginUpdate(e,a,t,r)).pollUntilDone()})}checkStatus(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},checkStatusOperationSpec)}beginStart(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},startOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs});return yield e.poll(),e})}beginStartAndWait(e,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginStart(e,a,t)).pollUntilDone()})}beginStop(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},stopOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs});return yield e.poll(),e})}beginStopAndWait(e,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginStop(e,a,t)).pollUntilDone()})}_listSkus(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listSkusOperationSpec)}checkChildrenNameAvailability(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,parameters:t,options:r},checkChildrenNameAvailabilityOperationSpec)}_listByResourceGroup(e,a){return this.client.sendOperationRequest({groupName:e,options:a},listByResourceGroupOperationSpec)}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$5)}checkNameAvailability(e,a,t){return this.client.sendOperationRequest({location:e,parameters:a,options:t},checkNameAvailabilityOperationSpec)}_listSkusNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listSkusNextOperationSpec)}_listByResourceGroupNext(e,a,t){return this.client.sendOperationRequest({groupName:e,nextLink:a,options:t},listByResourceGroupNextOperationSpec)}_listNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listNextOperationSpec$5)}}const serializer$5=coreClient__namespace.createSerializer(Mappers,!1),createOrUpdateOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"PUT",responses:{200:{bodyMapper:DataMigrationService},201:{bodyMapper:DataMigrationService},202:{bodyMapper:DataMigrationService},204:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},requestBody:parameters7,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},getOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},deleteOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},updateOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:DataMigrationService},201:{bodyMapper:DataMigrationService},202:{bodyMapper:DataMigrationService},204:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},requestBody:parameters7,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},checkStatusOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus",httpMethod:"POST",responses:{200:{bodyMapper:DataMigrationServiceStatusResponse},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},startOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},stopOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},listSkusOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus",httpMethod:"GET",responses:{200:{bodyMapper:ServiceSkuList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},checkChildrenNameAvailabilityOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:NameAvailabilityResponse},default:{bodyMapper:ApiError}},requestBody:parameters8,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName],headerParameters:[accept],serializer:serializer$5},listOperationSpec$5={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$5},checkNameAvailabilityOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:NameAvailabilityResponse},default:{bodyMapper:ApiError}},requestBody:parameters8,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,location],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},listSkusNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ServiceSkuList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName],headerParameters:[accept],serializer:serializer$5},listNextOperationSpec$5={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$5};class TasksImpl{constructor(e){this.client=e}list(e,a,t,r){const i=this.listPagingAll(e,a,t,r);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a,t,r)}}listPagingPage(t,r,i,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r,i,s));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,r,i,a,s)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n,o,l){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o,l));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},listOperationSpec$4)}createOrUpdate(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},createOrUpdateOperationSpec$3)}get(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},getOperationSpec$3)}delete(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},deleteOperationSpec$3)}update(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},updateOperationSpec$3)}cancel(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},cancelOperationSpec$1)}command(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},commandOperationSpec)}_listNext(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,nextLink:r,options:i},listNextOperationSpec$4)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$4},createOrUpdateOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectTask},201:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$4},getOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[expand,apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$4},deleteOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$4},updateOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$4},cancelOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",httpMethod:"POST",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$4},commandOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",httpMethod:"POST",responses:{200:{bodyMapper:CommandProperties},default:{bodyMapper:ApiError}},requestBody:parameters10,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$4},listNextOperationSpec$4={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$4};class ServiceTasksImpl{constructor(e){this.client=e}list(e,a,t){const r=this.listPagingAll(e,a,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a,t)}}listPagingPage(t,r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r,i));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,r,a,i)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listOperationSpec$3)}createOrUpdate(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,parameters:r,options:i},createOrUpdateOperationSpec$2)}get(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},getOperationSpec$2)}delete(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},deleteOperationSpec$2)}update(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,parameters:r,options:i},updateOperationSpec$2)}cancel(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},cancelOperationSpec)}_listNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listNextOperationSpec$3)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$3},createOrUpdateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectTask},201:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[expand,apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$3},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$3},updateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},cancelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel",httpMethod:"POST",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$3},listNextOperationSpec$3={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$3};class ProjectsImpl{constructor(e){this.client=e}list(e,a,t){const r=this.listPagingAll(e,a,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a,t)}}listPagingPage(t,r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r,i));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,r,a,i)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listOperationSpec$2)}createOrUpdate(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,parameters:r,options:i},createOrUpdateOperationSpec$1)}get(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},getOperationSpec$1)}delete(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},deleteOperationSpec$1)}update(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,parameters:r,options:i},updateOperationSpec$1)}_listNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listNextOperationSpec$2)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects",httpMethod:"GET",responses:{200:{bodyMapper:ProjectList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$2},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"PUT",responses:{200:{bodyMapper:Project},201:{bodyMapper:Project},default:{bodyMapper:ApiError}},requestBody:parameters11,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"GET",responses:{200:{bodyMapper:Project},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$2},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$2},updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Project},default:{bodyMapper:ApiError}},requestBody:parameters11,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$2};class UsagesImpl{constructor(e){this.client=e}list(e,a){const t=this.listPagingAll(e,a);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a)}}listPagingPage(t,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,a,r)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a){return this.client.sendOperationRequest({location:e,options:a},listOperationSpec$1)}_listNext(e,a,t){return this.client.sendOperationRequest({location:e,nextLink:a,options:t},listNextOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages",httpMethod:"GET",responses:{200:{bodyMapper:QuotaList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,location],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:QuotaList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,location],headerParameters:[accept],serializer:serializer$1};class FilesImpl{constructor(e){this.client=e}list(e,a,t,r){const i=this.listPagingAll(e,a,t,r);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a,t,r)}}listPagingPage(t,r,i,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r,i,s));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,r,i,a,s)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n,o,l){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o,l));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},listOperationSpec)}get(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},getOperationSpec)}createOrUpdate(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,parameters:i,options:s},createOrUpdateOperationSpec)}delete(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},deleteOperationSpec)}update(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,parameters:i,options:s},updateOperationSpec)}read(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},readOperationSpec)}readWrite(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},readWriteOperationSpec)}_listNext(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,nextLink:r,options:i},listNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files",httpMethod:"GET",responses:{200:{bodyMapper:FileList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectFile},201:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},requestBody:parameters12,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},requestBody:parameters12,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},readOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read",httpMethod:"POST",responses:{200:{bodyMapper:FileStorageInfo},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer},readWriteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite",httpMethod:"POST",responses:{200:{bodyMapper:FileStorageInfo},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:FileList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer};class DataMigrationManagementClient extends coreClient__namespace.ServiceClient{constructor(e,a,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===a)throw new Error("'subscriptionId' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},r="azsdk-js-arm-datamigration/3.0.0-beta.3",r=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+r:r,e=(t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),t),{userAgentOptions:{userAgentPrefix:r},baseUri:null!=(r=null!=(e=t.endpoint)?e:t.baseUri)?r:"https://management.azure.com"}));super(e),null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length&&(t.pipeline.getOrderedPolicies().some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))),this.subscriptionId=a,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2021-10-30-preview",this.databaseMigrationsSqlMi=new DatabaseMigrationsSqlMiImpl(this),this.databaseMigrationsSqlVm=new DatabaseMigrationsSqlVmImpl(this),this.operations=new OperationsImpl(this),this.sqlMigrationServices=new SqlMigrationServicesImpl(this),this.resourceSkus=new ResourceSkusImpl(this),this.services=new ServicesImpl(this),this.tasks=new TasksImpl(this),this.serviceTasks=new ServiceTasksImpl(this),this.projects=new ProjectsImpl(this),this.usages=new UsagesImpl(this),this.files=new FilesImpl(this)}}exports.DataMigrationManagementClient=DataMigrationManagementClient;
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),coreLro=require("@azure/core-lro");function _interopNamespace(t){var r;return t&&t.__esModule?t:(r=Object.create(null),t&&Object.keys(t).forEach(function(e){var a;"default"!==e&&(a=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(r,e,a.get?a:{enumerable:!0,get:function(){return t[e]}}))}),r.default=t,Object.freeze(r))}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);const pageMap=new WeakMap;function getContinuationToken(e){return"object"!=typeof e||null===e||null==(e=pageMap.get(e))?void 0:e.continuationToken}function setContinuationToken(e,a){var t;"object"==typeof e&&null!==e&&a&&((t=null!=(t=pageMap.get(e))?t:{}).continuationToken=a,pageMap.set(e,t))}exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownResourceType=void 0,function(e){e.SqlMi="SqlMi",e.SqlVm="SqlVm"}(exports.KnownResourceType||(exports.KnownResourceType={})),exports.KnownOperationOrigin=void 0,function(e){e.User="user",e.System="system"}(exports.KnownOperationOrigin||(exports.KnownOperationOrigin={})),exports.KnownResourceSkuCapacityScaleType=void 0,function(e){e.Automatic="Automatic",e.Manual="Manual",e.None="None"}(exports.KnownResourceSkuCapacityScaleType||(exports.KnownResourceSkuCapacityScaleType={})),exports.KnownResourceSkuRestrictionsType=void 0,(exports.KnownResourceSkuRestrictionsType||(exports.KnownResourceSkuRestrictionsType={})).Location="location",exports.KnownResourceSkuRestrictionsReasonCode=void 0,function(e){e.QuotaId="QuotaId",e.NotAvailableForSubscription="NotAvailableForSubscription"}(exports.KnownResourceSkuRestrictionsReasonCode||(exports.KnownResourceSkuRestrictionsReasonCode={})),exports.KnownServiceProvisioningState=void 0,function(e){e.Accepted="Accepted",e.Deleting="Deleting",e.Deploying="Deploying",e.Stopped="Stopped",e.Stopping="Stopping",e.Starting="Starting",e.FailedToStart="FailedToStart",e.FailedToStop="FailedToStop",e.Succeeded="Succeeded",e.Failed="Failed"}(exports.KnownServiceProvisioningState||(exports.KnownServiceProvisioningState={})),exports.KnownServiceScalability=void 0,function(e){e.None="none",e.Manual="manual",e.Automatic="automatic"}(exports.KnownServiceScalability||(exports.KnownServiceScalability={})),exports.KnownTaskType=void 0,function(e){e.ConnectMongoDb="Connect.MongoDb",e.ConnectToSourceSqlServer="ConnectToSource.SqlServer",e.ConnectToSourceSqlServerSync="ConnectToSource.SqlServer.Sync",e.ConnectToSourcePostgreSqlSync="ConnectToSource.PostgreSql.Sync",e.ConnectToSourceMySql="ConnectToSource.MySql",e.ConnectToSourceOracleSync="ConnectToSource.Oracle.Sync",e.ConnectToTargetSqlDb="ConnectToTarget.SqlDb",e.ConnectToTargetSqlDbSync="ConnectToTarget.SqlDb.Sync",e.ConnectToTargetAzureDbForPostgreSqlSync="ConnectToTarget.AzureDbForPostgreSql.Sync",e.ConnectToTargetOracleAzureDbForPostgreSqlSync="ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync",e.ConnectToTargetAzureSqlDbMI="ConnectToTarget.AzureSqlDbMI",e.ConnectToTargetAzureSqlDbMISyncLRS="ConnectToTarget.AzureSqlDbMI.Sync.LRS",e.ConnectToTargetAzureDbForMySql="ConnectToTarget.AzureDbForMySql",e.GetUserTablesSql="GetUserTables.Sql",e.GetUserTablesAzureSqlDbSync="GetUserTables.AzureSqlDb.Sync",e.GetUserTablesOracle="GetUserTablesOracle",e.GetUserTablesPostgreSql="GetUserTablesPostgreSql",e.GetUserTablesMySql="GetUserTablesMySql",e.MigrateMongoDb="Migrate.MongoDb",e.MigrateSqlServerAzureSqlDbMI="Migrate.SqlServer.AzureSqlDbMI",e.MigrateSqlServerAzureSqlDbMISyncLRS="Migrate.SqlServer.AzureSqlDbMI.Sync.LRS",e.MigrateSqlServerSqlDb="Migrate.SqlServer.SqlDb",e.MigrateSqlServerAzureSqlDbSync="Migrate.SqlServer.AzureSqlDb.Sync",e.MigrateMySqlAzureDbForMySqlSync="Migrate.MySql.AzureDbForMySql.Sync",e.MigrateMySqlAzureDbForMySql="Migrate.MySql.AzureDbForMySql",e.MigratePostgreSqlAzureDbForPostgreSqlSyncV2="Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2",e.MigrateOracleAzureDbForPostgreSqlSync="Migrate.Oracle.AzureDbForPostgreSql.Sync",e.ValidateMigrationInputSqlServerSqlDbSync="ValidateMigrationInput.SqlServer.SqlDb.Sync",e.ValidateMigrationInputSqlServerAzureSqlDbMI="ValidateMigrationInput.SqlServer.AzureSqlDbMI",e.ValidateMigrationInputSqlServerAzureSqlDbMISyncLRS="ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS",e.ValidateMongoDb="Validate.MongoDb",e.ValidateOracleAzureDbPostgreSqlSync="Validate.Oracle.AzureDbPostgreSql.Sync",e.GetTDECertificatesSql="GetTDECertificates.Sql",e.MigrateSsis="Migrate.Ssis",e.ServiceCheckOCI="Service.Check.OCI",e.ServiceUploadOCI="Service.Upload.OCI",e.ServiceInstallOCI="Service.Install.OCI",e.MigrateSchemaSqlServerSqlDb="MigrateSchemaSqlServerSqlDb"}(exports.KnownTaskType||(exports.KnownTaskType={})),exports.KnownTaskState=void 0,function(e){e.Unknown="Unknown",e.Queued="Queued",e.Running="Running",e.Canceled="Canceled",e.Succeeded="Succeeded",e.Failed="Failed",e.FailedInputValidation="FailedInputValidation",e.Faulted="Faulted"}(exports.KnownTaskState||(exports.KnownTaskState={})),exports.KnownCommandType=void 0,function(e){e.MigrateSyncCompleteDatabase="Migrate.Sync.Complete.Database",e.MigrateSqlServerAzureDbSqlMiComplete="Migrate.SqlServer.AzureDbSqlMi.Complete",e.Cancel="cancel",e.Finish="finish",e.Restart="restart"}(exports.KnownCommandType||(exports.KnownCommandType={})),exports.KnownCommandState=void 0,function(e){e.Unknown="Unknown",e.Accepted="Accepted",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed"}(exports.KnownCommandState||(exports.KnownCommandState={})),exports.KnownNameCheckFailureReason=void 0,function(e){e.AlreadyExists="AlreadyExists",e.Invalid="Invalid"}(exports.KnownNameCheckFailureReason||(exports.KnownNameCheckFailureReason={})),exports.KnownProjectSourcePlatform=void 0,function(e){e.SQL="SQL",e.MySQL="MySQL",e.PostgreSql="PostgreSql",e.MongoDb="MongoDb",e.Unknown="Unknown"}(exports.KnownProjectSourcePlatform||(exports.KnownProjectSourcePlatform={})),exports.KnownProjectTargetPlatform=void 0,function(e){e.Sqldb="SQLDB",e.Sqlmi="SQLMI",e.AzureDbForMySql="AzureDbForMySql",e.AzureDbForPostgreSql="AzureDbForPostgreSql",e.MongoDb="MongoDb",e.Unknown="Unknown"}(exports.KnownProjectTargetPlatform||(exports.KnownProjectTargetPlatform={})),exports.KnownProjectProvisioningState=void 0,function(e){e.Deleting="Deleting",e.Succeeded="Succeeded"}(exports.KnownProjectProvisioningState||(exports.KnownProjectProvisioningState={})),exports.KnownAuthenticationType=void 0,function(e){e.None="None",e.WindowsAuthentication="WindowsAuthentication",e.SqlAuthentication="SqlAuthentication",e.ActiveDirectoryIntegrated="ActiveDirectoryIntegrated",e.ActiveDirectoryPassword="ActiveDirectoryPassword"}(exports.KnownAuthenticationType||(exports.KnownAuthenticationType={})),exports.KnownSqlSourcePlatform=void 0,(exports.KnownSqlSourcePlatform||(exports.KnownSqlSourcePlatform={})).SqlOnPrem="SqlOnPrem",exports.KnownBackupType=void 0,function(e){e.Database="Database",e.TransactionLog="TransactionLog",e.File="File",e.DifferentialDatabase="DifferentialDatabase",e.DifferentialFile="DifferentialFile",e.Partial="Partial",e.DifferentialPartial="DifferentialPartial"}(exports.KnownBackupType||(exports.KnownBackupType={})),exports.KnownBackupFileStatus=void 0,function(e){e.Arrived="Arrived",e.Queued="Queued",e.Uploading="Uploading",e.Uploaded="Uploaded",e.Restoring="Restoring",e.Restored="Restored",e.Cancelled="Cancelled"}(exports.KnownBackupFileStatus||(exports.KnownBackupFileStatus={})),exports.KnownMySqlTargetPlatformType=void 0,function(e){e.SqlServer="SqlServer",e.AzureDbForMySQL="AzureDbForMySQL"}(exports.KnownMySqlTargetPlatformType||(exports.KnownMySqlTargetPlatformType={})),exports.KnownDatabaseFileType=void 0,function(e){e.Rows="Rows",e.Log="Log",e.Filestream="Filestream",e.NotSupported="NotSupported",e.Fulltext="Fulltext"}(exports.KnownDatabaseFileType||(exports.KnownDatabaseFileType={})),exports.KnownDatabaseCompatLevel=void 0,function(e){e.CompatLevel80="CompatLevel80",e.CompatLevel90="CompatLevel90",e.CompatLevel100="CompatLevel100",e.CompatLevel110="CompatLevel110",e.CompatLevel120="CompatLevel120",e.CompatLevel130="CompatLevel130",e.CompatLevel140="CompatLevel140"}(exports.KnownDatabaseCompatLevel||(exports.KnownDatabaseCompatLevel={})),exports.KnownDatabaseState=void 0,function(e){e.Online="Online",e.Restoring="Restoring",e.Recovering="Recovering",e.RecoveryPending="RecoveryPending",e.Suspect="Suspect",e.Emergency="Emergency",e.Offline="Offline",e.Copying="Copying",e.OfflineSecondary="OfflineSecondary"}(exports.KnownDatabaseState||(exports.KnownDatabaseState={})),exports.KnownLoginType=void 0,function(e){e.WindowsUser="WindowsUser",e.WindowsGroup="WindowsGroup",e.SqlLogin="SqlLogin",e.Certificate="Certificate",e.AsymmetricKey="AsymmetricKey",e.ExternalUser="ExternalUser",e.ExternalGroup="ExternalGroup"}(exports.KnownLoginType||(exports.KnownLoginType={})),exports.KnownSchemaMigrationOption=void 0,function(e){e.None="None",e.ExtractFromSource="ExtractFromSource",e.UseStorageFile="UseStorageFile"}(exports.KnownSchemaMigrationOption||(exports.KnownSchemaMigrationOption={})),exports.KnownMigrationState=void 0,function(e){e.None="None",e.InProgress="InProgress",e.Failed="Failed",e.Warning="Warning",e.Completed="Completed",e.Skipped="Skipped",e.Stopped="Stopped"}(exports.KnownMigrationState||(exports.KnownMigrationState={})),exports.KnownSchemaMigrationStage=void 0,function(e){e.NotStarted="NotStarted",e.ValidatingInputs="ValidatingInputs",e.CollectingObjects="CollectingObjects",e.DownloadingScript="DownloadingScript",e.GeneratingScript="GeneratingScript",e.UploadingScript="UploadingScript",e.DeployingSchema="DeployingSchema",e.Completed="Completed",e.CompletedWithWarnings="CompletedWithWarnings",e.Failed="Failed"}(exports.KnownSchemaMigrationStage||(exports.KnownSchemaMigrationStage={})),exports.KnownSyncDatabaseMigrationReportingState=void 0,function(e){e.Undefined="UNDEFINED",e.Configuring="CONFIGURING",e.Initialiazing="INITIALIAZING",e.Starting="STARTING",e.Running="RUNNING",e.ReadyTOComplete="READY_TO_COMPLETE",e.Completing="COMPLETING",e.Complete="COMPLETE",e.Cancelling="CANCELLING",e.Cancelled="CANCELLED",e.Failed="FAILED",e.Validating="VALIDATING",e.ValidationComplete="VALIDATION_COMPLETE",e.ValidationFailed="VALIDATION_FAILED",e.RestoreINProgress="RESTORE_IN_PROGRESS",e.RestoreCompleted="RESTORE_COMPLETED",e.BackupINProgress="BACKUP_IN_PROGRESS",e.BackupCompleted="BACKUP_COMPLETED"}(exports.KnownSyncDatabaseMigrationReportingState||(exports.KnownSyncDatabaseMigrationReportingState={})),exports.KnownSyncTableMigrationState=void 0,function(e){e.BeforeLoad="BEFORE_LOAD",e.FullLoad="FULL_LOAD",e.Completed="COMPLETED",e.Canceled="CANCELED",e.Error="ERROR",e.Failed="FAILED"}(exports.KnownSyncTableMigrationState||(exports.KnownSyncTableMigrationState={})),exports.KnownScenarioSource=void 0,function(e){e.Access="Access",e.DB2="DB2",e.MySQL="MySQL",e.Oracle="Oracle",e.SQL="SQL",e.Sybase="Sybase",e.PostgreSQL="PostgreSQL",e.MongoDB="MongoDB",e.Sqlrds="SQLRDS",e.MySqlrds="MySQLRDS",e.PostgreSqlrds="PostgreSQLRDS"}(exports.KnownScenarioSource||(exports.KnownScenarioSource={})),exports.KnownScenarioTarget=void 0,function(e){e.SQLServer="SQLServer",e.Sqldb="SQLDB",e.Sqldw="SQLDW",e.Sqlmi="SQLMI",e.AzureDBForMySql="AzureDBForMySql",e.AzureDBForPostgresSQL="AzureDBForPostgresSQL",e.MongoDB="MongoDB"}(exports.KnownScenarioTarget||(exports.KnownScenarioTarget={})),exports.KnownReplicateMigrationState=void 0,function(e){e.Undefined="UNDEFINED",e.Validating="VALIDATING",e.Pending="PENDING",e.Complete="COMPLETE",e.ActionRequired="ACTION_REQUIRED",e.Failed="FAILED"}(exports.KnownReplicateMigrationState||(exports.KnownReplicateMigrationState={})),exports.KnownMigrationStatus=void 0,function(e){e.Default="Default",e.Connecting="Connecting",e.SourceAndTargetSelected="SourceAndTargetSelected",e.SelectLogins="SelectLogins",e.Configured="Configured",e.Running="Running",e.Error="Error",e.Stopped="Stopped",e.Completed="Completed",e.CompletedWithWarnings="CompletedWithWarnings"}(exports.KnownMigrationStatus||(exports.KnownMigrationStatus={})),exports.KnownValidationStatus=void 0,function(e){e.Default="Default",e.NotStarted="NotStarted",e.Initialized="Initialized",e.InProgress="InProgress",e.Completed="Completed",e.CompletedWithIssues="CompletedWithIssues",e.Stopped="Stopped",e.Failed="Failed"}(exports.KnownValidationStatus||(exports.KnownValidationStatus={})),exports.KnownDatabaseMigrationStage=void 0,function(e){e.None="None",e.Initialize="Initialize",e.Backup="Backup",e.FileCopy="FileCopy",e.Restore="Restore",e.Completed="Completed"}(exports.KnownDatabaseMigrationStage||(exports.KnownDatabaseMigrationStage={})),exports.KnownSeverity=void 0,function(e){e.Message="Message",e.Warning="Warning",e.Error="Error"}(exports.KnownSeverity||(exports.KnownSeverity={})),exports.KnownObjectType=void 0,function(e){e.StoredProcedures="StoredProcedures",e.Table="Table",e.User="User",e.View="View",e.Function="Function"}(exports.KnownObjectType||(exports.KnownObjectType={})),exports.KnownUpdateActionType=void 0,function(e){e.DeletedOnTarget="DeletedOnTarget",e.ChangedOnTarget="ChangedOnTarget",e.AddedOnTarget="AddedOnTarget"}(exports.KnownUpdateActionType||(exports.KnownUpdateActionType={})),exports.KnownDatabaseMigrationState=void 0,function(e){e.Undefined="UNDEFINED",e.Initial="INITIAL",e.FullBackupUploadStart="FULL_BACKUP_UPLOAD_START",e.LOGShippingStart="LOG_SHIPPING_START",e.UploadLOGFilesStart="UPLOAD_LOG_FILES_START",e.CutoverStart="CUTOVER_START",e.PostCutoverComplete="POST_CUTOVER_COMPLETE",e.Completed="COMPLETED",e.Cancelled="CANCELLED",e.Failed="FAILED"}(exports.KnownDatabaseMigrationState||(exports.KnownDatabaseMigrationState={})),exports.KnownBackupMode=void 0,function(e){e.CreateBackup="CreateBackup",e.ExistingBackup="ExistingBackup"}(exports.KnownBackupMode||(exports.KnownBackupMode={})),exports.KnownLoginMigrationStage=void 0,function(e){e.None="None",e.Initialize="Initialize",e.LoginMigration="LoginMigration",e.EstablishUserMapping="EstablishUserMapping",e.AssignRoleMembership="AssignRoleMembership",e.AssignRoleOwnership="AssignRoleOwnership",e.EstablishServerPermissions="EstablishServerPermissions",e.EstablishObjectPermissions="EstablishObjectPermissions",e.Completed="Completed"}(exports.KnownLoginMigrationStage||(exports.KnownLoginMigrationStage={})),exports.KnownSsisStoreType=void 0,(exports.KnownSsisStoreType||(exports.KnownSsisStoreType={})).SsisCatalog="SsisCatalog",exports.KnownSsisMigrationOverwriteOption=void 0,function(e){e.Ignore="Ignore",e.Overwrite="Overwrite"}(exports.KnownSsisMigrationOverwriteOption||(exports.KnownSsisMigrationOverwriteOption={})),exports.KnownSsisMigrationStage=void 0,function(e){e.None="None",e.Initialize="Initialize",e.InProgress="InProgress",e.Completed="Completed"}(exports.KnownSsisMigrationStage||(exports.KnownSsisMigrationStage={})),exports.KnownMongoDbShardKeyOrder=void 0,function(e){e.Forward="Forward",e.Reverse="Reverse",e.Hashed="Hashed"}(exports.KnownMongoDbShardKeyOrder||(exports.KnownMongoDbShardKeyOrder={})),exports.KnownMongoDbClusterType=void 0,function(e){e.BlobContainer="BlobContainer",e.CosmosDb="CosmosDb",e.MongoDb="MongoDb"}(exports.KnownMongoDbClusterType||(exports.KnownMongoDbClusterType={})),exports.KnownMongoDbErrorType=void 0,function(e){e.Error="Error",e.ValidationError="ValidationError",e.Warning="Warning"}(exports.KnownMongoDbErrorType||(exports.KnownMongoDbErrorType={})),exports.KnownMongoDbProgressResultType=void 0,function(e){e.Migration="Migration",e.Database="Database",e.Collection="Collection"}(exports.KnownMongoDbProgressResultType||(exports.KnownMongoDbProgressResultType={})),exports.KnownMongoDbMigrationState=void 0,function(e){e.NotStarted="NotStarted",e.ValidatingInput="ValidatingInput",e.Initializing="Initializing",e.Restarting="Restarting",e.Copying="Copying",e.InitialReplay="InitialReplay",e.Replaying="Replaying",e.Finalizing="Finalizing",e.Complete="Complete",e.Canceled="Canceled",e.Failed="Failed"}(exports.KnownMongoDbMigrationState||(exports.KnownMongoDbMigrationState={})),exports.KnownMongoDbReplication=void 0,function(e){e.Disabled="Disabled",e.OneTime="OneTime",e.Continuous="Continuous"}(exports.KnownMongoDbReplication||(exports.KnownMongoDbReplication={})),exports.KnownDataMigrationResultCode=void 0,function(e){e.Initial="Initial",e.Completed="Completed",e.ObjectNotExistsInSource="ObjectNotExistsInSource",e.ObjectNotExistsInTarget="ObjectNotExistsInTarget",e.TargetObjectIsInaccessible="TargetObjectIsInaccessible",e.FatalError="FatalError"}(exports.KnownDataMigrationResultCode||(exports.KnownDataMigrationResultCode={})),exports.KnownErrorType=void 0,function(e){e.Default="Default",e.Warning="Warning",e.Error="Error"}(exports.KnownErrorType||(exports.KnownErrorType={}));const SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},MigrationStatusDetails={type:{name:"Composite",className:"MigrationStatusDetails",modelProperties:{migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},fullBackupSetInfo:{serializedName:"fullBackupSetInfo",type:{name:"Composite",className:"SqlBackupSetInfo"}},lastRestoredBackupSetInfo:{serializedName:"lastRestoredBackupSetInfo",type:{name:"Composite",className:"SqlBackupSetInfo"}},activeBackupSets:{serializedName:"activeBackupSets",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlBackupSetInfo"}}}},invalidFiles:{serializedName:"invalidFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},blobContainerName:{serializedName:"blobContainerName",readOnly:!0,type:{name:"String"}},isFullBackupRestored:{serializedName:"isFullBackupRestored",readOnly:!0,type:{name:"Boolean"}},restoreBlockingReason:{serializedName:"restoreBlockingReason",readOnly:!0,type:{name:"String"}},completeRestoreErrorMessage:{serializedName:"completeRestoreErrorMessage",readOnly:!0,type:{name:"String"}},fileUploadBlockingErrors:{serializedName:"fileUploadBlockingErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},currentRestoringFilename:{serializedName:"currentRestoringFilename",readOnly:!0,type:{name:"String"}},lastRestoredFilename:{serializedName:"lastRestoredFilename",readOnly:!0,type:{name:"String"}},pendingLogBackupsCount:{serializedName:"pendingLogBackupsCount",readOnly:!0,type:{name:"Number"}}}}},SqlBackupSetInfo={type:{name:"Composite",className:"SqlBackupSetInfo",modelProperties:{backupSetId:{serializedName:"backupSetId",readOnly:!0,type:{name:"Uuid"}},firstLSN:{serializedName:"firstLSN",readOnly:!0,type:{name:"String"}},lastLSN:{serializedName:"lastLSN",readOnly:!0,type:{name:"String"}},backupType:{serializedName:"backupType",readOnly:!0,type:{name:"String"}},listOfBackupFiles:{serializedName:"listOfBackupFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlBackupFileInfo"}}}},backupStartDate:{serializedName:"backupStartDate",readOnly:!0,type:{name:"DateTime"}},backupFinishDate:{serializedName:"backupFinishDate",readOnly:!0,type:{name:"DateTime"}},isBackupRestored:{serializedName:"isBackupRestored",readOnly:!0,type:{name:"Boolean"}},hasBackupChecksums:{serializedName:"hasBackupChecksums",readOnly:!0,type:{name:"Boolean"}},familyCount:{serializedName:"familyCount",readOnly:!0,type:{name:"Number"}},ignoreReasons:{serializedName:"ignoreReasons",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},SqlBackupFileInfo={type:{name:"Composite",className:"SqlBackupFileInfo",modelProperties:{fileName:{serializedName:"fileName",readOnly:!0,type:{name:"String"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},totalSize:{serializedName:"totalSize",readOnly:!0,type:{name:"Number"}},dataRead:{serializedName:"dataRead",readOnly:!0,type:{name:"Number"}},dataWritten:{serializedName:"dataWritten",readOnly:!0,type:{name:"Number"}},copyThroughput:{serializedName:"copyThroughput",readOnly:!0,type:{name:"Number"}},copyDuration:{serializedName:"copyDuration",readOnly:!0,type:{name:"Number"}},familySequenceNumber:{serializedName:"familySequenceNumber",readOnly:!0,type:{name:"Number"}}}}},BackupConfiguration={type:{name:"Composite",className:"BackupConfiguration",modelProperties:{sourceLocation:{serializedName:"sourceLocation",type:{name:"Composite",className:"SourceLocation"}},targetLocation:{serializedName:"targetLocation",type:{name:"Composite",className:"TargetLocation"}}}}},SourceLocation={type:{name:"Composite",className:"SourceLocation",modelProperties:{fileShare:{serializedName:"fileShare",type:{name:"Composite",className:"SqlFileShare"}},azureBlob:{serializedName:"azureBlob",type:{name:"Composite",className:"AzureBlob"}}}}},SqlFileShare={type:{name:"Composite",className:"SqlFileShare",modelProperties:{path:{serializedName:"path",type:{name:"String"}},username:{serializedName:"username",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}}}}},AzureBlob={type:{name:"Composite",className:"AzureBlob",modelProperties:{storageAccountResourceId:{serializedName:"storageAccountResourceId",type:{name:"String"}},accountKey:{serializedName:"accountKey",type:{name:"String"}},blobContainerName:{serializedName:"blobContainerName",type:{name:"String"}}}}},TargetLocation={type:{name:"Composite",className:"TargetLocation",modelProperties:{storageAccountResourceId:{serializedName:"storageAccountResourceId",type:{name:"String"}},accountKey:{serializedName:"accountKey",type:{name:"String"}}}}},OfflineConfiguration={type:{name:"Composite",className:"OfflineConfiguration",modelProperties:{offline:{serializedName:"offline",type:{name:"Boolean"}},lastBackupName:{serializedName:"lastBackupName",type:{name:"String"}}}}},DatabaseMigrationProperties={type:{name:"Composite",className:"DatabaseMigrationProperties",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:{serializedName:"kind",clientName:"kind"},modelProperties:{kind:{serializedName:"kind",required:!0,type:{name:"String"}},scope:{serializedName:"scope",type:{name:"String"}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},migrationStatus:{serializedName:"migrationStatus",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceSqlConnection:{serializedName:"sourceSqlConnection",type:{name:"Composite",className:"SqlConnectionInformation"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",type:{name:"String"}},migrationService:{serializedName:"migrationService",type:{name:"String"}},migrationOperationId:{serializedName:"migrationOperationId",type:{name:"String"}},migrationFailureError:{serializedName:"migrationFailureError",type:{name:"Composite",className:"ErrorInfo"}}}}},SqlConnectionInformation={type:{name:"Composite",className:"SqlConnectionInformation",modelProperties:{dataSource:{serializedName:"dataSource",type:{name:"String"}},authentication:{serializedName:"authentication",type:{name:"String"}},userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}},encryptConnection:{serializedName:"encryptConnection",type:{name:"Boolean"}},trustServerCertificate:{serializedName:"trustServerCertificate",type:{name:"Boolean"}}}}},ErrorInfo={type:{name:"Composite",className:"ErrorInfo",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},MigrationOperationInput={type:{name:"Composite",className:"MigrationOperationInput",modelProperties:{migrationOperationId:{serializedName:"migrationOperationId",type:{name:"Uuid"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"OperationsDefinition"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},OperationsDefinition={type:{name:"Composite",className:"OperationsDefinition",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isDataAction:{serializedName:"isDataAction",type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationsDisplayDefinition"}},origin:{serializedName:"origin",readOnly:!0,type:{name:"String"}},properties:{serializedName:"properties",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Dictionary",value:{type:{name:"any"}}}}}}}}},OperationsDisplayDefinition={type:{name:"Composite",className:"OperationsDisplayDefinition",modelProperties:{provider:{serializedName:"provider",readOnly:!0,type:{name:"String"}},resource:{serializedName:"resource",readOnly:!0,type:{name:"String"}},operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},description:{serializedName:"description",readOnly:!0,type:{name:"String"}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:{location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SqlMigrationServiceUpdate={type:{name:"Composite",className:"SqlMigrationServiceUpdate",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SqlMigrationListResult={type:{name:"Composite",className:"SqlMigrationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlMigrationService"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},AuthenticationKeys={type:{name:"Composite",className:"AuthenticationKeys",modelProperties:{authKey1:{serializedName:"authKey1",type:{name:"String"}},authKey2:{serializedName:"authKey2",type:{name:"String"}}}}},RegenAuthKeys={type:{name:"Composite",className:"RegenAuthKeys",modelProperties:{keyName:{serializedName:"keyName",type:{name:"String"}},authKey1:{serializedName:"authKey1",type:{name:"String"}},authKey2:{serializedName:"authKey2",type:{name:"String"}}}}},DeleteNode={type:{name:"Composite",className:"DeleteNode",modelProperties:{nodeName:{serializedName:"nodeName",type:{name:"String"}},integrationRuntimeName:{serializedName:"integrationRuntimeName",type:{name:"String"}}}}},DatabaseMigrationListResult={type:{name:"Composite",className:"DatabaseMigrationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseMigration"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},IntegrationRuntimeMonitoringData={type:{name:"Composite",className:"IntegrationRuntimeMonitoringData",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},nodes:{serializedName:"nodes",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NodeMonitoringData"}}}}}}},NodeMonitoringData={type:{name:"Composite",className:"NodeMonitoringData",modelProperties:{additionalProperties:{serializedName:"additionalProperties",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Dictionary",value:{type:{name:"any"}}}}}},nodeName:{serializedName:"nodeName",readOnly:!0,type:{name:"String"}},availableMemoryInMB:{serializedName:"availableMemoryInMB",readOnly:!0,type:{name:"Number"}},cpuUtilization:{serializedName:"cpuUtilization",readOnly:!0,type:{name:"Number"}},concurrentJobsLimit:{serializedName:"concurrentJobsLimit",readOnly:!0,type:{name:"Number"}},concurrentJobsRunning:{serializedName:"concurrentJobsRunning",readOnly:!0,type:{name:"Number"}},maxConcurrentJobs:{serializedName:"maxConcurrentJobs",readOnly:!0,type:{name:"Number"}},sentBytes:{serializedName:"sentBytes",readOnly:!0,type:{name:"Number"}},receivedBytes:{serializedName:"receivedBytes",readOnly:!0,type:{name:"Number"}}}}},ResourceSkusResult={type:{name:"Composite",className:"ResourceSkusResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSku"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ResourceSku={type:{name:"Composite",className:"ResourceSku",modelProperties:{resourceType:{serializedName:"resourceType",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},tier:{serializedName:"tier",readOnly:!0,type:{name:"String"}},size:{serializedName:"size",readOnly:!0,type:{name:"String"}},family:{serializedName:"family",readOnly:!0,type:{name:"String"}},kind:{serializedName:"kind",readOnly:!0,type:{name:"String"}},capacity:{serializedName:"capacity",type:{name:"Composite",className:"ResourceSkuCapacity"}},locations:{serializedName:"locations",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},apiVersions:{serializedName:"apiVersions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},costs:{serializedName:"costs",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuCosts"}}}},capabilities:{serializedName:"capabilities",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuCapabilities"}}}},restrictions:{serializedName:"restrictions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuRestrictions"}}}}}}},ResourceSkuCapacity={type:{name:"Composite",className:"ResourceSkuCapacity",modelProperties:{minimum:{serializedName:"minimum",readOnly:!0,type:{name:"Number"}},maximum:{serializedName:"maximum",readOnly:!0,type:{name:"Number"}},default:{serializedName:"default",readOnly:!0,type:{name:"Number"}},scaleType:{serializedName:"scaleType",readOnly:!0,type:{name:"String"}}}}},ResourceSkuCosts={type:{name:"Composite",className:"ResourceSkuCosts",modelProperties:{meterID:{serializedName:"meterID",readOnly:!0,type:{name:"String"}},quantity:{serializedName:"quantity",readOnly:!0,type:{name:"Number"}},extendedUnit:{serializedName:"extendedUnit",readOnly:!0,type:{name:"String"}}}}},ResourceSkuCapabilities={type:{name:"Composite",className:"ResourceSkuCapabilities",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},value:{serializedName:"value",readOnly:!0,type:{name:"String"}}}}},ResourceSkuRestrictions={type:{name:"Composite",className:"ResourceSkuRestrictions",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},values:{serializedName:"values",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},reasonCode:{serializedName:"reasonCode",readOnly:!0,type:{name:"String"}}}}},ApiError={type:{name:"Composite",className:"ApiError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ODataError"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},ODataError={type:{name:"Composite",className:"ODataError",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}}}}},ServiceSku={type:{name:"Composite",className:"ServiceSku",modelProperties:{name:{serializedName:"name",type:{name:"String"}},tier:{serializedName:"tier",type:{name:"String"}},family:{serializedName:"family",type:{name:"String"}},size:{serializedName:"size",type:{name:"String"}},capacity:{serializedName:"capacity",type:{name:"Number"}}}}},DataMigrationServiceStatusResponse={type:{name:"Composite",className:"DataMigrationServiceStatusResponse",modelProperties:{agentVersion:{serializedName:"agentVersion",type:{name:"String"}},status:{serializedName:"status",type:{name:"String"}},vmSize:{serializedName:"vmSize",type:{name:"String"}},supportedTaskTypes:{serializedName:"supportedTaskTypes",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},ServiceSkuList={type:{name:"Composite",className:"ServiceSkuList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"AvailableServiceSku"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},AvailableServiceSku={type:{name:"Composite",className:"AvailableServiceSku",modelProperties:{resourceType:{serializedName:"resourceType",type:{name:"String"}},sku:{serializedName:"sku",type:{name:"Composite",className:"AvailableServiceSkuSku"}},capacity:{serializedName:"capacity",type:{name:"Composite",className:"AvailableServiceSkuCapacity"}}}}},AvailableServiceSkuSku={type:{name:"Composite",className:"AvailableServiceSkuSku",modelProperties:{name:{serializedName:"name",type:{name:"String"}},family:{serializedName:"family",type:{name:"String"}},size:{serializedName:"size",type:{name:"String"}},tier:{serializedName:"tier",type:{name:"String"}}}}},AvailableServiceSkuCapacity={type:{name:"Composite",className:"AvailableServiceSkuCapacity",modelProperties:{minimum:{serializedName:"minimum",type:{name:"Number"}},maximum:{serializedName:"maximum",type:{name:"Number"}},default:{serializedName:"default",type:{name:"Number"}},scaleType:{serializedName:"scaleType",type:{name:"String"}}}}},TaskList={type:{name:"Composite",className:"TaskList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ProjectTask"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectTaskProperties={type:{name:"Composite",className:"ProjectTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:{serializedName:"taskType",clientName:"taskType"},modelProperties:{taskType:{serializedName:"taskType",required:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},commands:{serializedName:"commands",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"CommandProperties"}}}},clientData:{serializedName:"clientData",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},CommandProperties={type:{name:"Composite",className:"CommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:{serializedName:"commandType",clientName:"commandType"},modelProperties:{commandType:{serializedName:"commandType",required:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},NameAvailabilityRequest={type:{name:"Composite",className:"NameAvailabilityRequest",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},NameAvailabilityResponse={type:{name:"Composite",className:"NameAvailabilityResponse",modelProperties:{nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},DataMigrationServiceList={type:{name:"Composite",className:"DataMigrationServiceList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"DataMigrationService"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectList={type:{name:"Composite",className:"ProjectList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Project"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ConnectionInfo={type:{name:"Composite",className:"ConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:{serializedName:"type",clientName:"type"},modelProperties:{type:{serializedName:"type",required:!0,type:{name:"String"}},userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}}}}},DatabaseInfo={type:{name:"Composite",className:"DatabaseInfo",modelProperties:{sourceDatabaseName:{serializedName:"sourceDatabaseName",required:!0,type:{name:"String"}}}}},QuotaList={type:{name:"Composite",className:"QuotaList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Quota"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Quota={type:{name:"Composite",className:"Quota",modelProperties:{currentValue:{serializedName:"currentValue",type:{name:"Number"}},id:{serializedName:"id",type:{name:"String"}},limit:{serializedName:"limit",type:{name:"Number"}},name:{serializedName:"name",type:{name:"Composite",className:"QuotaName"}},unit:{serializedName:"unit",type:{name:"String"}}}}},QuotaName={type:{name:"Composite",className:"QuotaName",modelProperties:{localizedValue:{serializedName:"localizedValue",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},FileList={type:{name:"Composite",className:"FileList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ProjectFile"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectFileProperties={type:{name:"Composite",className:"ProjectFileProperties",modelProperties:{extension:{serializedName:"extension",type:{name:"String"}},filePath:{serializedName:"filePath",type:{name:"String"}},lastModified:{serializedName:"lastModified",readOnly:!0,type:{name:"DateTime"}},mediaType:{serializedName:"mediaType",type:{name:"String"}},size:{serializedName:"size",readOnly:!0,type:{name:"Number"}}}}},FileStorageInfo={type:{name:"Composite",className:"FileStorageInfo",modelProperties:{uri:{serializedName:"uri",type:{name:"String"}},headers:{serializedName:"headers",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateSyncCompleteCommandInput={type:{name:"Composite",className:"MigrateSyncCompleteCommandInput",modelProperties:{databaseName:{serializedName:"databaseName",required:!0,type:{name:"String"}},commitTimeStamp:{serializedName:"commitTimeStamp",type:{name:"DateTime"}}}}},MigrateSyncCompleteCommandOutput={type:{name:"Composite",className:"MigrateSyncCompleteCommandOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ReportableException={type:{name:"Composite",className:"ReportableException",modelProperties:{message:{serializedName:"message",type:{name:"String"}},actionableMessage:{serializedName:"actionableMessage",type:{name:"String"}},filePath:{serializedName:"filePath",type:{name:"String"}},lineNumber:{serializedName:"lineNumber",type:{name:"String"}},hResult:{serializedName:"hResult",type:{name:"Number"}},stackTrace:{serializedName:"stackTrace",type:{name:"String"}}}}},MigrateMISyncCompleteCommandInput={type:{name:"Composite",className:"MigrateMISyncCompleteCommandInput",modelProperties:{sourceDatabaseName:{serializedName:"sourceDatabaseName",required:!0,type:{name:"String"}}}}},MigrateMISyncCompleteCommandOutput={type:{name:"Composite",className:"MigrateMISyncCompleteCommandOutput",modelProperties:{errors:{serializedName:"errors",type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},AzureActiveDirectoryApp={type:{name:"Composite",className:"AzureActiveDirectoryApp",modelProperties:{applicationId:{serializedName:"applicationId",required:!0,type:{name:"String"}},appKey:{serializedName:"appKey",required:!0,type:{name:"String"}},tenantId:{serializedName:"tenantId",required:!0,type:{name:"String"}}}}},BackupSetInfo={type:{name:"Composite",className:"BackupSetInfo",modelProperties:{backupSetId:{serializedName:"backupSetId",type:{name:"String"}},firstLsn:{serializedName:"firstLsn",type:{name:"String"}},lastLsn:{serializedName:"lastLsn",type:{name:"String"}},lastModifiedTime:{serializedName:"lastModifiedTime",type:{name:"DateTime"}},backupType:{serializedName:"backupType",type:{name:"String"}},listOfBackupFiles:{serializedName:"listOfBackupFiles",type:{name:"Sequence",element:{type:{name:"Composite",className:"BackupFileInfo"}}}},databaseName:{serializedName:"databaseName",type:{name:"String"}},backupStartDate:{serializedName:"backupStartDate",type:{name:"DateTime"}},backupFinishedDate:{serializedName:"backupFinishedDate",type:{name:"DateTime"}},isBackupRestored:{serializedName:"isBackupRestored",type:{name:"Boolean"}}}}},BackupFileInfo={type:{name:"Composite",className:"BackupFileInfo",modelProperties:{fileLocation:{serializedName:"fileLocation",type:{name:"String"}},familySequenceNumber:{serializedName:"familySequenceNumber",type:{name:"Number"}},status:{serializedName:"status",type:{name:"String"}}}}},OrphanedUserInfo={type:{name:"Composite",className:"OrphanedUserInfo",modelProperties:{name:{serializedName:"name",type:{name:"String"}},databaseName:{serializedName:"databaseName",type:{name:"String"}}}}},ConnectToSourceMySqlTaskInput={type:{name:"Composite",className:"ConnectToSourceMySqlTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetPlatform:{serializedName:"targetPlatform",type:{name:"String"}},checkPermissionsGroup:{serializedName:"checkPermissionsGroup",type:{name:"Enum",allowedValues:["Default","MigrationFromSqlServerToAzureDB","MigrationFromSqlServerToAzureMI","MigrationFromMySQLToAzureDBForMySQL"]}},isOfflineMigration:{defaultValue:!1,serializedName:"isOfflineMigration",type:{name:"Boolean"}}}}},ConnectToSourceSqlServerTaskInput={type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},checkPermissionsGroup:{serializedName:"checkPermissionsGroup",type:{name:"Enum",allowedValues:["Default","MigrationFromSqlServerToAzureDB","MigrationFromSqlServerToAzureMI","MigrationFromMySQLToAzureDBForMySQL"]}},collectDatabases:{defaultValue:!0,serializedName:"collectDatabases",type:{name:"Boolean"}},collectLogins:{defaultValue:!1,serializedName:"collectLogins",type:{name:"Boolean"}},collectAgentJobs:{defaultValue:!1,serializedName:"collectAgentJobs",type:{name:"Boolean"}},collectTdeCertificateInfo:{defaultValue:!1,serializedName:"collectTdeCertificateInfo",type:{name:"Boolean"}},validateSsisCatalogOnly:{defaultValue:!1,serializedName:"validateSsisCatalogOnly",type:{name:"Boolean"}}}}},ConnectToSourceSqlServerTaskOutput={type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},DatabaseFileInfo={type:{name:"Composite",className:"DatabaseFileInfo",modelProperties:{databaseName:{serializedName:"databaseName",type:{name:"String"}},id:{serializedName:"id",type:{name:"String"}},logicalName:{serializedName:"logicalName",type:{name:"String"}},physicalFullName:{serializedName:"physicalFullName",type:{name:"String"}},restoreFullName:{serializedName:"restoreFullName",type:{name:"String"}},fileType:{serializedName:"fileType",type:{name:"String"}},sizeMB:{serializedName:"sizeMB",type:{name:"Number"}}}}},MigrationEligibilityInfo={type:{name:"Composite",className:"MigrationEligibilityInfo",modelProperties:{isEligibleForMigration:{serializedName:"isEligibleForMigration",readOnly:!0,type:{name:"Boolean"}},validationMessages:{serializedName:"validationMessages",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},ConnectToSourcePostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToSourcePostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetAzureDbForMySqlTaskInput={type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},isOfflineMigration:{defaultValue:!1,serializedName:"isOfflineMigration",type:{name:"Boolean"}}}}},ConnectToTargetAzureDbForMySqlTaskOutput={type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},serverVersion:{serializedName:"serverVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlDbTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlDbTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},ConnectToTargetSqlDbTaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}}}}},ConnectToTargetSqlMISyncTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo"}},azureApp:{serializedName:"azureApp",type:{name:"Composite",className:"AzureActiveDirectoryApp"}}}}},ConnectToTargetSqlMISyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskOutput",modelProperties:{targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlMITaskInput={type:{name:"Composite",className:"ConnectToTargetSqlMITaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},collectLogins:{defaultValue:!0,serializedName:"collectLogins",type:{name:"Boolean"}},collectAgentJobs:{defaultValue:!0,serializedName:"collectAgentJobs",type:{name:"Boolean"}},validateSsisCatalogOnly:{defaultValue:!1,serializedName:"validateSsisCatalogOnly",type:{name:"Boolean"}}}}},ConnectToTargetSqlMITaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlMITaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlDbSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},ConnectToTargetAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesMySqlTaskInput={type:{name:"Composite",className:"GetUserTablesMySqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesMySqlTaskOutput={type:{name:"Composite",className:"GetUserTablesMySqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databasesToTables:{serializedName:"databasesToTables",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},DatabaseTable={type:{name:"Composite",className:"DatabaseTable",modelProperties:{hasRows:{serializedName:"hasRows",readOnly:!0,type:{name:"Boolean"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}}}}},GetTdeCertificatesSqlTaskInput={type:{name:"Composite",className:"GetTdeCertificatesSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},selectedCertificates:{serializedName:"selectedCertificates",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SelectedCertificateInput"}}}}}}},FileShare={type:{name:"Composite",className:"FileShare",modelProperties:{userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}},path:{serializedName:"path",required:!0,type:{name:"String"}}}}},SelectedCertificateInput={type:{name:"Composite",className:"SelectedCertificateInput",modelProperties:{certificateName:{serializedName:"certificateName",required:!0,type:{name:"String"}},password:{serializedName:"password",required:!0,type:{name:"String"}}}}},GetTdeCertificatesSqlTaskOutput={type:{name:"Composite",className:"GetTdeCertificatesSqlTaskOutput",modelProperties:{base64EncodedCertificates:{serializedName:"base64EncodedCertificates",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesSqlSyncTaskInput={type:{name:"Composite",className:"GetUserTablesSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedSourceDatabases:{serializedName:"selectedSourceDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},selectedTargetDatabases:{serializedName:"selectedTargetDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesSqlSyncTaskOutput={type:{name:"Composite",className:"GetUserTablesSqlSyncTaskOutput",modelProperties:{databasesToSourceTables:{serializedName:"databasesToSourceTables",readOnly:!0,type:{name:"String"}},databasesToTargetTables:{serializedName:"databasesToTargetTables",readOnly:!0,type:{name:"String"}},tableValidationErrors:{serializedName:"tableValidationErrors",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesSqlTaskInput={type:{name:"Composite",className:"GetUserTablesSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesSqlTaskOutput={type:{name:"Composite",className:"GetUserTablesSqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databasesToTables:{serializedName:"databasesToTables",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},MigrateSchemaSqlServerSqlDbDatabaseInput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},id:{serializedName:"id",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},schemaSetting:{serializedName:"schemaSetting",type:{name:"Composite",className:"SchemaMigrationSetting"}}}}},SchemaMigrationSetting={type:{name:"Composite",className:"SchemaMigrationSetting",modelProperties:{schemaOption:{serializedName:"schemaOption",type:{name:"String"}},fileId:{serializedName:"fileId",type:{name:"String"}},fileName:{serializedName:"fileName",type:{name:"String"}}}}},SqlMigrationTaskInput={type:{name:"Composite",className:"SqlMigrationTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},MigrateSchemaSqlServerSqlDbTaskOutput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutput",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateMySqlAzureDbForMySqlSyncTaskInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncDatabaseInput"}}}}}}},MigrateMySqlAzureDbForMySqlSyncDatabaseInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlSyncTaskOutput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},SyncMigrationDatabaseErrorEvent={type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent",modelProperties:{timestampString:{serializedName:"timestampString",readOnly:!0,type:{name:"String"}},eventTypeString:{serializedName:"eventTypeString",readOnly:!0,type:{name:"String"}},eventText:{serializedName:"eventText",readOnly:!0,type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput"}}}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},selectedTables:{serializedName:"selectedTables",type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput"}}}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlDbSyncDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},schemaName:{serializedName:"schemaName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrationValidationOptions={type:{name:"Composite",className:"MigrationValidationOptions",modelProperties:{enableSchemaValidation:{serializedName:"enableSchemaValidation",type:{name:"Boolean"}},enableDataIntegrityValidation:{serializedName:"enableDataIntegrityValidation",type:{name:"Boolean"}},enableQueryAnalysisValidation:{serializedName:"enableQueryAnalysisValidation",type:{name:"Boolean"}}}}},MigrateSqlServerSqlDbSyncTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutput",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlDbDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},makeSourceDbReadOnly:{serializedName:"makeSourceDbReadOnly",type:{name:"Boolean"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},schemaSetting:{serializedName:"schemaSetting",type:{name:"Dictionary",value:{type:{name:"any"}}}},id:{serializedName:"id",type:{name:"String"}}}}},MigrateSqlServerSqlDbTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutput",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrationValidationResult={type:{name:"Composite",className:"MigrationValidationResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},summaryResults:{serializedName:"summaryResults",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MigrationValidationDatabaseSummaryResult"}}}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},MigrationValidationDatabaseSummaryResult={type:{name:"Composite",className:"MigrationValidationDatabaseSummaryResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},MigrationReportResult={type:{name:"Composite",className:"MigrationReportResult",modelProperties:{id:{serializedName:"id",type:{name:"String"}},reportUrl:{serializedName:"reportUrl",type:{name:"String"}}}}},DataItemMigrationSummaryResult={type:{name:"Composite",className:"DataItemMigrationSummaryResult",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}}}}},MigrationValidationDatabaseLevelResult={type:{name:"Composite",className:"MigrationValidationDatabaseLevelResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},dataIntegrityValidationResult:{serializedName:"dataIntegrityValidationResult",type:{name:"Composite",className:"DataIntegrityValidationResult"}},schemaValidationResult:{serializedName:"schemaValidationResult",type:{name:"Composite",className:"SchemaComparisonValidationResult"}},queryAnalysisValidationResult:{serializedName:"queryAnalysisValidationResult",type:{name:"Composite",className:"QueryAnalysisValidationResult"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},DataIntegrityValidationResult={type:{name:"Composite",className:"DataIntegrityValidationResult",modelProperties:{failedObjects:{serializedName:"failedObjects",type:{name:"Dictionary",value:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}}}}},ValidationError={type:{name:"Composite",className:"ValidationError",modelProperties:{text:{serializedName:"text",type:{name:"String"}},severity:{serializedName:"severity",type:{name:"String"}}}}},SchemaComparisonValidationResult={type:{name:"Composite",className:"SchemaComparisonValidationResult",modelProperties:{schemaDifferences:{serializedName:"schemaDifferences",type:{name:"Composite",className:"SchemaComparisonValidationResultType"}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}},sourceDatabaseObjectCount:{serializedName:"sourceDatabaseObjectCount",type:{name:"Dictionary",value:{type:{name:"Number"}}}},targetDatabaseObjectCount:{serializedName:"targetDatabaseObjectCount",type:{name:"Dictionary",value:{type:{name:"Number"}}}}}}},SchemaComparisonValidationResultType={type:{name:"Composite",className:"SchemaComparisonValidationResultType",modelProperties:{objectName:{serializedName:"objectName",type:{name:"String"}},objectType:{serializedName:"objectType",type:{name:"String"}},updateAction:{serializedName:"updateAction",type:{name:"String"}}}}},QueryAnalysisValidationResult={type:{name:"Composite",className:"QueryAnalysisValidationResult",modelProperties:{queryResults:{serializedName:"queryResults",type:{name:"Composite",className:"QueryExecutionResult"}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}}}}},QueryExecutionResult={type:{name:"Composite",className:"QueryExecutionResult",modelProperties:{queryText:{serializedName:"queryText",type:{name:"String"}},statementsInBatch:{serializedName:"statementsInBatch",type:{name:"Number"}},sourceResult:{serializedName:"sourceResult",type:{name:"Composite",className:"ExecutionStatistics"}},targetResult:{serializedName:"targetResult",type:{name:"Composite",className:"ExecutionStatistics"}}}}},ExecutionStatistics={type:{name:"Composite",className:"ExecutionStatistics",modelProperties:{executionCount:{serializedName:"executionCount",type:{name:"Number"}},cpuTimeMs:{serializedName:"cpuTimeMs",type:{name:"Number"}},elapsedTimeMs:{serializedName:"elapsedTimeMs",type:{name:"Number"}},waitStats:{serializedName:"waitStats",type:{name:"Dictionary",value:{type:{name:"Composite",className:"WaitStatistics"}}}},hasErrors:{serializedName:"hasErrors",type:{name:"Boolean"}},sqlErrors:{serializedName:"sqlErrors",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},WaitStatistics={type:{name:"Composite",className:"WaitStatistics",modelProperties:{waitType:{serializedName:"waitType",type:{name:"String"}},waitTimeMs:{defaultValue:0,serializedName:"waitTimeMs",type:{name:"Number"}},waitCount:{serializedName:"waitCount",type:{name:"Number"}}}}},SqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"SqlServerSqlMISyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},storageResourceId:{serializedName:"storageResourceId",required:!0,type:{name:"String"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo"}},azureApp:{serializedName:"azureApp",type:{name:"Composite",className:"AzureActiveDirectoryApp"}}}}},MigrateSqlServerSqlMIDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},restoreDatabaseName:{serializedName:"restoreDatabaseName",required:!0,type:{name:"String"}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupFilePaths:{serializedName:"backupFilePaths",type:{name:"Sequence",element:{type:{name:"String"}}}},id:{serializedName:"id",type:{name:"String"}}}}},MigrateSqlServerSqlMISyncTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutput",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},BlobShare={type:{name:"Composite",className:"BlobShare",modelProperties:{sasUri:{serializedName:"sasUri",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlMITaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutput",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},SsisMigrationInfo={type:{name:"Composite",className:"SsisMigrationInfo",modelProperties:{ssisStoreType:{serializedName:"ssisStoreType",type:{name:"String"}},projectOverwriteOption:{serializedName:"projectOverwriteOption",type:{name:"String"}},environmentOverwriteOption:{serializedName:"environmentOverwriteOption",type:{name:"String"}}}}},MigrateSsisTaskOutput={type:{name:"Composite",className:"MigrateSsisTaskOutput",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MongoDbCommandInput={type:{name:"Composite",className:"MongoDbCommandInput",modelProperties:{objectName:{serializedName:"objectName",type:{name:"String"}}}}},MongoDbClusterInfo={type:{name:"Composite",className:"MongoDbClusterInfo",modelProperties:{databases:{serializedName:"databases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbDatabaseInfo"}}}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}},type:{serializedName:"type",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}}}}},MongoDbShardKeyInfo={type:{name:"Composite",className:"MongoDbShardKeyInfo",modelProperties:{fields:{serializedName:"fields",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbShardKeyField"}}}},isUnique:{serializedName:"isUnique",required:!0,type:{name:"Boolean"}}}}},MongoDbShardKeyField={type:{name:"Composite",className:"MongoDbShardKeyField",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},order:{serializedName:"order",required:!0,type:{name:"String"}}}}},MongoDbObjectInfo={type:{name:"Composite",className:"MongoDbObjectInfo",modelProperties:{averageDocumentSize:{serializedName:"averageDocumentSize",required:!0,type:{name:"Number"}},dataSize:{serializedName:"dataSize",required:!0,type:{name:"Number"}},documentCount:{serializedName:"documentCount",required:!0,type:{name:"Number"}},name:{serializedName:"name",required:!0,type:{name:"String"}},qualifiedName:{serializedName:"qualifiedName",required:!0,type:{name:"String"}}}}},MongoDbProgress={type:{name:"Composite",className:"MongoDbProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{bytesCopied:{serializedName:"bytesCopied",required:!0,type:{name:"Number"}},documentsCopied:{serializedName:"documentsCopied",required:!0,type:{name:"Number"}},elapsedTime:{serializedName:"elapsedTime",required:!0,type:{name:"String"}},errors:{serializedName:"errors",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbError"}}}},eventsPending:{serializedName:"eventsPending",required:!0,type:{name:"Number"}},eventsReplayed:{serializedName:"eventsReplayed",required:!0,type:{name:"Number"}},lastEventTime:{serializedName:"lastEventTime",type:{name:"DateTime"}},lastReplayTime:{serializedName:"lastReplayTime",type:{name:"DateTime"}},name:{serializedName:"name",type:{name:"String"}},qualifiedName:{serializedName:"qualifiedName",type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}},state:{serializedName:"state",required:!0,type:{name:"String"}},totalBytes:{serializedName:"totalBytes",required:!0,type:{name:"Number"}},totalDocuments:{serializedName:"totalDocuments",required:!0,type:{name:"Number"}}}}},MongoDbError={type:{name:"Composite",className:"MongoDbError",modelProperties:{code:{serializedName:"code",type:{name:"String"}},count:{serializedName:"count",type:{name:"Number"}},message:{serializedName:"message",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},MongoDbCollectionSettings={type:{name:"Composite",className:"MongoDbCollectionSettings",modelProperties:{canDelete:{serializedName:"canDelete",type:{name:"Boolean"}},shardKey:{serializedName:"shardKey",type:{name:"Composite",className:"MongoDbShardKeySetting"}},targetRUs:{serializedName:"targetRUs",type:{name:"Number"}}}}},MongoDbShardKeySetting={type:{name:"Composite",className:"MongoDbShardKeySetting",modelProperties:{fields:{serializedName:"fields",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbShardKeyField"}}}},isUnique:{serializedName:"isUnique",required:!0,type:{name:"Boolean"}}}}},MongoDbDatabaseSettings={type:{name:"Composite",className:"MongoDbDatabaseSettings",modelProperties:{collections:{serializedName:"collections",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbCollectionSettings"}}}},targetRUs:{serializedName:"targetRUs",type:{name:"Number"}}}}},MongoDbMigrationSettings={type:{name:"Composite",className:"MongoDbMigrationSettings",modelProperties:{boostRUs:{serializedName:"boostRUs",type:{name:"Number"}},databases:{serializedName:"databases",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbDatabaseSettings"}}}},replication:{serializedName:"replication",type:{name:"String"}},source:{serializedName:"source",type:{name:"Composite",className:"MongoDbConnectionInfo"}},target:{serializedName:"target",type:{name:"Composite",className:"MongoDbConnectionInfo"}},throttling:{serializedName:"throttling",type:{name:"Composite",className:"MongoDbThrottlingSettings"}}}}},MongoDbThrottlingSettings={type:{name:"Composite",className:"MongoDbThrottlingSettings",modelProperties:{minFreeCpu:{serializedName:"minFreeCpu",type:{name:"Number"}},minFreeMemoryMb:{serializedName:"minFreeMemoryMb",type:{name:"Number"}},maxParallelism:{serializedName:"maxParallelism",type:{name:"Number"}}}}},ConnectToSourceOracleSyncTaskInput={type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}}}}},ConnectToSourceOracleSyncTaskOutput={type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskOutput",modelProperties:{sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput",modelProperties:{targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},databaseSchemaMap:{serializedName:"databaseSchemaMap",type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem"}}}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem",modelProperties:{database:{serializedName:"database",type:{name:"String"}},schemas:{serializedName:"schemas",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesOracleTaskInput={type:{name:"Composite",className:"GetUserTablesOracleTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}},selectedSchemas:{serializedName:"selectedSchemas",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesOracleTaskOutput={type:{name:"Composite",className:"GetUserTablesOracleTaskOutput",modelProperties:{schemaName:{serializedName:"schemaName",readOnly:!0,type:{name:"String"}},tables:{serializedName:"tables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseTable"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesPostgreSqlTaskInput={type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesPostgreSqlTaskOutput={type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskOutput",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},tables:{serializedName:"tables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseTable"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ValidateOracleAzureDbPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ValidateOracleAzureDbPostgreSqlSyncTaskOutput",modelProperties:{validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},MigrateOracleAzureDbPostgreSqlSyncTaskInput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncDatabaseInput"}}}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}}}}},MigrateOracleAzureDbPostgreSqlSyncDatabaseInput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncDatabaseInput",modelProperties:{caseManipulation:{serializedName:"caseManipulation",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},schemaName:{serializedName:"schemaName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateOracleAzureDbPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},OracleOCIDriverInfo={type:{name:"Composite",className:"OracleOCIDriverInfo",modelProperties:{driverName:{serializedName:"driverName",readOnly:!0,type:{name:"String"}},driverSize:{serializedName:"driverSize",readOnly:!0,type:{name:"String"}},archiveChecksum:{serializedName:"archiveChecksum",readOnly:!0,type:{name:"String"}},oracleChecksum:{serializedName:"oracleChecksum",readOnly:!0,type:{name:"String"}},assemblyVersion:{serializedName:"assemblyVersion",readOnly:!0,type:{name:"String"}},supportedOracleVersions:{serializedName:"supportedOracleVersions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},CheckOCIDriverTaskInput={type:{name:"Composite",className:"CheckOCIDriverTaskInput",modelProperties:{serverVersion:{serializedName:"serverVersion",type:{name:"String"}}}}},CheckOCIDriverTaskOutput={type:{name:"Composite",className:"CheckOCIDriverTaskOutput",modelProperties:{installedDriver:{serializedName:"installedDriver",type:{name:"Composite",className:"OracleOCIDriverInfo"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},UploadOCIDriverTaskInput={type:{name:"Composite",className:"UploadOCIDriverTaskInput",modelProperties:{driverShare:{serializedName:"driverShare",type:{name:"Composite",className:"FileShare"}}}}},UploadOCIDriverTaskOutput={type:{name:"Composite",className:"UploadOCIDriverTaskOutput",modelProperties:{driverPackageName:{serializedName:"driverPackageName",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},InstallOCIDriverTaskInput={type:{name:"Composite",className:"InstallOCIDriverTaskInput",modelProperties:{driverPackageName:{serializedName:"driverPackageName",type:{name:"String"}}}}},InstallOCIDriverTaskOutput={type:{name:"Composite",className:"InstallOCIDriverTaskOutput",modelProperties:{validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ServiceOperation={type:{name:"Composite",className:"ServiceOperation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"ServiceOperationDisplay"}}}}},ServiceOperationDisplay={type:{name:"Composite",className:"ServiceOperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},ServiceOperationList={type:{name:"Composite",className:"ServiceOperationList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceOperation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ConnectToSourceNonSqlTaskOutput={type:{name:"Composite",className:"ConnectToSourceNonSqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},serverProperties:{serializedName:"serverProperties",type:{name:"Composite",className:"ServerProperties"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ServerProperties={type:{name:"Composite",className:"ServerProperties",modelProperties:{serverPlatform:{serializedName:"serverPlatform",readOnly:!0,type:{name:"String"}},serverName:{serializedName:"serverName",readOnly:!0,type:{name:"String"}},serverVersion:{serializedName:"serverVersion",readOnly:!0,type:{name:"String"}},serverEdition:{serializedName:"serverEdition",readOnly:!0,type:{name:"String"}},serverOperatingSystemVersion:{serializedName:"serverOperatingSystemVersion",readOnly:!0,type:{name:"String"}},serverDatabaseCount:{serializedName:"serverDatabaseCount",readOnly:!0,type:{name:"Number"}}}}},MigrateMySqlAzureDbForMySqlOfflineTaskInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineDatabaseInput"}}}},makeSourceServerReadOnly:{defaultValue:!1,serializedName:"makeSourceServerReadOnly",type:{name:"Boolean"}},startedOn:{serializedName:"startedOn",type:{name:"DateTime"}},optionalAgentSettings:{serializedName:"optionalAgentSettings",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlOfflineDatabaseInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlOfflineTaskOutput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},ValidateSyncMigrationInputSqlServerTaskInput={type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput"}}}}}}},ValidateSyncMigrationInputSqlServerTaskOutput={type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ValidateMigrationInputSqlServerSqlMITaskInput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},selectedLogins:{serializedName:"selectedLogins",type:{name:"Sequence",element:{type:{name:"String"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupBlobShare:{serializedName:"backupBlobShare",type:{name:"Composite",className:"BlobShare"}},backupMode:{serializedName:"backupMode",type:{name:"String"}}}}},ValidateMigrationInputSqlServerSqlMITaskOutput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},restoreDatabaseNameErrors:{serializedName:"restoreDatabaseNameErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupFolderErrors:{serializedName:"backupFolderErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupShareCredentialsErrors:{serializedName:"backupShareCredentialsErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupStorageAccountErrors:{serializedName:"backupStorageAccountErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},existingBackupErrors:{serializedName:"existingBackupErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},databaseBackupInfo:{serializedName:"databaseBackupInfo",type:{name:"Composite",className:"DatabaseBackupInfo"}}}}},DatabaseBackupInfo={type:{name:"Composite",className:"DatabaseBackupInfo",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},backupType:{serializedName:"backupType",readOnly:!0,type:{name:"String"}},backupFiles:{serializedName:"backupFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},position:{serializedName:"position",readOnly:!0,type:{name:"Number"}},isDamaged:{serializedName:"isDamaged",readOnly:!0,type:{name:"Boolean"}},isCompressed:{serializedName:"isCompressed",readOnly:!0,type:{name:"Boolean"}},familyCount:{serializedName:"familyCount",readOnly:!0,type:{name:"Number"}},backupFinishDate:{serializedName:"backupFinishDate",readOnly:!0,type:{name:"DateTime"}}}}},ValidateMigrationInputSqlServerSqlMISyncTaskOutput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},Database={type:{name:"Composite",className:"Database",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},compatibilityLevel:{serializedName:"compatibilityLevel",type:{name:"String"}},collation:{serializedName:"collation",type:{name:"String"}},serverName:{serializedName:"serverName",type:{name:"String"}},fqdn:{serializedName:"fqdn",type:{name:"String"}},installId:{serializedName:"installId",type:{name:"String"}},serverVersion:{serializedName:"serverVersion",type:{name:"String"}},serverEdition:{serializedName:"serverEdition",type:{name:"String"}},serverLevel:{serializedName:"serverLevel",type:{name:"String"}},serverDefaultDataPath:{serializedName:"serverDefaultDataPath",type:{name:"String"}},serverDefaultLogPath:{serializedName:"serverDefaultLogPath",type:{name:"String"}},serverDefaultBackupPath:{serializedName:"serverDefaultBackupPath",type:{name:"String"}},serverCoreCount:{serializedName:"serverCoreCount",type:{name:"Number"}},serverVisibleOnlineCoreCount:{serializedName:"serverVisibleOnlineCoreCount",type:{name:"Number"}},databaseState:{serializedName:"databaseState",type:{name:"String"}},serverId:{serializedName:"serverId",type:{name:"String"}}}}},DatabaseObjectName={type:{name:"Composite",className:"DatabaseObjectName",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},schemaName:{serializedName:"schemaName",readOnly:!0,type:{name:"String"}},objectType:{serializedName:"objectType",type:{name:"String"}}}}},DataMigrationProjectMetadata={type:{name:"Composite",className:"DataMigrationProjectMetadata",modelProperties:{sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},sourceServerPort:{serializedName:"sourceServerPort",readOnly:!0,type:{name:"String"}},sourceUsername:{serializedName:"sourceUsername",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}},targetUsername:{serializedName:"targetUsername",readOnly:!0,type:{name:"String"}},targetDbName:{serializedName:"targetDbName",readOnly:!0,type:{name:"String"}},targetUsingWinAuth:{serializedName:"targetUsingWinAuth",readOnly:!0,type:{name:"Boolean"}},selectedMigrationTables:{serializedName:"selectedMigrationTables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrationTableMetadata"}}}}}}},MigrationTableMetadata={type:{name:"Composite",className:"MigrationTableMetadata",modelProperties:{sourceTableName:{serializedName:"sourceTableName",readOnly:!0,type:{name:"String"}},targetTableName:{serializedName:"targetTableName",readOnly:!0,type:{name:"String"}}}}},GetProjectDetailsNonSqlTaskInput={type:{name:"Composite",className:"GetProjectDetailsNonSqlTaskInput",modelProperties:{projectName:{serializedName:"projectName",required:!0,type:{name:"String"}},projectLocation:{serializedName:"projectLocation",required:!0,type:{name:"String"}}}}},NonSqlMigrationTaskInput={type:{name:"Composite",className:"NonSqlMigrationTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetDatabaseName:{serializedName:"targetDatabaseName",required:!0,type:{name:"String"}},projectName:{serializedName:"projectName",required:!0,type:{name:"String"}},projectLocation:{serializedName:"projectLocation",required:!0,type:{name:"String"}},selectedTables:{serializedName:"selectedTables",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NonSqlDataMigrationTable"}}}}}}},NonSqlDataMigrationTable={type:{name:"Composite",className:"NonSqlDataMigrationTable",modelProperties:{sourceName:{serializedName:"sourceName",type:{name:"String"}}}}},NonSqlMigrationTaskOutput={type:{name:"Composite",className:"NonSqlMigrationTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},dataMigrationTableResults:{serializedName:"dataMigrationTableResults",readOnly:!0,type:{name:"String"}},progressMessage:{serializedName:"progressMessage",readOnly:!0,type:{name:"String"}},sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}}}}},NonSqlDataMigrationTableResult={type:{name:"Composite",className:"NonSqlDataMigrationTableResult",modelProperties:{resultCode:{serializedName:"resultCode",readOnly:!0,type:{name:"String"}},sourceName:{serializedName:"sourceName",readOnly:!0,type:{name:"String"}},targetName:{serializedName:"targetName",readOnly:!0,type:{name:"String"}},sourceRowCount:{serializedName:"sourceRowCount",readOnly:!0,type:{name:"Number"}},targetRowCount:{serializedName:"targetRowCount",readOnly:!0,type:{name:"Number"}},elapsedTimeInMiliseconds:{serializedName:"elapsedTimeInMiliseconds",readOnly:!0,type:{name:"Number"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DataMigrationError"}}}}}}},DataMigrationError={type:{name:"Composite",className:"DataMigrationError",modelProperties:{message:{serializedName:"message",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},MigrateSqlServerDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},restoreDatabaseName:{serializedName:"restoreDatabaseName",type:{name:"String"}},backupAndRestoreFolder:{serializedName:"backupAndRestoreFolder",type:{name:"String"}},databaseFiles:{serializedName:"databaseFiles",type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseFileInput"}}}}}}},DatabaseFileInput={type:{name:"Composite",className:"DatabaseFileInput",modelProperties:{id:{serializedName:"id",type:{name:"String"}},logicalName:{serializedName:"logicalName",type:{name:"String"}},physicalFullName:{serializedName:"physicalFullName",type:{name:"String"}},restoreFullName:{serializedName:"restoreFullName",type:{name:"String"}},fileType:{serializedName:"fileType",type:{name:"String"}}}}},StartMigrationScenarioServerRoleResult={type:{name:"Composite",className:"StartMigrationScenarioServerRoleResult",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},DatabaseMigrationPropertiesSqlMi={serializedName:"SqlMi",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlMi",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:DatabaseMigrationProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},DatabaseMigrationProperties.type.modelProperties),{migrationStatusDetails:{serializedName:"migrationStatusDetails",type:{name:"Composite",className:"MigrationStatusDetails"}},targetDatabaseCollation:{serializedName:"targetDatabaseCollation",type:{name:"String"}},provisioningError:{serializedName:"provisioningError",type:{name:"String"}},backupConfiguration:{serializedName:"backupConfiguration",type:{name:"Composite",className:"BackupConfiguration"}},offlineConfiguration:{serializedName:"offlineConfiguration",type:{name:"Composite",className:"OfflineConfiguration"}}})}},DatabaseMigrationPropertiesSqlVm={serializedName:"SqlVm",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlVm",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:DatabaseMigrationProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},DatabaseMigrationProperties.type.modelProperties),{migrationStatusDetails:{serializedName:"migrationStatusDetails",type:{name:"Composite",className:"MigrationStatusDetails"}},targetDatabaseCollation:{serializedName:"targetDatabaseCollation",type:{name:"String"}},provisioningError:{serializedName:"provisioningError",type:{name:"String"}},backupConfiguration:{serializedName:"backupConfiguration",type:{name:"Composite",className:"BackupConfiguration"}},offlineConfiguration:{serializedName:"offlineConfiguration",type:{name:"Composite",className:"OfflineConfiguration"}}})}},DatabaseMigrationSqlMi={type:{name:"Composite",className:"DatabaseMigrationSqlMi",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlMi"}}})}},DatabaseMigrationSqlVm={type:{name:"Composite",className:"DatabaseMigrationSqlVm",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlVm"}}})}},DatabaseMigration={type:{name:"Composite",className:"DatabaseMigration",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationProperties"}}})}},SqlMigrationService={type:{name:"Composite",className:"SqlMigrationService",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},integrationRuntimeState:{serializedName:"properties.integrationRuntimeState",readOnly:!0,type:{name:"String"}}})}},DataMigrationService={type:{name:"Composite",className:"DataMigrationService",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},kind:{serializedName:"kind",type:{name:"String"}},sku:{serializedName:"sku",type:{name:"Composite",className:"ServiceSku"}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},publicKey:{serializedName:"properties.publicKey",type:{name:"String"}},virtualSubnetId:{serializedName:"properties.virtualSubnetId",type:{name:"String"}},virtualNicId:{serializedName:"properties.virtualNicId",type:{name:"String"}},autoStopDelay:{serializedName:"properties.autoStopDelay",type:{name:"String"}},deleteResourcesOnStop:{serializedName:"properties.deleteResourcesOnStop",type:{name:"Boolean"}}})}},Project={type:{name:"Composite",className:"Project",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{eTag:{serializedName:"eTag",type:{name:"String"}},sourcePlatform:{serializedName:"properties.sourcePlatform",type:{name:"String"}},azureAuthenticationInfo:{serializedName:"properties.azureAuthenticationInfo",type:{name:"String"}},targetPlatform:{serializedName:"properties.targetPlatform",type:{name:"String"}},creationTime:{serializedName:"properties.creationTime",readOnly:!0,type:{name:"DateTime"}},sourceConnectionInfo:{serializedName:"properties.sourceConnectionInfo",type:{name:"Composite",className:"ConnectionInfo"}},targetConnectionInfo:{serializedName:"properties.targetConnectionInfo",type:{name:"Composite",className:"ConnectionInfo"}},databasesInfo:{serializedName:"properties.databasesInfo",type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseInfo"}}}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskProperties={serializedName:"MigrateSchemaSqlServerSqlDb",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutput"}}}},createdOn:{serializedName:"createdOn",type:{name:"String"}},taskId:{serializedName:"taskId",type:{name:"String"}}})}},CheckOCIDriverTaskProperties={serializedName:"Service.Check.OCI",type:{name:"Composite",className:"CheckOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"CheckOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"CheckOCIDriverTaskOutput"}}}}})}},UploadOCIDriverTaskProperties={serializedName:"Service.Upload.OCI",type:{name:"Composite",className:"UploadOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"UploadOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"UploadOCIDriverTaskOutput"}}}}})}},InstallOCIDriverTaskProperties={serializedName:"Service.Install.OCI",type:{name:"Composite",className:"InstallOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"InstallOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"InstallOCIDriverTaskOutput"}}}}})}},ConnectToMongoDbTaskProperties={serializedName:"Connect.MongoDb",type:{name:"Composite",className:"ConnectToMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbConnectionInfo"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbClusterInfo"}}}}})}},ConnectToSourceSqlServerTaskProperties={serializedName:"ConnectToSource.SqlServer",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput"}}}}})}},ConnectToSourceSqlServerSyncTaskProperties={serializedName:"ConnectToSource.SqlServer.Sync",type:{name:"Composite",className:"ConnectToSourceSqlServerSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput"}}}}})}},ConnectToSourcePostgreSqlSyncTaskProperties={serializedName:"ConnectToSource.PostgreSql.Sync",type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskOutput"}}}}})}},ConnectToSourceMySqlTaskProperties={serializedName:"ConnectToSource.MySql",type:{name:"Composite",className:"ConnectToSourceMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceNonSqlTaskOutput"}}}}})}},ConnectToSourceOracleSyncTaskProperties={serializedName:"ConnectToSource.Oracle.Sync",type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskOutput"}}}}})}},ConnectToTargetSqlDbTaskProperties={serializedName:"ConnectToTarget.SqlDb",type:{name:"Composite",className:"ConnectToTargetSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput"}}}}})}},ConnectToTargetSqlDbSyncTaskProperties={serializedName:"ConnectToTarget.SqlDb.Sync",type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput"}}}}})}},ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties={serializedName:"ConnectToTarget.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput"}}}}})}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput"}}}}})}},GetUserTablesSqlTaskProperties={serializedName:"GetUserTables.Sql",type:{name:"Composite",className:"GetUserTablesSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesSqlTaskOutput"}}}}})}},GetUserTablesSqlSyncTaskProperties={serializedName:"GetUserTables.AzureSqlDb.Sync",type:{name:"Composite",className:"GetUserTablesSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesSqlSyncTaskOutput"}}}}})}},GetUserTablesOracleTaskProperties={serializedName:"GetUserTablesOracle",type:{name:"Composite",className:"GetUserTablesOracleTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesOracleTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesOracleTaskOutput"}}}}})}},GetUserTablesPostgreSqlTaskProperties={serializedName:"GetUserTablesPostgreSql",type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskOutput"}}}}})}},GetUserTablesMySqlTaskProperties={serializedName:"GetUserTablesMySql",type:{name:"Composite",className:"GetUserTablesMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesMySqlTaskOutput"}}}}})}},ConnectToTargetSqlMITaskProperties={serializedName:"ConnectToTarget.AzureSqlDbMI",type:{name:"Composite",className:"ConnectToTargetSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlMITaskOutput"}}}}})}},ConnectToTargetSqlMISyncTaskProperties={serializedName:"ConnectToTarget.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskOutput"}}}}})}},ConnectToTargetAzureDbForMySqlTaskProperties={serializedName:"ConnectToTarget.AzureDbForMySql",type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskOutput"}}}}})}},MigrateMongoDbTaskProperties={serializedName:"Migrate.MongoDb",type:{name:"Composite",className:"MigrateMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbMigrationSettings"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbProgress"}}}}})}},MigrateSqlServerSqlMITaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDbMI",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}}})}},MigrateSqlServerSqlMISyncTaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutput"}}}}})}},MigrateSqlServerSqlDbTaskProperties={serializedName:"Migrate.SqlServer.SqlDb",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}},isCloneable:{serializedName:"isCloneable",type:{name:"Boolean"}}})}},MigrateSqlServerSqlDbSyncTaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDb.Sync",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutput"}}}}})}},MigrateMySqlAzureDbForMySqlSyncTaskProperties={serializedName:"Migrate.MySql.AzureDbForMySql.Sync",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutput"}}}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskProperties={serializedName:"Migrate.MySql.AzureDbForMySql",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}},createdOn:{serializedName:"createdOn",type:{name:"String"}}})}},MigrateOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Migrate.Oracle.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"MigrateOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlDbSyncTaskProperties={serializedName:"ValidateMigrationInput.SqlServer.SqlDb.Sync",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlMITaskProperties={serializedName:"ValidateMigrationInput.SqlServer.AzureSqlDbMI",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlMISyncTaskProperties={serializedName:"ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskOutput"}}}}})}},ValidateMongoDbTaskProperties={serializedName:"Validate.MongoDb",type:{name:"Composite",className:"ValidateMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbMigrationSettings"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbMigrationProgress"}}}}})}},ValidateOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Validate.Oracle.AzureDbPostgreSql.Sync",type:{name:"Composite",className:"ValidateOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateOracleAzureDbPostgreSqlSyncTaskOutput"}}}}})}},GetTdeCertificatesSqlTaskProperties={serializedName:"GetTDECertificates.Sql",type:{name:"Composite",className:"GetTdeCertificatesSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetTdeCertificatesSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetTdeCertificatesSqlTaskOutput"}}}}})}},MigrateSsisTaskProperties={serializedName:"Migrate.Ssis",type:{name:"Composite",className:"MigrateSsisTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSsisTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSsisTaskOutput"}}}}})}},MigrateSyncCompleteCommandProperties={serializedName:"Migrate.Sync.Complete.Database",type:{name:"Composite",className:"MigrateSyncCompleteCommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSyncCompleteCommandInput"}},output:{serializedName:"output",type:{name:"Composite",className:"MigrateSyncCompleteCommandOutput"}}})}},MigrateMISyncCompleteCommandProperties={serializedName:"Migrate.SqlServer.AzureDbSqlMi.Complete",type:{name:"Composite",className:"MigrateMISyncCompleteCommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMISyncCompleteCommandInput"}},output:{serializedName:"output",type:{name:"Composite",className:"MigrateMISyncCompleteCommandOutput"}}})}},MongoDbCancelCommand={serializedName:"cancel",type:{name:"Composite",className:"MongoDbCancelCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbCommandInput"}}})}},MongoDbFinishCommand={serializedName:"finish",type:{name:"Composite",className:"MongoDbFinishCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbFinishCommandInput"}}})}},MongoDbRestartCommand={serializedName:"restart",type:{name:"Composite",className:"MongoDbRestartCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbCommandInput"}}})}},ProjectTask={type:{name:"Composite",className:"ProjectTask",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ProjectTaskProperties"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}})}},ProjectFile={type:{name:"Composite",className:"ProjectFile",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ProjectFileProperties"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}})}},MongoDbConnectionInfo={serializedName:"MongoDbConnectionInfo",type:{name:"Composite",className:"MongoDbConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{connectionString:{serializedName:"connectionString",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},encryptConnection:{serializedName:"encryptConnection",type:{name:"Boolean"}},serverBrandVersion:{serializedName:"serverBrandVersion",type:{name:"String"}},enforceSSL:{serializedName:"enforceSSL",type:{name:"Boolean"}},port:{serializedName:"port",type:{name:"Number"}},additionalSettings:{serializedName:"additionalSettings",type:{name:"String"}}})}},SqlConnectionInfo={serializedName:"SqlConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{dataSource:{serializedName:"dataSource",required:!0,type:{name:"String"}},serverName:{serializedName:"serverName",type:{name:"String"}},port:{serializedName:"port",type:{name:"String"}},resourceId:{serializedName:"resourceId",type:{name:"String"}},authentication:{serializedName:"authentication",type:{name:"String"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}},additionalSettings:{serializedName:"additionalSettings",type:{name:"String"}},trustServerCertificate:{defaultValue:!1,serializedName:"trustServerCertificate",type:{name:"Boolean"}},platform:{serializedName:"platform",type:{name:"String"}}})}},MySqlConnectionInfo={serializedName:"MySqlConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{serverName:{serializedName:"serverName",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"Number"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}}})}},OracleConnectionInfo={serializedName:"OracleConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{dataSource:{serializedName:"dataSource",required:!0,type:{name:"String"}}})}},PostgreSqlConnectionInfo={serializedName:"PostgreSqlConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{serverName:{serializedName:"serverName",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},serverVersion:{serializedName:"serverVersion",type:{name:"String"}},databaseName:{serializedName:"databaseName",type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"Number"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}},trustServerCertificate:{defaultValue:!1,serializedName:"trustServerCertificate",type:{name:"Boolean"}}})}},MiSqlConnectionInfo={serializedName:"MiSqlConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{managedInstanceResourceId:{serializedName:"managedInstanceResourceId",required:!0,type:{name:"String"}}})}},ConnectToSourceSqlServerTaskOutputTaskLevel={serializedName:"TaskLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputTaskLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"String"}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"String"}},databaseTdeCertificateMapping:{serializedName:"databaseTdeCertificateMapping",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},ConnectToSourceSqlServerTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputDatabaseLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}},databaseFiles:{serializedName:"databaseFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseFileInfo"}}}},compatibilityLevel:{serializedName:"compatibilityLevel",readOnly:!0,type:{name:"String"}},databaseState:{serializedName:"databaseState",readOnly:!0,type:{name:"String"}}})}},ConnectToSourceSqlServerTaskOutputLoginLevel={serializedName:"LoginLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputLoginLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},loginType:{serializedName:"loginType",readOnly:!0,type:{name:"String"}},defaultDatabase:{serializedName:"defaultDatabase",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},migrationEligibility:{serializedName:"migrationEligibility",type:{name:"Composite",className:"MigrationEligibilityInfo"}}})}},ConnectToSourceSqlServerTaskOutputAgentJobLevel={serializedName:"AgentJobLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputAgentJobLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},jobCategory:{serializedName:"jobCategory",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},jobOwner:{serializedName:"jobOwner",readOnly:!0,type:{name:"String"}},lastExecutedOn:{serializedName:"lastExecutedOn",readOnly:!0,type:{name:"DateTime"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},migrationEligibility:{serializedName:"migrationEligibility",type:{name:"Composite",className:"MigrationEligibilityInfo"}}})}},MigrateSchemaSqlServerSqlDbTaskInput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbDatabaseInput"}}}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}},startedOn:{serializedName:"startedOn",type:{name:"String"}}})}},MigrateSqlServerSqlDbSyncTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput"}}}},validationOptions:{serializedName:"validationOptions",type:{name:"Composite",className:"MigrationValidationOptions"}}})}},MigrateSqlServerSqlDbTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbDatabaseInput"}}}},validationOptions:{serializedName:"validationOptions",type:{name:"Composite",className:"MigrationValidationOptions"}},startedOn:{serializedName:"startedOn",type:{name:"String"}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}}})}},MigrateSqlServerSqlMITaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlMITaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},startedOn:{serializedName:"startedOn",type:{name:"String"}},selectedLogins:{serializedName:"selectedLogins",type:{name:"Sequence",element:{type:{name:"String"}}}},selectedAgentJobs:{serializedName:"selectedAgentJobs",type:{name:"Sequence",element:{type:{name:"String"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupBlobShare:{serializedName:"backupBlobShare",type:{name:"Composite",className:"BlobShare"}},backupMode:{serializedName:"backupMode",type:{name:"String"}},aadDomainName:{serializedName:"aadDomainName",type:{name:"String"}}})}},MigrateSsisTaskInput={type:{name:"Composite",className:"MigrateSsisTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{ssisMigrationInfo:{serializedName:"ssisMigrationInfo",type:{name:"Composite",className:"SsisMigrationInfo"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},databaseErrorResultPrefix:{serializedName:"databaseErrorResultPrefix",readOnly:!0,type:{name:"String"}},schemaErrorResultPrefix:{serializedName:"schemaErrorResultPrefix",readOnly:!0,type:{name:"String"}},numberOfSuccessfulOperations:{serializedName:"numberOfSuccessfulOperations",readOnly:!0,type:{name:"Number"}},numberOfFailedOperations:{serializedName:"numberOfFailedOperations",readOnly:!0,type:{name:"Number"}},fileId:{serializedName:"fileId",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputError={serializedName:"SchemaErrorOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputError",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{commandText:{serializedName:"commandText",readOnly:!0,type:{name:"String"}},errorText:{serializedName:"errorText",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSchemaSqlTaskOutputError",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"String"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"String"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"String"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputError",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}},sourceServerType:{serializedName:"sourceServerType",readOnly:!0,type:{name:"String"}},targetServerType:{serializedName:"targetServerType",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},databaseCount:{serializedName:"databaseCount",type:{name:"Number"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}},databaseCount:{serializedName:"databaseCount",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlDbSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputTableLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateSqlServerSqlDbSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputError",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlDbSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputDatabaseError",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateSqlServerSqlDbTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},durationInSeconds:{serializedName:"durationInSeconds",readOnly:!0,type:{name:"Number"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},databaseSummary:{serializedName:"databaseSummary",readOnly:!0,type:{name:"String"}},migrationValidationResult:{serializedName:"migrationValidationResult",type:{name:"Composite",className:"MigrationValidationResult"}},migrationReportResult:{serializedName:"migrationReportResult",type:{name:"Composite",className:"MigrationReportResult"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlDbTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},numberOfObjects:{serializedName:"numberOfObjects",readOnly:!0,type:{name:"Number"}},numberOfObjectsCompleted:{serializedName:"numberOfObjectsCompleted",readOnly:!0,type:{name:"Number"}},errorCount:{serializedName:"errorCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},objectSummary:{serializedName:"objectSummary",readOnly:!0,type:{name:"String"}}})}},MigrateSqlServerSqlDbTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputTableLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}}})}},MigrateSqlServerSqlDbTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputError",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlDbTaskOutputValidationResult={serializedName:"MigrationValidationOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputValidationResult",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),MigrationValidationResult.type.modelProperties)}},MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult={serializedName:"MigrationDatabaseLevelValidationOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),MigrationValidationDatabaseLevelResult.type.modelProperties)}},DatabaseSummaryResult={type:{name:"Composite",className:"DatabaseSummaryResult",modelProperties:Object.assign(Object.assign({},DataItemMigrationSummaryResult.type.modelProperties),{sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskInput",modelProperties:Object.assign({},SqlServerSqlMISyncTaskInput.type.modelProperties)}},ValidateMigrationInputSqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskInput",modelProperties:Object.assign({},SqlServerSqlMISyncTaskInput.type.modelProperties)}},MigrateSqlServerSqlMISyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{databaseCount:{serializedName:"databaseCount",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},databaseErrorCount:{serializedName:"databaseErrorCount",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},fullBackupSetInfo:{serializedName:"fullBackupSetInfo",type:{name:"Composite",className:"BackupSetInfo"}},lastRestoredBackupSetInfo:{serializedName:"lastRestoredBackupSetInfo",type:{name:"Composite",className:"BackupSetInfo"}},activeBackupSets:{serializedName:"activeBackupSets",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"BackupSetInfo"}}}},containerName:{serializedName:"containerName",readOnly:!0,type:{name:"String"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},isFullBackupRestored:{serializedName:"isFullBackupRestored",readOnly:!0,type:{name:"Boolean"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMISyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputError",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlMITaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},serverRoleResults:{serializedName:"serverRoleResults",readOnly:!0,type:{name:"String"}},orphanedUsersInfo:{serializedName:"orphanedUsersInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"OrphanedUserInfo"}}}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputAgentJobLevel={serializedName:"AgentJobLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputAgentJobLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputLoginLevel={serializedName:"LoginLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputLoginLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{loginName:{serializedName:"loginName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputError",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSsisTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSsisTaskOutputMigrationLevel",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:MigrateSsisTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSsisTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}}})}},MigrateSsisTaskOutputProjectLevel={serializedName:"SsisProjectLevelOutput",type:{name:"Composite",className:"MigrateSsisTaskOutputProjectLevel",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:MigrateSsisTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSsisTaskOutput.type.modelProperties),{folderName:{serializedName:"folderName",readOnly:!0,type:{name:"String"}},projectName:{serializedName:"projectName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MongoDbFinishCommandInput={type:{name:"Composite",className:"MongoDbFinishCommandInput",modelProperties:Object.assign(Object.assign({},MongoDbCommandInput.type.modelProperties),{immediate:{serializedName:"immediate",required:!0,type:{name:"Boolean"}}})}},MongoDbCollectionInfo={type:{name:"Composite",className:"MongoDbCollectionInfo",modelProperties:Object.assign(Object.assign({},MongoDbObjectInfo.type.modelProperties),{databaseName:{serializedName:"databaseName",required:!0,type:{name:"String"}},isCapped:{serializedName:"isCapped",required:!0,type:{name:"Boolean"}},isSystemCollection:{serializedName:"isSystemCollection",required:!0,type:{name:"Boolean"}},isView:{serializedName:"isView",required:!0,type:{name:"Boolean"}},shardKey:{serializedName:"shardKey",type:{name:"Composite",className:"MongoDbShardKeyInfo"}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}},viewOf:{serializedName:"viewOf",type:{name:"String"}}})}},MongoDbDatabaseInfo={type:{name:"Composite",className:"MongoDbDatabaseInfo",modelProperties:Object.assign(Object.assign({},MongoDbObjectInfo.type.modelProperties),{collections:{serializedName:"collections",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbCollectionInfo"}}}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}}})}},MongoDbCollectionProgress={serializedName:"Collection",type:{name:"Composite",className:"MongoDbCollectionProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign({},MongoDbProgress.type.modelProperties)}},MongoDbDatabaseProgress={serializedName:"Database",type:{name:"Composite",className:"MongoDbDatabaseProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MongoDbProgress.type.modelProperties),{collections:{serializedName:"collections",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbCollectionProgress"}}}}})}},MongoDbMigrationProgress={serializedName:"Migration",type:{name:"Composite",className:"MongoDbMigrationProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MongoDbProgress.type.modelProperties),{databases:{serializedName:"databases",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbDatabaseProgress"}}}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputError",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},durationInSeconds:{serializedName:"durationInSeconds",readOnly:!0,type:{name:"Number"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",type:{name:"String"}},databaseSummary:{serializedName:"databaseSummary",readOnly:!0,type:{name:"String"}},migrationReportResult:{serializedName:"migrationReportResult",type:{name:"Composite",className:"MigrationReportResult"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},numberOfObjects:{serializedName:"numberOfObjects",readOnly:!0,type:{name:"Number"}},numberOfObjectsCompleted:{serializedName:"numberOfObjectsCompleted",readOnly:!0,type:{name:"Number"}},errorCount:{serializedName:"errorCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}},objectSummary:{serializedName:"objectSummary",readOnly:!0,type:{name:"String"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputError",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}};let discriminators={DatabaseMigrationProperties:DatabaseMigrationProperties,ProjectTaskProperties:ProjectTaskProperties,CommandProperties:CommandProperties,ConnectionInfo:ConnectionInfo,ConnectToSourceSqlServerTaskOutput:ConnectToSourceSqlServerTaskOutput,MigrateSchemaSqlServerSqlDbTaskOutput:MigrateSchemaSqlServerSqlDbTaskOutput,MigrateMySqlAzureDbForMySqlSyncTaskOutput:MigrateMySqlAzureDbForMySqlSyncTaskOutput,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput,MigrateSqlServerSqlDbSyncTaskOutput:MigrateSqlServerSqlDbSyncTaskOutput,MigrateSqlServerSqlDbTaskOutput:MigrateSqlServerSqlDbTaskOutput,MigrateSqlServerSqlMISyncTaskOutput:MigrateSqlServerSqlMISyncTaskOutput,MigrateSqlServerSqlMITaskOutput:MigrateSqlServerSqlMITaskOutput,MigrateSsisTaskOutput:MigrateSsisTaskOutput,MongoDbProgress:MongoDbProgress,MigrateOracleAzureDbPostgreSqlSyncTaskOutput:MigrateOracleAzureDbPostgreSqlSyncTaskOutput,MigrateMySqlAzureDbForMySqlOfflineTaskOutput:MigrateMySqlAzureDbForMySqlOfflineTaskOutput,"DatabaseMigrationProperties.SqlMi":DatabaseMigrationPropertiesSqlMi,"DatabaseMigrationProperties.SqlVm":DatabaseMigrationPropertiesSqlVm,"ProjectTaskProperties.MigrateSchemaSqlServerSqlDb":MigrateSchemaSqlServerSqlDbTaskProperties,"ProjectTaskProperties.Service.Check.OCI":CheckOCIDriverTaskProperties,"ProjectTaskProperties.Service.Upload.OCI":UploadOCIDriverTaskProperties,"ProjectTaskProperties.Service.Install.OCI":InstallOCIDriverTaskProperties,"ProjectTaskProperties.Connect.MongoDb":ConnectToMongoDbTaskProperties,"ProjectTaskProperties.ConnectToSource.SqlServer":ConnectToSourceSqlServerTaskProperties,"ProjectTaskProperties.ConnectToSource.SqlServer.Sync":ConnectToSourceSqlServerSyncTaskProperties,"ProjectTaskProperties.ConnectToSource.PostgreSql.Sync":ConnectToSourcePostgreSqlSyncTaskProperties,"ProjectTaskProperties.ConnectToSource.MySql":ConnectToSourceMySqlTaskProperties,"ProjectTaskProperties.ConnectToSource.Oracle.Sync":ConnectToSourceOracleSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.SqlDb":ConnectToTargetSqlDbTaskProperties,"ProjectTaskProperties.ConnectToTarget.SqlDb.Sync":ConnectToTargetSqlDbSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureDbForPostgreSql.Sync":ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync":ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.GetUserTables.Sql":GetUserTablesSqlTaskProperties,"ProjectTaskProperties.GetUserTables.AzureSqlDb.Sync":GetUserTablesSqlSyncTaskProperties,"ProjectTaskProperties.GetUserTablesOracle":GetUserTablesOracleTaskProperties,"ProjectTaskProperties.GetUserTablesPostgreSql":GetUserTablesPostgreSqlTaskProperties,"ProjectTaskProperties.GetUserTablesMySql":GetUserTablesMySqlTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureSqlDbMI":ConnectToTargetSqlMITaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureSqlDbMI.Sync.LRS":ConnectToTargetSqlMISyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureDbForMySql":ConnectToTargetAzureDbForMySqlTaskProperties,"ProjectTaskProperties.Migrate.MongoDb":MigrateMongoDbTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDbMI":MigrateSqlServerSqlMITaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDbMI.Sync.LRS":MigrateSqlServerSqlMISyncTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.SqlDb":MigrateSqlServerSqlDbTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDb.Sync":MigrateSqlServerSqlDbSyncTaskProperties,"ProjectTaskProperties.Migrate.MySql.AzureDbForMySql.Sync":MigrateMySqlAzureDbForMySqlSyncTaskProperties,"ProjectTaskProperties.Migrate.MySql.AzureDbForMySql":MigrateMySqlAzureDbForMySqlOfflineTaskProperties,"ProjectTaskProperties.Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.Migrate.Oracle.AzureDbForPostgreSql.Sync":MigrateOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.SqlDb.Sync":ValidateMigrationInputSqlServerSqlDbSyncTaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.AzureSqlDbMI":ValidateMigrationInputSqlServerSqlMITaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS":ValidateMigrationInputSqlServerSqlMISyncTaskProperties,"ProjectTaskProperties.Validate.MongoDb":ValidateMongoDbTaskProperties,"ProjectTaskProperties.Validate.Oracle.AzureDbPostgreSql.Sync":ValidateOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.GetTDECertificates.Sql":GetTdeCertificatesSqlTaskProperties,"ProjectTaskProperties.Migrate.Ssis":MigrateSsisTaskProperties,"CommandProperties.Migrate.Sync.Complete.Database":MigrateSyncCompleteCommandProperties,"CommandProperties.Migrate.SqlServer.AzureDbSqlMi.Complete":MigrateMISyncCompleteCommandProperties,"CommandProperties.cancel":MongoDbCancelCommand,"CommandProperties.finish":MongoDbFinishCommand,"CommandProperties.restart":MongoDbRestartCommand,"ConnectionInfo.MongoDbConnectionInfo":MongoDbConnectionInfo,"ConnectionInfo.SqlConnectionInfo":SqlConnectionInfo,"ConnectionInfo.MySqlConnectionInfo":MySqlConnectionInfo,"ConnectionInfo.OracleConnectionInfo":OracleConnectionInfo,"ConnectionInfo.PostgreSqlConnectionInfo":PostgreSqlConnectionInfo,"ConnectionInfo.MiSqlConnectionInfo":MiSqlConnectionInfo,"ConnectToSourceSqlServerTaskOutput.TaskLevelOutput":ConnectToSourceSqlServerTaskOutputTaskLevel,"ConnectToSourceSqlServerTaskOutput.DatabaseLevelOutput":ConnectToSourceSqlServerTaskOutputDatabaseLevel,"ConnectToSourceSqlServerTaskOutput.LoginLevelOutput":ConnectToSourceSqlServerTaskOutputLoginLevel,"ConnectToSourceSqlServerTaskOutput.AgentJobLevelOutput":ConnectToSourceSqlServerTaskOutputAgentJobLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.MigrationLevelOutput":MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.DatabaseLevelOutput":MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.SchemaErrorOutput":MigrateSchemaSqlServerSqlDbTaskOutputError,"MigrateSchemaSqlServerSqlDbTaskOutput.ErrorOutput":MigrateSchemaSqlTaskOutputError,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.MigrationLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.DatabaseLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.TableLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.ErrorOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputError,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.DatabaseLevelErrorOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.MigrationLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.DatabaseLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.TableLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.ErrorOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.DatabaseLevelErrorOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError,"MigrateSqlServerSqlDbSyncTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel,"MigrateSqlServerSqlDbSyncTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel,"MigrateSqlServerSqlDbSyncTaskOutput.TableLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputTableLevel,"MigrateSqlServerSqlDbSyncTaskOutput.ErrorOutput":MigrateSqlServerSqlDbSyncTaskOutputError,"MigrateSqlServerSqlDbSyncTaskOutput.DatabaseLevelErrorOutput":MigrateSqlServerSqlDbSyncTaskOutputDatabaseError,"MigrateSqlServerSqlDbTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlDbTaskOutputMigrationLevel,"MigrateSqlServerSqlDbTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlDbTaskOutputDatabaseLevel,"MigrateSqlServerSqlDbTaskOutput.TableLevelOutput":MigrateSqlServerSqlDbTaskOutputTableLevel,"MigrateSqlServerSqlDbTaskOutput.ErrorOutput":MigrateSqlServerSqlDbTaskOutputError,"MigrateSqlServerSqlDbTaskOutput.MigrationValidationOutput":MigrateSqlServerSqlDbTaskOutputValidationResult,"MigrateSqlServerSqlDbTaskOutput.MigrationDatabaseLevelValidationOutput":MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult,"MigrateSqlServerSqlMISyncTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlMISyncTaskOutputMigrationLevel,"MigrateSqlServerSqlMISyncTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel,"MigrateSqlServerSqlMISyncTaskOutput.ErrorOutput":MigrateSqlServerSqlMISyncTaskOutputError,"MigrateSqlServerSqlMITaskOutput.MigrationLevelOutput":MigrateSqlServerSqlMITaskOutputMigrationLevel,"MigrateSqlServerSqlMITaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlMITaskOutputDatabaseLevel,"MigrateSqlServerSqlMITaskOutput.AgentJobLevelOutput":MigrateSqlServerSqlMITaskOutputAgentJobLevel,"MigrateSqlServerSqlMITaskOutput.LoginLevelOutput":MigrateSqlServerSqlMITaskOutputLoginLevel,"MigrateSqlServerSqlMITaskOutput.ErrorOutput":MigrateSqlServerSqlMITaskOutputError,"MigrateSsisTaskOutput.MigrationLevelOutput":MigrateSsisTaskOutputMigrationLevel,"MigrateSsisTaskOutput.SsisProjectLevelOutput":MigrateSsisTaskOutputProjectLevel,"MongoDbProgress.Collection":MongoDbCollectionProgress,"MongoDbProgress.Database":MongoDbDatabaseProgress,"MongoDbProgress.Migration":MongoDbMigrationProgress,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.MigrationLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.DatabaseLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.TableLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.ErrorOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputError,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.DatabaseLevelErrorOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.MigrationLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.DatabaseLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.TableLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.ErrorOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputError};var Mappers=Object.freeze({__proto__:null,SystemData:SystemData,MigrationStatusDetails:MigrationStatusDetails,SqlBackupSetInfo:SqlBackupSetInfo,SqlBackupFileInfo:SqlBackupFileInfo,BackupConfiguration:BackupConfiguration,SourceLocation:SourceLocation,SqlFileShare:SqlFileShare,AzureBlob:AzureBlob,TargetLocation:TargetLocation,OfflineConfiguration:OfflineConfiguration,DatabaseMigrationProperties:DatabaseMigrationProperties,SqlConnectionInformation:SqlConnectionInformation,ErrorInfo:ErrorInfo,ProxyResource:ProxyResource,MigrationOperationInput:MigrationOperationInput,OperationListResult:OperationListResult,OperationsDefinition:OperationsDefinition,OperationsDisplayDefinition:OperationsDisplayDefinition,TrackedResource:TrackedResource,SqlMigrationServiceUpdate:SqlMigrationServiceUpdate,SqlMigrationListResult:SqlMigrationListResult,AuthenticationKeys:AuthenticationKeys,RegenAuthKeys:RegenAuthKeys,DeleteNode:DeleteNode,DatabaseMigrationListResult:DatabaseMigrationListResult,IntegrationRuntimeMonitoringData:IntegrationRuntimeMonitoringData,NodeMonitoringData:NodeMonitoringData,ResourceSkusResult:ResourceSkusResult,ResourceSku:ResourceSku,ResourceSkuCapacity:ResourceSkuCapacity,ResourceSkuCosts:ResourceSkuCosts,ResourceSkuCapabilities:ResourceSkuCapabilities,ResourceSkuRestrictions:ResourceSkuRestrictions,ApiError:ApiError,ODataError:ODataError,ServiceSku:ServiceSku,DataMigrationServiceStatusResponse:DataMigrationServiceStatusResponse,ServiceSkuList:ServiceSkuList,AvailableServiceSku:AvailableServiceSku,AvailableServiceSkuSku:AvailableServiceSkuSku,AvailableServiceSkuCapacity:AvailableServiceSkuCapacity,TaskList:TaskList,ProjectTaskProperties:ProjectTaskProperties,CommandProperties:CommandProperties,Resource:Resource,NameAvailabilityRequest:NameAvailabilityRequest,NameAvailabilityResponse:NameAvailabilityResponse,DataMigrationServiceList:DataMigrationServiceList,ProjectList:ProjectList,ConnectionInfo:ConnectionInfo,DatabaseInfo:DatabaseInfo,QuotaList:QuotaList,Quota:Quota,QuotaName:QuotaName,FileList:FileList,ProjectFileProperties:ProjectFileProperties,FileStorageInfo:FileStorageInfo,MigrateSyncCompleteCommandInput:MigrateSyncCompleteCommandInput,MigrateSyncCompleteCommandOutput:MigrateSyncCompleteCommandOutput,ReportableException:ReportableException,MigrateMISyncCompleteCommandInput:MigrateMISyncCompleteCommandInput,MigrateMISyncCompleteCommandOutput:MigrateMISyncCompleteCommandOutput,AzureActiveDirectoryApp:AzureActiveDirectoryApp,BackupSetInfo:BackupSetInfo,BackupFileInfo:BackupFileInfo,OrphanedUserInfo:OrphanedUserInfo,ConnectToSourceMySqlTaskInput:ConnectToSourceMySqlTaskInput,ConnectToSourceSqlServerTaskInput:ConnectToSourceSqlServerTaskInput,ConnectToSourceSqlServerTaskOutput:ConnectToSourceSqlServerTaskOutput,DatabaseFileInfo:DatabaseFileInfo,MigrationEligibilityInfo:MigrationEligibilityInfo,ConnectToSourcePostgreSqlSyncTaskInput:ConnectToSourcePostgreSqlSyncTaskInput,ConnectToSourcePostgreSqlSyncTaskOutput:ConnectToSourcePostgreSqlSyncTaskOutput,ConnectToTargetAzureDbForMySqlTaskInput:ConnectToTargetAzureDbForMySqlTaskInput,ConnectToTargetAzureDbForMySqlTaskOutput:ConnectToTargetAzureDbForMySqlTaskOutput,ConnectToTargetSqlDbTaskInput:ConnectToTargetSqlDbTaskInput,ConnectToTargetSqlDbTaskOutput:ConnectToTargetSqlDbTaskOutput,ConnectToTargetSqlMISyncTaskInput:ConnectToTargetSqlMISyncTaskInput,ConnectToTargetSqlMISyncTaskOutput:ConnectToTargetSqlMISyncTaskOutput,ConnectToTargetSqlMITaskInput:ConnectToTargetSqlMITaskInput,ConnectToTargetSqlMITaskOutput:ConnectToTargetSqlMITaskOutput,ConnectToTargetSqlDbSyncTaskInput:ConnectToTargetSqlDbSyncTaskInput,ConnectToTargetAzureDbForPostgreSqlSyncTaskInput:ConnectToTargetAzureDbForPostgreSqlSyncTaskInput,ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput:ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput,GetUserTablesMySqlTaskInput:GetUserTablesMySqlTaskInput,GetUserTablesMySqlTaskOutput:GetUserTablesMySqlTaskOutput,DatabaseTable:DatabaseTable,GetTdeCertificatesSqlTaskInput:GetTdeCertificatesSqlTaskInput,FileShare:FileShare,SelectedCertificateInput:SelectedCertificateInput,GetTdeCertificatesSqlTaskOutput:GetTdeCertificatesSqlTaskOutput,GetUserTablesSqlSyncTaskInput:GetUserTablesSqlSyncTaskInput,GetUserTablesSqlSyncTaskOutput:GetUserTablesSqlSyncTaskOutput,GetUserTablesSqlTaskInput:GetUserTablesSqlTaskInput,GetUserTablesSqlTaskOutput:GetUserTablesSqlTaskOutput,MigrateSchemaSqlServerSqlDbDatabaseInput:MigrateSchemaSqlServerSqlDbDatabaseInput,SchemaMigrationSetting:SchemaMigrationSetting,SqlMigrationTaskInput:SqlMigrationTaskInput,MigrateSchemaSqlServerSqlDbTaskOutput:MigrateSchemaSqlServerSqlDbTaskOutput,MigrateMySqlAzureDbForMySqlSyncTaskInput:MigrateMySqlAzureDbForMySqlSyncTaskInput,MigrateMySqlAzureDbForMySqlSyncDatabaseInput:MigrateMySqlAzureDbForMySqlSyncDatabaseInput,MigrateMySqlAzureDbForMySqlSyncTaskOutput:MigrateMySqlAzureDbForMySqlSyncTaskOutput,SyncMigrationDatabaseErrorEvent:SyncMigrationDatabaseErrorEvent,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput,MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput:MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput,MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput:MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput,MigrateSqlServerSqlDbSyncDatabaseInput:MigrateSqlServerSqlDbSyncDatabaseInput,MigrationValidationOptions:MigrationValidationOptions,MigrateSqlServerSqlDbSyncTaskOutput:MigrateSqlServerSqlDbSyncTaskOutput,MigrateSqlServerSqlDbDatabaseInput:MigrateSqlServerSqlDbDatabaseInput,MigrateSqlServerSqlDbTaskOutput:MigrateSqlServerSqlDbTaskOutput,MigrationValidationResult:MigrationValidationResult,MigrationValidationDatabaseSummaryResult:MigrationValidationDatabaseSummaryResult,MigrationReportResult:MigrationReportResult,DataItemMigrationSummaryResult:DataItemMigrationSummaryResult,MigrationValidationDatabaseLevelResult:MigrationValidationDatabaseLevelResult,DataIntegrityValidationResult:DataIntegrityValidationResult,ValidationError:ValidationError,SchemaComparisonValidationResult:SchemaComparisonValidationResult,SchemaComparisonValidationResultType:SchemaComparisonValidationResultType,QueryAnalysisValidationResult:QueryAnalysisValidationResult,QueryExecutionResult:QueryExecutionResult,ExecutionStatistics:ExecutionStatistics,WaitStatistics:WaitStatistics,SqlServerSqlMISyncTaskInput:SqlServerSqlMISyncTaskInput,MigrateSqlServerSqlMIDatabaseInput:MigrateSqlServerSqlMIDatabaseInput,MigrateSqlServerSqlMISyncTaskOutput:MigrateSqlServerSqlMISyncTaskOutput,BlobShare:BlobShare,MigrateSqlServerSqlMITaskOutput:MigrateSqlServerSqlMITaskOutput,SsisMigrationInfo:SsisMigrationInfo,MigrateSsisTaskOutput:MigrateSsisTaskOutput,MongoDbCommandInput:MongoDbCommandInput,MongoDbClusterInfo:MongoDbClusterInfo,MongoDbShardKeyInfo:MongoDbShardKeyInfo,MongoDbShardKeyField:MongoDbShardKeyField,MongoDbObjectInfo:MongoDbObjectInfo,MongoDbProgress:MongoDbProgress,MongoDbError:MongoDbError,MongoDbCollectionSettings:MongoDbCollectionSettings,MongoDbShardKeySetting:MongoDbShardKeySetting,MongoDbDatabaseSettings:MongoDbDatabaseSettings,MongoDbMigrationSettings:MongoDbMigrationSettings,MongoDbThrottlingSettings:MongoDbThrottlingSettings,ConnectToSourceOracleSyncTaskInput:ConnectToSourceOracleSyncTaskInput,ConnectToSourceOracleSyncTaskOutput:ConnectToSourceOracleSyncTaskOutput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem,GetUserTablesOracleTaskInput:GetUserTablesOracleTaskInput,GetUserTablesOracleTaskOutput:GetUserTablesOracleTaskOutput,GetUserTablesPostgreSqlTaskInput:GetUserTablesPostgreSqlTaskInput,GetUserTablesPostgreSqlTaskOutput:GetUserTablesPostgreSqlTaskOutput,ValidateOracleAzureDbPostgreSqlSyncTaskOutput:ValidateOracleAzureDbPostgreSqlSyncTaskOutput,MigrateOracleAzureDbPostgreSqlSyncTaskInput:MigrateOracleAzureDbPostgreSqlSyncTaskInput,MigrateOracleAzureDbPostgreSqlSyncDatabaseInput:MigrateOracleAzureDbPostgreSqlSyncDatabaseInput,MigrateOracleAzureDbPostgreSqlSyncTaskOutput:MigrateOracleAzureDbPostgreSqlSyncTaskOutput,OracleOCIDriverInfo:OracleOCIDriverInfo,CheckOCIDriverTaskInput:CheckOCIDriverTaskInput,CheckOCIDriverTaskOutput:CheckOCIDriverTaskOutput,UploadOCIDriverTaskInput:UploadOCIDriverTaskInput,UploadOCIDriverTaskOutput:UploadOCIDriverTaskOutput,InstallOCIDriverTaskInput:InstallOCIDriverTaskInput,InstallOCIDriverTaskOutput:InstallOCIDriverTaskOutput,ServiceOperation:ServiceOperation,ServiceOperationDisplay:ServiceOperationDisplay,ServiceOperationList:ServiceOperationList,ConnectToSourceNonSqlTaskOutput:ConnectToSourceNonSqlTaskOutput,ServerProperties:ServerProperties,MigrateMySqlAzureDbForMySqlOfflineTaskInput:MigrateMySqlAzureDbForMySqlOfflineTaskInput,MigrateMySqlAzureDbForMySqlOfflineDatabaseInput:MigrateMySqlAzureDbForMySqlOfflineDatabaseInput,MigrateMySqlAzureDbForMySqlOfflineTaskOutput:MigrateMySqlAzureDbForMySqlOfflineTaskOutput,ValidateSyncMigrationInputSqlServerTaskInput:ValidateSyncMigrationInputSqlServerTaskInput,ValidateSyncMigrationInputSqlServerTaskOutput:ValidateSyncMigrationInputSqlServerTaskOutput,ValidateMigrationInputSqlServerSqlMITaskInput:ValidateMigrationInputSqlServerSqlMITaskInput,ValidateMigrationInputSqlServerSqlMITaskOutput:ValidateMigrationInputSqlServerSqlMITaskOutput,DatabaseBackupInfo:DatabaseBackupInfo,ValidateMigrationInputSqlServerSqlMISyncTaskOutput:ValidateMigrationInputSqlServerSqlMISyncTaskOutput,Database:Database,DatabaseObjectName:DatabaseObjectName,DataMigrationProjectMetadata:DataMigrationProjectMetadata,MigrationTableMetadata:MigrationTableMetadata,GetProjectDetailsNonSqlTaskInput:GetProjectDetailsNonSqlTaskInput,NonSqlMigrationTaskInput:NonSqlMigrationTaskInput,NonSqlDataMigrationTable:NonSqlDataMigrationTable,NonSqlMigrationTaskOutput:NonSqlMigrationTaskOutput,NonSqlDataMigrationTableResult:NonSqlDataMigrationTableResult,DataMigrationError:DataMigrationError,MigrateSqlServerDatabaseInput:MigrateSqlServerDatabaseInput,DatabaseFileInput:DatabaseFileInput,StartMigrationScenarioServerRoleResult:StartMigrationScenarioServerRoleResult,DatabaseMigrationPropertiesSqlMi:DatabaseMigrationPropertiesSqlMi,DatabaseMigrationPropertiesSqlVm:DatabaseMigrationPropertiesSqlVm,DatabaseMigrationSqlMi:DatabaseMigrationSqlMi,DatabaseMigrationSqlVm:DatabaseMigrationSqlVm,DatabaseMigration:DatabaseMigration,SqlMigrationService:SqlMigrationService,DataMigrationService:DataMigrationService,Project:Project,MigrateSchemaSqlServerSqlDbTaskProperties:MigrateSchemaSqlServerSqlDbTaskProperties,CheckOCIDriverTaskProperties:CheckOCIDriverTaskProperties,UploadOCIDriverTaskProperties:UploadOCIDriverTaskProperties,InstallOCIDriverTaskProperties:InstallOCIDriverTaskProperties,ConnectToMongoDbTaskProperties:ConnectToMongoDbTaskProperties,ConnectToSourceSqlServerTaskProperties:ConnectToSourceSqlServerTaskProperties,ConnectToSourceSqlServerSyncTaskProperties:ConnectToSourceSqlServerSyncTaskProperties,ConnectToSourcePostgreSqlSyncTaskProperties:ConnectToSourcePostgreSqlSyncTaskProperties,ConnectToSourceMySqlTaskProperties:ConnectToSourceMySqlTaskProperties,ConnectToSourceOracleSyncTaskProperties:ConnectToSourceOracleSyncTaskProperties,ConnectToTargetSqlDbTaskProperties:ConnectToTargetSqlDbTaskProperties,ConnectToTargetSqlDbSyncTaskProperties:ConnectToTargetSqlDbSyncTaskProperties,ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties:ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties,GetUserTablesSqlTaskProperties:GetUserTablesSqlTaskProperties,GetUserTablesSqlSyncTaskProperties:GetUserTablesSqlSyncTaskProperties,GetUserTablesOracleTaskProperties:GetUserTablesOracleTaskProperties,GetUserTablesPostgreSqlTaskProperties:GetUserTablesPostgreSqlTaskProperties,GetUserTablesMySqlTaskProperties:GetUserTablesMySqlTaskProperties,ConnectToTargetSqlMITaskProperties:ConnectToTargetSqlMITaskProperties,ConnectToTargetSqlMISyncTaskProperties:ConnectToTargetSqlMISyncTaskProperties,ConnectToTargetAzureDbForMySqlTaskProperties:ConnectToTargetAzureDbForMySqlTaskProperties,MigrateMongoDbTaskProperties:MigrateMongoDbTaskProperties,MigrateSqlServerSqlMITaskProperties:MigrateSqlServerSqlMITaskProperties,MigrateSqlServerSqlMISyncTaskProperties:MigrateSqlServerSqlMISyncTaskProperties,MigrateSqlServerSqlDbTaskProperties:MigrateSqlServerSqlDbTaskProperties,MigrateSqlServerSqlDbSyncTaskProperties:MigrateSqlServerSqlDbSyncTaskProperties,MigrateMySqlAzureDbForMySqlSyncTaskProperties:MigrateMySqlAzureDbForMySqlSyncTaskProperties,MigrateMySqlAzureDbForMySqlOfflineTaskProperties:MigrateMySqlAzureDbForMySqlOfflineTaskProperties,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties,MigrateOracleAzureDbForPostgreSqlSyncTaskProperties:MigrateOracleAzureDbForPostgreSqlSyncTaskProperties,ValidateMigrationInputSqlServerSqlDbSyncTaskProperties:ValidateMigrationInputSqlServerSqlDbSyncTaskProperties,ValidateMigrationInputSqlServerSqlMITaskProperties:ValidateMigrationInputSqlServerSqlMITaskProperties,ValidateMigrationInputSqlServerSqlMISyncTaskProperties:ValidateMigrationInputSqlServerSqlMISyncTaskProperties,ValidateMongoDbTaskProperties:ValidateMongoDbTaskProperties,ValidateOracleAzureDbForPostgreSqlSyncTaskProperties:ValidateOracleAzureDbForPostgreSqlSyncTaskProperties,GetTdeCertificatesSqlTaskProperties:GetTdeCertificatesSqlTaskProperties,MigrateSsisTaskProperties:MigrateSsisTaskProperties,MigrateSyncCompleteCommandProperties:MigrateSyncCompleteCommandProperties,MigrateMISyncCompleteCommandProperties:MigrateMISyncCompleteCommandProperties,MongoDbCancelCommand:MongoDbCancelCommand,MongoDbFinishCommand:MongoDbFinishCommand,MongoDbRestartCommand:MongoDbRestartCommand,ProjectTask:ProjectTask,ProjectFile:ProjectFile,MongoDbConnectionInfo:MongoDbConnectionInfo,SqlConnectionInfo:SqlConnectionInfo,MySqlConnectionInfo:MySqlConnectionInfo,OracleConnectionInfo:OracleConnectionInfo,PostgreSqlConnectionInfo:PostgreSqlConnectionInfo,MiSqlConnectionInfo:MiSqlConnectionInfo,ConnectToSourceSqlServerTaskOutputTaskLevel:ConnectToSourceSqlServerTaskOutputTaskLevel,ConnectToSourceSqlServerTaskOutputDatabaseLevel:ConnectToSourceSqlServerTaskOutputDatabaseLevel,ConnectToSourceSqlServerTaskOutputLoginLevel:ConnectToSourceSqlServerTaskOutputLoginLevel,ConnectToSourceSqlServerTaskOutputAgentJobLevel:ConnectToSourceSqlServerTaskOutputAgentJobLevel,MigrateSchemaSqlServerSqlDbTaskInput:MigrateSchemaSqlServerSqlDbTaskInput,MigrateSqlServerSqlDbSyncTaskInput:MigrateSqlServerSqlDbSyncTaskInput,MigrateSqlServerSqlDbTaskInput:MigrateSqlServerSqlDbTaskInput,MigrateSqlServerSqlMITaskInput:MigrateSqlServerSqlMITaskInput,MigrateSsisTaskInput:MigrateSsisTaskInput,MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel:MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel,MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel:MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel,MigrateSchemaSqlServerSqlDbTaskOutputError:MigrateSchemaSqlServerSqlDbTaskOutputError,MigrateSchemaSqlTaskOutputError:MigrateSchemaSqlTaskOutputError,MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputError:MigrateMySqlAzureDbForMySqlSyncTaskOutputError,MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError:MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError,MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel:MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel,MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel:MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel,MigrateSqlServerSqlDbSyncTaskOutputTableLevel:MigrateSqlServerSqlDbSyncTaskOutputTableLevel,MigrateSqlServerSqlDbSyncTaskOutputError:MigrateSqlServerSqlDbSyncTaskOutputError,MigrateSqlServerSqlDbSyncTaskOutputDatabaseError:MigrateSqlServerSqlDbSyncTaskOutputDatabaseError,MigrateSqlServerSqlDbTaskOutputMigrationLevel:MigrateSqlServerSqlDbTaskOutputMigrationLevel,MigrateSqlServerSqlDbTaskOutputDatabaseLevel:MigrateSqlServerSqlDbTaskOutputDatabaseLevel,MigrateSqlServerSqlDbTaskOutputTableLevel:MigrateSqlServerSqlDbTaskOutputTableLevel,MigrateSqlServerSqlDbTaskOutputError:MigrateSqlServerSqlDbTaskOutputError,MigrateSqlServerSqlDbTaskOutputValidationResult:MigrateSqlServerSqlDbTaskOutputValidationResult,MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult:MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult,DatabaseSummaryResult:DatabaseSummaryResult,MigrateSqlServerSqlMISyncTaskInput:MigrateSqlServerSqlMISyncTaskInput,ValidateMigrationInputSqlServerSqlMISyncTaskInput:ValidateMigrationInputSqlServerSqlMISyncTaskInput,MigrateSqlServerSqlMISyncTaskOutputMigrationLevel:MigrateSqlServerSqlMISyncTaskOutputMigrationLevel,MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel:MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel,MigrateSqlServerSqlMISyncTaskOutputError:MigrateSqlServerSqlMISyncTaskOutputError,MigrateSqlServerSqlMITaskOutputMigrationLevel:MigrateSqlServerSqlMITaskOutputMigrationLevel,MigrateSqlServerSqlMITaskOutputDatabaseLevel:MigrateSqlServerSqlMITaskOutputDatabaseLevel,MigrateSqlServerSqlMITaskOutputAgentJobLevel:MigrateSqlServerSqlMITaskOutputAgentJobLevel,MigrateSqlServerSqlMITaskOutputLoginLevel:MigrateSqlServerSqlMITaskOutputLoginLevel,MigrateSqlServerSqlMITaskOutputError:MigrateSqlServerSqlMITaskOutputError,MigrateSsisTaskOutputMigrationLevel:MigrateSsisTaskOutputMigrationLevel,MigrateSsisTaskOutputProjectLevel:MigrateSsisTaskOutputProjectLevel,MongoDbFinishCommandInput:MongoDbFinishCommandInput,MongoDbCollectionInfo:MongoDbCollectionInfo,MongoDbDatabaseInfo:MongoDbDatabaseInfo,MongoDbCollectionProgress:MongoDbCollectionProgress,MongoDbDatabaseProgress:MongoDbDatabaseProgress,MongoDbMigrationProgress:MongoDbMigrationProgress,MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputError:MigrateOracleAzureDbPostgreSqlSyncTaskOutputError,MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError:MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError,MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputError:MigrateMySqlAzureDbForMySqlOfflineTaskOutputError,discriminators:discriminators});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},managedInstanceName={parameterPath:"managedInstanceName",mapper:{serializedName:"managedInstanceName",required:!0,type:{name:"String"}}},targetDbName={parameterPath:"targetDbName",mapper:{serializedName:"targetDbName",required:!0,type:{name:"String"}}},migrationOperationId={parameterPath:["options","migrationOperationId"],mapper:{serializedName:"migrationOperationId",type:{name:"Uuid"}}},expand={parameterPath:["options","expand"],mapper:{serializedName:"$expand",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-10-30-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:DatabaseMigrationSqlMi},parameters1={parameterPath:"parameters",mapper:MigrationOperationInput},sqlVirtualMachineName={parameterPath:"sqlVirtualMachineName",mapper:{serializedName:"sqlVirtualMachineName",required:!0,type:{name:"String"}}},parameters2={parameterPath:"parameters",mapper:DatabaseMigrationSqlVm},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},sqlMigrationServiceName={parameterPath:"sqlMigrationServiceName",mapper:{serializedName:"sqlMigrationServiceName",required:!0,type:{name:"String"}}},parameters3={parameterPath:"parameters",mapper:SqlMigrationService},parameters4={parameterPath:"parameters",mapper:SqlMigrationServiceUpdate},parameters5={parameterPath:"parameters",mapper:RegenAuthKeys},parameters6={parameterPath:"parameters",mapper:DeleteNode},parameters7={parameterPath:"parameters",mapper:DataMigrationService},groupName={parameterPath:"groupName",mapper:{serializedName:"groupName",required:!0,type:{name:"String"}}},serviceName={parameterPath:"serviceName",mapper:{serializedName:"serviceName",required:!0,type:{name:"String"}}},deleteRunningTasks={parameterPath:["options","deleteRunningTasks"],mapper:{serializedName:"deleteRunningTasks",type:{name:"Boolean"}}},parameters8={parameterPath:"parameters",mapper:NameAvailabilityRequest},location={parameterPath:"location",mapper:{serializedName:"location",required:!0,type:{name:"String"}}},projectName={parameterPath:"projectName",mapper:{serializedName:"projectName",required:!0,type:{name:"String"}}},taskType={parameterPath:["options","taskType"],mapper:{serializedName:"taskType",type:{name:"String"}}},parameters9={parameterPath:"parameters",mapper:ProjectTask},taskName={parameterPath:"taskName",mapper:{serializedName:"taskName",required:!0,type:{name:"String"}}},parameters10={parameterPath:"parameters",mapper:CommandProperties},parameters11={parameterPath:"parameters",mapper:Project},fileName={parameterPath:"fileName",mapper:{serializedName:"fileName",required:!0,type:{name:"String"}}},parameters12={parameterPath:"parameters",mapper:ProjectFile};class LroImpl{constructor(e,a,t,r=t.path,i=t.httpMethod){this.sendOperationFn=e,this.args=a,this.spec=t,this.requestPath=r,this.requestMethod=i}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(a){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:a,httpMethod:"GET"}))})}}class DatabaseMigrationsSqlMiImpl{constructor(e){this.client=e}get(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,managedInstanceName:a,targetDbName:t,options:r},getOperationSpec$7)}beginCreateOrUpdate(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},createOrUpdateOperationSpec$7),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,a,t,r,i)).pollUntilDone()})}beginCancel(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},cancelOperationSpec$3),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCancelAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCancel(e,a,t,r,i)).pollUntilDone()})}beginCutover(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},cutoverOperationSpec$1),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCutoverAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCutover(e,a,t,r,i)).pollUntilDone()})}}const serializer$a=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$7={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationSqlMi},default:{}},queryParameters:[migrationOperationId,expand,apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[accept],serializer:serializer$a},createOrUpdateOperationSpec$7={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"PUT",responses:{200:{bodyMapper:DatabaseMigrationSqlMi},201:{bodyMapper:DatabaseMigrationSqlMi},202:{bodyMapper:DatabaseMigrationSqlMi},204:{bodyMapper:DatabaseMigrationSqlMi},default:{}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$a},cancelOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[contentType],mediaType:"json",serializer:serializer$a},cutoverOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[contentType],mediaType:"json",serializer:serializer$a};class DatabaseMigrationsSqlVmImpl{constructor(e){this.client=e}get(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlVirtualMachineName:a,targetDbName:t,options:r},getOperationSpec$6)}beginCreateOrUpdate(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},createOrUpdateOperationSpec$6),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,a,t,r,i)).pollUntilDone()})}beginCancel(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},cancelOperationSpec$2),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCancelAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCancel(e,a,t,r,i)).pollUntilDone()})}beginCutover(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},cutoverOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs});return yield e.poll(),e})}beginCutoverAndWait(e,a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCutover(e,a,t,r,i)).pollUntilDone()})}}const serializer$9=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$6={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationSqlVm},default:{}},queryParameters:[migrationOperationId,expand,apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[accept],serializer:serializer$9},createOrUpdateOperationSpec$6={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"PUT",responses:{200:{bodyMapper:DatabaseMigrationSqlVm},201:{bodyMapper:DatabaseMigrationSqlVm},202:{bodyMapper:DatabaseMigrationSqlVm},204:{bodyMapper:DatabaseMigrationSqlVm},default:{}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$9},cancelOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[contentType],mediaType:"json",serializer:serializer$9},cutoverOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[contentType],mediaType:"json",serializer:serializer$9};class OperationsImpl{constructor(e){this.client=e}list(a){const e=this.listPagingAll(a);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(a,e)}}}listPagingPage(i,s){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==s?void 0:s.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._list(i))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listNext(a,i)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$6)}_listNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listNextOperationSpec$6)}}const serializer$8=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$6={path:"/providers/Microsoft.DataMigration/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$8},listNextOperationSpec$6={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$8};class SqlMigrationServicesImpl{constructor(e){this.client=e}listByResourceGroup(a,t){const e=this.listByResourceGroupPagingAll(a,t);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listByResourceGroupPagingPage(a,t,e)}}}listByResourceGroupPagingPage(i,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==n?void 0:n.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._listByResourceGroup(i,s))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listByResourceGroupNext(i,a,s)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listMigrations(a,t,r){const e=this.listMigrationsPagingAll(a,t,r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listMigrationsPagingPage(a,t,r,e)}}}listMigrationsPagingPage(i,s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==o?void 0:o.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._listMigrations(i,s,n))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listMigrationsNext(i,s,a,n)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listMigrationsPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listMigrationsPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listBySubscription(a){const e=this.listBySubscriptionPagingAll(a);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listBySubscriptionPagingPage(a,e)}}}listBySubscriptionPagingPage(i,s){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==s?void 0:s.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._listBySubscription(i))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listBySubscriptionNext(a,i)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listBySubscriptionPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}get(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},getOperationSpec$5)}beginCreateOrUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,parameters:r,options:i},createOrUpdateOperationSpec$5),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,a,t,r)).pollUntilDone()})}beginDelete(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,options:r},deleteOperationSpec$5),e=new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs});return yield e.poll(),e})}beginDeleteAndWait(e,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,a,t)).pollUntilDone()})}beginUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,parameters:r,options:i},updateOperationSpec$5),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginUpdateAndWait(e,a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginUpdate(e,a,t,r)).pollUntilDone()})}_listByResourceGroup(e,a){return this.client.sendOperationRequest({resourceGroupName:e,options:a},listByResourceGroupOperationSpec$1)}listAuthKeys(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listAuthKeysOperationSpec)}regenerateAuthKeys(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,parameters:t,options:r},regenerateAuthKeysOperationSpec)}deleteNode(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,parameters:t,options:r},deleteNodeOperationSpec)}_listMigrations(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listMigrationsOperationSpec)}listMonitoringData(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listMonitoringDataOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}_listByResourceGroupNext(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:a,options:t},listByResourceGroupNextOperationSpec$1)}_listMigrationsNext(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,nextLink:t,options:r},listMigrationsNextOperationSpec)}_listBySubscriptionNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listBySubscriptionNextOperationSpec)}}const serializer$7=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationService},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},createOrUpdateOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"PUT",responses:{200:{bodyMapper:SqlMigrationService},201:{bodyMapper:SqlMigrationService},202:{bodyMapper:SqlMigrationService},204:{bodyMapper:SqlMigrationService},default:{}},requestBody:parameters3,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},deleteOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],serializer:serializer$7},updateOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:SqlMigrationService},201:{bodyMapper:SqlMigrationService},202:{bodyMapper:SqlMigrationService},204:{bodyMapper:SqlMigrationService},default:{}},requestBody:parameters4,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},listByResourceGroupOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer$7},listAuthKeysOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys",httpMethod:"POST",responses:{200:{bodyMapper:AuthenticationKeys},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},regenerateAuthKeysOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys",httpMethod:"POST",responses:{200:{bodyMapper:RegenAuthKeys},default:{}},requestBody:parameters5,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},deleteNodeOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode",httpMethod:"POST",responses:{200:{bodyMapper:DeleteNode},default:{}},requestBody:parameters6,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},listMigrationsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},listMonitoringDataOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData",httpMethod:"POST",responses:{200:{bodyMapper:IntegrationRuntimeMonitoringData},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$7},listByResourceGroupNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$7},listMigrationsNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,nextLink,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$7},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$7};class ResourceSkusImpl{constructor(e){this.client=e}listSkus(a){const e=this.listSkusPagingAll(a);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listSkusPagingPage(a,e)}}}listSkusPagingPage(i,s){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==s?void 0:s.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._listSkus(i))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listSkusNext(a,i)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listSkusPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listSkusPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_listSkus(e){return this.client.sendOperationRequest({options:e},listSkusOperationSpec$1)}_listSkusNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listSkusNextOperationSpec$1)}}const serializer$6=coreClient__namespace.createSerializer(Mappers,!1),listSkusOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus",httpMethod:"GET",responses:{200:{bodyMapper:ResourceSkusResult},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$6},listSkusNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceSkusResult},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$6};class ServicesImpl{constructor(e){this.client=e}listSkus(a,t,r){const e=this.listSkusPagingAll(a,t,r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listSkusPagingPage(a,t,r,e)}}}listSkusPagingPage(i,s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==o?void 0:o.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._listSkus(i,s,n))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listSkusNext(i,s,a,n)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listSkusPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listSkusPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listByResourceGroup(a,t){const e=this.listByResourceGroupPagingAll(a,t);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listByResourceGroupPagingPage(a,t,e)}}}listByResourceGroupPagingPage(i,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==n?void 0:n.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._listByResourceGroup(i,s))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listByResourceGroupNext(i,a,s)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}list(a){const e=this.listPagingAll(a);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(a,e)}}}listPagingPage(i,s){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==s?void 0:s.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._list(i))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listNext(a,i)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}beginCreateOrUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,parameters:r,options:i},createOrUpdateOperationSpec$4),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,a,t,r)).pollUntilDone()})}get(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},getOperationSpec$4)}beginDelete(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},deleteOperationSpec$4),e=new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs});return yield e.poll(),e})}beginDeleteAndWait(e,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,a,t)).pollUntilDone()})}beginUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,parameters:r,options:i},updateOperationSpec$4),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginUpdateAndWait(e,a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginUpdate(e,a,t,r)).pollUntilDone()})}checkStatus(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},checkStatusOperationSpec)}beginStart(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},startOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs});return yield e.poll(),e})}beginStartAndWait(e,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginStart(e,a,t)).pollUntilDone()})}beginStop(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null==(e=a.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},stopOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs});return yield e.poll(),e})}beginStopAndWait(e,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginStop(e,a,t)).pollUntilDone()})}_listSkus(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listSkusOperationSpec)}checkChildrenNameAvailability(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,parameters:t,options:r},checkChildrenNameAvailabilityOperationSpec)}_listByResourceGroup(e,a){return this.client.sendOperationRequest({groupName:e,options:a},listByResourceGroupOperationSpec)}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$5)}checkNameAvailability(e,a,t){return this.client.sendOperationRequest({location:e,parameters:a,options:t},checkNameAvailabilityOperationSpec)}_listSkusNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listSkusNextOperationSpec)}_listByResourceGroupNext(e,a,t){return this.client.sendOperationRequest({groupName:e,nextLink:a,options:t},listByResourceGroupNextOperationSpec)}_listNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listNextOperationSpec$5)}}const serializer$5=coreClient__namespace.createSerializer(Mappers,!1),createOrUpdateOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"PUT",responses:{200:{bodyMapper:DataMigrationService},201:{bodyMapper:DataMigrationService},202:{bodyMapper:DataMigrationService},204:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},requestBody:parameters7,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},getOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},deleteOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},updateOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:DataMigrationService},201:{bodyMapper:DataMigrationService},202:{bodyMapper:DataMigrationService},204:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},requestBody:parameters7,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},checkStatusOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus",httpMethod:"POST",responses:{200:{bodyMapper:DataMigrationServiceStatusResponse},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},startOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},stopOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},listSkusOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus",httpMethod:"GET",responses:{200:{bodyMapper:ServiceSkuList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},checkChildrenNameAvailabilityOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:NameAvailabilityResponse},default:{bodyMapper:ApiError}},requestBody:parameters8,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName],headerParameters:[accept],serializer:serializer$5},listOperationSpec$5={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$5},checkNameAvailabilityOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:NameAvailabilityResponse},default:{bodyMapper:ApiError}},requestBody:parameters8,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,location],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},listSkusNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ServiceSkuList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName],headerParameters:[accept],serializer:serializer$5},listNextOperationSpec$5={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$5};class TasksImpl{constructor(e){this.client=e}list(a,t,r,i){const e=this.listPagingAll(a,t,r,i);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(a,t,r,i,e)}}}listPagingPage(i,s,n,o,l){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==l?void 0:l.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._list(i,s,n,o))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listNext(i,s,n,a,o)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listPagingAll(s,n,o,l){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o,l));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},listOperationSpec$4)}createOrUpdate(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},createOrUpdateOperationSpec$3)}get(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},getOperationSpec$3)}delete(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},deleteOperationSpec$3)}update(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},updateOperationSpec$3)}cancel(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},cancelOperationSpec$1)}command(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},commandOperationSpec)}_listNext(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,nextLink:r,options:i},listNextOperationSpec$4)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$4},createOrUpdateOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectTask},201:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$4},getOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[expand,apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$4},deleteOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$4},updateOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$4},cancelOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",httpMethod:"POST",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$4},commandOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",httpMethod:"POST",responses:{200:{bodyMapper:CommandProperties},default:{bodyMapper:ApiError}},requestBody:parameters10,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$4},listNextOperationSpec$4={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$4};class ServiceTasksImpl{constructor(e){this.client=e}list(a,t,r){const e=this.listPagingAll(a,t,r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(a,t,r,e)}}}listPagingPage(i,s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==o?void 0:o.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._list(i,s,n))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listNext(i,s,a,n)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listOperationSpec$3)}createOrUpdate(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,parameters:r,options:i},createOrUpdateOperationSpec$2)}get(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},getOperationSpec$2)}delete(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},deleteOperationSpec$2)}update(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,parameters:r,options:i},updateOperationSpec$2)}cancel(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},cancelOperationSpec)}_listNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listNextOperationSpec$3)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$3},createOrUpdateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectTask},201:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[expand,apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$3},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$3},updateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},cancelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel",httpMethod:"POST",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$3},listNextOperationSpec$3={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$3};class ProjectsImpl{constructor(e){this.client=e}list(a,t,r){const e=this.listPagingAll(a,t,r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(a,t,r,e)}}}listPagingPage(i,s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==o?void 0:o.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._list(i,s,n))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listNext(i,s,a,n)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listOperationSpec$2)}createOrUpdate(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,parameters:r,options:i},createOrUpdateOperationSpec$1)}get(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},getOperationSpec$1)}delete(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},deleteOperationSpec$1)}update(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,parameters:r,options:i},updateOperationSpec$1)}_listNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listNextOperationSpec$2)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects",httpMethod:"GET",responses:{200:{bodyMapper:ProjectList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$2},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"PUT",responses:{200:{bodyMapper:Project},201:{bodyMapper:Project},default:{bodyMapper:ApiError}},requestBody:parameters11,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"GET",responses:{200:{bodyMapper:Project},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$2},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$2},updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Project},default:{bodyMapper:ApiError}},requestBody:parameters11,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$2};class UsagesImpl{constructor(e){this.client=e}list(a,t){const e=this.listPagingAll(a,t);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(a,t,e)}}}listPagingPage(i,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==n?void 0:n.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._list(i,s))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listNext(i,a,s)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a){return this.client.sendOperationRequest({location:e,options:a},listOperationSpec$1)}_listNext(e,a,t){return this.client.sendOperationRequest({location:e,nextLink:a,options:t},listNextOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages",httpMethod:"GET",responses:{200:{bodyMapper:QuotaList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,location],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:QuotaList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,location],headerParameters:[accept],serializer:serializer$1};class FilesImpl{constructor(e){this.client=e}list(a,t,r,i){const e=this.listPagingAll(a,t,r,i);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(a,t,r,i,e)}}}listPagingPage(i,s,n,o,l){return tslib.__asyncGenerator(this,arguments,function*(){let e,a=null==l?void 0:l.continuationToken;var t;for(a||(setContinuationToken(t=(e=yield tslib.__await(this._list(i,s,n,o))).value||[],a=e.nextLink),yield yield tslib.__await(t));a;){e=yield tslib.__await(this._listNext(i,s,n,a,o)),a=e.nextLink;var r=e.value||[];setContinuationToken(r,a),yield yield tslib.__await(r)}})}listPagingAll(s,n,o,l){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o,l));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},listOperationSpec)}get(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},getOperationSpec)}createOrUpdate(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,parameters:i,options:s},createOrUpdateOperationSpec)}delete(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},deleteOperationSpec)}update(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,parameters:i,options:s},updateOperationSpec)}read(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},readOperationSpec)}readWrite(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},readWriteOperationSpec)}_listNext(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,nextLink:r,options:i},listNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files",httpMethod:"GET",responses:{200:{bodyMapper:FileList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectFile},201:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},requestBody:parameters12,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},requestBody:parameters12,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},readOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read",httpMethod:"POST",responses:{200:{bodyMapper:FileStorageInfo},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer},readWriteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite",httpMethod:"POST",responses:{200:{bodyMapper:FileStorageInfo},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:FileList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer};class DataMigrationManagementClient extends coreClient__namespace.ServiceClient{constructor(e,a,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===a)throw new Error("'subscriptionId' cannot be null");var r,i="azsdk-js-arm-datamigration/3.0.0-beta.3",i=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+i:i,i=Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),t),{userAgentOptions:{userAgentPrefix:i},endpoint:null!=(i=null!=(i=t.endpoint)?i:t.baseUri)?i:"https://management.azure.com"});super(i);let s=!1;null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length&&(r=t.pipeline.getOrderedPolicies(),s=r.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)),t&&t.pipeline&&0!=t.pipeline.getOrderedPolicies().length&&s||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({credential:e,scopes:null!=(r=i.credentialScopes)?r:i.endpoint+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}}))),this.subscriptionId=a,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2021-10-30-preview",this.databaseMigrationsSqlMi=new DatabaseMigrationsSqlMiImpl(this),this.databaseMigrationsSqlVm=new DatabaseMigrationsSqlVmImpl(this),this.operations=new OperationsImpl(this),this.sqlMigrationServices=new SqlMigrationServicesImpl(this),this.resourceSkus=new ResourceSkusImpl(this),this.services=new ServicesImpl(this),this.tasks=new TasksImpl(this),this.serviceTasks=new ServiceTasksImpl(this),this.projects=new ProjectsImpl(this),this.usages=new UsagesImpl(this),this.files=new FilesImpl(this),this.addCustomApiVersionPolicy(t.apiVersion)}addCustomApiVersionPolicy(i){i&&this.pipeline.addPolicy({name:"CustomApiVersionPolicy",sendRequest(t,r){return tslib.__awaiter(this,void 0,void 0,function*(){var e,a=t.url.split("?");return 1<a.length&&(e=a[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+i:e),t.url=a[0]+"?"+e.join("&")),r(t)})}})}}exports.DataMigrationManagementClient=DataMigrationManagementClient,exports.getContinuationToken=getContinuationToken;
|