import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Services extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'services' , } ) ; } } schema export class ServicesProjects extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'services_projects' , } ) ; } } schema export class ServicesProjectsTasks extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'services_projects_tasks' , } ) ; } } schema export interface ServicesOptions { schema readonly apiVersion ? : MicrosoftDataMigrationServicesApiVersion ; schema readonly etag ? : string ; schema readonly kind ? : string ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : DataMigrationServiceProperties ; schema readonly resources ? : ServicesProjectsChildResource [ ] ; schema readonly sku ? : ServiceSku ; schema readonly tags ? : MicrosoftDataMigrationServicesTags ; schema readonly type : MicrosoftDataMigrationServicesType ; } schema export interface ServicesProjectsOptions { schema readonly apiVersion ? : MicrosoftDataMigrationServicesProjectsApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : ProjectProperties ; schema readonly resources ? : ServicesProjectsTasksChildResource [ ] ; schema readonly tags ? : MicrosoftDataMigrationServicesProjectsTags ; schema readonly type : MicrosoftDataMigrationServicesProjectsType ; } schema export interface ServicesProjectsTasksOptions { schema readonly apiVersion ? : MicrosoftDataMigrationServicesProjectsTasksApiVersion ; schema readonly etag ? : string ; schema readonly name : string ; schema readonly properties : ProjectTaskProperties ; schema readonly type : MicrosoftDataMigrationServicesProjectsTasksType ; } export enum MicrosoftDataMigrationServicesApiVersion { "MicrosoftDataMigrationServicesApiVersion_2018_04_19" = '2018-04-19' } schema export interface DataMigrationServiceProperties { schema readonly publicKey ? : string ; schema readonly virtualSubnetId : string ; } schema export interface ServicesProjectsChildResource { schema readonly apiVersion : ServicesProjectsChildResourceApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : ProjectProperties ; schema readonly tags ? : ServicesProjectsChildResourceTags ; schema readonly type : ServicesProjectsChildResourceType ; } schema export interface ServiceSku { schema readonly capacity ? : number ; schema readonly family ? : string ; schema readonly name ? : string ; schema readonly size ? : string ; schema readonly tier ? : string ; } schema export interface MicrosoftDataMigrationServicesTags { } export enum MicrosoftDataMigrationServicesType { "MicrosoftDataMigrationServicesType_MICROSOFT_DATA_MIGRATION_SERVICES" = 'Microsoft.DataMigration/services' } export enum MicrosoftDataMigrationServicesProjectsApiVersion { "MicrosoftDataMigrationServicesProjectsApiVersion_2018_04_19" = '2018-04-19' } schema export interface ProjectProperties { schema readonly databasesInfo ? : DatabaseInfo [ ] ; schema readonly sourceConnectionInfo ? : ConnectionInfo ; schema readonly sourcePlatform : ProjectPropertiesSourcePlatform ; schema readonly targetConnectionInfo ? : ConnectionInfo ; schema readonly targetPlatform : ProjectPropertiesTargetPlatform ; } schema export interface ServicesProjectsTasksChildResource { schema readonly apiVersion : ServicesProjectsTasksChildResourceApiVersion ; schema readonly etag ? : string ; schema readonly name : string ; schema readonly properties : ProjectTaskProperties ; schema readonly type : ServicesProjectsTasksChildResourceType ; } schema export interface MicrosoftDataMigrationServicesProjectsTags { } export enum MicrosoftDataMigrationServicesProjectsType { "MicrosoftDataMigrationServicesProjectsType_MICROSOFT_DATA_MIGRATION_SERVICES_PROJECTS" = 'Microsoft.DataMigration/services/projects' } export enum MicrosoftDataMigrationServicesProjectsTasksApiVersion { "MicrosoftDataMigrationServicesProjectsTasksApiVersion_2018_04_19" = '2018-04-19' } schema export class ProjectTaskProperties { public static fromConnectToSourceMySqlTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToSourceSqlServerTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToSourceSqlServerSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToSourcePostgreSqlSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToTargetSqlDbTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToTargetSqlSqlDbSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToTargetAzureDbForPostgreSqlSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromGetUserTablesSqlTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromGetUserTablesSqlSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToTargetSqlMiTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToTargetSqlMiSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromConnectToTargetAzureDbForMySqlTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromMigrateSqlServerSqlMiTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromMigrateSqlServerSqlMiSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromMigrateSqlServerSqlDbTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromMigrateSqlServerSqlDbSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromMigrateMySqlAzureDbForMySqlSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromMigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromValidateMigrationInputSqlServerSqlDbSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromValidateMigrationInputSqlServerSqlMiTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromValidateMigrationInputSqlServerSqlMiSyncTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } public static fromGetTdeCertificatesSqlTaskProperties ( value ) { return new ProjectTaskProperties ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } export enum MicrosoftDataMigrationServicesProjectsTasksType { "MicrosoftDataMigrationServicesProjectsTasksType_MICROSOFT_DATA_MIGRATION_SERVICES_PROJECTS_TASKS" = 'Microsoft.DataMigration/services/projects/tasks' } export enum ServicesProjectsChildResourceApiVersion { "ServicesProjectsChildResourceApiVersion_2018_04_19" = '2018-04-19' } schema export interface ServicesProjectsChildResourceTags { } export enum ServicesProjectsChildResourceType { PROJECTS = 'projects' } schema export interface DatabaseInfo { schema readonly sourceDatabaseName : string ; } schema export class ConnectionInfo { public static fromSqlConnectionInfo ( value ) { return new ConnectionInfo ( value ) ; } public static fromMySqlConnectionInfo ( value ) { return new ConnectionInfo ( value ) ; } public static fromPostgreSqlConnectionInfo ( value ) { return new ConnectionInfo ( value ) ; } public static fromMiSqlConnectionInfo ( value ) { return new ConnectionInfo ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } export enum ProjectPropertiesSourcePlatform { SQL = 'SQL' , UNKNOWN = 'Unknown' } export enum ProjectPropertiesTargetPlatform { SQLDB = 'SQLDB' , UNKNOWN = 'Unknown' } export enum ServicesProjectsTasksChildResourceApiVersion { "ServicesProjectsTasksChildResourceApiVersion_2018_04_19" = '2018-04-19' } export enum ServicesProjectsTasksChildResourceType { TASKS = 'tasks' } schema export interface ConnectToSourceMySqlTaskProperties { schema readonly input ? : ConnectToSourceMySqlTaskInput ; schema readonly taskType : ConnectToSourceMySqlTaskPropertiesTaskType ; } schema export interface ConnectToSourceSqlServerTaskProperties { schema readonly input ? : ConnectToSourceSqlServerTaskInput ; schema readonly taskType : ConnectToSourceSqlServerTaskPropertiesTaskType ; } schema export interface ConnectToSourceSqlServerSyncTaskProperties { schema readonly input ? : ConnectToSourceSqlServerTaskInput ; schema readonly taskType : ConnectToSourceSqlServerSyncTaskPropertiesTaskType ; } schema export interface ConnectToSourcePostgreSqlSyncTaskProperties { schema readonly input ? : ConnectToSourcePostgreSqlSyncTaskInput ; schema readonly taskType : ConnectToSourcePostgreSqlSyncTaskPropertiesTaskType ; } schema export interface ConnectToTargetSqlDbTaskProperties { schema readonly input ? : ConnectToTargetSqlDbTaskInput ; schema readonly taskType : ConnectToTargetSqlDbTaskPropertiesTaskType ; } schema export interface ConnectToTargetSqlSqlDbSyncTaskProperties { schema readonly input ? : ConnectToTargetSqlSqlDbSyncTaskInput ; schema readonly taskType : ConnectToTargetSqlSqlDbSyncTaskPropertiesTaskType ; } schema export interface ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties { schema readonly input ? : ConnectToTargetAzureDbForPostgreSqlSyncTaskInput ; schema readonly taskType : ConnectToTargetAzureDbForPostgreSqlSyncTaskPropertiesTaskType ; } schema export interface GetUserTablesSqlTaskProperties { schema readonly input ? : GetUserTablesSqlTaskInput ; schema readonly taskType : GetUserTablesSqlTaskPropertiesTaskType ; } schema export interface GetUserTablesSqlSyncTaskProperties { schema readonly input ? : GetUserTablesSqlSyncTaskInput ; schema readonly taskType : GetUserTablesSqlSyncTaskPropertiesTaskType ; } schema export interface ConnectToTargetSqlMiTaskProperties { schema readonly input ? : ConnectToTargetSqlMiTaskInput ; schema readonly taskType : ConnectToTargetSqlMiTaskPropertiesTaskType ; } schema export interface ConnectToTargetSqlMiSyncTaskProperties { schema readonly input ? : ConnectToTargetSqlMiSyncTaskInput ; schema readonly taskType : ConnectToTargetSqlMiSyncTaskPropertiesTaskType ; } schema export interface ConnectToTargetAzureDbForMySqlTaskProperties { schema readonly input ? : ConnectToTargetAzureDbForMySqlTaskInput ; schema readonly taskType : ConnectToTargetAzureDbForMySqlTaskPropertiesTaskType ; } schema export interface MigrateSqlServerSqlMiTaskProperties { schema readonly input ? : MigrateSqlServerSqlMiTaskInput ; schema readonly taskType : MigrateSqlServerSqlMiTaskPropertiesTaskType ; } schema export interface MigrateSqlServerSqlMiSyncTaskProperties { schema readonly input ? : MigrateSqlServerSqlMiSyncTaskInput ; schema readonly taskType : MigrateSqlServerSqlMiSyncTaskPropertiesTaskType ; } schema export interface MigrateSqlServerSqlDbTaskProperties { schema readonly input ? : MigrateSqlServerSqlDbTaskInput ; schema readonly taskType : MigrateSqlServerSqlDbTaskPropertiesTaskType ; } schema export interface MigrateSqlServerSqlDbSyncTaskProperties { schema readonly input ? : MigrateSqlServerSqlDbSyncTaskInput ; schema readonly taskType : MigrateSqlServerSqlDbSyncTaskPropertiesTaskType ; } schema export interface MigrateMySqlAzureDbForMySqlSyncTaskProperties { schema readonly input ? : MigrateMySqlAzureDbForMySqlSyncTaskInput ; schema readonly taskType : MigrateMySqlAzureDbForMySqlSyncTaskPropertiesTaskType ; } schema export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties { schema readonly input ? : MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput ; schema readonly taskType : MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesTaskType ; } schema export interface ValidateMigrationInputSqlServerSqlDbSyncTaskProperties { schema readonly input ? : ValidateSyncMigrationInputSqlServerTaskInput ; schema readonly taskType : ValidateMigrationInputSqlServerSqlDbSyncTaskPropertiesTaskType ; } schema export interface ValidateMigrationInputSqlServerSqlMiTaskProperties { schema readonly input ? : ValidateMigrationInputSqlServerSqlMiTaskInput ; schema readonly taskType : ValidateMigrationInputSqlServerSqlMiTaskPropertiesTaskType ; } schema export interface ValidateMigrationInputSqlServerSqlMiSyncTaskProperties { schema readonly input ? : ValidateMigrationInputSqlServerSqlMiSyncTaskInput ; schema readonly taskType : ValidateMigrationInputSqlServerSqlMiSyncTaskPropertiesTaskType ; } schema export interface GetTdeCertificatesSqlTaskProperties { schema readonly input ? : GetTdeCertificatesSqlTaskInput ; schema readonly taskType : GetTdeCertificatesSqlTaskPropertiesTaskType ; } schema export interface SqlConnectionInfo { schema readonly additionalSettings ? : string ; schema readonly authentication ? : SqlConnectionInfoAuthentication ; schema readonly dataSource : string ; schema readonly encryptConnection ? : boolean ; schema readonly password ? : string ; schema readonly platform ? : SqlConnectionInfoPlatform ; schema readonly trustServerCertificate ? : boolean ; schema readonly type : SqlConnectionInfoType ; schema readonly userName ? : string ; } schema export interface MySqlConnectionInfo { schema readonly password ? : string ; schema readonly port : number ; schema readonly serverName : string ; schema readonly type : MySqlConnectionInfoType ; schema readonly userName ? : string ; } schema export interface PostgreSqlConnectionInfo { schema readonly databaseName ? : string ; schema readonly password ? : string ; schema readonly port : number ; schema readonly serverName : string ; schema readonly type : PostgreSqlConnectionInfoType ; schema readonly userName ? : string ; } schema export interface MiSqlConnectionInfo { schema readonly managedInstanceResourceId : string ; schema readonly password ? : string ; schema readonly type : MiSqlConnectionInfoType ; schema readonly userName ? : string ; } schema export interface ConnectToSourceMySqlTaskInput { schema readonly checkPermissionsGroup ? : ConnectToSourceMySqlTaskInputCheckPermissionsGroup ; schema readonly sourceConnectionInfo : MySqlConnectionInfo ; schema readonly targetPlatform ? : ConnectToSourceMySqlTaskInputTargetPlatform ; } export enum ConnectToSourceMySqlTaskPropertiesTaskType { "ConnectToSourceMySqlTaskPropertiesTaskType_CONNECT_TO_SOURCE_MY_SQL" = 'ConnectToSource.MySql' } schema export interface ConnectToSourceSqlServerTaskInput { schema readonly checkPermissionsGroup ? : ConnectToSourceSqlServerTaskInputCheckPermissionsGroup ; schema readonly collectAgentJobs ? : boolean ; schema readonly collectLogins ? : boolean ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; } export enum ConnectToSourceSqlServerTaskPropertiesTaskType { "ConnectToSourceSqlServerTaskPropertiesTaskType_CONNECT_TO_SOURCE_SQL_SERVER" = 'ConnectToSource.SqlServer' } export enum ConnectToSourceSqlServerSyncTaskPropertiesTaskType { "ConnectToSourceSqlServerSyncTaskPropertiesTaskType_CONNECT_TO_SOURCE_SQL_SERVER_SYNC" = 'ConnectToSource.SqlServer.Sync' } schema export interface ConnectToSourcePostgreSqlSyncTaskInput { schema readonly sourceConnectionInfo : PostgreSqlConnectionInfo ; } export enum ConnectToSourcePostgreSqlSyncTaskPropertiesTaskType { "ConnectToSourcePostgreSqlSyncTaskPropertiesTaskType_CONNECT_TO_SOURCE_POSTGRE_SQL_SYNC" = 'ConnectToSource.PostgreSql.Sync' } schema export interface ConnectToTargetSqlDbTaskInput { schema readonly targetConnectionInfo : SqlConnectionInfo ; } export enum ConnectToTargetSqlDbTaskPropertiesTaskType { "ConnectToTargetSqlDbTaskPropertiesTaskType_CONNECT_TO_TARGET_SQL_DB" = 'ConnectToTarget.SqlDb' } schema export interface ConnectToTargetSqlSqlDbSyncTaskInput { schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly targetConnectionInfo : SqlConnectionInfo ; } export enum ConnectToTargetSqlSqlDbSyncTaskPropertiesTaskType { "ConnectToTargetSqlSqlDbSyncTaskPropertiesTaskType_CONNECT_TO_TARGET_SQL_DB_SYNC" = 'ConnectToTarget.SqlDb.Sync' } schema export interface ConnectToTargetAzureDbForPostgreSqlSyncTaskInput { schema readonly sourceConnectionInfo : PostgreSqlConnectionInfo ; schema readonly targetConnectionInfo : PostgreSqlConnectionInfo ; } export enum ConnectToTargetAzureDbForPostgreSqlSyncTaskPropertiesTaskType { "ConnectToTargetAzureDbForPostgreSqlSyncTaskPropertiesTaskType_CONNECT_TO_TARGET_AZURE_DB_FOR_POSTGRE_SQL_SYNC" = 'ConnectToTarget.AzureDbForPostgreSql.Sync' } schema export interface GetUserTablesSqlTaskInput { schema readonly connectionInfo : SqlConnectionInfo ; schema readonly selectedDatabases : string [ ] ; } export enum GetUserTablesSqlTaskPropertiesTaskType { "GetUserTablesSqlTaskPropertiesTaskType_GET_USER_TABLES_SQL" = 'GetUserTables.Sql' } schema export interface GetUserTablesSqlSyncTaskInput { schema readonly selectedSourceDatabases : string [ ] ; schema readonly selectedTargetDatabases : string [ ] ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly targetConnectionInfo : SqlConnectionInfo ; } export enum GetUserTablesSqlSyncTaskPropertiesTaskType { "GetUserTablesSqlSyncTaskPropertiesTaskType_GET_USER_TABLES_AZURE_SQL_DB_SYNC" = 'GetUserTables.AzureSqlDb.Sync' } schema export interface ConnectToTargetSqlMiTaskInput { schema readonly targetConnectionInfo : SqlConnectionInfo ; } export enum ConnectToTargetSqlMiTaskPropertiesTaskType { "ConnectToTargetSqlMiTaskPropertiesTaskType_CONNECT_TO_TARGET_AZURE_SQL_DB_MI" = 'ConnectToTarget.AzureSqlDbMI' } schema export interface ConnectToTargetSqlMiSyncTaskInput { schema readonly azureApp : AzureActiveDirectoryApp ; schema readonly targetConnectionInfo : MiSqlConnectionInfo ; } export enum ConnectToTargetSqlMiSyncTaskPropertiesTaskType { "ConnectToTargetSqlMiSyncTaskPropertiesTaskType_CONNECT_TO_TARGET_AZURE_SQL_DB_MI_SYNC_LRS" = 'ConnectToTarget.AzureSqlDbMI.Sync.LRS' } schema export interface ConnectToTargetAzureDbForMySqlTaskInput { schema readonly sourceConnectionInfo : MySqlConnectionInfo ; schema readonly targetConnectionInfo : MySqlConnectionInfo ; } export enum ConnectToTargetAzureDbForMySqlTaskPropertiesTaskType { "ConnectToTargetAzureDbForMySqlTaskPropertiesTaskType_CONNECT_TO_TARGET_AZURE_DB_FOR_MY_SQL" = 'ConnectToTarget.AzureDbForMySql' } schema export interface MigrateSqlServerSqlMiTaskInput { schema readonly backupBlobShare : BlobShare ; schema readonly backupFileShare ? : FileShare ; schema readonly backupMode ? : MigrateSqlServerSqlMiTaskInputBackupMode ; schema readonly selectedAgentJobs ? : string [ ] ; schema readonly selectedDatabases : MigrateSqlServerSqlMiDatabaseInput [ ] ; schema readonly selectedLogins ? : string [ ] ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly targetConnectionInfo : SqlConnectionInfo ; } export enum MigrateSqlServerSqlMiTaskPropertiesTaskType { "MigrateSqlServerSqlMiTaskPropertiesTaskType_MIGRATE_SQL_SERVER_AZURE_SQL_DB_MI" = 'Migrate.SqlServer.AzureSqlDbMI' } schema export interface MigrateSqlServerSqlMiSyncTaskInput { schema readonly azureApp : AzureActiveDirectoryApp ; schema readonly backupFileShare ? : FileShare ; schema readonly selectedDatabases : MigrateSqlServerSqlMiDatabaseInput [ ] ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly storageResourceId : string ; schema readonly targetConnectionInfo : MiSqlConnectionInfo ; } export enum MigrateSqlServerSqlMiSyncTaskPropertiesTaskType { "MigrateSqlServerSqlMiSyncTaskPropertiesTaskType_MIGRATE_SQL_SERVER_AZURE_SQL_DB_MI_SYNC_LRS" = 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS' } schema export interface MigrateSqlServerSqlDbTaskInput { schema readonly selectedDatabases : MigrateSqlServerSqlDbDatabaseInput [ ] ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly targetConnectionInfo : SqlConnectionInfo ; schema readonly validationOptions ? : MigrationValidationOptions ; } export enum MigrateSqlServerSqlDbTaskPropertiesTaskType { "MigrateSqlServerSqlDbTaskPropertiesTaskType_MIGRATE_SQL_SERVER_SQL_DB" = 'Migrate.SqlServer.SqlDb' } schema export interface MigrateSqlServerSqlDbSyncTaskInput { schema readonly selectedDatabases : MigrateSqlServerSqlDbSyncDatabaseInput [ ] ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly targetConnectionInfo : SqlConnectionInfo ; schema readonly validationOptions ? : MigrationValidationOptions ; } export enum MigrateSqlServerSqlDbSyncTaskPropertiesTaskType { "MigrateSqlServerSqlDbSyncTaskPropertiesTaskType_MIGRATE_SQL_SERVER_AZURE_SQL_DB_SYNC" = 'Migrate.SqlServer.AzureSqlDb.Sync' } schema export interface MigrateMySqlAzureDbForMySqlSyncTaskInput { schema readonly selectedDatabases : MigrateMySqlAzureDbForMySqlSyncDatabaseInput [ ] ; schema readonly sourceConnectionInfo : MySqlConnectionInfo ; schema readonly targetConnectionInfo : MySqlConnectionInfo ; } export enum MigrateMySqlAzureDbForMySqlSyncTaskPropertiesTaskType { "MigrateMySqlAzureDbForMySqlSyncTaskPropertiesTaskType_MIGRATE_MY_SQL_AZURE_DB_FOR_MY_SQL_SYNC" = 'Migrate.MySql.AzureDbForMySql.Sync' } schema export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput { schema readonly selectedDatabases : MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput [ ] ; schema readonly sourceConnectionInfo : PostgreSqlConnectionInfo ; schema readonly targetConnectionInfo : PostgreSqlConnectionInfo ; } export enum MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesTaskType { "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesTaskType_MIGRATE_POSTGRE_SQL_AZURE_DB_FOR_POSTGRE_SQL_SYNC" = 'Migrate.PostgreSql.AzureDbForPostgreSql.Sync' } schema export interface ValidateSyncMigrationInputSqlServerTaskInput { schema readonly selectedDatabases : MigrateSqlServerSqlDbSyncDatabaseInput [ ] ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly targetConnectionInfo : SqlConnectionInfo ; } export enum ValidateMigrationInputSqlServerSqlDbSyncTaskPropertiesTaskType { "ValidateMigrationInputSqlServerSqlDbSyncTaskPropertiesTaskType_VALIDATE_MIGRATION_INPUT_SQL_SERVER_SQL_DB_SYNC" = 'ValidateMigrationInput.SqlServer.SqlDb.Sync' } schema export interface ValidateMigrationInputSqlServerSqlMiTaskInput { schema readonly backupBlobShare : BlobShare ; schema readonly backupFileShare ? : FileShare ; schema readonly backupMode ? : ValidateMigrationInputSqlServerSqlMiTaskInputBackupMode ; schema readonly selectedDatabases : MigrateSqlServerSqlMiDatabaseInput [ ] ; schema readonly selectedLogins ? : string [ ] ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly targetConnectionInfo : SqlConnectionInfo ; } export enum ValidateMigrationInputSqlServerSqlMiTaskPropertiesTaskType { "ValidateMigrationInputSqlServerSqlMiTaskPropertiesTaskType_VALIDATE_MIGRATION_INPUT_SQL_SERVER_AZURE_SQL_DB_MI" = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI' } schema export interface ValidateMigrationInputSqlServerSqlMiSyncTaskInput { schema readonly azureApp : AzureActiveDirectoryApp ; schema readonly backupFileShare ? : FileShare ; schema readonly selectedDatabases : MigrateSqlServerSqlMiDatabaseInput [ ] ; schema readonly sourceConnectionInfo : SqlConnectionInfo ; schema readonly storageResourceId : string ; schema readonly targetConnectionInfo : MiSqlConnectionInfo ; } export enum ValidateMigrationInputSqlServerSqlMiSyncTaskPropertiesTaskType { "ValidateMigrationInputSqlServerSqlMiSyncTaskPropertiesTaskType_VALIDATE_MIGRATION_INPUT_SQL_SERVER_AZURE_SQL_DB_MI_SYNC_LRS" = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS' } schema export interface GetTdeCertificatesSqlTaskInput { schema readonly backupFileShare : FileShare ; schema readonly connectionInfo : SqlConnectionInfo ; schema readonly selectedCertificates : SelectedCertificateInput [ ] ; } export enum GetTdeCertificatesSqlTaskPropertiesTaskType { "GetTdeCertificatesSqlTaskPropertiesTaskType_GET_TDE_CERTIFICATES_SQL" = 'GetTDECertificates.Sql' } export enum SqlConnectionInfoAuthentication { NONE = 'None' , WINDOWS_AUTHENTICATION = 'WindowsAuthentication' , SQL_AUTHENTICATION = 'SqlAuthentication' , ACTIVE_DIRECTORY_INTEGRATED = 'ActiveDirectoryIntegrated' , ACTIVE_DIRECTORY_PASSWORD = 'ActiveDirectoryPassword' } export enum SqlConnectionInfoPlatform { SQL_ON_PREM = 'SqlOnPrem' } export enum SqlConnectionInfoType { SQL_CONNECTION_INFO = 'SqlConnectionInfo' } export enum MySqlConnectionInfoType { MY_SQL_CONNECTION_INFO = 'MySqlConnectionInfo' } export enum PostgreSqlConnectionInfoType { POSTGRE_SQL_CONNECTION_INFO = 'PostgreSqlConnectionInfo' } export enum MiSqlConnectionInfoType { MI_SQL_CONNECTION_INFO = 'MiSqlConnectionInfo' } export enum ConnectToSourceMySqlTaskInputCheckPermissionsGroup { DEFAULT = 'Default' , MIGRATION_FROM_SQL_SERVER_TO_AZURE_DB = 'MigrationFromSqlServerToAzureDB' , MIGRATION_FROM_SQL_SERVER_TO_AZURE_MI = 'MigrationFromSqlServerToAzureMI' , MIGRATION_FROM_MY_SQL_TO_AZURE_DB_FOR_MY_SQL = 'MigrationFromMySQLToAzureDBForMySQL' } export enum ConnectToSourceMySqlTaskInputTargetPlatform { SQL_SERVER = 'SqlServer' , AZURE_DB_FOR_MY_SQL = 'AzureDbForMySQL' } export enum ConnectToSourceSqlServerTaskInputCheckPermissionsGroup { DEFAULT = 'Default' , MIGRATION_FROM_SQL_SERVER_TO_AZURE_DB = 'MigrationFromSqlServerToAzureDB' , MIGRATION_FROM_SQL_SERVER_TO_AZURE_MI = 'MigrationFromSqlServerToAzureMI' , MIGRATION_FROM_MY_SQL_TO_AZURE_DB_FOR_MY_SQL = 'MigrationFromMySQLToAzureDBForMySQL' } schema export interface AzureActiveDirectoryApp { schema readonly appKey : string ; schema readonly applicationId : string ; schema readonly tenantId : string ; } schema export interface BlobShare { schema readonly sasUri : string ; } schema export interface FileShare { schema readonly password ? : string ; schema readonly path : string ; schema readonly userName ? : string ; } export enum MigrateSqlServerSqlMiTaskInputBackupMode { CREATE_BACKUP = 'CreateBackup' , EXISTING_BACKUP = 'ExistingBackup' } schema export interface MigrateSqlServerSqlMiDatabaseInput { schema readonly backupFilePaths ? : string [ ] ; schema readonly backupFileShare ? : FileShare ; schema readonly name : string ; schema readonly restoreDatabaseName : string ; } schema export interface MigrateSqlServerSqlDbDatabaseInput { schema readonly makeSourceDbReadOnly ? : boolean ; schema readonly name ? : string ; schema readonly tableMap ? : MigrateSqlServerSqlDbDatabaseInputTableMap ; schema readonly targetDatabaseName ? : string ; } schema export interface MigrationValidationOptions { schema readonly enableDataIntegrityValidation ? : boolean ; schema readonly enableQueryAnalysisValidation ? : boolean ; schema readonly enableSchemaValidation ? : boolean ; } schema export interface MigrateSqlServerSqlDbSyncDatabaseInput { schema readonly id ? : string ; schema readonly migrationSetting ? : MigrateSqlServerSqlDbSyncDatabaseInputMigrationSetting ; schema readonly name ? : string ; schema readonly schemaName ? : string ; schema readonly sourceSetting ? : MigrateSqlServerSqlDbSyncDatabaseInputSourceSetting ; schema readonly tableMap ? : MigrateSqlServerSqlDbSyncDatabaseInputTableMap ; schema readonly targetDatabaseName ? : string ; schema readonly targetSetting ? : MigrateSqlServerSqlDbSyncDatabaseInputTargetSetting ; } schema export interface MigrateMySqlAzureDbForMySqlSyncDatabaseInput { schema readonly migrationSetting ? : MigrateMySqlAzureDbForMySqlSyncDatabaseInputMigrationSetting ; schema readonly name ? : string ; schema readonly sourceSetting ? : MigrateMySqlAzureDbForMySqlSyncDatabaseInputSourceSetting ; schema readonly targetDatabaseName ? : string ; schema readonly targetSetting ? : MigrateMySqlAzureDbForMySqlSyncDatabaseInputTargetSetting ; } schema export interface MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput { schema readonly migrationSetting ? : MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInputMigrationSetting ; schema readonly name ? : string ; schema readonly sourceSetting ? : MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInputSourceSetting ; schema readonly targetDatabaseName ? : string ; schema readonly targetSetting ? : MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInputTargetSetting ; } export enum ValidateMigrationInputSqlServerSqlMiTaskInputBackupMode { CREATE_BACKUP = 'CreateBackup' , EXISTING_BACKUP = 'ExistingBackup' } schema export interface SelectedCertificateInput { schema readonly certificateName : string ; schema readonly password : string ; } schema export interface MigrateSqlServerSqlDbDatabaseInputTableMap { } schema export interface MigrateSqlServerSqlDbSyncDatabaseInputMigrationSetting { } schema export interface MigrateSqlServerSqlDbSyncDatabaseInputSourceSetting { } schema export interface MigrateSqlServerSqlDbSyncDatabaseInputTableMap { } schema export interface MigrateSqlServerSqlDbSyncDatabaseInputTargetSetting { } schema export interface MigrateMySqlAzureDbForMySqlSyncDatabaseInputMigrationSetting { } schema export interface MigrateMySqlAzureDbForMySqlSyncDatabaseInputSourceSetting { } schema export interface MigrateMySqlAzureDbForMySqlSyncDatabaseInputTargetSetting { } schema export interface MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInputMigrationSetting { } schema export interface MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInputSourceSetting { } schema export interface MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInputTargetSetting { }